@zeniai/web-cockpit-ui 1.14.75-qa → 1.14.76-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-CgSAnexf-i_8YOjr-.js → ACHDetailsPage-Xx5xzGG6-TLkgYXDo.js} +1 -1
- package/dist/assets/{AIPerformancePage-C9EQ3p87-DFAb24zH.js → AIPerformancePage-CUXg59Hy-CQ1-rEhi.js} +24 -24
- package/dist/assets/{AccountInfoPage-C239tsDp-BJdxsmS4.js → AccountInfoPage-BCsDFfVy-hrluJcll.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-CgDFcQqY-CnxvudEj.js → AccountInfoPageContent-Dc3zDc0L-zxWLzozl.js} +4 -4
- package/dist/assets/{AccountLockedInfoModal-CQzFFcuJ-DNUm6aba.js → AccountLockedInfoModal-C9esWbYw-DmLSIkZF.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-xtmSIQ0k-sJQHiFgQ.js → AccountReconDetailsDrawerPage-zLLBfV9S-BNb08J_3.js} +4 -4
- package/dist/assets/{AccountRow-BrRxbza5-CFe9ZfNB.js → AccountRow-CjMOMc-1-x3Qeaa-E.js} +6 -6
- package/dist/assets/{AccountsPromoCardStack-CqXbhSj4-Bq_NoktP.js → AccountsPromoCardStack-DkqmFDos-CykT6dqn.js} +17 -17
- package/dist/assets/{AddAddressForCardDrawer-fgjjFlrb-B96IK2RQ.js → AddAddressForCardDrawer-D8Towl2b-BnpRCEKK.js} +1 -1
- package/dist/assets/{AddToWalletPage-DfB7hWI1-CZFJEgh3.js → AddToWalletPage-DPlpIxsE-B4bdwm1E.js} +15 -15
- package/dist/assets/{AgingReportsPage-DHYj512r-BxkbYUrh.js → AgingReportsPage-Bkw7sNWp-BamyEZIc.js} +5 -5
- package/dist/assets/{AllUserItems-DeSMFizX-D5oJwy65.js → AllUserItems-DMlj0bT0-gvuqGIhf.js} +4 -4
- package/dist/assets/{ApAgingDetailPage-DU0hQxT3-BJVEEUAo.js → ApAgingDetailPage-BLz4srnJ-Cc1Xbcy9.js} +2 -2
- package/dist/assets/{AppBasePage-BR-YhSR_-B5HeXtfv.js → AppBasePage-D-TkEHTb-DROxn97N.js} +5 -5
- package/dist/assets/{AppDrawerContent-B80zy-Gz-CvT6b5OB.js → AppDrawerContent-B_OcDS2l-DzddisDQ.js} +2 -2
- package/dist/assets/{ApprovalRulesSettingsPage-By648tCr-7jWb8JUX.js → ApprovalRulesSettingsPage-CFLA9ZNm-DAP_H-up.js} +3 -3
- package/dist/assets/{ArAgingChart-TzANw6Zm-CNWZ1yco.js → ArAgingChart-GDCZoeS6-ejUvAmZP.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-C2rcOePe-CPMVZfEx.js → ArAgingDetailPage-BpbaAaQd-BiEAKqhS.js} +2 -2
- package/dist/assets/{AttachmentView-jMWZdYNa-C-2m2utf.js → AttachmentView-C5nZKhTq-vO_X412a.js} +4 -4
- package/dist/assets/{BankAccountSection-SGI34h8u-BBxP7hIN.js → BankAccountSection-IncAN4Fp-_HbGSxHo.js} +3 -3
- package/dist/assets/{BankAccountWarningSection-BYhi53r4-Dz4tDkQf.js → BankAccountWarningSection-B5zw3yYg-D0pN9DqK.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-ChDwYCek-COjC3o1W.js → BankConnectionsSettingsPage-C_B2Ap4v-CWKHwroD.js} +28 -28
- package/dist/assets/{BillDetailPage-CDcMpkQh-BZ1wd0Qg.js → BillDetailPage-ZwjUMPQZ-BsZDr1gg.js} +10 -10
- package/dist/assets/{BillPayApprovalRuleDetailPage-CEPY5Pk4-qR_JS2ET.js → BillPayApprovalRuleDetailPage-C253InxT-RvLtQlW3.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-CL2A3R9R-CK-fyhpX.js → BillPayApprovalRulesPage-CA3FfPrr-qSqftFhb.js} +1 -1
- package/dist/assets/{BillPayPromoPage-B9Tz3jBR-i-0CPc7c.js → BillPayPromoPage-BKleb4US-pzvsBPOp.js} +4 -4
- package/dist/assets/{BillPaySetUpPage-Dt_bfrGH-CUojvimq.js → BillPaySetUpPage-DwK0lrbO-rQcYv7BW.js} +1 -1
- package/dist/assets/{BillingSettingsPage-DS50kMjn-9EpaAi1C.js → BillingSettingsPage-zBDcEj5D-BDTLKTvE.js} +5 -5
- package/dist/assets/{BillsBulkReviewDrawerPage-Btt7v1Mg-BCwxf8sP.js → BillsBulkReviewDrawerPage-BjOYcTwa-Dv0CJOPA.js} +1 -1
- package/dist/assets/{BoxItem-BFUJgt2x-opQLNc_u.js → BoxItem-CoguTodA-DItO3xcr.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-CF3ZLtzs-Dhk-fv87.js → BusinessVerificationPage-DGQ9x2pf-35QVlpBA.js} +6 -6
- package/dist/assets/{CardNumberSubText-B1MkRWES-BjDnia-x.js → CardNumberSubText-BudPffUB-BTvRfksc.js} +1 -1
- package/dist/assets/{CashbackDetailPage-CPSsS7-h-CouHihs8.js → CashbackDetailPage-2KpaTEWi-CUzGkPf8.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-BDqTbXzY-D7djMgW2.js → ChargeCardDetailPage-DU-yz6wh-CBCtuxOp.js} +1 -1
- package/dist/assets/{ChargeCardListPage-yj0mhqgF-Bv25BF2_.js → ChargeCardListPage-C4ITCZwO-C8GmtyMf.js} +14 -14
- package/dist/assets/{ChargeCardListTable-DM6dYuPz-Nmy4gJXY.js → ChargeCardListTable-DEqAOIyN-nTkk33YA.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-DSoQsDJK-B4tTXnWg.js → ChargeCardPromoPage-CvPAVoti-Dig5Emby.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-DhEITB5H-DbGb6ubH.js → ChargeCardSetupPage-CLhkL1Eh-B9fDm_Ae.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-tCXt7AVZ-C2fkpn1j.js → ChargeCardStatementsPage-6TvYstIS-DKHBxCkb.js} +5 -5
- package/dist/assets/{CheckDepositDrawerPage-6PfNZ8GG-D-owtiOB.js → CheckDepositDrawerPage-D64qEFAi-DmFPX3Hy.js} +5 -5
- package/dist/assets/{CollapsableReportTable-DERfLf9A-BxSIgA-m.js → CollapsableReportTable-o0pGO_sw-CoQujIPL.js} +48 -48
- package/dist/assets/{CompanyOfficerDetailsSection-CmMDQgui-CIhYQnj-.js → CompanyOfficerDetailsSection-D3PSro9F-CN8Reo83.js} +12 -12
- package/dist/assets/{CompanyPassportCard-ki3cq_A3-BV6apDi8.js → CompanyPassportCard-CUcLJOne-CwK5fmgg.js} +2 -2
- package/dist/assets/{CompanyPassportPage-C9UW7mV8-Bx0Gz3oi.js → CompanyPassportPage-C1v4xE8B-zCkhH9yQ.js} +10 -10
- package/dist/assets/{CompleteProfile-CcjiEAtN-DQlOZ4PF.js → CompleteProfile-DP8FFDH_-B7Va_v1e.js} +1 -1
- package/dist/assets/{ConfettiBurst-Dq3DwwfS-B7P93rZY.js → ConfettiBurst-KNUWsLgM-C3W-6qSV.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-CsYVqUf8-61fUWJH2.js → CreateOrEditVendorPage-hEPeylx6-VsqoPSRS.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-C1QUtunc-CKbM-eNV.js → CreditCardPaymentDrawerPage-DOgKpleO-DLW-KVW8.js} +8 -8
- package/dist/assets/{CurrencySelectField-PjVnHOPO-BAZfxuLd.js → CurrencySelectField-C8L9A7zC-DLDLvWwm.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-BEz1pkPV-Ba86LNKX.js → CustomerOnboardingActivationPage-D_AcFXeU-p0ieIiP_.js} +8 -8
- package/dist/assets/CustomerOnboardingContainerPage-DAxVaKqp-DMOGZ592.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-3S6lsaCB-Cu1_Ivf0.js → CustomerOnboardingDetailPageSkeleton-DPSQT5UG-yxM-FX1s.js} +12 -12
- package/dist/assets/{CustomerOnboardingNoStepsPage-C7EvOlnr-C9G9U1B0.js → CustomerOnboardingNoStepsPage-Bqi6QK8D-CnhmXiFi.js} +4 -4
- package/dist/assets/{CustomerOnboardingPage-Clo_UlCC-DouioW8f.js → CustomerOnboardingPage-eY5fJENY-CW0ZIKes.js} +4 -4
- package/dist/assets/{CustomerOnboardingProductSuitePage-BEy5gk3x-Baanicc_.js → CustomerOnboardingProductSuitePage-BEWQQxa2-CUaimIpy.js} +4 -4
- package/dist/assets/{Dashboard-B1tMJ_lT-CcESz1YI.js → Dashboard-DyK1Y6xH-BhOeJdbK.js} +1 -1
- package/dist/assets/{DashboardReportPage-CoFYSDIH-ByKveAaA.js → DashboardReportPage-9mEEgfb9-8pEwgBSt.js} +11 -11
- package/dist/assets/{DashboardSidebarBackgroundAnimation-4ckOdfXR-KuRJ5w2b.js → DashboardSidebarBackgroundAnimation-BKaRUOA4-CrFQyftY.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-tQvZegVN-Dr8br3ei.js → DepositAccTransactionItem-CwSsISRg-BhipE2js.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-CwXktzEW-DPpgwcvG.js → DepositAccTransactionListPage-d_A-lWfh-BHvjyvXp.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-W6hOjjFW-BwCOX1w5.js → DomesticWireDetailsPage-C-qIXO7t-BK1ogPTU.js} +1 -1
- package/dist/assets/{DownloadOverlay-BSUE9cHx-BgD5J__G.js → DownloadOverlay-_HVjRZb_-ovRMQuBS.js} +10 -10
- package/dist/assets/{DrawerPage-CgdtPYXN-BSX9iIsY.js → DrawerPage-DgRO2OFE-DsZBSqxn.js} +3 -3
- package/dist/assets/EditPeoplePage-6lvgaJQi-Df2Mb0kP.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-Q2e7iDtu-sdWmaVAs.js → EditReimbursementDetailPage-B85brpdt-BYguIPkd.js} +19 -19
- package/dist/assets/{EntityDetailPage-XsEIg05w-CB-O66EP.js → EntityDetailPage-Ds03l_Nm-BYieYjCl.js} +3 -3
- package/dist/assets/{EntitySummarySection-CsXlmDFx--O64tSBx.js → EntitySummarySection-CbloJrPd-DGVEU9qa.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-CVe0vhrD-D_T4B03p.js → ExpenseAutomationOverviewPage-CYNO1bW--pa8gzAaD.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-D6r_A_CD-D5r5HR2l.js → ExpenseAutomationPage-CoYAnlKO-CIOZ9cQ5.js} +1 -1
- package/dist/assets/{ExpressPayPage-C6b1fiyD-DP6zBvlM.js → ExpressPayPage-VpqTGVa6-iCCnAcb9.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-DOebdPqb-DLHAUjfm.js → FeaturePreviewPage-DzgPdfBh-BlncrRkT.js} +1 -1
- package/dist/assets/{FollowStepsSection-jmyNE2Fl-5X9z6igI.js → FollowStepsSection-NM8GXTRZ--kMzASD7.js} +6 -6
- package/dist/assets/{GlobalReviewListPage-Cx1Km5fu-oNaaQ9j7.js → GlobalReviewListPage-xUe6yXIO-DDRodqQY.js} +6 -6
- package/dist/assets/{InformationCardStack-C5bKx9vg-DasAqkuT.js → InformationCardStack-BYRwUh-e-Bm84GPsq.js} +2 -2
- package/dist/assets/{InsightsCardStack-EFoc_EWA-9sxVCiH_.js → InsightsCardStack-DfJXM3Fn-B0luA3Cz.js} +7 -7
- package/dist/assets/{InsightsSection-B0Rg5beY-C7jqTQvj.js → InsightsSection-4aveyVKo-DnKJf3sJ.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-BQmjM8Np-lw6-THGQ.js → IntegrationsSettingsPage-BZMs-taD-ChagB0kp.js} +4 -4
- package/dist/assets/{InternationalWireSwiftDetailsPage-ChSGHFzT-CslF7PO2.js → InternationalWireSwiftDetailsPage-D3mlT5XG-CMQP_Nn8.js} +4 -4
- package/dist/assets/{InternationalWireVerificationPage-D41gWYDb-CdKJSDXF.js → InternationalWireVerificationPage-MUHsO8eu-CkpdoULT.js} +1 -1
- package/dist/assets/{InviteFormPage-CltJ2XYv-BLV5ZcY_.js → InviteFormPage-aZR9lFWK-BCwWSqH4.js} +1 -1
- package/dist/assets/{InvitePageListView-D5OdkeEV-jnf94Cyf.js → InvitePageListView-CHyiR2RC-Sk8zihrC.js} +12 -12
- package/dist/assets/{InvitePeoplePage-CyXnulj0-Cicnd476.js → InvitePeoplePage-BRl496Mv-FaAOJzgH.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-B2ePrdY8-BItjPn0Z.js → InvoiceUploadSection-BqpspjSO-DbodpMov.js} +6 -6
- package/dist/assets/{IssueChargeCardPage-BCfMS2Zu-BkuU4f28.js → IssueChargeCardPage-D39Bd6J9-Bz3hak_j.js} +21 -21
- package/dist/assets/{LabeledAddressValue-D7udvbin-MXccYRGn.js → LabeledAddressValue-w3powIaN-xKKxpzsE.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-jlDhqmgU-BPufGwXD.js → LabeledAddressValueField-BPOKk4mI-BFmVYPcn.js} +2 -2
- package/dist/assets/{LabeledControlledCheckBoxField-DNmJFVpZ-EZh4BAHK.js → LabeledControlledCheckBoxField-afEn8tHL-DxqXt4PA.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-B6Vit6ZA-Dwqsu8ia.js → LabeledCreatableSingleSelectField-DXA_bSyS-BJinmWca.js} +3 -3
- package/dist/assets/{LabeledDocumentField-CbTN9aAs-DarpxPt9.js → LabeledDocumentField-Z9OHDFr6-HgLdszDI.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-CD6Bs8EU-8n_glFVG.js → LabeledDropDownFormattedTextField-0Bk8vscY-CDQY3SED.js} +3 -3
- package/dist/assets/{LabeledText-aSB1WzCl-Cv-M2FmN.js → LabeledText-CgI7e_L--BwhQOiOZ.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Y99F7D2f-DZP5midF.js → LabeledUserSingleSelectWithSubtitlesField-B0y_IMnV-GTOhW6B-.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-BJePp4f_-DBG_e5Mt.js → LabeledZeniRolesDropDownField-CEwtGHuw-Bl11WCzt.js} +14 -14
- package/dist/assets/{LinkJETransactionPage-CNbLCYzA-2xhERErX.js → LinkJETransactionPage-BqF3QSeN-CXTqkit6.js} +2 -2
- package/dist/assets/{LockCardPage-DMB-6EyM-BsprVU84.js → LockCardPage-Ui2RTfpb-B7R1Xixi.js} +10 -10
- package/dist/assets/{LowBalancePopup-D8MLLJa7-MvDx9vDJ.js → LowBalancePopup-DzqqMGEK-DvUWGZSI.js} +1 -1
- package/dist/assets/{MagicLinkACHDetailsPage-BdS3aAWw-BWomnIlM.js → MagicLinkACHDetailsPage-Kz-uZGml-CF0KJ9I8.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-CG0a1drB-ClmK30Ad.js → MagicLinkDomesticWireDetailsPage-DNR1hQud-DTuqaECC.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-C9-ZvcKN-D4SzYeJM.js → MagicLinkInternationalWireDetailsPage-B-hsxI7i-DU8bPbJw.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-BBQLFLJ9-CwQfREmk.js → MagicLinkSuccessPage-CTyWzEAl-CcSFqgbx.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-BVR_lDfw-B40quQKP.js → MagicLinkTitleSection-egx3li4v-CK9jYn1b.js} +1 -1
- package/dist/assets/{MailingDetailsSection-DZi-O94--BIJQvtBB.js → MailingDetailsSection-D28xdU_N-D7dNEE4R.js} +1 -1
- package/dist/assets/{Menu-DGwHJlS--B2gglYn5.js → Menu-BsPZbkcv-dMEFFJAw.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-BYTxFTOW-CsO2zFjS.js → MyBankConnectionsSettingsPage-B7pw1loZ-BZemPN_o.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-CUvKbnux-BNYAO_DO.js → MyPendingActivationChargeCardListPage-CaDgVLY9-D9RWTHXk.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-BHnImAny-D-Shv0Uv.js → MyProfileSettingsPage-DGPjjcRE-BkjL1klq.js} +11 -11
- package/dist/assets/{NavBarWithPicker-Q739fT8--UnmrOwGT.js → NavBarWithPicker-CK69EXMo-BopYsgXw.js} +3 -3
- package/dist/assets/{NavigationArrow-DQfX85VC-CA-sDlNd.js → NavigationArrow-B5JMjj8b-Yf4kFeB6.js} +1 -1
- package/dist/assets/{NavigationDots-CyCjbpW--CcAb2ybd.js → NavigationDots-yYEq4mai-Bct7I6H1.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-CzT7wrsy-sdDrCPZI.js → NewGlobalMerchantPage-DXdipj9r-Cg-jSrpq.js} +4 -4
- package/dist/assets/{NoDataChart-BnAshBnb-CEIovBiA.js → NoDataChart-CetZJAul-Dliv4FgS.js} +1 -1
- package/dist/assets/{NoDataTable-BhokhW6d-BUEpwEUA.js → NoDataTable-CbxTnnUj-RBS2BO0t.js} +1 -1
- package/dist/assets/{NotFoundPage-uFZMkf3D-Bb8ms-JK.js → NotFoundPage-JK9WWLQL-t0Ol92QM.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-BE1_MgJM-CZqU-CjD.js → NotificationSettingsPage-BYFMb4y6-BucvDhx8.js} +7 -7
- package/dist/assets/{NotificationsListConfig-CUWNEUCL-Cc5u1ykI.js → NotificationsListConfig-EKmLeUqF-DPKxh2va.js} +1 -1
- package/dist/assets/{NotificationsPage-BMZvKV7t-aupuxjdZ.js → NotificationsPage-Ca9rvFJG-3IKE1yMl.js} +23 -23
- package/dist/assets/{OpExByVendorPage-BuHAApyT-rWVMd94-.js → OpExByVendorPage-S3IdisaI-C-NcDs3u.js} +20 -20
- package/dist/assets/{OverlayContainerPage-BKHs_4eI-DRCwuTah.js → OverlayContainerPage-BKHs_4eI-B8gf_Owe.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-B0IiVx6D-DJIGzqmY.js → PandLWithForecastPage-Bf-D_XNg-CrzOb2hU.js} +7 -7
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-BkfPpFae-CYS3dtli.js → PaymentAccountSetupBillingAddressSection-CMVwDWuf-jHkUqKP1.js} +13 -13
- package/dist/assets/{PeoplePage-Cj9mjcMw-DIuj4uBO.js → PeoplePage-BKkwc_YR-BoZfR8X8.js} +1 -1
- package/dist/assets/{ProductsCarousel-_jYEgpxl-BPan4QrC.js → ProductsCarousel-DsI5t_Kc-Cpn89x6_.js} +1 -1
- package/dist/assets/{PromoBaseCards-8tkwl6GI-D8H5ISya.js → PromoBaseCards-CnQcR3Wn-B3iRHG7z.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-CJz2SlfE-CzL2ZkWG.js → QBOConnectionDialog-PCdTWQqn-D0QAr5xA.js} +2 -2
- package/dist/assets/{QBOSetupSection-CpfryKtp-CCwrlg6z.js → QBOSetupSection-DhsqYA8G-Dcjp9EQd.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-B8CBB3JI-Dfv6ookH.js → ReimbursementApprovalRuleDetailPage-Dao_lRpW-BNs6twdR.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BsLmDz25-BIh2ftJK.js → ReimbursementApprovalRulesPage-B_LTt_z4-DnK-3YAX.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-DiG34Vur-DY0Lejn5.js → ReimbursementDetailPage-H6HNtQHN-2pM8Fun7.js} +8 -8
- package/dist/assets/{ReimbursementPromoPage-CNZdwAl--DtrZvGd-.js → ReimbursementPromoPage-j-UbNrbV-VHty7Yzb.js} +4 -4
- package/dist/assets/{ReimbursementSetUpPage-Ccc4qnNZ-DKLe8Fql.js → ReimbursementSetUpPage-FagEYTJ_-BpDXEjSX.js} +7 -7
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-Cza64yGU-BvagL3e0.js → ReimbursementsBulkReviewDrawerPage-imSK_7rH-B3IJ7p46.js} +1 -1
- package/dist/assets/{ReloadCard-Cnz9ywvF-cCwwnrRx.js → ReloadCard-CqdeJe0l-Bb07dYPg.js} +3 -3
- package/dist/assets/{ReportTableViewSelector-B70dJfTV-DVdkDJvs.js → ReportTableViewSelector-DgPlLWgl-CNrxPhYC.js} +5 -5
- package/dist/assets/{ReportsPage-DdvNbMAj-k0AKFDiG.js → ReportsPage-ByfO0uyp-DE8vAkKj.js} +6 -6
- package/dist/assets/{RevenueChart-B0CcrRHw-Bjc6bGj4.js → RevenueChart-ChbWXtmx-BA32Na2v.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-BVebc63A-DKINOdNY.js → ReviewDetailsPage-BsOffi8f-BLsxP3vo.js} +5 -5
- package/dist/assets/{ReviewOverlay-Dm9GTjwu-BclBebcR.js → ReviewOverlay-B73a-P2j-CTP6pyS2.js} +7 -7
- package/dist/assets/RoleWithToolTip-Ckorto5Y-CV42dy1h.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BWwDY16q-Btg56y8u.js → ScheduleDetailsFixedAssetsPage-0vTqFn9N-BEm7Cgkc.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-CqFbh9HE-BfLqdFxl.js → ScheduleDetailsPage-Cl11M6UJ-BhHsLjma.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-DDYFTEg4-CSy2E-uq.js → ScheduleSequenceTable-ClzxD7gh-DTqJnrdA.js} +26 -26
- package/dist/assets/{ScreenRoutes-D49C0WcQ.js → ScreenRoutes-D3i6oNhN.js} +1 -1
- package/dist/assets/{SetUpAccountSection-BuF3A3dP-BZ3r3Psc.js → SetUpAccountSection-xqqgeGLA-YX4p_D4B.js} +1 -1
- package/dist/assets/{SignIn-CyGyU8wg-DD8ikdc-.js → SignIn-Bh-9-pko-DyJR1DLA.js} +14 -14
- package/dist/assets/{SignInScreen-CfID-gEr.js → SignInScreen-CaiIkh6O.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-DPUhOVZl-BIYxolAI.js → SpendManagementListViewPage-Bn4KmChq-B4Y0L643.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-CeYdMTbj-CpMZyOuZ.js → SpendManagementPerTabPage-pYgoZlfR-DI3UJ4l8.js} +37 -37
- package/dist/assets/{SpendManagementSection--vF9XUYO--4ea-x8g.js → SpendManagementSection-4ctnlmiO-I2pWsNDv.js} +1 -1
- package/dist/assets/{StatementItem-CiYj7XWK-C2ak2Frp.js → StatementItem-CYkgMHQd-B65BnaGl.js} +6 -6
- package/dist/assets/{StatementsPage-SLgIPcxl-CdejJ_2a.js → StatementsPage-BeF9vuPn-DNaEdwZ3.js} +1 -1
- package/dist/assets/{StatusSwitcher-CAMXea4Z-CDvNmH2h.js → StatusSwitcher-DOwOcMYF-CSG0Jxkr.js} +1 -1
- package/dist/assets/{SubTabSwitcher-BFezBmcr-BpoFQXM4.js → SubTabSwitcher-BcEtc_ob-GF65Or0C.js} +1 -1
- package/dist/assets/{SummaryCard-Bk5Eh2IR-C1Ko3Pw8.js → SummaryCard-fjNCTkA5-B-M5KnHi.js} +1 -1
- package/dist/assets/{TaskManagementPage-ClL2snRe-ChuYY0Bm.js → TaskManagementPage-BYMJMIhz-Do04zyQE.js} +15 -15
- package/dist/assets/{TimeRangeSwitcher-fGI52XTc-DDrlcz53.js → TimeRangeSwitcher-B4FKox6K-C6y8kYZQ.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-CV-bryv5-D0JGSy-O.js → TimeframeSwitcher-DVWPgeL0-8qGmZwOz.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-kmZOYJwI-B5-r5xMt.js → TimeframeSwitcherWithToggle-BWGJWyJr-ClUkg8re.js} +1 -1
- package/dist/assets/{TopExCard-DeYN3ImD-Dkj3Ba2o.js → TopExCard-CUrz7PjD-Co2zX82Y.js} +5 -5
- package/dist/assets/{TopExDetailPage-BmyFCtzb-C-wOf8kf.js → TopExDetailPage-BMzQUB6s-BXWwFBJe.js} +3 -3
- package/dist/assets/{TransactionDetailPage-BFpvUUmz-tcGocK9Q.js → TransactionDetailPage-CZdeoUBY-XP0PswSG.js} +31 -31
- package/dist/assets/{TransactionList-JHbSuP08-C9rgd_Ix.js → TransactionList-CixEJAgS-CGekhIG9.js} +8 -8
- package/dist/assets/{TransactionListBig-FzOmuwBP-DHA__aWd.js → TransactionListBig-CMVJvB3o-DxRTSLNX.js} +7 -7
- package/dist/assets/{TransactionListPage-Kkxkkd_A-BatRqWwb.js → TransactionListPage-CAMz9-YS-BNVZMAVt.js} +6 -6
- package/dist/assets/{TransactionVendorDetailPage-m1wxsTyn-DQLH0kjE.js → TransactionVendorDetailPage-CzbyeJ4F-DfY35mWk.js} +3 -3
- package/dist/assets/{TransferDrawerPage-obzTPCDc-YPPUrSeX.js → TransferDrawerPage-aQAyy9SJ-CtSZX6V_.js} +6 -6
- package/dist/assets/{TreasuryOverviewPage-DW68UR3w-BYOCm1Ax.js → TreasuryOverviewPage-DStdhtYj-BmaX-LUn.js} +8 -8
- package/dist/assets/{TreasuryPromoPage-BW76YUSB-92MR0Rhn.js → TreasuryPromoPage-ukEVtL3s-BxkytgW6.js} +7 -7
- package/dist/assets/{TreasuryStatementsPage-BDD4VO8n-yjwbIsnQ.js → TreasuryStatementsPage-CrTNmv-B-fC2pfiKh.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-B2NDIt_Q-DQBewAhJ.js → TreasuryTaxLetterPage-BkyI9zJM-Ds84Dj6n.js} +1 -1
- package/dist/assets/{TrendChart-D5CYCZnh-jI_0d3RS.js → TrendChart-BV_FYo44-Dbzn5dy8.js} +1 -1
- package/dist/assets/{TrendWithTransactions-DoCnDpHm-CseGzJLE.js → TrendWithTransactions-COtEkfX9-BcCvtDz-.js} +5 -5
- package/dist/assets/{UncategorizedAccountsMappingPage-DX_TBAhJ-BifS6Z1Z.js → UncategorizedAccountsMappingPage-CDFz90Rp-CAIHAo3N.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-DZfp553j-CLZuBojC.js → UnitIntegrationPage-DU3fVYZs-CPctIuWc.js} +1 -1
- package/dist/assets/UploadAdditionalDocumentOverlay-C663UVhz-FUVjkpYI.js +38 -0
- package/dist/assets/{Vendor2FAPopup-BmT-gcIz-BAttQ6sz.js → Vendor2FAPopup-DTGw_BLn-CTkC0axp.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-CQ7Hq4OS-B46pxKZi.js → VendorACHDetailsPage-BEB-BRPf-BW1XdRCh.js} +1 -1
- package/dist/assets/{VendorDetailPage-Cs6xk6eD-C2mD2bAn.js → VendorDetailPage-DgKqF5w_-Da2PCb7B.js} +5 -5
- package/dist/assets/{VendorDomesticWireDetailsPage-8mY07nVg-Bhe6n6ma.js → VendorDomesticWireDetailsPage-DsT7aeCi-Cxqzwzrv.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-CAFeI80I-BNRATvbB.js → VendorFiling1099EditablePage-DSQPqiXK-BlXqobVl.js} +14 -14
- package/dist/assets/{VendorFirstReviewPage-ACNdg13I-BBFigPLV.js → VendorFirstReviewPage-CHhQfRiw-BCpTFAZN.js} +70 -70
- package/dist/assets/{VendorInternationalWireDetailsPage-BpkamVMK-DHFHkBlm.js → VendorInternationalWireDetailsPage-BALUN3IH-B1HapV15.js} +4 -4
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-Gvr65ujG-Cbkt0rds.js → VendorInternationalWireSwiftDetailsPage-BCJLWye_-CJZeW3NQ.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-AmC5VwVD-Dai89305.js → VendorsAccountsSection-BNeOtayE-BfOhq53p.js} +1 -1
- package/dist/assets/{VerifyDevice-PHsuiYk_-C3P5bI-f.js → VerifyDevice-BdS9Wg6i-km9HNFiy.js} +2 -2
- package/dist/assets/{VideoPlayer-DSqyhtMK-Bq_iUGAT.js → VideoPlayer--4ECwDUJ-DpdXEWOa.js} +1 -1
- package/dist/assets/{VideoPopup-BcGkTYtT-Bq1MviYe.js → VideoPopup-D0KR8nhb-L_41dJ_u.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-BMxsT694-Dh0r8GII.js → WarningsDrawerPage-CZi7W_N2-BvrjJAup.js} +10 -10
- package/dist/assets/{ZeniAccountDetailPage-CvVIdc-T-CmWo3sKu.js → ZeniAccountDetailPage-DRpUQWRY-CFQQ9DDl.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-D8RyYP_F-Bp50NOd0.js → ZeniAccountListViewPage-B58qILci-DPpjeTIQ.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-DN7XGX4V-S7xRuo_L.js → ZeniAccountNavBarPieces-BvwIaUWa-BHDVxbAK.js} +2 -2
- package/dist/assets/{ZeniAccountPromoPage-DtkPkWS_-CqSOxNoQ.js → ZeniAccountPromoPage-BKn8HRaG-C8TqY5PJ.js} +10 -10
- package/dist/assets/{ZeniAccountSetupPage-NDzdHEb2-BSdVbWlw.js → ZeniAccountSetupPage-B52_WsH5-Ny13na_H.js} +2 -2
- package/dist/assets/{ZeniCopyright-C2Et8K0x-BTL8B2k6.js → ZeniCopyright-BBZoZbnj-BkZUi5kn.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-D7NLq8nU-BqdW2fwr.js → ZeniTransferAmountSlider-DuVixxF--B3VBiout.js} +1 -1
- package/dist/assets/{analyticsHelper-CaFa35yP-y6DqL5PI.js → analyticsHelper-BFEbpTaS-CI1-ZwNW.js} +1 -1
- package/dist/assets/{analyticsHelper-DmiuEs_i.js → analyticsHelper-DEd3yAFk.js} +1 -1
- package/dist/assets/{chartTypes-D3stzk-w-DQVIS8Ln.js → chartTypes-D3rvsvls-DmtOpgie.js} +1 -1
- package/dist/assets/{commonDimensions-DP_SFwFq-BksANX8O.js → commonDimensions-DTY9_AOp-DlMPlh2t.js} +1 -1
- package/dist/assets/{detailCommon-Cz5amAEd-CO9_-OPi.js → detailCommon-CLP6KEix-B5bEqT96.js} +4 -4
- package/dist/assets/{downloadPdf-BEpDZsHw-CzTXRf0g.js → downloadPdf-DEpaGHNR-Bw53_d32.js} +1 -1
- package/dist/assets/{index-BtlpidgV.js → index-CN7UAWAg.js} +2530 -2515
- package/dist/assets/{mapLoadingInProgressToTreeNode-9Bg2UmOc-bbKS3D2Z.js → mapLoadingInProgressToTreeNode-B_mkEOSy-BQa7i_Nl.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CrGK4Cl1-9Hp5AlH4.js → mapSectionWithAcOnlyToTreeNode-C_s2TWXG-1zhixfCC.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-Dpahky1g-DWriXxV-.js → mapSpacerToTreeNode-BsPCAFm5-CkJKxUF2.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DGNk2hE1-Dsh1cQC2.js → mapTimeframeBalancesToTreeNode-6mbqZF6a-D84LKXiT.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DD94NO-L-LlYX5dPv.js → mapTimeframeBalancesToTreeNode-DLbpODYp-DDiXCv85.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CJYVSL83-BSl-XV4B.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CKvU3bUP-kVnJxQIG.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-iOGWxWc5-BQC_85M2.js → toCOABalancesWithID-CHHSLp5k-D9n1b9Hs.js} +1 -1
- package/dist/assets/{toChartData-BEJwj1pL-G6Vr-TZM.js → toChartData-CBhPep_F-DbHa5eNf.js} +1 -1
- package/dist/assets/{uploadAttachment-Cs4cwF3u-BgZER3AH.js → uploadAttachment-BXzSdWYh-ChPsAoWK.js} +6 -6
- package/dist/assets/{uploadReceipts-Dp1dvCjf-DdH6yc0b.js → uploadReceipts-Dp1dvCjf-CdBFemgP.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/CustomerOnboardingContainerPage-BoQBdIuG-HEPhtwHV.js +0 -1
- package/dist/assets/EditPeoplePage-DIj7SItK-CTt9SgjG.js +0 -55
- package/dist/assets/RoleWithToolTip-CqLSnFDx-Cq53LB-b.js +0 -22
- package/dist/assets/UploadAdditionalDocumentOverlay-BqO1S9_p-BQEvr7HR.js +0 -38
package/dist/assets/{BillPayPromoPage-B9Tz3jBR-i-0CPc7c.js → BillPayPromoPage-BKleb4US-pzvsBPOp.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{ax as _,q as $,aP as ee,l as g,F as M,j as e,fG as ie,bG as le,n as B,aM as C,af as x,o as l,ar as se,a as oe,d as U,aS as A,an as re,y as te,p as S,cS as ae,aT as ne,ba as de,u as ce}from"./index-
|
|
1
|
+
import{ax as _,q as $,aP as ee,l as g,F as M,j as e,fG as ie,bG as le,n as B,aM as C,af as x,o as l,ar as se,a as oe,d as U,aS as A,an as re,y as te,p as S,cS as ae,aT as ne,ba as de,u as ce}from"./index-CN7UAWAg.js";import{b as u,n as s}from"./vendor-Bs1fkIUX.js";import{f as pe}from"./VideoPopup-D0KR8nhb-L_41dJ_u.js";import{M as z}from"./usp-line-BBd1wKwW-ZlUrfnG1.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./VideoPlayer--4ECwDUJ-DpdXEWOa.js";const L="https://storage.googleapis.com/zeni-apis.appspot.com/images/Billpay-Light.png",I="https://storage.googleapis.com/zeni-apis.appspot.com/images/Billpay-Dark.png",xe={midContainerMarginBottom:new te(ce[5],44)},me=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
min-height: 100%;
|
|
@@ -23,11 +23,11 @@ import{ax as _,q as $,aP as ee,l as g,F as M,j as e,fG as ie,bG as le,n as B,aM
|
|
|
23
23
|
align-items: center;
|
|
24
24
|
justify-content: center;
|
|
25
25
|
margin-bottom: ${i=>xe.midContainerMarginBottom.valuePx(i.windowSize)};
|
|
26
|
-
`,we=s.div``,m=s.img``,
|
|
26
|
+
`,we=s.div``,m=s.img``,R=s.div`
|
|
27
27
|
width: ${i=>i.windowSize==="small"?"auto":"376px"};
|
|
28
28
|
display: flex;
|
|
29
29
|
flex-direction: column;
|
|
30
|
-
`,
|
|
30
|
+
`,E=s.div`
|
|
31
31
|
width: ${i=>i.windowSize==="small"?"100%":"calc(100% - 376px)"};
|
|
32
32
|
overflow: hidden;
|
|
33
33
|
max-width: 712px;
|
|
@@ -81,4 +81,4 @@ import{ax as _,q as $,aP as ee,l as g,F as M,j as e,fG as ie,bG as le,n as B,aM
|
|
|
81
81
|
`,fe=s(A)`
|
|
82
82
|
margin: ${i=>i.windowSize==="small"?l.sp1:`auto ${l.sp5}`};
|
|
83
83
|
color: ${i=>i.theme.colors.grey1};
|
|
84
|
-
`,o=M.getLocalizedStrings().spendManagement.billPay.billPayPromo,t=M.getLocalizedStrings().commonSetUp.businessVerification.terms,
|
|
84
|
+
`,o=M.getLocalizedStrings().spendManagement.billPay.billPayPromo,t=M.getLocalizedStrings().commonSetUp.businessVerification.terms,Ie=({billPaySetupView:i,analytics:r,meetingUrl:Z,videoUrl:F,onButtonClick:H,onBackClick:J,onSetupBillPaySuccess:b,onClickMenuIcon:K})=>{const h=_(),a=$(),{billPayTermsDetails:p}=i,[N,Q]=u.useState(!1),[W,k]=u.useState(!1),v=ee(p?.fetchStatus.fetchState);u.useEffect(()=>{v==="In-Progress"&&p?.fetchStatus.fetchState==="Completed"&&b?.()},[v,b,p?.fetchStatus]);const X=()=>{r?.trackBillPayPromoScheduleDemo(),k(!0)},Y=g.hasBillPayAdminLevelAccess(h.loggedInUserRoleMap),P=g.hasBillPayAccess(h.loggedInUserRoleMap)&&!Y,T=P?o.setupNonAccessableUsersPromoText:o.promoText;return e.jsxs(me,{children:[N===!0?e.jsx(pe,{onCancelClick:()=>{Q(!1)},videoUrl:F}):null,W===!0?e.jsx(ie,{onCancelClick:()=>{k(!1)},meetingUrl:Z}):null,e.jsx(le,{title:o.title,onBackClick:J,showBackButton:!g.hasOnlyBillPayAccess(h.loggedInUserRoleMap),showMenuIcon:a==="small"||a==="medium-compact",onClickMenuIcon:K,source:"BillPayPromoPage"}),e.jsxs(he,{windowSize:a,children:[a==="small"?e.jsx(ue,{children:T}):e.jsx(ge,{children:T}),a==="small"?e.jsx($e,{}):e.jsx(Se,{}),P===!1?e.jsxs(we,{children:[e.jsxs(ye,{windowSize:a,children:[e.jsx(B,{variant:"secondary",label:o.scheduleDemoButton,onClick:X,"data-testid":C("billpay-schedule-demo-button")}),e.jsx(fe,{windowSize:a,children:o.orText}),e.jsx(B,{variant:"primary",label:o.setupBillPayButton,loading:p?.fetchStatus.fetchState==="In-Progress",onClick:H,"data-testid":C("billpay-setup-button")})]}),e.jsxs(je,{children:[o.terms.terms1,e.jsx(x,{href:t.consentUrl,linkText:t.consent}),t.term2,e.jsx(x,{href:t.depositUrl,linkText:t.depositTerms}),t.term3,e.jsx(x,{href:t.privacyPolicyUrl,onZeniLinkClick:()=>(r?.trackBillPayPrivacyPolicy(),!0),linkText:t.privacy}),t.term4,e.jsx(x,{href:t.tosUrl,onZeniLinkClick:()=>(r?.trackBillPayAgreement(),!0),linkText:t.tos}),t.term5,o.terms.terms3]})]}):null]})]})},$e=()=>{const i=U(),r=$();return e.jsxs(D,{windowSize:r,children:[e.jsx(E,{windowSize:r,children:e.jsx(V,{windowSize:r,children:i.mode==="dark"?e.jsx(m,{src:I,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"}):e.jsx(m,{src:L,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"})})}),e.jsxs(R,{windowSize:r,children:[e.jsxs(n,{windowSize:r,children:[e.jsx(d,{children:e.jsx(O,{})}),e.jsxs(c,{children:[e.jsx(f,{children:o.fullyManagedText.bold}),e.jsx(y,{children:o.fullyManagedText.regular})]})]}),e.jsxs(n,{windowSize:r,children:[e.jsx(d,{children:e.jsx(G,{})}),e.jsxs(c,{children:[e.jsx(f,{children:o.multiLevelApprovalText.bold}),e.jsx(y,{children:o.multiLevelApprovalText.regular})]})]}),e.jsxs(n,{windowSize:r,children:[e.jsx(d,{children:e.jsx(q,{})}),e.jsxs(c,{children:[e.jsx(f,{children:o.aiPoweredText.bold}),e.jsx(y,{children:o.aiPoweredText.regular})]})]})]})]})},Se=()=>{const i=U(),r=$();return e.jsxs(D,{windowSize:r,children:[e.jsxs(R,{windowSize:r,children:[e.jsxs(n,{windowSize:r,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(O,{})}),e.jsxs(c,{children:[e.jsx(j,{children:o.fullyManagedText.bold}),e.jsx(w,{children:o.fullyManagedText.regular})]})]}),e.jsxs(n,{windowSize:r,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(G,{})}),e.jsxs(c,{children:[e.jsx(j,{children:o.multiLevelApprovalText.bold}),e.jsx(w,{children:o.multiLevelApprovalText.regular})]})]}),e.jsxs(n,{windowSize:r,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(q,{})}),e.jsxs(c,{children:[e.jsx(j,{children:o.aiPoweredText.bold}),e.jsx(w,{children:o.aiPoweredText.regular})]})]})]}),e.jsx(E,{windowSize:r,children:e.jsx(V,{windowSize:r,children:i.mode==="dark"?e.jsx(m,{src:I,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"}):e.jsx(m,{src:L,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"})})})]})};export{Ie as default};
|
package/dist/assets/{BillPaySetUpPage-Dt_bfrGH-CUojvimq.js → BillPaySetUpPage-DwK0lrbO-rQcYv7BW.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as Oe,q as Ue,aP as V,aa as _e,cT as
|
|
1
|
+
import{d as Oe,q as Ue,aP as V,aa as _e,cT as De,F as Re,l as He,aU as Z,j as t,fo as ze,aM as Le,p as qe,y as u,bG as Me,k as Ne,ad as Ge,fH as H,e7 as Je,fI as Ke,bB as Qe,dZ as Ze,c6 as Xe,fJ as Ye,aQ as et,o as L,fK as tt,u as a,am as it,bQ as nt}from"./index-CN7UAWAg.js";import{b as g,n as m}from"./vendor-Bs1fkIUX.js";import"./SetUpAccountSection-xqqgeGLA-YX4p_D4B.js";import{g as ot}from"./UploadAdditionalDocumentOverlay-C663UVhz-FUVjkpYI.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const n={titleWidth:new u(343,580,726,826),setupDetailsRowGap:new u(12,a[5],a[5]),sectionRowGap:new u(a[5],a[9],a[9]),lastSectionPaddingBottom:new u(a[7],a[10],a[10]),iconWidthHeight:new u(20,a[4]),subTitlePaddingTop:new u(12,a[3]),subTitlePaddingBottom:new u(a[3],a[3]),overlayWidth:new u(100,100,59)},X="billPaySetUpPage",E="billPayAccount",vt=({billPaySetupView:e,isDisabled:w,billpayApprovalView:W,meetingUrl:v,showIntlWiseWidget:s,connectedAccountProvider:ee,isAccountsEnabled:te,isLocalCurrencyEnabled:ie,analytics:y,filesEndPoint:ne,authParams:oe,accountsPromoConfig:ae,onBackClick:le,onBusinessVerificationSectionClick:ce,onSetupApprovalRulesSectionClick:se,onFetchLinkTokenClick:re,onEstablishConnectionClick:de,onEstablishConnectionSuccess:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAccountClick:he,onUpdatePaymentAccountStatus:fe,onUpdatePaymentAccountLoginStatus:ge,onEnableBillPayClick:me,onEnableBillPaySuccess:q,onClickMenuIcon:ye,onInternationPaymentSetUpClick:be,onEditFileName:Se,onDeleteFile:Pe,updateFilesEntity:xe,onCompanyOfficerUpdated:we,onSendForVerificationClick:ve,onSignUpClick:Ce})=>{const C=Oe(),i=Ue(),[k,b]=g.useState(!1),M=g.useRef(null),{fetchState:p,updateStatus:S,accountUpdateStatus:ke,plaidConnectionDetails:$,allBankAccounts:Ae,companyBillPayInfo:A,isRefreshingViewInBackground:Te,selectedCompanyOfficer:c,primaryFundingAccount:r,allFundingAccounts:N}=e,h=A?.internationalWireOnboardingStatus,T=h==null||h.code==="onboarding_status_not_started",{fetchState:G,allApprovalRules:j,approvalRulesStatus:je}=W,O=$.link_account.updateStatus,U=$.update_account.updateStatus,B=V(p),J=V(S.fetchState),K=V(O.fetchState),Q=V(U.fetchState),P=_e({mode:"all",reValidateMode:"onChange",defaultValues:g.useMemo(()=>z(e),[e]),values:z(e)});g.useEffect(()=>{!k&&c?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&c.areAdditionalDocumentsRequestedForVerification&&!c.areAdditionalDocumentsSubmittedForVerification&&c.userVerificationStatus?.code==="require_info"&&b(!0),k&&B==="In-Progress"&&p==="Completed"&&b(!1)},[c,p,B]),g.useEffect(()=>{(B==="In-Progress"&&p==="Completed"||K==="In-Progress"&&O.fetchState==="Completed"||Q==="In-Progress"&&U.fetchState==="Completed")&&P.reset(z(e))},[B,p,P,e,K,O.fetchState,Q,U.fetchState]);const Be=P.handleSubmit(x=>{y.trackEnableBillPay(),me()}),Fe=async(x,I)=>{const o=I[E];if(x.includes(E)){if(x.includes("fundingAccount")){if(o.fundingAccount.selectedOption!=null&&r?.id!=o.fundingAccount.selectedOption){const f=N.find(R=>R.id===o.fundingAccount.selectedOption);f!=null&&pe(o.fundingAccount.selectedOption,f.accType)}}else if(o.account.selectedOption!=null&&r?.id!=null&&r?.zeniAccountId!=o.account.selectedOption){const f=o.account.allOptions.find(R=>R.value===o.account.selectedOption);f!=null&&typeof f.label=="string"&&y.trackConnectBankLink(f.value,f.label,"bill_pay"),he(o.account.selectedOption,r.id,r.accType)}}};g.useEffect(()=>{const x=P.watch((I,{name:o})=>{o!=null&&I!=null&&De(()=>Fe(o,I))});return()=>{x.unsubscribe()}}),g.useEffect(()=>{J==="In-Progress"&&S.fetchState==="Completed"&&q()},[q,J,S.fetchState]);const{commonSetUp:Ie,spendManagement:Ve}=Re.getLocalizedStrings(),{setUp:d}=Ie,{billPaySetup:l}=Ve.billPay,_=A?.isBusinessVerified===!0&&(r?.accType==="depositAccount"||He.isVerifiedPaymentAccountProviderStatusCode(r?.providerVerificationStatus?.code??"")),D=A?.isBillPayEnabled===!0,Ee=_?d.setupVerifiedSubTitle:l.setupSubTitle,We=p==="In-Progress"||p==="Not-Started"||G==="In-Progress"||G==="Not-Started",F=C.mode==="light"?new Z(C.colors.brandColorJadeLight):new Z(C.colors.brandColorJadeDark),$e=()=>{!k&&c?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&c.areAdditionalDocumentsRequestedForVerification&&!c.areAdditionalDocumentsSubmittedForVerification&&c.userVerificationStatus?.code==="require_info"?b(!0):ce?.()};return t.jsxs(lt,{ref:M,children:[t.jsx(ze,{anchor:"right",PaperProps:{style:{width:n.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:k,onClose:()=>b(!1),style:{backgroundColor:qe.drawerBackground},transitionDuration:250,"data-testid":Le("bill-pay-setup-drawer"),children:t.jsx(ot,{authParams:oe,filesEndPoint:ne,updateStatus:S,onEditFileName:Se,onDeleteFile:Pe,updateFilesEntity:xe,companyOfficer:c,onClose:()=>b(!1),onCompanyOfficerUpdated:we,onSendForVerificationClick:ve})}),t.jsx(Me,{title:l.setupTitle,style:{zIndex:3},onBackClick:le,showMenuIcon:!D&&(i==="medium-compact"||i==="small"),onClickMenuIcon:ye,scrollableContent:M,backgroundColor:C.colors.grey4,source:"BillPaySetUpPage"}),t.jsxs(rt,{windowSize:i,children:[t.jsx(st,{windowSize:i,children:Ee}),We?t.jsx(dt,{children:t.jsx(Ne,{size:"ExtraLarge",start:!0})}):t.jsxs(at,{children:[t.jsx(Ge,{...P,children:t.jsx("form",{id:Y(X),onSubmit:Be,children:t.jsxs(ut,{windowSize:i,children:[t.jsx(H,{onClick:$e,title:d.businessVerificationTitle,subTitle:d.businessVerificationSubTitle,header:d.businessVerificationHeader,icon:{element:t.jsx(Je,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:F},status:A?.businessVerificationStatus,isLoading:Te,isActiveWhileLoading:!0}),t.jsx(Ke,{connectedAccountProvider:ee,primaryFundingAccount:r,allFundingAccounts:N,plaidConnectionDetails:$,allBankAccounts:Ae,sectionId:E,isDisabled:w,onFetchLinkTokenClick:re,onEstablishConnectionClick:de,onUpdatePaymentAccountStatus:fe,onUpdatePaymentAccountLoginStatus:ge,onEstablishConnectionSuccess:ue,icon:{element:t.jsx(Qe,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:F},analytics:y,productType:"bill_pay",isAccountsEnabled:te,onSignUpClick:Ce,pageName:"Bill Pay Setup",accountsPromoConfig:ae}),t.jsx(H,{title:j.length>0?d.approvalTitle:d.createApprovalTitle,subTitle:l.approvalSubTitle,header:j.length>0?d.approvalHeader:d.setupApprovalHeader,icon:{element:t.jsx(Ze,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:F},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},onClick:se,status:j.length>0?je:void 0})]})})}),s===!0?t.jsx(H,{title:T?l.enableInternationalWireTitle:l.internationWireTitle,subTitle:l.internationalWireSubTitle2,header:l.internationalWireHeader,icon:{element:t.jsx(Ye,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:F},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},isClickable:!0,onClick:()=>{T&&y.trackEnableIntlWire(ie),be?.()},status:T?void 0:{name:h.name,code:h.code},statusInfoIcon:h?.code==="verification_pending"||h?.code==="verification_failed"?t.jsx(Xe,{title:h.code==="verification_pending"?l.tooltipTexts.pendingInternationalVerificationText:l.tooltipTexts.internationalVerificationFailed,children:t.jsx(ct,{})}):void 0,shouldHover:!0,showRightArrow:T}):null]})]}),_&&!D&&j.length>0?t.jsx(et,{formId:Y(X),primaryBtn:{label:l.enableBillPay,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:S.fetchState==="In-Progress"||ke.fetchState==="In-Progress",isDisabled:w!=null},showCancel:!1,helperText:l.terms,cancelBtn:{label:""},style:{padding:`12px ${L.sp3}`}}):null,t.jsx(tt,{isFooterRendered:_&&!D,meetingUrl:v,analytics:y,productType:"bill_pay"})]})},at=m.div``,lt=m.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-height: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as fe,q as Ce,aa as be,cT as xe,aU as
|
|
1
|
+
import{d as fe,q as Ce,aa as be,cT as xe,aU as k,F as Pe,j as t,y as x,bG as Ae,k as Ie,ad as ve,bB as je,cU as ke,aQ as $e,o as s,hX as Be,dk as Te,dl as Ee,u as P,am as Ve,h3 as ze,B as Le,p as De}from"./index-CN7UAWAg.js";import{b as _,n as r}from"./vendor-Bs1fkIUX.js";import{M as Oe,r as R,o as Me}from"./PaymentAccountSetupBillingAddressSection-CMVwDWuf-jHkUqKP1.js";import{N as Ue}from"./SetUpAccountSection-xqqgeGLA-YX4p_D4B.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const p={titleWidth:new x(343,580,726,826),setupDetailsRowGap:new x(12,P[5],P[5]),iconWidthHeight:new x(20,P[4]),subTitlePaddingTop:new x(12,P[3])},_e={title:new Le("standardSemiBold","largeSemiBold")},W="billingSetupPage",A="payAccountSectionId",n="subscriptionBillingAddressSectionId",rt=({analytics:e,billingSetupView:a,connectedAccountProvider:g,isDisabled:d,onClickMenuIcon:I,uiState:N,stripeKey:K,googleAPIKey:q,companyId:G,onUpdateAccountClick:J,onFetchLinkTokenClick:Z,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:X,onEstablishConnectionClick:Y,onEstablishConnectionSuccess:ee,handleCreateCardSetupIntent:te,handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:$,handleAddCardPaymentSource:ie,resetCardPaymentViewState:oe,handleResetCardPaymentErrorStatuses:ae,onBillingAddressSave:se,onAddressEditHandler:re})=>{const C=fe(),i=Ce(),{setupView:{paymentAccount:y,plaidConnectionDetails:de,allBankAccounts:le,accountFetchStatus:B},cardPaymentView:m}=a,ce=a.subscriptionBillingAddress,T=y?.providerVerificationStatus,ue=B.fetchState==="In-Progress"||B.fetchState==="Not-Started",S=be({mode:"onSubmit",reValidateMode:"onChange",defaultValues:H(a),values:H(a),resetOptions:{keepDirtyValues:!0}}),pe=S.handleSubmit(c=>{se(G)}),E=a.subscriptionBillingAddressSaveStatus,me=async(c,o)=>{const h=o[A];if(c.includes(n)&&o[n]!=null){const v=S.getValues(`${n}`).country;let u=o[n];if(c.includes(`${n}.street`)&&o[n].street!=null){const{addressValue:f}=o[n].street,j=Te(f?.country);u={street:o[n].street??l.strings.empty,city:f?.locality??l.strings.empty,state:f?.administrativeAreaLevel1??l.strings.empty,country:j,countryCode:f?.countryCode??l.strings.empty,postalCode:f?.postalCode??l.strings.empty,secondaryInfo:o[n].secondaryInfo,suite:o[n].suite},v.selectedOption!==j.selectedOption&&(u={...u,country:j})}else c===`${n}.country`&&v.selectedOption!=null&&(u={...u,countryCode:Ee(v.selectedOption)});u!=null&&re(u)}else c.includes(A)&&h.account.selectedOption!=null&&y?.paymentAccountId!=null&&y.zeniAccountId!==h.account.selectedOption&&J(h.account.selectedOption,y.paymentAccountId)};_.useEffect(()=>{const c=S.watch((o,{name:h})=>{h!=null&&o!=null&&xe(()=>me(h,o))});return()=>{c.unsubscribe()}});const V=C.mode==="light"?new k(C.colors.brandColorJadeLight):new k(C.colors.brandColorJadeDark),{customerOnboardingPage:{sections:{link_payment_account:he,card_payment_method:w}},common:l,billingSetupPage:z}=Pe.getLocalizedStrings(),ge=z.section.subTitle,{text:ye,subText:Se}=he,L=m.cardsList.length>0,D=m?.cardsList[0]?.brand??"other",O=m?.addCardPaymentSourceStatus.fetchState,b=Oe(w.header,w.titleText,w.protectedCardNo,m);let M;L&&(M={header:b.header,title:b.title,subtitle:b.subtitle,status:b.status==="valid"?{name:"Verified",code:"verified"}:{name:"Pending",code:"pending"},showAddPaymentMethodDropDown:L===!0,icon:{element:t.jsx("img",{src:R(D).iconURL,width:p.iconWidthHeight.valuePx(i),height:p.iconWidthHeight.valuePx(i),alt:R(D).name}),color:new k(V)},showCompletedIcon:!1,isError:O==="Error",isLoading:O==="In-Progress",isCompleted:!0,showRightArrow:!1});const[U,we]=_.useState(!1);return t.jsxs(We,{children:[t.jsx(Ae,{source:"BillingSettingsPage",title:z.section.title,backgroundColor:C.colors.grey4,style:{zIndex:3},showBackButton:!1,showMenuIcon:i==="medium-compact"||i==="small",onClickMenuIcon:I}),t.jsxs(Re,{windowSize:i,children:[t.jsx(He,{windowSize:i,children:ge}),ue?t.jsx(Fe,{children:t.jsx(Ie,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...S,children:t.jsx(Je,{children:t.jsx("form",{id:F(W),onSubmit:pe,children:t.jsxs(Ne,{windowSize:i,children:[t.jsx(Ue,{connectedAccountProvider:g,paymentAccount:y,plaidConnectionDetails:de,allBankAccounts:le,header:w.header,sectionTitle:w.header,defaultSectionTitle:ye,defaultSectionSubTitle:Se,sectionId:A,isDisabled:d,onFetchLinkTokenClick:Z,onEstablishConnectionClick:Y,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:X,onEstablishConnectionSuccess:ee,isError:T?.code==="require_info"||T?.code==="failed",icon:{element:t.jsx(je,{width:p.iconWidthHeight.valuePx(i),height:p.iconWidthHeight.valuePx(i)}),color:V},analytics:e,productType:"billing",updateCardPaymentModalState:$,cardPaymentSectionValues:M,cardPaymentView:m,resetCardPaymentViewState:oe,showZeniAccountSection:!1,referrer:"Billing",cardSetupInProgress:U}),Ke(i,l.headers.billingAddress,ce,q,d)]})})})}),ke(S.formState.dirtyFields)?t.jsx($e,{formId:F(W),style:{width:i==="small"?"auto":"100%",paddingTop:s.sp2,paddingBottom:s.sp2,height:s.sp8},primaryBtn:{label:l.footer.save,isLoading:E?.fetchState==="In-Progress",isDisabled:E?.fetchState==="In-Progress",style:{height:s.sp6}},showCancel:!1,containerStyle:{width:"auto",justifyContent:"center"}}):null]}),t.jsx(Me,{handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:$,handleCreateCardSetupIntent:te,handleAddCardPaymentSource:ie,cardPaymentView:m,isCardPaymentOpen:N.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:ae,stripeKey:K,cardSetupInProgress:U,setCardSetupInProgress:we})]})},H=e=>{const{paymentAccount:a,allBankAccounts:g}=e.setupView;return{[A]:{account:{selectedOption:a?.zeniAccountId,allOptions:g.map(d=>({label:d.accountName,value:d.accountId}))}},[n]:Be(n,e.subscriptionBillingAddress)[n]}},Re=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: space-between;
|
|
4
4
|
height: 100%;
|
|
@@ -6,13 +6,13 @@ import{d as fe,q as Ce,aa as be,cT as xe,aU as j,F as Pe,j as t,y as x,bG as Ae,
|
|
|
6
6
|
flex-direction: column;
|
|
7
7
|
align-items: center;
|
|
8
8
|
row-gap: ${e=>p.setupDetailsRowGap.valuePx(e.windowSize)};
|
|
9
|
-
`,
|
|
9
|
+
`,We=r.div`
|
|
10
10
|
display: flex;
|
|
11
11
|
min-height: 100%;
|
|
12
12
|
flex-direction: column;
|
|
13
13
|
width: 100%;
|
|
14
14
|
background-color: ${e=>e.theme.colors.grey4};
|
|
15
|
-
`,He=r(
|
|
15
|
+
`,He=r(Ve)`
|
|
16
16
|
color: ${e=>e.theme.colors.hero};
|
|
17
17
|
display: flex;
|
|
18
18
|
justify-content: center;
|
|
@@ -31,11 +31,11 @@ import{d as fe,q as Ce,aa as be,cT as xe,aU as j,F as Pe,j as t,y as x,bG as Ae,
|
|
|
31
31
|
`,Ne=r.div`
|
|
32
32
|
display: flex;
|
|
33
33
|
flex-direction: column;
|
|
34
|
-
`,Ke=(e,a,g,d,I)=>t.jsxs(qe,{children:[t.jsx(Ge,{windowSize:e,isDisabled:I==="disabled",children:a}),t.jsx(
|
|
34
|
+
`,Ke=(e,a,g,d,I)=>t.jsxs(qe,{children:[t.jsx(Ge,{windowSize:e,isDisabled:I==="disabled",children:a}),t.jsx(ze,{googleAPIKey:d??"",addressToEdit:g,sectionId:`${n}`,style:{marginLeft:"0px"},elementsStyle:{paddingRight:"0px"}})]}),qe=r.div`
|
|
35
35
|
margin-top: ${s.sp3};
|
|
36
36
|
margin-bottom: ${s.sp4};
|
|
37
37
|
`,Ge=r.div`
|
|
38
|
-
${e=>`${
|
|
38
|
+
${e=>`${_e.title.style(e.windowSize)}`};
|
|
39
39
|
margin-bottom: ${s.sp3};
|
|
40
40
|
margin-top: ${s.sp4};
|
|
41
41
|
color: ${e=>e.isError===!0?De.important:e.isDisabled===!0?e.theme.colors.grey1:e.theme.colors.primary};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{F as V,j as b,cE as q,cF as M,cG as W,kj as X,l as Y,aX as z}from"./index-
|
|
1
|
+
import{F as V,j as b,cE as q,cF as M,cG as W,kj as X,l as Y,aX as z}from"./index-CN7UAWAg.js";import{b as _}from"./vendor-Bs1fkIUX.js";import{u as G}from"./ReviewOverlay-B73a-P2j-CTP6pyS2.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const{common:n,spendManagement:{billPay:C}}=V.getLocalizedStrings(),o=C.bulkActions;let x;const ce=({billsReviewView:t,analytics:r,onProceedForBulkActionClick:l,onCloseReviewItem:e,onCloseOverlay:c})=>{const{fetchState:m,bulkSubmissionFetchState:a,bulkOperationTypeSelected:i,currentTab:g,currentSubTab:h}=t,u=i==="review",[B,w]=_.useState(!1),[s,v]=_.useState(E(t,u)),[p,j]=_.useState(u),[I,k]=_.useState(0),[f,T]=_.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});_.useEffect(()=>(u&&(x=setInterval(()=>{v(d=>d.map((S,O)=>(clearInterval(x),O===I?{...S,reviewStatus:{isLoading:!1,code:"valid"}}:S))),k(d=>d+1)},1e3)),I===s.length&&p&&(j(!1),clearInterval(x)),!u&&t.fetchState==="Completed"&&v(E(t,!1)),()=>{clearInterval(x)}),[s.length,I,p,t.fetchState,u,t]);const R=s.length,y=s.filter(d=>d.reviewStatus.code!=="error").length,F=()=>{const{title:d,description:S}=H(y);T({type:"reject",title:d,description:S,primaryButtonText:n.texts.confirm,secondaryButtonText:n.texts.close}),r.trackBillPayBulkSubmit(i,g,h),w(!0)},A={onOkClick:d=>{w(!1),r.trackBillPayBulkPopupConfirm(i,g,h,Z(t)),l("reject",d)},onCancelClick:()=>{w(!1)}},{title:N,description:$}=J(m,y,R,p),P=t.fetchState==="Completed"&&y===0,U=()=>{r.trackBillPayBulkSubmit(i,g,h),l(i)},D={label:P?n.texts.close:i==="send_for_approval"?n.footer.submit:n.footer.approve,isDisabled:m!=="Completed"||i==="reject"&&a==="In-Progress",isLoading:a==="In-Progress"&&(i==="send_for_approval"||i==="approve"),onClick:P?c:U,style:i==="send_for_approval"?{minWidth:"92px"}:{}},L={label:i==="send_for_approval"?n.texts.goBack:n.footer.reject,isDisabled:i!=="reject"&&a==="In-Progress",isLoading:i==="reject"&&a==="In-Progress",reverseSpinnerColor:!1,onClick:i==="send_for_approval"?c:F,style:i==="approve"?{minWidth:"92px"}:{}};return b.jsxs(b.Fragment,{children:[B?b.jsx(q,{titleComponent:b.jsx(W,{children:f.title}),descriptionComponent:b.jsx(M,{children:f.description}),primaryButtonText:f.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:f.secondaryButtonText,action:A,isNotesIncluded:!0,isEditPopup:!0}):null,b.jsx(G,{title:N,description:{content:$,isError:t.fetchState==="Completed"&&y===0},reviewItems:s,onCloseReviewItem:e,onCloseOverlay:c,showFooter:t.fetchState==="Completed"&&!p,footerProps:{primaryButton:D,cancelButton:L,hideCancel:P}})]})},E=(t,r)=>{const l=t.fetchState==="In-Progress";return t.billsForReview.map(e=>({id:e.transactionId,leftSideText:{title:e.vendorName?e.vendorName:C.billDetails.newBillTitle,subTitle:`${C.billDetails.invoiceNo} ${e.invoiceNumber?e.invoiceNumber:n.strings.hyphen}`},rightSideText:{title:z("0,0.[00]",e.amount?.amount,e.amount?.currencySymbol),showThunderIcon:e.reviewErrors?.length===1&&Y.isBillConditionallyValid(e.reviewErrors[0].reviewErrorCode),subTitle:K(e.reviewStatus==="warning",e.reviewErrors?.map(c=>c.reviewInfoMessage)),additonalInfo:e.reviewErrors!=null&&e.reviewErrors.length>1?o.reviewPage.removeOrProceed:void 0},reviewStatus:{isLoading:r?!0:l,code:e.reviewErrors?.length===1&&e.reviewErrors[0].reviewErrorCode==="ERR_INSUFFICIENT_FUNDS"?"low-balance":e.reviewStatus??""}}))},Z=t=>{const r=t.billsForReview;let l=[];return r.forEach(e=>{l=X([...l,e.isRecurring?"recurring":"one-time"])}),l},H=t=>{const{this_:r,these:l,bill:e,bills:c,payment:m,payments:a}=n.texts;return t>1?{title:o.popUps.reject.title.replace("<_payment_>",o.payments),description:o.popUps.reject.description.replaceAll("<_this_>",l).replaceAll("<_payment_>",a).replaceAll("<_bill_>",c)}:{title:o.popUps.reject.title.replace("<_payment_>",o.payment),description:o.popUps.reject.description.replaceAll("<_this_>",r).replaceAll("<_payment_>",m).replaceAll("<_bill_>",e)}},J=(t,r,l,e)=>{const{has:c,have:m,bill:a,bills:i,are:g,is:h,do_:u,does:B}=n.texts,w=r>1,s=l>1;let v="",p="";return t==="Completed"&&!e?(v=o.reviewPage.billsReviewed.title.replace("<_bill_>",s?C.bulkActions.bills:o.bill).replace("<_has_>",s?m:c),r===0?p=o.reviewPage.billsReviewed.descriptionError.replace("<_bill_>",s?i:a).replace("<_do_>",s?u:B):p=`${r}/${l} ${o.reviewPage.billsReviewed.description.replace("<_bill_>",l>1?i:a).replace("<_is_>",w?g:h)}`):(v=o.reviewPage.billsReviewing.title.replace("<_bill_>",s?i:a),p=o.reviewPage.billsReviewing.description.replace("<_bill_>",s?i:a)),{title:v,description:p}},K=(t,r)=>{if(r?.length!=null){if(r.length>1)return r.join(` ${n.strings.dividerDot} `);if(r.length===1)return t?r[0]+`${n.strings.colon} ${o.reviewPage.removeOrProceed}`:r[0]}return""};export{ce as default,Z as getBillsUniqueType};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as h,j as s,aM as b,o as r}from"./index-
|
|
1
|
+
import{q as h,j as s,aM as b,o as r}from"./index-CN7UAWAg.js";import{n as p}from"./vendor-Bs1fkIUX.js";import{o as l}from"./commonDimensions-DTY9_AOp-DlMPlh2t.js";const $=(o,e)=>e===1?"roundedBox":o===0?"topRoundedBox":o===e-1?"bottomRoundedBox":"box";function f({content:o,boxType:e,isDisabled:d=!1,isNotClickable:t=!1}){const i=h();switch(e??"roundedBox"){case"topRoundedBox":return s.jsx(x,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("top-rounded-box",e),children:o});case"bottomRoundedBox":return s.jsx(n,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("bottom-rounded-box",e),children:o});case"box":return s.jsx(u,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("box",e),children:o});case"roundedBox":return s.jsx(a,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("rounded-box",e),children:o})}}const a=p.div`
|
|
2
2
|
box-sizing: border-box;
|
|
3
3
|
cursor: ${o=>o.isDisabled||o.hideCursor===!0?"default":"pointer"};
|
|
4
4
|
min-height: ${o=>l.transactionItemHeightResponsive.valuePx(o.windowSize)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as ct,q as dt,aP as ve,j as a,F as Le,af as G,aa as mt,d5 as ut,l as V,az as pt,cT as ft,aX as De,aO as $e,gn as yt,n as ht,bG as gt,aM as xt,cU as St,cE as wt,cF as Ct,cG as Tt,L as bt,ad as vt,aQ as Dt,o,y as j,an as Fe,go as $t,fV as ke,dk as kt,a as It,_ as Pt,am as Ve,B as jt,M as Nt,u as k}from"./index-BtlpidgV.js";import{b as N,n as d}from"./vendor-Bs1fkIUX.js";import{S as Ot,s as Lt}from"./CompanyOfficerDetailsSection-CmMDQgui-CIhYQnj-.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./LabeledAddressValueField-jlDhqmgU-BPufGwXD.js";import"./LabeledCreatableSingleSelectField-B6Vit6ZA-Dwqsu8ia.js";import"./LabeledDocumentField-CbTN9aAs-DarpxPt9.js";const x={width:new j(343,580,726),titleWidth:new j(343,580,726,826),subTitlePaddingTop:new j(12,k[3]),subTitlePaddingBottom:new j(k[3],k[3]),verificationDetailsRowGap:new j(12,k[5],k[5]),termsPaddingLeftRight:new j(k[0],k[3])},Ft={stepTitle:new jt("h6Regular","h5Regular")},Ie="businessVerificationPage",T="companyDetails",b="companyOfficerDetails",{commonSetUp:{businessVerification:i},common:{settings:Vt,currency:Pe,footer:je,strings:{empty:At}}}=Le.getLocalizedStrings(),ya=({businessVerificationDetails:t,allNationalityCountries:A,verficationDetailsFetchState:O,isRefreshingViewInBackground:_,filesEndPoint:r,authParams:B,productType:y,allIndustries:E,companyTitles:z,maxInsuredAmount:p,isDisabled:I,isSettings:n=!1,isOverlay:h=!1,analytics:g,isStepInProgress:S=!1,isTreasuryTransferInitiated:q=!1,transferDetails:R,onOverlayClose:te,onAddressClick:ae,onRegisteredAddressClick:_e,onBackClick:L,onGetOtp:Be,onVerifyOtp:Ee,onResendOtp:ze,onSendForVerificationClick:Re,onEditFileName:ie,onCompanyDetailsChanged:Me,updateFilesEntity:se,onDeleteFile:ne,onDeleteFileList:Ue,onCompanyOfficerUpdated:We,saveNewAddressInLocalStore:re,onSaveDetailsClick:Ge,onClickMenuIcon:qe,onExecuteTreasuryTransfer:Xe})=>{const Qe=ct(),m=dt(),{updateStatus:M,companyView:F,companyDetailsLocalData:l,companyOfficerLocalData:w}=t,Ye=ve(M.fetchState),U=F?.company.company.featuresActivationInfo.connectedAccountProvider,Je=U==="unit"?a.jsxs(Gt,{children:[i.terms.term1,a.jsx(G,{href:i.terms.consentUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:i.terms.consent}),i.terms.term2,a.jsx(G,{href:i.terms.depositUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:i.terms.depositTerms}),i.terms.term3,a.jsx(G,{href:i.terms.privacyPolicyUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:i.terms.privacy}),i.terms.term4,a.jsx(G,{href:i.terms.tosUrl,onZeniLinkClick:()=>(g?.trackBillPayPrivacyPolicy(),!0),linkText:i.terms.tos}),i.terms.term5]}):i.terms.termsForStripe,[Ke,X]=N.useState(!1),[W,oe]=N.useState("save"),[Q,Ze]=N.useState(!1),u=mt({mode:"all",reValidateMode:"onChange",defaultValues:_t(t,E,z,A)}),{isValid:He}=u.formState,Y=F?.company.company.companyBillPayInfo,J=F?.company.company.companyTreasuryInfo,P=y==="zeni_treasury"?J?.companyVerificationStatus:Y?.companyVerificationStatus,v=Object.values(w).findIndex(e=>e?.isSelectedForVerification===!0),D=`Officer_${v<0?1:v+1}`,et=()=>{const e=w[D],s=e?.email,c=e?.birthday?.toString(),f=e?.ownershipInCompany,C=e?.firstName,$=e?.lastName,me=e?.titleAtCompany,ue=e?.documentTypeSelectedForVerification,pe=e?.phone,fe=e?.addressStatus?.addressToCreate,ye=fe!=null?V.getFormattedAddress(fe):void 0,he=l?.companyDescription,H=l?.companyLegalName,ge=l?.companyIndustry,xe=l?.phone,Se=l?.website,we=l?.addressStatus?.addressToCreate!=null?V.getFormattedAddress(l?.addressStatus?.addressToCreate):void 0,ee=l?.primaryContactLocalData,Ce=ee?.firstName,Te=ee?.lastName,be=ee?.email;s!=null&&f!=null&&C!=null&&$!=null&&c!=null&&me!=null&&pe!=null&&ye!=null&&ue!=null&&he!=null&&H!=null&&xe!=null&&Se!=null&&ge!=null&&H!=null&&we!=null&&Ce!=null&&Te!=null&&be!=null&&g?.trackBusinessVerificationSend({email:s,birthday:c.toString(),companyOwnership:f,firstName:C,lastName:$,companyRole:me,phone:pe,formattedAddress:ye,documentTypeForVerification:ue},{companyDescription:he,legalName:H,phone:xe,website:Se.toString(),industry:ge,formattedAddress:we},{firstName:Ce,lastName:Te,email:be},y,n?"Settings":void 0)},tt=()=>{const e=w[D],s=l?.primaryContactLocalData,c=e?.email??"",f=!!e?.firstName&&!!e?.lastName,C=s?.email??"",$=!!s?.firstName&&!!s?.lastName;return c&&!f?((!e?.firstName||!e?.lastName)&&u.trigger(`${b}.${v<0?0:v}.name`,{shouldFocus:!0}),!1):C&&!$?((!s?.firstName||!s?.lastName)&&u.trigger(`${T}.primaryContactName`,{shouldFocus:!0}),!1):!0},at=()=>{const e=w[D],s=l?.primaryContactLocalData,c=e?.email,f=s?.email;if(c){if(!f)return(s?.firstName||s?.lastName)&&u.trigger(`${T}.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 u.trigger(`${b}.${v<0?0:v}.email`,{shouldFocus:!0}),!1;return!0},it=u.handleSubmit(()=>{if(W!=="verification"&&oe("verification"),U==="unit"&&w[D]?.isPhoneVerified!==!0){u.setError(`${b}.${v}.phone`,{type:"custom"});return}const e=ut(Object.values(w).map(c=>Object.values(c?.deleteFileStatusById??{}).filter(f=>f!=null))),s=Object.values(l?.deleteFileStatusById??{}).filter(c=>c!=null);V.reduceAllFetchState(e.concat(s)).fetchState!=="In-Progress"&&He&&(et(),Re?.(D),q===!0&&Xe?.())}),st=async(e,s)=>{e.includes(T)?Me?.(s[T]):e.includes(b)&&We?.(s[b])},nt=N.useCallback(pt((e,s)=>{st(e,s)},300),[]);N.useEffect(()=>{const e=u.watch((s,{name:c})=>{c!=null&&s!=null&&ft(()=>nt(c,s))});return()=>{e.unsubscribe()}});const le=ve(t.companyDetailsLocalData?.addressStatus);N.useEffect(()=>{t.companyDetailsLocalData?.addressStatus?.addressToCreate!=null&&t.companyDetailsLocalData?.registeredAddressStatus?.addressToCreate==null&&le==null&&(re?.("company_registered_address",t.companyDetailsLocalData?.addressStatus?.addressToCreate),u.setValue(`${T}.registeredAddress`,t.companyDetailsLocalData?.addressStatus?.addressToCreate))},[t.companyDetailsLocalData?.addressStatus,t.companyDetailsLocalData?.registeredAddressStatus,le,re,u]);const ce=F?.companyOfficers.slice(0,10).sort((e,s)=>e.user.createTime?.isAfter(s.user.createTime)===!0?1:-1),K=ce?.map(e=>e.user),rt=ce?.map(e=>e.role),ot={onOkClick:()=>{X(!1),L();const e=[],s=F?.company.company.incInfo.fileIds??[];u.getValues(`${T}.fileIds`).forEach(c=>{s.includes(c)||e.push(c)}),rt?.forEach((c,f)=>{const C=c?.fileIds??[];u.getValues(`${b}.${f}.fileIds`).forEach($=>{C.includes($)||e.push($)})}),e.length!==0&&Ue?.(e)},onCancelClick:()=>{X(!1)}},lt=De($e(p),p,Pe.currencySymbol).toUpperCase(),Z=P?.code==="pending_review"||P?.code==="verified",de=(R?.treasuryTransferMoneyLocalData?.amount?.amount??0)>0;return y==="zeni_treasury"&&P?.code==="pending_review"&&Ye==="In-Progress"&&M.fetchState==="Completed"?a.jsxs(Zt,{children:[a.jsxs(Ht,{children:[a.jsx(yt,{}),a.jsx(ea,{windowSize:m,children:q===!0?i.submittedTitleWithTransfer:i.submittedTitle}),a.jsx(Kt,{isReadonly:!1,children:q===!0?i.submittedDescriptionWithTransfer.replace("__amount__",De($e(R?.treasuryTransferMoneyLocalData?.amount?.amount??0),R?.treasuryTransferMoneyLocalData?.amount?.amount??0,Pe.currencySymbol)).replace("__account__",R?.treasuryTransferMoneyLocalData?.fromAccount?.label??""):i.submittedDescription})]}),a.jsx(ht,{label:i.submittedButton,onClick:()=>{L(),te?.()},variant:"primary"})]}):a.jsxs(Bt,{isSettings:n,children:[a.jsx(gt,{title:h&&S===!0?At:i.header,backgroundColor:Qe.colors.grey5,style:{zIndex:Q?1:4},onBackClick:()=>{St(u.formState.dirtyFields)?X(!0):L()},showBackButton:!n&&!h,showMenuIcon:n?m==="medium-compact"||m==="small":!1,onClickMenuIcon:qe,rightSideComponent:h?a.jsx(ta,{"data-testid":xt("nav-bar-close-business-verification-overlay"),onClick:()=>{L(),te?.()}}):null,source:"BusinessVerificationPage"}),Ke===!0?a.jsx(wt,{titleComponent:a.jsx(Tt,{children:i.discardTitle}),descriptionComponent:a.jsx(Ct,{children:i.discardDescription}),primaryButtonText:i.discard,secondaryButtonText:i.cancel,action:ot}):null,a.jsxs(Rt,{windowSize:m,children:[(!h||S===!1)&&a.jsx(zt,{windowSize:m,children:n?Vt.infoText.businessVerification:i.title}),O==="In-Progress"||O==="Not-Started"?a.jsx(Mt,{children:a.jsx(bt,{size:"ExtraLarge",start:!0})}):a.jsx(vt,{...u,children:a.jsxs("form",{id:Ne(Ie),onSubmit:it,children:[h&&S===!0&&a.jsxs(Et,{children:[a.jsxs(qt,{windowSize:m,children:[a.jsx(Xt,{windowSize:m,children:Z?i.businessVerificationDetails:de?i.verifyBusinessDetails:i.verifyBusinessDetailsWithoutTransfer}),!Z&&a.jsx(Qt,{children:a.jsxs(Yt,{children:[a.jsx(Oe,{}),de&&a.jsx(Oe,{}),a.jsx(Jt,{})]})})]}),a.jsx(Ae,{isReadonly:Z,children:i.verifyBusinessDetailsDescription})]}),a.jsxs(Ut,{children:[a.jsx(Ot,{companyOfficerData:w,allNationalityCountries:A,allOfficers:K??[],sectionId:b,isRefreshingViewInBackground:_,connectedAccountProvider:U,productType:"business_verification",updateFilesEntity:se,onEditFileName:ie,onOfficerAddressClick:ae,onDeleteFile:ne,isDisabled:I,filesEndPoint:r,authParams:B,isPopupOpen:Q,openPopup:Ze,onGetOtp:Be,onVerifyOtp:Ee,onResendOtp:ze,companyTitles:z,isForTreasury:y==="zeni_treasury",isOverlay:h}),a.jsx(Lt,{companyDetails:l,businessVerificationProps:{companyVerificationStatus:P,isRefreshingViewInBackground:_},productType:"business_verification",showTreasuryFields:y==="zeni_treasury",sectionId:T,isDisabled:P?.code==="pending_review"||P?.code==="verified"?"readonly":I,fileProps:{authParams:B,filesEndPoint:r,onEditFileName:ie,onDeleteFile:ne,updateFilesEntity:se},onCompanyAddressClick:ae,onRegisteredAddressClick:_e,connectedAccountProvider:U,allIndustries:E})]}),y==="zeni_accounts"?a.jsx(Wt,{windowSize:m,children:i.threadText.replace("__amount__",lt)}):null]})})]}),O==="Completed"&&(y==="zeni_treasury"?J?.companyVerificationStatus?.code!=="pending_review"&&J?.companyVerificationStatus?.code!=="verified":Y?.businessVerificationStatus?.code!=="pending_review"&&Y?.businessVerificationStatus?.code!=="verified")?a.jsx(Dt,{formId:Ne(Ie),primaryBtn:{label:S?je.submit:i.sendForVerificationButton,style:{width:"auto",minWidth:m==="small"?"auto":S?"83px":"181px"},isLoading:W==="verification"&&M.fetchState==="In-Progress",isDisabled:I!=null},containerStyle:{width:m==="small"?x.width.valuePx(m):"auto",justifyContent:m==="small"?"space-between":"center"},helperStyle:{width:m==="small"?x.width.valuePx(m):"auto",paddingLeft:x.termsPaddingLeftRight.valuePx(m),paddingRight:x.termsPaddingLeftRight.valuePx(m),textAlign:m==="small"?"center":"initial"},showCancel:!0,cancelBtn:{reverseSpinnerColor:!1,label:S?je.back:i.saveDetailsButton,style:{width:m==="small"?"auto":S?"83px":"181px"},isLoading:W==="save"&&M.fetchState==="In-Progress",onClick:()=>{if(S)L();else{const e=w[D],s=l?.primaryContactLocalData;W!=="save"&&oe("save");const c=e?.email??"",f=tt(),C=at();f&&C&&(g?.trackBusinessVerificationSave({email:c,birthday:e?.birthday?.toString(),companyOwnership:e?.ownershipInCompany,firstName:e?.firstName,lastName:e?.lastName,companyRole:e?.titleAtCompany,phone:e?.phone,formattedAddress:e?.addressStatus?.addressToCreate!=null?V.getFormattedAddress(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification},{companyDescription:l?.companyDescription,legalName:l?.companyLegalName,phone:l?.phone,website:l?.website?.toString(),industry:l?.companyIndustry??"",formattedAddress:l?.addressStatus?.addressToCreate!=null?V.getFormattedAddress(l?.addressStatus?.addressToCreate):void 0},{firstName:s?.firstName,lastName:s?.lastName,email:s?.email},y,n?"Settings":void 0),Ge?.(D))}}},helperText:Je,style:{padding:`12px ${o.sp3}`,zIndex:Q?0:4}}):null]})},_t=(t,A,O,_)=>{const{companyDetailsLocalData:r,companyOfficerLocalData:B,companyView:y}=t,E=Le.getLocalizedStrings().companyPassport,z=y?.companyOfficers!=null&&y?.companyOfficers.length>0;return{[T]:{companyDescription:r?.companyDescription??"",ein:r?.companyFiles.find(p=>p.documentType==="tax_ein"),companyId:r?.companyId??"",syncToken:r?.syncToken,companyLegalName:r?.companyLegalName??"",companyWebsite:r?.website?.toString()??"",companyAddress:r?.addressStatus?.addressToCreate,registeredAddress:r?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:r?.companyIndustry,allOptions:A?.map(p=>p.code)},companyPhone:r?.phone??"",companyTaxId:r?.taxIdOrEIN??"",primaryContactName:{firstName:r?.primaryContactLocalData?.firstName??"",lastName:r?.primaryContactLocalData?.lastName??""},primaryContactEmail:r?.primaryContactLocalData?.email??"",primaryContactUserId:r?.primaryContactLocalData?.userId,primaryContactSyncToken:r?.primaryContactLocalData?.syncToken,fileIds:r?.companyFiles.map(p=>p.fileId)??[],certificateOfIncorporation:r?.companyFiles.find(p=>p.documentType==="certificate_of_incorporation"),incDate:r?.incDate?.toDate(),typeOfIncorporation:{selectedOption:r?.typeOfIncorporation,allOptions:E.companyIncInfo.allTypesOfIncorporation},sourceOfFunds:{selectedOption:r?.sourceOfFunds??"",allOptions:Object.keys(i.sourceOfFundOptions)}},[b]:Object.values(B).map((p,I)=>{const n=p,h=$t(n?.documentTypeSelectedForVerification);return{userId:n?.userId,officerType:n?.officerType??`Officer_${I+1}`,name:{firstName:n?.firstName,lastName:n?.lastName},email:n?.email,fileIds:n?.fileIds??[],dob:n?.birthday?.toDate(),nationalityCountryCode:kt(n?.nationalityCountryCode,_.map(g=>g.countryCode)),ssn:n?.ssn,role:{selectedOption:n?.titleAtCompany,allOptions:O?.map(g=>g.code)},phone:n?.phone??"",ownership:n?.ownershipInCompany,officerAddress:n?.addressStatus?.addressToCreate,selectDocument:{front:ke(!0,n?.userFiles??[],h),back:ke(!1,n?.userFiles??[],h),selectDocumentType:h},isSelectedForVerification:!z&&I===0?!0:n?.isSelectedForVerification??!1,userVerificationStatus:n?.userVerificationStatus,treasuryUserVerificationStatus:n?.treasuryUserVerificationStatus,syncToken:n?.syncToken,isPhoneVerified:n?.isPhoneVerified,otpChallenge:n?.otpChallenge}})}},Ne=t=>`${t}_form`,Bt=d.div`
|
|
1
|
+
import{d as ct,q as dt,aP as ve,j as a,F as Le,af as G,aa as mt,d5 as ut,l as F,az as pt,cT as ft,aX as De,aO as $e,gn as yt,n as ht,bG as gt,aM as xt,cU as St,cE as wt,cF as Ct,cG as Tt,k as bt,ad as vt,aQ as Dt,o,y as j,an as Ve,go as $t,fV as ke,dk as kt,a as It,L as Pt,am as Fe,B as jt,M as Nt,u as k}from"./index-CN7UAWAg.js";import{b as N,n as d}from"./vendor-Bs1fkIUX.js";import{S as Ot,s as Lt}from"./CompanyOfficerDetailsSection-D3PSro9F-CN8Reo83.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./LabeledAddressValueField-BPOKk4mI-BFmVYPcn.js";import"./LabeledCreatableSingleSelectField-DXA_bSyS-BJinmWca.js";import"./LabeledDocumentField-Z9OHDFr6-HgLdszDI.js";const x={width:new j(343,580,726),titleWidth:new j(343,580,726,826),subTitlePaddingTop:new j(12,k[3]),subTitlePaddingBottom:new j(k[3],k[3]),verificationDetailsRowGap:new j(12,k[5],k[5]),termsPaddingLeftRight:new j(k[0],k[3])},Vt={stepTitle:new jt("h6Regular","h5Regular")},Ie="businessVerificationPage",T="companyDetails",b="companyOfficerDetails",{commonSetUp:{businessVerification:i},common:{settings:Ft,currency:Pe,footer:je,strings:{empty:At}}}=Le.getLocalizedStrings(),ya=({businessVerificationDetails:t,allNationalityCountries:A,verficationDetailsFetchState:O,isRefreshingViewInBackground:B,filesEndPoint:r,authParams:_,productType:y,allIndustries:E,companyTitles:z,maxInsuredAmount:p,isDisabled:I,isSettings:n=!1,isOverlay:h=!1,analytics:g,isStepInProgress:S=!1,isTreasuryTransferInitiated:q=!1,transferDetails:R,onOverlayClose:te,onAddressClick:ae,onRegisteredAddressClick:Be,onBackClick:L,onGetOtp:_e,onVerifyOtp:Ee,onResendOtp:ze,onSendForVerificationClick:Re,onEditFileName:ie,onCompanyDetailsChanged:Me,updateFilesEntity:se,onDeleteFile:ne,onDeleteFileList:Ue,onCompanyOfficerUpdated:We,saveNewAddressInLocalStore:re,onSaveDetailsClick:Ge,onClickMenuIcon:qe,onExecuteTreasuryTransfer:Xe})=>{const Qe=ct(),m=dt(),{updateStatus:M,companyView:V,companyDetailsLocalData:l,companyOfficerLocalData:w}=t,Ye=ve(M.fetchState),U=V?.company.company.featuresActivationInfo.connectedAccountProvider,Je=U==="unit"?a.jsxs(Gt,{children:[i.terms.term1,a.jsx(G,{href:i.terms.consentUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:i.terms.consent}),i.terms.term2,a.jsx(G,{href:i.terms.depositUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:i.terms.depositTerms}),i.terms.term3,a.jsx(G,{href:i.terms.privacyPolicyUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:i.terms.privacy}),i.terms.term4,a.jsx(G,{href:i.terms.tosUrl,onZeniLinkClick:()=>(g?.trackBillPayPrivacyPolicy(),!0),linkText:i.terms.tos}),i.terms.term5]}):i.terms.termsForStripe,[Ke,X]=N.useState(!1),[W,oe]=N.useState("save"),[Q,Ze]=N.useState(!1),u=mt({mode:"all",reValidateMode:"onChange",defaultValues:Bt(t,E,z,A)}),{isValid:He}=u.formState,Y=V?.company.company.companyBillPayInfo,J=V?.company.company.companyTreasuryInfo,P=y==="zeni_treasury"?J?.companyVerificationStatus:Y?.companyVerificationStatus,v=Object.values(w).findIndex(e=>e?.isSelectedForVerification===!0),D=`Officer_${v<0?1:v+1}`,et=()=>{const e=w[D],s=e?.email,c=e?.birthday?.toString(),f=e?.ownershipInCompany,C=e?.firstName,$=e?.lastName,me=e?.titleAtCompany,ue=e?.documentTypeSelectedForVerification,pe=e?.phone,fe=e?.addressStatus?.addressToCreate,ye=fe!=null?F.getFormattedAddress(fe):void 0,he=l?.companyDescription,H=l?.companyLegalName,ge=l?.companyIndustry,xe=l?.phone,Se=l?.website,we=l?.addressStatus?.addressToCreate!=null?F.getFormattedAddress(l?.addressStatus?.addressToCreate):void 0,ee=l?.primaryContactLocalData,Ce=ee?.firstName,Te=ee?.lastName,be=ee?.email;s!=null&&f!=null&&C!=null&&$!=null&&c!=null&&me!=null&&pe!=null&&ye!=null&&ue!=null&&he!=null&&H!=null&&xe!=null&&Se!=null&&ge!=null&&H!=null&&we!=null&&Ce!=null&&Te!=null&&be!=null&&g?.trackBusinessVerificationSend({email:s,birthday:c.toString(),companyOwnership:f,firstName:C,lastName:$,companyRole:me,phone:pe,formattedAddress:ye,documentTypeForVerification:ue},{companyDescription:he,legalName:H,phone:xe,website:Se.toString(),industry:ge,formattedAddress:we},{firstName:Ce,lastName:Te,email:be},y,n?"Settings":void 0)},tt=()=>{const e=w[D],s=l?.primaryContactLocalData,c=e?.email??"",f=!!e?.firstName&&!!e?.lastName,C=s?.email??"",$=!!s?.firstName&&!!s?.lastName;return c&&!f?((!e?.firstName||!e?.lastName)&&u.trigger(`${b}.${v<0?0:v}.name`,{shouldFocus:!0}),!1):C&&!$?((!s?.firstName||!s?.lastName)&&u.trigger(`${T}.primaryContactName`,{shouldFocus:!0}),!1):!0},at=()=>{const e=w[D],s=l?.primaryContactLocalData,c=e?.email,f=s?.email;if(c){if(!f)return(s?.firstName||s?.lastName)&&u.trigger(`${T}.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 u.trigger(`${b}.${v<0?0:v}.email`,{shouldFocus:!0}),!1;return!0},it=u.handleSubmit(()=>{if(W!=="verification"&&oe("verification"),U==="unit"&&w[D]?.isPhoneVerified!==!0){u.setError(`${b}.${v}.phone`,{type:"custom"});return}const e=ut(Object.values(w).map(c=>Object.values(c?.deleteFileStatusById??{}).filter(f=>f!=null))),s=Object.values(l?.deleteFileStatusById??{}).filter(c=>c!=null);F.reduceAllFetchState(e.concat(s)).fetchState!=="In-Progress"&&He&&(et(),Re?.(D),q===!0&&Xe?.())}),st=async(e,s)=>{e.includes(T)?Me?.(s[T]):e.includes(b)&&We?.(s[b])},nt=N.useCallback(pt((e,s)=>{st(e,s)},300),[]);N.useEffect(()=>{const e=u.watch((s,{name:c})=>{c!=null&&s!=null&&ft(()=>nt(c,s))});return()=>{e.unsubscribe()}});const le=ve(t.companyDetailsLocalData?.addressStatus);N.useEffect(()=>{t.companyDetailsLocalData?.addressStatus?.addressToCreate!=null&&t.companyDetailsLocalData?.registeredAddressStatus?.addressToCreate==null&&le==null&&(re?.("company_registered_address",t.companyDetailsLocalData?.addressStatus?.addressToCreate),u.setValue(`${T}.registeredAddress`,t.companyDetailsLocalData?.addressStatus?.addressToCreate))},[t.companyDetailsLocalData?.addressStatus,t.companyDetailsLocalData?.registeredAddressStatus,le,re,u]);const ce=V?.companyOfficers.slice(0,10).sort((e,s)=>e.user.createTime?.isAfter(s.user.createTime)===!0?1:-1),K=ce?.map(e=>e.user),rt=ce?.map(e=>e.role),ot={onOkClick:()=>{X(!1),L();const e=[],s=V?.company.company.incInfo.fileIds??[];u.getValues(`${T}.fileIds`).forEach(c=>{s.includes(c)||e.push(c)}),rt?.forEach((c,f)=>{const C=c?.fileIds??[];u.getValues(`${b}.${f}.fileIds`).forEach($=>{C.includes($)||e.push($)})}),e.length!==0&&Ue?.(e)},onCancelClick:()=>{X(!1)}},lt=De($e(p),p,Pe.currencySymbol).toUpperCase(),Z=P?.code==="pending_review"||P?.code==="verified",de=(R?.treasuryTransferMoneyLocalData?.amount?.amount??0)>0;return y==="zeni_treasury"&&P?.code==="pending_review"&&Ye==="In-Progress"&&M.fetchState==="Completed"?a.jsxs(Zt,{children:[a.jsxs(Ht,{children:[a.jsx(yt,{}),a.jsx(ea,{windowSize:m,children:q===!0?i.submittedTitleWithTransfer:i.submittedTitle}),a.jsx(Kt,{isReadonly:!1,children:q===!0?i.submittedDescriptionWithTransfer.replace("__amount__",De($e(R?.treasuryTransferMoneyLocalData?.amount?.amount??0),R?.treasuryTransferMoneyLocalData?.amount?.amount??0,Pe.currencySymbol)).replace("__account__",R?.treasuryTransferMoneyLocalData?.fromAccount?.label??""):i.submittedDescription})]}),a.jsx(ht,{label:i.submittedButton,onClick:()=>{L(),te?.()},variant:"primary"})]}):a.jsxs(_t,{isSettings:n,children:[a.jsx(gt,{title:h&&S===!0?At:i.header,backgroundColor:Qe.colors.grey5,style:{zIndex:Q?1:4},onBackClick:()=>{St(u.formState.dirtyFields)?X(!0):L()},showBackButton:!n&&!h,showMenuIcon:n?m==="medium-compact"||m==="small":!1,onClickMenuIcon:qe,rightSideComponent:h?a.jsx(ta,{"data-testid":xt("nav-bar-close-business-verification-overlay"),onClick:()=>{L(),te?.()}}):null,source:"BusinessVerificationPage"}),Ke===!0?a.jsx(wt,{titleComponent:a.jsx(Tt,{children:i.discardTitle}),descriptionComponent:a.jsx(Ct,{children:i.discardDescription}),primaryButtonText:i.discard,secondaryButtonText:i.cancel,action:ot}):null,a.jsxs(Rt,{windowSize:m,children:[(!h||S===!1)&&a.jsx(zt,{windowSize:m,children:n?Ft.infoText.businessVerification:i.title}),O==="In-Progress"||O==="Not-Started"?a.jsx(Mt,{children:a.jsx(bt,{size:"ExtraLarge",start:!0})}):a.jsx(vt,{...u,children:a.jsxs("form",{id:Ne(Ie),onSubmit:it,children:[h&&S===!0&&a.jsxs(Et,{children:[a.jsxs(qt,{windowSize:m,children:[a.jsx(Xt,{windowSize:m,children:Z?i.businessVerificationDetails:de?i.verifyBusinessDetails:i.verifyBusinessDetailsWithoutTransfer}),!Z&&a.jsx(Qt,{children:a.jsxs(Yt,{children:[a.jsx(Oe,{}),de&&a.jsx(Oe,{}),a.jsx(Jt,{})]})})]}),a.jsx(Ae,{isReadonly:Z,children:i.verifyBusinessDetailsDescription})]}),a.jsxs(Ut,{children:[a.jsx(Ot,{companyOfficerData:w,allNationalityCountries:A,allOfficers:K??[],sectionId:b,isRefreshingViewInBackground:B,connectedAccountProvider:U,productType:"business_verification",updateFilesEntity:se,onEditFileName:ie,onOfficerAddressClick:ae,onDeleteFile:ne,isDisabled:I,filesEndPoint:r,authParams:_,isPopupOpen:Q,openPopup:Ze,onGetOtp:_e,onVerifyOtp:Ee,onResendOtp:ze,companyTitles:z,isForTreasury:y==="zeni_treasury",isOverlay:h}),a.jsx(Lt,{companyDetails:l,businessVerificationProps:{companyVerificationStatus:P,isRefreshingViewInBackground:B},productType:"business_verification",showTreasuryFields:y==="zeni_treasury",sectionId:T,isDisabled:P?.code==="pending_review"||P?.code==="verified"?"readonly":I,fileProps:{authParams:_,filesEndPoint:r,onEditFileName:ie,onDeleteFile:ne,updateFilesEntity:se},onCompanyAddressClick:ae,onRegisteredAddressClick:Be,connectedAccountProvider:U,allIndustries:E})]}),y==="zeni_accounts"?a.jsx(Wt,{windowSize:m,children:i.threadText.replace("__amount__",lt)}):null]})})]}),O==="Completed"&&(y==="zeni_treasury"?J?.companyVerificationStatus?.code!=="pending_review"&&J?.companyVerificationStatus?.code!=="verified":Y?.businessVerificationStatus?.code!=="pending_review"&&Y?.businessVerificationStatus?.code!=="verified")?a.jsx(Dt,{formId:Ne(Ie),primaryBtn:{label:S?je.submit:i.sendForVerificationButton,style:{width:"auto",minWidth:m==="small"?"auto":S?"83px":"181px"},isLoading:W==="verification"&&M.fetchState==="In-Progress",isDisabled:I!=null},containerStyle:{width:m==="small"?x.width.valuePx(m):"auto",justifyContent:m==="small"?"space-between":"center"},helperStyle:{width:m==="small"?x.width.valuePx(m):"auto",paddingLeft:x.termsPaddingLeftRight.valuePx(m),paddingRight:x.termsPaddingLeftRight.valuePx(m),textAlign:m==="small"?"center":"initial"},showCancel:!0,cancelBtn:{reverseSpinnerColor:!1,label:S?je.back:i.saveDetailsButton,style:{width:m==="small"?"auto":S?"83px":"181px"},isLoading:W==="save"&&M.fetchState==="In-Progress",onClick:()=>{if(S)L();else{const e=w[D],s=l?.primaryContactLocalData;W!=="save"&&oe("save");const c=e?.email??"",f=tt(),C=at();f&&C&&(g?.trackBusinessVerificationSave({email:c,birthday:e?.birthday?.toString(),companyOwnership:e?.ownershipInCompany,firstName:e?.firstName,lastName:e?.lastName,companyRole:e?.titleAtCompany,phone:e?.phone,formattedAddress:e?.addressStatus?.addressToCreate!=null?F.getFormattedAddress(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification},{companyDescription:l?.companyDescription,legalName:l?.companyLegalName,phone:l?.phone,website:l?.website?.toString(),industry:l?.companyIndustry??"",formattedAddress:l?.addressStatus?.addressToCreate!=null?F.getFormattedAddress(l?.addressStatus?.addressToCreate):void 0},{firstName:s?.firstName,lastName:s?.lastName,email:s?.email},y,n?"Settings":void 0),Ge?.(D))}}},helperText:Je,style:{padding:`12px ${o.sp3}`,zIndex:Q?0:4}}):null]})},Bt=(t,A,O,B)=>{const{companyDetailsLocalData:r,companyOfficerLocalData:_,companyView:y}=t,E=Le.getLocalizedStrings().companyPassport,z=y?.companyOfficers!=null&&y?.companyOfficers.length>0;return{[T]:{companyDescription:r?.companyDescription??"",ein:r?.companyFiles.find(p=>p.documentType==="tax_ein"),companyId:r?.companyId??"",syncToken:r?.syncToken,companyLegalName:r?.companyLegalName??"",companyWebsite:r?.website?.toString()??"",companyAddress:r?.addressStatus?.addressToCreate,registeredAddress:r?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:r?.companyIndustry,allOptions:A?.map(p=>p.code)},companyPhone:r?.phone??"",companyTaxId:r?.taxIdOrEIN??"",primaryContactName:{firstName:r?.primaryContactLocalData?.firstName??"",lastName:r?.primaryContactLocalData?.lastName??""},primaryContactEmail:r?.primaryContactLocalData?.email??"",primaryContactUserId:r?.primaryContactLocalData?.userId,primaryContactSyncToken:r?.primaryContactLocalData?.syncToken,fileIds:r?.companyFiles.map(p=>p.fileId)??[],certificateOfIncorporation:r?.companyFiles.find(p=>p.documentType==="certificate_of_incorporation"),incDate:r?.incDate?.toDate(),typeOfIncorporation:{selectedOption:r?.typeOfIncorporation,allOptions:E.companyIncInfo.allTypesOfIncorporation},sourceOfFunds:{selectedOption:r?.sourceOfFunds??"",allOptions:Object.keys(i.sourceOfFundOptions)}},[b]:Object.values(_).map((p,I)=>{const n=p,h=$t(n?.documentTypeSelectedForVerification);return{userId:n?.userId,officerType:n?.officerType??`Officer_${I+1}`,name:{firstName:n?.firstName,lastName:n?.lastName},email:n?.email,fileIds:n?.fileIds??[],dob:n?.birthday?.toDate(),nationalityCountryCode:kt(n?.nationalityCountryCode,B.map(g=>g.countryCode)),ssn:n?.ssn,role:{selectedOption:n?.titleAtCompany,allOptions:O?.map(g=>g.code)},phone:n?.phone??"",ownership:n?.ownershipInCompany,officerAddress:n?.addressStatus?.addressToCreate,selectDocument:{front:ke(!0,n?.userFiles??[],h),back:ke(!1,n?.userFiles??[],h),selectDocumentType:h},isSelectedForVerification:!z&&I===0?!0:n?.isSelectedForVerification??!1,userVerificationStatus:n?.userVerificationStatus,treasuryUserVerificationStatus:n?.treasuryUserVerificationStatus,syncToken:n?.syncToken,isPhoneVerified:n?.isPhoneVerified,otpChallenge:n?.otpChallenge}})}},Ne=t=>`${t}_form`,_t=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-height: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -13,7 +13,7 @@ import{d as ct,q as dt,aP as ve,j as a,F as Le,af as G,aa as mt,d5 as ut,l as V,
|
|
|
13
13
|
gap: ${o.sp1};
|
|
14
14
|
width: 100%;
|
|
15
15
|
padding-bottom: ${o.sp3};
|
|
16
|
-
`,zt=d(
|
|
16
|
+
`,zt=d(Fe)`
|
|
17
17
|
color: ${t=>t.theme.colors.hero};
|
|
18
18
|
display: flex;
|
|
19
19
|
justify-content: center;
|
|
@@ -42,13 +42,13 @@ import{d as ct,q as dt,aP as ve,j as a,F as Le,af as G,aa as mt,d5 as ut,l as V,
|
|
|
42
42
|
display: flex;
|
|
43
43
|
flex-direction: column;
|
|
44
44
|
row-gap: ${o.sp11};
|
|
45
|
-
`,Wt=d(
|
|
45
|
+
`,Wt=d(Ve)`
|
|
46
46
|
margin-top: ${o.sp2};
|
|
47
47
|
padding: ${o.sp2} ${o.sp2};
|
|
48
48
|
text-align: center;
|
|
49
49
|
color: ${t=>t.theme.colors.grey1};
|
|
50
50
|
width: ${t=>x.width.valuePx(t.windowSize)};
|
|
51
|
-
`,Gt=d(
|
|
51
|
+
`,Gt=d(Ve)`
|
|
52
52
|
text-align: center;
|
|
53
53
|
max-width: 750px;
|
|
54
54
|
color: ${t=>t.theme.colors.hero};
|
|
@@ -58,7 +58,7 @@ import{d as ct,q as dt,aP as ve,j as a,F as Le,af as G,aa as mt,d5 as ut,l as V,
|
|
|
58
58
|
gap: ${o.sp3};
|
|
59
59
|
width: 100%;
|
|
60
60
|
`,Xt=d(Nt)`
|
|
61
|
-
${t=>`${
|
|
61
|
+
${t=>`${Vt.stepTitle.style(t.windowSize)}`};
|
|
62
62
|
color: ${t=>t.theme.colors.primary};
|
|
63
63
|
text-align: left;
|
|
64
64
|
`,Qt=d.div`
|
|
@@ -102,7 +102,7 @@ import{d as ct,q as dt,aP as ve,j as a,F as Le,af as G,aa as mt,d5 as ut,l as V,
|
|
|
102
102
|
transform: translateX(0%);
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
|
-
`,Ae=d(
|
|
105
|
+
`,Ae=d(Fe)`
|
|
106
106
|
color: ${t=>t.theme.colors.hero};
|
|
107
107
|
margin-top: ${t=>t.isReadonly?o.sp0:o.sp3};
|
|
108
108
|
white-space: pre-line;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as x,F as w,j as r,b as $,B as y,o as s,M as C}from"./index-
|
|
1
|
+
import{q as x,F as w,j as r,b as $,B as y,o as s,M as C}from"./index-CN7UAWAg.js";import{n as l,b as d}from"./vendor-Bs1fkIUX.js";const f=e=>d.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.802551 6.92395C0.802551 5.2671 2.1457 3.92395 3.80255 3.92395H20.2009C21.8578 3.92395 23.2009 5.2671 23.2009 6.92395V17.076C23.2009 18.7329 21.8578 20.076 20.2009 20.076H3.80255C2.1457 20.076 0.802551 18.7329 0.802551 17.076V10.8805H23.1896V9.01135H0.802551V6.92395ZM0.802551 9.01135H0.799072V10.8805H0.802551V9.01135ZM14.5443 15.6222C14.5443 15.0935 14.9728 14.6649 15.5015 14.6649H18.1386C18.6673 14.6649 19.0959 15.0935 19.0959 15.6222C19.0959 16.1509 18.6673 16.5795 18.1386 16.5795H15.5015C14.9728 16.5795 14.5443 16.1509 14.5443 15.6222Z",fill:"currentColor"})),{common:n,spendManagement:{chargeCard:t}}=w.getLocalizedStrings(),b={subText:new y("extraSmallRegular","standardRegular")},R=({cardDetail:e,forDetailPage:a,styles:h})=>{const u=x(),m=e.type.code.includes("credit")?t.chargeCardsPromo.credit:t.chargeCardsPromo.debit;let o=e.type.code.includes("physical")?t.cardList.physicalCard:t.cardList.virtualCard;const i=n.strings.space+t.cardDetails.expiryHideOut+n.strings.space+e.accountLast4,g=e.status.code==="request_on_hold"||!a?o:i,c=e.type.code.includes("physical");return r.jsxs(H,{style:h,windowSize:u,forDetailPage:a,className:"cardName",title:`${g}`,children:[m,r.jsx(v,{}),o,c&&!a?r.jsx(p,{className:"physical-card-icon"}):null,e.status.code==="request_on_hold"||!a?null:i,c&&a?r.jsx(p,{}):null]})},H=l(C)`
|
|
2
2
|
${e=>e.forDetailPage?{...$.extraSmallRegular.cssObject}:`${b.subText.style(e.windowSize)}`};
|
|
3
3
|
color: ${e=>e.theme.colors.hero};
|
|
4
4
|
max-width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as k,q as f,j as t,bG as te,F as w,fu as P,b as u,b3 as H,ce as ie,o as i,p as B,y as h,am as j,dC as oe,l as y,u as l,bR as re,bS as ae,bi as se,bh as ne,aX as de,bT as le,bV as ce,jw as he,aN as T,c4 as pe,aM as z,ai as $,jx as Q,jy as X,j9 as me,cN as ge,cQ as xe,an as O,ja as we,jb as ue}from"./index-
|
|
1
|
+
import{d as k,q as f,j as t,bG as te,F as w,fu as P,b as u,b3 as H,ce as ie,o as i,p as B,y as h,am as j,dC as oe,l as y,u as l,bR as re,bS as ae,bi as se,bh as ne,aX as de,bT as le,bV as ce,jw as he,aN as T,c4 as pe,aM as z,ai as $,jx as Q,jy as X,j9 as me,cN as ge,cQ as xe,an as O,ja as we,jb as ue}from"./index-CN7UAWAg.js";import{n as o,w as R,b as V}from"./vendor-Bs1fkIUX.js";import{q as ye}from"./InsightsSection-4aveyVKo-DnKJf3sJ.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./NavigationDots-yYEq4mai-Bct7I6H1.js";const be=({x:e,y:s,width:n,height:a,payload:r})=>{const c=k();return t.jsx(he,{fill:(r?.[0].payload).showTooltip===!0?c.colors.background:"transparent",stroke:(r?.[0].payload).showTooltip===!0?c.colors.background:"transparent",x:e,y:s,width:n,height:a})},W=w.getLocalizedStrings().spendManagement.chargeCard.cashbackDetail.header,fe=w.getLocalizedStrings().dateFormat.visual.MMMMFormat,$e=({active:e,payload:s,label:n})=>e===!0&&(s?.[0].payload).showTooltip===!0?t.jsx(je,{children:t.jsx(ve,{children:t.jsxs("div",{children:[t.jsxs(E,{children:[t.jsx(G,{children:W.month})," ",t.jsx(Z,{children:y.getZeniDateFromPeriod(n).format(fe)})]}),t.jsxs(E,{children:[t.jsx(G,{children:W.cashback}),t.jsx(Z,{children:T("0,0.[00]",{amount:s?.[0].value??0,currencyCode:(s?.[0].payload).currencyCode,currencySymbol:(s?.[0].payload).currencySymbol})})]})]})})}):null,E=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
gap: ${i.sp1};
|
|
4
4
|
`,je=o.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as tt,q as Le,ax as It,a9 as Dt,h7 as wr,l as nt,hO as ki,aU as Qe,F as ke,h8 as xr,aP as et,j as t,ha as ji,bG as Li,u as l,g6 as Sr,aN as Ze,aM as X,o as a,c6 as Qt,p as d,jf as yr,b as U,cE as Ii,jg as Di,fo as Ai,g_ as Ti,jh as Ri,bK as Ei,b_ as br,aS as ea,ji as Fi,jj as $r,jk as ot,y as T,bQ as vr,ba as ta,
|
|
1
|
+
import{d as tt,q as Le,ax as It,a9 as Dt,h7 as wr,l as nt,hO as ki,aU as Qe,F as ke,h8 as xr,aP as et,j as t,ha as ji,bG as Li,u as l,g6 as Sr,aN as Ze,aM as X,o as a,c6 as Qt,p as d,jf as yr,b as U,cE as Ii,jg as Di,fo as Ai,g_ as Ti,jh as Ri,bK as Ei,b_ as br,aS as ea,ji as Fi,jj as $r,jk as ot,y as T,bQ as vr,ba as ta,Y as Pi,aT as kr,a$ as zi,jl as Mi,jm as Vi,b7 as aa,ai as ge,eU as Oi,j3 as Hi,r as Ct,h9 as jr,k as gt,b3 as Ni,dH as Bi,cI as Wi,cF as Ui,dj as _i,hL as Gi,am as Oe,c8 as Zi,aY as Wt,jn as Ut,jo as Fa,jp as Yi,B as Pa,M as Lr,b9 as qi,jq as Ji,iZ as ut,jd as Xi,je as Ki,j8 as Qi,dO as za,fa as eo,n as Ir,cN as Dr,j6 as to,cb as ao,c as Ar,jr as ro,aw as kt,ce as Ma,bC as io,dy as oo,an as dt,hG as no,ar as so,L as co,bM as lo,js as At,fC as ho,c4 as po,jt as Tr,ju as Rr,gL as Er,jv as Lt,it as Fr,j9 as uo,cQ as mo,eA as Pr,ja as go,jb as Co,e7 as fo,de as wo,eG as xo,cv as So,cw as yo}from"./index-CN7UAWAg.js";import{b as o,n as r,i as we,w as bo,k as zr}from"./vendor-Bs1fkIUX.js";import{j as $o}from"./NavigationDots-yYEq4mai-Bct7I6H1.js";import{A as vo,i as ko,a as jo,l as Lo,r as Io,t as Do,n as Ao}from"./add-to-wallet-DgdBD8_G-XP_wmSR7.js";import{j as To}from"./CardNumberSubText-BudPffUB-BTvRfksc.js";import{r as Mr}from"./mui-Ty75qFQF.js";import{f as Vr}from"./uploadReceipts-Dp1dvCjf-CdBFemgP.js";import{L as Ro,z as Eo,k as Fo,P as Po}from"./LockCardPage-Ui2RTfpb-B7R1Xixi.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./RoleWithToolTip-Ckorto5Y-CV42dy1h.js";const Or=ke.getLocalizedStrings().spendManagement.chargeCard,zo=({controllerEmails:e,classListFetchState:i,isChargeCardFeatureEnabled:s,isDebitCardFeatureEnabled:u,isDebitCardSetupEnabled:h,isChargeCardSetupEnabled:f,chargeCardDetailView:c,productInformation:g,creditAccountInformation:m,debitAccountInformation:x,creditAccount:S,creditAccountRepayment:n,cardIssuedByRoles:C,cardIssuedByDepartmentName:w,cardHolderRoles:j,cardHolderDepartmentName:b,appleWalletLink:k,googleWalletLink:I,style:p,showDrawerAnimation:E,setWalletType:y,setIsAddToWalletDrawerOpen:O,isDebitCard:H})=>{const v=Dt().analytics,{isIPadScreen:Y}=Mi(),{isAndroidScreen:K}=Vi(),_=It(),D=nt.hasChargeCardAdminLevelAccess(_.loggedInUserRoleMap);return t.jsx(Mo,{style:p,children:Y===!0?t.jsx(Kt,{onClick:()=>{ot({chargeCardDetailView:c,classListFetchState:i,analytics:v,isDebitCard:H,isChargeCardAdmin:D,cardIssuedByRoles:C,cardIssuedByDepartmentName:w,cardHolderRoles:j,cardHolderDepartmentName:b,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Apple Wallet",productInformation:g,creditAccountInformation:m,debitAccountInformation:x,isChargeCardFeatureEnabled:s,creditAccount:S,creditAccountRepayment:n}),window.open(k,"_blank")}}):K===!0?t.jsx(Xt,{onClick:()=>{ot({chargeCardDetailView:c,classListFetchState:i,analytics:v,isDebitCard:H,isChargeCardAdmin:D,cardIssuedByRoles:C,cardIssuedByDepartmentName:w,cardHolderRoles:j,cardHolderDepartmentName:b,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Google Wallet",productInformation:g,creditAccountInformation:m,debitAccountInformation:x,isChargeCardFeatureEnabled:s,creditAccount:S,creditAccountRepayment:n}),window.open(I,"_blank")}}):t.jsxs(t.Fragment,{children:[t.jsx(Kt,{onClick:()=>{y("apple"),E.current="slide-in-right-to-left-add-to-wallet",ot({chargeCardDetailView:c,classListFetchState:i,analytics:v,isDebitCard:H,isChargeCardAdmin:D,cardIssuedByRoles:C,cardIssuedByDepartmentName:w,cardHolderRoles:j,cardHolderDepartmentName:b,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Apple Wallet",isChargeCardFeatureEnabled:s,productInformation:g,creditAccountInformation:m,debitAccountInformation:x,creditAccount:S,creditAccountRepayment:n}),O(!0)}}),t.jsx(Xt,{onClick:()=>{y("google"),E.current="slide-in-right-to-left-add-to-wallet",ot({chargeCardDetailView:c,classListFetchState:i,analytics:v,isDebitCard:H,isChargeCardAdmin:D,cardIssuedByRoles:C,cardIssuedByDepartmentName:w,cardHolderRoles:j,cardHolderDepartmentName:b,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Google Wallet",isChargeCardFeatureEnabled:s,productInformation:g,creditAccountInformation:m,debitAccountInformation:x,creditAccount:S,creditAccountRepayment:n}),O(!0)}})]})})},Xt=({onClick:e})=>{const i=tt();return t.jsx(Ir,{prefixIcon:t.jsx(Vo,{}),label:Or.cardDetails.addToGoogleWallet,buttonColors:{borderColor:{default:i.colors.grey1,hover:i.colors.primary,disabled:i.colors.primary},backgroundColor:{default:i.colors.grey5,hover:i.colors.grey5,disabled:i.colors.grey5},textColor:{default:i.colors.primary,hover:i.colors.primary,disabled:i.colors.grey5}},textStyle:{color:i.colors.primary},style:{width:"239px",justifyContent:"center"},onClick:e,"data-testid":X("add-to-google-wallet-button")})},Kt=({onClick:e})=>{const i=tt();return t.jsx(Ir,{prefixIcon:t.jsx(Oo,{}),label:Or.cardDetails.addToAppleWallet,buttonColors:{borderColor:{default:i.colors.grey1,hover:i.colors.primary,disabled:i.colors.primary},backgroundColor:{default:i.colors.grey5,hover:i.colors.grey5,disabled:i.colors.grey5},textColor:{default:i.colors.primary,hover:i.colors.primary,disabled:i.colors.grey5}},textStyle:{color:i.colors.primary},style:{width:"239px",justifyContent:"center"},onClick:e,"data-testid":X("add-to-apple-wallet-button")})},Mo=r.div`
|
|
2
2
|
margin-top: ${a.sp4};
|
|
3
3
|
display: flex;
|
|
4
4
|
justify-content: center;
|