@zeniai/web-cockpit-ui 1.14.35-qa → 1.14.36-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-MP6kdpXK-BAG6ONUf.js → ACHDetailsPage-3oKbHC1_-Qn9d1Xyv.js} +1 -1
- package/dist/assets/{AIPerformancePage-BhOaFmfv-DJPCQGme.js → AIPerformancePage-Cn2skpeY-BNc-HLpr.js} +26 -26
- package/dist/assets/{AccountInfoPage-D9Ft_CT9-Co34pWp7.js → AccountInfoPage-Dxnr3s2C-ByHNSUfv.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-DvWx52e0-JoBHhmtJ.js → AccountInfoPageContent-CMT1vJ_n-DgA1oKva.js} +30 -30
- package/dist/assets/{AccountLockedInfoModal-B1_3C1ER-CsXXKJaZ.js → AccountLockedInfoModal-2GuYlOQJ-Cb5egJeS.js} +4 -4
- package/dist/assets/{AccountReconDetailsDrawerPage-D9e7qhm0-DJD0R9bB.js → AccountReconDetailsDrawerPage-Cu_lsw9T-Ct4NG0ON.js} +13 -13
- package/dist/assets/{AccountRow-CiIWoLq3-BYr2bUH2.js → AccountRow-BcSPuOPF-R9MJWqpQ.js} +14 -14
- package/dist/assets/{AccountsPromoCardStack-CC72plKm-Matqa_MR.js → AccountsPromoCardStack-Ch88Cvn8-B36ZrxM-.js} +30 -30
- package/dist/assets/{AddAddressForCardDrawer-CIj76DoU-B9TffAvk.js → AddAddressForCardDrawer-Df4OROTJ-Ccg4Z6Tb.js} +1 -1
- package/dist/assets/{AddToWalletPage-B3vdkyWl-VZV_7F8R.js → AddToWalletPage-DgVLkIkz-CQF3I5rp.js} +19 -19
- package/dist/assets/{AgingReportsPage-CbkMxxO_-BABl_foK.js → AgingReportsPage-M1xr5QPt-DB06_ukJ.js} +15 -15
- package/dist/assets/{AllUserItems-DJo9kLSI-CnxvFofk.js → AllUserItems-CzMARJS5-DMwRKAgK.js} +11 -11
- package/dist/assets/{ApAgingDetailPage-DcAh6DLg-COmx3rdg.js → ApAgingDetailPage-C3YN724_-CRhegmmd.js} +3 -3
- package/dist/assets/{AppBasePage-DztnPkfs-C6ROiaUG.js → AppBasePage-CP4BX_QO-B6mlxKAR.js} +16 -16
- package/dist/assets/{AppDrawerContent-DDmKn21i-B0r6j2g7.js → AppDrawerContent-Dc3UorVz-DdpZ1z1h.js} +8 -8
- package/dist/assets/{ApprovalRulesSettingsPage-Di8tAJ8K-sRJdWOYr.js → ApprovalRulesSettingsPage-DHw_cGEb-DsqpcHH3.js} +1 -1
- package/dist/assets/ArAgingChart-D6396NAQ-B7eZ8sbL.js +24 -0
- package/dist/assets/{ArAgingDetailPage-B3JQ08nH-yWZ4Q_gU.js → ArAgingDetailPage-BU6gubOU-BkAN4ZrM.js} +1 -1
- package/dist/assets/{AttachmentView-p8mBqYjm-DXZMkL5k.js → AttachmentView-Cjq9bT2R-B9cOvAgG.js} +6 -6
- package/dist/assets/{BankAccountSection-AuQLRvdb-C_Pp6K1g.js → BankAccountSection-DcBAe_nk-Cj8Y52AW.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-HvUMABu0-7weYEdUg.js → BankAccountWarningSection-CgdNj2lq-DoFj2r_M.js} +19 -19
- package/dist/assets/{BankConnectionsSettingsPage-D61w90F9-DfyisqdH.js → BankConnectionsSettingsPage-DN-l_MKN-CZ9NiTex.js} +10 -10
- package/dist/assets/{BillDetailPage-nqHoph6T-DVUv4kUT.js → BillDetailPage-DSNj9dZa-GtcAJ7zm.js} +11 -11
- package/dist/assets/BillPayApprovalRuleDetailPage-Bn_93mxC-PbuiMjZ5.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-Bd87v4ca-Bux_Krxh.js → BillPayApprovalRulesPage-3E7Zb7Tv-8xvci8F-.js} +7 -7
- package/dist/assets/{BillPayPromoPage-CNiTD_mM-BuGb7q9e.js → BillPayPromoPage-iqi-3PsJ-BJG1XRwv.js} +32 -32
- package/dist/assets/{BillPaySetUpPage-BUSwkzqv-DIcHGcbo.js → BillPaySetUpPage-DkBnCNVT-DuhN0B9J.js} +2 -2
- package/dist/assets/{BillingSettingsPage-aPRvtlqA-CvfD2Y8F.js → BillingSettingsPage-Bxl_rTxp-CiR8VS-8.js} +4 -4
- package/dist/assets/{BillsBulkReviewDrawerPage-BU3VuxEm-VUKCHen3.js → BillsBulkReviewDrawerPage-BAQfge2H-BRM7aN30.js} +1 -1
- package/dist/assets/{BoxItem-CZKWkdxd-B5o_Xoj8.js → BoxItem-BiXktaUJ-Cfy2EaaH.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-CeDGi-RH-xh2K8rbM.js → BusinessVerificationPage-BvtQdbIO-BG9aG986.js} +7 -7
- package/dist/assets/CardNumberSubText-usoiubBx-JT9ehyHX.js +21 -0
- package/dist/assets/{CashbackDetailPage-V-W_U5k1-DPPyNC8_.js → CashbackDetailPage-CKSxtvZL-C5tKHPnX.js} +17 -17
- package/dist/assets/{ChargeCardDetailPage-BP-zAMYI-C3fXrPWG.js → ChargeCardDetailPage-Dwb3MwPx-DGZ2FMyW.js} +40 -40
- package/dist/assets/{ChargeCardListPage-DORW9YE4-V1Xd3RQj.js → ChargeCardListPage-CQ3lUqTC-ClOjN4Tj.js} +27 -27
- package/dist/assets/{ChargeCardListTable-C32mZrwY-BKVvlwyx.js → ChargeCardListTable-B2MUmgfU-D_6CnuuE.js} +14 -14
- package/dist/assets/{ChargeCardPromoPage-CE4kH4Js-DA3SyzWk.js → ChargeCardPromoPage-DNZ_qrk1-Ckodpm9A.js} +14 -14
- package/dist/assets/{ChargeCardSetupPage-CumpB2GQ-CLFpKwEI.js → ChargeCardSetupPage-DX4VlcBt-9AzPA1m8.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-DPIAjww0-B4pg53DT.js → ChargeCardStatementsPage-DlVfCfY8-Ciq-TW-L.js} +6 -6
- package/dist/assets/ChargeCardUtils-i4In9Us5-BeJKYV4x.js +1 -0
- package/dist/assets/{ChaseOverlay-BGZfbx0H-CY_E45BY.js → ChaseOverlay-DYQYE0RM-Cl7PDEtm.js} +8 -8
- package/dist/assets/{CheckDepositDrawerPage-Bl52b4SW-CZzuzj_7.js → CheckDepositDrawerPage-C653BICE-BliVsvVN.js} +11 -11
- package/dist/assets/{CollapsableReportTable-B0wI9SM1-DyxRAEGL.js → CollapsableReportTable-KGZROyWO-BB5JbMLM.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-DyOVRvtQ-qzbkNJ8X.js → CompanyOfficerDetailsSection-WlKm-fM0-DT0aWaVM.js} +30 -30
- package/dist/assets/{CompanyPassportCard-C_YUK3R3-BmAXdeyi.js → CompanyPassportCard-BXQt77bL-CgrFJoow.js} +5 -5
- package/dist/assets/{CompanyPassportPage-QFJ0G7X7-usFLRy-E.js → CompanyPassportPage-CdM9x1g7-DHJ-ptII.js} +29 -29
- package/dist/assets/{CompleteProfile-DVE16v3y-CMtnbQZR.js → CompleteProfile-g0ErQlZA-BaxE51VT.js} +1 -1
- package/dist/assets/{ConfettiBurst-BA8BvtO--w2UtNkAF.js → ConfettiBurst-Cu0ce9ZQ-B47uGNY_.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-ncBGwfXK-BUe0tXGP.js → CreateOrEditVendorPage-Zn--1Mu0-xtwEugAO.js} +8 -8
- package/dist/assets/{CreditCardPaymentDrawerPage-DqEVQgMx-DFK6MZ6X.js → CreditCardPaymentDrawerPage-BSS4YcVE-BNPDfaX6.js} +19 -19
- package/dist/assets/{CreditCardPaymentPlgSection-vmErttTD-CytN37qx.js → CreditCardPaymentPlgSection-QKLSnyR5-DUyvaz3Z.js} +8 -8
- package/dist/assets/{CurrencySelectField-BEb19UaA-BoldRT0Z.js → CurrencySelectField-DxrwSaJK-Cu5VbUzb.js} +4 -4
- package/dist/assets/{CustomerOnboardingActivationPage-L4l1ybmh-B2kuCczW.js → CustomerOnboardingActivationPage-BbfI4g9k-bQf7ee-N.js} +2 -2
- package/dist/assets/CustomerOnboardingContainerPage-DkXWw44M-DCp1xd8r.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-D3Zm658F-BuH9tDfF.js → CustomerOnboardingDetailPageSkeleton-DyIeAi4x-Ciojhx6k.js} +9 -9
- package/dist/assets/{CustomerOnboardingNoStepsPage-BXsJFpEX-DgMgRgZi.js → CustomerOnboardingNoStepsPage-BbHZQvuH-pcu4RngU.js} +2 -2
- package/dist/assets/{CustomerOnboardingPage-D3zpI1df-COxdjvpq.js → CustomerOnboardingPage-BGKjRruK-C_-kvbjL.js} +6 -6
- package/dist/assets/{CustomerOnboardingProductSuitePage-DjVZfC2C-9VLKFifa.js → CustomerOnboardingProductSuitePage-Cmwfbh1x-D3ospPa7.js} +1 -1
- package/dist/assets/{Dashboard-wY0FneRs-CscNuWPH.js → Dashboard-DCbGYUNO-CggBXce9.js} +114 -114
- package/dist/assets/{DashboardReportPage-CMgr0CSc-DFK7qDD5.js → DashboardReportPage-7sacscjb-CCrnEMLn.js} +19 -19
- package/dist/assets/{DashboardSidebarBackgroundAnimation-B73UBY5T-CojDVgPF.js → DashboardSidebarBackgroundAnimation-CcQR2lMq-Cf2eLsVD.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-DrqBG940-BL30cPZ9.js → DepositAccTransactionItem-u7kiVxu3-Cq_mC_h_.js} +3 -3
- package/dist/assets/DepositAccTransactionListPage-BTMDl7KO-CkFA5sso.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-vRHD5DmW-CB41e-Go.js → DomesticWireDetailsPage-CjliTPRp-Cxo45rzx.js} +1 -1
- package/dist/assets/{DownloadOverlay-D_UoB4Xy-CXZqPF3W.js → DownloadOverlay-LzyYQ7X7-Cqsz6Go0.js} +1 -1
- package/dist/assets/{DrawerPage-ijHe0bCp-DiEqZBob.js → DrawerPage-DVu3OGym-ELFavZIA.js} +5 -5
- package/dist/assets/{EditPeoplePage-BehcmP1s-B0OWtRsu.js → EditPeoplePage-COZuksUu-BAJ712Zd.js} +5 -5
- package/dist/assets/{EditReimbursementDetailPage-Cz82Vz26-BRJ7TMrj.js → EditReimbursementDetailPage-P7gybbTe-DhmHzkez.js} +59 -59
- package/dist/assets/{EntityDetailPage-CN-ewzjy-BWpB3zGM.js → EntityDetailPage-CMAFiXng-EHp1vVUv.js} +2 -2
- package/dist/assets/{EntitySummarySection-B4ozhtlU-Bh59rhzI.js → EntitySummarySection-BezHSTT7-CA4YQ14w.js} +5 -5
- package/dist/assets/{ExpenseAutomationOverviewPage-BmNuSoUs-u9wwMA7C.js → ExpenseAutomationOverviewPage-CX5wpbbp-BxzSM0jW.js} +17 -17
- package/dist/assets/ExpenseAutomationPage-CaeVli6J-DwDyMFlL.js +1650 -0
- package/dist/assets/{ExpressPayPage-CgrGtZ4F-DhVG-NpX.js → ExpressPayPage-KpzY-AC4-B3x4TcSO.js} +9 -9
- package/dist/assets/{FeaturePreviewPage-Dk_c37Rm-DmGR9BMT.js → FeaturePreviewPage-T7VgNi57-XquGM-uR.js} +2 -2
- package/dist/assets/{FollowStepsSection-BVi7m38_-DCvEuFsi.js → FollowStepsSection-BffVXexb-Wb7yroWy.js} +23 -23
- package/dist/assets/{GlobalReviewListPage-DiZGC9B1-DVmZQU9C.js → GlobalReviewListPage-DPJug-7p-FbhUXbzf.js} +14 -14
- package/dist/assets/{HelpButton-DiIoYeXn-B1h-JEp9.js → HelpButton-BkxT0f9t-DltO0YWd.js} +4 -4
- package/dist/assets/{InformationCardStack-C8-4dhWR-CkAP-hMp.js → InformationCardStack-CiO7p4bX-Ca7THwnz.js} +4 -4
- package/dist/assets/{InsightsCardStack-BKm0dSeJ-BPY6fmB5.js → InsightsCardStack-CCx4eRv0-BoXCNjZt.js} +9 -9
- package/dist/assets/{InsightsSection-C9MHOCQd-CxH8mnp9.js → InsightsSection-CQRpIy9c-BVaWF-TR.js} +4 -4
- package/dist/assets/{IntegrationsSettingsPage-4qlL5Dsx-pk08ZRqz.js → IntegrationsSettingsPage-CDHIF3ky-BZdWjiMh.js} +3 -3
- package/dist/assets/{InternationalWireSwiftDetailsPage-DqCtPykV-RePKT-cw.js → InternationalWireSwiftDetailsPage-BTB0YTLP-Fw5hYyJd.js} +13 -13
- package/dist/assets/{InternationalWireVerificationPage-Cl-p0inO-N3ibBM1E.js → InternationalWireVerificationPage-DZAa5CXK-CShVs05a.js} +10 -10
- package/dist/assets/{InviteFormPage-L6j0rOBW-BljG3gyG.js → InviteFormPage-CVIA_4cc-xvdMmRWy.js} +20 -20
- package/dist/assets/{InvitePageListView-KYjMIc4q-BvLSTtNP.js → InvitePageListView-BapkK9dR-CMoNigd7.js} +40 -40
- package/dist/assets/InvitePeoplePage-ChM26gAd-3PSfXhTf.js +12 -0
- package/dist/assets/{InvoiceUploadSection-DZC4oscG-qxWcqOIO.js → InvoiceUploadSection-CfoxMKse-CDgcPY9V.js} +6 -6
- package/dist/assets/{IssueChargeCardPage-DMdZCfqA-CZcxwjMQ.js → IssueChargeCardPage-DoNxoxCV-BuHBJdzr.js} +22 -22
- package/dist/assets/{LabeledAddressValue-CBOrzSsG-nee1vU4U.js → LabeledAddressValue-DzKLuwO0-Dbmo8xwC.js} +1 -1
- package/dist/assets/LabeledAddressValueField-C-fJPbDr-BL1p3tu1.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-BoXsUqpR-oiIFvQRa.js → LabeledControlledCheckBoxField-BsXmJGaz-B9D7gdxU.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-CQPkrdRe-DDLZPwbC.js → LabeledCreatableSingleSelectField-CNcoKtBi-DbNXS5w-.js} +2 -2
- package/dist/assets/{LabeledDocumentField-DEeeTuVw-uCiSHKoS.js → LabeledDocumentField-DB-XX9hy-ARW_yKHV.js} +3 -3
- package/dist/assets/{LabeledDropDownFormattedTextField-DYRkxlY--Bk-7Qy7i.js → LabeledDropDownFormattedTextField-ChF-tfZl-CoOdklmM.js} +3 -3
- package/dist/assets/{LabeledText-DQiR_FIX-Cq-hk8XI.js → LabeledText-DQjY46zj-CJXj8rFi.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-dgPgTmNg-BgLjIn8p.js → LabeledUserSingleSelectWithSubtitlesField-Dg_jyvIT-BII3s1HZ.js} +7 -7
- package/dist/assets/{LabeledZeniRolesDropDownField-azPB8idg-Dod-yMmJ.js → LabeledZeniRolesDropDownField-qeHXm7K1-iR_szjxt.js} +6 -6
- package/dist/assets/{LinkJETransactionPage-Ct0HcxvN-CoVcew-v.js → LinkJETransactionPage-DWq96C-C-BScn3NVF.js} +6 -6
- package/dist/assets/{LowBalancePopup-Zvy2iURT-CKL7oXqu.js → LowBalancePopup-DIu4EJtv-FHHWLFWk.js} +4 -4
- package/dist/assets/{MagicLinkACHDetailsPage-BY6pEieF-CMSi32Px.js → MagicLinkACHDetailsPage-0uTQmYPp-CFGb5gZH.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-BK5RZSiS-BptWrimx.js → MagicLinkDomesticWireDetailsPage-CtkSDg_U-DqPdzilp.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-hK5cNiNB-WwKIYKSe.js → MagicLinkInternationalWireDetailsPage-qNEvVVcm-C2m2KEe0.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-Drn_p982-Dd9Y_AlA.js → MagicLinkSuccessPage-D4C3XF4W-EgVx2lLe.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-DRMHVOzF-BonTYr-V.js → MagicLinkTitleSection-DXZCLfIM-2GWQnCnZ.js} +9 -9
- package/dist/assets/{MailingDetailsSection-DgdAYgpS-CFXayn-8.js → MailingDetailsSection-7_w5PfFQ-C9R3FLGa.js} +6 -6
- package/dist/assets/{MeetingCalenderPopup-CAh7iae0-CIOK3_iA.js → MeetingCalenderPopup-2P6uhLqh-CkyOJaM-.js} +1 -1
- package/dist/assets/{Menu-bleLgSLu-DaNN7jzz.js → Menu-Ya9EH9T1-XEx08cqQ.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-DRxmQCbq-Bx9nexN4.js → MyBankConnectionsSettingsPage-Bz9BP12B-B0raEGfA.js} +11 -11
- package/dist/assets/{MyPendingActivationChargeCardListPage-BYLhb47G-pes3OjvP.js → MyPendingActivationChargeCardListPage-BxFFCBYU-CmVzmveh.js} +2 -2
- package/dist/assets/{MyProfileSettingsPage-eVfCRTfx-C1C2MWMx.js → MyProfileSettingsPage-BRTEYBf1-BuzCCWQu.js} +11 -11
- package/dist/assets/{NavBarWithPicker-BE2MW7hB-C2Q1UUPB.js → NavBarWithPicker-Cx1ldzdT-ByHGGAzI.js} +4 -4
- package/dist/assets/{NavigationArrow-eEaMttBX-dVTivT8M.js → NavigationArrow-Cic_S7sL-CafjbEnx.js} +1 -1
- package/dist/assets/{NavigationDots-CNwL0a7I-eyaik967.js → NavigationDots-BnqdhDar-BHuykGzD.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-CSWqCqAC-3LX-Lnzn.js → NewGlobalMerchantPage-BMLnV68V-Df2U2-Pi.js} +11 -11
- package/dist/assets/{NoDataChart-DNmdY5gQ-CMwiaxGm.js → NoDataChart-CyIzcvzb-CVVPhPRo.js} +3 -3
- package/dist/assets/{NoDataTable-DW2wAX3o-7ZoMqIrJ.js → NoDataTable-Cf9Qv-ms-BIxVQmVT.js} +1 -1
- package/dist/assets/{NotFoundPage-BMJTG-tj-BCL9lImd.js → NotFoundPage-BP2jA51O-DvlpUk9Z.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-Vd3UvdLu-S0VOV4Ql.js → NotificationSettingsPage-Bhj72XzL-DgHNUBYw.js} +17 -17
- package/dist/assets/NotificationsListConfig-BcRqz3T--CwofCBLm.js +1 -0
- package/dist/assets/{NotificationsPage-BaekDEw7-Cs7zF3k-.js → NotificationsPage-DEQ0muyV-AFyu-A1B.js} +29 -29
- package/dist/assets/{OpExByVendorPage-DNyTA9nx-D6E7lJvv.js → OpExByVendorPage-BPvIdjMh-GjqInlE8.js} +6 -6
- package/dist/assets/{OverlayContainerPage-Bmu909Fo-DQ82QsuS.js → OverlayContainerPage-Bmu909Fo-B4CijHVT.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DbP4ybN4-DeKOl1Oc.js → PandLWithForecastPage-CgMYDel--CrwH5GHU.js} +6 -6
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-Dd4Aen8j-Ctc3Ha-y.js → PaymentAccountSetupBillingAddressSection-CfUpfrt6-DiMg5_6V.js} +12 -12
- package/dist/assets/{PeoplePage-B3n7ek2h-uuc0_T22.js → PeoplePage-BrL4O-03-BHA1i9-R.js} +18 -18
- package/dist/assets/{PortfolioAllocationFormPage-CzA_c7hR-D4H-GZTH.js → PortfolioAllocationFormPage-C24sa7Lv-D7dV2koR.js} +7 -7
- package/dist/assets/{PortfolioDetails-Drgv4Osg-Wtx195rT.js → PortfolioDetails-wAtPiO4w-C8Xq6LTb.js} +23 -23
- package/dist/assets/{ProductsCarousel-BnnfJR0o-1ucX8gqh.js → ProductsCarousel-B8KxzJsX-BAeIItJs.js} +5 -5
- package/dist/assets/{PromoBaseCards-BGHJivI8-QTKlmjbr.js → PromoBaseCards-DKu8lmMb-CbitZiAU.js} +3 -3
- package/dist/assets/{QBOConnectionDialog-uiW9eeZu-CJhmYtAn.js → QBOConnectionDialog-CSRVcpvB-DsmFVlUU.js} +9 -9
- package/dist/assets/{QBOSetupSection-DPb0VAii-CLt6Rb6_.js → QBOSetupSection-CwO2OwTA-DfOK3FQy.js} +10 -10
- package/dist/assets/ReimbursementApprovalRuleDetailPage-DWAgRWah-DAeIJHt1.js +26 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-C1AFF_DM-vNX_0PWy.js → ReimbursementApprovalRulesPage-CWZIqbqf-2nP7no61.js} +32 -32
- package/dist/assets/{ReimbursementDetailPage-Du6R1zje-DfmTmZh3.js → ReimbursementDetailPage-DaiOed8i-t4bX9i7-.js} +8 -8
- package/dist/assets/{ReimbursementPromoPage-CW9eyjp9-hg5pl-np.js → ReimbursementPromoPage-CTpCa9C7-WAySoU1n.js} +6 -6
- package/dist/assets/{ReimbursementSetUpPage-CbPwgIqt-DlHsYtWb.js → ReimbursementSetUpPage-Cd0w6zdZ-CapxuQlm.js} +3 -3
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-D_IG6Yzl-B2GWCVK0.js +1 -0
- package/dist/assets/{ReloadCard-Dvn17Oxl-DzvJVrId.js → ReloadCard-D8XT-nw--BGnVgOtj.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-C5_qr5qe-ClZSH2bH.js → ReportTableViewSelector-kf12PTIw-_koMJS6q.js} +10 -10
- package/dist/assets/{ReportsPage-BNcymVwf-C0BED4Ok.js → ReportsPage-D0dEACVc-CgqzQVRZ.js} +9 -9
- package/dist/assets/{RevenueChart-DILkui6c-DnsmI5K2.js → RevenueChart-D67Egnoj-B0BJYpf4.js} +14 -14
- package/dist/assets/{ReviewDetailsPage-ZYzvK95X-KVKmpgCn.js → ReviewDetailsPage-DX3JdY2D-BVW8q6gp.js} +5 -5
- package/dist/assets/{ReviewOverlay-DhUFI1ES-r1eu-OFz.js → ReviewOverlay-BUmIoEZp-D3xvXshe.js} +4 -4
- package/dist/assets/{RoleWithToolTip-_W95JBwt-C0fe2sAV.js → RoleWithToolTip-QUDWRgyn-DzrP2xLD.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-iQXV-V_H-BhZNXgbs.js → ScheduleDetailsFixedAssetsPage-ffFbqWqR-mWiNohG4.js} +4 -4
- package/dist/assets/{ScheduleDetailsPage-KgHwQGrw-B2V1iuf9.js → ScheduleDetailsPage-Btyinpxx-TW4CABi6.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-Bixq8Q7W-N1kxr5zg.js → ScheduleSequenceTable-nubG9ZPF-CmzJbQeN.js} +17 -17
- package/dist/assets/{ScreenRoutes-65j87oC2.js → ScreenRoutes-BC18Q4eZ.js} +1 -1
- package/dist/assets/SetUpAccountSection-C9PPpmcc-puvAr14h.js +378 -0
- package/dist/assets/{SetUpDefaultSection-CI0mxu3H-JpA1rufD.js → SetUpDefaultSection-D54P9sLQ-DIoImqvg.js} +9 -9
- package/dist/assets/{SignIn-DslenepV-m8WTqnO1.js → SignIn-DQERofSd-BPkKMSDj.js} +11 -11
- package/dist/assets/{SignInScreen-Bs1sd9WX.js → SignInScreen-BbeWg9hl.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-D7SzmCmM-DsyAjyVx.js → SpendManagementListViewPage-B9iJVZhK-Dd5zS51l.js} +10 -10
- package/dist/assets/{SpendManagementPerTabPage-DKaDr4mu-CQG-8bWa.js → SpendManagementPerTabPage-DiduNPFx-BvN2qFiJ.js} +12 -12
- package/dist/assets/{SpendManagementSection-Ddfq2u6H-DjhY5rM_.js → SpendManagementSection-BPJDk9AQ-DNTgKL_h.js} +5 -5
- package/dist/assets/{SpendMgmtSetupAccountSection-CPnNzjr--CVGBUj7h.js → SpendMgmtSetupAccountSection-BVOwbOVv-BbEelpUf.js} +6 -6
- package/dist/assets/StatementItem-DPiBruWm-BTp46EGg.js +31 -0
- package/dist/assets/{StatementsPage-o7MvNKvd-D45F8BwH.js → StatementsPage-BzG0fWr9-B7zKsVpb.js} +6 -6
- package/dist/assets/{StatusSwitcher-kWLQCCwS-B1OCqMuJ.js → StatusSwitcher-aZiGS6I4-CW57CAir.js} +4 -4
- package/dist/assets/{SubTabSwitcher-BKm9FxhL-x8uzq0sl.js → SubTabSwitcher-BPzCR9_G-CKWRfEmM.js} +1 -1
- package/dist/assets/{SummaryCard-DBMfNfN2-CzWqfaGl.js → SummaryCard-DE3DiW4z-DCcTNI78.js} +1 -1
- package/dist/assets/{TaskManagementPage-D_wjK-S2-5FRXGPBR.js → TaskManagementPage-bmYzZzlx-BQOYF4T3.js} +14 -14
- package/dist/assets/{TimeRangeSwitcher-2vDR_AEV-BCS0yx4E.js → TimeRangeSwitcher-D10b_iT0-B6MHaMu9.js} +3 -3
- package/dist/assets/{TimeframeSwitcher-BB3_i5V0-_2lvvQWN.js → TimeframeSwitcher-w4308CL0-B-m8rZcD.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-CdP0ViK8-Blh3jpmT.js → TimeframeSwitcherWithToggle-DP7dCTZ--Dr3OM9sZ.js} +1 -1
- package/dist/assets/{TopExCard-BGgGFzmK-CseYSNZP.js → TopExCard-C9Dwe5gi-HuLCC_VB.js} +6 -6
- package/dist/assets/{TopExDetailPage-CbzYG54M-Cn_cL4Fl.js → TopExDetailPage-Ch4gEAFc-CW6a2lM7.js} +14 -14
- package/dist/assets/TransactionDetailPage-y3Jwxln6-CGGNkWbu.js +912 -0
- package/dist/assets/{TransactionList-C0xK6_zI-DXurFqrv.js → TransactionList-Dy4LSOLF-DLQzM8h7.js} +5 -5
- package/dist/assets/{TransactionListBig-CIX6CdX--k6cdfuui.js → TransactionListBig-BOmqcsRt-CoBJs1L1.js} +13 -13
- package/dist/assets/{TransactionListPage-B7ppBJig-Cw4vRsI1.js → TransactionListPage-D1XobIP_-CQ1XF-sO.js} +4 -4
- package/dist/assets/TransactionVendorDetailPage-DNbFFCAy-DiSmfMU1.js +80 -0
- package/dist/assets/{TransferDrawerPage-DerGmul8-CuVOWq-U.js → TransferDrawerPage-DEK-tLwC-CMAkImaq.js} +19 -19
- package/dist/assets/{TreasuryOverviewPage-DW2gZwip-BnPT0qco.js → TreasuryOverviewPage-Bv8YOcOu-DgYbKZRI.js} +45 -45
- package/dist/assets/TreasuryPromoPage-BpJ4G2tW-wrKqn45d.js +477 -0
- package/dist/assets/{TreasurySetupPage-Bo0HQeeU-CiRulceo.js → TreasurySetupPage-DmXhUnJ2-CTKxmbjB.js} +2 -2
- package/dist/assets/{TreasuryStatementsPage-DS_VK4WN-Cnn4qXHn.js → TreasuryStatementsPage-iOhX7bQX-C-86zNAp.js} +3 -3
- package/dist/assets/{TreasuryTaxLetterPage-DgwqyL6v-BEtv0yga.js → TreasuryTaxLetterPage-SKYFef4J-CxXJUgOP.js} +3 -3
- package/dist/assets/{TreasuryTransferOrReviewPage-ZrSACgLJ-B-C18Uw6.js → TreasuryTransferOrReviewPage-BAQy6UbF-5smN8wwG.js} +42 -42
- package/dist/assets/{TrendChart-D07k3uRr-DX_P6NGJ.js → TrendChart-DrNmAOxp-D32D_fQx.js} +4 -4
- package/dist/assets/{TrendWithTransactions-ibwuOssC-wAxC5G58.js → TrendWithTransactions-CFapbjqF-Tluomzgb.js} +5 -5
- package/dist/assets/{UncategorizedAccountsMappingPage-D1m2Ok2e-Bc7XjWkf.js → UncategorizedAccountsMappingPage-BjyEIyD--q-mXglLO.js} +15 -15
- package/dist/assets/{UnitIntegrationPage-BJxRjjfK-CSfDNJiC.js → UnitIntegrationPage-CMRuNXKH-W-172t0m.js} +2 -2
- package/dist/assets/{UploadAdditionalDocumentOverlay-DI_GZA8A-D7qH6H92.js → UploadAdditionalDocumentOverlay-BJNFsBN7-CW3s6tmn.js} +2 -2
- package/dist/assets/{Vendor2FAPopup-80vvc7gE-DfCBbxkB.js → Vendor2FAPopup-Dk_XUHkP-BfvRXa0R.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-CQcuiNPr-CceAJ-hu.js → VendorACHDetailsPage-DS1-IldK-BBUTN6DM.js} +1 -1
- package/dist/assets/{VendorDetailPage-Dx_yfZDH-CdV4fZHt.js → VendorDetailPage-CzECD1Tt-BxCeFQBa.js} +8 -8
- package/dist/assets/{VendorDomesticWireDetailsPage-DN5x3F_Z-Bq-suC9S.js → VendorDomesticWireDetailsPage-Bd-dOP2Q-B1c_niFG.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-8Jz187lD-DiuMGs7f.js → VendorFiling1099EditablePage-C7D_fWCV-ar_0EIM_.js} +14 -14
- package/dist/assets/{VendorFirstReviewPage-CokvYaRq-C8O10dnC.js → VendorFirstReviewPage-B4YffYJO-BW-F4-km.js} +10 -10
- package/dist/assets/{VendorInternationalWireDetailsPage-lo9l2Q88-BNP_VZvO.js → VendorInternationalWireDetailsPage-D1i4RwUe-BBAccWWe.js} +7 -7
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-CPj3zrDk-Gct01KpS.js → VendorInternationalWireSwiftDetailsPage-QqA8DADQ-CetqwMx2.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-BqoW4DlP-BublwzKM.js → VendorsAccountsSection-C8qo0vKx-DOST9l3F.js} +2 -2
- package/dist/assets/{VerifyDevice-D8iPRJ3k-CjjdiKnG.js → VerifyDevice-Cku9_tdW-BTj-mHAb.js} +1 -1
- package/dist/assets/VideoPlayer-DqxblGWn-BXG0P4e3.js +38 -0
- package/dist/assets/VideoPopup-8253nBrT-DoJHFZMN.js +31 -0
- package/dist/assets/{WarningsDrawerPage-qYWFsE3s-zj7-7ffo.js → WarningsDrawerPage-B08Au4yQ-B9IzdYhz.js} +7 -7
- package/dist/assets/{ZeniAccountDetailPage-BL2a5Dmz-B_6wvsrQ.js → ZeniAccountDetailPage-Dx-w2w6D-4cfDv73S.js} +16 -16
- package/dist/assets/{ZeniAccountListViewPage-CWqzDWcO-DwWqzBYy.js → ZeniAccountListViewPage-DH4BnQ7k-CHjigIuG.js} +13 -13
- package/dist/assets/ZeniAccountNavBarPieces-ce5jAGIl-DVfSolpZ.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-CBm3w0kN-DJjJeczH.js → ZeniAccountPromoPage-D4J2Yoil-BDHpq4Eb.js} +9 -9
- package/dist/assets/{ZeniAccountSetupPage-C5VzT9lH-Cdnhgc2k.js → ZeniAccountSetupPage-DTkO1ASr-1XYqtTaw.js} +3 -3
- package/dist/assets/{ZeniCopyright-BUctH39C-C_feHk3O.js → ZeniCopyright-BiSq0yhI-CQbT1WRc.js} +1 -1
- package/dist/assets/ZeniTransferAmountSlider-B-iWjIM--_5mAEjc_.js +63 -0
- package/dist/assets/{analyticsHelper-B3uAu0es-CqogBTHJ.js → analyticsHelper-Dc3DtVTm-Y5fPzPLq.js} +1 -1
- package/dist/assets/{analyticsHelper-B34YX2ij.js → analyticsHelper-lnjVamrT.js} +1 -1
- package/dist/assets/{chartTypes-CJmQ6FtI-TiHHrGYV.js → chartTypes-C7uaeRCc-CtqAquQd.js} +1 -1
- package/dist/assets/{commonDimensions-WRL2ZVK_-CxdZfQVs.js → commonDimensions-MaxjMSVa-n5Ul9FT7.js} +1 -1
- package/dist/assets/{detailCommon-Dfxas1Kf-D_ZxAMOH.js → detailCommon-OK9JA2hc-EAouVA2X.js} +6 -6
- package/dist/assets/{downloadPdf-B1f0mDl2-BZJtGTOh.js → downloadPdf-QtapKpnq-D53WP2BZ.js} +1 -1
- package/dist/assets/{index-LQh-jIrB.js → index-4y_mNX1u.js} +3415 -3415
- package/dist/assets/{mapLoadingInProgressToTreeNode-BG784RuM-B-LxqW1w.js → mapLoadingInProgressToTreeNode-pvoDlh5w-BH0I_ZXQ.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CtIgxsPZ-DPeWjfgv.js → mapSectionWithAcOnlyToTreeNode-CVUpGQKE-B2Y7wF15.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-CcgVbOH5-TVZJ590D.js → mapSpacerToTreeNode-P_HzYMUQ-T8bNyKbZ.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CU583ICK-CZ9bt-pf.js → mapTimeframeBalancesToTreeNode-B8xJouuF-0J2xTAj5.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DTlwFauL-CZ3n-orV.js → mapTimeframeBalancesToTreeNode-CB6RE8w9-CAzsziRN.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-B_n9jWVz-Bh46qWxB.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BAAatv-Y-C-hpmEKv.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-DTfegixr-3BrKm7V-.js → toCOABalancesWithID-JkvOa9nR-BuY_FDkW.js} +1 -1
- package/dist/assets/{toChartData-CH5DcWUY-CCr3PEX8.js → toChartData-CEfu5Lvp-ztIWW0aM.js} +1 -1
- package/dist/assets/{treasuryColorHelper-BdPkQoh7-2QT0NfKg.js → treasuryColorHelper-Bvcahv9r-CJj1lXeK.js} +1 -1
- package/dist/assets/{uploadAttachment-COwu5Mqo-D1mpbLnD.js → uploadAttachment-DNrYcaTL-7XpOhOp_.js} +14 -14
- package/dist/assets/{uploadReceipts-dxsKhm9I-BSggA-oy.js → uploadReceipts-dxsKhm9I-Dv2hG-YC.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ArAgingChart-tm5ZiNuY-4-nNFTyo.js +0 -24
- package/dist/assets/BillPayApprovalRuleDetailPage-fZnmOmyN-R8AfUVmE.js +0 -27
- package/dist/assets/CardNumberSubText-1BRQQyfd-JE07s-Fs.js +0 -21
- package/dist/assets/ChargeCardUtils-Wp4Ko18L-GTVU2RZO.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-BB4D77z8-C0-g-aXs.js +0 -1
- package/dist/assets/DepositAccTransactionListPage-2xDjOUwm-DDOM6-AH.js +0 -66
- package/dist/assets/ExpenseAutomationPage-Cz3JsW-E-BrcVbkfQ.js +0 -1650
- package/dist/assets/InvitePeoplePage-CbZqVsTp-ByvmG5mg.js +0 -12
- package/dist/assets/LabeledAddressValueField-YuLcra47-Cc5nlJue.js +0 -45
- package/dist/assets/NotificationsListConfig-DbHYPEWZ-DjqGq2mH.js +0 -1
- package/dist/assets/ReimbursementApprovalRuleDetailPage-Cvok7KBA-C0WmzojS.js +0 -26
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-DmRIywf6-C6sXIYK8.js +0 -1
- package/dist/assets/SetUpAccountSection-D8FMVhkL--eJk_Euq.js +0 -378
- package/dist/assets/StatementItem-B2uPIFUk-jLxVfDq5.js +0 -31
- package/dist/assets/TransactionDetailPage-C-CfEtCO-B6iRDC7J.js +0 -912
- package/dist/assets/TransactionVendorDetailPage---HGdQiZ-B2-rEsH7.js +0 -80
- package/dist/assets/TreasuryPromoPage-DzqdEmPJ-Cgk-JJnE.js +0 -439
- package/dist/assets/VideoPopup-SdlRHLkM-agneM1Zx.js +0 -31
- package/dist/assets/ZeniAccountNavBarPieces-C0MyICK2-Bjp8UANv.js +0 -14
- package/dist/assets/ZeniTransferAmountSlider-q37z6XvR-omF-65ky.js +0 -63
package/dist/assets/{BillPayPromoPage-CNiTD_mM-BuGb7q9e.js → BillPayPromoPage-iqi-3PsJ-BJG1XRwv.js}
RENAMED
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import{Y as
|
|
1
|
+
import{Y as W,e as f,a2 as ee,l as g,M,j as e,aX as ie,K as B,_ as C,c as x,o as s,s as se,c7 as le,u as U,a6 as L,B as oe,C as re,f as S,c9 as te,a7 as ae,ap as ne,r as de}from"./index-4y_mNX1u.js";import{b as u,n as l}from"./vendor-rkTZJa59.js";import{x as ce}from"./MeetingCalenderPopup-2P6uhLqh-CkyOJaM-.js";import{C as pe}from"./VideoPopup-8253nBrT-DoJHFZMN.js";import{M as z}from"./usp-line-BBd1wKwW-u-VMxix8.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./VideoPlayer-DqxblGWn-BXG0P4e3.js";const A="https://storage.googleapis.com/zeni-apis.appspot.com/images/Billpay-Light.png",D="https://storage.googleapis.com/zeni-apis.appspot.com/images/Billpay-Dark.png",xe={midContainerMarginBottom:new re(de[5],44)},me=l.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
min-height: 100%;
|
|
5
5
|
flex-direction: column;
|
|
6
6
|
background-color: ${i=>i.theme.colors.grey4};
|
|
7
|
-
`,he=
|
|
8
|
-
padding: ${i=>i.windowSize==="small"?`${
|
|
7
|
+
`,he=l.div`
|
|
8
|
+
padding: ${i=>i.windowSize==="small"?`${s.sp0} ${s.sp3}`:`${s.sp0} ${s.sp8}`};
|
|
9
9
|
text-align: center;
|
|
10
|
-
`,ge=
|
|
10
|
+
`,ge=l(le)`
|
|
11
11
|
max-width: 600px;
|
|
12
12
|
margin: auto;
|
|
13
|
-
padding: ${
|
|
13
|
+
padding: ${s.sp7} ${s.sp0};
|
|
14
14
|
color: ${i=>i.theme.colors.primary};
|
|
15
|
-
`,ue=
|
|
15
|
+
`,ue=l(se)`
|
|
16
16
|
max-width: 600px;
|
|
17
17
|
margin: auto;
|
|
18
|
-
padding: ${
|
|
18
|
+
padding: ${s.sp5} ${s.sp0};
|
|
19
19
|
color: ${i=>i.theme.colors.primary};
|
|
20
|
-
`,I=
|
|
20
|
+
`,I=l.div`
|
|
21
21
|
display: flex;
|
|
22
22
|
flex-direction: ${i=>i.windowSize==="small"?"column":"row"};
|
|
23
23
|
align-items: center;
|
|
24
24
|
justify-content: center;
|
|
25
25
|
margin-bottom: ${i=>xe.midContainerMarginBottom.valuePx(i.windowSize)};
|
|
26
|
-
`,we=
|
|
26
|
+
`,we=l.div``,m=l.img``,R=l.div`
|
|
27
27
|
width: ${i=>i.windowSize==="small"?"auto":"376px"};
|
|
28
28
|
display: flex;
|
|
29
29
|
flex-direction: column;
|
|
30
|
-
`,E=
|
|
30
|
+
`,E=l.div`
|
|
31
31
|
width: ${i=>i.windowSize==="small"?"100%":"calc(100% - 376px)"};
|
|
32
32
|
overflow: hidden;
|
|
33
33
|
max-width: 712px;
|
|
@@ -35,50 +35,50 @@ import{Y as _,e as f,a2 as ee,l as g,B as M,j as e,aX as ie,K as B,$ as C,c as x
|
|
|
35
35
|
align-content: center;
|
|
36
36
|
justify-content: center;
|
|
37
37
|
align-items: center;
|
|
38
|
-
`,
|
|
39
|
-
margin-left: ${i=>i.windowSize==="small"?
|
|
40
|
-
margin-bottom: ${i=>i.windowSize==="small"?
|
|
38
|
+
`,K=l.div`
|
|
39
|
+
margin-left: ${i=>i.windowSize==="small"?s.sp0:s.sp6};
|
|
40
|
+
margin-bottom: ${i=>i.windowSize==="small"?s.sp4:s.sp0};
|
|
41
41
|
background: ${i=>i.theme.colors.grey3};
|
|
42
42
|
border-radius: 12px;
|
|
43
43
|
border: ${i=>`1px solid ${i.theme.colors.grey3}`};
|
|
44
44
|
padding: 15px;
|
|
45
|
-
`,n=
|
|
46
|
-
border-radius: ${
|
|
45
|
+
`,n=l.div`
|
|
46
|
+
border-radius: ${s.sp12};
|
|
47
47
|
border: ${i=>`1px solid ${i.theme.colors.grey2}`};
|
|
48
|
-
padding: ${i=>i.windowSize==="small"?`${
|
|
48
|
+
padding: ${i=>i.windowSize==="small"?`${s.sp2} ${s.sp4} ${s.sp2} ${s.sp0}`:`${s.sp3} ${s.sp5} ${s.sp3} ${s.sp0}`};
|
|
49
49
|
background: ${i=>i.theme.colors.grey5};
|
|
50
50
|
position: relative;
|
|
51
|
-
margin-bottom: ${
|
|
51
|
+
margin-bottom: ${s.sp3};
|
|
52
52
|
display: flex;
|
|
53
53
|
align-items: center;
|
|
54
54
|
text-align: start;
|
|
55
55
|
box-sizing: border-box;
|
|
56
|
-
`,w=
|
|
56
|
+
`,w=l(ne)`
|
|
57
57
|
color: ${i=>i.theme.colors.champion};
|
|
58
|
-
`,j=
|
|
58
|
+
`,j=l(ae)`
|
|
59
59
|
color: ${i=>i.theme.colors.champion};
|
|
60
|
-
`,y=
|
|
60
|
+
`,y=l(L)`
|
|
61
61
|
color: ${i=>i.theme.colors.champion};
|
|
62
|
-
`,$=
|
|
62
|
+
`,$=l(te)`
|
|
63
63
|
color: ${i=>i.theme.colors.champion};
|
|
64
|
-
`,d=
|
|
65
|
-
padding-left: ${
|
|
66
|
-
`,
|
|
64
|
+
`,d=l.div``,c=l.div`
|
|
65
|
+
padding-left: ${s.sp3};
|
|
66
|
+
`,V=l(z)`
|
|
67
67
|
color: ${S.graphColor16Dark};
|
|
68
|
-
`,
|
|
68
|
+
`,Z=l(z)`
|
|
69
69
|
color: ${S.graphColor09Dark};
|
|
70
|
-
`,
|
|
70
|
+
`,q=l(z)`
|
|
71
71
|
color: ${S.graphColor28Dark};
|
|
72
|
-
`,je=
|
|
73
|
-
margin: ${
|
|
72
|
+
`,je=l(oe)`
|
|
73
|
+
margin: ${s.sp3} auto;
|
|
74
74
|
max-width: 719px;
|
|
75
75
|
color: ${i=>i.theme.colors.hero};
|
|
76
|
-
`,ye=
|
|
76
|
+
`,ye=l.div`
|
|
77
77
|
display: flex;
|
|
78
78
|
flex-direction: ${i=>i.windowSize==="small"?"column":"row"};
|
|
79
79
|
align-items: center;
|
|
80
80
|
justify-content: center;
|
|
81
|
-
`,$e=
|
|
82
|
-
margin: ${i=>i.windowSize==="small"?
|
|
81
|
+
`,$e=l(L)`
|
|
82
|
+
margin: ${i=>i.windowSize==="small"?s.sp1:`auto ${s.sp5}`};
|
|
83
83
|
color: ${i=>i.theme.colors.grey1};
|
|
84
|
-
`,o=M.getLocalizedStrings().spendManagement.billPay.billPayPromo,t=M.getLocalizedStrings().commonSetUp.businessVerification.terms,
|
|
84
|
+
`,o=M.getLocalizedStrings().spendManagement.billPay.billPayPromo,t=M.getLocalizedStrings().commonSetUp.businessVerification.terms,Ie=({billPaySetupView:i,analytics:r,meetingUrl:O,videoUrl:Q,onButtonClick:X,onBackClick:Y,onSetupBillPaySuccess:b,onClickMenuIcon:F})=>{const h=W(),a=f(),{billPayTermsDetails:p}=i,[H,J]=u.useState(!1),[N,v]=u.useState(!1),k=ee(p?.fetchStatus.fetchState);u.useEffect(()=>{k==="In-Progress"&&p?.fetchStatus.fetchState==="Completed"&&b?.()},[k,b,p?.fetchStatus]);const _=()=>{r?.trackBillPayPromoScheduleDemo(),v(!0)},G=g.hasBillPayAdminLevelAccess(h.loggedInUserRoleMap),P=g.hasBillPayAccess(h.loggedInUserRoleMap)&&!G,T=P?o.setupNonAccessableUsersPromoText:o.promoText;return e.jsxs(me,{children:[H===!0?e.jsx(pe,{onCancelClick:()=>{J(!1)},videoUrl:Q}):null,N===!0?e.jsx(ce,{onCancelClick:()=>{v(!1)},meetingUrl:O}):null,e.jsx(ie,{title:o.title,onBackClick:Y,showBackButton:!g.hasOnlyBillPayAccess(h.loggedInUserRoleMap),showMenuIcon:a==="small"||a==="medium-compact",onClickMenuIcon:F,source:"BillPayPromoPage"}),e.jsxs(he,{windowSize:a,children:[a==="small"?e.jsx(ue,{children:T}):e.jsx(ge,{children:T}),a==="small"?e.jsx(fe,{}):e.jsx(Se,{}),P===!1?e.jsxs(we,{children:[e.jsxs(ye,{windowSize:a,children:[e.jsx(B,{variant:"secondary",label:o.scheduleDemoButton,onClick:_,"data-testid":C("billpay-schedule-demo-button")}),e.jsx($e,{windowSize:a,children:o.orText}),e.jsx(B,{variant:"primary",label:o.setupBillPayButton,loading:p?.fetchStatus.fetchState==="In-Progress",onClick:X,"data-testid":C("billpay-setup-button")})]}),e.jsxs(je,{children:[o.terms.terms1,e.jsx(x,{href:t.consentUrl,linkText:t.consent}),t.term2,e.jsx(x,{href:t.depositUrl,linkText:t.depositTerms}),t.term3,e.jsx(x,{href:t.privacyPolicyUrl,onZeniLinkClick:()=>(r?.trackBillPayPrivacyPolicy(),!0),linkText:t.privacy}),t.term4,e.jsx(x,{href:t.tosUrl,onZeniLinkClick:()=>(r?.trackBillPayAgreement(),!0),linkText:t.tos}),t.term5,o.terms.terms3]})]}):null]})]})},fe=()=>{const i=U(),r=f();return e.jsxs(I,{windowSize:r,children:[e.jsx(E,{windowSize:r,children:e.jsx(K,{windowSize:r,children:i.mode==="dark"?e.jsx(m,{src:D,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"}):e.jsx(m,{src:A,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"})})}),e.jsxs(R,{windowSize:r,children:[e.jsxs(n,{windowSize:r,children:[e.jsx(d,{children:e.jsx(q,{})}),e.jsxs(c,{children:[e.jsx($,{children:o.fullyManagedText.bold}),e.jsx(y,{children:o.fullyManagedText.regular})]})]}),e.jsxs(n,{windowSize:r,children:[e.jsx(d,{children:e.jsx(Z,{})}),e.jsxs(c,{children:[e.jsx($,{children:o.multiLevelApprovalText.bold}),e.jsx(y,{children:o.multiLevelApprovalText.regular})]})]}),e.jsxs(n,{windowSize:r,children:[e.jsx(d,{children:e.jsx(V,{})}),e.jsxs(c,{children:[e.jsx($,{children:o.aiPoweredText.bold}),e.jsx(y,{children:o.aiPoweredText.regular})]})]})]})]})},Se=()=>{const i=U(),r=f();return e.jsxs(I,{windowSize:r,children:[e.jsxs(R,{windowSize:r,children:[e.jsxs(n,{windowSize:r,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(q,{})}),e.jsxs(c,{children:[e.jsx(j,{children:o.fullyManagedText.bold}),e.jsx(w,{children:o.fullyManagedText.regular})]})]}),e.jsxs(n,{windowSize:r,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(Z,{})}),e.jsxs(c,{children:[e.jsx(j,{children:o.multiLevelApprovalText.bold}),e.jsx(w,{children:o.multiLevelApprovalText.regular})]})]}),e.jsxs(n,{windowSize:r,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(V,{})}),e.jsxs(c,{children:[e.jsx(j,{children:o.aiPoweredText.bold}),e.jsx(w,{children:o.aiPoweredText.regular})]})]})]}),e.jsx(E,{windowSize:r,children:e.jsx(K,{windowSize:r,children:i.mode==="dark"?e.jsx(m,{src:D,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"}):e.jsx(m,{src:A,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"})})})]})};export{Ie as default};
|
package/dist/assets/{BillPaySetUpPage-BUSwkzqv-DIcHGcbo.js → BillPaySetUpPage-DkBnCNVT-DuhN0B9J.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as
|
|
1
|
+
import{u as Oe,e as $e,a2 as E,a as De,ca as Ue,M as Re,l as He,a8 as X,j as t,cP as ze,_ as Le,f as Me,C as u,aX as qe,m as Ne,F as Ge,dO as Je,aS as Qe,dE as Ke,bp as Xe,f1 as Ye,a4 as Ze,o as L,r as a,y as et,b6 as tt}from"./index-4y_mNX1u.js";import{b as m,n as g}from"./vendor-rkTZJa59.js";import{D as it}from"./HelpButton-BkxT0f9t-DltO0YWd.js";import"./SetUpAccountSection-C9PPpmcc-puvAr14h.js";import{q as H}from"./SetUpDefaultSection-D54P9sLQ-DIoImqvg.js";import{f as nt}from"./SpendMgmtSetupAccountSection-BVOwbOVv-BbEelpUf.js";import{g as ot}from"./UploadAdditionalDocumentOverlay-BJNFsBN7-CW3s6tmn.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./MeetingCalenderPopup-2P6uhLqh-CkyOJaM-.js";import"./ChaseOverlay-DYQYE0RM-Cl7PDEtm.js";import"./ChargeCardUtils-i4In9Us5-BeJKYV4x.js";import"./CreditCardPaymentPlgSection-QKLSnyR5-DUyvaz3Z.js";const n={titleWidth:new u(343,580,726,826),setupDetailsRowGap:new u(12,a[5],a[5]),sectionRowGap:new u(a[5],a[9],a[9]),lastSectionPaddingBottom:new u(a[7],a[10],a[10]),iconWidthHeight:new u(20,a[4]),subTitlePaddingTop:new u(12,a[3]),subTitlePaddingBottom:new u(a[3],a[3]),overlayWidth:new u(100,100,59)},Y="billPaySetUpPage",V="billPayAccount",Bt=({billPaySetupView:e,isDisabled:w,billpayApprovalView:W,meetingUrl:v,showIntlWiseWidget:s,connectedAccountProvider:ee,isAccountsEnabled:te,isLocalCurrencyEnabled:ie,analytics:y,filesEndPoint:ne,authParams:oe,accountsPromoConfig:ae,onBackClick:le,onBusinessVerificationSectionClick:ce,onSetupApprovalRulesSectionClick:se,onFetchLinkTokenClick:re,onEstablishConnectionClick:de,onEstablishConnectionSuccess:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAccountClick:he,onUpdatePaymentAccountStatus:fe,onUpdatePaymentAccountLoginStatus:me,onEnableBillPayClick:ge,onEnableBillPaySuccess:M,onClickMenuIcon:ye,onInternationPaymentSetUpClick:Se,onEditFileName:be,onDeleteFile:Pe,updateFilesEntity:xe,onCompanyOfficerUpdated:we,onSendForVerificationClick:ve,onSignUpClick:Ce})=>{const C=Oe(),i=$e(),[k,S]=m.useState(!1),q=m.useRef(null),{fetchState:p,updateStatus:b,accountUpdateStatus:ke,plaidConnectionDetails:_,allBankAccounts:Ae,companyBillPayInfo:A,isRefreshingViewInBackground:Te,selectedCompanyOfficer:c,primaryFundingAccount:r,allFundingAccounts:N}=e,h=A?.internationalWireOnboardingStatus,T=h==null||h.code==="onboarding_status_not_started",{fetchState:G,allApprovalRules:j,approvalRulesStatus:je}=W,O=_.link_account.updateStatus,$=_.update_account.updateStatus,F=E(p),J=E(b.fetchState),Q=E(O.fetchState),K=E($.fetchState),P=De({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>z(e),[e]),values:z(e)});m.useEffect(()=>{!k&&c?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&c.areAdditionalDocumentsRequestedForVerification&&!c.areAdditionalDocumentsSubmittedForVerification&&c.userVerificationStatus?.code==="require_info"&&S(!0),k&&F==="In-Progress"&&p==="Completed"&&S(!1)},[c,p,F]),m.useEffect(()=>{(F==="In-Progress"&&p==="Completed"||Q==="In-Progress"&&O.fetchState==="Completed"||K==="In-Progress"&&$.fetchState==="Completed")&&P.reset(z(e))},[F,p,P,e,Q,O.fetchState,K,$.fetchState]);const Fe=P.handleSubmit(x=>{y.trackEnableBillPay(),ge()}),Be=async(x,I)=>{const o=I[V];if(x.includes(V)){if(x.includes("fundingAccount")){if(o.fundingAccount.selectedOption!=null&&r?.id!=o.fundingAccount.selectedOption){const f=N.find(R=>R.id===o.fundingAccount.selectedOption);f!=null&&pe(o.fundingAccount.selectedOption,f.accType)}}else if(o.account.selectedOption!=null&&r?.id!=null&&r?.zeniAccountId!=o.account.selectedOption){const f=o.account.allOptions.find(R=>R.value===o.account.selectedOption);f!=null&&typeof f.label=="string"&&y.trackConnectBankLink(f.value,f.label,"bill_pay"),he(o.account.selectedOption,r.id,r.accType)}}};m.useEffect(()=>{const x=P.watch((I,{name:o})=>{o!=null&&I!=null&&Ue(()=>Be(o,I))});return()=>{x.unsubscribe()}}),m.useEffect(()=>{J==="In-Progress"&&b.fetchState==="Completed"&&M()},[M,J,b.fetchState]);const{commonSetUp:Ie,spendManagement:Ee}=Re.getLocalizedStrings(),{setUp:d}=Ie,{billPaySetup:l}=Ee.billPay,D=A?.isBusinessVerified===!0&&(r?.accType==="depositAccount"||He.isVerifiedPaymentAccountProviderStatusCode(r?.providerVerificationStatus?.code??"")),U=A?.isBillPayEnabled===!0,Ve=D?d.setupVerifiedSubTitle:l.setupSubTitle,We=p==="In-Progress"||p==="Not-Started"||G==="In-Progress"||G==="Not-Started",B=C.mode==="light"?new X(C.colors.brandColorJadeLight):new X(C.colors.brandColorJadeDark),_e=()=>{!k&&c?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&c.areAdditionalDocumentsRequestedForVerification&&!c.areAdditionalDocumentsSubmittedForVerification&&c.userVerificationStatus?.code==="require_info"?S(!0):ce?.()};return t.jsxs(lt,{ref:q,children:[t.jsx(ze,{anchor:"right",PaperProps:{style:{width:n.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:k,onClose:()=>S(!1),style:{backgroundColor:Me.drawerBackground},transitionDuration:250,"data-testid":Le("bill-pay-setup-drawer"),children:t.jsx(ot,{authParams:oe,filesEndPoint:ne,updateStatus:b,onEditFileName:be,onDeleteFile:Pe,updateFilesEntity:xe,companyOfficer:c,onClose:()=>S(!1),onCompanyOfficerUpdated:we,onSendForVerificationClick:ve})}),t.jsx(qe,{title:l.setupTitle,style:{zIndex:3},onBackClick:le,showMenuIcon:!U&&(i==="medium-compact"||i==="small"),onClickMenuIcon:ye,scrollableContent:q,backgroundColor:C.colors.grey4,source:"BillPaySetUpPage"}),t.jsxs(rt,{windowSize:i,children:[t.jsx(st,{windowSize:i,children:Ve}),We?t.jsx(dt,{children:t.jsx(Ne,{size:"ExtraLarge",start:!0})}):t.jsxs(at,{children:[t.jsx(Ge,{...P,children:t.jsx("form",{id:Z(Y),onSubmit:Fe,children:t.jsxs(ut,{windowSize:i,children:[t.jsx(H,{onClick:_e,title:d.businessVerificationTitle,subTitle:d.businessVerificationSubTitle,header:d.businessVerificationHeader,icon:{element:t.jsx(Je,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:B},status:A?.businessVerificationStatus,isLoading:Te,isActiveWhileLoading:!0}),t.jsx(nt,{connectedAccountProvider:ee,primaryFundingAccount:r,allFundingAccounts:N,plaidConnectionDetails:_,allBankAccounts:Ae,sectionId:V,isDisabled:w,onFetchLinkTokenClick:re,onEstablishConnectionClick:de,onUpdatePaymentAccountStatus:fe,onUpdatePaymentAccountLoginStatus:me,onEstablishConnectionSuccess:ue,icon:{element:t.jsx(Qe,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:B},analytics:y,productType:"bill_pay",isAccountsEnabled:te,onSignUpClick:Ce,pageName:"Bill Pay Setup",accountsPromoConfig:ae}),t.jsx(H,{title:j.length>0?d.approvalTitle:d.createApprovalTitle,subTitle:l.approvalSubTitle,header:j.length>0?d.approvalHeader:d.setupApprovalHeader,icon:{element:t.jsx(Ke,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:B},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},onClick:se,status:j.length>0?je:void 0})]})})}),s===!0?t.jsx(H,{title:T?l.enableInternationalWireTitle:l.internationWireTitle,subTitle:l.internationalWireSubTitle2,header:l.internationalWireHeader,icon:{element:t.jsx(Ye,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:B},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},isClickable:!0,onClick:()=>{T&&y.trackEnableIntlWire(ie),Se?.()},status:T?void 0:{name:h.name,code:h.code},statusInfoIcon:h?.code==="verification_pending"||h?.code==="verification_failed"?t.jsx(Xe,{title:h.code==="verification_pending"?l.tooltipTexts.pendingInternationalVerificationText:l.tooltipTexts.internationalVerificationFailed,children:t.jsx(ct,{})}):void 0,shouldHover:!0,showRightArrow:T}):null]})]}),D&&!U&&j.length>0?t.jsx(Ze,{formId:Z(Y),primaryBtn:{label:l.enableBillPay,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:b.fetchState==="In-Progress"||ke.fetchState==="In-Progress",isDisabled:w!=null},showCancel:!1,helperText:l.terms,cancelBtn:{label:""},style:{padding:`12px ${L.sp3}`}}):null,t.jsx(it,{isFooterRendered:D&&!U,meetingUrl:v,analytics:y,productType:"bill_pay"})]})},at=g.div``,lt=g.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-height: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -39,4 +39,4 @@ import{u as De,e as Oe,a2 as E,a as _e,ca as Re,B as Ue,l as He,a8 as X,j as t,c
|
|
|
39
39
|
display: flex;
|
|
40
40
|
flex-direction: column;
|
|
41
41
|
row-gap: ${e=>n.sectionRowGap.valuePx(e.windowSize)};
|
|
42
|
-
`,z=e=>{const{allBankAccounts:w,allFundingAccounts:W,primaryFundingAccount:v}=e;return{[V]:{fundingAccount:{selectedOption:v?.id,allOptions:W.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:v?.zeniAccountId,allOptions:w.map(s=>({label:s.accountName,value:s.accountId}))}}}},Z=e=>`${e}_form`;export{
|
|
42
|
+
`,z=e=>{const{allBankAccounts:w,allFundingAccounts:W,primaryFundingAccount:v}=e;return{[V]:{fundingAccount:{selectedOption:v?.id,allOptions:W.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:v?.zeniAccountId,allOptions:w.map(s=>({label:s.accountName,value:s.accountId}))}}}},Z=e=>`${e}_form`;export{Bt as default,Z as uniqueName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as fe,e as Ce,a as xe,ca as Pe,a8 as k,
|
|
1
|
+
import{u as fe,e as Ce,a as xe,ca as Pe,a8 as k,M as be,j as t,C as P,aX as Ae,m as Ie,F as ve,aS as je,cb as ke,a4 as $e,o as s,h8 as Ee,cD as Be,cE as Te,r as b,y as Ve,gn as Oe,J as ze,f as De}from"./index-4y_mNX1u.js";import{b as R,n as r}from"./vendor-rkTZJa59.js";import{M as Le,r as F,o as Me}from"./PaymentAccountSetupBillingAddressSection-CfUpfrt6-DiMg5_6V.js";import{O as He}from"./SetUpAccountSection-C9PPpmcc-puvAr14h.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./SetUpDefaultSection-D54P9sLQ-DIoImqvg.js";import"./ChaseOverlay-DYQYE0RM-Cl7PDEtm.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])},Re={title:new ze("standardSemiBold","largeSemiBold")},W="billingSetupPage",A="payAccountSectionId",n="subscriptionBillingAddressSectionId",lt=({analytics:e,billingSetupView:a,connectedAccountProvider:g,isDisabled:d,onClickMenuIcon:I,uiState:J,stripeKey:K,googleAPIKey:N,companyId:q,onUpdateAccountClick:G,onFetchLinkTokenClick:Q,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Z,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:E},cardPaymentView:m}=a,ce=a.subscriptionBillingAddress,B=y?.providerVerificationStatus,ue=E.fetchState==="In-Progress"||E.fetchState==="Not-Started",S=xe({mode:"onSubmit",reValidateMode:"onChange",defaultValues:_(a),values:_(a),resetOptions:{keepDirtyValues:!0}}),pe=S.handleSubmit(c=>{se(q)}),T=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:Te(v.selectedOption)});u!=null&&re(u)}else c.includes(A)&&h.account.selectedOption!=null&&y?.paymentAccountId!=null&&y.zeniAccountId!==h.account.selectedOption&&G(h.account.selectedOption,y.paymentAccountId)};R.useEffect(()=>{const c=S.watch((o,{name:h})=>{h!=null&&o!=null&&Pe(()=>me(h,o))});return()=>{c.unsubscribe()}});const V=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:O}=be.getLocalizedStrings(),ge=O.section.subTitle,{text:ye,subText:Se}=he,z=m.cardsList.length>0,D=m?.cardsList[0]?.brand??"other",L=m?.addCardPaymentSourceStatus.fetchState,x=Le(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:F(D).iconURL,width:p.iconWidthHeight.valuePx(i),height:p.iconWidthHeight.valuePx(i),alt:F(D).name}),color:new k(V)},showCompletedIcon:!1,isError:L==="Error",isLoading:L==="In-Progress",isCompleted:!0,showRightArrow:!1});const[H,we]=R.useState(!1);return t.jsxs(We,{children:[t.jsx(Ae,{source:"BillingSettingsPage",title:O.section.title,backgroundColor:C.colors.grey4,style:{zIndex:3},showBackButton:!1,showMenuIcon:i==="medium-compact"||i==="small",onClickMenuIcon:I}),t.jsxs(Fe,{windowSize:i,children:[t.jsx(_e,{windowSize:i,children:ge}),ue?t.jsx(Ue,{children:t.jsx(Ie,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...S,children:t.jsx(Ge,{children:t.jsx("form",{id:U(W),onSubmit:pe,children:t.jsxs(Je,{windowSize:i,children:[t.jsx(He,{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:X,onUpdatePaymentAccountLoginStatus:Z,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:V},analytics:e,productType:"billing",updateCardPaymentModalState:$,cardPaymentSectionValues:M,cardPaymentView:m,resetCardPaymentViewState:oe,showZeniAccountSection:!1,referrer:"Billing",cardSetupInProgress:H}),Ke(i,l.headers.billingAddress,ce,N,d)]})})})}),ke(S.formState.dirtyFields)?t.jsx($e,{formId:U(W),style:{width:i==="small"?"auto":"100%",paddingTop:s.sp2,paddingBottom:s.sp2,height:s.sp8},primaryBtn:{label:l.footer.save,isLoading:T?.fetchState==="In-Progress",isDisabled:T?.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:J.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:ae,stripeKey:K,cardSetupInProgress:H,setCardSetupInProgress:we})]})},_=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]:Ee(n,e.subscriptionBillingAddress)[n]}},Fe=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: space-between;
|
|
4
4
|
height: 100%;
|
|
@@ -28,13 +28,13 @@ import{u as fe,e as Ce,a as xe,ca as Pe,a8 as k,B as be,j as t,C as P,aX as Ae,m
|
|
|
28
28
|
justify-content: center;
|
|
29
29
|
align-items: center;
|
|
30
30
|
background-color: ${e=>e.theme.colors.grey4};
|
|
31
|
-
`,
|
|
31
|
+
`,Je=r.div`
|
|
32
32
|
display: flex;
|
|
33
33
|
flex-direction: column;
|
|
34
|
-
`,
|
|
34
|
+
`,Ke=(e,a,g,d,I)=>t.jsxs(Ne,{children:[t.jsx(qe,{windowSize:e,isDisabled:I==="disabled",children:a}),t.jsx(Oe,{googleAPIKey:d??"",addressToEdit:g,sectionId:`${n}`,style:{marginLeft:"0px"},elementsStyle:{paddingRight:"0px"}})]}),Ne=r.div`
|
|
35
35
|
margin-top: ${s.sp3};
|
|
36
36
|
margin-bottom: ${s.sp4};
|
|
37
|
-
`,
|
|
37
|
+
`,qe=r.div`
|
|
38
38
|
${e=>`${Re.title.style(e.windowSize)}`};
|
|
39
39
|
margin-bottom: ${s.sp3};
|
|
40
40
|
margin-top: ${s.sp4};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{M as V,j as b,bV as M,bX as q,bY as W,ji as X,l as Y,ab as z}from"./index-4y_mNX1u.js";import{b as _}from"./vendor-rkTZJa59.js";import{p as H}from"./ReviewOverlay-BUmIoEZp-D3xvXshe.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const{common:n,spendManagement:{billPay:C}}=V.getLocalizedStrings(),o=C.bulkActions;let x;const pe=({billsReviewView:t,analytics:r,onProceedForBulkActionClick:l,onCloseReviewItem:e,onCloseOverlay:p})=>{const{fetchState:m,bulkSubmissionFetchState:a,bulkOperationTypeSelected:i,currentTab:g,currentSubTab:w}=t,u=i==="review",[B,h]=_.useState(!1),[s,v]=_.useState(j(t,u)),[c,E]=_.useState(u),[P,T]=_.useState(0),[f,k]=_.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});_.useEffect(()=>(u&&(x=setInterval(()=>{v(d=>d.map((S,O)=>(clearInterval(x),O===P?{...S,reviewStatus:{isLoading:!1,code:"valid"}}:S))),T(d=>d+1)},1e3)),P===s.length&&c&&(E(!1),clearInterval(x)),!u&&t.fetchState==="Completed"&&v(j(t,!1)),()=>{clearInterval(x)}),[s.length,P,c,t.fetchState,u,t]);const R=s.length,y=s.filter(d=>d.reviewStatus.code!=="error").length,A=()=>{const{title:d,description:S}=Z(y);k({type:"reject",title:d,description:S,primaryButtonText:n.texts.confirm,secondaryButtonText:n.texts.close}),r.trackBillPayBulkSubmit(i,g,w),h(!0)},F={onOkClick:d=>{h(!1),r.trackBillPayBulkPopupConfirm(i,g,w,K(t)),l("reject",d)},onCancelClick:()=>{h(!1)}},{title:N,description:$}=G(m,y,R,c),I=t.fetchState==="Completed"&&y===0,U=()=>{r.trackBillPayBulkSubmit(i,g,w),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?p: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"?p:A,style:i==="approve"?{minWidth:"92px"}:{}};return b.jsxs(b.Fragment,{children:[B?b.jsx(M,{titleComponent:b.jsx(W,{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(H,{title:N,description:{content:$,isError:t.fetchState==="Completed"&&y===0},reviewItems:s,onCloseReviewItem:e,onCloseOverlay:p,showFooter:t.fetchState==="Completed"&&!c,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:z("0,0.[00]",e.amount?.amount,e.amount?.currencySymbol),showThunderIcon:e.reviewErrors?.length===1&&Y.isBillConditionallyValid(e.reviewErrors[0].reviewErrorCode),subTitle:J(e.reviewStatus==="warning",e.reviewErrors?.map(p=>p.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??""}}))},K=t=>{const r=t.billsForReview;let l=[];return r.forEach(e=>{l=X([...l,e.isRecurring?"recurring":"one-time"])}),l},Z=t=>{const{this_:r,these:l,bill:e,bills:p,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_>",p)}:{title:o.popUps.reject.title.replace("<_payment_>",o.payment),description:o.popUps.reject.description.replaceAll("<_this_>",r).replaceAll("<_payment_>",m).replaceAll("<_bill_>",e)}},G=(t,r,l,e)=>{const{has:p,have:m,bill:a,bills:i,are:g,is:w,do_:u,does:B}=n.texts,h=r>1,s=l>1;let v="",c="";return t==="Completed"&&!e?(v=o.reviewPage.billsReviewed.title.replace("<_bill_>",s?C.bulkActions.bills:o.bill).replace("<_has_>",s?m:p),r===0?c=o.reviewPage.billsReviewed.descriptionError.replace("<_bill_>",s?i:a).replace("<_do_>",s?u:B):c=`${r}/${l} ${o.reviewPage.billsReviewed.description.replace("<_bill_>",l>1?i:a).replace("<_is_>",h?g:w)}`):(v=o.reviewPage.billsReviewing.title.replace("<_bill_>",s?i:a),c=o.reviewPage.billsReviewing.description.replace("<_bill_>",s?i:a)),{title:v,description:c}},J=(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{pe as default,K as getBillsUniqueType};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as h,j as s
|
|
1
|
+
import{e as h,j as s,_ as b,o as r}from"./index-4y_mNX1u.js";import{n as p}from"./vendor-rkTZJa59.js";import{o as l}from"./commonDimensions-MaxjMSVa-n5Ul9FT7.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=h();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(a,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("rounded-box",e),children:o})}}const a=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)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as et,e as tt,a2 as we,j as a,B as Te,c as G,a as at,co as it,l as L,H as st,ca as nt,ab as rt,a1 as ot,K as lt,aX as ct,$ as dt,cb as mt,bV as pt,bX as ut,bY as ft,m as yt,F as ht,a4 as gt,o,C as P,n as Ie,fI as xt,fg as Ce,cD as St,c7 as wt,a3 as Ct,t as ke,J as bt,y as vt,q as k}from"./index-LQh-jIrB.js";import{b as j,n as d}from"./vendor-rkTZJa59.js";import{x as Dt,s as Tt}from"./CompanyOfficerDetailsSection-DyOVRvtQ-qzbkNJ8X.js";import{r as It}from"./verification-CW6uEyev-BVrJsi0i.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./LabeledAddressValueField-YuLcra47-Cc5nlJue.js";import"./LabeledCreatableSingleSelectField-CQPkrdRe-DDLZPwbC.js";import"./LabeledDocumentField-DEeeTuVw-uCiSHKoS.js";const x={width:new P(343,580,726),titleWidth:new P(343,580,726,826),subTitlePaddingTop:new P(12,k[3]),subTitlePaddingBottom:new P(k[3],k[3]),verificationDetailsRowGap:new P(12,k[5],k[5]),termsPaddingLeftRight:new P(k[0],k[3])},kt={stepTitle:new bt("h6Regular","h5Regular")},be="businessVerificationPage",b="companyDetails",v="companyOfficerDetails",{commonSetUp:{businessVerification:s},common:{settings:$t,currency:Nt,footer:ve,strings:{empty:Pt}}}=Te.getLocalizedStrings(),ma=({businessVerificationDetails:t,allNationalityCountries:A,verficationDetailsFetchState:F,isRefreshingViewInBackground:B,filesEndPoint:r,authParams:z,productType:y,allIndustries:_,companyTitles:E,maxInsuredAmount:u,isDisabled:$,isSettings:n=!1,isOverlay:h=!1,analytics:g,isStepInProgress:S=!1,onAddressClick:Y,onRegisteredAddressClick:Ne,onBackClick:V,onGetOtp:Pe,onVerifyOtp:je,onResendOtp:Fe,onSendForVerificationClick:Ve,onEditFileName:ee,onCompanyDetailsChanged:Oe,updateFilesEntity:te,onDeleteFile:ae,onDeleteFileList:Le,onCompanyOfficerUpdated:Ae,saveNewAddressInLocalStore:ie,onSaveDetailsClick:Be,onClickMenuIcon:ze})=>{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"?a.jsxs(_t,{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,X]=j.useState(!1),[M,se]=j.useState("save"),[Z,Me]=j.useState(!1),p=at({mode:"all",reValidateMode:"onChange",defaultValues:jt(t,_,E,A)}),{isValid:Ge}=p.formState,q=O?.company.company.companyBillPayInfo,W=O?.company.company.companyTreasuryInfo,N=y==="zeni_treasury"?W?.companyVerificationStatus:q?.companyVerificationStatus,D=Object.values(w).findIndex(e=>e?.isSelectedForVerification===!0),T=`Officer_${D<0?1:D+1}`,Xe=()=>{const e=w[T],i=e?.email,c=e?.birthday?.toString(),f=e?.ownershipInCompany,C=e?.firstName,I=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,H=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&&I!=null&&c!=null&&oe!=null&&ce!=null&&me!=null&&le!=null&&pe!=null&&H!=null&&fe!=null&&ye!=null&&ue!=null&&H!=null&&he!=null&&ge!=null&&xe!=null&&Se!=null&&g?.trackBusinessVerificationSend({email:i,birthday:c.toString(),companyOwnership:f,firstName:C,lastName:I,companyRole:oe,phone:ce,formattedAddress:me,documentTypeForVerification:le},{companyDescription:pe,legalName:H,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],i=l?.primaryContactLocalData,c=e?.email??"",f=!!e?.firstName&&!!e?.lastName,C=i?.email??"",I=!!i?.firstName&&!!i?.lastName;return c&&!f?((!e?.firstName||!e?.lastName)&&p.trigger(`${v}.${D<0?0:D}.name`,{shouldFocus:!0}),!1):C&&!I?((!i?.firstName||!i?.lastName)&&p.trigger(`${b}.primaryContactName`,{shouldFocus:!0}),!1):!0},qe=()=>{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},We=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&&(Xe(),Ve?.(T))}),Je=async(e,i)=>{e.includes(b)?Oe?.(i[b]):e.includes(v)&&Ae?.(i[v])},Ke=j.useCallback(st((e,i)=>{Je(e,i)},300),[]);j.useEffect(()=>{const e=p.watch((i,{name:c})=>{c!=null&&i!=null&&nt(()=>Ke(c,i))});return()=>{e.unsubscribe()}});const ne=we(t.companyDetailsLocalData?.addressStatus);j.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),He=re?.map(e=>e.role),Qe={onOkClick:()=>{X(!1),V();const e=[],i=O?.company.company.incInfo.fileIds??[];p.getValues(`${b}.fileIds`).forEach(c=>{i.includes(c)||e.push(c)}),He?.forEach((c,f)=>{const C=c?.fileIds??[];p.getValues(`${v}.${f}.fileIds`).forEach(I=>{C.includes(I)||e.push(I)})}),e.length!==0&&Le?.(e)},onCancelClick:()=>{X(!1)}},Ye=rt(ot(u),u,Nt.currencySymbol).toUpperCase(),K=N?.code==="pending_review"||N?.code==="verified";return y==="zeni_treasury"&&N?.code==="pending_review"&&Ee==="In-Progress"&&R.fetchState==="Completed"?a.jsxs(qt,{children:[a.jsxs(Wt,{children:[a.jsx(It,{}),a.jsx(Jt,{windowSize:m,children:s.submittedTitle}),a.jsx(Zt,{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?Pt:s.header,backgroundColor:_e.colors.grey5,style:{zIndex:Z?1:4},onBackClick:()=>{mt(p.formState.dirtyFields)?X(!0):V()},showBackButton:!n&&!h,showMenuIcon:n?m==="medium-compact"||m==="small":!1,onClickMenuIcon:ze,rightSideComponent:h?a.jsx(Kt,{"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?$t.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:We,children:[h&&S===!0&&a.jsxs(Vt,{children:[a.jsxs(Et,{windowSize:m,children:[a.jsx(Rt,{windowSize:m,children:K?s.businessVerificationDetails:s.verifyBusinessDetails}),!K&&a.jsx(Ut,{children:a.jsxs(Mt,{children:[a.jsx(Gt,{}),a.jsx(Xt,{})]})})]}),a.jsx($e,{isReadonly:K,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:$,filesEndPoint:r,authParams:z,isPopupOpen:Z,openPopup:Me,onGetOtp:Pe,onVerifyOtp:je,onResendOtp:Fe,companyTitles:E,isForTreasury:y==="zeni_treasury",isOverlay:h}),a.jsx(Tt,{companyDetails:l,businessVerificationProps:{companyVerificationStatus:N,isRefreshingViewInBackground:B},productType:"business_verification",showTreasuryFields:y==="zeni_treasury",sectionId:b,isDisabled:N?.code==="pending_review"||N?.code==="verified"?"readonly":$,fileProps:{authParams:z,filesEndPoint:r,onEditFileName:ee,onDeleteFile:ae,updateFilesEntity:te},onCompanyAddressClick:Y,onRegisteredAddressClick:Ne,connectedAccountProvider:U,allIndustries:_})]}),y==="zeni_accounts"?a.jsx(zt,{windowSize:m,children:s.threadText.replace("__amount__",Ye)}):null]})})]}),F==="Completed"&&(y==="zeni_treasury"?W?.companyVerificationStatus?.code!=="pending_review"&&W?.companyVerificationStatus?.code!=="verified":q?.businessVerificationStatus?.code!=="pending_review"&&q?.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:$!=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=Ze(),C=qe();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:Z?0:4}}):null]})},jt=(t,A,F,B)=>{const{companyDetailsLocalData:r,companyOfficerLocalData:z,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(z).map((u,$)=>{const n=u,h=xt(n?.documentTypeSelectedForVerification);return{userId:n?.userId,officerType:n?.officerType??`Officer_${$+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:!E&&$===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,e as tt,a2 as we,j as a,M as Te,c as G,a as at,co as it,l as A,A as st,ca as nt,ab as rt,a1 as ot,K as lt,aX as ct,_ as dt,cb as mt,bV as pt,bX as ut,bY as ft,m as yt,F as ht,a4 as gt,o,C as P,B as Ie,fJ as xt,fh as Ce,cD as St,c7 as wt,a3 as Ct,y as ke,J as bt,g as vt,r as k}from"./index-4y_mNX1u.js";import{b as j,n as d}from"./vendor-rkTZJa59.js";import{x as Dt,s as Tt}from"./CompanyOfficerDetailsSection-WlKm-fM0-DT0aWaVM.js";import{r as It}from"./verification-CW6uEyev-BVrJsi0i.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./LabeledAddressValueField-C-fJPbDr-BL1p3tu1.js";import"./LabeledCreatableSingleSelectField-CNcoKtBi-DbNXS5w-.js";import"./LabeledDocumentField-DB-XX9hy-ARW_yKHV.js";const x={width:new P(343,580,726),titleWidth:new P(343,580,726,826),subTitlePaddingTop:new P(12,k[3]),subTitlePaddingBottom:new P(k[3],k[3]),verificationDetailsRowGap:new P(12,k[5],k[5]),termsPaddingLeftRight:new P(k[0],k[3])},kt={stepTitle:new bt("h6Regular","h5Regular")},be="businessVerificationPage",b="companyDetails",v="companyOfficerDetails",{commonSetUp:{businessVerification:s},common:{settings:$t,currency:Nt,footer:ve,strings:{empty:Pt}}}=Te.getLocalizedStrings(),ma=({businessVerificationDetails:t,allNationalityCountries:L,verficationDetailsFetchState:F,isRefreshingViewInBackground:B,filesEndPoint:r,authParams:z,productType:y,allIndustries:_,companyTitles:E,maxInsuredAmount:u,isDisabled:$,isSettings:n=!1,isOverlay:h=!1,analytics:g,isStepInProgress:S=!1,onAddressClick:H,onRegisteredAddressClick:Ne,onBackClick:V,onGetOtp:Pe,onVerifyOtp:je,onResendOtp:Fe,onSendForVerificationClick:Ve,onEditFileName:ee,onCompanyDetailsChanged:Oe,updateFilesEntity:te,onDeleteFile:ae,onDeleteFileList:Ae,onCompanyOfficerUpdated:Le,saveNewAddressInLocalStore:ie,onSaveDetailsClick:Be,onClickMenuIcon:ze})=>{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"?a.jsxs(_t,{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,X]=j.useState(!1),[M,se]=j.useState("save"),[Z,Me]=j.useState(!1),p=at({mode:"all",reValidateMode:"onChange",defaultValues:jt(t,_,E,L)}),{isValid:Ge}=p.formState,J=O?.company.company.companyBillPayInfo,K=O?.company.company.companyTreasuryInfo,N=y==="zeni_treasury"?K?.companyVerificationStatus:J?.companyVerificationStatus,D=Object.values(w).findIndex(e=>e?.isSelectedForVerification===!0),T=`Officer_${D<0?1:D+1}`,Xe=()=>{const e=w[T],i=e?.email,c=e?.birthday?.toString(),f=e?.ownershipInCompany,C=e?.firstName,I=e?.lastName,oe=e?.titleAtCompany,le=e?.documentTypeSelectedForVerification,ce=e?.phone,de=e?.addressStatus?.addressToCreate,me=de!=null?A.getFormattedAddress(de):void 0,pe=l?.companyDescription,Q=l?.companyLegalName,ue=l?.companyIndustry,fe=l?.phone,ye=l?.website,he=l?.addressStatus?.addressToCreate!=null?A.getFormattedAddress(l?.addressStatus?.addressToCreate):void 0,Y=l?.primaryContactLocalData,ge=Y?.firstName,xe=Y?.lastName,Se=Y?.email;i!=null&&f!=null&&C!=null&&I!=null&&c!=null&&oe!=null&&ce!=null&&me!=null&&le!=null&&pe!=null&&Q!=null&&fe!=null&&ye!=null&&ue!=null&&Q!=null&&he!=null&&ge!=null&&xe!=null&&Se!=null&&g?.trackBusinessVerificationSend({email:i,birthday:c.toString(),companyOwnership:f,firstName:C,lastName:I,companyRole:oe,phone:ce,formattedAddress:me,documentTypeForVerification:le},{companyDescription:pe,legalName:Q,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],i=l?.primaryContactLocalData,c=e?.email??"",f=!!e?.firstName&&!!e?.lastName,C=i?.email??"",I=!!i?.firstName&&!!i?.lastName;return c&&!f?((!e?.firstName||!e?.lastName)&&p.trigger(`${v}.${D<0?0:D}.name`,{shouldFocus:!0}),!1):C&&!I?((!i?.firstName||!i?.lastName)&&p.trigger(`${b}.primaryContactName`,{shouldFocus:!0}),!1):!0},Je=()=>{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||W!=null&&W?.length>0)return p.trigger(`${v}.${D<0?0:D}.email`,{shouldFocus:!0}),!1;return!0},Ke=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);A.reduceAllFetchState(e.concat(i)).fetchState!=="In-Progress"&&Ge&&(Xe(),Ve?.(T))}),We=async(e,i)=>{e.includes(b)?Oe?.(i[b]):e.includes(v)&&Le?.(i[v])},qe=j.useCallback(st((e,i)=>{We(e,i)},300),[]);j.useEffect(()=>{const e=p.watch((i,{name:c})=>{c!=null&&i!=null&&nt(()=>qe(c,i))});return()=>{e.unsubscribe()}});const ne=we(t.companyDetailsLocalData?.addressStatus);j.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),W=re?.map(e=>e.user),Qe=re?.map(e=>e.role),Ye={onOkClick:()=>{X(!1),V();const e=[],i=O?.company.company.incInfo.fileIds??[];p.getValues(`${b}.fileIds`).forEach(c=>{i.includes(c)||e.push(c)}),Qe?.forEach((c,f)=>{const C=c?.fileIds??[];p.getValues(`${v}.${f}.fileIds`).forEach(I=>{C.includes(I)||e.push(I)})}),e.length!==0&&Ae?.(e)},onCancelClick:()=>{X(!1)}},He=rt(ot(u),u,Nt.currencySymbol).toUpperCase(),q=N?.code==="pending_review"||N?.code==="verified";return y==="zeni_treasury"&&N?.code==="pending_review"&&Ee==="In-Progress"&&R.fetchState==="Completed"?a.jsxs(Jt,{children:[a.jsxs(Kt,{children:[a.jsx(It,{}),a.jsx(Wt,{windowSize:m,children:s.submittedTitle}),a.jsx(Zt,{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?Pt:s.header,backgroundColor:_e.colors.grey5,style:{zIndex:Z?1:4},onBackClick:()=>{mt(p.formState.dirtyFields)?X(!0):V()},showBackButton:!n&&!h,showMenuIcon:n?m==="medium-compact"||m==="small":!1,onClickMenuIcon:ze,rightSideComponent:h?a.jsx(qt,{"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:Ye}):null,a.jsxs(At,{windowSize:m,children:[(!h||S===!1)&&a.jsx(Ot,{windowSize:m,children:n?$t.infoText.businessVerification:s.title}),F==="In-Progress"||F==="Not-Started"?a.jsx(Lt,{children:a.jsx(yt,{size:"ExtraLarge",start:!0})}):a.jsx(ht,{...p,children:a.jsxs("form",{id:De(be),onSubmit:Ke,children:[h&&S===!0&&a.jsxs(Vt,{children:[a.jsxs(Et,{windowSize:m,children:[a.jsx(Rt,{windowSize:m,children:q?s.businessVerificationDetails:s.verifyBusinessDetails}),!q&&a.jsx(Ut,{children:a.jsxs(Mt,{children:[a.jsx(Gt,{}),a.jsx(Xt,{})]})})]}),a.jsx($e,{isReadonly:q,children:s.verifyBusinessDetailsDescription})]}),a.jsxs(Bt,{children:[a.jsx(Dt,{companyOfficerData:w,allNationalityCountries:L,allOfficers:W??[],sectionId:v,isRefreshingViewInBackground:B,connectedAccountProvider:U,productType:"business_verification",updateFilesEntity:te,onEditFileName:ee,onOfficerAddressClick:H,onDeleteFile:ae,isDisabled:$,filesEndPoint:r,authParams:z,isPopupOpen:Z,openPopup:Me,onGetOtp:Pe,onVerifyOtp:je,onResendOtp:Fe,companyTitles:E,isForTreasury:y==="zeni_treasury",isOverlay:h}),a.jsx(Tt,{companyDetails:l,businessVerificationProps:{companyVerificationStatus:N,isRefreshingViewInBackground:B},productType:"business_verification",showTreasuryFields:y==="zeni_treasury",sectionId:b,isDisabled:N?.code==="pending_review"||N?.code==="verified"?"readonly":$,fileProps:{authParams:z,filesEndPoint:r,onEditFileName:ee,onDeleteFile:ae,updateFilesEntity:te},onCompanyAddressClick:H,onRegisteredAddressClick:Ne,connectedAccountProvider:U,allIndustries:_})]}),y==="zeni_accounts"?a.jsx(zt,{windowSize:m,children:s.threadText.replace("__amount__",He)}):null]})})]}),F==="Completed"&&(y==="zeni_treasury"?K?.companyVerificationStatus?.code!=="pending_review"&&K?.companyVerificationStatus?.code!=="verified":J?.businessVerificationStatus?.code!=="pending_review"&&J?.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:$!=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=Ze(),C=Je();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?A.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?A.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:Z?0:4}}):null]})},jt=(t,L,F,B)=>{const{companyDetailsLocalData:r,companyOfficerLocalData:z,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:L?.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(z).map((u,$)=>{const n=u,h=xt(n?.documentTypeSelectedForVerification);return{userId:n?.userId,officerType:n?.officerType??`Officer_${$+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:!E&&$===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;
|
|
@@ -21,7 +21,7 @@ import{u as et,e as tt,a2 as we,j as a,B as Te,c as G,a as at,co as it,l as L,H
|
|
|
21
21
|
padding-top: ${t=>x.subTitlePaddingTop.valuePx(t.windowSize)};
|
|
22
22
|
padding-bottom: ${t=>x.subTitlePaddingBottom.valuePx(t.windowSize)};
|
|
23
23
|
text-align: ${t=>t.windowSize==="small"?"initial":"center"};
|
|
24
|
-
`,
|
|
24
|
+
`,At=d.div`
|
|
25
25
|
display: flex;
|
|
26
26
|
justify-content: flex-start;
|
|
27
27
|
height: 100%;
|
|
@@ -30,7 +30,7 @@ import{u as et,e as tt,a2 as we,j as a,B as Te,c as G,a as at,co as it,l as L,H
|
|
|
30
30
|
align-items: center;
|
|
31
31
|
padding-bottom: ${o.sp9};
|
|
32
32
|
row-gap: ${t=>x.verificationDetailsRowGap.valuePx(t.windowSize)};
|
|
33
|
-
`,
|
|
33
|
+
`,Lt=d.div`
|
|
34
34
|
display: flex;
|
|
35
35
|
width: 100%;
|
|
36
36
|
height: calc(100vh - 110px);
|
|
@@ -111,24 +111,24 @@ import{u as et,e as tt,a2 as we,j as a,B as Te,c as G,a as at,co as it,l as L,H
|
|
|
111
111
|
`,Zt=d($e)`
|
|
112
112
|
margin-top: ${o.sp0};
|
|
113
113
|
text-align: center;
|
|
114
|
-
`,
|
|
114
|
+
`,Jt=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
|
+
`,Kt=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
|
+
`,Wt=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};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import{e as m,M as w,j as t,v as x,J as $,o as s,g as C}from"./index-4y_mNX1u.js";import{n as o,b as d}from"./vendor-rkTZJa59.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=m(),g=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,u=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:`${u}`,children:[g,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
|
+
${e=>e.forDetailPage?{...x.extraSmallRegular.cssObject}:`${f.subText.style(e.windowSize)}`};
|
|
3
|
+
color: ${e=>e.theme.colors.hero};
|
|
4
|
+
max-width: 100%;
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
text-overflow: ellipsis;
|
|
7
|
+
white-space: nowrap;
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
gap: ${s.sp1};
|
|
11
|
+
`,H=o.span`
|
|
12
|
+
height: ${s.sp1};
|
|
13
|
+
width: ${s.sp1};
|
|
14
|
+
background-color: ${e=>e.theme.colors.grey1};
|
|
15
|
+
border-radius: 50%;
|
|
16
|
+
margin: ${s.sp0} ${s.sp1};
|
|
17
|
+
`,p=o(y)`
|
|
18
|
+
width: ${s.sp3};
|
|
19
|
+
height: ${s.sp3};
|
|
20
|
+
color: ${e=>e.theme.colors.hero};
|
|
21
|
+
`;export{R as f};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as k,e as f,j as t,aX as te,
|
|
1
|
+
import{u as k,e as f,j as t,aX as te,M as w,cV as P,v as u,aj as J,bv as ie,o as i,f as B,C as h,y as v,dg as oe,l as y,r as l,b7 as re,b8 as ae,aw as se,av as ne,ab as de,b9 as le,bb as ce,iv as he,a0 as T,bn as pe,_ as z,w as $,iw as Q,ix as X,id as ge,c3 as me,c6 as xe,B as O,ie as we,ig as ue}from"./index-4y_mNX1u.js";import{n as o,f as R,b as V}from"./vendor-rkTZJa59.js";import{B as ye}from"./InsightsSection-CQRpIy9c-BVaWF-TR.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./NavigationDots-BnqdhDar-BHuykGzD.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(Z,{children:W.month})," ",t.jsx(G,{children:y.getZeniDateFromPeriod(n).format(fe)})]}),t.jsxs(E,{children:[t.jsx(Z,{children:W.cashback}),t.jsx(G,{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,19 +12,19 @@ import{u as k,e as f,j as t,aX as te,B as w,cV as P,v as u,aj as q,bv 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
|
+
`,G=o($)`
|
|
16
16
|
color: ${e=>e.theme.colors.brandColorPearl};
|
|
17
17
|
min-width: ${i.sp8};
|
|
18
18
|
display: flex;
|
|
19
19
|
justify-content: flex-end;
|
|
20
|
-
`,
|
|
20
|
+
`,Z=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(J,{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:g=>y.getZeniDateFromPeriod(g).format(Se)}),t.jsx(ne,{type:"number",axisLine:!1,tickLine:!1,tick:{color:r.colors.hero,...u.extraSmallRegular.cssObject},tickFormatter:g=>de("0,0.[00]a",g,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=Le(a);return t.jsx(Ce,{chartData:r,customToolTipContent:({active:c,payload:p,label:g})=>t.jsx(ke,{active:c,payload:p,label:g}),width:s,height:n})}const ze=e=>e.format(_),Le=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:ze(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]=V.useState(ee());V.useEffect(()=>{const d=[...r];for(const m of d)m.key===e.sortKey?m.sortOrder=e.sortOrder:m.sortOrder="ascending";c(d)},[e.sortKey,e.sortOrder]);const p=(d,m)=>{let K=m;e.sortKey===d&&(K=m==="ascending"?"descending":"ascending"),s(d,K)},g=r.find(d=>d.key===e.sortKey)??r[0],S=d=>r.find(m=>m.key===d)?.value??"",C=r.map(d=>d.key),Y=w.getLocalizedStrings().spendManagement.chargeCard.cardList;return a==="small"?t.jsxs(A,{windowSize:a,children:[t.jsxs(Re,{children:[t.jsx(Ke,{children:t.jsx(Ye,{})}),t.jsx(pe,{title:Y.sortBy,placeholder:Y.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(g.key,g.sortOrder),"data-testid":z("cashback-list-header-mobile",g.value),children:[t.jsx($,{children:g.value}),t.jsx(H,{sortDataValue:e.sortKey,headerdata:g,children:t.jsx(N,{})})]})]}):t.jsx(A,{windowSize:a,children:r.map((d,m)=>t.jsxs(Te,{sortDataValue:e.sortKey,actualDataValue:d.key,wrapperWidth:d.width,isLastItem:m===r.length-1,windowSize:a,children:[t.jsxs(We,{onClick:()=>p(d.key,d.sortOrder),"data-testid":z("cashback-list-header",d.value),children:[t.jsx($,{children:d.value}),t.jsx(H,{sortDataValue:e.sortKey,headerdata:d,children:t.jsx(N,{})})]}),t.jsx(Ve,{sortDataValue:e.sortKey,windowSize:a,isVisible:e.sortKey===d.key&&d.key!=="month",children:t.jsx(Oe,{onClick:()=>p("month","ascending"),"data-testid":z("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)};
|
|
@@ -94,7 +94,7 @@ import{u as k,e as f,j as t,aX as te,B as w,cV as P,v as u,aj as q,bv 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:Ge}},dateFormat:{visual:Ze}}=w.getLocalizedStrings(),Ae=({cashbackPeriod:e,isFirstItem:s,isLastItem:n})=>{const a=f(),r=ee(),c=Q(e.period),p=X(c);return t.jsx(Je,{windowSize:a,isFirstItem:s,isLastItem:n,children:t.jsx(Qe,{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(Ze.MMMMYYYYFormat),p?t.jsxs(Ne,{children:[t.jsx(Ue,{}),t.jsx(He,{children:Ge.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})})})]})})})},He=o(O)`
|
|
98
98
|
color: ${e=>e.theme.colors.grey1};
|
|
99
99
|
`,Ne=o.div`
|
|
100
100
|
display: flex;
|
|
@@ -105,7 +105,7 @@ import{u as k,e as f,j as t,aX as te,B as w,cV as P,v as u,aj as q,bv as ie,o as
|
|
|
105
105
|
margin-right: ${i.sp2};
|
|
106
106
|
background-color: ${e=>e.theme.colors.grey1};
|
|
107
107
|
border-radius: 50%;
|
|
108
|
-
`,
|
|
108
|
+
`,Je=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,aX as te,B as w,cV as P,v as u,aj as q,bv 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
|
+
`,Qe=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,aX as te,B as w,cV as P,v as u,aj as q,bv 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=Q(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(gt,{children:t.jsx(mt,{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,aX as te,B as w,cV as P,v as u,aj as q,bv 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,aX as te,B as w,cV as P,v as u,aj as q,bv 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,aX as te,B as w,cV as P,v as u,aj as q,bv as ie,o as
|
|
|
232
232
|
flex-direction: column;
|
|
233
233
|
`,mt=o(O)`
|
|
234
234
|
color: ${e=>e.theme.colors.hero};
|
|
235
|
-
`,U={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:
|
|
235
|
+
`,U={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`
|
|
@@ -243,7 +243,7 @@ import{u as k,e as f,j as t,aX as te,B as w,cV as P,v as u,aj as q,bv as ie,o as
|
|
|
243
243
|
max-height: 1px;
|
|
244
244
|
margin-left: ${e=>U.separatorMarginLeftRight.valuePx(e.windowSize)};
|
|
245
245
|
margin-right: ${e=>U.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(),g=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:g,children:[t.jsxs($t,{windowSize:g,children:[t.jsxs(L,{children:[t.jsx(M,{children:j.totalEarned}),t.jsx(P,{amount:a.cashbackEarned,style:{color:p.colors.brandColorJadeDark},decimalStyles:u.largeSemiBold.cssObject})]}),t.jsxs(L,{children:[t.jsx(M,{children:j.redeemed}),t.jsx(P,{amount:a.cashbackRedeemed,style:{color:p.colors.brandColorOpalDark},decimalStyles:u.largeSemiBold.cssObject})]}),t.jsxs(L,{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(
|
|
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(),g=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:g,children:[t.jsxs($t,{windowSize:g,children:[t.jsxs(L,{children:[t.jsx(M,{children:j.totalEarned}),t.jsx(P,{amount:a.cashbackEarned,style:{color:p.colors.brandColorJadeDark},decimalStyles:u.largeSemiBold.cssObject})]}),t.jsxs(L,{children:[t.jsx(M,{children:j.redeemed}),t.jsx(P,{amount:a.cashbackRedeemed,style:{color:p.colors.brandColorOpalDark},decimalStyles:u.largeSemiBold.cssObject})]}),t.jsxs(L,{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(J,{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};
|