@zeniai/web-cockpit-ui 1.15.64-qa → 1.15.65-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-BShpKoIj-DBPKn0sX.js +21 -0
- package/dist/assets/{AIPerformancePage-Da3gFo8A-CSXeuStb.js → AIPerformancePage-CFErwUsE-BYOi4eif.js} +22 -22
- package/dist/assets/AccountInfoPage-B8upbXj9-DVCxjo1L.js +18 -0
- package/dist/assets/{AccountInfoPageContent-DqErO8FH-mViOCowa.js → AccountInfoPageContent-CKpeDot5-C4xEct6y.js} +23 -23
- package/dist/assets/{AccountLockedInfoModal-BJjCuLHa-lkS-zBaJ.js → AccountLockedInfoModal-c30P9O_3-BXRFFhii.js} +9 -9
- package/dist/assets/{AccountReconDetailsDrawerPage-CVjH1p0d-khdb66DL.js → AccountReconDetailsDrawerPage-CO9BYPWm-Det_iJaE.js} +51 -51
- package/dist/assets/AccountRow-BrW_eEjE-HoBl8v8H.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-D7xvgmOH-n7Og3oU6.js → AccountsPromoCardStack-De2yNNuZ-C74RtM0g.js} +22 -22
- package/dist/assets/AddAddressForCardDrawer-riOPLnxb-hTaoKUhW.js +6 -0
- package/dist/assets/{AddToWalletPage-zJy9QCjx-C2VBVH37.js → AddToWalletPage-CsOmzC7v-XA_Ukf0G.js} +23 -23
- package/dist/assets/{AgingReportsPage-wAvQb1d8-BVhKyC9n.js → AgingReportsPage-D9I9afnB-j70-fH52.js} +8 -8
- package/dist/assets/{AllUserItems-DEv_CXOA-Cnm0jwbR.js → AllUserItems-Dq7NcP-o-bQnq3Yy5.js} +7 -7
- package/dist/assets/ApAgingDetailPage-Z5JgfH-e-DlNnTpGB.js +46 -0
- package/dist/assets/AppBasePage-B5sDynhi-B6PJcirc.js +71 -0
- package/dist/assets/AppDrawerContent-D9Q8ir0T-BlV3y7qg.js +92 -0
- package/dist/assets/ApprovalRulesSettingsPage-DVGvJsQG-g3c3aBsx.js +47 -0
- package/dist/assets/{ArAgingChart-m-Xp3HAW-BFbIzkgu.js → ArAgingChart-Tcu0Lja_-DlvMwgJ3.js} +5 -5
- package/dist/assets/ArAgingDetailPage-B5vqkc3v-xHE7Qc0m.js +46 -0
- package/dist/assets/{AttachmentView-DB_V1qT1-DuTWI9WZ.js → AttachmentView-CiYfninr-BohG7XjP.js} +7 -7
- package/dist/assets/BalancesInsightWithToolTip-tiQUQUbX-C692_oh-.js +38 -0
- package/dist/assets/{BankAccountSection-BabhrBM7-Hm-Yu2sT.js → BankAccountSection-EZtscP2z-aKL8vcpJ.js} +7 -7
- package/dist/assets/{BankAccountWarningSection-yT2UAd12-X-VL5grc.js → BankAccountWarningSection-DCfyIUlu-DyMLU3Tg.js} +7 -7
- package/dist/assets/{BankConnectionsSettingsPage-CbxXykMM-BVq9Jf6S.js → BankConnectionsSettingsPage-CQWy9jvt-B-n6frCU.js} +32 -32
- package/dist/assets/BillDetailPage-pt1k5AQf-BM9-GtkV.js +266 -0
- package/dist/assets/{BillPayApprovalRuleDetailPage-COyDRpaF-IRQNMkGr.js → BillPayApprovalRuleDetailPage-Drh7Bhi8-CDpJ0g2R.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-9pxkgFAT-BBE0uhiX.js → BillPayApprovalRulesPage-Cmyo59xB-pg1tP0xq.js} +15 -15
- package/dist/assets/BillPayPromoPage-Dgpz2TLG-BFCcBeGF.js +84 -0
- package/dist/assets/{BillPaySetUpPage-Cs5rkWBu-B8WDufb0.js → BillPaySetUpPage-B6Pd_eBf-BC27u6lI.js} +4 -4
- package/dist/assets/{BillingSettingsPage-CQ117tT9-BAwGu5cG.js → BillingSettingsPage-CYsvBrFV-BWO0QWBs.js} +7 -7
- package/dist/assets/{BillsBulkReviewDrawerPage-DRkGQQAe-RZgdY8zQ.js → BillsBulkReviewDrawerPage-DNnAmqWz-BQr-aBSF.js} +1 -1
- package/dist/assets/{BoxItem-DRwx0M5a-5_z4KYJ3.js → BoxItem-B06DK4G--CNFqY3pV.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-1h0z3N9u-Bd2Dv1xV.js → BusinessVerificationPage-Dgk5gyMv-BdAKTgt0.js} +11 -11
- package/dist/assets/CardNumberSubText-CcH9jUoZ-BGeGZCAA.js +21 -0
- package/dist/assets/{CashbackDetailPage-ChdQcvkC-BQq0-Z8K.js → CashbackDetailPage-5eysaHGf-qWx0m6gR.js} +30 -30
- package/dist/assets/{ChargeCardDetailPage-DFOKlPNG-DdvX9ays.js → ChargeCardDetailPage-Diwf-gwZ-DmopcUlO.js} +1 -1
- package/dist/assets/{ChargeCardListPage-DhLUsUhd-CPt3fT_S.js → ChargeCardListPage-C-RTGkKK-Bb-QwUsn.js} +23 -23
- package/dist/assets/{ChargeCardListTable-DE72YU_i-UK8ppaLR.js → ChargeCardListTable-B-bNbtZQ-Bfw8s7pe.js} +60 -60
- package/dist/assets/{ChargeCardPaymentHistoryPage-CbGR18s--CGJF0r4n.js → ChargeCardPaymentHistoryPage-Cu-zT5tO-C6SEcidH.js} +36 -36
- package/dist/assets/{ChargeCardPromoPage-CPpNh89o-ur53P9tl.js → ChargeCardPromoPage-Cz3rNFwM-N71PCrPp.js} +38 -38
- package/dist/assets/{ChargeCardSetupPage-ITi25kUD-D46LZ2gE.js → ChargeCardSetupPage-BcTB9Yy5-DkE42DK5.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-CTJc1BCc-C1ya3GFy.js → ChargeCardStatementsPage-B_ERvgmB-DFHNpOVz.js} +5 -5
- package/dist/assets/{CheckDepositDrawerPage-BrzeSj-3-dYFak2DM.js → CheckDepositDrawerPage-D7_usOVn-C_GuSSOC.js} +17 -17
- package/dist/assets/CollapsableReportTable-h0vIfI8o-Bg2RfRDJ.js +2982 -0
- package/dist/assets/{CompanyOfficerDetailsSection-BaPhFsLx-CpwNpffC.js → CompanyOfficerDetailsSection-CWADX4kZ-IHJvDX6-.js} +30 -30
- package/dist/assets/{CompanyPassportCard-B9ymV6Az-DhiSwK7x.js → CompanyPassportCard-DF9LFrFD-DjueOJ3s.js} +9 -9
- package/dist/assets/{CompanyPassportPage-BQ68t7oK-25GyAr8e.js → CompanyPassportPage-BtAopyLq-DbU6xdRd.js} +30 -30
- package/dist/assets/{CompleteProfile-C5n9b8gQ-D0ag80PT.js → CompleteProfile-CsbsHQ0p-BLF2mnNn.js} +4 -4
- package/dist/assets/ConfettiBurst-duD341Gp-Bb3-s_zN.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-Cd8lINA1.js → ConstrainedInnerElement-hv51KpGg-DTOZooRA.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-BIfOA5Nr-C8DeTqzS.js → CreateOrEditVendorPage-C2xU6c51-DT9rwnbq.js} +14 -14
- package/dist/assets/{CreditCardPaymentDrawerPage-CCpS-31h-BiN9aJFe.js → CreditCardPaymentDrawerPage-CeagMaCu-D6hhhd3N.js} +22 -22
- package/dist/assets/CurrencySelectField-B8EoF2aF-uavVFTum.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-6VlMI4oY-BsSHWzKa.js → CustomerOnboardingActivationPage-CIeR2XvU-B59q7JSL.js} +29 -29
- package/dist/assets/CustomerOnboardingContainerPage-DVL4s-eV-Betf7XiO.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BzbZb27J-C2NLa27a.js → CustomerOnboardingDetailPageSkeleton-kUbwh2r2-zrrFUTGk.js} +14 -14
- package/dist/assets/CustomerOnboardingNoStepsPage-Br0jy7Pu-C04-tCb6.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-DkW66A-p-q-1ALWKT.js → CustomerOnboardingPage-Dm2Si769-DsN6K-ie.js} +16 -16
- package/dist/assets/{CustomerOnboardingProductSuitePage-Ba0yotpP-IunY7NMf.js → CustomerOnboardingProductSuitePage-Cz81Q5jC-eSuGAIqK.js} +8 -8
- package/dist/assets/{Dashboard-bX3cWkmP-gpZTlRVX.js → Dashboard-DReG_aaf-C4aSoq3o.js} +33 -33
- package/dist/assets/{DashboardReportPage-DuZ4d4CE-BtgBO5CE.js → DashboardReportPage-BXSlwsR7-4jSB_qXZ.js} +38 -38
- package/dist/assets/DashboardSidebarBackgroundAnimation-B3dtVAe2-BBvO3tiT.js +12 -0
- package/dist/assets/DepositAccTransactionItem-YuSXjbLh-dhpmj79R.js +76 -0
- package/dist/assets/DepositAccTransactionListPage-C-FAvZwD-5kKsnSxM.js +66 -0
- package/dist/assets/DomesticWireDetailsPage-BaiSpc0N-BaNvy8Dj.js +21 -0
- package/dist/assets/DownloadOverlay-BpRKCn-0-GQtzMlpD.js +439 -0
- package/dist/assets/{DrawerPage-CaG-xx5d-Ch3FAk_-.js → DrawerPage-DQ3Xuekx-71bFG_xW.js} +12 -12
- package/dist/assets/EditPeoplePage-8DalSMWH-BO--FbCf.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-CC2BjMkR-BrDBl4Nx.js +865 -0
- package/dist/assets/EntityDetailPage-fmWuxHTZ-BEOMoyTE.js +18 -0
- package/dist/assets/{EntitySummarySection-LEA5m6mN-Bkfqomfq.js → EntitySummarySection-vsEMiXYh-UA5Y35sl.js} +17 -17
- package/dist/assets/{ExpenseAutomationOverviewPage-Dmhn7gfp-KHS19Js4.js → ExpenseAutomationOverviewPage-B3HPfIsK-4ZtjmO8G.js} +50 -50
- package/dist/assets/ExpenseAutomationPage-4LJefgNh-YH8canW3.js +3015 -0
- package/dist/assets/{ExpressPayPage-C-nqret2-CHVy3vEu.js → ExpressPayPage-BH7oCW_F-HW0llOdu.js} +17 -17
- package/dist/assets/{FeaturePreviewPage-BHjUZ7s6-CoLeq4Tz.js → FeaturePreviewPage-DSv61BhF-rk5VNvfQ.js} +2 -2
- package/dist/assets/{FollowStepsSection-0eFMS0c5-DAdCYPIL.js → FollowStepsSection-Bgy9MpO4-DCiZAX41.js} +7 -7
- package/dist/assets/GlobalReviewListPage-VRq_gimm-D4JxkgEf.js +291 -0
- package/dist/assets/{InformationCardStack-C7XJCUlh-BO56UWI6.js → InformationCardStack-rx0fypl3-C50dsns2.js} +4 -4
- package/dist/assets/{InsightsCardStack-fBAbQwhK-DuPgw9sX.js → InsightsCardStack-uJWMkIZL-k2gW7JtA.js} +9 -9
- package/dist/assets/InsightsSection-ByFf2oGn-BaSZhycl.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-BD5jqAv8--mAzs_NR.js → IntegrationsSettingsPage-Cj01Nub6-JLccDpyu.js} +6 -6
- package/dist/assets/{InternationalWireSwiftDetailsPage-BftrE612-De_WHxi6.js → InternationalWireSwiftDetailsPage-C2PM97sv-CXe5WYRW.js} +24 -24
- package/dist/assets/InternationalWireVerificationPage-Cr3sDrT--Bq6HNEU0.js +65 -0
- package/dist/assets/{InviteFormPage-E2igwKEh-BEncV13R.js → InviteFormPage-dsMpScvq-CF55W3d2.js} +18 -18
- package/dist/assets/{InvitePageListView-Cuq9dlgu-B0_SeEmy.js → InvitePageListView-e7vGSbFa-wcp0OLc4.js} +43 -43
- package/dist/assets/InvitePeoplePage-BT_YVCP4-yRtlk6wv.js +12 -0
- package/dist/assets/InvoiceUploadSection-Dg1-uunA-DejmnF3G.js +140 -0
- package/dist/assets/{IssueChargeCardPage-CK6fnO24-Db0v77bJ.js → IssueChargeCardPage-CyF9wrb0-DIt_LpMY.js} +31 -31
- package/dist/assets/{LabeledAddressValue-Ma1WURjK-DlrMcsdg.js → LabeledAddressValue-3l0Bv00--DmuSRVDq.js} +2 -2
- package/dist/assets/LabeledAddressValueField-F9kvUR_r-BCeaFKsb.js +45 -0
- package/dist/assets/LabeledControlledCheckBoxField-BgC8y0D6-Cxk0wWCO.js +16 -0
- package/dist/assets/{LabeledCountryMultiSelectField-sj8p7Rne-BCnpPBJo.js → LabeledCountryMultiSelectField-3qI_4noU-BCLCbVPc.js} +5 -5
- package/dist/assets/{LabeledCreatableSingleSelectField-DUTQh416-DhVqlBC1.js → LabeledCreatableSingleSelectField-BV3h9bh7-BAj07yW-.js} +7 -7
- package/dist/assets/LabeledDocumentField-rriEcsdr-CkxtZhMI.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-DoVSg3nZ-Be0l5Q_z.js +59 -0
- package/dist/assets/{LabeledText-DvzVOku6-Dn53TfaN.js → LabeledText-DGZ7hxY4-IuE8fmYf.js} +6 -6
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DCv1Q5qb-BqVEyHXC.js → LabeledUserSingleSelectWithSubtitlesField-DI07Eicg-DgE4V-VP.js} +18 -18
- package/dist/assets/{LabeledZeniRolesDropDownField-kWC0ShEy-CPUGdXpK.js → LabeledZeniRolesDropDownField-jIrTovp--Bw9Copum.js} +29 -29
- package/dist/assets/{LinkJETransactionPage-WufhDGDQ-azPG9MUe.js → LinkJETransactionPage-Bvbqpltz-Bc-21K8g.js} +18 -18
- package/dist/assets/{LockCardPage-BBIVLYVD-419LPSiD.js → LockCardPage-DyEQBJYx-BLiE9GBP.js} +64 -64
- package/dist/assets/{LowBalancePopup-ScEqPY9J-C060z0nB.js → LowBalancePopup-C2vHKMNF-PKO6ElPE.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-lAAwAtH7-SJ0jUK4M.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-cv823ASo-DimLQOFo.js +1 -0
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-fSY3JGpz-B9llfoRD.js → MagicLinkInternationalWireDetailsPage-C_SjsgC9-Bvgil6AB.js} +1 -1
- package/dist/assets/MagicLinkSuccessPage-B1LBYM2F-BYLLbXss.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-ZnbKPIvJ-BocBRFlv.js → MagicLinkTitleSection-ClAnBBt9-CxQuR-QP.js} +5 -5
- package/dist/assets/MailingDetailsSection-9_XLl4bT-BB3mmWQ9.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-aQDVaEG1-BGCx9EU3.js → MyBankConnectionsSettingsPage-CBNYcuP4-DwZ11Kbp.js} +16 -16
- package/dist/assets/MyPendingActivationChargeCardListPage-n71n40uQ-DzAksyAj.js +6 -0
- package/dist/assets/MyProfileSettingsPage-BUMIjZYc-CtFmjBIE.js +85 -0
- package/dist/assets/{NavBarWithPicker-zmvBmWS1-B7DVgWCo.js → NavBarWithPicker-CbjFNysh-BLH7wXCB.js} +5 -5
- package/dist/assets/{NavigationArrow-D26UG3p--B1OMUVaF.js → NavigationArrow-Dpc7u6y4-94AYlIy-.js} +7 -7
- package/dist/assets/{NavigationDots-Bv4tBDN3-BOJfNTon.js → NavigationDots-DCpslVnm-BIAw9fTc.js} +3 -3
- package/dist/assets/{NewGlobalMerchantPage-vOn2O6B9-BmAEPvzQ.js → NewGlobalMerchantPage-B10sY6Q_-Owh-T5As.js} +37 -37
- package/dist/assets/{NoDataChart-CgT19fV7-CW6QHLgR.js → NoDataChart-9-bhq204-jF2VPuzU.js} +2 -2
- package/dist/assets/{NoDataTable-CPjJmo4s-DSMgo6Qg.js → NoDataTable-C6Q2Anpz-DB9htpIj.js} +1 -1
- package/dist/assets/{NotFoundPage-CP2i3FTm-C5pv1EYn.js → NotFoundPage-4mPhXD5--Dq1iR5VQ.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-CT9Dnb03-BP21fQ3b.js → NotificationSettingsPage-BTxCoB_b-BHZscHCj.js} +28 -28
- package/dist/assets/NotificationsListConfig-CylnViXd-Dg2fm6St.js +1 -0
- package/dist/assets/NotificationsPage-D41h0mS6-Dzdq9z4a.js +685 -0
- package/dist/assets/OpExByVendorPage-BV_uJSCh-BHuftqJi.js +100 -0
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-DypUO3LF.js → OverlayContainerPage-CkUYOhlh-ChB_ia4V.js} +1 -1
- package/dist/assets/PandLWithForecastPage-Cj3UWjG4-Ufv6uGVt.js +123 -0
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-JPO-rPAd-AJNZCxIB.js → PaymentAccountSetupBillingAddressSection-BWFl695q-DUUCCWV6.js} +15 -15
- package/dist/assets/PeoplePage-DcGqWtAP-CfVqJS-U.js +727 -0
- package/dist/assets/{Preview-MsotgVZx.js → Preview-DHku7oFH.js} +1 -1
- package/dist/assets/{ProductsCarousel-7R3cvGiS-B-idYuEE.js → ProductsCarousel-C9JoJQeH-7TCp-gr7.js} +8 -8
- package/dist/assets/{PromoBaseCards-DdCMZIc7-DYaNktKG.js → PromoBaseCards-mFk7SsOr-cB2eyHgD.js} +3 -3
- package/dist/assets/{QBOConnectionDialog-Ca36jKz2-BROTAV6b.js → QBOConnectionDialog-CJsIrEZq-Djdbh1G7.js} +5 -5
- package/dist/assets/{QBOSetupSection-CzBfIVqR-CxeYM05R.js → QBOSetupSection-C_fqHza_-B8WpC_yY.js} +13 -13
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-DUVSGQJ6-C0TdrujH.js → ReimbursementApprovalRuleDetailPage-BMZnKpsk-CX5NlTL7.js} +2 -2
- package/dist/assets/{ReimbursementApprovalRulesPage-B48x1gPM-CTKI435W.js → ReimbursementApprovalRulesPage-C2zNa8dT-CGtrNpR7.js} +9 -9
- package/dist/assets/ReimbursementDetailPage-B1o8ea57-BrBovHlf.js +314 -0
- package/dist/assets/ReimbursementPromoPage-Df5QmXzC-CzrrekBH.js +84 -0
- package/dist/assets/{ReimbursementSetUpPage-B_c-ZgFT-IXOGqCsl.js → ReimbursementSetUpPage-D450RVsP-BNS45RtV.js} +10 -10
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-DwgKrhlQ-BYy6jU6w.js +1 -0
- package/dist/assets/{ReloadCard-DKGn1uxF-BSvLgeuK.js → ReloadCard-D5cvzWxe-BSJWwb6T.js} +6 -6
- package/dist/assets/ReportTableViewSelector-Ig41fOPb-DyEm5Q02.js +151 -0
- package/dist/assets/ReportsPage-CRAVAUTO-D_QRWGM1.js +269 -0
- package/dist/assets/{RevenueChart-SvdhwBcE-DnuVU969.js → RevenueChart-DtQu0KAn-DJYGsojB.js} +13 -13
- package/dist/assets/{ReviewDetailsPage-tT1l4R2r-J1IzgUZg.js → ReviewDetailsPage-vui4TqeA-gjxKkEYH.js} +24 -24
- package/dist/assets/{ReviewOverlay-BoM41t8W-DMbdGoKm.js → ReviewOverlay-CUnL7H-a-BjFaE0id.js} +25 -25
- package/dist/assets/RoleWithToolTip-x2rnvWn9-BzchKu5T.js +22 -0
- package/dist/assets/ScheduleDetailsFixedAssetsPage-D_Cls2jC-CNWyfY4t.js +37 -0
- package/dist/assets/ScheduleDetailsPage-DmSLuM8g-5vyMikmE.js +37 -0
- package/dist/assets/ScheduleSequenceTable-js9_P_Lo-CeLb4ONW.js +326 -0
- package/dist/assets/{ScreenRoutes-zIYoYF9j.js → ScreenRoutes-ziq-yiHW.js} +29 -51
- package/dist/assets/{SetUpAccountSection-sfIB1h4i-Bxp4_1Ay.js → SetUpAccountSection-DYRWWXcL-D3Lz2J4N.js} +13 -13
- package/dist/assets/SignIn-CUJkZb3S-DEoVYbuM.js +491 -0
- package/dist/assets/SignInScreen-CMKiwyNN.js +1 -0
- package/dist/assets/SpendManagementListViewPage-BieufnDb-DWfo1rZv.js +134 -0
- package/dist/assets/SpendManagementPerTabPage-BmUp80QX-D3VMwaS-.js +754 -0
- package/dist/assets/{SpendManagementSection-dT-N4bSQ-C-KttH_X.js → SpendManagementSection-DKZNTYXT-mbKmW3pW.js} +25 -25
- package/dist/assets/{StatementItem-g5tfNBjV-Bi-hDsRm.js → StatementItem-Dyt5Q0eR-DHmcaJ-e.js} +4 -4
- package/dist/assets/StatementsPage-CbtnJM5y-COycJvfL.js +58 -0
- package/dist/assets/{StatusSwitcher-CaoFw0cf-GiyQU_ap.js → StatusSwitcher-BfQ9VbBH-DC0t3Flj.js} +5 -5
- package/dist/assets/SubTabSwitcher-CzGiuhk3-DLbV8WBg.js +58 -0
- package/dist/assets/{SummaryCard-B9wqNSwM-11v6O9yh.js → SummaryCard-D61xzK3a-DMSW9KNv.js} +1 -1
- package/dist/assets/TaskManagementPage-ucVAdv7x-AkXJlFwQ.js +508 -0
- package/dist/assets/TimeRangeSwitcher-C3jXm39I-tjiVSjZN.js +64 -0
- package/dist/assets/TimeframeSwitcher-CcYg-YQJ-C2j1iPoK.js +31 -0
- package/dist/assets/TimeframeSwitcherWithToggle-w4YJno-p-Bi4h2wB2.js +53 -0
- package/dist/assets/{TopExCard-BUjnGDUB-BeOEz96L.js → TopExCard-D2PRxvFc-DTkmCs_e.js} +6 -6
- package/dist/assets/{TopExDetailPage-CNDkfc3u-VyEyAB3F.js → TopExDetailPage-C0uHdU7N-CkEVyz2B.js} +16 -16
- package/dist/assets/{TransactionActivityLogPage-kSQqJVpX-D8owbjDl.js → TransactionActivityLogPage-CqYb19tY-v__opMvt.js} +17 -17
- package/dist/assets/TransactionDetailPage-D-NR_yZG-DdONq5Tf.js +921 -0
- package/dist/assets/TransactionList-f6yB-byH-Oxgdaak4.js +157 -0
- package/dist/assets/{TransactionListBig-Bx_Rm9ho-BGW14qc7.js → TransactionListBig-BrDWayQS-C0zQ3f5X.js} +18 -18
- package/dist/assets/TransactionListPage-C-Z62y2d-DnIWNXku.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-MjSH5hfq-DTvgMHfi.js → TransactionVendorDetailPage-CQQuAR6V-Dt6j0ppt.js} +6 -6
- package/dist/assets/{TransferDrawerPage-BayVa6po-BJ6bZeVh.js → TransferDrawerPage-DfFm-1-3-Dp1b_ezH.js} +36 -36
- package/dist/assets/TreasuryOverviewPage-CKSanlUG-BJ3RsJkb.js +725 -0
- package/dist/assets/{TreasuryPromoPage-BCjz1EKX-BpLLMqaI.js → TreasuryPromoPage-Dyip3H10-ClQVvPZy.js} +131 -131
- package/dist/assets/TreasuryStatementsPage-mljf2Van-DInZXjo_.js +58 -0
- package/dist/assets/TreasuryTaxLetterPage-D3cV3a-8-CcMHT6vj.js +58 -0
- package/dist/assets/{TrendChart-JTOG0a7B-BX9AXLFe.js → TrendChart-fFlHCvNx-DADa9lxz.js} +5 -5
- package/dist/assets/TrendWithTransactions-It4KDov3-BNez-K-6.js +116 -0
- package/dist/assets/{UncategorizedAccountsMappingPage-TGKYpC5A-BKFDwlEW.js → UncategorizedAccountsMappingPage-BxBz2Ce0-BSZYER7A.js} +15 -15
- package/dist/assets/{UnitIntegrationPage-mt2IjA5X-B32skQ8E.js → UnitIntegrationPage-gVgsk2ji-Dz79ORBq.js} +7 -7
- package/dist/assets/UploadAdditionalDocumentOverlay-C5m8jqup-5PpZVQjf.js +38 -0
- package/dist/assets/{Vendor2FAPopup-DAOf5cJD-DwjPPjyx.js → Vendor2FAPopup-DRwBzOwn-C-SwMKWw.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-By2Ya2bv-CjVBmCig.js +1 -0
- package/dist/assets/VendorDetailPage-jci1LqX3-QbESQx0s.js +257 -0
- package/dist/assets/VendorDomesticWireDetailsPage-uIDE-n5v-CEtT0uGT.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-CRnO7Ubw-pmmo56yS.js → VendorFiling1099EditablePage-8pYT3u-X-D-wgniGH.js} +14 -14
- package/dist/assets/VendorFirstReviewPage-CafakxA1-CDJXyRr2.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-HUtNyn9Z-DG0LXpvu.js → VendorInternationalWireDetailsPage-DJeI-ZFW-DlATitk5.js} +20 -20
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-Co-5nTam-Dq9Sjb3M.js +1 -0
- package/dist/assets/{VendorsAccountsSection-D6Qa1zf9-DAvIVphi.js → VendorsAccountsSection-YX2g8ETe-D60z7JWq.js} +2 -2
- package/dist/assets/{VerifyDevice-B6B_nk3v-KukwEAKH.js → VerifyDevice-DeHW4GAi-COYWduJ8.js} +9 -9
- package/dist/assets/{VideoPlayer-BRAgZThr-DwdwG0wP.js → VideoPlayer-DxIfGrPu-_quRL0IB.js} +2 -2
- package/dist/assets/{VideoPopup-C_SkBI9U-CKyfSxdc.js → VideoPopup-CUP7ctgS-CvuTwYjE.js} +3 -3
- package/dist/assets/{WarningsDrawerPage-B3gB3wW7-U-65Uxte.js → WarningsDrawerPage--s6b380L-kLxITMYx.js} +10 -10
- package/dist/assets/ZeniAccountDetailPage-7NdkdSg3-DUqxr3Vg.js +300 -0
- package/dist/assets/ZeniAccountListViewPage-B-cs_xnc-yymuGC8c.js +443 -0
- package/dist/assets/ZeniAccountNavBarPieces-CjRip0v9-CWaUJ8t5.js +33 -0
- package/dist/assets/{ZeniAccountPromoPage-BgYCHYLO-7ZsLis8J.js → ZeniAccountPromoPage-BikXtkeH-CZNOzkma.js} +23 -23
- package/dist/assets/ZeniAccountSetupPage-BRBsijVt-4J2hs6F_.js +36 -0
- package/dist/assets/{ZeniCopyright-BlLvlGZV-De808LkJ.js → ZeniCopyright-DDGvdmLF-BbItEQ1K.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-BNYgPwHs-D5MCod30.js → ZeniTransferAmountSlider-Cdg0TlHk-C5Juk6O6.js} +4 -4
- package/dist/assets/{add-to-wallet-DgdBD8_G-9o7lYnfw.js → add-to-wallet-DgdBD8_G-BPAwAHT2.js} +1 -1
- package/dist/assets/{analytics-DmFOON3n.js → analytics-B3XlZNQ8.js} +1 -1
- package/dist/assets/{analyticsHelper-DVXRlTVd.js → analyticsHelper-Bnej6boJ.js} +1 -1
- package/dist/assets/{analyticsHelper-CYr5V2MV-Bn9Jn6Ph.js → analyticsHelper-D9xdJK4b-C8beHKtm.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-DnOaYGVH.js → arrow-south-east-round-PEovUgvH-DYcTfV8-.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-iayeyD23.js → auto-transfer-rule-mbafm5D3-C0L9GopF.js} +1 -1
- package/dist/assets/chartTypes-Dq3hUz_T-D0weDXco.js +1 -0
- package/dist/assets/commonDimensions-CGHIQ2To-BXIDDuOd.js +1 -0
- package/dist/assets/{commonTypes-DsWS6Ccc-CTYDMfWt.js → commonTypes-BAJPaPYg-BqOkop1Y.js} +1 -1
- package/dist/assets/{constants-Dzfmb5Ph.js → constants-BcG8RJNm.js} +1 -1
- package/dist/assets/{core-0bnVVABN.js → core-DTlL91ob.js} +3 -53
- package/dist/assets/{dash.all.min-DHsg-lqM.js → dash.all.min-wCYxg1-F.js} +1 -1
- package/dist/assets/downloadPdf-BI2Y41h2-DmQ3wa5x.js +1 -0
- package/dist/assets/{empty-CBAa3J1a.js → empty-9h6tGMxX.js} +1 -1
- package/dist/assets/{empty-D_bRDFaE.js → empty-DTLC6acq.js} +1 -1
- package/dist/assets/epic-CSBGbcOS.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-DQBnQfK-.js → gift-box-Cmt9OgIZ-CvfvQG3y.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-DeDC5YLL.js → graphic-no-data-l-DU4J8fDt-ChqWps-8.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CmCQCnC3.js → graphic-no-data-net-burn-l-CzmycA0m-1sZH3huZ.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-DpmiuH3j.js → handshake-BPg58FML-C8qC_oIS.js} +1 -1
- package/dist/assets/{helper-BMiMbXMj-BAbwbOYZ.js → helper-z5-P4a-y-DCqj7mqg.js} +5 -5
- package/dist/assets/{index-CHSGbJVi.js → index-BRlvHWYX.js} +1 -1
- package/dist/assets/{index-iH933ICY.js → index-BTxAEBwp.js} +2 -8
- package/dist/assets/{index-CDxchNCh.js → index-CTllXPEB.js} +1 -1
- package/dist/assets/{index-mb2rrTlK.js → index-CXoFWELS.js} +1 -1
- package/dist/assets/{index-BOf3FulF.js → index-DA1Z8sqg.js} +1 -1
- package/dist/assets/{index-BN9gOVoX.js → index-DivE10Xm.js} +1 -1
- package/dist/assets/{index-B6YQjyMc.js → index-nssLOVFu.js} +5040 -5105
- package/dist/assets/{lexical-aEmQVmum.js → lexical-CoKvBbaA.js} +1 -1
- package/dist/assets/liveblocks-offUbtxr.js +54 -0
- package/dist/assets/lottie-Cqel28AC.js +2 -0
- package/dist/assets/mapLoadingInProgressToTreeNode-DrC2Zs2y-BuaBdgp1.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BkPRWtaj-sINzyEMC.js → mapSectionWithAcOnlyToTreeNode-dsBogxKz-D78gQ4Dn.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-DMDEaLzQ-ibbyX8vz.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-CW_wzI5T-he6bfb8d.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-DvfKBCs5-GyIWCN5D.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Ch2rvcz4-LpLxG78D.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CGdkzFsp-DlA9TyjC.js} +1 -1
- package/dist/assets/{mui-BMACe6Rq.js → mui-BVCBQYdL.js} +1 -9
- package/dist/assets/{page-detail-CWX5S47F-BHiPg_uV.js → page-detail-CWX5S47F-D1vlmLcE.js} +1 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-CSqoRxwG.js +3 -0
- package/dist/assets/{radio-default-CiSgisfh-DS1u1o7i.js → radio-default-CiSgisfh-BGMZB5pj.js} +1 -1
- package/dist/assets/{react-Bq4TJ-7l.js → react-BEal1Iuh.js} +2 -12
- package/dist/assets/{react-BM9QcOkQ.js → react-BXvNRT2q.js} +2 -12
- package/dist/assets/{react-CVtyWQMs.js → react-CLksnFSH.js} +2 -12
- package/dist/assets/{react-CtbvVn8_.js → react-CSBaF2r0.js} +2 -12
- package/dist/assets/{react-TZk5oBcm.js → react-C_JPVQ2C.js} +2 -12
- package/dist/assets/{react-DPF6cpPb.js → react-DRddHEvz.js} +2 -12
- package/dist/assets/react-QuNdLWH0.js +19 -0
- package/dist/assets/{react-gzX4tXLY.js → react-jkd7J1Kg.js} +3 -13
- package/dist/assets/{recharts-BogDwoBa.js → recharts-DAsNs3BU.js} +36 -44
- package/dist/assets/{sentry-PE_t7E3E.js → sentry-Fca4mdIl.js} +2 -17
- package/dist/assets/{shield-DOlUxcFf-DZBeAJz1.js → shield-DOlUxcFf-CRgtaaqW.js} +1 -1
- package/dist/assets/toCOABalancesWithID-P7keEtAg-DZcYuHA-.js +1 -0
- package/dist/assets/toChartData-BUf5HHim-DGDFToOH.js +1 -0
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-BVwF7gzx.js +1 -0
- package/dist/assets/{uploadAttachment-BlLqRIXe-BKyY67pY.js → uploadAttachment-DJA30WSD-CHN4VO1K.js} +32 -32
- package/dist/assets/uploadReceipts-CqDftTRt-Bj47leio.js +1 -0
- package/dist/assets/{url-DVzciwrr.js → url-DdD720VJ.js} +1 -1
- package/dist/assets/{url-syTA0K_c.js → url-DkjikAwv.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-BtTqIKk8.js → useLongPress-GCK2COYQ-DXicXlES.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-sua1EB0C.js → usp-line-BBd1wKwW-BQlBhf7H.js} +1 -1
- package/dist/assets/{utils-hiWEDg_f.js → utils-Cgs4R-d4.js} +4 -38
- package/dist/assets/zeni-epic-state-BZv12Eez.js +14 -0
- package/dist/index.html +1 -1
- package/package.json +6 -6
- package/dist/assets/ACHDetailsPage-fOu5grd7-Bx2C4blB.js +0 -21
- package/dist/assets/AccountInfoPage-o7hTXtgZ-B74V9GXq.js +0 -18
- package/dist/assets/AccountRow-CpftykFx-1CclEkfP.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-vecchYEf-DPMrCTyq.js +0 -6
- package/dist/assets/ApAgingDetailPage-BOV1WFVF-_lX-suFq.js +0 -46
- package/dist/assets/AppBasePage-DMlomvFS-BTCiknIH.js +0 -71
- package/dist/assets/AppDrawerContent-Dc2sHnR3-D8okbvYL.js +0 -92
- package/dist/assets/ApprovalRulesSettingsPage-BnbPSy4U-DSt1190C.js +0 -47
- package/dist/assets/ArAgingDetailPage-b_NpDpWj-DH_prAGq.js +0 -46
- package/dist/assets/BillDetailPage-7TMkWo3V-S7BIfZxn.js +0 -266
- package/dist/assets/BillPayPromoPage-AGffhbY3-BjWg1E0M.js +0 -84
- package/dist/assets/CardNumberSubText-DqtLT1w5-B46iNAOk.js +0 -21
- package/dist/assets/CollapsableReportTable-CDEe9s_E-D9cKaH7m.js +0 -2844
- package/dist/assets/ConfettiBurst-BizTW0hz-vSY8T_bA.js +0 -1
- package/dist/assets/CurrencySelectField-KvKyemY6-CJmA3Wvi.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-CRjwWFLJ-DO7DyeYZ.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-CWF_00EM-CXYa-GDt.js +0 -66
- package/dist/assets/DashboardSidebarBackgroundAnimation-UV2CZToG-B6y2S4Cq.js +0 -12
- package/dist/assets/DepositAccTransactionItem-BY_OvuKg-dj2FrVtH.js +0 -76
- package/dist/assets/DepositAccTransactionListPage-a__bpCOB-BluH7tQU.js +0 -66
- package/dist/assets/DomesticWireDetailsPage-BumMT4QM-CJrvKjn9.js +0 -21
- package/dist/assets/DownloadOverlay-DqiL3-FB-B8nIxgA_.js +0 -439
- package/dist/assets/EditPeoplePage-BcsdEp_d-DZzsTLqP.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-DNUmwdsH-B4a1wTnV.js +0 -865
- package/dist/assets/EntityDetailPage-DtX5TjBc-Cz9GurHm.js +0 -18
- package/dist/assets/ExpenseAutomationPage-B8C4BxoV-u_k6mu8a.js +0 -1703
- package/dist/assets/GlobalReviewListPage-4eiopkzw-S_0cIn_Q.js +0 -291
- package/dist/assets/InsightsSection-De9zu_me-wp-DJULP.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-CDf7equc-C1nheAmV.js +0 -65
- package/dist/assets/InvitePeoplePage-Db4P4ZEq-Bqa6PJOp.js +0 -12
- package/dist/assets/InvoiceUploadSection-DYCjz9CI-Di7iZ3rh.js +0 -140
- package/dist/assets/LabeledAddressValueField-C6-hVsPb-CtbiD4R7.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-CgZg0uOW-wOvZo1jz.js +0 -16
- package/dist/assets/LabeledDocumentField-Bp9m-OrP-6oGXwzm5.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-3-KekP79-BGZG_uLh.js +0 -59
- package/dist/assets/MagicLinkACHDetailsPage-C494txw0-CtQxqwR2.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-CONBCbOQ-u4Z3GzMp.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-BDRXSAO4-1yGDs4x9.js +0 -31
- package/dist/assets/MailingDetailsSection-DZT7JPlI-BX3TaQM5.js +0 -21
- package/dist/assets/MyPendingActivationChargeCardListPage-BJrk56oA-Bz1XOWUw.js +0 -6
- package/dist/assets/MyProfileSettingsPage-L9WuP6HZ-Bt0r3vIg.js +0 -85
- package/dist/assets/NotificationsListConfig-Bn1zmx6b-Byv3SuTE.js +0 -1
- package/dist/assets/NotificationsPage-DDwdR_Jq-CH4xdkvF.js +0 -685
- package/dist/assets/OpExByVendorPage-DukFYlqO-DkROpQmO.js +0 -100
- package/dist/assets/PandLWithForecastPage-Bgflh9Om-CgCfrHLq.js +0 -107
- package/dist/assets/PeoplePage-CDvKreQl-B9V6YZRP.js +0 -675
- package/dist/assets/ReimbursementDetailPage-oIC9QEyF-Uf6XrKw7.js +0 -314
- package/dist/assets/ReimbursementPromoPage-BKgsJieE-Ba5GJbn1.js +0 -84
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-CeyGWbKR-CiYOGkop.js +0 -1
- package/dist/assets/ReportTableViewSelector-CXDvZEbR-D-19omxr.js +0 -150
- package/dist/assets/ReportsPage-BoUyXSBC-BPepWXQn.js +0 -121
- package/dist/assets/RoleWithToolTip-C8x5yXaK-CQXsYwpy.js +0 -22
- package/dist/assets/ScheduleDetailsFixedAssetsPage-Bkp0mCOn-DeRr8BY-.js +0 -37
- package/dist/assets/ScheduleDetailsPage-Dg9rYJbn-CdqlXj9r.js +0 -37
- package/dist/assets/ScheduleSequenceTable-J6Eja8XA-DQymfbIV.js +0 -324
- package/dist/assets/SignIn-Cu2nzuEC-BHDNnRC4.js +0 -491
- package/dist/assets/SignInScreen-CvmuZ_lu.js +0 -1
- package/dist/assets/SpendManagementListViewPage-9V9u1jPF-C5LGJAJr.js +0 -134
- package/dist/assets/SpendManagementPerTabPage-COvEPq7V-AOv-04sa.js +0 -754
- package/dist/assets/StatementsPage-DaFrVUeK-BtS_jxBA.js +0 -58
- package/dist/assets/SubTabSwitcher-zrkVj1aP-CypqPMQM.js +0 -58
- package/dist/assets/TaskManagementPage-dAK9tl2b-DQNorVRE.js +0 -508
- package/dist/assets/TimeRangeSwitcher-r1TNqVRb-DyxsJ7t-.js +0 -64
- package/dist/assets/TimeframeSwitcher-DHfHCTa4-pMvLfkus.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-DvBvguRl-p_rilr-D.js +0 -31
- package/dist/assets/TransactionDetailPage-f7vWtXWL-DikOynRj.js +0 -903
- package/dist/assets/TransactionList-3-mUZOsw-6t-FD8kN.js +0 -153
- package/dist/assets/TransactionListPage-q6x4_jni-BvfvZkop.js +0 -35
- package/dist/assets/TreasuryOverviewPage-CuqWmrO5-CcwdLzTa.js +0 -708
- package/dist/assets/TreasuryStatementsPage-CGr00SXF-Ddcqn0VF.js +0 -58
- package/dist/assets/TreasuryTaxLetterPage-D9_qnlK4-DQDhOxJb.js +0 -58
- package/dist/assets/TrendWithTransactions-CTJhTpAM-CBPz9x-U.js +0 -116
- package/dist/assets/UploadAdditionalDocumentOverlay-DZfpwE5J-CmJMJ8QJ.js +0 -38
- package/dist/assets/VendorACHDetailsPage-CCOupiSZ-CMh3oX0P.js +0 -1
- package/dist/assets/VendorDetailPage-DufNphGD-CHkH3Fl_.js +0 -257
- package/dist/assets/VendorDomesticWireDetailsPage-BayV34Rt-a9y8S9df.js +0 -1
- package/dist/assets/VendorFirstReviewPage-DA0EL4RJ-C2ni5B1z.js +0 -730
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DRVMUeXi-BUPq8BsG.js +0 -1
- package/dist/assets/ZeniAccountDetailPage-Dp-eo-Vq-DVqZeKKS.js +0 -300
- package/dist/assets/ZeniAccountListViewPage-S-XmAYqD-CVsdQb-e.js +0 -441
- package/dist/assets/ZeniAccountNavBarPieces-DhjBxfEr-B3kNTCpc.js +0 -14
- package/dist/assets/ZeniAccountSetupPage-CvnIMdcY-Dd6KWWuP.js +0 -36
- package/dist/assets/chartTypes-40RenddT-cfd9O-7K.js +0 -1
- package/dist/assets/commonDimensions-BMnB1-xU-Dv2z_hsS.js +0 -1
- package/dist/assets/detailCommon-CrcyqWtZ-3mnJnM3j.js +0 -38
- package/dist/assets/downloadPdf-CUUx8PWn-DWs7sODc.js +0 -1
- package/dist/assets/epic-BDsnfsiq.js +0 -2
- package/dist/assets/liveblocks-t9znRICt.js +0 -67
- package/dist/assets/lottie-CQ9eYGiF.js +0 -9
- package/dist/assets/mapLoadingInProgressToTreeNode-DGnyXKBT-CjYqP6ia.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-CvGdU9Ma-DuWN8s0E.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-BCOsOvxo-DzqHbBKU.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DIqYP3NK-AJxyBrea.js +0 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-BQG398jA.js +0 -4
- package/dist/assets/react-DCKkBuNc.js +0 -37
- package/dist/assets/toCOABalancesWithID-DkMGvlEt-Bl2QmqAg.js +0 -1
- package/dist/assets/toChartData-C6s-eBzE-DllwI7S_.js +0 -1
- package/dist/assets/uploadReceipts-Dge0cNF1-BGDnYNyn.js +0 -1
- package/dist/assets/zeni-epic-state-DBzXvQ_H.js +0 -151
package/dist/assets/{BillPaySetUpPage-Cs5rkWBu-B8WDufb0.js → BillPaySetUpPage-B6Pd_eBf-BC27u6lI.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{y as Oe,X as De,aS as F,aa as $e,cQ as Ue,O as Re,aX as Z,V as t,fB as Le,p as He,ac as ze,x as u,bE as Me,L as qe,ae as Ne,fS as L,e4 as Ge,fT as Xe,by as Je,dV as Qe,c1 as Ze,fU as Ye,aT as Ke,o as z,fV as et,u as a,an as tt,bM as it}from"./index-nssLOVFu.js";import{a as m}from"./sentry-Fca4mdIl.js";import{n as b}from"./mui-BVCBQYdL.js";import{bG as nt}from"./zeni-epic-state-BZv12Eez.js";import{g as ot}from"./UploadAdditionalDocumentOverlay-C5m8jqup-5PpZVQjf.js";import"./liveblocks-offUbtxr.js";import"./core-DTlL91ob.js";import"./lottie-Cqel28AC.js";import"./recharts-DAsNs3BU.js";import"./analytics-B3XlZNQ8.js";import"./lexical-CoKvBbaA.js";import"./utils-Cgs4R-d4.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new e.Error().stack;p&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[p]="bdbb1174-1823-4e54-94e4-acf8a89ac00c",e._sentryDebugIdIdentifier="sentry-dbid-bdbb1174-1823-4e54-94e4-acf8a89ac00c")}catch{}})();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",W="billPayAccount",Ct=({billPaySetupView:e,isDisabled:p,billpayApprovalView:v,meetingUrl:C,showIntlWiseWidget:s,connectedAccountProvider:ee,isAccountsEnabled:te,isLocalCurrencyEnabled:ie,analytics:y,filesEndPoint:ne,authParams:oe,accountsPromoConfig:ae,onBackClick:le,onBusinessVerificationSectionClick:ce,onSetupApprovalRulesSectionClick:se,onFetchLinkTokenClick:de,onEstablishConnectionClick:re,onEstablishConnectionSuccess:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAccountClick:fe,onUpdatePaymentAccountStatus:he,onUpdatePaymentAccountLoginStatus:ge,onEnableBillPayClick:me,onEnableBillPaySuccess:M,onClickMenuIcon:be,onInternationPaymentSetUpClick:ye,onEditFileName:Se,onDeleteFile:Pe,updateFilesEntity:we,onCompanyOfficerUpdated:xe,onSendForVerificationClick:ve,onSignUpClick:Ce})=>{const k=Oe(),i=De(),[A,S]=m.useState(!1),q=m.useRef(null),{fetchState:f,updateStatus:P,accountUpdateStatus:ke,plaidConnectionDetails:_,allBankAccounts:Ae,companyBillPayInfo:T,isRefreshingViewInBackground:Te,selectedCompanyOfficer:c,primaryFundingAccount:d,allFundingAccounts:N}=e,h=T?.internationalWireOnboardingStatus,I=h==null||h.code==="onboarding_status_not_started",{fetchState:G,allApprovalRules:V,approvalRulesStatus:Ie}=v,O=_.link_account.updateStatus,D=_.update_account.updateStatus,B=F(f),X=F(P.fetchState),J=F(O.fetchState),Q=F(D.fetchState),w=$e({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>H(e),[e]),values:H(e)});m.useEffect(()=>{!A&&c?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&c.areAdditionalDocumentsRequestedForVerification&&!c.areAdditionalDocumentsSubmittedForVerification&&c.userVerificationStatus?.code==="require_info"&&S(!0),A&&B==="In-Progress"&&f==="Completed"&&S(!1)},[c,f,B]),m.useEffect(()=>{(B==="In-Progress"&&f==="Completed"||J==="In-Progress"&&O.fetchState==="Completed"||Q==="In-Progress"&&D.fetchState==="Completed")&&w.reset(H(e))},[B,f,w,e,J,O.fetchState,Q,D.fetchState]);const Ve=w.handleSubmit(x=>{y.trackEnableBillPay(),me()}),Be=async(x,E)=>{const o=E[W];if(x.includes(W)){if(x.includes("fundingAccount")){if(o.fundingAccount.selectedOption!=null&&d?.id!=o.fundingAccount.selectedOption){const g=N.find(R=>R.id===o.fundingAccount.selectedOption);g!=null&&pe(o.fundingAccount.selectedOption,g.accType)}}else if(o.account.selectedOption!=null&&d?.id!=null&&d?.zeniAccountId!=o.account.selectedOption){const g=o.account.allOptions.find(R=>R.value===o.account.selectedOption);g!=null&&typeof g.label=="string"&&y.trackConnectBankLink(g.value,g.label,"bill_pay"),fe(o.account.selectedOption,d.id,d.accType)}}};m.useEffect(()=>{const x=w.watch((E,{name:o})=>{o!=null&&E!=null&&Ue(()=>Be(o,E))});return()=>{x.unsubscribe()}}),m.useEffect(()=>{X==="In-Progress"&&P.fetchState==="Completed"&&M()},[M,X,P.fetchState]);const{commonSetUp:je,spendManagement:Ee}=Re.getLocalizedStrings(),{setUp:r}=je,{billPaySetup:l}=Ee.billPay,$=T?.isBusinessVerified===!0&&(d?.accType==="depositAccount"||nt(d?.providerVerificationStatus?.code??"")),U=T?.isBillPayEnabled===!0,Fe=$?r.setupVerifiedSubTitle:l.setupSubTitle,We=f==="In-Progress"||f==="Not-Started"||G==="In-Progress"||G==="Not-Started",j=k.mode==="light"?new Z(k.colors.brandColorJadeLight):new Z(k.colors.brandColorJadeDark),_e=()=>{!A&&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(Le,{anchor:"right",PaperProps:{style:{width:n.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>S(!1),style:{backgroundColor:He.drawerBackground},transitionDuration:250,"data-testid":ze("bill-pay-setup-drawer"),children:t.jsx(ot,{authParams:oe,filesEndPoint:ne,updateStatus:P,onEditFileName:Se,onDeleteFile:Pe,updateFilesEntity:we,companyOfficer:c,onClose:()=>S(!1),onCompanyOfficerUpdated:xe,onSendForVerificationClick:ve})}),t.jsx(Me,{title:l.setupTitle,style:{zIndex:3},onBackClick:le,showMenuIcon:!U&&(i==="medium-compact"||i==="small"),onClickMenuIcon:be,scrollableContent:q,backgroundColor:k.colors.grey4,source:"BillPaySetUpPage"}),t.jsxs(dt,{windowSize:i,children:[t.jsx(st,{windowSize:i,children:Fe}),We?t.jsx(rt,{children:t.jsx(qe,{size:"ExtraLarge",start:!0})}):t.jsxs(at,{children:[t.jsx(Ne,{...w,children:t.jsx("form",{id:K(Y),onSubmit:Ve,children:t.jsxs(ut,{windowSize:i,children:[t.jsx(L,{onClick:_e,title:r.businessVerificationTitle,subTitle:r.businessVerificationSubTitle,header:r.businessVerificationHeader,icon:{element:t.jsx(Ge,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:j},status:T?.businessVerificationStatus,isLoading:Te,isActiveWhileLoading:!0}),t.jsx(Xe,{connectedAccountProvider:ee,primaryFundingAccount:d,allFundingAccounts:N,plaidConnectionDetails:_,allBankAccounts:Ae,sectionId:W,isDisabled:p,onFetchLinkTokenClick:de,onEstablishConnectionClick:re,onUpdatePaymentAccountStatus:he,onUpdatePaymentAccountLoginStatus:ge,onEstablishConnectionSuccess:ue,icon:{element:t.jsx(Je,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:j},analytics:y,productType:"bill_pay",isAccountsEnabled:te,onSignUpClick:Ce,pageName:"Bill Pay Setup",accountsPromoConfig:ae}),t.jsx(L,{title:V.length>0?r.approvalTitle:r.createApprovalTitle,subTitle:l.approvalSubTitle,header:V.length>0?r.approvalHeader:r.setupApprovalHeader,icon:{element:t.jsx(Qe,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:j},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},onClick:se,status:V.length>0?Ie:void 0})]})})}),s===!0?t.jsx(L,{title:I?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:j},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},isClickable:!0,onClick:()=>{I&&y.trackEnableIntlWire(ie),ye?.()},status:I?void 0:{name:h.name,code:h.code},statusInfoIcon:h?.code==="verification_pending"||h?.code==="verification_failed"?t.jsx(Ze,{title:h.code==="verification_pending"?l.tooltipTexts.pendingInternationalVerificationText:l.tooltipTexts.internationalVerificationFailed,children:t.jsx(ct,{})}):void 0,shouldHover:!0,showRightArrow:I}):null]})]}),$&&!U&&V.length>0?t.jsx(Ke,{formId:K(Y),primaryBtn:{label:l.enableBillPay,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:P.fetchState==="In-Progress"||ke.fetchState==="In-Progress",isDisabled:p!=null},showCancel:!1,helperText:l.terms,cancelBtn:{label:""},style:{padding:`12px ${z.sp3}`}}):null,t.jsx(et,{isFooterRendered:$&&!U,meetingUrl:C,analytics:y,productType:"bill_pay"})]})},at=b.div``,lt=b.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-height: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -7,8 +7,8 @@ import{d as $e,J as De,aS as F,aa as Oe,cH as Re,O as Ue,aX as K,V as t,ff as He
|
|
|
7
7
|
height: 100vh;
|
|
8
8
|
overflow-y: auto;
|
|
9
9
|
`,ct=b(it)`
|
|
10
|
-
width: ${
|
|
11
|
-
height: ${
|
|
10
|
+
width: ${z.sp3};
|
|
11
|
+
height: ${z.sp3};
|
|
12
12
|
color: ${e=>e.theme.colors.hero};
|
|
13
13
|
&:hover {
|
|
14
14
|
color: ${e=>e.theme.colors.primary};
|
|
@@ -39,4 +39,4 @@ import{d as $e,J as De,aS as F,aa as Oe,cH as Re,O as Ue,aX as K,V as t,ff as He
|
|
|
39
39
|
display: flex;
|
|
40
40
|
flex-direction: column;
|
|
41
41
|
row-gap: ${e=>n.sectionRowGap.valuePx(e.windowSize)};
|
|
42
|
-
`,
|
|
42
|
+
`,H=e=>{const{allBankAccounts:p,allFundingAccounts:v,primaryFundingAccount:C}=e;return{[W]:{fundingAccount:{selectedOption:C?.id,allOptions:v.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:C?.zeniAccountId,allOptions:p.map(s=>({label:s.accountName,value:s.accountId}))}}}},K=e=>`${e}_form`;export{Ct as default,K as uniqueName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{y as be,X as we,aa as Ce,cQ as Pe,aX as k,O as xe,V as t,x as P,bE as Ie,L as Ae,ae as ve,by as je,cR as ke,aT as $e,o as s,i3 as Te,fn as Ve,fo as De,u as x,an as Ee,hb as Be,p as Le,N as Oe}from"./index-nssLOVFu.js";import{a as R}from"./sentry-Fca4mdIl.js";import{n as r}from"./mui-BVCBQYdL.js";import{M as ze,o as H,t as Me}from"./PaymentAccountSetupBillingAddressSection-BWFl695q-DUUCCWV6.js";import{F as _e}from"./SetUpAccountSection-DYRWWXcL-D3Lz2J4N.js";import"./liveblocks-offUbtxr.js";import"./core-DTlL91ob.js";import"./zeni-epic-state-BZv12Eez.js";import"./lottie-Cqel28AC.js";import"./recharts-DAsNs3BU.js";import"./analytics-B3XlZNQ8.js";import"./lexical-CoKvBbaA.js";import"./utils-Cgs4R-d4.js";import"./commonTypes-BAJPaPYg-BqOkop1Y.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="c820cb23-982f-4848-83dc-bce2a7668f1b",e._sentryDebugIdIdentifier="sentry-dbid-c820cb23-982f-4848-83dc-bce2a7668f1b")}catch{}})();const p={titleWidth:new P(343,580,726,826),setupDetailsRowGap:new P(12,x[5],x[5]),iconWidthHeight:new P(20,x[4]),subTitlePaddingTop:new P(12,x[3])},Re={title:new Oe("standardSemiBold","largeSemiBold")},W="billingSetupPage",I="payAccountSectionId",n="subscriptionBillingAddressSectionId",ct=({analytics:e,billingSetupView:i,connectedAccountProvider:m,isDisabled:d,onClickMenuIcon:A,uiState:F,stripeKey:K,googleAPIKey:q,companyId:G,onUpdateAccountClick:J,onFetchLinkTokenClick:Q,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionClick:Z,onEstablishConnectionSuccess:ee,handleCreateCardSetupIntent:te,handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:$,handleAddCardPaymentSource:ie,resetCardPaymentViewState:oe,handleResetCardPaymentErrorStatuses:ae,onBillingAddressSave:se,onAddressEditHandler:re})=>{const w=be(),o=we(),{setupView:{paymentAccount:y,plaidConnectionDetails:de,allBankAccounts:le,accountFetchStatus:T},cardPaymentView:h}=i,ce=i.subscriptionBillingAddress,V=y?.providerVerificationStatus,ue=T.fetchState==="In-Progress"||T.fetchState==="Not-Started",f=Ce({mode:"onSubmit",reValidateMode:"onChange",defaultValues:N(i),values:N(i),resetOptions:{keepDirtyValues:!0}}),pe=f.handleSubmit(c=>{se(G)}),D=i.subscriptionBillingAddressSaveStatus,me=async(c,a)=>{const g=a[I];if(c.includes(n)&&a[n]!=null){const v=f.getValues(`${n}`).country;let u=a[n];if(c.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:b}=a[n].street,j=Ve(b?.country);u={street:a[n].street??l.strings.empty,city:b?.locality??l.strings.empty,state:b?.administrativeAreaLevel1??l.strings.empty,country:j,countryCode:b?.countryCode??l.strings.empty,postalCode:b?.postalCode??l.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},v.selectedOption!==j.selectedOption&&(u={...u,country:j})}else c===`${n}.country`&&v.selectedOption!=null&&(u={...u,countryCode:De(v.selectedOption)});u!=null&&re(u)}else c.includes(I)&&g.account.selectedOption!=null&&y?.paymentAccountId!=null&&y.zeniAccountId!==g.account.selectedOption&&J(g.account.selectedOption,y.paymentAccountId)};R.useEffect(()=>{const c=f.watch((a,{name:g})=>{g!=null&&a!=null&&Pe(()=>me(g,a))});return()=>{c.unsubscribe()}});const E=w.mode==="light"?new k(w.colors.brandColorJadeLight):new k(w.colors.brandColorJadeDark),{customerOnboardingPage:{sections:{link_payment_account:he,card_payment_method:S}},common:l,billingSetupPage:B}=xe.getLocalizedStrings(),ge=B.section.subTitle,{text:ye,subText:fe}=he,L=h.cardsList.length>0,O=h?.cardsList[0]?.brand??"other",z=h?.addCardPaymentSourceStatus.fetchState,C=ze(S.header,S.titleText,S.protectedCardNo,h);let M;L&&(M={header:C.header,title:C.title,subtitle:C.subtitle,status:C.status==="valid"?{name:"Verified",code:"verified"}:{name:"Pending",code:"pending"},showAddPaymentMethodDropDown:L===!0,icon:{element:t.jsx("img",{src:H(O).iconURL,width:p.iconWidthHeight.valuePx(o),height:p.iconWidthHeight.valuePx(o),alt:H(O).name}),color:new k(E)},showCompletedIcon:!1,isError:z==="Error",isLoading:z==="In-Progress",isCompleted:!0,showRightArrow:!1});const[_,Se]=R.useState(!1);return t.jsxs(We,{children:[t.jsx(Ie,{source:"BillingSettingsPage",title:B.section.title,backgroundColor:w.colors.grey4,style:{zIndex:3},showBackButton:!1,showMenuIcon:o==="medium-compact"||o==="small",onClickMenuIcon:A}),t.jsxs(He,{windowSize:o,children:[t.jsx(Ne,{windowSize:o,children:ge}),ue?t.jsx(Ue,{children:t.jsx(Ae,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...f,children:t.jsx(Je,{children:t.jsx("form",{id:U(W),onSubmit:pe,children:t.jsxs(Fe,{windowSize:o,children:[t.jsx(_e,{connectedAccountProvider:m,paymentAccount:y,plaidConnectionDetails:de,allBankAccounts:le,header:S.header,sectionTitle:S.header,defaultSectionTitle:ye,defaultSectionSubTitle:fe,sectionId:I,isDisabled:d,onFetchLinkTokenClick:Q,onEstablishConnectionClick:Z,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionSuccess:ee,isError:V?.code==="require_info"||V?.code==="failed",icon:{element:t.jsx(je,{width:p.iconWidthHeight.valuePx(o),height:p.iconWidthHeight.valuePx(o)}),color:E},analytics:e,productType:"billing",updateCardPaymentModalState:$,cardPaymentSectionValues:M,cardPaymentView:h,resetCardPaymentViewState:oe,showZeniAccountSection:!1,referrer:"Billing",cardSetupInProgress:_}),Ke(o,l.headers.billingAddress,ce,q,d)]})})})}),ke(f.formState.dirtyFields)?t.jsx($e,{formId:U(W),style:{width:o==="small"?"auto":"100%",paddingTop:s.sp2,paddingBottom:s.sp2,height:s.sp8},primaryBtn:{label:l.footer.save,isLoading:D?.fetchState==="In-Progress",isDisabled:D?.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:h,isCardPaymentOpen:F.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:ae,stripeKey:K,cardSetupInProgress:_,setCardSetupInProgress:Se})]})},N=e=>{const{paymentAccount:i,allBankAccounts:m}=e.setupView;return{[I]:{account:{selectedOption:i?.zeniAccountId,allOptions:m.map(d=>({label:d.accountName,value:d.accountId}))}},[n]:Te(n,e.subscriptionBillingAddress)[n]}},He=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: space-between;
|
|
4
4
|
height: 100%;
|
|
@@ -12,7 +12,7 @@ import{d as we,J as be,aa as Pe,cH as Ce,aX as k,O as xe,V as t,y as C,bE as Ie,
|
|
|
12
12
|
flex-direction: column;
|
|
13
13
|
width: 100%;
|
|
14
14
|
background-color: ${e=>e.theme.colors.grey4};
|
|
15
|
-
`,
|
|
15
|
+
`,Ne=r(Ee)`
|
|
16
16
|
color: ${e=>e.theme.colors.hero};
|
|
17
17
|
display: flex;
|
|
18
18
|
justify-content: center;
|
|
@@ -31,14 +31,14 @@ import{d as we,J as be,aa as Pe,cH as Ce,aX as k,O as xe,V as t,y as C,bE as Ie,
|
|
|
31
31
|
`,Fe=r.div`
|
|
32
32
|
display: flex;
|
|
33
33
|
flex-direction: column;
|
|
34
|
-
`,Ke=(e,i,m,d,A)=>t.jsxs(
|
|
34
|
+
`,Ke=(e,i,m,d,A)=>t.jsxs(qe,{children:[t.jsx(Ge,{windowSize:e,isDisabled:A==="disabled",children:i}),t.jsx(Be,{googleAPIKey:d??"",addressToEdit:m,sectionId:`${n}`,style:{marginLeft:"0px"},elementsStyle:{paddingRight:"0px"}})]}),qe=r.div`
|
|
35
35
|
margin-top: ${s.sp3};
|
|
36
36
|
margin-bottom: ${s.sp4};
|
|
37
|
-
`,
|
|
38
|
-
${e=>`${
|
|
37
|
+
`,Ge=r.div`
|
|
38
|
+
${e=>`${Re.title.style(e.windowSize)}`};
|
|
39
39
|
margin-bottom: ${s.sp3};
|
|
40
40
|
margin-top: ${s.sp4};
|
|
41
|
-
color: ${e=>e.isError===!0?
|
|
42
|
-
`,
|
|
41
|
+
color: ${e=>e.isError===!0?Le.important:e.isDisabled===!0?e.theme.colors.grey1:e.theme.colors.primary};
|
|
42
|
+
`,Je=r.div`
|
|
43
43
|
flex: 1;
|
|
44
44
|
`,U=e=>`${e}_form`;export{ct as default,U as uniqueName};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{V as
|
|
1
|
+
import{V as v,cy as V,cz as q,cA as z,kq as M,a_ as W,O as H}from"./index-nssLOVFu.js";import{a as f}from"./sentry-Fca4mdIl.js";import{Hf as J}from"./zeni-epic-state-BZv12Eez.js";import{u as X}from"./ReviewOverlay-CUnL7H-a-BjFaE0id.js";import"./liveblocks-offUbtxr.js";import"./core-DTlL91ob.js";import"./mui-BVCBQYdL.js";import"./recharts-DAsNs3BU.js";import"./lottie-Cqel28AC.js";import"./analytics-B3XlZNQ8.js";import"./lexical-CoKvBbaA.js";import"./utils-Cgs4R-d4.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="55f416da-637f-4873-b90d-267b9b5d956b",e._sentryDebugIdIdentifier="sentry-dbid-55f416da-637f-4873-b90d-267b9b5d956b")}catch{}})();const{common:s,spendManagement:{billPay:x}}=H.getLocalizedStrings(),o=x.bulkActions;let I;const de=({billsReviewView:e,analytics:r,onProceedForBulkActionClick:l,onCloseReviewItem:t,onCloseOverlay:c})=>{const{fetchState:m,bulkSubmissionFetchState:a,bulkOperationTypeSelected:i,currentTab:g,currentSubTab:_}=e,u=i==="review",[C,w]=f.useState(!1),[n,b]=f.useState(T(e,u)),[p,k]=f.useState(u),[P,E]=f.useState(0),[y,j]=f.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});f.useEffect(()=>(u&&(I=setInterval(()=>{b(d=>d.map((S,L)=>(clearInterval(I),L===P?{...S,reviewStatus:{isLoading:!1,code:"valid"}}:S))),E(d=>d+1)},1e3)),P===n.length&&p&&(k(!1),clearInterval(I)),!u&&e.fetchState==="Completed"&&b(T(e,!1)),()=>{clearInterval(I)}),[n.length,P,p,e.fetchState,u,e]);const R=n.length,h=n.filter(d=>d.reviewStatus.code!=="error").length,A=()=>{const{title:d,description:S}=Z(h);j({type:"reject",title:d,description:S,primaryButtonText:s.texts.confirm,secondaryButtonText:s.texts.close}),r.trackBillPayBulkSubmit(i,g,_),w(!0)},D={onOkClick:d=>{w(!1),r.trackBillPayBulkPopupConfirm(i,g,_,Y(e)),l("reject",d)},onCancelClick:()=>{w(!1)}},{title:N,description:F}=G(m,h,R,p),B=e.fetchState==="Completed"&&h===0,$=()=>{r.trackBillPayBulkSubmit(i,g,_),l(i)},U={label:B?s.texts.close:i==="send_for_approval"?s.footer.submit:s.footer.approve,isDisabled:m!=="Completed"||i==="reject"&&a==="In-Progress",isLoading:a==="In-Progress"&&(i==="send_for_approval"||i==="approve"),onClick:B?c:$,style:i==="send_for_approval"?{minWidth:"92px"}:{}},O={label:i==="send_for_approval"?s.texts.goBack:s.footer.reject,isDisabled:i!=="reject"&&a==="In-Progress",isLoading:i==="reject"&&a==="In-Progress",reverseSpinnerColor:!1,onClick:i==="send_for_approval"?c:A,style:i==="approve"?{minWidth:"92px"}:{}};return v.jsxs(v.Fragment,{children:[C?v.jsx(V,{titleComponent:v.jsx(z,{children:y.title}),descriptionComponent:v.jsx(q,{children:y.description}),primaryButtonText:y.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:y.secondaryButtonText,action:D,isNotesIncluded:!0,isEditPopup:!0}):null,v.jsx(X,{title:N,description:{content:F,isError:e.fetchState==="Completed"&&h===0},reviewItems:n,onCloseReviewItem:t,onCloseOverlay:c,showFooter:e.fetchState==="Completed"&&!p,footerProps:{primaryButton:U,cancelButton:O,hideCancel:B}})]})},T=(e,r)=>{const l=e.fetchState==="In-Progress";return e.billsForReview.map(t=>({id:t.transactionId,leftSideText:{title:t.vendorName?t.vendorName:x.billDetails.newBillTitle,subTitle:`${x.billDetails.invoiceNo} ${t.invoiceNumber?t.invoiceNumber:s.strings.hyphen}`},rightSideText:{title:W("0,0.[00]",t.amount?.amount,t.amount?.currencySymbol),showThunderIcon:t.reviewErrors?.length===1&&J(t.reviewErrors[0].reviewErrorCode),subTitle:K(t.reviewStatus==="warning",t.reviewErrors?.map(c=>c.reviewInfoMessage)),additonalInfo:t.reviewErrors!=null&&t.reviewErrors.length>1?o.reviewPage.removeOrProceed:void 0},reviewStatus:{isLoading:r?!0:l,code:t.reviewErrors?.length===1&&t.reviewErrors[0].reviewErrorCode==="ERR_INSUFFICIENT_FUNDS"?"low-balance":t.reviewStatus??""}}))},Y=e=>{const r=e.billsForReview;let l=[];return r.forEach(t=>{l=M([...l,t.isRecurring?"recurring":"one-time"])}),l},Z=e=>{const{this_:r,these:l,bill:t,bills:c,payment:m,payments:a}=s.texts;return e>1?{title:o.popUps.reject.title.replace("<_payment_>",o.payments),description:o.popUps.reject.description.replaceAll("<_this_>",l).replaceAll("<_payment_>",a).replaceAll("<_bill_>",c)}:{title:o.popUps.reject.title.replace("<_payment_>",o.payment),description:o.popUps.reject.description.replaceAll("<_this_>",r).replaceAll("<_payment_>",m).replaceAll("<_bill_>",t)}},G=(e,r,l,t)=>{const{has:c,have:m,bill:a,bills:i,are:g,is:_,do_:u,does:C}=s.texts,w=r>1,n=l>1;let b="",p="";return e==="Completed"&&!t?(b=o.reviewPage.billsReviewed.title.replace("<_bill_>",n?x.bulkActions.bills:o.bill).replace("<_has_>",n?m:c),r===0?p=o.reviewPage.billsReviewed.descriptionError.replace("<_bill_>",n?i:a).replace("<_do_>",n?u:C):p=`${r}/${l} ${o.reviewPage.billsReviewed.description.replace("<_bill_>",l>1?i:a).replace("<_is_>",w?g:_)}`):(b=o.reviewPage.billsReviewing.title.replace("<_bill_>",n?i:a),p=o.reviewPage.billsReviewing.description.replace("<_bill_>",n?i:a)),{title:b,description:p}},K=(e,r)=>{if(r?.length!=null){if(r.length>1)return r.join(` ${s.strings.dividerDot} `);if(r.length===1)return e?r[0]+`${s.strings.colon} ${o.reviewPage.removeOrProceed}`:r[0]}return""};export{de as default,Y as getBillsUniqueType};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{X as l,V as s,ac as b,o as e}from"./index-nssLOVFu.js";import{n as a}from"./mui-BVCBQYdL.js";import{o as p}from"./commonDimensions-CGHIQ2To-BXIDDuOd.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new o.Error().stack;r&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[r]="5bd8479a-aced-404f-93bf-62e5c6fc7963",o._sentryDebugIdIdentifier="sentry-dbid-5bd8479a-aced-404f-93bf-62e5c6fc7963")}catch{}})();const m=(o,r)=>r===1?"roundedBox":o===0?"topRoundedBox":o===r-1?"bottomRoundedBox":"box";function g({content:o,boxType:r,isDisabled:d=!1,isNotClickable:t=!1}){const i=l();switch(r??"roundedBox"){case"topRoundedBox":return s.jsx(h,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("top-rounded-box",r),children:o});case"bottomRoundedBox":return s.jsx(u,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("bottom-rounded-box",r),children:o});case"box":return s.jsx(x,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("box",r),children:o});case"roundedBox":return s.jsx(n,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("rounded-box",r),children:o})}}const n=a.div`
|
|
2
2
|
box-sizing: border-box;
|
|
3
3
|
cursor: ${o=>o.isDisabled||o.hideCursor===!0?"default":"pointer"};
|
|
4
4
|
min-height: ${o=>p.transactionItemHeightResponsive.valuePx(o.windowSize)};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import{d as dt,J as ut,aS as Te,V as a,af as G,aa as pt,cX as mt,az as ft,cH as yt,a_ as ve,aQ as Oe,ge as ht,i as gt,bE as xt,aR as St,cI as wt,cr as Ct,cs as bt,ct as Dt,T as Tt,ad as vt,aT as Ot,o as l,y as F,an as Ve,O as je,gf as It,fC as Ie,f1 as Nt,R as $t,x as kt,am as Ae,H as Pt,B as Ft,u as N}from"./index-B6YQjyMc.js";import{a as V}from"./sentry-PE_t7E3E.js";import{n as d}from"./mui-BMACe6Rq.js";import{ES as Vt,bi as Y,Fn as jt,Fm as At,Fo as _t}from"./zeni-epic-state-DBzXvQ_H.js";import{r as Lt,z as Bt}from"./CompanyOfficerDetailsSection-BaPhFsLx-CpwNpffC.js";import"./liveblocks-t9znRICt.js";import"./core-0bnVVABN.js";import"./recharts-BogDwoBa.js";import"./lottie-CQ9eYGiF.js";import"./analytics-DmFOON3n.js";import"./lexical-aEmQVmum.js";import"./utils-hiWEDg_f.js";import"./helper-BMiMbXMj-BAbwbOYZ.js";import"./LabeledAddressValueField-C6-hVsPb-CtbiD4R7.js";import"./LabeledCountryMultiSelectField-sj8p7Rne-BCnpPBJo.js";import"./LabeledCreatableSingleSelectField-DUTQh416-DhVqlBC1.js";import"./LabeledDocumentField-Bp9m-OrP-6oGXwzm5.js";import"./commonTypes-DsWS6Ccc-CTYDMfWt.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},S=new t.Error().stack;S&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[S]="b7595b55-1812-4b17-a9dd-e9993e5db011",t._sentryDebugIdIdentifier="sentry-dbid-b7595b55-1812-4b17-a9dd-e9993e5db011")}catch{}})();const x={width:new F(343,580,726),titleWidth:new F(343,580,726,826),subTitlePaddingTop:new F(12,N[3]),subTitlePaddingBottom:new F(N[3],N[3]),verificationDetailsRowGap:new F(12,N[5],N[5]),termsPaddingLeftRight:new F(N[0],N[3])},zt={stepTitle:new Pt("h6Regular","h5Regular")},Ne="businessVerificationPage",D="companyDetails",T="companyOfficerDetails",{commonSetUp:{businessVerification:s},common:{settings:Et,currency:$e,footer:ke,strings:{empty:Rt}}}=je.getLocalizedStrings(),va=({businessVerificationDetails:t,allNationalityCountries:S,verficationDetailsFetchState:$,isRefreshingViewInBackground:L,filesEndPoint:i,authParams:B,productType:y,allIndustries:j,companyTitles:z,maxInsuredAmount:m,isDisabled:k,isSettings:o=!1,isOverlay:h=!1,analytics:g,isStepInProgress:w=!1,isTreasuryTransferInitiated:J=!1,transferDetails:E,onOverlayClose:te,onAddressClick:ae,onRegisteredAddressClick:Le,onBackClick:A,onGetOtp:Be,onVerifyOtp:ze,onResendOtp:Ee,onSendForVerificationClick:Re,onEditFileName:ie,onCompanyDetailsChanged:Ue,updateFilesEntity:se,onDeleteFile:ne,onDeleteFileList:Me,onCompanyOfficerUpdated:We,saveNewAddressInLocalStore:oe,onSaveDetailsClick:Ge,onClickMenuIcon:Ye,onExecuteTreasuryTransfer:Je})=>{const Ze=dt(),u=ut(),{updateStatus:R,companyView:_,companyDetailsLocalData:r,companyOfficerLocalData:C}=t,qe=Te(R.fetchState),U=_?.company.company.featuresActivationInfo.connectedAccountProvider,He=U==="unit"?a.jsxs(Ht,{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,[Ke,Z]=V.useState(!1),[M,re]=V.useState("save"),[q,Qe]=V.useState(!1),p=pt({mode:"all",reValidateMode:"onChange",defaultValues:Ut(t,j,z,S)}),{isValid:Xe}=p.formState,W=_?.company.company.companyBillPayInfo,H=_?.company.company.companyTreasuryInfo,P=y==="zeni_treasury"?H?.companyVerificationStatus:W?.companyVerificationStatus,v=Object.values(C).findIndex(e=>e?.isSelectedForVerification===!0),O=`Officer_${v<0?1:v+1}`,et=()=>{const e=C[O],n=e?.email,c=e?.birthday?.toString(),f=e?.ownershipInCompany,b=e?.firstName,I=e?.lastName,ue=e?.titleAtCompany,pe=e?.documentTypeSelectedForVerification,me=e?.phone,fe=e?.addressStatus?.addressToCreate,ye=fe!=null?Y(fe):void 0,he=r?.companyDescription,X=r?.companyLegalName,ge=r?.companyIndustry,xe=r?.phone,Se=r?.website,we=r?.addressStatus?.addressToCreate!=null?Y(r?.addressStatus?.addressToCreate):void 0,ee=r?.primaryContactLocalData,Ce=ee?.firstName,be=ee?.lastName,De=ee?.email;n!=null&&f!=null&&b!=null&&I!=null&&c!=null&&ue!=null&&me!=null&&ye!=null&&pe!=null&&he!=null&&X!=null&&xe!=null&&Se!=null&&ge!=null&&X!=null&&we!=null&&Ce!=null&&be!=null&&De!=null&&g?.trackBusinessVerificationSend({email:n,birthday:c.toString(),companyOwnership:f,firstName:b,lastName:I,companyRole:ue,phone:me,formattedAddress:ye,documentTypeForVerification:pe},{companyDescription:he,legalName:X,phone:xe,website:Se.toString(),industry:ge,formattedAddress:we},{firstName:Ce,lastName:be,email:De},y,o?"Settings":void 0)},tt=()=>{const e=C[O],n=r?.primaryContactLocalData,c=e?.email??"",f=!!e?.firstName&&!!e?.lastName,b=n?.email??"",I=!!n?.firstName&&!!n?.lastName;return c&&!f?((!e?.firstName||!e?.lastName)&&p.trigger(`${T}.${v<0?0:v}.name`,{shouldFocus:!0}),!1):b&&!I?((!n?.firstName||!n?.lastName)&&p.trigger(`${D}.primaryContactName`,{shouldFocus:!0}),!1):!0},at=()=>{const e=C[O],n=r?.primaryContactLocalData,c=e?.email,f=n?.email;if(c){if(!f)return(n?.firstName||n?.lastName)&&p.trigger(`${D}.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||K!=null&&K?.length>0)return p.trigger(`${T}.${v<0?0:v}.email`,{shouldFocus:!0}),!1;return!0},it=p.handleSubmit(()=>{if(M!=="verification"&&re("verification"),U==="unit"&&C[O]?.isPhoneVerified!==!0){p.setError(`${T}.${v}.phone`,{type:"custom"});return}const e=mt(Object.values(C).map(c=>Object.values(c?.deleteFileStatusById??{}).filter(f=>f!=null))),n=Object.values(r?.deleteFileStatusById??{}).filter(c=>c!=null);Vt(e.concat(n)).fetchState!=="In-Progress"&&Xe&&(et(),Re?.(O),J===!0&&Je?.())}),st=async(e,n)=>{e.includes(D)?Ue?.(n[D]):e.includes(T)&&We?.(n[T])},nt=V.useCallback(ft((e,n)=>{st(e,n)},300),[]);V.useEffect(()=>{const e=p.watch((n,{name:c})=>{c!=null&&n!=null&&yt(()=>nt(c,n))});return()=>{e.unsubscribe()}});const le=Te(t.companyDetailsLocalData?.addressStatus);V.useEffect(()=>{t.companyDetailsLocalData?.addressStatus?.addressToCreate!=null&&t.companyDetailsLocalData?.registeredAddressStatus?.addressToCreate==null&&le==null&&(oe?.("company_registered_address",t.companyDetailsLocalData?.addressStatus?.addressToCreate),p.setValue(`${D}.registeredAddress`,t.companyDetailsLocalData?.addressStatus?.addressToCreate))},[t.companyDetailsLocalData?.addressStatus,t.companyDetailsLocalData?.registeredAddressStatus,le,oe,p]);const ce=_?.companyOfficers.slice(0,10).sort((e,n)=>e.user.createTime?.isAfter(n.user.createTime)===!0?1:-1),K=ce?.map(e=>e.user),ot=ce?.map(e=>e.role),rt={onOkClick:()=>{Z(!1),A();const e=[],n=_?.company.company.incInfo.fileIds??[];p.getValues(`${D}.fileIds`).forEach(c=>{n.includes(c)||e.push(c)}),ot?.forEach((c,f)=>{const b=c?.fileIds??[];p.getValues(`${T}.${f}.fileIds`).forEach(I=>{b.includes(I)||e.push(I)})}),e.length!==0&&Me?.(e)},onCancelClick:()=>{Z(!1)}},lt=ve(Oe(m),m,$e.currencySymbol).toUpperCase(),Q=P?.code==="pending_review"||P?.code==="verified",de=(E?.treasuryTransferMoneyLocalData?.amount?.amount??0)>0;if(y==="zeni_treasury"&&P?.code==="pending_review"&&qe==="In-Progress"&&R.fetchState==="Completed")return a.jsxs(ia,{children:[a.jsxs(sa,{children:[a.jsx(ht,{}),a.jsx(na,{windowSize:u,children:J===!0?s.submittedTitleWithTransfer:s.submittedTitle}),a.jsx(aa,{isReadonly:!1,children:J===!0?s.submittedDescriptionWithTransfer.replace("__amount__",ve(Oe(E?.treasuryTransferMoneyLocalData?.amount?.amount??0),E?.treasuryTransferMoneyLocalData?.amount?.amount??0,$e.currencySymbol)).replace("__account__",E?.treasuryTransferMoneyLocalData?.fromAccount?.label??""):s.submittedDescription})]}),a.jsx(gt,{label:s.submittedButton,onClick:()=>{A(),te?.()},variant:"primary"})]});const ct=()=>{const e=W?.companyVerificationStatus?.code==="verified",n=(r?.countriesOfOperations?.length??0)>0||r?.companySourceOfFunds!=null||r?.transactionVolume!=null||r?.purposeOfAccount!=null||r?.registeredAddressStatus!=null||r?.usNexus!=null;return e===!0&&n===!1};return a.jsxs(Mt,{isSettings:o,children:[a.jsx(xt,{title:h&&w===!0?Rt:s.header,backgroundColor:Ze.colors.grey5,style:{zIndex:q?1:4},onBackClick:()=>{wt(p.formState.dirtyFields)?Z(!0):A()},showBackButton:!o&&!h,showMenuIcon:o?u==="medium-compact"||u==="small":!1,onClickMenuIcon:Ye,rightSideComponent:h?a.jsx(oa,{"data-testid":St("nav-bar-close-business-verification-overlay"),onClick:()=>{A(),te?.()}}):null,source:"BusinessVerificationPage"}),Ke===!0?a.jsx(Ct,{titleComponent:a.jsx(Dt,{children:s.discardTitle}),descriptionComponent:a.jsx(bt,{children:s.discardDescription}),primaryButtonText:s.discard,secondaryButtonText:s.cancel,action:rt}):null,a.jsxs(Yt,{windowSize:u,children:[(!h||w===!1)&&a.jsx(Gt,{windowSize:u,children:o?Et.infoText.businessVerification:s.title}),$==="In-Progress"||$==="Not-Started"?a.jsx(Jt,{children:a.jsx(Tt,{size:"ExtraLarge",start:!0})}):a.jsx(vt,{...p,children:a.jsxs("form",{id:Pe(Ne),onSubmit:it,children:[h&&w===!0&&a.jsxs(Wt,{children:[a.jsxs(Kt,{windowSize:u,children:[a.jsx(Qt,{windowSize:u,children:Q?s.businessVerificationDetails:de?s.verifyBusinessDetails:s.verifyBusinessDetailsWithoutTransfer}),!Q&&a.jsx(Xt,{children:a.jsxs(ea,{children:[a.jsx(Fe,{}),de&&a.jsx(Fe,{}),a.jsx(ta,{})]})})]}),a.jsx(_e,{isReadonly:Q,children:s.verifyBusinessDetailsDescription})]}),a.jsxs(Zt,{children:[a.jsx(Lt,{companyOfficerData:C,allNationalityCountries:S,allOfficers:K??[],sectionId:T,isRefreshingViewInBackground:L,connectedAccountProvider:U,productType:"business_verification",updateFilesEntity:se,onEditFileName:ie,onOfficerAddressClick:ae,onDeleteFile:ne,isDisabled:k,filesEndPoint:i,authParams:B,isPopupOpen:q,openPopup:Qe,onGetOtp:Be,onVerifyOtp:ze,onResendOtp:Ee,companyTitles:z,isForTreasury:y==="zeni_treasury",isOverlay:h}),a.jsx(Bt,{companyDetails:r,businessVerificationProps:{companyVerificationStatus:P,isRefreshingViewInBackground:L},productType:"business_verification",showTreasuryFields:y==="zeni_treasury",hideNewOnboardingFields:ct(),sectionId:D,isDisabled:P?.code==="pending_review"||P?.code==="verified"?"readonly":k,fileProps:{authParams:B,filesEndPoint:i,onEditFileName:ie,onDeleteFile:ne,updateFilesEntity:se},onCompanyAddressClick:ae,onRegisteredAddressClick:Le,connectedAccountProvider:U,allIndustries:j,allNationalityCountries:S})]}),y==="zeni_accounts"?a.jsx(qt,{windowSize:u,children:s.threadText.replace("__amount__",lt)}):null]})})]}),$==="Completed"&&(y==="zeni_treasury"?H?.companyVerificationStatus?.code!=="pending_review"&&H?.companyVerificationStatus?.code!=="verified":W?.businessVerificationStatus?.code!=="pending_review"&&W?.businessVerificationStatus?.code!=="verified")?a.jsx(Ot,{formId:Pe(Ne),primaryBtn:{label:w?ke.submit:s.sendForVerificationButton,style:{width:"auto",minWidth:u==="small"?"auto":w?"83px":"181px"},isLoading:M==="verification"&&R.fetchState==="In-Progress",isDisabled:k!=null},containerStyle:{width:u==="small"?x.width.valuePx(u):"auto",justifyContent:u==="small"?"space-between":"center"},helperStyle:{width:u==="small"?x.width.valuePx(u):"auto",paddingLeft:x.termsPaddingLeftRight.valuePx(u),paddingRight:x.termsPaddingLeftRight.valuePx(u),textAlign:u==="small"?"center":"initial"},showCancel:!0,cancelBtn:{reverseSpinnerColor:!1,label:w?ke.back:s.saveDetailsButton,style:{width:u==="small"?"auto":w?"83px":"181px"},isLoading:M==="save"&&R.fetchState==="In-Progress",onClick:()=>{if(w)A();else{const e=C[O],n=r?.primaryContactLocalData;M!=="save"&&re("save");const c=e?.email??"",f=tt(),b=at();f&&b&&(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?Y(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification},{companyDescription:r?.companyDescription,legalName:r?.companyLegalName,phone:r?.phone,website:r?.website?.toString(),industry:r?.companyIndustry??"",formattedAddress:r?.addressStatus?.addressToCreate!=null?Y(r?.addressStatus?.addressToCreate):void 0},{firstName:n?.firstName,lastName:n?.lastName,email:n?.email},y,o?"Settings":void 0),Ge?.(O))}}},helperText:He,style:{padding:`12px ${l.sp3}`,zIndex:q?0:4}}):null]})},Ut=(t,S,$,L)=>{const{companyDetailsLocalData:i,companyOfficerLocalData:B,companyView:y}=t,j=je.getLocalizedStrings().companyPassport,z=y?.companyOfficers!=null&&y?.companyOfficers.length>0;return{[D]:{companyDescription:i?.companyDescription??"",ein:i?.companyFiles.find(m=>m.documentType==="tax_ein"),companyId:i?.companyId??"",syncToken:i?.syncToken,companyLegalName:i?.companyLegalName??"",companyWebsite:i?.website?.toString()??"",companyAddress:i?.addressStatus?.addressToCreate,registeredAddress:i?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:i?.companyIndustry,allOptions:S?.map(m=>m.code)},companyPhone:i?.phone??"",companyTaxId:i?.taxIdOrEIN??"",primaryContactName:{firstName:i?.primaryContactLocalData?.firstName??"",lastName:i?.primaryContactLocalData?.lastName??""},primaryContactEmail:i?.primaryContactLocalData?.email??"",primaryContactUserId:i?.primaryContactLocalData?.userId,primaryContactSyncToken:i?.primaryContactLocalData?.syncToken,fileIds:i?.companyFiles.map(m=>m.fileId)??[],certificateOfIncorporation:i?.companyFiles.find(m=>m.documentType==="certificate_of_incorporation"),incDate:i?.incDate?.toDate(),typeOfIncorporation:{selectedOption:i?.typeOfIncorporation,allOptions:j.companyIncInfo.allTypesOfIncorporation},stateOfIncorporation:{selectedOption:i?.stateOfIncorporation,allOptions:j.companyIncInfo.allStatesOfIncorporation},sourceOfFunds:{selectedOption:i?.sourceOfFunds??"",allOptions:Object.keys(s.sourceOfFundOptions)},companySourceOfFunds:{selectedOption:i?.companySourceOfFunds??"",allOptions:Object.keys(s.companySourceOfFundOptions??{})},companySourceOfFundsDescription:i?.companySourceOfFundsDescription??"",transactionVolume:{selectedOption:i?.transactionVolume,allOptions:[..._t]},transactionVolumeDescription:i?.transactionVolumeDescription??"",purposeOfAccount:{selectedOption:i?.purposeOfAccount,allOptions:[...At]},purposeOfAccountDescription:i?.purposeOfAccountDescription??"",usNexus:i?.usNexus??"",usNexusTypes:{selectedOptions:i?.usNexusTypes??[],allOptions:[...jt]},regulatedStatus:i?.regulatedStatus??"",regulatedStatusDescription:i?.regulatedStatusDescription??""},[T]:Object.values(B).map((m,k)=>{const o=m,h=It(o?.documentTypeSelectedForVerification);return{userId:o?.userId,officerType:o?.officerType??`Officer_${k+1}`,name:{firstName:o?.firstName,lastName:o?.lastName},email:o?.email,fileIds:o?.fileIds??[],dob:o?.birthday?.toDate(),nationalityCountryCode:Nt(o?.nationalityCountryCode,L.map(g=>g.countryCode)),ssn:o?.ssn,role:{selectedOption:o?.titleAtCompany,allOptions:$?.map(g=>g.code)},phone:o?.phone??"",ownership:o?.ownershipInCompany,officerAddress:o?.addressStatus?.addressToCreate,selectDocument:{front:Ie(!0,o?.userFiles??[],h),back:Ie(!1,o?.userFiles??[],h),selectDocumentType:h},isSelectedForVerification:!z&&k===0?!0:o?.isSelectedForVerification??!1,userVerificationStatus:o?.userVerificationStatus,treasuryUserVerificationStatus:o?.treasuryUserVerificationStatus,syncToken:o?.syncToken,isPhoneVerified:o?.isPhoneVerified,otpChallenge:o?.otpChallenge}})}},Pe=t=>`${t}_form`,Mt=d.div`
|
|
1
|
+
import{y as dt,X as ut,aS as Oe,V as a,ag as W,aa as pt,d4 as mt,aA as ft,cQ as yt,a_ as ve,aR as Te,gy as ht,b as gt,bE as xt,ac as St,cR as wt,cy as Ct,cz as bt,cA as Dt,L as Ot,ae as vt,aT as Tt,o as l,x as V,ao as je,O as Ae,gz as It,fW as Ie,fn as Nt,d as $t,c as kt,an as Fe,N as Pt,M as Vt,u as N}from"./index-nssLOVFu.js";import{a as j}from"./sentry-Fca4mdIl.js";import{n as d}from"./mui-BVCBQYdL.js";import{FJ as jt,bi as X,Gf as At,Ge as Ft,Gg as _t}from"./zeni-epic-state-BZv12Eez.js";import{r as Lt,z as Bt}from"./CompanyOfficerDetailsSection-CWADX4kZ-IHJvDX6-.js";import"./liveblocks-offUbtxr.js";import"./core-DTlL91ob.js";import"./lottie-Cqel28AC.js";import"./recharts-DAsNs3BU.js";import"./analytics-B3XlZNQ8.js";import"./lexical-CoKvBbaA.js";import"./utils-Cgs4R-d4.js";import"./helper-z5-P4a-y-DCqj7mqg.js";import"./LabeledAddressValueField-F9kvUR_r-BCeaFKsb.js";import"./LabeledCountryMultiSelectField-3qI_4noU-BCLCbVPc.js";import"./LabeledCreatableSingleSelectField-BV3h9bh7-BAj07yW-.js";import"./LabeledDocumentField-rriEcsdr-CkxtZhMI.js";import"./commonTypes-BAJPaPYg-BqOkop1Y.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},S=new t.Error().stack;S&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[S]="4fa9ab21-48e6-4e0b-8819-f6b3f066e12a",t._sentryDebugIdIdentifier="sentry-dbid-4fa9ab21-48e6-4e0b-8819-f6b3f066e12a")}catch{}})();const x={width:new V(343,580,726),titleWidth:new V(343,580,726,826),subTitlePaddingTop:new V(12,N[3]),subTitlePaddingBottom:new V(N[3],N[3]),verificationDetailsRowGap:new V(12,N[5],N[5]),termsPaddingLeftRight:new V(N[0],N[3])},zt={stepTitle:new Pt("h6Regular","h5Regular")},Ne="businessVerificationPage",D="companyDetails",O="companyOfficerDetails",{commonSetUp:{businessVerification:s},common:{settings:Et,currency:$e,footer:ke,strings:{empty:Rt}}}=Ae.getLocalizedStrings(),va=({businessVerificationDetails:t,allNationalityCountries:S,verficationDetailsFetchState:$,isRefreshingViewInBackground:L,filesEndPoint:i,authParams:B,productType:y,allIndustries:A,companyTitles:z,maxInsuredAmount:m,isDisabled:k,isSettings:o=!1,isOverlay:h=!1,analytics:g,isStepInProgress:w=!1,isTreasuryTransferInitiated:J=!1,transferDetails:E,onOverlayClose:te,onAddressClick:ae,onRegisteredAddressClick:Le,onBackClick:F,onGetOtp:Be,onVerifyOtp:ze,onResendOtp:Ee,onSendForVerificationClick:Re,onEditFileName:ie,onCompanyDetailsChanged:Me,updateFilesEntity:se,onDeleteFile:ne,onDeleteFileList:Ue,onCompanyOfficerUpdated:Ge,saveNewAddressInLocalStore:oe,onSaveDetailsClick:We,onClickMenuIcon:Xe,onExecuteTreasuryTransfer:Je})=>{const Qe=dt(),u=ut(),{updateStatus:R,companyView:_,companyDetailsLocalData:r,companyOfficerLocalData:C}=t,Ze=Oe(R.fetchState),M=_?.company.company.featuresActivationInfo.connectedAccountProvider,qe=M==="unit"?a.jsxs(qt,{children:[s.terms.term1,a.jsx(W,{href:s.terms.consentUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.consent}),s.terms.term2,a.jsx(W,{href:s.terms.depositUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.depositTerms}),s.terms.term3,a.jsx(W,{href:s.terms.privacyPolicyUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.privacy}),s.terms.term4,a.jsx(W,{href:s.terms.tosUrl,onZeniLinkClick:()=>(g?.trackBillPayPrivacyPolicy(),!0),linkText:s.terms.tos}),s.terms.term5]}):s.terms.termsForStripe,[Ke,Q]=j.useState(!1),[U,re]=j.useState("save"),[Z,Ye]=j.useState(!1),p=pt({mode:"all",reValidateMode:"onChange",defaultValues:Mt(t,A,z,S)}),{isValid:He}=p.formState,G=_?.company.company.companyBillPayInfo,q=_?.company.company.companyTreasuryInfo,P=y==="zeni_treasury"?q?.companyVerificationStatus:G?.companyVerificationStatus,v=Object.values(C).findIndex(e=>e?.isSelectedForVerification===!0),T=`Officer_${v<0?1:v+1}`,et=()=>{const e=C[T],n=e?.email,c=e?.birthday?.toString(),f=e?.ownershipInCompany,b=e?.firstName,I=e?.lastName,ue=e?.titleAtCompany,pe=e?.documentTypeSelectedForVerification,me=e?.phone,fe=e?.addressStatus?.addressToCreate,ye=fe!=null?X(fe):void 0,he=r?.companyDescription,H=r?.companyLegalName,ge=r?.companyIndustry,xe=r?.phone,Se=r?.website,we=r?.addressStatus?.addressToCreate!=null?X(r?.addressStatus?.addressToCreate):void 0,ee=r?.primaryContactLocalData,Ce=ee?.firstName,be=ee?.lastName,De=ee?.email;n!=null&&f!=null&&b!=null&&I!=null&&c!=null&&ue!=null&&me!=null&&ye!=null&&pe!=null&&he!=null&&H!=null&&xe!=null&&Se!=null&&ge!=null&&H!=null&&we!=null&&Ce!=null&&be!=null&&De!=null&&g?.trackBusinessVerificationSend({email:n,birthday:c.toString(),companyOwnership:f,firstName:b,lastName:I,companyRole:ue,phone:me,formattedAddress:ye,documentTypeForVerification:pe},{companyDescription:he,legalName:H,phone:xe,website:Se.toString(),industry:ge,formattedAddress:we},{firstName:Ce,lastName:be,email:De},y,o?"Settings":void 0)},tt=()=>{const e=C[T],n=r?.primaryContactLocalData,c=e?.email??"",f=!!e?.firstName&&!!e?.lastName,b=n?.email??"",I=!!n?.firstName&&!!n?.lastName;return c&&!f?((!e?.firstName||!e?.lastName)&&p.trigger(`${O}.${v<0?0:v}.name`,{shouldFocus:!0}),!1):b&&!I?((!n?.firstName||!n?.lastName)&&p.trigger(`${D}.primaryContactName`,{shouldFocus:!0}),!1):!0},at=()=>{const e=C[T],n=r?.primaryContactLocalData,c=e?.email,f=n?.email;if(c){if(!f)return(n?.firstName||n?.lastName)&&p.trigger(`${D}.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||K!=null&&K?.length>0)return p.trigger(`${O}.${v<0?0:v}.email`,{shouldFocus:!0}),!1;return!0},it=p.handleSubmit(()=>{if(U!=="verification"&&re("verification"),M==="unit"&&C[T]?.isPhoneVerified!==!0){p.setError(`${O}.${v}.phone`,{type:"custom"});return}const e=mt(Object.values(C).map(c=>Object.values(c?.deleteFileStatusById??{}).filter(f=>f!=null))),n=Object.values(r?.deleteFileStatusById??{}).filter(c=>c!=null);jt(e.concat(n)).fetchState!=="In-Progress"&&He&&(et(),Re?.(T),J===!0&&Je?.())}),st=async(e,n)=>{e.includes(D)?Me?.(n[D]):e.includes(O)&&Ge?.(n[O])},nt=j.useCallback(ft((e,n)=>{st(e,n)},300),[]);j.useEffect(()=>{const e=p.watch((n,{name:c})=>{c!=null&&n!=null&&yt(()=>nt(c,n))});return()=>{e.unsubscribe()}});const le=Oe(t.companyDetailsLocalData?.addressStatus);j.useEffect(()=>{t.companyDetailsLocalData?.addressStatus?.addressToCreate!=null&&t.companyDetailsLocalData?.registeredAddressStatus?.addressToCreate==null&&le==null&&(oe?.("company_registered_address",t.companyDetailsLocalData?.addressStatus?.addressToCreate),p.setValue(`${D}.registeredAddress`,t.companyDetailsLocalData?.addressStatus?.addressToCreate))},[t.companyDetailsLocalData?.addressStatus,t.companyDetailsLocalData?.registeredAddressStatus,le,oe,p]);const ce=_?.companyOfficers.slice(0,10).sort((e,n)=>e.user.createTime?.isAfter(n.user.createTime)===!0?1:-1),K=ce?.map(e=>e.user),ot=ce?.map(e=>e.role),rt={onOkClick:()=>{Q(!1),F();const e=[],n=_?.company.company.incInfo.fileIds??[];p.getValues(`${D}.fileIds`).forEach(c=>{n.includes(c)||e.push(c)}),ot?.forEach((c,f)=>{const b=c?.fileIds??[];p.getValues(`${O}.${f}.fileIds`).forEach(I=>{b.includes(I)||e.push(I)})}),e.length!==0&&Ue?.(e)},onCancelClick:()=>{Q(!1)}},lt=ve(Te(m),m,$e.currencySymbol).toUpperCase(),Y=P?.code==="pending_review"||P?.code==="verified",de=(E?.treasuryTransferMoneyLocalData?.amount?.amount??0)>0;if(y==="zeni_treasury"&&P?.code==="pending_review"&&Ze==="In-Progress"&&R.fetchState==="Completed")return a.jsxs(ia,{children:[a.jsxs(sa,{children:[a.jsx(ht,{}),a.jsx(na,{windowSize:u,children:J===!0?s.submittedTitleWithTransfer:s.submittedTitle}),a.jsx(aa,{isReadonly:!1,children:J===!0?s.submittedDescriptionWithTransfer.replace("__amount__",ve(Te(E?.treasuryTransferMoneyLocalData?.amount?.amount??0),E?.treasuryTransferMoneyLocalData?.amount?.amount??0,$e.currencySymbol)).replace("__account__",E?.treasuryTransferMoneyLocalData?.fromAccount?.label??""):s.submittedDescription})]}),a.jsx(gt,{label:s.submittedButton,onClick:()=>{F(),te?.()},variant:"primary"})]});const ct=()=>{const e=G?.companyVerificationStatus?.code==="verified",n=(r?.countriesOfOperations?.length??0)>0||r?.companySourceOfFunds!=null||r?.transactionVolume!=null||r?.purposeOfAccount!=null||r?.registeredAddressStatus!=null||r?.usNexus!=null;return e===!0&&n===!1};return a.jsxs(Ut,{isSettings:o,children:[a.jsx(xt,{title:h&&w===!0?Rt:s.header,backgroundColor:Qe.colors.grey5,style:{zIndex:Z?1:4},onBackClick:()=>{wt(p.formState.dirtyFields)?Q(!0):F()},showBackButton:!o&&!h,showMenuIcon:o?u==="medium-compact"||u==="small":!1,onClickMenuIcon:Xe,rightSideComponent:h?a.jsx(oa,{"data-testid":St("nav-bar-close-business-verification-overlay"),onClick:()=>{F(),te?.()}}):null,source:"BusinessVerificationPage"}),Ke===!0?a.jsx(Ct,{titleComponent:a.jsx(Dt,{children:s.discardTitle}),descriptionComponent:a.jsx(bt,{children:s.discardDescription}),primaryButtonText:s.discard,secondaryButtonText:s.cancel,action:rt}):null,a.jsxs(Xt,{windowSize:u,children:[(!h||w===!1)&&a.jsx(Wt,{windowSize:u,children:o?Et.infoText.businessVerification:s.title}),$==="In-Progress"||$==="Not-Started"?a.jsx(Jt,{children:a.jsx(Ot,{size:"ExtraLarge",start:!0})}):a.jsx(vt,{...p,children:a.jsxs("form",{id:Pe(Ne),onSubmit:it,children:[h&&w===!0&&a.jsxs(Gt,{children:[a.jsxs(Kt,{windowSize:u,children:[a.jsx(Yt,{windowSize:u,children:Y?s.businessVerificationDetails:de?s.verifyBusinessDetails:s.verifyBusinessDetailsWithoutTransfer}),!Y&&a.jsx(Ht,{children:a.jsxs(ea,{children:[a.jsx(Ve,{}),de&&a.jsx(Ve,{}),a.jsx(ta,{})]})})]}),a.jsx(_e,{isReadonly:Y,children:s.verifyBusinessDetailsDescription})]}),a.jsxs(Qt,{children:[a.jsx(Lt,{companyOfficerData:C,allNationalityCountries:S,allOfficers:K??[],sectionId:O,isRefreshingViewInBackground:L,connectedAccountProvider:M,productType:"business_verification",updateFilesEntity:se,onEditFileName:ie,onOfficerAddressClick:ae,onDeleteFile:ne,isDisabled:k,filesEndPoint:i,authParams:B,isPopupOpen:Z,openPopup:Ye,onGetOtp:Be,onVerifyOtp:ze,onResendOtp:Ee,companyTitles:z,isForTreasury:y==="zeni_treasury",isOverlay:h}),a.jsx(Bt,{companyDetails:r,businessVerificationProps:{companyVerificationStatus:P,isRefreshingViewInBackground:L},productType:"business_verification",showTreasuryFields:y==="zeni_treasury",hideNewOnboardingFields:ct(),sectionId:D,isDisabled:P?.code==="pending_review"||P?.code==="verified"?"readonly":k,fileProps:{authParams:B,filesEndPoint:i,onEditFileName:ie,onDeleteFile:ne,updateFilesEntity:se},onCompanyAddressClick:ae,onRegisteredAddressClick:Le,connectedAccountProvider:M,allIndustries:A,allNationalityCountries:S})]}),y==="zeni_accounts"?a.jsx(Zt,{windowSize:u,children:s.threadText.replace("__amount__",lt)}):null]})})]}),$==="Completed"&&(y==="zeni_treasury"?q?.companyVerificationStatus?.code!=="pending_review"&&q?.companyVerificationStatus?.code!=="verified":G?.businessVerificationStatus?.code!=="pending_review"&&G?.businessVerificationStatus?.code!=="verified")?a.jsx(Tt,{formId:Pe(Ne),primaryBtn:{label:w?ke.submit:s.sendForVerificationButton,style:{width:"auto",minWidth:u==="small"?"auto":w?"83px":"181px"},isLoading:U==="verification"&&R.fetchState==="In-Progress",isDisabled:k!=null},containerStyle:{width:u==="small"?x.width.valuePx(u):"auto",justifyContent:u==="small"?"space-between":"center"},helperStyle:{width:u==="small"?x.width.valuePx(u):"auto",paddingLeft:x.termsPaddingLeftRight.valuePx(u),paddingRight:x.termsPaddingLeftRight.valuePx(u),textAlign:u==="small"?"center":"initial"},showCancel:!0,cancelBtn:{reverseSpinnerColor:!1,label:w?ke.back:s.saveDetailsButton,style:{width:u==="small"?"auto":w?"83px":"181px"},isLoading:U==="save"&&R.fetchState==="In-Progress",onClick:()=>{if(w)F();else{const e=C[T],n=r?.primaryContactLocalData;U!=="save"&&re("save");const c=e?.email??"",f=tt(),b=at();f&&b&&(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?X(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification},{companyDescription:r?.companyDescription,legalName:r?.companyLegalName,phone:r?.phone,website:r?.website?.toString(),industry:r?.companyIndustry??"",formattedAddress:r?.addressStatus?.addressToCreate!=null?X(r?.addressStatus?.addressToCreate):void 0},{firstName:n?.firstName,lastName:n?.lastName,email:n?.email},y,o?"Settings":void 0),We?.(T))}}},helperText:qe,style:{padding:`12px ${l.sp3}`,zIndex:Z?0:4}}):null]})},Mt=(t,S,$,L)=>{const{companyDetailsLocalData:i,companyOfficerLocalData:B,companyView:y}=t,A=Ae.getLocalizedStrings().companyPassport,z=y?.companyOfficers!=null&&y?.companyOfficers.length>0;return{[D]:{companyDescription:i?.companyDescription??"",ein:i?.companyFiles.find(m=>m.documentType==="tax_ein"),companyId:i?.companyId??"",syncToken:i?.syncToken,companyLegalName:i?.companyLegalName??"",companyWebsite:i?.website?.toString()??"",companyAddress:i?.addressStatus?.addressToCreate,registeredAddress:i?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:i?.companyIndustry,allOptions:S?.map(m=>m.code)},companyPhone:i?.phone??"",companyTaxId:i?.taxIdOrEIN??"",primaryContactName:{firstName:i?.primaryContactLocalData?.firstName??"",lastName:i?.primaryContactLocalData?.lastName??""},primaryContactEmail:i?.primaryContactLocalData?.email??"",primaryContactUserId:i?.primaryContactLocalData?.userId,primaryContactSyncToken:i?.primaryContactLocalData?.syncToken,fileIds:i?.companyFiles.map(m=>m.fileId)??[],certificateOfIncorporation:i?.companyFiles.find(m=>m.documentType==="certificate_of_incorporation"),incDate:i?.incDate?.toDate(),typeOfIncorporation:{selectedOption:i?.typeOfIncorporation,allOptions:A.companyIncInfo.allTypesOfIncorporation},stateOfIncorporation:{selectedOption:i?.stateOfIncorporation,allOptions:A.companyIncInfo.allStatesOfIncorporation},sourceOfFunds:{selectedOption:i?.sourceOfFunds??"",allOptions:Object.keys(s.sourceOfFundOptions)},companySourceOfFunds:{selectedOption:i?.companySourceOfFunds??"",allOptions:Object.keys(s.companySourceOfFundOptions??{})},companySourceOfFundsDescription:i?.companySourceOfFundsDescription??"",transactionVolume:{selectedOption:i?.transactionVolume,allOptions:[..._t]},transactionVolumeDescription:i?.transactionVolumeDescription??"",purposeOfAccount:{selectedOption:i?.purposeOfAccount,allOptions:[...Ft]},purposeOfAccountDescription:i?.purposeOfAccountDescription??"",usNexus:i?.usNexus??"",usNexusTypes:{selectedOptions:i?.usNexusTypes??[],allOptions:[...At]},regulatedStatus:i?.regulatedStatus??"",regulatedStatusDescription:i?.regulatedStatusDescription??""},[O]:Object.values(B).map((m,k)=>{const o=m,h=It(o?.documentTypeSelectedForVerification);return{userId:o?.userId,officerType:o?.officerType??`Officer_${k+1}`,name:{firstName:o?.firstName,lastName:o?.lastName},email:o?.email,fileIds:o?.fileIds??[],dob:o?.birthday?.toDate(),nationalityCountryCode:Nt(o?.nationalityCountryCode,L.map(g=>g.countryCode)),ssn:o?.ssn,role:{selectedOption:o?.titleAtCompany,allOptions:$?.map(g=>g.code)},phone:o?.phone??"",ownership:o?.ownershipInCompany,officerAddress:o?.addressStatus?.addressToCreate,selectDocument:{front:Ie(!0,o?.userFiles??[],h),back:Ie(!1,o?.userFiles??[],h),selectDocumentType:h},isSelectedForVerification:!z&&k===0?!0:o?.isSelectedForVerification??!1,userVerificationStatus:o?.userVerificationStatus,treasuryUserVerificationStatus:o?.treasuryUserVerificationStatus,syncToken:o?.syncToken,isPhoneVerified:o?.isPhoneVerified,otpChallenge:o?.otpChallenge}})}},Pe=t=>`${t}_form`,Ut=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-height: 100%;
|
|
4
4
|
flex-direction: column;
|
|
5
5
|
width: 100%;
|
|
6
6
|
row-gap: ${l.sp3};
|
|
7
7
|
background-color: ${t=>t.isSettings?"unset":t.theme.colors.grey5};
|
|
8
|
-
`,
|
|
8
|
+
`,Gt=d.div`
|
|
9
9
|
display: flex;
|
|
10
10
|
flex-direction: column;
|
|
11
11
|
align-items: flex-start;
|
|
@@ -13,7 +13,7 @@ import{d as dt,J as ut,aS as Te,V as a,af as G,aa as pt,cX as mt,az as ft,cH as
|
|
|
13
13
|
gap: ${l.sp1};
|
|
14
14
|
width: 100%;
|
|
15
15
|
padding-bottom: ${l.sp3};
|
|
16
|
-
`,
|
|
16
|
+
`,Wt=d(Fe)`
|
|
17
17
|
color: ${t=>t.theme.colors.hero};
|
|
18
18
|
display: flex;
|
|
19
19
|
justify-content: center;
|
|
@@ -21,7 +21,7 @@ import{d as dt,J as ut,aS as Te,V as a,af as G,aa as pt,cX as mt,az as ft,cH as
|
|
|
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
|
+
`,Xt=d.div`
|
|
25
25
|
display: flex;
|
|
26
26
|
justify-content: flex-start;
|
|
27
27
|
height: 100%;
|
|
@@ -38,17 +38,17 @@ import{d as dt,J as ut,aS as Te,V as a,af as G,aa as pt,cX as mt,az as ft,cH as
|
|
|
38
38
|
justify-content: center;
|
|
39
39
|
align-items: center;
|
|
40
40
|
background-color: ${t=>t.theme.colors.grey4};
|
|
41
|
-
`,
|
|
41
|
+
`,Qt=d.div`
|
|
42
42
|
display: flex;
|
|
43
43
|
flex-direction: column;
|
|
44
44
|
row-gap: ${l.sp11};
|
|
45
|
-
`,
|
|
45
|
+
`,Zt=d(je)`
|
|
46
46
|
margin-top: ${l.sp2};
|
|
47
47
|
padding: ${l.sp2} ${l.sp2};
|
|
48
48
|
text-align: center;
|
|
49
49
|
color: ${t=>t.theme.colors.grey1};
|
|
50
50
|
width: ${t=>x.width.valuePx(t.windowSize)};
|
|
51
|
-
`,
|
|
51
|
+
`,qt=d(je)`
|
|
52
52
|
text-align: center;
|
|
53
53
|
max-width: 750px;
|
|
54
54
|
color: ${t=>t.theme.colors.hero};
|
|
@@ -57,11 +57,11 @@ import{d as dt,J as ut,aS as Te,V as a,af as G,aa as pt,cX as mt,az as ft,cH as
|
|
|
57
57
|
flex-direction: column;
|
|
58
58
|
gap: ${l.sp3};
|
|
59
59
|
width: 100%;
|
|
60
|
-
`,
|
|
60
|
+
`,Yt=d(Vt)`
|
|
61
61
|
${t=>`${zt.stepTitle.style(t.windowSize)}`};
|
|
62
62
|
color: ${t=>t.theme.colors.primary};
|
|
63
63
|
text-align: left;
|
|
64
|
-
`,
|
|
64
|
+
`,Ht=d.div`
|
|
65
65
|
display: flex;
|
|
66
66
|
align-items: center;
|
|
67
67
|
overflow: hidden;
|
|
@@ -70,7 +70,7 @@ import{d as dt,J as ut,aS as Te,V as a,af as G,aa as pt,cX as mt,az as ft,cH as
|
|
|
70
70
|
display: flex;
|
|
71
71
|
width: 100%;
|
|
72
72
|
gap: ${l.sp3};
|
|
73
|
-
`,
|
|
73
|
+
`,Ve=d.div`
|
|
74
74
|
flex: 1;
|
|
75
75
|
height: 2px;
|
|
76
76
|
background-color: ${t=>t.theme.colors.primary};
|
|
@@ -102,7 +102,7 @@ import{d as dt,J as ut,aS as Te,V as a,af as G,aa as pt,cX as mt,az as ft,cH as
|
|
|
102
102
|
transform: translateX(0%);
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
|
-
`,_e=d(
|
|
105
|
+
`,_e=d(Fe)`
|
|
106
106
|
color: ${t=>t.theme.colors.hero};
|
|
107
107
|
margin-top: ${t=>t.isReadonly?l.sp0:l.sp3};
|
|
108
108
|
white-space: pre-line;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import{X as m,V as r,O as w,w as y,o as t,N as b,M as x}from"./index-nssLOVFu.js";import{n as o}from"./mui-BVCBQYdL.js";import{a as n}from"./sentry-Fca4mdIl.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="34e1195f-ce05-4bdd-92c1-1cdfbb21a21d",e._sentryDebugIdIdentifier="sentry-dbid-34e1195f-ce05-4bdd-92c1-1cdfbb21a21d")}catch{}})();const $=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.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:p,spendManagement:{chargeCard:a}}=w.getLocalizedStrings(),C={subText:new b("extraSmallRegular","standardRegular")},j=({cardDetail:e,forDetailPage:s,styles:l})=>{const g=m(),h=e.type.code.includes("credit")?a.chargeCardsPromo.credit:a.chargeCardsPromo.debit;let d=e.type.code.includes("physical")?a.cardList.physicalCard:a.cardList.virtualCard;const i=p.strings.space+a.cardDetails.expiryHideOut+p.strings.space+e.accountLast4,f=e.status.code==="request_on_hold"||!s?d:i,c=e.type.code.includes("physical");return r.jsxs(v,{style:l,windowSize:g,forDetailPage:s,className:"cardName",title:`${f}`,children:[h,r.jsx(H,{}),d,c&&!s?r.jsx(u,{className:"physical-card-icon"}):null,e.status.code==="request_on_hold"||!s?null:i,c&&s?r.jsx(u,{}):null]})},v=o(x)`
|
|
2
|
+
${e=>e.forDetailPage?{...y.extraSmallRegular.cssObject}:`${C.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: ${t.sp1};
|
|
11
|
+
`,H=o.span`
|
|
12
|
+
height: ${t.sp1};
|
|
13
|
+
width: ${t.sp1};
|
|
14
|
+
background-color: ${e=>e.theme.colors.grey1};
|
|
15
|
+
border-radius: 50%;
|
|
16
|
+
margin: ${t.sp0} ${t.sp1};
|
|
17
|
+
`,u=o($)`
|
|
18
|
+
width: ${t.sp3};
|
|
19
|
+
height: ${t.sp3};
|
|
20
|
+
color: ${e=>e.theme.colors.hero};
|
|
21
|
+
`;export{j};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{y as k,X as f,V as t,bE as te,fH as L,w as u,b5 as N,c9 as ie,o as i,O as w,p as B,x as h,an as v,dt as oe,u as l,a_ as re,aQ as O,b$ as ae,ak as $,ac as z,jA as X,jB as q,jg as se,cI as ne,cL as de,ao as T,jh as le,ji as ce}from"./index-nssLOVFu.js";import{n as o}from"./mui-BVCBQYdL.js";import{H6 as b,bh as he}from"./zeni-epic-state-BZv12Eez.js";import{P as R,a as K}from"./sentry-Fca4mdIl.js";import{F as pe}from"./InsightsSection-ByFf2oGn-BaSZhycl.js";import{E as ge,F as me,X as xe,Y as we,G as ue,H as ye,Q as fe}from"./recharts-DAsNs3BU.js";import"./liveblocks-offUbtxr.js";import"./core-DTlL91ob.js";import"./lottie-Cqel28AC.js";import"./analytics-B3XlZNQ8.js";import"./lexical-CoKvBbaA.js";import"./utils-Cgs4R-d4.js";import"./NavigationDots-DCpslVnm-BIAw9fTc.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="108de27c-aaf4-4e21-8c13-e10eb7088dd0",e._sentryDebugIdIdentifier="sentry-dbid-108de27c-aaf4-4e21-8c13-e10eb7088dd0")}catch{}})();const be=({x:e,y:a,width:n,height:s,payload:r})=>{const c=k();return t.jsx(fe,{fill:(r?.[0].payload).showTooltip===!0?c.colors.background:"transparent",stroke:(r?.[0].payload).showTooltip===!0?c.colors.background:"transparent",x:e,y:a,width:n,height:s})},E=w.getLocalizedStrings().spendManagement.chargeCard.cashbackDetail.header,$e=w.getLocalizedStrings().dateFormat.visual.MMMMFormat,ve=({active:e,payload:a,label:n})=>e===!0&&(a?.[0].payload).showTooltip===!0?t.jsx(je,{children:t.jsx(ke,{children:t.jsxs("div",{children:[t.jsxs(W,{children:[t.jsx(G,{children:E.month})," ",t.jsx(H,{children:b(n).format($e)})]}),t.jsxs(W,{children:[t.jsx(G,{children:E.cashback}),t.jsx(H,{children:O("0,0.[00]",{amount:a?.[0].value??0,currencyCode:(a?.[0].payload).currencyCode,currencySymbol:(a?.[0].payload).currencySymbol})})]})]})})}):null,W=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
gap: ${i.sp1};
|
|
4
4
|
`,je=o.div`
|
|
@@ -12,19 +12,19 @@ import{d as k,J as f,V as t,bE as te,fl as P,b as u,b5 as X,c1 as ie,o as i,O as
|
|
|
12
12
|
flex-direction: column;
|
|
13
13
|
padding: ${i.sp2} 12px;
|
|
14
14
|
background-color: ${e=>e.theme.colors.black};
|
|
15
|
-
`,
|
|
15
|
+
`,H=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
|
+
`,G=o($)`
|
|
21
21
|
color: ${e=>e.theme.colors.hero};
|
|
22
22
|
min-width: 107px;
|
|
23
|
-
`,Se=R.memo(ve),{dateFormat:{visual:{MMMYYFormat:Ce,YYYYDashMMFormat:
|
|
23
|
+
`,Se=R.memo(ve),{dateFormat:{visual:{MMMYYFormat:Ce,YYYYDashMMFormat:U}},common:{currency:M}}=w.getLocalizedStrings(),Le=({chartData:e,customToolTipContent:a,width:n,height:s})=>{const r=k();return t.jsx(Me,{width:n,height:s,children:t.jsx(N,{children:({height:c,width:p})=>t.jsxs(ge,{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(me,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:r.colors.grey3}),t.jsx(xe,{dataKey:"period",type:"category",axisLine:{stroke:r.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:r.colors.hero,...u.extraSmallRegular.cssObject},tickFormatter:g=>b(g).format(Ce)}),t.jsx(we,{type:"number",axisLine:!1,tickLine:!1,tick:{color:r.colors.hero,...u.extraSmallRegular.cssObject},tickFormatter:g=>re("0,0.[00]a",g,e?.[0].currencySymbol??M.currencySymbol)}),t.jsx(ue,{cursor:t.jsx(be,{}),content:a}),t.jsx(ye,{dataKey:"amount",fill:r.colors.brandColorJadeDark,barSize:36})]})})})};function ze({cashbackByPeriod:e,width:a,height:n}){const s=oe(e,c=>b(c.period),"asc"),r=Ie(s);return t.jsx(Le,{chartData:r,customToolTipContent:({active:c,payload:p,label:g})=>t.jsx(Se,{active:c,payload:p,label:g}),width:a,height:n})}const Pe=e=>e.format(U),Ie=e=>{const a=e.map(r=>({...r,showTooltip:!0})),n=e[e.length-1];let s=n?.period??he().subtract(1,"M").format(U);for(;a.length<12;){const r={amount:0,period:Pe(b(s).add(1,"M")),showTooltip:!1,currencyCode:n?.currencyCode??M.currencyCode,currencySymbol:n?.currencySymbol??M.currencySymbol};a.push(r),s=r.period}return a},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
|
+
`,Z=w.getLocalizedStrings().spendManagement.chargeCard.cashbackDetail.header,De={key:"month",value:Z.month,sortOrder:"ascending",width:new h(50,50)},Fe={key:"cashback",value:Z.cashback,sortOrder:"ascending",width:new h(50,50)},ee=()=>[De,Fe],y={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(le,ce)};function Be({sortConfig:e,onColumnSortConfigChanged:a}){const n=k(),s=f(),[r,c]=K.useState(ee());K.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 V=m;e.sortKey===d&&(V=m==="ascending"?"descending":"ascending"),a(d,V)},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 s==="small"?t.jsxs(_,{windowSize:s,children:[t.jsxs(Ye,{children:[t.jsx(Ke,{children:t.jsx(Ve,{})}),t.jsx(ae,{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(He,{onClick:()=>p(g.key,g.sortOrder),"data-testid":z("cashback-list-header-mobile",g.value),children:[t.jsx($,{children:g.value}),t.jsx(A,{sortDataValue:e.sortKey,headerdata:g,children:t.jsx(J,{})})]})]}):t.jsx(_,{windowSize:s,children:r.map((d,m)=>t.jsxs(Te,{sortDataValue:e.sortKey,actualDataValue:d.key,wrapperWidth:d.width,isLastItem:m===r.length-1,windowSize:s,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(A,{sortDataValue:e.sortKey,headerdata:d,children:t.jsx(J,{})})]}),t.jsx(Ee,{sortDataValue:e.sortKey,windowSize:s,isVisible:e.sortKey===d.key&&d.key!=="month",children:t.jsx(Re,{onClick:()=>p("month","ascending"),"data-testid":z("cashback-list-close-sort",d.key)})})]},d.key))})}const Oe=R.memo(Be),_=o($)`
|
|
28
28
|
top: ${i.sp0};
|
|
29
29
|
left: ${i.sp0};
|
|
30
30
|
min-height: ${e=>y.headerHeight.valuePx(e.windowSize)};
|
|
@@ -38,7 +38,7 @@ import{d as k,J as f,V as t,bE as te,fl as P,b as u,b5 as X,c1 as ie,o as i,O as
|
|
|
38
38
|
background-color: ${e=>e.theme.colors.grey4};
|
|
39
39
|
justify-content: space-between;
|
|
40
40
|
position: sticky;
|
|
41
|
-
`,
|
|
41
|
+
`,Te=o.div`
|
|
42
42
|
color: ${e=>e.sortDataValue===e.actualDataValue?e.theme.colors.primary:e.theme.colors.grey1};
|
|
43
43
|
width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
44
44
|
max-width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
@@ -60,15 +60,15 @@ import{d as k,J as f,V as t,bE as te,fl as P,b as u,b5 as X,c1 as ie,o as i,O as
|
|
|
60
60
|
align-items: center;
|
|
61
61
|
transform: ${e=>e.sortDataValue===e.headerdata.key&&e.headerdata.sortOrder==="descending"?"rotate(180deg)":"rotate(0deg)"};
|
|
62
62
|
${e=>e.headerdata.sortOrder==="ascending"?"padding-top: 2px":"padding-bottom: 2px"}
|
|
63
|
-
`,
|
|
63
|
+
`,J=o(ne)`
|
|
64
64
|
width: 12px;
|
|
65
65
|
height: 12px;
|
|
66
66
|
cursor: pointer;
|
|
67
67
|
color: inherit;
|
|
68
|
-
`,
|
|
68
|
+
`,Ye=o.div`
|
|
69
69
|
gap: ${i.sp1};
|
|
70
70
|
display: flex;
|
|
71
|
-
`,
|
|
71
|
+
`,Ve=o(se)`
|
|
72
72
|
width: 12px;
|
|
73
73
|
height: 12px;
|
|
74
74
|
color: inherit;
|
|
@@ -87,25 +87,25 @@ import{d as k,J as f,V as t,bE as te,fl as P,b as u,b5 as X,c1 as ie,o as i,O as
|
|
|
87
87
|
&:hover {
|
|
88
88
|
color: ${e=>e.theme.colors.primary};
|
|
89
89
|
}
|
|
90
|
-
`,
|
|
90
|
+
`,He=o.div`
|
|
91
91
|
display: flex;
|
|
92
92
|
cursor: pointer;
|
|
93
93
|
gap: 5px;
|
|
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:_e}}=w.getLocalizedStrings(),Ae=({cashbackPeriod:e,isFirstItem:a,isLastItem:n})=>{const s=f(),r=ee(),c=X(e.period),p=q(c);return t.jsx(Xe,{windowSize:s,isFirstItem:a,isLastItem:n,children:t.jsx(qe,{children:t.jsxs(Ue,{children:[t.jsx(Ze,{windowSize:s,responsiveWidth:r[0].width,children:t.jsxs(et,{windowSize:s,children:[b(e.period).format(_e.MMMMYYYYFormat),p?t.jsxs(Qe,{children:[t.jsx(Ne,{}),t.jsx(Je,{children:Ge.tillDate})]}):null]})}),t.jsx(tt,{windowSize:s,responsiveWidth:r[1].width,children:t.jsx(it,{windowSize:s,children:O("0,0.[00]",{amount:e.amount,currencyCode:e.currencyCode,currencySymbol:e.currencySymbol})})})]})})})},Je=o(T)`
|
|
98
98
|
color: ${e=>e.theme.colors.grey1};
|
|
99
|
-
`,
|
|
99
|
+
`,Qe=o.div`
|
|
100
100
|
display: flex;
|
|
101
101
|
align-items: center;
|
|
102
|
-
`,
|
|
102
|
+
`,Ne=o.div`
|
|
103
103
|
height: ${i.sp1};
|
|
104
104
|
width: ${i.sp1};
|
|
105
105
|
margin-right: ${i.sp2};
|
|
106
106
|
background-color: ${e=>e.theme.colors.grey1};
|
|
107
107
|
border-radius: 50%;
|
|
108
|
-
`,
|
|
108
|
+
`,Xe=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,15 +125,15 @@ import{d as k,J as f,V as t,bE as te,fl as P,b as u,b5 as X,c1 as ie,o as i,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
|
+
`,Ue=o.div`
|
|
132
132
|
display: flex;
|
|
133
133
|
width: 100%;
|
|
134
134
|
justify-content: space-between;
|
|
135
135
|
align-items: center;
|
|
136
|
-
`,
|
|
136
|
+
`,Ze=o.div`
|
|
137
137
|
display: flex;
|
|
138
138
|
flex-direction: column;
|
|
139
139
|
column-gap: 12px;
|
|
@@ -175,7 +175,7 @@ import{d as k,J as f,V as t,bE as te,fl as P,b as u,b5 as X,c1 as ie,o as i,O as
|
|
|
175
175
|
width: 100%;
|
|
176
176
|
display: flex;
|
|
177
177
|
justify-content: end;
|
|
178
|
-
`,
|
|
178
|
+
`,D={containerMarginLeft:new h(l[3],l[8]),webkitLineClamp:new h(2,2,1,1,1)},{spendManagement:{chargeCard:{cashbackDetail:ot}},dateFormat:{visual:rt}}=w.getLocalizedStrings(),at=({cashbackPeriod:e,isFirstItem:a,isLastItem:n})=>{const s=f(),r=X(e.period),c=q(r);return t.jsx(lt,{windowSize:s,isFirstItem:a,isLastItem:n,children:t.jsx(ct,{children:t.jsxs(ht,{children:[t.jsx(gt,{children:t.jsxs(pt,{windowSize:s,children:[b(e.period).format(rt.MMMMYYYYFormat),c?t.jsxs(nt,{children:[t.jsx(dt,{}),t.jsx(st,{children:ot.tillDate})]}):null]})}),t.jsx(mt,{children:t.jsx(xt,{children:O("0,0.[00]",{amount:e.amount,currencyCode:e.currencyCode,currencySymbol:e.currencySymbol})})})]})})})},st=o(T)`
|
|
179
179
|
color: ${e=>e.theme.colors.grey1};
|
|
180
180
|
`,nt=o.div`
|
|
181
181
|
display: flex;
|
|
@@ -198,8 +198,8 @@ import{d as k,J as f,V as t,bE as te,fl as P,b as u,b5 as X,c1 as ie,o as i,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=>D.containerMarginLeft.valuePx(e.windowSize)};
|
|
202
|
+
margin-left: ${e=>D.containerMarginLeft.valuePx(e.windowSize)};
|
|
203
203
|
`,ct=o.div`
|
|
204
204
|
display: block;
|
|
205
205
|
width: 100%;
|
|
@@ -212,7 +212,7 @@ import{d as k,J as f,V as t,bE as te,fl as P,b as u,b5 as X,c1 as ie,o as i,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=>D.webkitLineClamp.value(e.windowSize)};
|
|
216
216
|
-webkit-box-orient: vertical;
|
|
217
217
|
overflow: hidden;
|
|
218
218
|
text-overflow: ellipsis;
|
|
@@ -230,9 +230,9 @@ import{d as k,J as f,V as t,bE as te,fl as P,b as u,b5 as X,c1 as ie,o as i,O as
|
|
|
230
230
|
`,mt=o.div`
|
|
231
231
|
display: flex;
|
|
232
232
|
flex-direction: column;
|
|
233
|
-
`,xt=o(
|
|
233
|
+
`,xt=o(T)`
|
|
234
234
|
color: ${e=>e.theme.colors.hero};
|
|
235
|
-
`,
|
|
235
|
+
`,Q={separatorMarginLeftRight:new h(l[3],l[8])},wt=({cashbackByPeriod:e,uiState:a,onColumnSortConfigChanged:n})=>{const s=f();return t.jsxs(ft,{children:[t.jsx(Oe,{onColumnSortConfigChanged:n,sortConfig:{sortKey:a.sortKey,sortOrder:a.sortOrder}}),t.jsx(yt,{children:e.map((r,c)=>t.jsxs(R.Fragment,{children:[t.jsx(ut,{cashbackPeriod:r,isFirstItem:c===0,isLastItem:c===e.length-1}),c===e.length-1?null:t.jsx(bt,{windowSize:s})]},r.period))})]})},ut=({cashbackPeriod:e,isFirstItem:a,isLastItem:n})=>{const s=f()==="small"?at:Ae;return t.jsx(s,{cashbackPeriod:e,isFirstItem:a,isLastItem:n})},yt=o.div``,ft=o.div`
|
|
236
236
|
display: block;
|
|
237
237
|
height: 100%;
|
|
238
238
|
`,bt=o.div`
|
|
@@ -241,15 +241,15 @@ import{d as k,J as f,V as t,bE as te,fl as P,b as u,b5 as X,c1 as ie,o as i,O as
|
|
|
241
241
|
background-color: ${e=>e.theme.colors.grey3};
|
|
242
242
|
min-height: 1px;
|
|
243
243
|
max-height: 1px;
|
|
244
|
-
margin-left: ${e=>
|
|
245
|
-
margin-right: ${e=>
|
|
246
|
-
`,
|
|
244
|
+
margin-left: ${e=>Q.separatorMarginLeftRight.valuePx(e.windowSize)};
|
|
245
|
+
margin-right: ${e=>Q.separatorMarginLeftRight.valuePx(e.windowSize)};
|
|
246
|
+
`,F={pageContentPaddingLeftRight:new h(l[3],l[8]),cashbackSummaryContainerGap:new h(l[3],96)},j=w.getLocalizedStrings().spendManagement.chargeCard.cashbackDetail,Kt=({insightsData:e,cashbackByPeriod:a,uiState:n,cashbackSummary:s,onBackClick:r,onColumnSortConfigChanged:c})=>{const p=k(),g=f();return t.jsxs(Ct,{children:[t.jsx(te,{title:j.title,showBackButton:!0,showMenuIcon:!1,style:{zIndex:3},onBackClick:r,backgroundColor:p.colors.grey5,source:"CashbackDetailPage"}),t.jsxs($t,{windowSize:g,children:[t.jsxs(vt,{windowSize:g,children:[t.jsxs(P,{children:[t.jsx(I,{children:j.totalEarned}),t.jsx(L,{amount:s.cashbackEarned,style:{color:p.colors.brandColorJadeDark},decimalStyles:u.largeSemiBold.cssObject})]}),t.jsxs(P,{children:[t.jsx(I,{children:j.redeemed}),t.jsx(L,{amount:s.cashbackRedeemed,style:{color:p.colors.brandColorOpalDark},decimalStyles:u.largeSemiBold.cssObject})]}),t.jsxs(P,{children:[t.jsx(I,{children:j.available}),t.jsx(L,{amount:s.cashbackAvailable,style:{color:p.colors.brandColorGoldDark},decimalStyles:u.largeSemiBold.cssObject})]})]}),t.jsx(jt,{children:t.jsx(N,{children:({height:S,width:C})=>t.jsx(ze,{cashbackByPeriod:a,width:C,height:S})})}),t.jsx(kt,{children:t.jsx(pe,{insights:[{...e}],summaryTextStyles:{fontWeight:ie.regular,color:p.colors.primary}})})]}),t.jsx(St,{children:t.jsx(wt,{cashbackByPeriod:a,uiState:n,onColumnSortConfigChanged:c})})]})},$t=o.div`
|
|
247
247
|
position: relative;
|
|
248
248
|
box-shadow: ${B.dropShadowNormalLight} 2px 2px ${i.sp1};
|
|
249
249
|
background-color: ${e=>e.theme.colors.grey5};
|
|
250
|
-
padding-left: ${e=>
|
|
251
|
-
padding-right: ${e=>
|
|
252
|
-
`,
|
|
250
|
+
padding-left: ${e=>F.pageContentPaddingLeftRight.valuePx(e.windowSize)};
|
|
251
|
+
padding-right: ${e=>F.pageContentPaddingLeftRight.valuePx(e.windowSize)};
|
|
252
|
+
`,P=o.div`
|
|
253
253
|
min-width: 103px;
|
|
254
254
|
display: flex;
|
|
255
255
|
flex-direction: column;
|
|
@@ -260,7 +260,7 @@ import{d as k,J as f,V as t,bE as te,fl as P,b as u,b5 as X,c1 as ie,o as i,O as
|
|
|
260
260
|
color: ${e=>e.theme.colors.hero};
|
|
261
261
|
`,vt=o.div`
|
|
262
262
|
display: flex;
|
|
263
|
-
gap: ${e=>
|
|
263
|
+
gap: ${e=>F.cashbackSummaryContainerGap.valuePx(e.windowSize)};
|
|
264
264
|
justify-content: center;
|
|
265
265
|
margin-top: ${i.sp3};
|
|
266
266
|
`,jt=o.div`
|