@zeniai/web-cockpit-ui 1.14.17-prod → 1.14.18-dev
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/assets/ACHDetailsPage-DDccOBrQ-xtRCcN-J.js +21 -0
- package/dist/assets/{AIPerformancePage-4oC8MJWN-CnZuazuh.js → AIPerformancePage-u3qF__mF-Cwmno93h.js} +42 -42
- package/dist/assets/{AccountInfoPage-mOPytffA-Bb_0HfAI.js → AccountInfoPage-vDWC6AMf-DzR0-3Io.js} +2 -2
- package/dist/assets/{AccountInfoPageContent-VULusDEd-B6jGNgpa.js → AccountInfoPageContent-0PqU7bCV-D6wFAbY2.js} +13 -13
- package/dist/assets/{AccountReconDetailsDrawerPage-89APlrhb-Bn5bJkKR.js → AccountReconDetailsDrawerPage-DEqtU-rh-Deoo-ctA.js} +19 -19
- package/dist/assets/{AccountRow-DJd-IAIl-CphVozdW.js → AccountRow-DTQ6Qoyr-_b2APADd.js} +25 -25
- package/dist/assets/{AccountsPromoCardStack-DE39TpIu-DddyJFZU.js → AccountsPromoCardStack-DkYqKp1i-mDnDl8sy.js} +33 -33
- package/dist/assets/{AddAddressForCardDrawer-CKdcU_pi-Cru8pian.js → AddAddressForCardDrawer-DB3HtvgV-DDm-Yx81.js} +2 -2
- package/dist/assets/{AddToWalletPage-DPXW2fbY-DpUkWVOQ.js → AddToWalletPage-DvgM0-kj-TsEzz5fI.js} +22 -22
- package/dist/assets/{AgingReportsPage--CLUwcIa-Df3CNo1p.js → AgingReportsPage-BP6-oG6W-DRhLxK4p.js} +16 -16
- package/dist/assets/{AllUserItems-CC9l-O5G-CIqB0NVu.js → AllUserItems-w6M8k5yU-DRpE6VjZ.js} +9 -9
- package/dist/assets/ApAgingDetailPage-BZuNGMx_-DRH7p0_b.js +46 -0
- package/dist/assets/{AppBasePage-CgHKYFmd-D_Q-scFo.js → AppBasePage-l_TUUps8-K0ozDeR0.js} +10 -10
- package/dist/assets/{AppDrawerContent-Cofo0-5p-C2SMJMAF.js → AppDrawerContent-_gInVeZf-CqHabOEw.js} +19 -19
- package/dist/assets/{ApprovalRulesSettingsPage-DsshEbzW-MDJUC8F8.js → ApprovalRulesSettingsPage-CKRde9he-CmSQRugq.js} +7 -7
- package/dist/assets/{ArAgingChart-K2LSe8mo-DOPhX4_p.js → ArAgingChart-Dg0oBo5K-CF9AvFJC.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-DCFL9YAy-B1OHW5_X.js → ArAgingDetailPage-CNizMSbt-CgouefYI.js} +4 -4
- package/dist/assets/{AttachmentView-Cn3VnVyO-DO8fl7Lg.js → AttachmentView-B8hloBca-DRZOHo7x.js} +7 -7
- package/dist/assets/{BankAccountSection-Au9_D0Ji-BBXMunsx.js → BankAccountSection-4HNC0ypd-BpuQrkpU.js} +8 -8
- package/dist/assets/{BankAccountWarningSection-927iR_QB-BtJVaVYW.js → BankAccountWarningSection-BqgTMjDy-DwldrkYy.js} +7 -7
- package/dist/assets/{BankConnectionsSettingsPage-CXab8fzD-CR1SLWcp.js → BankConnectionsSettingsPage-BBQh1oT8-CYERxE0e.js} +26 -26
- package/dist/assets/{BillDetailPage-yIdrE7YG-mSNBPVBH.js → BillDetailPage-R4oRrdsm-Bhl-v3vo.js} +20 -20
- package/dist/assets/{BillPayApprovalRuleDetailPage-BJl_-eJN-DfRKnShy.js → BillPayApprovalRuleDetailPage-d_A1-Gv_-D0vt2nJT.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-rXaFCSLp-cxxlZdoV.js → BillPayApprovalRulesPage-5q5b2drs-DNrIHclU.js} +8 -8
- package/dist/assets/{BillPayPromoPage-BLi_wIbj-DG-GObEW.js → BillPayPromoPage-Dz_R3Vd_-D4VHTD7W.js} +10 -10
- package/dist/assets/{BillPaySetUpPage-BFmpWT_x-DZ1bn6xG.js → BillPaySetUpPage-CwTRrElO-Dy2xJbwX.js} +2 -2
- package/dist/assets/{BillingSettingsPage-Da01aYql--XoIQE9r.js → BillingSettingsPage-_XJCl2yq-D0rAMBJt.js} +5 -5
- package/dist/assets/{BillsBulkReviewDrawerPage-J2kO9_8C-CrGFgMQq.js → BillsBulkReviewDrawerPage-B_S35aKX-pMNSaHSP.js} +1 -1
- package/dist/assets/{BoxItem-CQlEDklH-D0f8uekU.js → BoxItem-9JmA6QqI-D4hhkbCR.js} +4 -4
- package/dist/assets/{BusinessVerificationPage-DWhXCuG5-CIyaCpTi.js → BusinessVerificationPage-DJKOIC1M-BEeGVZ1S.js} +11 -11
- package/dist/assets/{CardNumberSubText-BTjxrF3b-DCQPgxX5.js → CardNumberSubText-CewmMWju-DJiRPNiZ.js} +1 -1
- package/dist/assets/{CashbackDetailPage-qcMtGUQ0-Dz_yXoTf.js → CashbackDetailPage-HtjAmPa8-DEVbhkAr.js} +26 -26
- package/dist/assets/{ChargeCardDetailPage-BurpUHl9-Ciqrx0hJ.js → ChargeCardDetailPage-D_5vb_92-DYjdXqRv.js} +27 -27
- package/dist/assets/{ChargeCardListPage-CBIYOllB-D1mmmMlz.js → ChargeCardListPage-BT-8bueF-C8QRxzgr.js} +23 -23
- package/dist/assets/{ChargeCardListTable-BTZu7ldI-DaxCsUOF.js → ChargeCardListTable-oJTQcOkc-HAou4pja.js} +104 -104
- package/dist/assets/ChargeCardPromoPage-Dp01F4cn-Br2kcjZo.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-QOdjFcsr-HqJ0CY43.js → ChargeCardSetupPage-cqydgFPZ-KP5FKJ0i.js} +2 -2
- package/dist/assets/{ChargeCardStatementsPage-C1UmjyIW-t-HeuD0G.js → ChargeCardStatementsPage-URwhXATj-BVz6_ztr.js} +8 -8
- package/dist/assets/{ChargeCardUtils-C3fhOMpV-CxA3bvB_.js → ChargeCardUtils-DBEgXAMc-DYsQMmpv.js} +1 -1
- package/dist/assets/{ChaseOverlay-RPex2o5e-D5Pnk6_2.js → ChaseOverlay-HTpWDuLt-D0qtM7hD.js} +10 -10
- package/dist/assets/CheckDepositDrawerPage-DLc3qfVH-Dq_DIMy3.js +206 -0
- package/dist/assets/{CollapsableReportTable-Ds0h8x1N-D9fMaQRX.js → CollapsableReportTable-PpQgBBRC-BpxIl-X-.js} +93 -93
- package/dist/assets/{CompanyOfficerDetailsSection-B8yGAFVj-C_nLkKUv.js → CompanyOfficerDetailsSection-C1aPsDga-DX0GYxxu.js} +35 -35
- package/dist/assets/{CompanyPassportCard-BDei9Pfp-BpecpsWG.js → CompanyPassportCard-DMKqBgwh-20YLIkOw.js} +6 -6
- package/dist/assets/{CompanyPassportPage-DFA733vS-B2zKe1Pz.js → CompanyPassportPage-CHHPIqN_-CQsnT2Hp.js} +37 -37
- package/dist/assets/CompleteProfile-D6jHfaC2-Cwowcy8N.js +36 -0
- package/dist/assets/{ConfettiBurst-97CCPVCH-BD_XmOVp.js → ConfettiBurst-14a5kaEE-D-oFz-sG.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-BSi6pOXN-DB5j0ELP.js → CreateOrEditVendorPage-K5rhe_y3-6e_B7drg.js} +11 -11
- package/dist/assets/{CreditCardPaymentDrawerPage-ZletyeGG-CBseyU9r.js → CreditCardPaymentDrawerPage-LQ--HUI9-Ct-Z_PH4.js} +20 -20
- package/dist/assets/{CreditCardPaymentPlgSection-BE982atG-BhAoucSV.js → CreditCardPaymentPlgSection-BM05WC-i-Bk08bY1j.js} +12 -12
- package/dist/assets/{CurrencySelectField-cnP09xH2-Bqd53-DL.js → CurrencySelectField-bhkJTNUW-TAA9r3NA.js} +4 -4
- package/dist/assets/{CustomerOnboardingActivationPage-DhcKiTJ_-p0-cJZJZ.js → CustomerOnboardingActivationPage-BHD1irjF-BuHM5vzQ.js} +9 -9
- package/dist/assets/CustomerOnboardingContainerPage-BhS5NmVt-CloO5_fX.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-jguCmaVx-hiDye2lr.js → CustomerOnboardingDetailPageSkeleton-B--kAA3i-BtWP8-CX.js} +11 -11
- package/dist/assets/{CustomerOnboardingNoStepsPage-xakP7IDr-DoZL-q4V.js → CustomerOnboardingNoStepsPage-sHKAos8m-1qMzs8BU.js} +5 -5
- package/dist/assets/{CustomerOnboardingPage-Ct5YbyHs-hceBe625.js → CustomerOnboardingPage-B_S5G-6o-Cv0ITZ4_.js} +10 -10
- package/dist/assets/{CustomerOnboardingProductSuitePage-CugfvMkw-CeReM7po.js → CustomerOnboardingProductSuitePage-CVi8WuQY-DZMQtVHo.js} +12 -12
- package/dist/assets/{Dashboard-XbVGCnvI-CRdBErKY.js → Dashboard-CIMiF6eU-SPzOaUuR.js} +1 -1
- package/dist/assets/{DashboardReportPage-OeEPg2kx-BRZthuDb.js → DashboardReportPage-6z6qBQSB-C79wD_Nr.js} +21 -21
- package/dist/assets/{DepositAccTransactionItem-Dy6qzuSL-DPoAonWw.js → DepositAccTransactionItem-BQYFrzDW-VNbpp2iU.js} +10 -10
- package/dist/assets/DepositAccTransactionListPage-xSNsUwS4-DJcgYerm.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-B0tbjNLO-N6WWRyiF.js → DomesticWireDetailsPage-b1iB1HBM-CrTulX9A.js} +1 -1
- package/dist/assets/{DownloadOverlay-BKKO1nm1-BBPGQxTo.js → DownloadOverlay-C3oy6eq7-CCVozCSE.js} +12 -12
- package/dist/assets/{DrawerPage-osM8gPVn-oFq0Mi3x.js → DrawerPage-DLVTld-y-Cb3VyNgX.js} +12 -12
- package/dist/assets/EditPeoplePage-DKJNf1oJ-6CdgkITi.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-DvLeCixY-a8i3cgCY.js → EditReimbursementDetailPage-zgUt303N-BpiV7KXr.js} +80 -80
- package/dist/assets/{EntityDetailPage-BzJbAOSj-C2me2h-9.js → EntityDetailPage-DY4i6GZK-DN-UWde9.js} +3 -3
- package/dist/assets/{EntitySummarySection-Drj07P9h-BB10Ph6X.js → EntitySummarySection-BbxeYdm8-Bf_NXajy.js} +13 -13
- package/dist/assets/{ExpenseAutomationOverviewPage-BQ9dwGkq-Dd5Wu1Oq.js → ExpenseAutomationOverviewPage-D3x3XpmU-fjM7OZCO.js} +31 -30
- package/dist/assets/{ExpenseAutomationPage-DLld6Lux-CU8XbJdU.js → ExpenseAutomationPage-BTAjM6yZ-yDXqzAOJ.js} +56 -56
- package/dist/assets/{ExpressPayPage-QBNV0dC8-CiKLiNx-.js → ExpressPayPage-C30-lVTo-C8uKTmQz.js} +11 -11
- package/dist/assets/FeaturePreviewPage-BRqSxk9H-D2VfZkvq.js +11 -0
- package/dist/assets/{FollowStepsSection-1RCO2W7K-BM-qYKhG.js → FollowStepsSection-B171fPtM-D2ueI9DZ.js} +28 -28
- package/dist/assets/{GlobalReviewListPage-ByMZFe7Y-DFTTsWiV.js → GlobalReviewListPage-BaZx32sB-CsLBtCph.js} +14 -14
- package/dist/assets/HelpButton-ewiNuwlj-a7BLQVoR.js +28 -0
- package/dist/assets/{InformationCardStack-C0AmMOu2-DYhd3hfJ.js → InformationCardStack-BtxneVKK-CvEQzEwX.js} +6 -6
- package/dist/assets/{InsightsCardStack-BiIDBYY8-2xqS770j.js → InsightsCardStack-CCee6pLA-D-hqWx-q.js} +7 -7
- package/dist/assets/InsightsSection-BZNwdoG4-BHWxrsk5.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-7wAnV8kG-DrGJO8v7.js → IntegrationsSettingsPage-CsY38-LI-tUcaBNIE.js} +9 -9
- package/dist/assets/{InternationalWireSwiftDetailsPage-C7D15jtK-DB-bqxLJ.js → InternationalWireSwiftDetailsPage-sSSgjYdh-CECQrN0I.js} +17 -17
- package/dist/assets/{InternationalWireVerificationPage-GDKPXtU--BuWSY4mt.js → InternationalWireVerificationPage-zv0FIhUz-BUPdBF6w.js} +14 -14
- package/dist/assets/{InviteFormPage-CKGJHYWa-CVTJzGcr.js → InviteFormPage-DxszbbOJ-CJWqS0tA.js} +19 -19
- package/dist/assets/{InvitePageListView-CWXyDZU2-BrT7iR9u.js → InvitePageListView-BYVWTwTc-Dq61wzB9.js} +46 -46
- package/dist/assets/InvitePeoplePage-CJ4KyyxI-Ci7vEwdq.js +12 -0
- package/dist/assets/InvoiceUploadSection-Dy_H9a8Y-CvpINn7W.js +140 -0
- package/dist/assets/{IssueChargeCardPage-DLX44XaR-DFyVTb1t.js → IssueChargeCardPage-CPmj_trJ-CTV2OfvE.js} +19 -19
- package/dist/assets/LabeledAddressValue-BVpwGdA2-5vfMRzOg.js +49 -0
- package/dist/assets/LabeledAddressValueField-Eka4fXzu-BSJMd52k.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-B6cLYSmS-DZ07Eb4a.js → LabeledControlledCheckBoxField-BnfJ3gKr-7p5KdXvW.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-CV4GQQ7F-BUa9hT46.js → LabeledCreatableSingleSelectField-CJT-CuQl-C0rlBcX2.js} +4 -4
- package/dist/assets/{LabeledDocumentField-BFhyNqP8-BDvJv_kZ.js → LabeledDocumentField-BoraKtTI-BRERXK8W.js} +6 -6
- package/dist/assets/{LabeledDropDownFormattedTextField-gE3aWP_T-6PD3W-AE.js → LabeledDropDownFormattedTextField-elNvxcOB-BPm7rTz8.js} +7 -7
- package/dist/assets/{LabeledText-0pRIcJw5-r2ZCEVQ7.js → LabeledText-DhZgeQqu-Dz4gRnMS.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-C-32ySGI-DQOygX87.js → LabeledUserSingleSelectWithSubtitlesField-D63Z4SE5-Hunv1W3n.js} +16 -16
- package/dist/assets/{LabeledZeniRolesDropDownField--l6D29VX-B6DyGDEy.js → LabeledZeniRolesDropDownField-MwrQ9tKT-DwAqMpNU.js} +11 -11
- package/dist/assets/{LinkJETransactionPage-DLcpx9ns-Bh9TF_MD.js → LinkJETransactionPage-BpQXs8JH-CczVuOJd.js} +6 -6
- package/dist/assets/{LowBalancePopup-BuelKDeS-CSLx6wJV.js → LowBalancePopup-DPbr0gUO-BMtDcyj7.js} +7 -7
- package/dist/assets/{MagicLinkACHDetailsPage-NIkquHvv-yh6XMQtL.js → MagicLinkACHDetailsPage-D11FRh9u-CA4ESgf_.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-CdaNz396-yCrWXvxr.js → MagicLinkDomesticWireDetailsPage-CG7yqz6X-CxkGJZaJ.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-CnEhS5PP-B5MwqJ-A.js → MagicLinkInternationalWireDetailsPage-PkDENzkO-BALvlHZZ.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-D_VJZV0O-DPuvz2hP.js → MagicLinkSuccessPage-BS9ddhQA-DfzVlezu.js} +2 -2
- package/dist/assets/MagicLinkTitleSection-CBYkZ8RD-DOnIUCAU.js +17 -0
- package/dist/assets/{MailingDetailsSection-CTrx1xoB-C-u8Huuq.js → MailingDetailsSection-Cx1s77og-DXexyF-i.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-DWvpTRQJ-zZIl1j3H.js → MeetingCalenderPopup-DNthMj1J-DCVu9x9-.js} +1 -1
- package/dist/assets/{Menu-CbQ6Zkdp-BweiK2nA.js → Menu-CIjXHu3p-BVUzW_3W.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-9dQLb8iw-Cj5yJXwt.js → MyBankConnectionsSettingsPage-D77Axpyj-Dsr9teql.js} +15 -15
- package/dist/assets/{MyPendingActivationChargeCardListPage-B2-YthuF-VM5npBIO.js → MyPendingActivationChargeCardListPage-CnZZJsMY-KyflajTT.js} +2 -2
- package/dist/assets/{MyProfileSettingsPage-CfmYPv4_-CIgxbDkF.js → MyProfileSettingsPage-iXkYV9nQ-C8PmA-Fq.js} +6 -6
- package/dist/assets/NavBarWithPicker-D8Mx-0SS-CQTf4kGi.js +30 -0
- package/dist/assets/{NavigationArrow-9pvhzLz8-DVcM928l.js → NavigationArrow-DOvptaEZ-B1BrtWg6.js} +2 -2
- package/dist/assets/{NavigationDots-CXPwKFh1-CrC7B7FZ.js → NavigationDots-HukimDRY-BSdcE3Mo.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-D6ZpP6J1-Ddado9Ux.js → NewGlobalMerchantPage-BlOMnHda-Cw8vvr0B.js} +12 -12
- package/dist/assets/{NoDataChart-BUR7CF8w-DuHnCUpX.js → NoDataChart-DyGfwFNo-Bpe0xKgS.js} +1 -1
- package/dist/assets/{NoDataTable-3L4pbKR0-BTgZwbfH.js → NoDataTable-CJseWuln-x_ccMVrT.js} +1 -1
- package/dist/assets/{NotFoundPage-CgZfmKbj-CphquTAk.js → NotFoundPage-UG00-OBF-BoQnjyIO.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-BwYT3Tdc-DgiFqwCF.js → NotificationSettingsPage-COyRIY7z-B69eM29f.js} +17 -17
- package/dist/assets/NotificationsListConfig-BR7QDiGp-CoZ9cxNa.js +1 -0
- package/dist/assets/{NotificationsPage-6qNQYQK4-Cp_wAk4A.js → NotificationsPage-DNSiZHw_-DhSCbYyU.js} +38 -38
- package/dist/assets/{OpExByVendorPage-C28MBvmW-CBPzAPyp.js → OpExByVendorPage-DmSYppgo-B8QxoNs0.js} +7 -7
- package/dist/assets/{OverlayContainerPage-9K5jaX8Z-Cd7_J73p.js → OverlayContainerPage-DB42kFLd-BB8Mm-uG.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-onJJ3Fh4-D0Ni0A1f.js → PandLWithForecastPage-Cvpj3Rx7-BBqZBlne.js} +12 -12
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-nGuJ5fbq-Dddw_6qi.js → PaymentAccountSetupBillingAddressSection-CsldB-k7-VgWcdB9R.js} +9 -9
- package/dist/assets/{PeoplePage-CKzezKqB-B4QnLpIu.js → PeoplePage-CZhJF86l-BUJerLay.js} +33 -33
- package/dist/assets/PortfolioAllocationFormPage-9GM9dOrM-B8ssUltJ.js +207 -0
- package/dist/assets/{PortfolioDetails-CIv1yXo2-DlYUzm0Y.js → PortfolioDetails-BmAHjCVw-CsG6lf5x.js} +42 -42
- package/dist/assets/{ProductsCarousel-CSUQ6rVw-Dq7KRKaA.js → ProductsCarousel-DnbMUIHf-CibvwP8L.js} +7 -7
- package/dist/assets/{PromoBaseCards-2L1JfY-v-BRtC8pzf.js → PromoBaseCards-BC5rOok_-CbjLwgXv.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-DNP_b7aK-CAIkgcbW.js → QBOConnectionDialog-Ci5zNza5-6_E7GkKa.js} +4 -4
- package/dist/assets/{QBOSetupSection-CGrGCC2j-ClZ3tkq4.js → QBOSetupSection-BTOCiyES-BQ9iHLEQ.js} +12 -12
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-DqxyCfuQ-6J_ZREq6.js → ReimbursementApprovalRuleDetailPage-BfU-6jeB-4BEDb2U8.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-D_RMSSoW-CMxgtEwF.js → ReimbursementApprovalRulesPage-M8JZSUOE-C8eBggiH.js} +32 -32
- package/dist/assets/{ReimbursementDetailPage-BkT7zJoE-L1Yuetx5.js → ReimbursementDetailPage-D54RyrP4-DTi4hKLb.js} +23 -23
- package/dist/assets/ReimbursementPromoPage-B2uVT4md-CMAH_EoV.js +112 -0
- package/dist/assets/{ReimbursementSetUpPage-lH4Z7Lqi-CerDtxfZ.js → ReimbursementSetUpPage-DgZLqhEv-7jHyoRwK.js} +13 -13
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-Bvh4mRws-CJIomqpb.js → ReimbursementsBulkReviewDrawerPage-DdaqWcd4-DhSMDa4E.js} +1 -1
- package/dist/assets/{ReloadCard-BQKVLlzZ-CMEhPfYG.js → ReloadCard-Brl4XdzV-avg2x7k6.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-Cvk4LxRf-DCkfwUK_.js → ReportTableViewSelector-BUwsckE_-Cr50tsiY.js} +9 -9
- package/dist/assets/{ReportsPage-C2cIfu51-B7K6BN2I.js → ReportsPage-B_p1fu0v-DX66zZ_7.js} +4 -4
- package/dist/assets/{RevenueChart-ByCekdyG-Db6fZ8Z0.js → RevenueChart-Wm8uOprY-DjqKlnHO.js} +17 -17
- package/dist/assets/{ReviewDetailsPage-DGyfz9q5-P_BYWYwL.js → ReviewDetailsPage-KBHsF8bJ-BZe7KZL0.js} +26 -26
- package/dist/assets/{ReviewOverlay-Dp5yLAdR-ppQTrb43.js → ReviewOverlay-Dw0qj7TA-qOb8xPV_.js} +21 -21
- package/dist/assets/{RoleWithToolTip-B7xRZ-3a-B3ckgpb9.js → RoleWithToolTip-XfK92pcD-DtUyDW-U.js} +4 -4
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BvJX-G-F-kKNu4fRT.js → ScheduleDetailsFixedAssetsPage-BWlIEli5-C8Xnu1wF.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-CNpkuW7O-CkNLmYrd.js → ScheduleDetailsPage-C1xCJX3o-Cpr_7FVH.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-B_90qPjE-CplVycAS.js → ScheduleSequenceTable-BprYPV37-CbJbmsNz.js} +48 -48
- package/dist/assets/{ScreenRoutes-CV0gC1Wk.js → ScreenRoutes--7yT1DKW.js} +62 -62
- package/dist/assets/{SetUpAccountSection-D5x8PZG1-B9kF2QnD.js → SetUpAccountSection-Dr1TfnG_-Cel5DtZp.js} +24 -24
- package/dist/assets/{SetUpDefaultSection-BsOdnADR-Bh52uE6Z.js → SetUpDefaultSection-Be5NU_Em-BdXA12e3.js} +9 -9
- package/dist/assets/{SignIn-Bt7hCYjV-D4UP94Cn.js → SignIn-CE6RYJOs-ty2bYK-D.js} +20 -20
- package/dist/assets/{SignInScreen-Bv_81haj.js → SignInScreen-B_Dlksbi.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-C5cJKuRq-B2Zd7jIc.js → SpendManagementListViewPage-BESddx6p-DEy09jpS.js} +11 -11
- package/dist/assets/{SpendManagementPerTabPage-IBAw8wc4-0AzTQ-pL.js → SpendManagementPerTabPage-BzOooEMS-CS5nadJ3.js} +56 -56
- package/dist/assets/{SpendManagementSection-yNP3swb6-BT4nw0il.js → SpendManagementSection-CczioNZH-D_OdnYKx.js} +12 -12
- package/dist/assets/{SpendMgmtSetupAccountSection-CYxt9dN8-Qj7YKaTJ.js → SpendMgmtSetupAccountSection-CVFRXVhZ-KbAbVozh.js} +22 -22
- package/dist/assets/{StatementItem-q9U89Htr-CZ3EdqOI.js → StatementItem-Cptht91w-CXR-Xt2m.js} +8 -8
- package/dist/assets/StatementsPage-Bk_DWBsO-D9kCpcdC.js +58 -0
- package/dist/assets/{StatusSwitcher-CtuL5COG-4YMPvI5d.js → StatusSwitcher-B3gZD4Xk-Bh4cnysY.js} +4 -4
- package/dist/assets/{SubTabSwitcher-DHiC-mOv-DIvwMpAe.js → SubTabSwitcher-ymwMdmPQ-Bui2S7lB.js} +3 -3
- package/dist/assets/{SummaryCard-D4Me-qWU-BZE9_yds.js → SummaryCard-CVO_hW5i-BNIAsEAp.js} +1 -1
- package/dist/assets/{TaskManagementPage-D-F7ufTD-Comcimqq.js → TaskManagementPage-C8FiHas2-CSgpx3sK.js} +38 -38
- package/dist/assets/{TimeRangeSwitcher-CGN9Hq2L-KXKr4hV-.js → TimeRangeSwitcher-CPklgWMn-CIOi92rx.js} +2 -2
- package/dist/assets/{TimeframeSwitcher-BN4-ACoQ-kWUcnD9f.js → TimeframeSwitcher-Do-13K0C-DY9TYA6Y.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-BkzCFclG-ugdDHTt1.js → TimeframeSwitcherWithToggle-CtVJiYRA-BFfeCNSf.js} +2 -2
- package/dist/assets/{TopExCard-Wuzj4gLV-Cn6UEqNm.js → TopExCard-CAbVMarX-DzMoRGlM.js} +5 -5
- package/dist/assets/{TopExDetailPage-DMYNc-gj-Dz38ydtK.js → TopExDetailPage-CN49s925-BpBrFgHR.js} +10 -10
- package/dist/assets/{TransactionDetailPage-CcryBjJ4-DoUjClk8.js → TransactionDetailPage-Q9XC1VgP-B1t0fuZa.js} +35 -35
- package/dist/assets/{TransactionList-BrOpzi25-BSonELX4.js → TransactionList-Pn-voMDJ-cxv4xlA8.js} +12 -12
- package/dist/assets/{TransactionListBig-D6QMNaV6-D7d8aB_1.js → TransactionListBig-D4U1VfMP-q6KLDBuW.js} +25 -25
- package/dist/assets/{TransactionListPage-BB_LkPKR-DcfLw_bc.js → TransactionListPage-Dcr5n_hs-BCiA3wu6.js} +4 -4
- package/dist/assets/TransactionVendorDetailPage-DxDXndQ6-Cuilftgh.js +80 -0
- package/dist/assets/TransferDrawerPage-CuQct69A-B079B2IU.js +362 -0
- package/dist/assets/{TreasuryOverviewPage-EDaXKMNQ-wuIbjLRl.js → TreasuryOverviewPage-BDYqKBrS-CScokRvu.js} +56 -56
- package/dist/assets/{TreasuryPromoPage-Brja4nGR-DT0IH0vP.js → TreasuryPromoPage-CTkEFZ57-BEp9DAWk.js} +22 -23
- package/dist/assets/{TreasurySetupPage-8ZXXBvyU-C-JVco00.js → TreasurySetupPage-KI_5DQnD-D9S_zLnk.js} +3 -3
- package/dist/assets/{TreasuryStatementsPage-BjT1FVfa-RL5yYEKk.js → TreasuryStatementsPage-DB1KkguP-BSv5nFQ9.js} +5 -5
- package/dist/assets/{TreasuryTaxLetterPage-Cxk8TjrI-BVz73cPQ.js → TreasuryTaxLetterPage-DbHBl6-e-B10fxK69.js} +5 -5
- package/dist/assets/TreasuryTransferOrReviewPage-CLJ2x2M1-Q00AAxLj.js +506 -0
- package/dist/assets/{TrendChart-D2B0mwGW-LdF7kbJS.js → TrendChart-Ck4SVLtn-DxCRoE-5.js} +5 -5
- package/dist/assets/{TrendWithTransactions-Ch8smOOz-DvkVv9Dh.js → TrendWithTransactions-BiWHzfIf-CM8I_QYq.js} +6 -6
- package/dist/assets/{UncategorizedAccountsMappingPage-CCIn9g7v-B7z-zFAl.js → UncategorizedAccountsMappingPage-BEbiQMPB-P5OqOc0G.js} +8 -8
- package/dist/assets/{UnitIntegrationPage-SY0L_D7Z-vUoLCexN.js → UnitIntegrationPage-DghvgER8-G5psF27e.js} +5 -5
- package/dist/assets/{UploadAdditionalDocumentOverlay-BowxerPw-D8DEcBeU.js → UploadAdditionalDocumentOverlay-BasudeQ3-BthiTAoM.js} +2 -2
- package/dist/assets/Vendor2FAPopup-BVYQk2Yt-C9WsXmh_.js +1 -0
- package/dist/assets/{VendorACHDetailsPage-Ba1oMHkp-oJ6TiKqn.js → VendorACHDetailsPage-DYwQERlH-B1gQMIfP.js} +1 -1
- package/dist/assets/{VendorDetailPage-CjBeVAkw-B20qcm9f.js → VendorDetailPage-D-Mcnqod-jIU9WO5F.js} +13 -13
- package/dist/assets/{VendorDomesticWireDetailsPage-DJcyNUun-DUFWlPtJ.js → VendorDomesticWireDetailsPage-sx958z_p-CRI6ZI2U.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-CUWkLY0f-C3N9pQgD.js → VendorFiling1099EditablePage-D0AAdqa3-D6a_Y5gP.js} +11 -11
- package/dist/assets/{VendorFirstReviewPage-XUgEai-M-BVmvihBk.js → VendorFirstReviewPage-DS7Qb6O_-DE9J3Hnv.js} +30 -30
- package/dist/assets/{VendorInternationalWireDetailsPage-BgHCBv0S-BuT_JBAg.js → VendorInternationalWireDetailsPage-CUw0lbm5-B48sIzNH.js} +13 -13
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-axseacZL-CKuxxytA.js → VendorInternationalWireSwiftDetailsPage-2BGGr3aV-bgtv6P0O.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-oYghWvs6-CRDf25av.js → VendorsAccountsSection-D5-r6xWp-BXiiVWTo.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-B1his2AN-sSgMawun.js → WarningsDrawerPage-BEuiclea-2arBaAmM.js} +9 -9
- package/dist/assets/{ZeniAccountDetailPage-B21kawRR-DrYitpWf.js → ZeniAccountDetailPage-DvUTbTBC-BePzTP3_.js} +31 -31
- package/dist/assets/{ZeniAccountListViewPage-D9lefqbT-DQW5qz6U.js → ZeniAccountListViewPage-BpAa6XZc-xCgx2LuK.js} +22 -22
- package/dist/assets/ZeniAccountNavBarPieces-CBRZuAIU-D4DE3sLv.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-B8aWqCOQ-BOtOia7W.js → ZeniAccountPromoPage-BDzkOGum-ucUtzXa7.js} +22 -22
- package/dist/assets/{ZeniAccountSetupPage-BmFF5yvk-DibbYm5H.js → ZeniAccountSetupPage-B6ExD1mo-DRJ8Xy53.js} +1 -1
- package/dist/assets/{ZeniCopyright-eQoaUH08-9LhzFsYE.js → ZeniCopyright-BcpJPWHG-DnS0u_xy.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-B6ftMZ_m-C5TbZ-pE.js → ZeniTransferAmountSlider-BQDqgNKJ-Buxspfp3.js} +2 -2
- package/dist/assets/{analyticsHelper-Bns4muDg-CTVv7wZj.js → analyticsHelper-BP6myd2z-CsiFRwZa.js} +1 -1
- package/dist/assets/{analyticsHelper-CR1CL5UR.js → analyticsHelper-CL3ebWyT.js} +1 -1
- package/dist/assets/{chartTypes-ZJYcsh-k-DHtgcYfN.js → chartTypes-BU-pRq_m-4W1rDqui.js} +1 -1
- package/dist/assets/{commonDimensions-NUQEpowf-CStGzLLl.js → commonDimensions-BpaqG_u8-Hm0X7sCE.js} +1 -1
- package/dist/assets/{detailCommon-DMKakaa6-BTVbM1MP.js → detailCommon-dG26UIR2-hMVwnMUq.js} +6 -6
- package/dist/assets/{downloadPdf-CNrmv_yZ-Bfu7BMOK.js → downloadPdf-B5Tb5dp_-Ct6A3VYi.js} +1 -1
- package/dist/assets/{index-Brv5pz8V.js → index-C5chxI3W.js} +4203 -4371
- package/dist/assets/{mapLoadingInProgressToTreeNode-CwLhcXcQ-Bnwlw2M8.js → mapLoadingInProgressToTreeNode-DOBKyY4b-Cji_pzGZ.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-D8iLkGEE-DfMwm5-y.js → mapSectionWithAcOnlyToTreeNode-Bja0zC1h-BgIeww8r.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-CF_gEYDy-RcbX1U5k.js → mapSpacerToTreeNode-BnX1Qa3P-BdNPRcx1.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-Dp2QmYvb-CHh4RoQN.js → mapTimeframeBalancesToTreeNode-BTMBlZfj-BF58Lu6L.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-B672MK55-BYMcR76x.js → mapTimeframeBalancesToTreeNode-DRU0rg28-CA6THCw5.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BaEMd-vj-Z1CengjV.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CafUd-oV-Xm435fDX.js} +1 -1
- package/dist/assets/{play-icon-CgWP2Myd-BcbDsqNd.js → play-icon-CwzVvYsB-Do7CqLGc.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-DJNZCEmi-Ba1UoXC9.js → toCOABalancesWithID-CTIZoP69-DeVrMVx4.js} +1 -1
- package/dist/assets/{toChartData-HYsxUPzh-Cw5iczWw.js → toChartData-yWFIkpKX-RS3uH3U9.js} +1 -1
- package/dist/assets/{treasuryColorHelper-BgV2H9Kv-DqJwHecP.js → treasuryColorHelper-I90KNlm_-BYEIYIdA.js} +1 -1
- package/dist/assets/{uploadAttachment-BgjFjkkw-BbDLjMJx.js → uploadAttachment-BIyTb3QF-DLfW32Gd.js} +35 -35
- package/dist/assets/{uploadReceipts-CwjPukNh-DpNYAzaK.js → uploadReceipts-CB79ouJi-D3aL_mpJ.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-BwrF_fEr-pbNmirlx.js +0 -21
- package/dist/assets/ApAgingDetailPage-CsQ3DujX-DRJxl7yD.js +0 -46
- package/dist/assets/ChargeCardPromoPage-us_v89rV-5UKWLQde.js +0 -222
- package/dist/assets/CheckDepositDrawerPage-XZJ1F0aC-BIEAAJrT.js +0 -206
- package/dist/assets/CompleteProfile-BpX6H4vJ-BMsnQRr0.js +0 -52
- package/dist/assets/CustomerOnboardingContainerPage-C1higvpq-jnleJ9YW.js +0 -1
- package/dist/assets/DepositAccTransactionListPage-BisaE6sH-D9G-Pd3w.js +0 -66
- package/dist/assets/EditPeoplePage-ixJkT03_-CPKwogul.js +0 -55
- package/dist/assets/FeaturePreviewPage-CpBX-Xic-i1vjRSe0.js +0 -11
- package/dist/assets/HelpButton-CzTfBZQj-BDPl7xid.js +0 -28
- package/dist/assets/InsightsSection-C-kpIvRH-DgYlsT5C.js +0 -27
- package/dist/assets/InvitePeoplePage-CPBMZNa--D8pSJrFO.js +0 -12
- package/dist/assets/InvoiceUploadSection-C0WzT0uv-B-3uv6I5.js +0 -140
- package/dist/assets/LabeledAddressValue-B8awEVKI-CVKgfd6H.js +0 -49
- package/dist/assets/LabeledAddressValueField-Dl5yKg2N-C-bThI-t.js +0 -45
- package/dist/assets/MagicLinkTitleSection-tHh2d5Ld-BW-9uqQ_.js +0 -17
- package/dist/assets/NavBarWithPicker-Bzkl4W0x-DJHwrAaG.js +0 -30
- package/dist/assets/NotificationsListConfig-CeeJpJ2p-Bji1yCr-.js +0 -1
- package/dist/assets/PortfolioAllocationFormPage-28Rg5Um0-CPdlBb8e.js +0 -207
- package/dist/assets/ReimbursementPromoPage-DQsLI50f-4sQmccDO.js +0 -112
- package/dist/assets/StatementsPage-BM5Glizw-DZquF5cW.js +0 -58
- package/dist/assets/TransactionVendorDetailPage-RajWBB1I-CDBAFShp.js +0 -80
- package/dist/assets/TransferDrawerPage-D-KFK0BM-D--7B2FN.js +0 -362
- package/dist/assets/TreasuryTransferOrReviewPage-DrNld8H2-MZyJT8Nm.js +0 -506
- package/dist/assets/Vendor2FAPopup-DvWVDx58-BHhhnyb9.js +0 -1
- package/dist/assets/VerifyDevice-XUExnmR9-BOqGq0NP.js +0 -67
- package/dist/assets/ZeniAccountNavBarPieces-5yZFq-zt-BN3FRsNa.js +0 -14
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as fe,
|
|
1
|
+
import{u as fe,X as Ce,a as xe,c4 as Pe,a8 as k,M as be,j as t,C as P,aW as Ae,c as Ie,F as ve,aS as je,c5 as ke,a4 as $e,o as s,h1 as Oe,cx as Be,cy as Ee,q as b,e as Te,gg as Ve,Q as ze,g as Le}from"./index-C5chxI3W.js";import{b as W,n as r}from"./vendor-CnQcJ2Lu.js";import{M as De,r as H,o as Me}from"./PaymentAccountSetupBillingAddressSection-CsldB-k7-VgWcdB9R.js";import{O as Re}from"./SetUpAccountSection-Dr1TfnG_-Cel5DtZp.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";import"./SetUpDefaultSection-Be5NU_Em-BdXA12e3.js";import"./ChaseOverlay-HTpWDuLt-D0qtM7hD.js";const p={titleWidth:new P(343,580,726,826),setupDetailsRowGap:new P(12,b[5],b[5]),iconWidthHeight:new P(20,b[4]),subTitlePaddingTop:new P(12,b[3])},We={title:new ze("standardSemiBold","largeSemiBold")},_="billingSetupPage",A="payAccountSectionId",n="subscriptionBillingAddressSectionId",lt=({analytics:e,billingSetupView:a,connectedAccountProvider:g,isDisabled:d,onClickMenuIcon:I,uiState:K,stripeKey:N,googleAPIKey:q,companyId:G,onUpdateAccountClick:J,onFetchLinkTokenClick:Q,onUpdatePaymentAccountStatus:Z,onUpdatePaymentAccountLoginStatus:X,onEstablishConnectionClick:Y,onEstablishConnectionSuccess:ee,handleCreateCardSetupIntent:te,handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:$,handleAddCardPaymentSource:ie,resetCardPaymentViewState:oe,handleResetCardPaymentErrorStatuses:ae,onBillingAddressSave:se,onAddressEditHandler:re})=>{const C=fe(),i=Ce(),{setupView:{paymentAccount:y,plaidConnectionDetails:de,allBankAccounts:le,accountFetchStatus:O},cardPaymentView:m}=a,ce=a.subscriptionBillingAddress,B=y?.providerVerificationStatus,ue=O.fetchState==="In-Progress"||O.fetchState==="Not-Started",S=xe({mode:"onSubmit",reValidateMode:"onChange",defaultValues:F(a),values:F(a),resetOptions:{keepDirtyValues:!0}}),pe=S.handleSubmit(c=>{se(G)}),E=a.subscriptionBillingAddressSaveStatus,me=async(c,o)=>{const h=o[A];if(c.includes(n)&&o[n]!=null){const v=S.getValues(`${n}`).country;let u=o[n];if(c.includes(`${n}.street`)&&o[n].street!=null){const{addressValue:f}=o[n].street,j=Be(f?.country);u={street:o[n].street??l.strings.empty,city:f?.locality??l.strings.empty,state:f?.administrativeAreaLevel1??l.strings.empty,country:j,countryCode:f?.countryCode??l.strings.empty,postalCode:f?.postalCode??l.strings.empty,secondaryInfo:o[n].secondaryInfo,suite:o[n].suite},v.selectedOption!==j.selectedOption&&(u={...u,country:j})}else c===`${n}.country`&&v.selectedOption!=null&&(u={...u,countryCode:Ee(v.selectedOption)});u!=null&&re(u)}else c.includes(A)&&h.account.selectedOption!=null&&y?.paymentAccountId!=null&&y.zeniAccountId!==h.account.selectedOption&&J(h.account.selectedOption,y.paymentAccountId)};W.useEffect(()=>{const c=S.watch((o,{name:h})=>{h!=null&&o!=null&&Pe(()=>me(h,o))});return()=>{c.unsubscribe()}});const T=C.mode==="light"?new k(C.colors.brandColorJadeLight):new k(C.colors.brandColorJadeDark),{customerOnboardingPage:{sections:{link_payment_account:he,card_payment_method:w}},common:l,billingSetupPage:V}=be.getLocalizedStrings(),ge=V.section.subTitle,{text:ye,subText:Se}=he,z=m.cardsList.length>0,L=m?.cardsList[0]?.brand??"other",D=m?.addCardPaymentSourceStatus.fetchState,x=De(w.header,w.titleText,w.protectedCardNo,m);let M;z&&(M={header:x.header,title:x.title,subtitle:x.subtitle,status:x.status==="valid"?{name:"Verified",code:"verified"}:{name:"Pending",code:"pending"},showAddPaymentMethodDropDown:z===!0,icon:{element:t.jsx("img",{src:H(L).iconURL,width:p.iconWidthHeight.valuePx(i),height:p.iconWidthHeight.valuePx(i),alt:H(L).name}),color:new k(T)},showCompletedIcon:!1,isError:D==="Error",isLoading:D==="In-Progress",isCompleted:!0,showRightArrow:!1});const[R,we]=W.useState(!1);return t.jsxs(_e,{children:[t.jsx(Ae,{source:"BillingSettingsPage",title:V.section.title,backgroundColor:C.colors.grey4,style:{zIndex:3},showBackButton:!1,showMenuIcon:i==="medium-compact"||i==="small",onClickMenuIcon:I}),t.jsxs(He,{windowSize:i,children:[t.jsx(Fe,{windowSize:i,children:ge}),ue?t.jsx(Ue,{children:t.jsx(Ie,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...S,children:t.jsx(Je,{children:t.jsx("form",{id:U(_),onSubmit:pe,children:t.jsxs(Ke,{windowSize:i,children:[t.jsx(Re,{connectedAccountProvider:g,paymentAccount:y,plaidConnectionDetails:de,allBankAccounts:le,header:w.header,sectionTitle:w.header,defaultSectionTitle:ye,defaultSectionSubTitle:Se,sectionId:A,isDisabled:d,onFetchLinkTokenClick:Q,onEstablishConnectionClick:Y,onUpdatePaymentAccountStatus:Z,onUpdatePaymentAccountLoginStatus:X,onEstablishConnectionSuccess:ee,isError:B?.code==="require_info"||B?.code==="failed",icon:{element:t.jsx(je,{width:p.iconWidthHeight.valuePx(i),height:p.iconWidthHeight.valuePx(i)}),color:T},analytics:e,productType:"billing",updateCardPaymentModalState:$,cardPaymentSectionValues:M,cardPaymentView:m,resetCardPaymentViewState:oe,showZeniAccountSection:!1,referrer:"Billing",cardSetupInProgress:R}),Ne(i,l.headers.billingAddress,ce,q,d)]})})})}),ke(S.formState.dirtyFields)?t.jsx($e,{formId:U(_),style:{width:i==="small"?"auto":"100%",paddingTop:s.sp2,paddingBottom:s.sp2,height:s.sp8},primaryBtn:{label:l.footer.save,isLoading:E?.fetchState==="In-Progress",isDisabled:E?.fetchState==="In-Progress",style:{height:s.sp6}},showCancel:!1,containerStyle:{width:"auto",justifyContent:"center"}}):null]}),t.jsx(Me,{handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:$,handleCreateCardSetupIntent:te,handleAddCardPaymentSource:ie,cardPaymentView:m,isCardPaymentOpen:K.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:ae,stripeKey:N,cardSetupInProgress:R,setCardSetupInProgress:we})]})},F=e=>{const{paymentAccount:a,allBankAccounts:g}=e.setupView;return{[A]:{account:{selectedOption:a?.zeniAccountId,allOptions:g.map(d=>({label:d.accountName,value:d.accountId}))}},[n]:Oe(n,e.subscriptionBillingAddress)[n]}},He=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: space-between;
|
|
4
4
|
height: 100%;
|
|
@@ -6,13 +6,13 @@ import{u as fe,e as Ce,a as xe,c7 as Pe,a8 as k,M as be,j as t,C as P,aW as Ae,m
|
|
|
6
6
|
flex-direction: column;
|
|
7
7
|
align-items: center;
|
|
8
8
|
row-gap: ${e=>p.setupDetailsRowGap.valuePx(e.windowSize)};
|
|
9
|
-
`,
|
|
9
|
+
`,_e=r.div`
|
|
10
10
|
display: flex;
|
|
11
11
|
min-height: 100%;
|
|
12
12
|
flex-direction: column;
|
|
13
13
|
width: 100%;
|
|
14
14
|
background-color: ${e=>e.theme.colors.grey4};
|
|
15
|
-
`,
|
|
15
|
+
`,Fe=r(Te)`
|
|
16
16
|
color: ${e=>e.theme.colors.hero};
|
|
17
17
|
display: flex;
|
|
18
18
|
justify-content: center;
|
|
@@ -31,11 +31,11 @@ import{u as fe,e as Ce,a as xe,c7 as Pe,a8 as k,M as be,j as t,C as P,aW as Ae,m
|
|
|
31
31
|
`,Ke=r.div`
|
|
32
32
|
display: flex;
|
|
33
33
|
flex-direction: column;
|
|
34
|
-
`,Ne=(e,a,g,d,I)=>t.jsxs(qe,{children:[t.jsx(Ge,{windowSize:e,isDisabled:I==="disabled",children:a}),t.jsx(
|
|
34
|
+
`,Ne=(e,a,g,d,I)=>t.jsxs(qe,{children:[t.jsx(Ge,{windowSize:e,isDisabled:I==="disabled",children:a}),t.jsx(Ve,{googleAPIKey:d??"",addressToEdit:g,sectionId:`${n}`,style:{marginLeft:"0px"},elementsStyle:{paddingRight:"0px"}})]}),qe=r.div`
|
|
35
35
|
margin-top: ${s.sp3};
|
|
36
36
|
margin-bottom: ${s.sp4};
|
|
37
37
|
`,Ge=r.div`
|
|
38
|
-
${e=>`${
|
|
38
|
+
${e=>`${We.title.style(e.windowSize)}`};
|
|
39
39
|
margin-bottom: ${s.sp3};
|
|
40
40
|
margin-top: ${s.sp4};
|
|
41
41
|
color: ${e=>e.isError===!0?Le.important:e.isDisabled===!0?e.theme.colors.grey1:e.theme.colors.primary};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{M as V,j as b,
|
|
1
|
+
import{M as V,j as b,bP as M,bR as q,bS as z,jc as W,l as G,ab as X}from"./index-C5chxI3W.js";import{b as _}from"./vendor-CnQcJ2Lu.js";import{m as Y}from"./ReviewOverlay-Dw0qj7TA-qOb8xPV_.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";const{common:n,spendManagement:{billPay:C}}=V.getLocalizedStrings(),o=C.bulkActions;let x;const ce=({billsReviewView:t,analytics:r,onProceedForBulkActionClick:l,onCloseReviewItem:e,onCloseOverlay:c})=>{const{fetchState:m,bulkSubmissionFetchState:a,bulkOperationTypeSelected:i,currentTab:g,currentSubTab:h}=t,u=i==="review",[P,w]=_.useState(!1),[s,v]=_.useState(j(t,u)),[p,E]=_.useState(u),[B,T]=_.useState(0),[f,k]=_.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});_.useEffect(()=>(u&&(x=setInterval(()=>{v(d=>d.map((S,O)=>(clearInterval(x),O===B?{...S,reviewStatus:{isLoading:!1,code:"valid"}}:S))),T(d=>d+1)},1e3)),B===s.length&&p&&(E(!1),clearInterval(x)),!u&&t.fetchState==="Completed"&&v(j(t,!1)),()=>{clearInterval(x)}),[s.length,B,p,t.fetchState,u,t]);const R=s.length,y=s.filter(d=>d.reviewStatus.code!=="error").length,A=()=>{const{title:d,description:S}=H(y);k({type:"reject",title:d,description:S,primaryButtonText:n.texts.confirm,secondaryButtonText:n.texts.close}),r.trackBillPayBulkSubmit(i,g,h),w(!0)},F={onOkClick:d=>{w(!1),r.trackBillPayBulkPopupConfirm(i,g,h,Z(t)),l("reject",d)},onCancelClick:()=>{w(!1)}},{title:N,description:$}=J(m,y,R,p),I=t.fetchState==="Completed"&&y===0,U=()=>{r.trackBillPayBulkSubmit(i,g,h),l(i)},D={label:I?n.texts.close:i==="send_for_approval"?n.footer.submit:n.footer.approve,isDisabled:m!=="Completed"||i==="reject"&&a==="In-Progress",isLoading:a==="In-Progress"&&(i==="send_for_approval"||i==="approve"),onClick:I?c:U,style:i==="send_for_approval"?{minWidth:"92px"}:{}},L={label:i==="send_for_approval"?n.texts.goBack:n.footer.reject,isDisabled:i!=="reject"&&a==="In-Progress",isLoading:i==="reject"&&a==="In-Progress",reverseSpinnerColor:!1,onClick:i==="send_for_approval"?c:A,style:i==="approve"?{minWidth:"92px"}:{}};return b.jsxs(b.Fragment,{children:[P?b.jsx(M,{titleComponent:b.jsx(z,{children:f.title}),descriptionComponent:b.jsx(q,{children:f.description}),primaryButtonText:f.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:f.secondaryButtonText,action:F,isNotesIncluded:!0,isEditPopup:!0}):null,b.jsx(Y,{title:N,description:{content:$,isError:t.fetchState==="Completed"&&y===0},reviewItems:s,onCloseReviewItem:e,onCloseOverlay:c,showFooter:t.fetchState==="Completed"&&!p,footerProps:{primaryButton:D,cancelButton:L,hideCancel:I}})]})},j=(t,r)=>{const l=t.fetchState==="In-Progress";return t.billsForReview.map(e=>({id:e.transactionId,leftSideText:{title:e.vendorName?e.vendorName:C.billDetails.newBillTitle,subTitle:`${C.billDetails.invoiceNo} ${e.invoiceNumber?e.invoiceNumber:n.strings.hyphen}`},rightSideText:{title:X("0,0.[00]",e.amount?.amount,e.amount?.currencySymbol),showThunderIcon:e.reviewErrors?.length===1&&G.isBillConditionallyValid(e.reviewErrors[0].reviewErrorCode),subTitle:K(e.reviewStatus==="warning",e.reviewErrors?.map(c=>c.reviewInfoMessage)),additonalInfo:e.reviewErrors!=null&&e.reviewErrors.length>1?o.reviewPage.removeOrProceed:void 0},reviewStatus:{isLoading:r?!0:l,code:e.reviewErrors?.length===1&&e.reviewErrors[0].reviewErrorCode==="ERR_INSUFFICIENT_FUNDS"?"low-balance":e.reviewStatus??""}}))},Z=t=>{const r=t.billsForReview;let l=[];return r.forEach(e=>{l=W([...l,e.isRecurring?"recurring":"one-time"])}),l},H=t=>{const{this_:r,these:l,bill:e,bills:c,payment:m,payments:a}=n.texts;return t>1?{title:o.popUps.reject.title.replace("<_payment_>",o.payments),description:o.popUps.reject.description.replaceAll("<_this_>",l).replaceAll("<_payment_>",a).replaceAll("<_bill_>",c)}:{title:o.popUps.reject.title.replace("<_payment_>",o.payment),description:o.popUps.reject.description.replaceAll("<_this_>",r).replaceAll("<_payment_>",m).replaceAll("<_bill_>",e)}},J=(t,r,l,e)=>{const{has:c,have:m,bill:a,bills:i,are:g,is:h,do_:u,does:P}=n.texts,w=r>1,s=l>1;let v="",p="";return t==="Completed"&&!e?(v=o.reviewPage.billsReviewed.title.replace("<_bill_>",s?C.bulkActions.bills:o.bill).replace("<_has_>",s?m:c),r===0?p=o.reviewPage.billsReviewed.descriptionError.replace("<_bill_>",s?i:a).replace("<_do_>",s?u:P):p=`${r}/${l} ${o.reviewPage.billsReviewed.description.replace("<_bill_>",l>1?i:a).replace("<_is_>",w?g:h)}`):(v=o.reviewPage.billsReviewing.title.replace("<_bill_>",s?i:a),p=o.reviewPage.billsReviewing.description.replace("<_bill_>",s?i:a)),{title:v,description:p}},K=(t,r)=>{if(r?.length!=null){if(r.length>1)return r.join(` ${n.strings.dividerDot} `);if(r.length===1)return t?r[0]+`${n.strings.colon} ${o.reviewPage.removeOrProceed}`:r[0]}return""};export{ce as default,Z as getBillsUniqueType};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{X as a,j as s,_ as b,o as r}from"./index-C5chxI3W.js";import{n as p}from"./vendor-CnQcJ2Lu.js";import{o as l}from"./commonDimensions-BpaqG_u8-Hm0X7sCE.js";const $=(o,e)=>e===1?"roundedBox":o===0?"topRoundedBox":o===e-1?"bottomRoundedBox":"box";function f({content:o,boxType:e,isDisabled:d=!1,isNotClickable:t=!1}){const i=a();switch(e??"roundedBox"){case"topRoundedBox":return s.jsx(x,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("top-rounded-box",e),children:o});case"bottomRoundedBox":return s.jsx(n,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("bottom-rounded-box",e),children:o});case"box":return s.jsx(u,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("box",e),children:o});case"roundedBox":return s.jsx(h,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("rounded-box",e),children:o})}}const h=p.div`
|
|
2
2
|
box-sizing: border-box;
|
|
3
3
|
cursor: ${o=>o.isDisabled||o.hideCursor===!0?"default":"pointer"};
|
|
4
4
|
min-height: ${o=>l.transactionItemHeightResponsive.valuePx(o.windowSize)};
|
|
@@ -12,7 +12,7 @@ import{e as h,j as s,$ as b,o as r}from"./index-Brv5pz8V.js";import{n as p}from"
|
|
|
12
12
|
border-color: ${o=>o.isDisabled?o.theme.colors.grey3:o.theme.colors.primary};
|
|
13
13
|
color: ${o=>o.isDisabled?o.theme.colors.hero:o.theme.colors.primary};
|
|
14
14
|
}
|
|
15
|
-
`,x=p(
|
|
15
|
+
`,x=p(h)`
|
|
16
16
|
display: flex;
|
|
17
17
|
border-top-width: 1px;
|
|
18
18
|
border-right-width: 1px;
|
|
@@ -26,7 +26,7 @@ import{e as h,j as s,$ as b,o as r}from"./index-Brv5pz8V.js";import{n as p}from"
|
|
|
26
26
|
&:hover {
|
|
27
27
|
border-bottom-width: 1px;
|
|
28
28
|
}
|
|
29
|
-
`,n=p(
|
|
29
|
+
`,n=p(h)`
|
|
30
30
|
display: flex;
|
|
31
31
|
border-top-width: 0.5px;
|
|
32
32
|
border-right-width: 1px;
|
|
@@ -39,7 +39,7 @@ import{e as h,j as s,$ as b,o as r}from"./index-Brv5pz8V.js";import{n as p}from"
|
|
|
39
39
|
&:hover {
|
|
40
40
|
border-top-width: 1px;
|
|
41
41
|
}
|
|
42
|
-
`,u=p(
|
|
42
|
+
`,u=p(h)`
|
|
43
43
|
display: flex;
|
|
44
44
|
border-radius: ${r.sp0};
|
|
45
45
|
border-top-width: 0.5px;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as et,e as tt,a2 as we,j as a,M as Te,b as G,a as at,cl as it,l as L,y as st,c7 as nt,ab as rt,a1 as ot,J as lt,aW as ct,$ as dt,c8 as mt,bS as pt,bU as ut,bV as ft,m as yt,F as ht,a4 as gt,o,C as N,B as ke,fF as xt,fd as Ce,cA as St,c4 as wt,a3 as Ct,n as $e,X as bt,h as vt,q as $}from"./index-Brv5pz8V.js";import{b as P,n as d}from"./vendor-CnQcJ2Lu.js";import{x as Dt,s as Tt}from"./CompanyOfficerDetailsSection-B8yGAFVj-C_nLkKUv.js";import{r as kt}from"./verification-CW6uEyev-DdkqedMU.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";import"./LabeledAddressValueField-Dl5yKg2N-C-bThI-t.js";import"./LabeledCreatableSingleSelectField-CV4GQQ7F-BUa9hT46.js";import"./LabeledDocumentField-BFhyNqP8-BDvJv_kZ.js";const x={width:new N(343,580,726),titleWidth:new N(343,580,726,826),subTitlePaddingTop:new N(12,$[3]),subTitlePaddingBottom:new N($[3],$[3]),verificationDetailsRowGap:new N(12,$[5],$[5]),termsPaddingLeftRight:new N($[0],$[3])},$t={stepTitle:new bt("h6Regular","h5Regular")},be="businessVerificationPage",b="companyDetails",v="companyOfficerDetails",{commonSetUp:{businessVerification:s},common:{settings:It,currency:jt,footer:ve,strings:{empty:Nt}}}=Te.getLocalizedStrings(),ma=({businessVerificationDetails:t,allNationalityCountries:A,verficationDetailsFetchState:F,isRefreshingViewInBackground:B,filesEndPoint:r,authParams:z,productType:y,allIndustries:E,companyTitles:_,maxInsuredAmount:u,isDisabled:I,isSettings:n=!1,isOverlay:h=!1,analytics:g,isStepInProgress:S=!1,onAddressClick:Y,onRegisteredAddressClick:je,onBackClick:V,onGetOtp:Ne,onVerifyOtp:Pe,onResendOtp:Fe,onSendForVerificationClick:Ve,onEditFileName:ee,onCompanyDetailsChanged:Oe,updateFilesEntity:te,onDeleteFile:ae,onDeleteFileList:Le,onCompanyOfficerUpdated:Ae,saveNewAddressInLocalStore:ie,onSaveDetailsClick:Be,onClickMenuIcon:ze})=>{const Ee=et(),m=tt(),{updateStatus:R,companyView:O,companyDetailsLocalData:l,companyOfficerLocalData:w}=t,_e=we(R.fetchState),U=O?.company.company.featuresActivationInfo.connectedAccountProvider,Re=U==="unit"?a.jsxs(Et,{children:[s.terms.term1,a.jsx(G,{href:s.terms.consentUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.consent}),s.terms.term2,a.jsx(G,{href:s.terms.depositUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.depositTerms}),s.terms.term3,a.jsx(G,{href:s.terms.privacyPolicyUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.privacy}),s.terms.term4,a.jsx(G,{href:s.terms.tosUrl,onZeniLinkClick:()=>(g?.trackBillPayPrivacyPolicy(),!0),linkText:s.terms.tos}),s.terms.term5]}):s.terms.termsForStripe,[Ue,W]=P.useState(!1),[M,se]=P.useState("save"),[X,Me]=P.useState(!1),p=at({mode:"all",reValidateMode:"onChange",defaultValues:Pt(t,E,_,A)}),{isValid:Ge}=p.formState,Z=O?.company.company.companyBillPayInfo,q=O?.company.company.companyTreasuryInfo,j=y==="zeni_treasury"?q?.companyVerificationStatus:Z?.companyVerificationStatus,D=Object.values(w).findIndex(e=>e?.isSelectedForVerification===!0),T=`Officer_${D<0?1:D+1}`,We=()=>{const e=w[T],i=e?.email,c=e?.birthday?.toString(),f=e?.ownershipInCompany,C=e?.firstName,k=e?.lastName,oe=e?.titleAtCompany,le=e?.documentTypeSelectedForVerification,ce=e?.phone,de=e?.addressStatus?.addressToCreate,me=de!=null?L.getFormattedAddress(de):void 0,pe=l?.companyDescription,K=l?.companyLegalName,ue=l?.companyIndustry,fe=l?.phone,ye=l?.website,he=l?.addressStatus?.addressToCreate!=null?L.getFormattedAddress(l?.addressStatus?.addressToCreate):void 0,Q=l?.primaryContactLocalData,ge=Q?.firstName,xe=Q?.lastName,Se=Q?.email;i!=null&&f!=null&&C!=null&&k!=null&&c!=null&&oe!=null&&ce!=null&&me!=null&&le!=null&&pe!=null&&K!=null&&fe!=null&&ye!=null&&ue!=null&&K!=null&&he!=null&&ge!=null&&xe!=null&&Se!=null&&g?.trackBusinessVerificationSend({email:i,birthday:c.toString(),companyOwnership:f,firstName:C,lastName:k,companyRole:oe,phone:ce,formattedAddress:me,documentTypeForVerification:le},{companyDescription:pe,legalName:K,phone:fe,website:ye.toString(),industry:ue,formattedAddress:he},{firstName:ge,lastName:xe,email:Se},y,n?"Settings":void 0)},Xe=()=>{const e=w[T],i=l?.primaryContactLocalData,c=e?.email??"",f=!!e?.firstName&&!!e?.lastName,C=i?.email??"",k=!!i?.firstName&&!!i?.lastName;return c&&!f?((!e?.firstName||!e?.lastName)&&p.trigger(`${v}.${D<0?0:D}.name`,{shouldFocus:!0}),!1):C&&!k?((!i?.firstName||!i?.lastName)&&p.trigger(`${b}.primaryContactName`,{shouldFocus:!0}),!1):!0},Ze=()=>{const e=w[T],i=l?.primaryContactLocalData,c=e?.email,f=i?.email;if(c){if(!f)return(i?.firstName||i?.lastName)&&p.trigger(`${b}.primaryContactEmail`,{shouldFocus:!0}),!1}else if(e?.firstName||e?.lastName||e?.birthday||e?.nationalityCountryCode||e?.ownershipInCompany||e?.phone||e?.ssn||e?.titleAtCompany||e?.addressStatus?.addressToCreate||e?.fileIds!=null&&e?.fileIds.length>0||J!=null&&J?.length>0)return p.trigger(`${v}.${D<0?0:D}.email`,{shouldFocus:!0}),!1;return!0},qe=p.handleSubmit(()=>{if(M!=="verification"&&se("verification"),U==="unit"&&w[T]?.isPhoneVerified!==!0){p.setError(`${v}.${D}.phone`,{type:"custom"});return}const e=it(Object.values(w).map(c=>Object.values(c?.deleteFileStatusById??{}).filter(f=>f!=null))),i=Object.values(l?.deleteFileStatusById??{}).filter(c=>c!=null);L.reduceAllFetchState(e.concat(i)).fetchState!=="In-Progress"&&Ge&&(We(),Ve?.(T))}),Je=async(e,i)=>{e.includes(b)?Oe?.(i[b]):e.includes(v)&&Ae?.(i[v])},He=P.useCallback(st((e,i)=>{Je(e,i)},300),[]);P.useEffect(()=>{const e=p.watch((i,{name:c})=>{c!=null&&i!=null&&nt(()=>He(c,i))});return()=>{e.unsubscribe()}});const ne=we(t.companyDetailsLocalData?.addressStatus);P.useEffect(()=>{t.companyDetailsLocalData?.addressStatus?.addressToCreate!=null&&t.companyDetailsLocalData?.registeredAddressStatus?.addressToCreate==null&&ne==null&&(ie?.("company_registered_address",t.companyDetailsLocalData?.addressStatus?.addressToCreate),p.setValue(`${b}.registeredAddress`,t.companyDetailsLocalData?.addressStatus?.addressToCreate))},[t.companyDetailsLocalData?.addressStatus,t.companyDetailsLocalData?.registeredAddressStatus,ne,ie,p]);const re=O?.companyOfficers.slice(0,10).sort((e,i)=>e.user.createTime?.isAfter(i.user.createTime)===!0?1:-1),J=re?.map(e=>e.user),Ke=re?.map(e=>e.role),Qe={onOkClick:()=>{W(!1),V();const e=[],i=O?.company.company.incInfo.fileIds??[];p.getValues(`${b}.fileIds`).forEach(c=>{i.includes(c)||e.push(c)}),Ke?.forEach((c,f)=>{const C=c?.fileIds??[];p.getValues(`${v}.${f}.fileIds`).forEach(k=>{C.includes(k)||e.push(k)})}),e.length!==0&&Le?.(e)},onCancelClick:()=>{W(!1)}},Ye=rt(ot(u),u,jt.currencySymbol).toUpperCase(),H=j?.code==="pending_review"||j?.code==="verified";return y==="zeni_treasury"&&j?.code==="pending_review"&&_e==="In-Progress"&&R.fetchState==="Completed"?a.jsxs(Zt,{children:[a.jsxs(qt,{children:[a.jsx(kt,{}),a.jsx(Jt,{windowSize:m,children:s.submittedTitle}),a.jsx(Xt,{isReadonly:!1,children:s.submittedDescription})]}),a.jsx(lt,{label:s.submittedButton,onClick:V,variant:"primary"})]}):a.jsxs(Ft,{isSettings:n,children:[a.jsx(ct,{title:h&&S===!0?Nt:s.header,backgroundColor:Ee.colors.grey5,style:{zIndex:X?1:4},onBackClick:()=>{mt(p.formState.dirtyFields)?W(!0):V()},showBackButton:!n&&!h,showMenuIcon:n?m==="medium-compact"||m==="small":!1,onClickMenuIcon:ze,rightSideComponent:h?a.jsx(Ht,{"data-testid":dt("nav-bar-close-business-verification-overlay"),onClick:()=>{V()}}):null,source:"BusinessVerificationPage"}),Ue===!0?a.jsx(pt,{titleComponent:a.jsx(ft,{children:s.discardTitle}),descriptionComponent:a.jsx(ut,{children:s.discardDescription}),primaryButtonText:s.discard,secondaryButtonText:s.cancel,action:Qe}):null,a.jsxs(Lt,{windowSize:m,children:[(!h||S===!1)&&a.jsx(Ot,{windowSize:m,children:n?It.infoText.businessVerification:s.title}),F==="In-Progress"||F==="Not-Started"?a.jsx(At,{children:a.jsx(yt,{size:"ExtraLarge",start:!0})}):a.jsx(ht,{...p,children:a.jsxs("form",{id:De(be),onSubmit:qe,children:[h&&S===!0&&a.jsxs(Vt,{children:[a.jsxs(_t,{windowSize:m,children:[a.jsx(Rt,{windowSize:m,children:H?s.businessVerificationDetails:s.verifyBusinessDetails}),!H&&a.jsx(Ut,{children:a.jsxs(Mt,{children:[a.jsx(Gt,{}),a.jsx(Wt,{})]})})]}),a.jsx(Ie,{isReadonly:H,children:s.verifyBusinessDetailsDescription})]}),a.jsxs(Bt,{children:[a.jsx(Dt,{companyOfficerData:w,allNationalityCountries:A,allOfficers:J??[],sectionId:v,isRefreshingViewInBackground:B,connectedAccountProvider:U,productType:"business_verification",updateFilesEntity:te,onEditFileName:ee,onOfficerAddressClick:Y,onDeleteFile:ae,isDisabled:I,filesEndPoint:r,authParams:z,isPopupOpen:X,openPopup:Me,onGetOtp:Ne,onVerifyOtp:Pe,onResendOtp:Fe,companyTitles:_,isForTreasury:y==="zeni_treasury",isOverlay:h}),a.jsx(Tt,{companyDetails:l,businessVerificationProps:{companyVerificationStatus:j,isRefreshingViewInBackground:B},productType:"business_verification",showTreasuryFields:y==="zeni_treasury",sectionId:b,isDisabled:j?.code==="pending_review"||j?.code==="verified"?"readonly":I,fileProps:{authParams:z,filesEndPoint:r,onEditFileName:ee,onDeleteFile:ae,updateFilesEntity:te},onCompanyAddressClick:Y,onRegisteredAddressClick:je,connectedAccountProvider:U,allIndustries:E})]}),y==="zeni_accounts"?a.jsx(zt,{windowSize:m,children:s.threadText.replace("__amount__",Ye)}):null]})})]}),F==="Completed"&&(y==="zeni_treasury"?q?.companyVerificationStatus?.code!=="pending_review"&&q?.companyVerificationStatus?.code!=="verified":Z?.businessVerificationStatus?.code!=="pending_review"&&Z?.businessVerificationStatus?.code!=="verified")?a.jsx(gt,{formId:De(be),primaryBtn:{label:S?ve.submit:s.sendForVerificationButton,style:{width:"auto",minWidth:m==="small"?"auto":S?"83px":"181px"},isLoading:M==="verification"&&R.fetchState==="In-Progress",isDisabled:I!=null},containerStyle:{width:m==="small"?x.width.valuePx(m):"auto",justifyContent:m==="small"?"space-between":"center"},helperStyle:{width:m==="small"?x.width.valuePx(m):"auto",paddingLeft:x.termsPaddingLeftRight.valuePx(m),paddingRight:x.termsPaddingLeftRight.valuePx(m),textAlign:m==="small"?"center":"initial"},showCancel:!0,cancelBtn:{reverseSpinnerColor:!1,label:S?ve.back:s.saveDetailsButton,style:{width:m==="small"?"auto":S?"83px":"181px"},isLoading:M==="save"&&R.fetchState==="In-Progress",onClick:()=>{if(S)V();else{const e=w[T],i=l?.primaryContactLocalData;M!=="save"&&se("save");const c=e?.email??"",f=Xe(),C=Ze();f&&C&&(g?.trackBusinessVerificationSave({email:c,birthday:e?.birthday?.toString(),companyOwnership:e?.ownershipInCompany,firstName:e?.firstName,lastName:e?.lastName,companyRole:e?.titleAtCompany,phone:e?.phone,formattedAddress:e?.addressStatus?.addressToCreate!=null?L.getFormattedAddress(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification},{companyDescription:l?.companyDescription,legalName:l?.companyLegalName,phone:l?.phone,website:l?.website?.toString(),industry:l?.companyIndustry??"",formattedAddress:l?.addressStatus?.addressToCreate!=null?L.getFormattedAddress(l?.addressStatus?.addressToCreate):void 0},{firstName:i?.firstName,lastName:i?.lastName,email:i?.email},y,n?"Settings":void 0),Be?.(T))}}},helperText:Re,style:{padding:`12px ${o.sp3}`,zIndex:X?0:4}}):null]})},Pt=(t,A,F,B)=>{const{companyDetailsLocalData:r,companyOfficerLocalData:z,companyView:y}=t,E=Te.getLocalizedStrings().companyPassport,_=y?.companyOfficers!=null&&y?.companyOfficers.length>0;return{[b]:{companyDescription:r?.companyDescription??"",ein:r?.companyFiles.find(u=>u.documentType==="tax_ein"),companyId:r?.companyId??"",syncToken:r?.syncToken,companyLegalName:r?.companyLegalName??"",companyWebsite:r?.website?.toString()??"",companyAddress:r?.addressStatus?.addressToCreate,registeredAddress:r?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:r?.companyIndustry,allOptions:A?.map(u=>u.code)},companyPhone:r?.phone??"",companyTaxId:r?.taxIdOrEIN??"",primaryContactName:{firstName:r?.primaryContactLocalData?.firstName??"",lastName:r?.primaryContactLocalData?.lastName??""},primaryContactEmail:r?.primaryContactLocalData?.email??"",primaryContactUserId:r?.primaryContactLocalData?.userId,primaryContactSyncToken:r?.primaryContactLocalData?.syncToken,fileIds:r?.companyFiles.map(u=>u.fileId)??[],certificateOfIncorporation:r?.companyFiles.find(u=>u.documentType==="certificate_of_incorporation"),incDate:r?.incDate?.toDate(),typeOfIncorporation:{selectedOption:r?.typeOfIncorporation,allOptions:E.companyIncInfo.allTypesOfIncorporation},sourceOfFunds:{selectedOption:r?.sourceOfFunds??"",allOptions:Object.keys(s.sourceOfFundOptions)}},[v]:Object.values(z).map((u,I)=>{const n=u,h=xt(n?.documentTypeSelectedForVerification);return{userId:n?.userId,officerType:n?.officerType??`Officer_${I+1}`,name:{firstName:n?.firstName,lastName:n?.lastName},email:n?.email,fileIds:n?.fileIds??[],dob:n?.birthday?.toDate(),nationalityCountryCode:St(n?.nationalityCountryCode,B.map(g=>g.countryCode)),ssn:n?.ssn,role:{selectedOption:n?.titleAtCompany,allOptions:F?.map(g=>g.code)},phone:n?.phone??"",ownership:n?.ownershipInCompany,officerAddress:n?.addressStatus?.addressToCreate,selectDocument:{front:Ce(!0,n?.userFiles??[],h),back:Ce(!1,n?.userFiles??[],h),selectDocumentType:h},isSelectedForVerification:!_&&I===0?!0:n?.isSelectedForVerification??!1,userVerificationStatus:n?.userVerificationStatus,treasuryUserVerificationStatus:n?.treasuryUserVerificationStatus,syncToken:n?.syncToken,isPhoneVerified:n?.isPhoneVerified,otpChallenge:n?.otpChallenge}})}},De=t=>`${t}_form`,Ft=d.div`
|
|
1
|
+
import{u as et,X as tt,a2 as we,j as i,M as Te,i as G,a as it,ci as at,l as L,z as st,c4 as nt,ab as rt,a1 as ot,K as lt,aW as ct,_ as dt,c5 as mt,bP as pt,bR as ut,bS as ft,c as yt,F as ht,a4 as gt,o,C as N,m as ke,fD as xt,fb as Ce,cx as St,c1 as wt,a3 as Ct,e as $e,Q as bt,h as vt,q as $}from"./index-C5chxI3W.js";import{b as P,n as d}from"./vendor-CnQcJ2Lu.js";import{x as Dt,s as Tt}from"./CompanyOfficerDetailsSection-C1aPsDga-DX0GYxxu.js";import{r as kt}from"./verification-CW6uEyev-DdkqedMU.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";import"./LabeledAddressValueField-Eka4fXzu-BSJMd52k.js";import"./LabeledCreatableSingleSelectField-CJT-CuQl-C0rlBcX2.js";import"./LabeledDocumentField-BoraKtTI-BRERXK8W.js";const x={width:new N(343,580,726),titleWidth:new N(343,580,726,826),subTitlePaddingTop:new N(12,$[3]),subTitlePaddingBottom:new N($[3],$[3]),verificationDetailsRowGap:new N(12,$[5],$[5]),termsPaddingLeftRight:new N($[0],$[3])},$t={stepTitle:new bt("h6Regular","h5Regular")},be="businessVerificationPage",b="companyDetails",v="companyOfficerDetails",{commonSetUp:{businessVerification:s},common:{settings:It,currency:jt,footer:ve,strings:{empty:Nt}}}=Te.getLocalizedStrings(),mi=({businessVerificationDetails:t,allNationalityCountries:A,verficationDetailsFetchState:F,isRefreshingViewInBackground:z,filesEndPoint:r,authParams:B,productType:y,allIndustries:_,companyTitles:E,maxInsuredAmount:u,isDisabled:I,isSettings:n=!1,isOverlay:h=!1,analytics:g,isStepInProgress:S=!1,onAddressClick:H,onRegisteredAddressClick:je,onBackClick:V,onGetOtp:Ne,onVerifyOtp:Pe,onResendOtp:Fe,onSendForVerificationClick:Ve,onEditFileName:ee,onCompanyDetailsChanged:Oe,updateFilesEntity:te,onDeleteFile:ie,onDeleteFileList:Le,onCompanyOfficerUpdated:Ae,saveNewAddressInLocalStore:ae,onSaveDetailsClick:ze,onClickMenuIcon:Be})=>{const _e=et(),m=tt(),{updateStatus:R,companyView:O,companyDetailsLocalData:l,companyOfficerLocalData:w}=t,Ee=we(R.fetchState),U=O?.company.company.featuresActivationInfo.connectedAccountProvider,Re=U==="unit"?i.jsxs(_t,{children:[s.terms.term1,i.jsx(G,{href:s.terms.consentUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.consent}),s.terms.term2,i.jsx(G,{href:s.terms.depositUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.depositTerms}),s.terms.term3,i.jsx(G,{href:s.terms.privacyPolicyUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.privacy}),s.terms.term4,i.jsx(G,{href:s.terms.tosUrl,onZeniLinkClick:()=>(g?.trackBillPayPrivacyPolicy(),!0),linkText:s.terms.tos}),s.terms.term5]}):s.terms.termsForStripe,[Ue,W]=P.useState(!1),[M,se]=P.useState("save"),[Z,Me]=P.useState(!1),p=it({mode:"all",reValidateMode:"onChange",defaultValues:Pt(t,_,E,A)}),{isValid:Ge}=p.formState,K=O?.company.company.companyBillPayInfo,X=O?.company.company.companyTreasuryInfo,j=y==="zeni_treasury"?X?.companyVerificationStatus:K?.companyVerificationStatus,D=Object.values(w).findIndex(e=>e?.isSelectedForVerification===!0),T=`Officer_${D<0?1:D+1}`,We=()=>{const e=w[T],a=e?.email,c=e?.birthday?.toString(),f=e?.ownershipInCompany,C=e?.firstName,k=e?.lastName,oe=e?.titleAtCompany,le=e?.documentTypeSelectedForVerification,ce=e?.phone,de=e?.addressStatus?.addressToCreate,me=de!=null?L.getFormattedAddress(de):void 0,pe=l?.companyDescription,J=l?.companyLegalName,ue=l?.companyIndustry,fe=l?.phone,ye=l?.website,he=l?.addressStatus?.addressToCreate!=null?L.getFormattedAddress(l?.addressStatus?.addressToCreate):void 0,Y=l?.primaryContactLocalData,ge=Y?.firstName,xe=Y?.lastName,Se=Y?.email;a!=null&&f!=null&&C!=null&&k!=null&&c!=null&&oe!=null&&ce!=null&&me!=null&&le!=null&&pe!=null&&J!=null&&fe!=null&&ye!=null&&ue!=null&&J!=null&&he!=null&&ge!=null&&xe!=null&&Se!=null&&g?.trackBusinessVerificationSend({email:a,birthday:c.toString(),companyOwnership:f,firstName:C,lastName:k,companyRole:oe,phone:ce,formattedAddress:me,documentTypeForVerification:le},{companyDescription:pe,legalName:J,phone:fe,website:ye.toString(),industry:ue,formattedAddress:he},{firstName:ge,lastName:xe,email:Se},y,n?"Settings":void 0)},Ze=()=>{const e=w[T],a=l?.primaryContactLocalData,c=e?.email??"",f=!!e?.firstName&&!!e?.lastName,C=a?.email??"",k=!!a?.firstName&&!!a?.lastName;return c&&!f?((!e?.firstName||!e?.lastName)&&p.trigger(`${v}.${D<0?0:D}.name`,{shouldFocus:!0}),!1):C&&!k?((!a?.firstName||!a?.lastName)&&p.trigger(`${b}.primaryContactName`,{shouldFocus:!0}),!1):!0},Ke=()=>{const e=w[T],a=l?.primaryContactLocalData,c=e?.email,f=a?.email;if(c){if(!f)return(a?.firstName||a?.lastName)&&p.trigger(`${b}.primaryContactEmail`,{shouldFocus:!0}),!1}else if(e?.firstName||e?.lastName||e?.birthday||e?.nationalityCountryCode||e?.ownershipInCompany||e?.phone||e?.ssn||e?.titleAtCompany||e?.addressStatus?.addressToCreate||e?.fileIds!=null&&e?.fileIds.length>0||q!=null&&q?.length>0)return p.trigger(`${v}.${D<0?0:D}.email`,{shouldFocus:!0}),!1;return!0},Xe=p.handleSubmit(()=>{if(M!=="verification"&&se("verification"),U==="unit"&&w[T]?.isPhoneVerified!==!0){p.setError(`${v}.${D}.phone`,{type:"custom"});return}const e=at(Object.values(w).map(c=>Object.values(c?.deleteFileStatusById??{}).filter(f=>f!=null))),a=Object.values(l?.deleteFileStatusById??{}).filter(c=>c!=null);L.reduceAllFetchState(e.concat(a)).fetchState!=="In-Progress"&&Ge&&(We(),Ve?.(T))}),qe=async(e,a)=>{e.includes(b)?Oe?.(a[b]):e.includes(v)&&Ae?.(a[v])},Qe=P.useCallback(st((e,a)=>{qe(e,a)},300),[]);P.useEffect(()=>{const e=p.watch((a,{name:c})=>{c!=null&&a!=null&&nt(()=>Qe(c,a))});return()=>{e.unsubscribe()}});const ne=we(t.companyDetailsLocalData?.addressStatus);P.useEffect(()=>{t.companyDetailsLocalData?.addressStatus?.addressToCreate!=null&&t.companyDetailsLocalData?.registeredAddressStatus?.addressToCreate==null&&ne==null&&(ae?.("company_registered_address",t.companyDetailsLocalData?.addressStatus?.addressToCreate),p.setValue(`${b}.registeredAddress`,t.companyDetailsLocalData?.addressStatus?.addressToCreate))},[t.companyDetailsLocalData?.addressStatus,t.companyDetailsLocalData?.registeredAddressStatus,ne,ae,p]);const re=O?.companyOfficers.slice(0,10).sort((e,a)=>e.user.createTime?.isAfter(a.user.createTime)===!0?1:-1),q=re?.map(e=>e.user),Je=re?.map(e=>e.role),Ye={onOkClick:()=>{W(!1),V();const e=[],a=O?.company.company.incInfo.fileIds??[];p.getValues(`${b}.fileIds`).forEach(c=>{a.includes(c)||e.push(c)}),Je?.forEach((c,f)=>{const C=c?.fileIds??[];p.getValues(`${v}.${f}.fileIds`).forEach(k=>{C.includes(k)||e.push(k)})}),e.length!==0&&Le?.(e)},onCancelClick:()=>{W(!1)}},He=rt(ot(u),u,jt.currencySymbol).toUpperCase(),Q=j?.code==="pending_review"||j?.code==="verified";return y==="zeni_treasury"&&j?.code==="pending_review"&&Ee==="In-Progress"&&R.fetchState==="Completed"?i.jsxs(Kt,{children:[i.jsxs(Xt,{children:[i.jsx(kt,{}),i.jsx(qt,{windowSize:m,children:s.submittedTitle}),i.jsx(Zt,{isReadonly:!1,children:s.submittedDescription})]}),i.jsx(lt,{label:s.submittedButton,onClick:V,variant:"primary"})]}):i.jsxs(Ft,{isSettings:n,children:[i.jsx(ct,{title:h&&S===!0?Nt:s.header,backgroundColor:_e.colors.grey5,style:{zIndex:Z?1:4},onBackClick:()=>{mt(p.formState.dirtyFields)?W(!0):V()},showBackButton:!n&&!h,showMenuIcon:n?m==="medium-compact"||m==="small":!1,onClickMenuIcon:Be,rightSideComponent:h?i.jsx(Qt,{"data-testid":dt("nav-bar-close-business-verification-overlay"),onClick:()=>{V()}}):null,source:"BusinessVerificationPage"}),Ue===!0?i.jsx(pt,{titleComponent:i.jsx(ft,{children:s.discardTitle}),descriptionComponent:i.jsx(ut,{children:s.discardDescription}),primaryButtonText:s.discard,secondaryButtonText:s.cancel,action:Ye}):null,i.jsxs(Lt,{windowSize:m,children:[(!h||S===!1)&&i.jsx(Ot,{windowSize:m,children:n?It.infoText.businessVerification:s.title}),F==="In-Progress"||F==="Not-Started"?i.jsx(At,{children:i.jsx(yt,{size:"ExtraLarge",start:!0})}):i.jsx(ht,{...p,children:i.jsxs("form",{id:De(be),onSubmit:Xe,children:[h&&S===!0&&i.jsxs(Vt,{children:[i.jsxs(Et,{windowSize:m,children:[i.jsx(Rt,{windowSize:m,children:Q?s.businessVerificationDetails:s.verifyBusinessDetails}),!Q&&i.jsx(Ut,{children:i.jsxs(Mt,{children:[i.jsx(Gt,{}),i.jsx(Wt,{})]})})]}),i.jsx(Ie,{isReadonly:Q,children:s.verifyBusinessDetailsDescription})]}),i.jsxs(zt,{children:[i.jsx(Dt,{companyOfficerData:w,allNationalityCountries:A,allOfficers:q??[],sectionId:v,isRefreshingViewInBackground:z,connectedAccountProvider:U,productType:"business_verification",updateFilesEntity:te,onEditFileName:ee,onOfficerAddressClick:H,onDeleteFile:ie,isDisabled:I,filesEndPoint:r,authParams:B,isPopupOpen:Z,openPopup:Me,onGetOtp:Ne,onVerifyOtp:Pe,onResendOtp:Fe,companyTitles:E,isForTreasury:y==="zeni_treasury",isOverlay:h}),i.jsx(Tt,{companyDetails:l,businessVerificationProps:{companyVerificationStatus:j,isRefreshingViewInBackground:z},productType:"business_verification",showTreasuryFields:y==="zeni_treasury",sectionId:b,isDisabled:j?.code==="pending_review"||j?.code==="verified"?"readonly":I,fileProps:{authParams:B,filesEndPoint:r,onEditFileName:ee,onDeleteFile:ie,updateFilesEntity:te},onCompanyAddressClick:H,onRegisteredAddressClick:je,connectedAccountProvider:U,allIndustries:_})]}),y==="zeni_accounts"?i.jsx(Bt,{windowSize:m,children:s.threadText.replace("__amount__",He)}):null]})})]}),F==="Completed"&&(y==="zeni_treasury"?X?.companyVerificationStatus?.code!=="pending_review"&&X?.companyVerificationStatus?.code!=="verified":K?.businessVerificationStatus?.code!=="pending_review"&&K?.businessVerificationStatus?.code!=="verified")?i.jsx(gt,{formId:De(be),primaryBtn:{label:S?ve.submit:s.sendForVerificationButton,style:{width:"auto",minWidth:m==="small"?"auto":S?"83px":"181px"},isLoading:M==="verification"&&R.fetchState==="In-Progress",isDisabled:I!=null},containerStyle:{width:m==="small"?x.width.valuePx(m):"auto",justifyContent:m==="small"?"space-between":"center"},helperStyle:{width:m==="small"?x.width.valuePx(m):"auto",paddingLeft:x.termsPaddingLeftRight.valuePx(m),paddingRight:x.termsPaddingLeftRight.valuePx(m),textAlign:m==="small"?"center":"initial"},showCancel:!0,cancelBtn:{reverseSpinnerColor:!1,label:S?ve.back:s.saveDetailsButton,style:{width:m==="small"?"auto":S?"83px":"181px"},isLoading:M==="save"&&R.fetchState==="In-Progress",onClick:()=>{if(S)V();else{const e=w[T],a=l?.primaryContactLocalData;M!=="save"&&se("save");const c=e?.email??"",f=Ze(),C=Ke();f&&C&&(g?.trackBusinessVerificationSave({email:c,birthday:e?.birthday?.toString(),companyOwnership:e?.ownershipInCompany,firstName:e?.firstName,lastName:e?.lastName,companyRole:e?.titleAtCompany,phone:e?.phone,formattedAddress:e?.addressStatus?.addressToCreate!=null?L.getFormattedAddress(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification},{companyDescription:l?.companyDescription,legalName:l?.companyLegalName,phone:l?.phone,website:l?.website?.toString(),industry:l?.companyIndustry??"",formattedAddress:l?.addressStatus?.addressToCreate!=null?L.getFormattedAddress(l?.addressStatus?.addressToCreate):void 0},{firstName:a?.firstName,lastName:a?.lastName,email:a?.email},y,n?"Settings":void 0),ze?.(T))}}},helperText:Re,style:{padding:`12px ${o.sp3}`,zIndex:Z?0:4}}):null]})},Pt=(t,A,F,z)=>{const{companyDetailsLocalData:r,companyOfficerLocalData:B,companyView:y}=t,_=Te.getLocalizedStrings().companyPassport,E=y?.companyOfficers!=null&&y?.companyOfficers.length>0;return{[b]:{companyDescription:r?.companyDescription??"",ein:r?.companyFiles.find(u=>u.documentType==="tax_ein"),companyId:r?.companyId??"",syncToken:r?.syncToken,companyLegalName:r?.companyLegalName??"",companyWebsite:r?.website?.toString()??"",companyAddress:r?.addressStatus?.addressToCreate,registeredAddress:r?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:r?.companyIndustry,allOptions:A?.map(u=>u.code)},companyPhone:r?.phone??"",companyTaxId:r?.taxIdOrEIN??"",primaryContactName:{firstName:r?.primaryContactLocalData?.firstName??"",lastName:r?.primaryContactLocalData?.lastName??""},primaryContactEmail:r?.primaryContactLocalData?.email??"",primaryContactUserId:r?.primaryContactLocalData?.userId,primaryContactSyncToken:r?.primaryContactLocalData?.syncToken,fileIds:r?.companyFiles.map(u=>u.fileId)??[],certificateOfIncorporation:r?.companyFiles.find(u=>u.documentType==="certificate_of_incorporation"),incDate:r?.incDate?.toDate(),typeOfIncorporation:{selectedOption:r?.typeOfIncorporation,allOptions:_.companyIncInfo.allTypesOfIncorporation},sourceOfFunds:{selectedOption:r?.sourceOfFunds??"",allOptions:Object.keys(s.sourceOfFundOptions)}},[v]:Object.values(B).map((u,I)=>{const n=u,h=xt(n?.documentTypeSelectedForVerification);return{userId:n?.userId,officerType:n?.officerType??`Officer_${I+1}`,name:{firstName:n?.firstName,lastName:n?.lastName},email:n?.email,fileIds:n?.fileIds??[],dob:n?.birthday?.toDate(),nationalityCountryCode:St(n?.nationalityCountryCode,z.map(g=>g.countryCode)),ssn:n?.ssn,role:{selectedOption:n?.titleAtCompany,allOptions:F?.map(g=>g.code)},phone:n?.phone??"",ownership:n?.ownershipInCompany,officerAddress:n?.addressStatus?.addressToCreate,selectDocument:{front:Ce(!0,n?.userFiles??[],h),back:Ce(!1,n?.userFiles??[],h),selectDocumentType:h},isSelectedForVerification:!E&&I===0?!0:n?.isSelectedForVerification??!1,userVerificationStatus:n?.userVerificationStatus,treasuryUserVerificationStatus:n?.treasuryUserVerificationStatus,syncToken:n?.syncToken,isPhoneVerified:n?.isPhoneVerified,otpChallenge:n?.otpChallenge}})}},De=t=>`${t}_form`,Ft=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-height: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -38,21 +38,21 @@ import{u as et,e as tt,a2 as we,j as a,M as Te,b as G,a as at,cl as it,l as L,y
|
|
|
38
38
|
justify-content: center;
|
|
39
39
|
align-items: center;
|
|
40
40
|
background-color: ${t=>t.theme.colors.grey4};
|
|
41
|
-
`,
|
|
41
|
+
`,zt=d.div`
|
|
42
42
|
display: flex;
|
|
43
43
|
flex-direction: column;
|
|
44
44
|
row-gap: ${o.sp11};
|
|
45
|
-
`,
|
|
45
|
+
`,Bt=d(ke)`
|
|
46
46
|
margin-top: ${o.sp2};
|
|
47
47
|
padding: ${o.sp2} ${o.sp2};
|
|
48
48
|
text-align: center;
|
|
49
49
|
color: ${t=>t.theme.colors.grey1};
|
|
50
50
|
width: ${t=>x.width.valuePx(t.windowSize)};
|
|
51
|
-
`,
|
|
51
|
+
`,_t=d(ke)`
|
|
52
52
|
text-align: center;
|
|
53
53
|
max-width: 750px;
|
|
54
54
|
color: ${t=>t.theme.colors.hero};
|
|
55
|
-
`,
|
|
55
|
+
`,Et=d.div`
|
|
56
56
|
display: flex;
|
|
57
57
|
flex-direction: column;
|
|
58
58
|
gap: ${o.sp3};
|
|
@@ -108,27 +108,27 @@ import{u as et,e as tt,a2 as we,j as a,M as Te,b as G,a as at,cl as it,l as L,y
|
|
|
108
108
|
color: ${t=>t.theme.colors.hero};
|
|
109
109
|
margin-top: ${t=>t.isReadonly?o.sp0:o.sp3};
|
|
110
110
|
white-space: pre-line;
|
|
111
|
-
`,
|
|
111
|
+
`,Zt=d(Ie)`
|
|
112
112
|
margin-top: ${o.sp0};
|
|
113
113
|
text-align: center;
|
|
114
|
-
`,
|
|
114
|
+
`,Kt=d.div`
|
|
115
115
|
display: flex;
|
|
116
116
|
flex-direction: column;
|
|
117
117
|
align-items: center;
|
|
118
118
|
justify-content: center;
|
|
119
119
|
gap: ${o.sp5};
|
|
120
120
|
margin: auto;
|
|
121
|
-
`,
|
|
121
|
+
`,Xt=d.div`
|
|
122
122
|
display: flex;
|
|
123
123
|
flex-direction: column;
|
|
124
124
|
align-items: center;
|
|
125
125
|
justify-content: center;
|
|
126
126
|
gap: ${o.sp3};
|
|
127
|
-
`,
|
|
127
|
+
`,qt=d(wt)`
|
|
128
128
|
color: ${t=>t.theme.colors.primary};
|
|
129
129
|
white-space: pre-line;
|
|
130
130
|
text-align: center;
|
|
131
|
-
`,
|
|
131
|
+
`,Qt=d(Ct)`
|
|
132
132
|
cursor: pointer;
|
|
133
133
|
color: ${t=>t.theme.colors.hero};
|
|
134
134
|
width: ${o.sp4};
|
|
@@ -137,4 +137,4 @@ import{u as et,e as tt,a2 as we,j as a,M as Te,b as G,a as at,cl as it,l as L,y
|
|
|
137
137
|
&:hover {
|
|
138
138
|
color: ${t=>t.theme.colors.primary};
|
|
139
139
|
}
|
|
140
|
-
`;export{
|
|
140
|
+
`;export{mi as default,De as uniqueName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{X as g,M as w,j as t,f as x,Q as $,o as s,h as C}from"./index-C5chxI3W.js";import{n as o,b as d}from"./vendor-CnQcJ2Lu.js";const y=e=>d.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.802551 6.92395C0.802551 5.2671 2.1457 3.92395 3.80255 3.92395H20.2009C21.8578 3.92395 23.2009 5.2671 23.2009 6.92395V17.076C23.2009 18.7329 21.8578 20.076 20.2009 20.076H3.80255C2.1457 20.076 0.802551 18.7329 0.802551 17.076V10.8805H23.1896V9.01135H0.802551V6.92395ZM0.802551 9.01135H0.799072V10.8805H0.802551V9.01135ZM14.5443 15.6222C14.5443 15.0935 14.9728 14.6649 15.5015 14.6649H18.1386C18.6673 14.6649 19.0959 15.0935 19.0959 15.6222C19.0959 16.1509 18.6673 16.5795 18.1386 16.5795H15.5015C14.9728 16.5795 14.5443 16.1509 14.5443 15.6222Z",fill:"currentColor"})),{common:n,spendManagement:{chargeCard:r}}=w.getLocalizedStrings(),f={subText:new $("extraSmallRegular","standardRegular")},R=({cardDetail:e,forDetailPage:a})=>{const h=g(),u=e.type.code.includes("credit")?r.chargeCardsPromo.credit:r.chargeCardsPromo.debit;let l=e.type.code.includes("physical")?r.cardList.physicalCard:r.cardList.virtualCard;const i=n.strings.space+r.cardDetails.expiryHideOut+n.strings.space+e.accountLast4,m=e.status.code==="request_on_hold"||!a?l:i,c=e.type.code.includes("physical");return t.jsxs(v,{windowSize:h,forDetailPage:a,className:"cardName",title:`${m}`,children:[u,t.jsx(H,{}),l,c&&!a?t.jsx(p,{className:"physical-card-icon"}):null,e.status.code==="request_on_hold"||!a?null:i,c&&a?t.jsx(p,{}):null]})},v=o(C)`
|
|
2
2
|
${e=>e.forDetailPage?{...x.extraSmallRegular.cssObject}:`${f.subText.style(e.windowSize)}`};
|
|
3
3
|
color: ${e=>e.theme.colors.hero};
|
|
4
4
|
max-width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as k,
|
|
1
|
+
import{u as k,X as f,j as t,aW as te,M as w,cP as P,f as u,aj as N,bC as ie,o as i,g as B,C as h,e as v,de as oe,l as y,q as l,b6 as re,b7 as ae,aw as se,av as ne,ab as de,b8 as le,ba as ce,ip as he,a0 as T,bm as pe,_ as L,v as $,iq as U,ir as X,i7 as me,bZ as ge,c0 as xe,m as O,i8 as we,i9 as ue}from"./index-C5chxI3W.js";import{n as o,f as R,b as Y}from"./vendor-CnQcJ2Lu.js";import{B as ye}from"./InsightsSection-BZNwdoG4-BHWxrsk5.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";import"./NavigationDots-HukimDRY-BSdcE3Mo.js";const be=({x:e,y:s,width:n,height:a,payload:r})=>{const c=k();return t.jsx(he,{fill:(r?.[0].payload).showTooltip===!0?c.colors.background:"transparent",stroke:(r?.[0].payload).showTooltip===!0?c.colors.background:"transparent",x:e,y:s,width:n,height:a})},W=w.getLocalizedStrings().spendManagement.chargeCard.cashbackDetail.header,fe=w.getLocalizedStrings().dateFormat.visual.MMMMFormat,$e=({active:e,payload:s,label:n})=>e===!0&&(s?.[0].payload).showTooltip===!0?t.jsx(ve,{children:t.jsx(je,{children:t.jsxs("div",{children:[t.jsxs(E,{children:[t.jsx(G,{children:W.month})," ",t.jsx(Z,{children:y.getZeniDateFromPeriod(n).format(fe)})]}),t.jsxs(E,{children:[t.jsx(G,{children:W.cashback}),t.jsx(Z,{children:T("0,0.[00]",{amount:s?.[0].value??0,currencyCode:(s?.[0].payload).currencyCode,currencySymbol:(s?.[0].payload).currencySymbol})})]})]})})}):null,E=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
gap: ${i.sp1};
|
|
4
4
|
`,ve=o.div`
|
|
@@ -12,7 +12,7 @@ import{u as k,e as f,j as t,aW as te,M as w,cS as P,v as u,aj as U,bF as ie,o as
|
|
|
12
12
|
flex-direction: column;
|
|
13
13
|
padding: ${i.sp2} 12px;
|
|
14
14
|
background-color: ${e=>e.theme.colors.black};
|
|
15
|
-
`,
|
|
15
|
+
`,Z=o($)`
|
|
16
16
|
color: ${e=>e.theme.colors.brandColorPearl};
|
|
17
17
|
min-width: ${i.sp8};
|
|
18
18
|
display: flex;
|
|
@@ -20,11 +20,11 @@ import{u as k,e as f,j as t,aW as te,M as w,cS as P,v as u,aj as U,bF as ie,o as
|
|
|
20
20
|
`,G=o($)`
|
|
21
21
|
color: ${e=>e.theme.colors.hero};
|
|
22
22
|
min-width: 107px;
|
|
23
|
-
`,ke=R.memo($e),{dateFormat:{visual:{MMMYYFormat:Se,YYYYDashMMFormat:
|
|
23
|
+
`,ke=R.memo($e),{dateFormat:{visual:{MMMYYFormat:Se,YYYYDashMMFormat:_}},common:{currency:D}}=w.getLocalizedStrings(),Ce=({chartData:e,customToolTipContent:s,width:n,height:a})=>{const r=k();return t.jsx(Me,{width:n,height:a,children:t.jsx(N,{children:({height:c,width:p})=>t.jsxs(re,{width:p,height:c,data:e,barCategoryGap:"25%",margin:{top:5,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},children:[t.jsx(ae,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:r.colors.grey3}),t.jsx(se,{dataKey:"period",type:"category",axisLine:{stroke:r.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:r.colors.hero,...u.extraSmallRegular.cssObject},tickFormatter:m=>y.getZeniDateFromPeriod(m).format(Se)}),t.jsx(ne,{type:"number",axisLine:!1,tickLine:!1,tick:{color:r.colors.hero,...u.extraSmallRegular.cssObject},tickFormatter:m=>de("0,0.[00]a",m,e?.[0].currencySymbol??D.currencySymbol)}),t.jsx(le,{cursor:t.jsx(be,{}),content:s}),t.jsx(ce,{dataKey:"amount",fill:r.colors.brandColorJadeDark,barSize:36})]})})})};function Pe({cashbackByPeriod:e,width:s,height:n}){const a=oe(e,c=>y.getZeniDateFromPeriod(c.period),"asc"),r=ze(a);return t.jsx(Ce,{chartData:r,customToolTipContent:({active:c,payload:p,label:m})=>t.jsx(ke,{active:c,payload:p,label:m}),width:s,height:n})}const Le=e=>e.format(_),ze=e=>{const s=e.map(r=>({...r,showTooltip:!0})),n=e[e.length-1];let a=n?.period??y.dateNow().subtract(1,"M").format(_);for(;s.length<12;){const r={amount:0,period:Le(y.getZeniDateFromPeriod(a).add(1,"M")),showTooltip:!1,currencyCode:n?.currencyCode??D.currencyCode,currencySymbol:n?.currencySymbol??D.currencySymbol};s.push(r),a=r.period}return s},Me=o.div`
|
|
24
24
|
width: ${e=>e.width}px;
|
|
25
25
|
height: ${e=>e.height}px;
|
|
26
26
|
background: ${e=>e.theme.colors.grey5};
|
|
27
|
-
`,
|
|
27
|
+
`,Q=w.getLocalizedStrings().spendManagement.chargeCard.cashbackDetail.header,De={key:"month",value:Q.month,sortOrder:"ascending",width:new h(50,50)},Fe={key:"cashback",value:Q.cashback,sortOrder:"ascending",width:new h(50,50)},ee=()=>[De,Fe],b={headerLastColumnTopPadding:new h(l[0],l[4]),headerLastColumnRightPadding:new h(l[3],l[11]),headerLastColumnBottomPadding:new h(l[0],l[4]),headerLastColumnLeftPadding:new h(l[3],l[11]),headerHeight:new h(we,ue)};function Ie({sortConfig:e,onColumnSortConfigChanged:s}){const n=k(),a=f(),[r,c]=Y.useState(ee());Y.useEffect(()=>{const d=[...r];for(const g of d)g.key===e.sortKey?g.sortOrder=e.sortOrder:g.sortOrder="ascending";c(d)},[e.sortKey,e.sortOrder]);const p=(d,g)=>{let V=g;e.sortKey===d&&(V=g==="ascending"?"descending":"ascending"),s(d,V)},m=r.find(d=>d.key===e.sortKey)??r[0],S=d=>r.find(g=>g.key===d)?.value??"",C=r.map(d=>d.key),K=w.getLocalizedStrings().spendManagement.chargeCard.cardList;return a==="small"?t.jsxs(A,{windowSize:a,children:[t.jsxs(Re,{children:[t.jsx(Ve,{children:t.jsx(Ke,{})}),t.jsx(pe,{title:K.sortBy,placeholder:K.sortBy,pickerValues:C,valueToLabel:S,selectedValue:e.sortKey,onPickerSelectionChanged:d=>{p(d,"ascending")},optionTextStyle:u.smallRegular,titleTextStyle:u.smallRegular,titleColor:n.colors.primary,selectedOptionColor:n.colors.hero,optionBackgroundColor:n.colors.grey5,downChevronVisible:!1,backgroundColor:n.colors.grey4})]}),t.jsxs(Ee,{onClick:()=>p(m.key,m.sortOrder),"data-testid":L("cashback-list-header-mobile",m.value),children:[t.jsx($,{children:m.value}),t.jsx(q,{sortDataValue:e.sortKey,headerdata:m,children:t.jsx(H,{})})]})]}):t.jsx(A,{windowSize:a,children:r.map((d,g)=>t.jsxs(Te,{sortDataValue:e.sortKey,actualDataValue:d.key,wrapperWidth:d.width,isLastItem:g===r.length-1,windowSize:a,children:[t.jsxs(We,{onClick:()=>p(d.key,d.sortOrder),"data-testid":L("cashback-list-header",d.value),children:[t.jsx($,{children:d.value}),t.jsx(q,{sortDataValue:e.sortKey,headerdata:d,children:t.jsx(H,{})})]}),t.jsx(Ye,{sortDataValue:e.sortKey,windowSize:a,isVisible:e.sortKey===d.key&&d.key!=="month",children:t.jsx(Oe,{onClick:()=>p("month","ascending"),"data-testid":L("cashback-list-close-sort",d.key)})})]},d.key))})}const Be=R.memo(Ie),A=o($)`
|
|
28
28
|
top: ${i.sp0};
|
|
29
29
|
left: ${i.sp0};
|
|
30
30
|
min-height: ${e=>b.headerHeight.valuePx(e.windowSize)};
|
|
@@ -55,12 +55,12 @@ import{u as k,e as f,j as t,aW as te,M as w,cS as P,v as u,aj as U,bF as ie,o as
|
|
|
55
55
|
height: 12px;
|
|
56
56
|
cursor: pointer;
|
|
57
57
|
color: ${e=>e.theme.colors.hero};
|
|
58
|
-
`,
|
|
58
|
+
`,q=o.div`
|
|
59
59
|
display: flex;
|
|
60
60
|
align-items: center;
|
|
61
61
|
transform: ${e=>e.sortDataValue===e.headerdata.key&&e.headerdata.sortOrder==="descending"?"rotate(180deg)":"rotate(0deg)"};
|
|
62
62
|
${e=>e.headerdata.sortOrder==="ascending"?"padding-top: 2px":"padding-bottom: 2px"}
|
|
63
|
-
`,
|
|
63
|
+
`,H=o(ge)`
|
|
64
64
|
width: 12px;
|
|
65
65
|
height: 12px;
|
|
66
66
|
cursor: pointer;
|
|
@@ -68,15 +68,15 @@ import{u as k,e as f,j as t,aW as te,M as w,cS as P,v as u,aj as U,bF as ie,o as
|
|
|
68
68
|
`,Re=o.div`
|
|
69
69
|
gap: ${i.sp1};
|
|
70
70
|
display: flex;
|
|
71
|
-
`,
|
|
71
|
+
`,Ke=o(me)`
|
|
72
72
|
width: 12px;
|
|
73
73
|
height: 12px;
|
|
74
74
|
color: inherit;
|
|
75
|
-
`,
|
|
75
|
+
`,Ve=o.div`
|
|
76
76
|
margin-right: ${i.sp1};
|
|
77
77
|
display: flex;
|
|
78
78
|
align-items: center;
|
|
79
|
-
`,
|
|
79
|
+
`,Ye=o.div`
|
|
80
80
|
display: ${e=>e.isVisible?"flex":"none"};
|
|
81
81
|
align-items: center;
|
|
82
82
|
padding-top: 2px;
|
|
@@ -94,18 +94,18 @@ import{u as k,e as f,j as t,aW as te,M as w,cS as P,v as u,aj as U,bF as ie,o as
|
|
|
94
94
|
&:hover {
|
|
95
95
|
color: ${e=>e.theme.colors.primary};
|
|
96
96
|
}
|
|
97
|
-
`,x={containerPaddingLeft:new h(l[3],l[4]),containerPaddingRight:new h(l[3],l[4]),containerPaddingTop:new h(l[2],16),containerPaddingBottom:new h(l[2],16),containerMarginLeft:new h(l[4],l[8]),webkitLineClamp:new h(2,1,1,1,1)},{spendManagement:{chargeCard:{cashbackDetail:
|
|
97
|
+
`,x={containerPaddingLeft:new h(l[3],l[4]),containerPaddingRight:new h(l[3],l[4]),containerPaddingTop:new h(l[2],16),containerPaddingBottom:new h(l[2],16),containerMarginLeft:new h(l[4],l[8]),webkitLineClamp:new h(2,1,1,1,1)},{spendManagement:{chargeCard:{cashbackDetail:Ze}},dateFormat:{visual:Ge}}=w.getLocalizedStrings(),Ae=({cashbackPeriod:e,isFirstItem:s,isLastItem:n})=>{const a=f(),r=ee(),c=U(e.period),p=X(c);return t.jsx(Ne,{windowSize:a,isFirstItem:s,isLastItem:n,children:t.jsx(Ue,{children:t.jsxs(Xe,{children:[t.jsx(_e,{windowSize:a,responsiveWidth:r[0].width,children:t.jsxs(Qe,{windowSize:a,children:[y.getZeniDateFromPeriod(e.period).format(Ge.MMMMYYYYFormat),p?t.jsxs(He,{children:[t.jsx(Je,{}),t.jsx(qe,{children:Ze.tillDate})]}):null]})}),t.jsx(et,{windowSize:a,responsiveWidth:r[1].width,children:t.jsx(tt,{windowSize:a,children:T("0,0.[00]",{amount:e.amount,currencyCode:e.currencyCode,currencySymbol:e.currencySymbol})})})]})})})},qe=o(O)`
|
|
98
98
|
color: ${e=>e.theme.colors.grey1};
|
|
99
|
-
`,
|
|
99
|
+
`,He=o.div`
|
|
100
100
|
display: flex;
|
|
101
101
|
align-items: center;
|
|
102
|
-
`,
|
|
102
|
+
`,Je=o.div`
|
|
103
103
|
height: ${i.sp1};
|
|
104
104
|
width: ${i.sp1};
|
|
105
105
|
margin-right: ${i.sp2};
|
|
106
106
|
background-color: ${e=>e.theme.colors.grey1};
|
|
107
107
|
border-radius: 50%;
|
|
108
|
-
`,
|
|
108
|
+
`,Ne=o.div`
|
|
109
109
|
display: flex;
|
|
110
110
|
background-color: ${e=>e.theme.colors.grey5};
|
|
111
111
|
padding-left: ${e=>x.containerPaddingLeft.valuePx(e.windowSize)};
|
|
@@ -125,21 +125,21 @@ import{u as k,e as f,j as t,aW as te,M as w,cS as P,v as u,aj as U,bF as ie,o as
|
|
|
125
125
|
margin-left: ${e=>x.containerMarginLeft.valuePx(e.windowSize)};
|
|
126
126
|
box-sizing: border-box;
|
|
127
127
|
align-items: center;
|
|
128
|
-
`,
|
|
128
|
+
`,Ue=o.div`
|
|
129
129
|
display: block;
|
|
130
130
|
width: 100%;
|
|
131
|
-
`,
|
|
131
|
+
`,Xe=o.div`
|
|
132
132
|
display: flex;
|
|
133
133
|
width: 100%;
|
|
134
134
|
justify-content: space-between;
|
|
135
135
|
align-items: center;
|
|
136
|
-
`,
|
|
136
|
+
`,_e=o.div`
|
|
137
137
|
display: flex;
|
|
138
138
|
flex-direction: column;
|
|
139
139
|
column-gap: 12px;
|
|
140
140
|
align-items: flex-start;
|
|
141
141
|
width: ${e=>`calc(${e.responsiveWidth.valuePercentage(e.windowSize)} - ${i.sp7})`};
|
|
142
|
-
`,
|
|
142
|
+
`,Qe=o(v)`
|
|
143
143
|
margin-right: ${i.sp3};
|
|
144
144
|
color: ${e=>e.theme.colors.hero};
|
|
145
145
|
flex-grow: 1;
|
|
@@ -175,7 +175,7 @@ import{u as k,e as f,j as t,aW as te,M as w,cS as P,v as u,aj as U,bF as ie,o as
|
|
|
175
175
|
width: 100%;
|
|
176
176
|
display: flex;
|
|
177
177
|
justify-content: end;
|
|
178
|
-
`,
|
|
178
|
+
`,F={containerMarginLeft:new h(l[3],l[8]),webkitLineClamp:new h(2,2,1,1,1)},{spendManagement:{chargeCard:{cashbackDetail:it}},dateFormat:{visual:ot}}=w.getLocalizedStrings(),rt=({cashbackPeriod:e,isFirstItem:s,isLastItem:n})=>{const a=f(),r=U(e.period),c=X(r);return t.jsx(dt,{windowSize:a,isFirstItem:s,isLastItem:n,children:t.jsx(lt,{children:t.jsxs(ct,{children:[t.jsx(pt,{children:t.jsxs(ht,{windowSize:a,children:[y.getZeniDateFromPeriod(e.period).format(ot.MMMMYYYYFormat),c?t.jsxs(st,{children:[t.jsx(nt,{}),t.jsx(at,{children:it.tillDate})]}):null]})}),t.jsx(mt,{children:t.jsx(gt,{children:T("0,0.[00]",{amount:e.amount,currencyCode:e.currencyCode,currencySymbol:e.currencySymbol})})})]})})})},at=o(O)`
|
|
179
179
|
color: ${e=>e.theme.colors.grey1};
|
|
180
180
|
`,st=o.div`
|
|
181
181
|
display: flex;
|
|
@@ -198,8 +198,8 @@ import{u as k,e as f,j as t,aW as te,M as w,cS as P,v as u,aj as U,bF as ie,o as
|
|
|
198
198
|
border-top-left-radius: ${e=>e.isFirstItem?i.sp2:i.sp0};
|
|
199
199
|
border-bottom-left-radius: ${e=>e.isLastItem?i.sp2:i.sp0};
|
|
200
200
|
border-bottom-left-radius: ${e=>e.isLastItem?i.sp2:i.sp0};
|
|
201
|
-
margin-right: ${e=>
|
|
202
|
-
margin-left: ${e=>
|
|
201
|
+
margin-right: ${e=>F.containerMarginLeft.valuePx(e.windowSize)};
|
|
202
|
+
margin-left: ${e=>F.containerMarginLeft.valuePx(e.windowSize)};
|
|
203
203
|
`,lt=o.div`
|
|
204
204
|
display: block;
|
|
205
205
|
width: 100%;
|
|
@@ -212,7 +212,7 @@ import{u as k,e as f,j as t,aW as te,M as w,cS as P,v as u,aj as U,bF as ie,o as
|
|
|
212
212
|
color: ${e=>e.theme.colors.hero};
|
|
213
213
|
flex-grow: 1;
|
|
214
214
|
display: -webkit-box;
|
|
215
|
-
-webkit-line-clamp: ${e=>
|
|
215
|
+
-webkit-line-clamp: ${e=>F.webkitLineClamp.value(e.windowSize)};
|
|
216
216
|
-webkit-box-orient: vertical;
|
|
217
217
|
overflow: hidden;
|
|
218
218
|
text-overflow: ellipsis;
|
|
@@ -232,7 +232,7 @@ import{u as k,e as f,j as t,aW as te,M as w,cS as P,v as u,aj as U,bF as ie,o as
|
|
|
232
232
|
flex-direction: column;
|
|
233
233
|
`,gt=o(O)`
|
|
234
234
|
color: ${e=>e.theme.colors.hero};
|
|
235
|
-
`,
|
|
235
|
+
`,J={separatorMarginLeftRight:new h(l[3],l[8])},xt=({cashbackByPeriod:e,uiState:s,onColumnSortConfigChanged:n})=>{const a=f();return t.jsxs(yt,{children:[t.jsx(Be,{onColumnSortConfigChanged:n,sortConfig:{sortKey:s.sortKey,sortOrder:s.sortOrder}}),t.jsx(ut,{children:e.map((r,c)=>t.jsxs(R.Fragment,{children:[t.jsx(wt,{cashbackPeriod:r,isFirstItem:c===0,isLastItem:c===e.length-1}),c===e.length-1?null:t.jsx(bt,{windowSize:a})]},r.period))})]})},wt=({cashbackPeriod:e,isFirstItem:s,isLastItem:n})=>{const a=f()==="small"?rt:Ae;return t.jsx(a,{cashbackPeriod:e,isFirstItem:s,isLastItem:n})},ut=o.div``,yt=o.div`
|
|
236
236
|
display: block;
|
|
237
237
|
height: 100%;
|
|
238
238
|
`,bt=o.div`
|
|
@@ -241,15 +241,15 @@ import{u as k,e as f,j as t,aW as te,M as w,cS as P,v as u,aj as U,bF as ie,o as
|
|
|
241
241
|
background-color: ${e=>e.theme.colors.grey3};
|
|
242
242
|
min-height: 1px;
|
|
243
243
|
max-height: 1px;
|
|
244
|
-
margin-left: ${e=>
|
|
245
|
-
margin-right: ${e=>
|
|
246
|
-
`,I={pageContentPaddingLeftRight:new h(l[3],l[8]),cashbackSummaryContainerGap:new h(l[3],96)},j=w.getLocalizedStrings().spendManagement.chargeCard.cashbackDetail,Rt=({insightsData:e,cashbackByPeriod:s,uiState:n,cashbackSummary:a,onBackClick:r,onColumnSortConfigChanged:c})=>{const p=k(),m=f();return t.jsxs(St,{children:[t.jsx(te,{title:j.title,showBackButton:!0,showMenuIcon:!1,style:{zIndex:3},onBackClick:r,backgroundColor:p.colors.grey5,source:"CashbackDetailPage"}),t.jsxs(ft,{windowSize:m,children:[t.jsxs($t,{windowSize:m,children:[t.jsxs(
|
|
244
|
+
margin-left: ${e=>J.separatorMarginLeftRight.valuePx(e.windowSize)};
|
|
245
|
+
margin-right: ${e=>J.separatorMarginLeftRight.valuePx(e.windowSize)};
|
|
246
|
+
`,I={pageContentPaddingLeftRight:new h(l[3],l[8]),cashbackSummaryContainerGap:new h(l[3],96)},j=w.getLocalizedStrings().spendManagement.chargeCard.cashbackDetail,Rt=({insightsData:e,cashbackByPeriod:s,uiState:n,cashbackSummary:a,onBackClick:r,onColumnSortConfigChanged:c})=>{const p=k(),m=f();return t.jsxs(St,{children:[t.jsx(te,{title:j.title,showBackButton:!0,showMenuIcon:!1,style:{zIndex:3},onBackClick:r,backgroundColor:p.colors.grey5,source:"CashbackDetailPage"}),t.jsxs(ft,{windowSize:m,children:[t.jsxs($t,{windowSize:m,children:[t.jsxs(z,{children:[t.jsx(M,{children:j.totalEarned}),t.jsx(P,{amount:a.cashbackEarned,style:{color:p.colors.brandColorJadeDark},decimalStyles:u.largeSemiBold.cssObject})]}),t.jsxs(z,{children:[t.jsx(M,{children:j.redeemed}),t.jsx(P,{amount:a.cashbackRedeemed,style:{color:p.colors.brandColorOpalDark},decimalStyles:u.largeSemiBold.cssObject})]}),t.jsxs(z,{children:[t.jsx(M,{children:j.available}),t.jsx(P,{amount:a.cashbackAvailable,style:{color:p.colors.brandColorGoldDark},decimalStyles:u.largeSemiBold.cssObject})]})]}),t.jsx(vt,{children:t.jsx(N,{children:({height:S,width:C})=>t.jsx(Pe,{cashbackByPeriod:s,width:C,height:S})})}),t.jsx(jt,{children:t.jsx(ye,{insights:[{...e}],summaryTextStyles:{fontWeight:ie.regular,color:p.colors.primary}})})]}),t.jsx(kt,{children:t.jsx(xt,{cashbackByPeriod:s,uiState:n,onColumnSortConfigChanged:c})})]})},ft=o.div`
|
|
247
247
|
position: relative;
|
|
248
248
|
box-shadow: ${B.dropShadowNormalLight} 2px 2px ${i.sp1};
|
|
249
249
|
background-color: ${e=>e.theme.colors.grey5};
|
|
250
250
|
padding-left: ${e=>I.pageContentPaddingLeftRight.valuePx(e.windowSize)};
|
|
251
251
|
padding-right: ${e=>I.pageContentPaddingLeftRight.valuePx(e.windowSize)};
|
|
252
|
-
`,
|
|
252
|
+
`,z=o.div`
|
|
253
253
|
min-width: 103px;
|
|
254
254
|
display: flex;
|
|
255
255
|
flex-direction: column;
|