@zeniai/web-cockpit-ui 1.15.58-qa → 1.15.59-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-CfvX6zSV-BnYXr7da.js → ACHDetailsPage-CFhoboVe-NhNiWQoq.js} +1 -1
- package/dist/assets/{AIPerformancePage-BTVbAUHG-BoVD62zB.js → AIPerformancePage-DB-fTWME-C20PCC17.js} +31 -31
- package/dist/assets/AccountInfoPage-pEEhPqOb-CuwSCEbu.js +18 -0
- package/dist/assets/{AccountInfoPageContent-Bk0YQ-4C-BFfUei9K.js → AccountInfoPageContent-eYEsv7ac-CxPwO1am.js} +17 -17
- package/dist/assets/{AccountLockedInfoModal-DM2zVI24-BKusNt5D.js → AccountLockedInfoModal-jYWr_8TD-BpvSTyB8.js} +8 -8
- package/dist/assets/{AccountReconDetailsDrawerPage-B6mhnC_D-UmCS2ljL.js → AccountReconDetailsDrawerPage-3Q0EPYhL-DhctK78k.js} +44 -44
- package/dist/assets/{AccountRow-2vAGu-jm-Ban2UP27.js → AccountRow-CdgvnPG8-BbJV8Q8M.js} +22 -22
- package/dist/assets/{AccountsPromoCardStack-z9STg_F3-DQIMAcch.js → AccountsPromoCardStack-DHo59LLN-G_DVA-Yj.js} +22 -22
- package/dist/assets/AddAddressForCardDrawer-BzO1FXUa-kqMHH9Vt.js +6 -0
- package/dist/assets/{AddToWalletPage-BMPHVMEY-uJdVtbyv.js → AddToWalletPage-BfXFbHjk-QRigQSHV.js} +28 -28
- package/dist/assets/{AgingReportsPage-Bngg8YpI-C_fcRo8j.js → AgingReportsPage-C1hFq4KH-COTxuu-2.js} +7 -7
- package/dist/assets/{AllUserItems-DzHTUgrn-wXFIirZl.js → AllUserItems-B6pnKByY-BUdz_J3g.js} +10 -10
- package/dist/assets/ApAgingDetailPage-CxLVGnpY-OkmLiLaF.js +46 -0
- package/dist/assets/{AppBasePage-DUoMiO7X-DW6VTkB1.js → AppBasePage-DiVxF606-C03aQg1o.js} +7 -7
- package/dist/assets/AppDrawerContent-B_EWsf8O-16pnrlUd.js +92 -0
- package/dist/assets/{ApprovalRulesSettingsPage-BfXvTQyU-Dh6b5zsc.js → ApprovalRulesSettingsPage-HHjDp_NQ-CDZaolru.js} +6 -6
- package/dist/assets/{ArAgingChart-BwVPNYHv-3oBDpKQx.js → ArAgingChart-Ba4A-i2N-Cm3Zb2-A.js} +1 -1
- package/dist/assets/ArAgingDetailPage-prgcvsS4-CC5CLIGP.js +46 -0
- package/dist/assets/{AttachmentView-DQKnQgQK-Bu5XLE-W.js → AttachmentView-SsWJw4A8-BGK1ntZP.js} +8 -8
- package/dist/assets/BalancesInsightWithToolTip-DE6gDjGA-D3lvmUPJ.js +38 -0
- package/dist/assets/{BankAccountSection-DxW0EB-K-BfA6R4ym.js → BankAccountSection-B4jmT0lb-DzAFSATj.js} +11 -11
- package/dist/assets/{BankAccountWarningSection-BQlPiqev-DQgUD-fz.js → BankAccountWarningSection-Bz2itMx0-BwlD2-aX.js} +9 -9
- package/dist/assets/{BankConnectionsSettingsPage-CFk2aMnM-Mskj_CdN.js → BankConnectionsSettingsPage-BcVk7bTt-CT4jBj4R.js} +26 -26
- package/dist/assets/{BillDetailPage-44pWv8Nq-DZ4TiXFR.js → BillDetailPage-Dkqmi4H1-BrWo4uGz.js} +4 -4
- package/dist/assets/{BillPayApprovalRuleDetailPage-D_Q7_oVR-Dl3E9h_h.js → BillPayApprovalRuleDetailPage-Blxlv3pa-CZSNHT3K.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-iTvysPLf-B5MNc-_v.js → BillPayApprovalRulesPage-B_QwggJS-LtyCS7v3.js} +14 -14
- package/dist/assets/{BillPayPromoPage-B5AGf-Xt-024pxlZZ.js → BillPayPromoPage-Bx2AXpWe-Du89a98b.js} +5 -5
- package/dist/assets/{BillPaySetUpPage-bNDxI3Kh-6_VU18cC.js → BillPaySetUpPage-CM7_DkHC-CclJKf3M.js} +3 -3
- package/dist/assets/{BillingSettingsPage-4WGlC_Ok-DUDn5i-o.js → BillingSettingsPage-DM0OIfxa-BuoiB9BU.js} +9 -9
- package/dist/assets/{BillsBulkReviewDrawerPage-8E35ktf3-Cw9-crTl.js → BillsBulkReviewDrawerPage-C3xmQ7wz-Bwj3c210.js} +1 -1
- package/dist/assets/{BoxItem-Yk1jfFWZ-DzXp7dNR.js → BoxItem-CvCo0wr6-DKAIvhWo.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-CYzudAIt-BBXKWut1.js → BusinessVerificationPage-BAZmkR4a-AnwjdvL9.js} +10 -10
- package/dist/assets/{CardNumberSubText-DjHY0FvO-CjPeFW5K.js → CardNumberSubText-DHtSIcZZ-DL8DMs-k.js} +1 -1
- package/dist/assets/{CashbackDetailPage-BBnND02O-DWBUQ_Fx.js → CashbackDetailPage-CNS1FA6b-JWXE3hsL.js} +21 -21
- package/dist/assets/{ChargeCardDetailPage-BIR8jdTw-Czwwolcz.js → ChargeCardDetailPage-C4NeG7IM-CPxS6cRg.js} +35 -35
- package/dist/assets/{ChargeCardListPage-DIaPTqHg-CsAQvjuT.js → ChargeCardListPage-DNYiWaEf-DJhH9poc.js} +24 -24
- package/dist/assets/{ChargeCardListTable-Daaen5Xe-DifYJ3Zj.js → ChargeCardListTable-DdnyzdFf-BmYCmkcc.js} +49 -49
- package/dist/assets/{ChargeCardPaymentHistoryPage-BdQWV5hd-BxCbxBo_.js → ChargeCardPaymentHistoryPage-CXlqzaUt-BEtGgsbY.js} +36 -36
- package/dist/assets/{ChargeCardPromoPage-DAk2fYcE--OhP0cnw.js → ChargeCardPromoPage-D4canPX9-DuNs-QpK.js} +23 -23
- package/dist/assets/{ChargeCardSetupPage-64bBN1fe-BqFWzRA1.js → ChargeCardSetupPage-BtikPFOq-_QFEhM40.js} +3 -3
- package/dist/assets/ChargeCardStatementsPage-RepWBbvJ-fE-f9dTt.js +60 -0
- package/dist/assets/{CheckDepositDrawerPage-DlJJaad8-CLbfXmNK.js → CheckDepositDrawerPage-BCqg3irO-BNQC0cqt.js} +21 -21
- package/dist/assets/{CollapsableReportTable-CcyH-50D-D4qh_Iwq.js → CollapsableReportTable-gy7Ue_fk-D4P0G-Lp.js} +528 -496
- package/dist/assets/{CompanyOfficerDetailsSection-m-m1nELP-S26KFwxz.js → CompanyOfficerDetailsSection-BsCx7q-g-vYNOEpVO.js} +15 -15
- package/dist/assets/{CompanyPassportCard-ZBDBE8eV-CMQWkwBr.js → CompanyPassportCard-BbUWOs1U-BLVqocbL.js} +4 -4
- package/dist/assets/{CompanyPassportPage-B6zI52Pp-B__XqIFB.js → CompanyPassportPage-BnP2oA1U-zWSSW3Bs.js} +29 -29
- package/dist/assets/{CompleteProfile-BLWNz2VA-tYLyFWWU.js → CompleteProfile-TiRsm2Fm-CIjFxaAm.js} +3 -3
- package/dist/assets/ConfettiBurst-D7J36hZf-BKlSjT6j.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-BJt0x_QL.js → ConstrainedInnerElement-CgdnMeoA-Bv_SCMJB.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-D_fPbFsR-ChtzoVO1.js → CreateOrEditVendorPage-Dihzr1D5-D9cB4SAg.js} +19 -19
- package/dist/assets/{CreditCardPaymentDrawerPage-Bl82rSY1-DDoITNb_.js → CreditCardPaymentDrawerPage-CZGzDuxC-p3RWbIDE.js} +14 -14
- package/dist/assets/{CurrencySelectField-CwNGSmb2-BfwCMrZd.js → CurrencySelectField-BTAmIqPa-BqQ2_ci5.js} +4 -4
- package/dist/assets/{CustomerOnboardingActivationPage-L6GfGsJ9-BbZGV_dK.js → CustomerOnboardingActivationPage-MVI7kqIh-wst5cRj4.js} +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-DV3z4pR--Dxqq0QJL.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-MP-lAuJG-UK3eLYnf.js → CustomerOnboardingDetailPageSkeleton-CaI_0pCb-CxQ8bQdr.js} +14 -14
- package/dist/assets/{CustomerOnboardingNoStepsPage-DF6CbSZs-7ZmdawXZ.js → CustomerOnboardingNoStepsPage-CO_c2COV-pLp1hFCt.js} +6 -6
- package/dist/assets/{CustomerOnboardingPage-Cl4wtP6t-Ex1UzqXa.js → CustomerOnboardingPage-BF0vuYaJ-JMRuse4Z.js} +14 -14
- package/dist/assets/{CustomerOnboardingProductSuitePage-vkblu46s-h4faigoV.js → CustomerOnboardingProductSuitePage-BGFdLX1i-DySt6BQg.js} +6 -6
- package/dist/assets/{Dashboard-C1Fn0zHa-CkDT70CD.js → Dashboard-Qjedd4r--DHZmjgJN.js} +1 -1
- package/dist/assets/{DashboardReportPage-3lvWkrXH-CKAZqKLe.js → DashboardReportPage-Deith_ON-ChcA84Vk.js} +24 -24
- package/dist/assets/{DashboardSidebarBackgroundAnimation-Cn_5tbit-DB1raPJt.js → DashboardSidebarBackgroundAnimation-C7DfUDio-DPyKxS1U.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-DnL2eweO-BVp_XIJO.js → DepositAccTransactionItem-7kYotKov-BnPXoaAG.js} +6 -6
- package/dist/assets/{DepositAccTransactionListPage-HAUhc4OH-w6xPsKCN.js → DepositAccTransactionListPage-Bop4Uj5w-ZOaAmZOC.js} +3 -3
- package/dist/assets/DomesticWireDetailsPage-_TyXsqEx-cl5Mv1ja.js +21 -0
- package/dist/assets/{DownloadOverlay-GFsPIkgY-CIatX2-l.js → DownloadOverlay-Cmd727bN-BHplNe_3.js} +23 -23
- package/dist/assets/{DrawerPage-DudtPicH-DR7eAOPs.js → DrawerPage-DmGwfnGp-B5EgKZxZ.js} +14 -14
- package/dist/assets/EditPeoplePage-YyluIC6R-CQIl30sj.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-D8RHkMHR-DhpHj6Tk.js → EditReimbursementDetailPage-DeMid2Ko-BTURFjuA.js} +84 -84
- package/dist/assets/EntityDetailPage-DPTSSZdS-B-VW2ygZ.js +18 -0
- package/dist/assets/{EntitySummarySection-Po9-k_zM-CKOvXyjt.js → EntitySummarySection-5NbutA8l-Z4HQfo2N.js} +15 -15
- package/dist/assets/{ExpenseAutomationOverviewPage-CbLRqpw3-CE6o3IC8.js → ExpenseAutomationOverviewPage-CQ_3WluW-sBkDi2LJ.js} +10 -10
- package/dist/assets/{ExpenseAutomationPage-DD33LDin-CmmvW3gw.js → ExpenseAutomationPage-VuU4acYd-DRu_62Rz.js} +239 -239
- package/dist/assets/{ExpressPayPage-BbHx9h8j-Jtoo_XSn.js → ExpressPayPage-DhoNmyC2-Ixqn7FeR.js} +15 -15
- package/dist/assets/{FeaturePreviewPage-72x3P-pq-fDKDe74V.js → FeaturePreviewPage-GSwhPxgP-C20k6nV5.js} +2 -2
- package/dist/assets/{FollowStepsSection-BT_WjsEy-6nsqXk2v.js → FollowStepsSection-DaueHRo4-DdiQ4lOn.js} +11 -11
- package/dist/assets/{GlobalReviewListPage-C5h9rvVb-BrdUyPnT.js → GlobalReviewListPage-DG7_1HOT-mLv5NHYa.js} +8 -8
- package/dist/assets/{InformationCardStack-CjpOEuJF-DF2z_fcp.js → InformationCardStack-zc-BxR7F-B2cR2Vrc.js} +4 -4
- package/dist/assets/{InsightsCardStack-CkxN0Fd6-D3ds4snJ.js → InsightsCardStack-DxCA5sFh-CBXIO7T2.js} +14 -14
- package/dist/assets/InsightsSection-BdFG3j3R-DpGjm8qb.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-CN3x9o-8-n2lkrWPc.js → IntegrationsSettingsPage-CaiL3kqS-yWfc1-ip.js} +4 -4
- package/dist/assets/{InternationalWireSwiftDetailsPage-C1WTGANK-CX6ZkpbL.js → InternationalWireSwiftDetailsPage-BrQVSzeS-DauYa5_z.js} +19 -19
- package/dist/assets/InternationalWireVerificationPage-NaLnhW9C-D3Wh10D9.js +65 -0
- package/dist/assets/InviteFormPage-fjqv2l7h-CoWToBnJ.js +312 -0
- package/dist/assets/{InvitePageListView-BbQyUnv0-DMumTMJP.js → InvitePageListView-CQecQhxr-BNu8hXMY.js} +48 -48
- package/dist/assets/InvitePeoplePage-DAEBuOnk-jK8Ueocl.js +12 -0
- package/dist/assets/InvoiceUploadSection-58l6ePuH-BuOyGSAC.js +140 -0
- package/dist/assets/{IssueChargeCardPage-BT9h01l_-siq7xJ-s.js → IssueChargeCardPage-Bkxqsgax-BMc-YwRY.js} +30 -30
- package/dist/assets/{LabeledAddressValue-DF623NAW-D4a6OVhw.js → LabeledAddressValue-CZfFV97h-DWDhZW5u.js} +2 -2
- package/dist/assets/LabeledAddressValueField-D66XOhMx-Di6mjf7B.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-DNFUkVLh-CuadpuTO.js → LabeledControlledCheckBoxField-BtnsqE4D-CLMK-CUC.js} +2 -2
- package/dist/assets/{LabeledCountryMultiSelectField-B5vytqi_-BXGWCwpL.js → LabeledCountryMultiSelectField-kopByxLB-CVecMMvH.js} +3 -3
- package/dist/assets/{LabeledCreatableSingleSelectField-DN5wCaeU-bysGqgYr.js → LabeledCreatableSingleSelectField-B6An-cwq-DxTaWad8.js} +3 -3
- package/dist/assets/LabeledDocumentField-D_ZD8JTn-BbI3Z3Te.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-BvdkjSR_-0cU3E71g.js → LabeledDropDownFormattedTextField-CJ7ncCzH-CmOBBbLT.js} +8 -8
- package/dist/assets/{LabeledText-BDkcgGG4-YJ-8g03K.js → LabeledText-A1h_ionS-YHsepFfP.js} +4 -4
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BnDEbwhn-BjMBeUGB.js → LabeledUserSingleSelectWithSubtitlesField-IYaUvqgY-BQ0ZCt10.js} +17 -17
- package/dist/assets/{LabeledZeniRolesDropDownField-CY2feiXB-HP_5dGNT.js → LabeledZeniRolesDropDownField-DmynBXbJ-BkBy6SHA.js} +16 -16
- package/dist/assets/{LinkJETransactionPage-Bc3h7Bsx-Wiea8FhX.js → LinkJETransactionPage-D6-fL4a6-DPNZmHzv.js} +5 -5
- package/dist/assets/LockCardPage-BDlnh_zf-coxMaBNB.js +623 -0
- package/dist/assets/{LowBalancePopup-CKSy3iEi-DCgRxDtE.js → LowBalancePopup-CBPl_udd-D2XBBf4O.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-eq8wlXQr-DtgQBKXr.js +1 -0
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-zLqzW0ZA-DNf2ZFPO.js → MagicLinkDomesticWireDetailsPage-BcNOhJgL-C8mUkiDX.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-OpEbz58h-DNNhjP9x.js → MagicLinkInternationalWireDetailsPage-Df8XYlkg-BRWnjp0l.js} +1 -1
- package/dist/assets/MagicLinkSuccessPage-Cl461HWp-CO6oeX5F.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-D38JxxrQ-CU50p6sN.js → MagicLinkTitleSection-DoIMYrRv-BlE9zH37.js} +4 -4
- package/dist/assets/MailingDetailsSection-NdwWGQ88-D7MwCKtI.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-TSaL2Z3R-7urnLeL-.js → MyBankConnectionsSettingsPage-BU6TBzI1-DN5Npe5i.js} +10 -10
- package/dist/assets/{MyPendingActivationChargeCardListPage-BvcQUu1g-BAib1puz.js → MyPendingActivationChargeCardListPage-DcunCDU6-gyBwBEb_.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-AqrcruM6-CFhzI6VI.js → MyProfileSettingsPage-DF7ahyXE-B1LJnYuu.js} +7 -7
- package/dist/assets/{NavBarWithPicker-BpjOj0Mh-B0IyZ-5p.js → NavBarWithPicker-D2v1fhLS-C3H8GgqL.js} +5 -5
- package/dist/assets/{NavigationArrow-wyRPTk_w-CBPTcVzh.js → NavigationArrow-CWUL-6kN-BrqMd9Lj.js} +2 -2
- package/dist/assets/{NavigationDots-D4jbU1WN-2Zgm3tFB.js → NavigationDots-c-XSrFzE-Dxzsqafk.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-B-aRURcQ-DM9ZiThQ.js → NewGlobalMerchantPage-FGEO68I8-B7wryl8V.js} +9 -9
- package/dist/assets/{NoDataChart-tpjEi1Wb-CneSdGWB.js → NoDataChart-DJhSgtLu-B7rWK9ww.js} +4 -4
- package/dist/assets/NoDataTable-BZiwo2qK-1fFq9QL7.js +8 -0
- package/dist/assets/{NotFoundPage-aEkhvzEG-5jUiDOLs.js → NotFoundPage-BN5unYX8-RIPoUtcm.js} +5 -5
- package/dist/assets/{NotificationSettingsPage-CMNyI8E6-BB9rHV42.js → NotificationSettingsPage-d8kHDj0M-BR4XfDGy.js} +31 -31
- package/dist/assets/{NotificationsListConfig-CqxCGQSM-CNk3ZSrm.js → NotificationsListConfig-ThKLok_w-DiwvAaDh.js} +1 -1
- package/dist/assets/{NotificationsPage-xmWyvsYE-DgxInQel.js → NotificationsPage-Uvu6XESA-C7IDz_PV.js} +28 -28
- package/dist/assets/{OpExByVendorPage-BwWSNQjj-ArHXz_mI.js → OpExByVendorPage-QyqRkD2_-BZtZlU0k.js} +8 -8
- package/dist/assets/{OverlayContainerPage-BG9y5C0t-C04r--J3.js → OverlayContainerPage-BG9y5C0t-B5Ccc20I.js} +1 -1
- package/dist/assets/PandLWithForecastPage-DJ2v5qbE-D34Zu7P_.js +123 -0
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-Cg-iwsq9-yL-9Kg03.js → PaymentAccountSetupBillingAddressSection-q5z8XZFC-BXoCztnc.js} +12 -12
- package/dist/assets/{PeoplePage-CgLumn7f-DpLXgwxu.js → PeoplePage-C5ZdpVyR-D5gb3H9N.js} +34 -34
- package/dist/assets/{Preview-BoQzKWlV.js → Preview-M7TzJD6j.js} +1 -1
- package/dist/assets/{ProductsCarousel-LGZZZ4bc-BrX6HY26.js → ProductsCarousel-CXjLTOLy-qhgO5u3T.js} +4 -4
- package/dist/assets/{PromoBaseCards-DMnQ-nBZ-DDlepqsM.js → PromoBaseCards-CN9uZfG4-4ZG6rDcT.js} +3 -3
- package/dist/assets/{QBOConnectionDialog-ufRcAeE8-jq-VIkh3.js → QBOConnectionDialog-CXSi1Pd9-BlV5xAad.js} +3 -3
- package/dist/assets/{QBOSetupSection-BaxLXdyW-Bw8JqvSl.js → QBOSetupSection-BrtLMvEP-CWf9qAKV.js} +19 -19
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CE0CxjTY-s7g4Epqs.js → ReimbursementApprovalRuleDetailPage-CS1BQ7pL-gwQi2ubd.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-DDNhjbbG-e47fcCBo.js → ReimbursementApprovalRulesPage-aLRkhkZB-CtUN1jCI.js} +7 -7
- package/dist/assets/{ReimbursementDetailPage-BOW1JodW-Br3QbgaE.js → ReimbursementDetailPage-Dr5BTvEq-BkIwEWVX.js} +17 -17
- package/dist/assets/{ReimbursementPromoPage-lD4FRDbt-BTRv0wOn.js → ReimbursementPromoPage-C5Z0mVhQ-sIeJk3bD.js} +8 -8
- package/dist/assets/{ReimbursementSetUpPage-vZd1l3-L-BJb01JMz.js → ReimbursementSetUpPage-CXhOBErm-DH5oFO_k.js} +7 -7
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BV1eoHFe-Ct7RQx5a.js → ReimbursementsBulkReviewDrawerPage-CA0n0mau-YPT0uXmT.js} +1 -1
- package/dist/assets/{ReloadCard-DZJ1-x96-12T5DybX.js → ReloadCard-Bjp8ygC2-QCThgpLx.js} +6 -6
- package/dist/assets/{ReportTableViewSelector-NmHJk-6O-Bo6jFRe0.js → ReportTableViewSelector-DTk1dNWC-B6Y4EDN-.js} +9 -9
- package/dist/assets/ReportsPage-DrjOGopt-DJaJ6UxU.js +258 -0
- package/dist/assets/{RevenueChart-CKjVL6iT-Bl6arWa6.js → RevenueChart-CqGvXDr4-ls1jVoKH.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-Dm5-QehL-C1ebQa3V.js → ReviewDetailsPage-CWBP7FBN-BDBxmvOT.js} +19 -19
- package/dist/assets/{ReviewOverlay-DyTC2zKj-Cqqa9ybn.js → ReviewOverlay-Cxkp85Kw-C7d3vwBi.js} +6 -6
- package/dist/assets/RoleWithToolTip-CqLxmtj6-BNUOWMRG.js +22 -0
- package/dist/assets/ScheduleDetailsFixedAssetsPage-CYvlB3Nf-BjdxIH5b.js +37 -0
- package/dist/assets/ScheduleDetailsPage-CZXJ15tN-CjrCADWR.js +37 -0
- package/dist/assets/ScheduleSequenceTable-DNPID_7F-j2fgEjwp.js +326 -0
- package/dist/assets/{ScreenRoutes-CCqT3xt1.js → ScreenRoutes-DJ_rUo9A.js} +1 -1
- package/dist/assets/{SetUpAccountSection-BkGBS9x_-R8tgE_Z9.js → SetUpAccountSection-_WPR-q2V-DrJlA8IQ.js} +16 -16
- package/dist/assets/{SignIn-DybDQnmR-ByUOpVOm.js → SignIn-CDEsZw_T-0YUs2QmP.js} +33 -33
- package/dist/assets/SignInScreen-CUXsEOc0.js +1 -0
- package/dist/assets/{SpendManagementListViewPage-DkEZTojy-CA6_5Fky.js → SpendManagementListViewPage-MOCWuROI-DKR38Veg.js} +11 -11
- package/dist/assets/{SpendManagementPerTabPage-CR9CphX3-BEr99KbG.js → SpendManagementPerTabPage-BeK0SCeE-D8khDgh_.js} +43 -43
- package/dist/assets/{SpendManagementSection-DqDra2TJ-DXPdzdx4.js → SpendManagementSection-DZFPfKNi-BUQ2S0Kz.js} +17 -17
- package/dist/assets/{StatementItem-DSuaMb54-ChcIWFK-.js → StatementItem-DjvU5wiI-DHTNeSpB.js} +2 -2
- package/dist/assets/StatementsPage-DYLp_e7W-C5hw_hkQ.js +58 -0
- package/dist/assets/{StatusSwitcher-Z7jo_R2B-D-RVNmDS.js → StatusSwitcher-jxaonB4S-Dw8Z5KsP.js} +2 -2
- package/dist/assets/{SubTabSwitcher-DJvtpJh2-CqJlCEZ1.js → SubTabSwitcher-CudjNlsi-Dk2m1EXt.js} +3 -3
- package/dist/assets/{SummaryCard-D4k-35Mt-CKKk3xUZ.js → SummaryCard-DPOhBmkr-Cj1Lt-Mp.js} +1 -1
- package/dist/assets/{TaskManagementPage-Cadtu3qQ-zX8lQopX.js → TaskManagementPage-CTMoHv0R-DzrReeZE.js} +13 -13
- package/dist/assets/{TimeRangeSwitcher-CXt00my3-kyL42Suj.js → TimeRangeSwitcher-SqY2MHGs-Bpa_mFEa.js} +5 -5
- package/dist/assets/{TimeframeSwitcher-D0ujXDLd-DkH3ill0.js → TimeframeSwitcher-BlJ2fuHy-8yHS99Lr.js} +4 -4
- package/dist/assets/{TimeframeSwitcherWithToggle-CMzQ2qRz-CKP0fk1A.js → TimeframeSwitcherWithToggle-Dgc1odUH-CNwpIwWb.js} +4 -4
- package/dist/assets/{TopExCard-BmRXVrxo-D8yAs-m9.js → TopExCard-CG8YLsYe-CsdBprjg.js} +11 -11
- package/dist/assets/{TopExDetailPage-Ds-BZjbz-IOO7_XQl.js → TopExDetailPage-TvYCbzSP-C1DN6y7-.js} +16 -16
- package/dist/assets/{TransactionActivityLogPage-CKIHtz5l-D-dTYDgC.js → TransactionActivityLogPage-BL3vEAdU-B_s3Ii9P.js} +11 -11
- package/dist/assets/{TransactionDetailPage-B1UKqtkR-BE9V0dPT.js → TransactionDetailPage-DUouBL0o-BwsVWjsw.js} +26 -26
- package/dist/assets/{TransactionList-BE3ODDi0-BDIJTskc.js → TransactionList-B16NONME-MhxbTKXX.js} +18 -18
- package/dist/assets/{TransactionListBig-JcBvCcMd-HNZ38dTS.js → TransactionListBig-CItPbTRV-CTDy7YXE.js} +10 -10
- package/dist/assets/TransactionListPage-DNecYY8M-DvyKlW5R.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-BCtWJV5U-CC-HiQvd.js → TransactionVendorDetailPage-DpqisXN8-BeIl3VIo.js} +6 -6
- package/dist/assets/{TransferDrawerPage-DoIPGIdB-JAB5Sz6q.js → TransferDrawerPage-Dsmbswu0-DuQeRo8o.js} +24 -24
- package/dist/assets/{TreasuryOverviewPage-lmaT3YkG-C6wF0pBN.js → TreasuryOverviewPage-BcRpcYmB-B_2n4w_R.js} +40 -40
- package/dist/assets/{TreasuryPromoPage-avx9YENY-CaSHYgG2.js → TreasuryPromoPage-DOO_OMRa-Nn5daNmi.js} +19 -19
- package/dist/assets/{TreasuryStatementsPage-BguLbwsn-B5E0Q7zz.js → TreasuryStatementsPage-A_U7bEy5-DdFUWuDa.js} +7 -7
- package/dist/assets/TreasuryTaxLetterPage-BsJn-BgX-CQZpySFF.js +58 -0
- package/dist/assets/{TrendChart-rzKYI72b-x69qqEF1.js → TrendChart-GMMat-NG-CAc9nAfG.js} +2 -2
- package/dist/assets/{TrendWithTransactions-atLfDrR5-B0aSX9-q.js → TrendWithTransactions-CrA4opNV-BTtTpjeg.js} +6 -6
- package/dist/assets/{UncategorizedAccountsMappingPage-5VnrVRL7-DkHh43Pm.js → UncategorizedAccountsMappingPage-CrzbFGOi-B7V18O6N.js} +10 -10
- package/dist/assets/{UnitIntegrationPage-CRtWNQ9s-BlzFosEv.js → UnitIntegrationPage-XZY6zJa7-Cq4xbYW7.js} +13 -13
- package/dist/assets/{UploadAdditionalDocumentOverlay-D0FPdZ3n-DT1NoKwU.js → UploadAdditionalDocumentOverlay-eqwSLigx-Ci9eqDqb.js} +2 -2
- package/dist/assets/Vendor2FAPopup-BHDivuPB-Cn8-yps4.js +1 -0
- package/dist/assets/VendorACHDetailsPage-DJ4Crnr0-adpyH1RD.js +1 -0
- package/dist/assets/{VendorDetailPage-DJ54yvWY-DtibNEE0.js → VendorDetailPage-DEu-yS8w-DNet96B_.js} +24 -24
- package/dist/assets/VendorDomesticWireDetailsPage-WFcOmpiN-CHE49l9v.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-B0LEUR_g-CsMru02g.js → VendorFiling1099EditablePage-C461SzO0-BVUWElpF.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-7VUbqyR2-B-t_-gOw.js → VendorFirstReviewPage-klbCHS04-BFjy2m5_.js} +32 -32
- package/dist/assets/{VendorInternationalWireDetailsPage-CHFMTDYG-UTfMlqxi.js → VendorInternationalWireDetailsPage-DY0V-VbO-C2xJ0CsJ.js} +26 -26
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-B8sx02I_-CE29O6S4.js +1 -0
- package/dist/assets/{VendorsAccountsSection-By1Bhh27--5FkvREo.js → VendorsAccountsSection-Cqcr-ArD-DAAwd5Iw.js} +4 -4
- package/dist/assets/{VerifyDevice-gXwkGIjJ-ffTqb92V.js → VerifyDevice-Dhu5iywf-HX-kw30c.js} +8 -8
- package/dist/assets/{VideoPlayer-DBU7xwIG-G3eDrHhm.js → VideoPlayer-ZGjx_Hp7-Nomi0VD9.js} +3 -3
- package/dist/assets/VideoPopup-R3u0N_if-DgVn2CAl.js +31 -0
- package/dist/assets/{WarningsDrawerPage-ByCZSQ-E-S67fi1hF.js → WarningsDrawerPage-TerLFC4m-C5ptwy3N.js} +8 -8
- package/dist/assets/{ZeniAccountDetailPage-DlCJ5UGq-D5M3rInN.js → ZeniAccountDetailPage-DQB7sXU9-CETOq0EN.js} +16 -16
- package/dist/assets/{ZeniAccountListViewPage-DTiBd3Ze-DvMCmuRh.js → ZeniAccountListViewPage-BwXKgf6g-DrDKS22-.js} +29 -29
- package/dist/assets/{ZeniAccountNavBarPieces-DAcKYXqh-C3pU1dfO.js → ZeniAccountNavBarPieces-CHUTFAWG-DBX2rB9H.js} +4 -4
- package/dist/assets/{ZeniAccountPromoPage-MPekAyNe-BSRrdgoj.js → ZeniAccountPromoPage-BkfJuMNV-DSkmb6Z5.js} +28 -28
- package/dist/assets/ZeniAccountSetupPage-C3drM4Zs-D-HaFV-S.js +36 -0
- package/dist/assets/{ZeniCopyright-B1muAGCe-RlRc6Vn6.js → ZeniCopyright-CznSgVJF-iBl18n1m.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-CX1FGWrl-Sctz6Ol2.js → ZeniTransferAmountSlider-C77DEl-C-CZljZWCZ.js} +7 -7
- package/dist/assets/{add-to-wallet-DgdBD8_G-D76iCYbd.js → add-to-wallet-DgdBD8_G-CM6IrCpv.js} +1 -1
- package/dist/assets/{analytics-R4GG3mhr.js → analytics-B_VWX-BQ.js} +1 -1
- package/dist/assets/analyticsHelper-B8fd42um.js +1 -0
- package/dist/assets/{analyticsHelper-BznLUYs2-PwxmAlPi.js → analyticsHelper-Bh8o1v3y-C4Sojiq_.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-BDgsRTSD.js → arrow-south-east-round-PEovUgvH-CQGzMyhs.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-keRK9wSo.js → auto-transfer-rule-mbafm5D3-Ba30im8q.js} +1 -1
- package/dist/assets/{chartTypes-Bckf_DAs-Bp9EYUYX.js → chartTypes-C14YY2Rq-DHigu710.js} +1 -1
- package/dist/assets/{commonDimensions-Bno19oYe-Ckn-nRQz.js → commonDimensions-CVpc-NCw-D6CVEqC_.js} +1 -1
- package/dist/assets/{commonTypes-CATFe6V_-DoBP4FJ5.js → commonTypes-Ec-PxfpT-Dj2109B_.js} +1 -1
- package/dist/assets/{constants-CEF2OtLN.js → constants-DgwGHN1r.js} +1 -1
- package/dist/assets/{core-DpPwA1EY.js → core-Cjh03OPu.js} +1 -1
- package/dist/assets/{dash.all.min-DdEpb4Db.js → dash.all.min-CCSNDyIp.js} +1 -1
- package/dist/assets/downloadPdf-BuPJ6cfr-Dyz4TLVR.js +1 -0
- package/dist/assets/{empty-nUYKFD2C.js → empty-DlGh28fD.js} +1 -1
- package/dist/assets/{empty-r8v2CG_J.js → empty-iTJcp-B8.js} +1 -1
- package/dist/assets/{epic-BSSFYfU0.js → epic-hN0N_N79.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-v4xTyl5z.js → gift-box-Cmt9OgIZ-TbiyaSAn.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-CDoGR872.js → graphic-no-data-l-DU4J8fDt-CxIH_dl6.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-BB-JG1AW.js → graphic-no-data-net-burn-l-CzmycA0m-CUkTpFd-.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-B0fu0zwh.js → handshake-BPg58FML-Dbtylvfc.js} +1 -1
- package/dist/assets/{helper-BCh4SWyd-CwI6N1FK.js → helper-AgH8nJln-Bk3G7LVh.js} +4 -4
- package/dist/assets/{index-CMalJxiA.js → index-B5cuJQnR.js} +1 -1
- package/dist/assets/{index-VSH6R5vg.js → index-Bk7UJBjY.js} +1 -1
- package/dist/assets/{index-BTvJvxFI.js → index-C4Fispms.js} +1 -1
- package/dist/assets/{index-C6nwvBZg.js → index-ChCGry2d.js} +1 -1
- package/dist/assets/{index-BlPcRVKX.js → index-DAwCqq2t.js} +1 -1
- package/dist/assets/{index-SEvYEB33.js → index-DFowIMIZ.js} +1 -1
- package/dist/assets/{index-uV9C0lq0.js → index-aCBnCBoN.js} +3602 -3593
- package/dist/assets/{lexical-WuSd_Y3l.js → lexical-9REae7LV.js} +1 -1
- package/dist/assets/{liveblocks-PPyiYwu4.js → liveblocks-CEY7tsth.js} +1 -1
- package/dist/assets/{lottie-CwowL814.js → lottie-BmLFYENY.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DTyQHWMc-CfKVg64X.js +1 -0
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-D7pjBGp6-Bef-KTrw.js +1 -0
- package/dist/assets/mapSpacerToTreeNode-Cd4FCXAf-BQ_XhzIu.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-Drhl_lnP-CrhrR0QG.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-UsawmMLa-_s__LV61.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B-aNuSSK-BvCkLSPj.js +1 -0
- package/dist/assets/{mui-CgOsYmSB.js → mui-BosmckWV.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-npur6fd8.js → page-detail-CWX5S47F-C2A7RuXG.js} +1 -1
- package/dist/assets/{panelSelectedMixin-Cddsb26L-BDFz9brn.js → panelSelectedMixin-Cddsb26L-CWVsp72I.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-CaCRbViv.js → radio-default-CiSgisfh-Dhw9u_Vt.js} +1 -1
- package/dist/assets/{react-D6M30H8E.js → react-CLFAbS9n.js} +2 -2
- package/dist/assets/{react-DzADjYrb.js → react-D8DqvAAs.js} +1 -1
- package/dist/assets/{react-1JgjrFGc.js → react-DAXSMqh2.js} +1 -1
- package/dist/assets/{react-B5r5WB2A.js → react-DSh5n3Dg.js} +1 -1
- package/dist/assets/{react-D2UrnCU4.js → react-DT8qkoNX.js} +1 -1
- package/dist/assets/{react-5VwsKWlP.js → react-DTZ405nF.js} +1 -1
- package/dist/assets/{react-Bpsw4H-g.js → react-DxfKP-TY.js} +1 -1
- package/dist/assets/{react-C_FwXK63.js → react-ddvEC0y3.js} +1 -1
- package/dist/assets/{recharts-B5a8DAKj.js → recharts-CimMNwCJ.js} +1 -1
- package/dist/assets/{sentry-rcvLxAzW.js → sentry-DzaNjvx0.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-DrUeUva_.js → shield-DOlUxcFf-Cva3YFBn.js} +1 -1
- package/dist/assets/toCOABalancesWithID-wh35N3no-ClXxioRe.js +1 -0
- package/dist/assets/toChartData-G5y-N82I-BBptd2Gk.js +1 -0
- package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-BkGK3BZ_.js → upload-reimbursement-receipt-O2N8vcO7-CMjD_kCZ.js} +1 -1
- package/dist/assets/{uploadAttachment-BLbU_iLy-Cn6htN7U.js → uploadAttachment-RbkIBMGO-TVHnian4.js} +17 -17
- package/dist/assets/{uploadReceipts-CIgkuVpu-Bgo2p-8x.js → uploadReceipts-CIgkuVpu-Dil-Qv4Z.js} +1 -1
- package/dist/assets/{url-C66ml4tg.js → url-KRGewpHH.js} +1 -1
- package/dist/assets/{url-Ce1cqXlU.js → url-ymOv7sCf.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-DY03cKku.js → useLongPress-GCK2COYQ-BgaoTE4k.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-BM7i27Wh.js → usp-line-BBd1wKwW-Bnk1sVWO.js} +1 -1
- package/dist/assets/{utils-GKlM-QyI.js → utils-THjX-QSp.js} +1 -1
- package/dist/assets/{zeni-epic-state-D5MWzrZ6.js → zeni-epic-state-BNpJ2txa.js} +7 -7
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/AccountInfoPage-XrG_Cs9Q-BjKmCZKu.js +0 -18
- package/dist/assets/AddAddressForCardDrawer-BjL_E7Jt-BqV5wj25.js +0 -6
- package/dist/assets/ApAgingDetailPage-BdNgdMZi-DJq3tAqz.js +0 -46
- package/dist/assets/AppDrawerContent-DpoXoHZU-DR5CGNls.js +0 -92
- package/dist/assets/ArAgingDetailPage-Cl5P98Kf-BFShKipH.js +0 -46
- package/dist/assets/BalancesInsightWithToolTip-B0YZt5m3-DjqAngZd.js +0 -38
- package/dist/assets/ChargeCardStatementsPage-B-XeiOnb-DLIBzbq-.js +0 -60
- package/dist/assets/ConfettiBurst-BCkkcLA1-CXjExpzp.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-C_wG7Q8O-BR0kgKEZ.js +0 -1
- package/dist/assets/DomesticWireDetailsPage-QhDoZX5h-BgrN8fs3.js +0 -21
- package/dist/assets/EditPeoplePage-DD6wg7xI-_tzQnjsD.js +0 -55
- package/dist/assets/EntityDetailPage-levtFHaa-DA4k2cnL.js +0 -18
- package/dist/assets/InsightsSection-Cwd2cIP2-BnHpqv9D.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-H6gzEDg6-fjU1XMHZ.js +0 -65
- package/dist/assets/InviteFormPage-D56FOZEG-CMUlIs-X.js +0 -312
- package/dist/assets/InvitePeoplePage-D-XyBXhF-D4mjC05U.js +0 -12
- package/dist/assets/InvoiceUploadSection-DaJWTI5B-B6XbuKee.js +0 -140
- package/dist/assets/LabeledAddressValueField-B5eyO5LD-1yB-ANDh.js +0 -45
- package/dist/assets/LabeledDocumentField-H4V0rHKt-CfD-D1mp.js +0 -41
- package/dist/assets/LockCardPage-DIZ-1K3B-DoKRqXz4.js +0 -623
- package/dist/assets/MagicLinkACHDetailsPage-DdWD8eZA-BQF6ZaYY.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-fC1L-fjF-D0AcUoNI.js +0 -31
- package/dist/assets/MailingDetailsSection-_5DUMAiO-CN0GY3U_.js +0 -21
- package/dist/assets/NoDataTable-BtEKMdpl-5T10t8Bw.js +0 -8
- package/dist/assets/PandLWithForecastPage-GXzJgAFS-BaOt9ro5.js +0 -107
- package/dist/assets/ReportsPage-CqCp4w8y-DJ_z1O-2.js +0 -237
- package/dist/assets/RoleWithToolTip-Cu0ixEhp-CbBWt2cn.js +0 -22
- package/dist/assets/ScheduleDetailsFixedAssetsPage-9XyukA76-CCXXH9fn.js +0 -37
- package/dist/assets/ScheduleDetailsPage-CkMIJDcP-Pzn7oHhr.js +0 -37
- package/dist/assets/ScheduleSequenceTable-Dgb-vhXK-B0K_kZdi.js +0 -324
- package/dist/assets/SignInScreen-DTqfud4B.js +0 -1
- package/dist/assets/StatementsPage-BO3P2kKJ-Cx3q3Xoo.js +0 -58
- package/dist/assets/TransactionListPage-DqY2twbP-CMg44It6.js +0 -35
- package/dist/assets/TreasuryTaxLetterPage-BT_G7d-D-CkFo0wcb.js +0 -58
- package/dist/assets/Vendor2FAPopup-CH44a6ok-C6c_8fAz.js +0 -1
- package/dist/assets/VendorACHDetailsPage-YgMvjx2w-C_ciXBuk.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-CRsOlxyy-CCULw521.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-D0Fnosfi-7sDGJOsu.js +0 -1
- package/dist/assets/VideoPopup-Dxc93Pwx-4nt_V7AU.js +0 -31
- package/dist/assets/ZeniAccountSetupPage-CxYZzfiZ-r8QQEMaF.js +0 -36
- package/dist/assets/analyticsHelper-C5rhp2_h.js +0 -1
- package/dist/assets/downloadPdf-CkATqzUx-Dc-uQGNf.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DcYetEpP-CsO00r3l.js +0 -1
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-CExgzViB-CdHm7xiF.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-D02PFsN8-CpAel0E8.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CoqcGXTM-BAVPnmdP.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-D0zXBGho-BFFFE8UF.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-_7RU9lwp-BmunaChV.js +0 -1
- package/dist/assets/toCOABalancesWithID-C-wpsGXP-BaAwN-7v.js +0 -1
- package/dist/assets/toChartData-C-X2WzOE-DjbtnWdG.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{e as W,O as S,V as t,bE as G,L as V,ac as b,x as r,an as N,o as i,aQ as z,c0 as P,cy as q,cz as F,cA as O,da as J,u as l,bb as K,N as k,ba as Q,d as j,d9 as X,bv as Y,w as Z}from"./index-aCBnCBoN.js";import{n as o}from"./mui-BosmckWV.js";import{a as ee}from"./sentry-DzaNjvx0.js";import"./liveblocks-CEY7tsth.js";import"./core-Cjh03OPu.js";import"./recharts-CimMNwCJ.js";import"./zeni-epic-state-BNpJ2txa.js";import"./lottie-BmLFYENY.js";import"./analytics-B_VWX-BQ.js";import"./lexical-9REae7LV.js";import"./utils-THjX-QSp.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="ef3af361-a232-48c5-b088-f34dbb153b89",e._sentryDebugIdIdentifier="sentry-dbid-ef3af361-a232-48c5-b088-f34dbb153b89")}catch{}})();const s={sectionWidth:new r(343,580,726),ruleWrapperPadding:new r(l[3],l[4]),wrapperGap:new r(l[4],l[3]),wrapperMarginBottom:new r(l[6],l[8]),lastWrapperMarginBottom:new r(l[5],l[9]),stepperWidthHeight:new r(20,l[5]),stepperItemLeft:new r(-29,-23),stepperItemTop:new r(2,l[0]),stepperItemPaddingLeft:new r(l[0],10),stepperItemMinHeight:new r(22,28),stepperLeft:new r(11,17),stepperTop:new r(2,l[0]),stepperContentTop:new r(-1,-4)},E={stepper:new k("smallRegular","standardRegular"),amount:new k("standardRegular","largeMedium")},te=({showDeleteBtn:e=!1,disableButtons:d=!1,isLastSection:w=!1,approvalRule:c,onEditRuleClick:y,onDeleteRuleClick:g})=>{const[v,h]=ee.useState(!1),n=W(),{range:m}=c.criteria[0],{steps:$,approvalRuleId:x}=c,a=S.getLocalizedStrings().commonSetUp.approval,M=()=>{h(!0)},U={onOkClick:()=>{h(!1),g?.(x)},onCancelClick:()=>{h(!1)}};return t.jsxs(oe,{windowSize:n,isLastSection:w,isUpdatingApprovalRules:d,children:[t.jsxs(ie,{windowSize:n,children:[t.jsxs(ce,{children:[t.jsxs(L,{windowSize:n,children:[a.from," ",z("0,0",m.min)]}),t.jsxs(re,{children:[t.jsx(T,{}),t.jsx(le,{}),t.jsx(T,{})]}),m.max==null?t.jsx(he,{}):t.jsx(L,{windowSize:n,children:z("0,0",{...m.min,amount:m.max.amount})})]}),t.jsxs(ue,{className:"icons",children:[e===!0?d===!0?t.jsx(P,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:t.jsx(D,{children:t.jsx(I,{$isDisabled:!0,"data-testid":b("delete-approval-rule-bill-pay",c.approvalRuleId)})})}):t.jsx(I,{onClick:M,"data-testid":b("delete-approval-rule-bill-pay",c.approvalRuleId)}):null,d===!0?t.jsx(P,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:t.jsx(D,{children:t.jsx(C,{$isDisabled:!0,"data-testid":b("edit-approval-rule-bill-pay",c.approvalRuleId)})})}):t.jsx(C,{onClick:()=>{y(x)},"data-testid":b("edit-approval-rule-bill-pay",c.approvalRuleId)})]})]}),t.jsx(se,{windowSize:n,children:t.jsx(ae,{isSingleStep:$.length===1,windowSize:n,children:$.map((u,H)=>t.jsxs(ne,{isSingleStep:$.length===1,className:"stepperItem",windowSize:n,children:[u.action==="require_approval"?t.jsx(pe,{children:a.requireText}):t.jsx(de,{children:a.notifyText}),u.nonUserActors!=null&&u.nonUserActors.filter(p=>p.subType!=null).map((p,_)=>t.jsxs(A,{children:[t.jsx(R,{children:p.subType!=null?a.nonUsers[p.subType].label:null}),u.operator!="is"?t.jsx(B,{className:"operator",children:u.operator}):null]},`${p.subType}_${_}`)),u.actors.map(p=>t.jsxs(A,{children:[t.jsxs(R,{children:[p.firstName," ",p.lastName]}),u.operator!="is"?t.jsx(B,{className:"operator",children:u.operator}):null]},p.userId))]},H))})}),v?t.jsx(q,{titleComponent:t.jsx(O,{children:a.deleteApprovalRuleTitle}),descriptionComponent:t.jsx(F,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:U}):null]})},oe=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
gap: ${e=>s.wrapperGap.valuePx(e.windowSize)};
|
|
@@ -14,7 +14,7 @@ import{K as W,O as S,V as t,bE as G,L as V,ac as b,x as r,an as N,o as i,aQ as P
|
|
|
14
14
|
border-color: ${e=>e.isUpdatingApprovalRules===!0?e.theme.colors.grey3:e.theme.colors.primary};
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
`,ie=o(
|
|
17
|
+
`,ie=o(K)`
|
|
18
18
|
display: flex;
|
|
19
19
|
position: relative;
|
|
20
20
|
align-items: center;
|
|
@@ -57,7 +57,7 @@ import{K as W,O as S,V as t,bE as G,L as V,ac as b,x as r,an as N,o as i,aQ as P
|
|
|
57
57
|
box-sizing: border-box;
|
|
58
58
|
position: relative;
|
|
59
59
|
`,ae=o.ul`
|
|
60
|
-
${e=>`${
|
|
60
|
+
${e=>`${E.stepper.style(e.windowSize)}`};
|
|
61
61
|
position: relative;
|
|
62
62
|
padding-left: ${i.sp6};
|
|
63
63
|
list-style: none;
|
|
@@ -168,14 +168,14 @@ import{K as W,O as S,V as t,bE as G,L as V,ac as b,x as r,an as N,o as i,aQ as P
|
|
|
168
168
|
color: ${e=>e.theme.colors.hero};
|
|
169
169
|
`,B=o.span`
|
|
170
170
|
color: ${e=>e.theme.colors.hero};
|
|
171
|
-
`,
|
|
171
|
+
`,A=o.div`
|
|
172
172
|
display: inherit;
|
|
173
173
|
gap: inherit;
|
|
174
|
-
`,
|
|
175
|
-
${e=>`${
|
|
174
|
+
`,L=o.span`
|
|
175
|
+
${e=>`${E.amount.style(e.windowSize)}`};
|
|
176
176
|
color: ${e=>e.theme.colors.primary};
|
|
177
177
|
word-break: break-word;
|
|
178
|
-
`,
|
|
178
|
+
`,f={width:new r(343,580,726),titleWidth:new r(343,580,780),addApprovalGap:new r(6,l[2]),subTitlePaddingTop:new r(12,l[3]),subTitlePaddingBottom:new r(28,l[7])},Ce=({approvalView:e,onBackClick:d,onEditRuleClick:w,onDeleteRuleClick:c})=>{const y=W(),{fetchState:g,deleteStatus:v}=e,h=S.getLocalizedStrings().commonSetUp.approval,n=S.getLocalizedStrings().spendManagement.billPay.billPayApproval,m=v.fetchState,$=e.listeningToPusherEvent;return t.jsxs(me,{children:[t.jsx(G,{title:h.approvalPageHeader,style:{zIndex:4},onBackClick:()=>{d()},source:"BillPayApprovalRulesPage"}),t.jsxs(xe,{children:[t.jsx(ge,{windowSize:y,children:n.approvalPageSubTitle}),g==="In-Progress"||g==="Not-Started"||m==="In-Progress"?t.jsx(we,{children:t.jsx(V,{size:"ExtraLarge",start:!0})}):g==="Completed"?t.jsxs(t.Fragment,{children:[e.allApprovalRules.map((x,a)=>t.jsx(te,{showDeleteBtn:a!==0,disableButtons:$===!0&&x.approvalRuleId===e.newApprovalRuleId,approvalRule:x,isLastSection:a===e.allApprovalRules.length-1,onEditRuleClick:w,onDeleteRuleClick:c},x.approvalRuleId)),t.jsxs($e,{windowSize:y,onClick:()=>{w()},"data-testid":b("add-approval-rule-bill-pay"),children:[t.jsx(be,{}),t.jsx(fe,{children:h.addApprovalText})]})]}):null]})]})},me=o.div`
|
|
179
179
|
display: flex;
|
|
180
180
|
min-height: 100%;
|
|
181
181
|
flex-direction: column;
|
|
@@ -201,9 +201,9 @@ import{K as W,O as S,V as t,bE as G,L as V,ac as b,x as r,an as N,o as i,aQ as P
|
|
|
201
201
|
color: ${e=>e.theme.colors.hero};
|
|
202
202
|
display: flex;
|
|
203
203
|
justify-content: center;
|
|
204
|
-
width: ${e=>
|
|
205
|
-
padding-top: ${e=>
|
|
206
|
-
padding-bottom: ${e=>
|
|
204
|
+
width: ${e=>f.titleWidth.valuePx(e.windowSize)};
|
|
205
|
+
padding-top: ${e=>f.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
206
|
+
padding-bottom: ${e=>f.subTitlePaddingBottom.valuePx(e.windowSize)};
|
|
207
207
|
`,$e=o(N)`
|
|
208
208
|
cursor: pointer;
|
|
209
209
|
display: flex;
|
|
@@ -211,9 +211,9 @@ import{K as W,O as S,V as t,bE as G,L as V,ac as b,x as r,an as N,o as i,aQ as P
|
|
|
211
211
|
justify-content: center;
|
|
212
212
|
align-items: center;
|
|
213
213
|
padding: ${i.sp3} ${i.sp4};
|
|
214
|
-
gap: ${e=>
|
|
214
|
+
gap: ${e=>f.addApprovalGap.valuePx(e.windowSize)};
|
|
215
215
|
|
|
216
|
-
width: ${e=>
|
|
216
|
+
width: ${e=>f.width.valuePx(e.windowSize)};
|
|
217
217
|
height: ${i.sp8};
|
|
218
218
|
|
|
219
219
|
background: ${e=>e.theme.colors.grey5};
|
|
@@ -233,9 +233,9 @@ import{K as W,O as S,V as t,bE as G,L as V,ac as b,x as r,an as N,o as i,aQ as P
|
|
|
233
233
|
border-color: ${e=>e.theme.colors.primary};
|
|
234
234
|
}
|
|
235
235
|
margin-bottom: ${i.sp6};
|
|
236
|
-
`,be=o(
|
|
236
|
+
`,be=o(J)`
|
|
237
237
|
width: ${i.sp3};
|
|
238
238
|
height: ${i.sp3};
|
|
239
|
-
`,
|
|
239
|
+
`,fe=o.div`
|
|
240
240
|
color: ${e=>e.theme.colors.hero};
|
|
241
241
|
`;export{Ce as default};
|
package/dist/assets/{BillPayPromoPage-B5AGf-Xt-024pxlZZ.js → BillPayPromoPage-Bx2AXpWe-Du89a98b.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{ay as F,
|
|
1
|
+
import{ay as F,e as f,aS as Y,V as e,fH as ee,bE as ie,a as C,ac as B,ag as x,O as I,o as s,as as se,c as le,g as M,aV as U,ao as oe,x as te,d as $,cN as re,aW as ae,bc as ne,u as de}from"./index-aCBnCBoN.js";import{a as g}from"./sentry-DzaNjvx0.js";import{n as l}from"./mui-BosmckWV.js";import{Gs as ce,bP as pe,Gt as xe}from"./zeni-epic-state-BNpJ2txa.js";import{C as me}from"./VideoPopup-R3u0N_if-DgVn2CAl.js";import{M as b}from"./usp-line-BBd1wKwW-Bnk1sVWO.js";import"./liveblocks-CEY7tsth.js";import"./core-Cjh03OPu.js";import"./recharts-CimMNwCJ.js";import"./lottie-BmLFYENY.js";import"./analytics-B_VWX-BQ.js";import"./lexical-9REae7LV.js";import"./utils-THjX-QSp.js";import"./VideoPlayer-ZGjx_Hp7-Nomi0VD9.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new i.Error().stack;o&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[o]="e86ce96a-815e-4f90-9ce9-6ef54ba0525a",i._sentryDebugIdIdentifier="sentry-dbid-e86ce96a-815e-4f90-9ce9-6ef54ba0525a")}catch{}})();const D="https://storage.googleapis.com/zeni-apis.appspot.com/images/Billpay-Light.png",A="https://storage.googleapis.com/zeni-apis.appspot.com/images/Billpay-Dark.png",he={midContainerMarginBottom:new te(de[5],44)},ge=l.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
min-height: 100%;
|
|
@@ -27,7 +27,7 @@ import{ay as F,K as f,aS as Y,V as e,fz as ee,bE as ie,a as C,ac as B,ag as x,O
|
|
|
27
27
|
width: ${i=>i.windowSize==="small"?"auto":"376px"};
|
|
28
28
|
display: flex;
|
|
29
29
|
flex-direction: column;
|
|
30
|
-
`,
|
|
30
|
+
`,E=l.div`
|
|
31
31
|
width: ${i=>i.windowSize==="small"?"100%":"calc(100% - 376px)"};
|
|
32
32
|
overflow: hidden;
|
|
33
33
|
max-width: 712px;
|
|
@@ -35,7 +35,7 @@ import{ay as F,K as f,aS as Y,V as e,fz as ee,bE as ie,a as C,ac as B,ag as x,O
|
|
|
35
35
|
align-content: center;
|
|
36
36
|
justify-content: center;
|
|
37
37
|
align-items: center;
|
|
38
|
-
`,
|
|
38
|
+
`,O=l.div`
|
|
39
39
|
margin-left: ${i=>i.windowSize==="small"?s.sp0:s.sp6};
|
|
40
40
|
margin-bottom: ${i=>i.windowSize==="small"?s.sp4:s.sp0};
|
|
41
41
|
background: ${i=>i.theme.colors.grey3};
|
|
@@ -63,7 +63,7 @@ import{ay as F,K as f,aS as Y,V as e,fz as ee,bE as ie,a as C,ac as B,ag as x,O
|
|
|
63
63
|
color: ${i=>i.theme.colors.champion};
|
|
64
64
|
`,d=l.div``,c=l.div`
|
|
65
65
|
padding-left: ${s.sp3};
|
|
66
|
-
`,
|
|
66
|
+
`,_=l(b)`
|
|
67
67
|
color: ${$.graphColor16Dark};
|
|
68
68
|
`,R=l(b)`
|
|
69
69
|
color: ${$.graphColor09Dark};
|
|
@@ -81,4 +81,4 @@ import{ay as F,K as f,aS as Y,V as e,fz as ee,bE as ie,a as C,ac as B,ag as x,O
|
|
|
81
81
|
`,be=l(U)`
|
|
82
82
|
margin: ${i=>i.windowSize==="small"?s.sp1:`auto ${s.sp5}`};
|
|
83
83
|
color: ${i=>i.theme.colors.grey1};
|
|
84
|
-
`,t=I.getLocalizedStrings().spendManagement.billPay.billPayPromo,r=I.getLocalizedStrings().commonSetUp.businessVerification.terms,
|
|
84
|
+
`,t=I.getLocalizedStrings().spendManagement.billPay.billPayPromo,r=I.getLocalizedStrings().commonSetUp.businessVerification.terms,Oe=({billPaySetupView:i,analytics:o,meetingUrl:S,videoUrl:H,onButtonClick:Z,onBackClick:N,onSetupBillPaySuccess:z,onClickMenuIcon:q})=>{const h=F(),a=f(),{billPayTermsDetails:p}=i,[J,K]=g.useState(!1),[Q,v]=g.useState(!1),k=Y(p?.fetchStatus.fetchState);g.useEffect(()=>{k==="In-Progress"&&p?.fetchStatus.fetchState==="Completed"&&z?.()},[k,z,p?.fetchStatus]);const W=()=>{o?.trackBillPayPromoScheduleDemo(),v(!0)},X=ce(h.loggedInUserRoleMap),P=pe(h.loggedInUserRoleMap)&&!X,T=P?t.setupNonAccessableUsersPromoText:t.promoText;return e.jsxs(ge,{children:[J===!0?e.jsx(me,{onCancelClick:()=>{K(!1)},videoUrl:H}):null,Q===!0?e.jsx(ee,{onCancelClick:()=>{v(!1)},meetingUrl:S}):null,e.jsx(ie,{title:t.title,onBackClick:N,showBackButton:!xe(h.loggedInUserRoleMap),showMenuIcon:a==="small"||a==="medium-compact",onClickMenuIcon:q,source:"BillPayPromoPage"}),e.jsxs(ue,{windowSize:a,children:[a==="small"?e.jsx(ye,{children:T}):e.jsx(we,{children:T}),a==="small"?e.jsx(Se,{}):e.jsx(ze,{}),P===!1?e.jsxs(je,{children:[e.jsxs($e,{windowSize:a,children:[e.jsx(C,{variant:"secondary",label:t.scheduleDemoButton,onClick:W,"data-testid":B("billpay-schedule-demo-button")}),e.jsx(be,{windowSize:a,children:t.orText}),e.jsx(C,{variant:"primary",label:t.setupBillPayButton,loading:p?.fetchStatus.fetchState==="In-Progress",onClick:Z,"data-testid":B("billpay-setup-button")})]}),e.jsxs(fe,{children:[t.terms.terms1,e.jsx(x,{href:r.consentUrl,linkText:r.consent}),r.term2,e.jsx(x,{href:r.depositUrl,linkText:r.depositTerms}),r.term3,e.jsx(x,{href:r.privacyPolicyUrl,onZeniLinkClick:()=>(o?.trackBillPayPrivacyPolicy(),!0),linkText:r.privacy}),r.term4,e.jsx(x,{href:r.tosUrl,onZeniLinkClick:()=>(o?.trackBillPayAgreement(),!0),linkText:r.tos}),r.term5,t.terms.terms3]})]}):null]})]})},Se=()=>{const i=M(),o=f();return e.jsxs(L,{windowSize:o,children:[e.jsx(E,{windowSize:o,children:e.jsx(O,{windowSize:o,children:i.mode==="dark"?e.jsx(m,{src:A,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"}):e.jsx(m,{src:D,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"})})}),e.jsxs(V,{windowSize:o,children:[e.jsxs(n,{windowSize:o,children:[e.jsx(d,{children:e.jsx(G,{})}),e.jsxs(c,{children:[e.jsx(j,{children:t.fullyManagedText.bold}),e.jsx(y,{children:t.fullyManagedText.regular})]})]}),e.jsxs(n,{windowSize:o,children:[e.jsx(d,{children:e.jsx(R,{})}),e.jsxs(c,{children:[e.jsx(j,{children:t.multiLevelApprovalText.bold}),e.jsx(y,{children:t.multiLevelApprovalText.regular})]})]}),e.jsxs(n,{windowSize:o,children:[e.jsx(d,{children:e.jsx(_,{})}),e.jsxs(c,{children:[e.jsx(j,{children:t.aiPoweredText.bold}),e.jsx(y,{children:t.aiPoweredText.regular})]})]})]})]})},ze=()=>{const i=M(),o=f();return e.jsxs(L,{windowSize:o,children:[e.jsxs(V,{windowSize:o,children:[e.jsxs(n,{windowSize:o,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(G,{})}),e.jsxs(c,{children:[e.jsx(w,{children:t.fullyManagedText.bold}),e.jsx(u,{children:t.fullyManagedText.regular})]})]}),e.jsxs(n,{windowSize:o,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(R,{})}),e.jsxs(c,{children:[e.jsx(w,{children:t.multiLevelApprovalText.bold}),e.jsx(u,{children:t.multiLevelApprovalText.regular})]})]}),e.jsxs(n,{windowSize:o,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(_,{})}),e.jsxs(c,{children:[e.jsx(w,{children:t.aiPoweredText.bold}),e.jsx(u,{children:t.aiPoweredText.regular})]})]})]}),e.jsx(E,{windowSize:o,children:e.jsx(O,{windowSize:o,children:i.mode==="dark"?e.jsx(m,{src:A,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"}):e.jsx(m,{src:D,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"})})})]})};export{Oe as default};
|
package/dist/assets/{BillPaySetUpPage-bNDxI3Kh-6_VU18cC.js → BillPaySetUpPage-CM7_DkHC-CclJKf3M.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{g as De,e as Oe,aS as F,aa as $e,cQ as Ue,O as Re,aX as K,V as t,fr as Le,d as He,ac as ze,x as u,bE as Ne,L as qe,ae as Me,fI as L,e1 as Ge,fJ as Je,by as Qe,dS as Ze,c0 as Ke,fK as Xe,aT as Ye,o as z,fL as et,u as a,an as tt,bM as it}from"./index-aCBnCBoN.js";import{a as m}from"./sentry-DzaNjvx0.js";import{n as b}from"./mui-BosmckWV.js";import{bJ as nt}from"./zeni-epic-state-BNpJ2txa.js";import{g as ot}from"./UploadAdditionalDocumentOverlay-eqwSLigx-Ci9eqDqb.js";import"./liveblocks-CEY7tsth.js";import"./core-Cjh03OPu.js";import"./recharts-CimMNwCJ.js";import"./lottie-BmLFYENY.js";import"./analytics-B_VWX-BQ.js";import"./lexical-9REae7LV.js";import"./utils-THjX-QSp.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new e.Error().stack;p&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[p]="6fc1a60e-075b-4deb-a9ff-7901f38e5651",e._sentryDebugIdIdentifier="sentry-dbid-6fc1a60e-075b-4deb-a9ff-7901f38e5651")}catch{}})();const n={titleWidth:new u(343,580,726,826),setupDetailsRowGap:new u(12,a[5],a[5]),sectionRowGap:new u(a[5],a[9],a[9]),lastSectionPaddingBottom:new u(a[7],a[10],a[10]),iconWidthHeight:new u(20,a[4]),subTitlePaddingTop:new u(12,a[3]),subTitlePaddingBottom:new u(a[3],a[3]),overlayWidth:new u(100,100,59)},X="billPaySetUpPage",W="billPayAccount",Ct=({billPaySetupView:e,isDisabled:p,billpayApprovalView:v,meetingUrl:C,showIntlWiseWidget:s,connectedAccountProvider:ee,isAccountsEnabled:te,isLocalCurrencyEnabled:ie,analytics:y,filesEndPoint:ne,authParams:oe,accountsPromoConfig:ae,onBackClick:le,onBusinessVerificationSectionClick:ce,onSetupApprovalRulesSectionClick:se,onFetchLinkTokenClick:de,onEstablishConnectionClick:re,onEstablishConnectionSuccess:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAccountClick:fe,onUpdatePaymentAccountStatus:he,onUpdatePaymentAccountLoginStatus:ge,onEnableBillPayClick:me,onEnableBillPaySuccess:N,onClickMenuIcon:be,onInternationPaymentSetUpClick:ye,onEditFileName:Se,onDeleteFile:Pe,updateFilesEntity:we,onCompanyOfficerUpdated:xe,onSendForVerificationClick:ve,onSignUpClick:Ce})=>{const k=De(),i=Oe(),[A,S]=m.useState(!1),q=m.useRef(null),{fetchState:f,updateStatus:P,accountUpdateStatus:ke,plaidConnectionDetails:_,allBankAccounts:Ae,companyBillPayInfo:T,isRefreshingViewInBackground:Te,selectedCompanyOfficer:c,primaryFundingAccount:d,allFundingAccounts:M}=e,h=T?.internationalWireOnboardingStatus,I=h==null||h.code==="onboarding_status_not_started",{fetchState:G,allApprovalRules:V,approvalRulesStatus:Ie}=v,D=_.link_account.updateStatus,O=_.update_account.updateStatus,j=F(f),J=F(P.fetchState),Q=F(D.fetchState),Z=F(O.fetchState),w=$e({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>H(e),[e]),values:H(e)});m.useEffect(()=>{!A&&c?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&c.areAdditionalDocumentsRequestedForVerification&&!c.areAdditionalDocumentsSubmittedForVerification&&c.userVerificationStatus?.code==="require_info"&&S(!0),A&&j==="In-Progress"&&f==="Completed"&&S(!1)},[c,f,j]),m.useEffect(()=>{(j==="In-Progress"&&f==="Completed"||Q==="In-Progress"&&D.fetchState==="Completed"||Z==="In-Progress"&&O.fetchState==="Completed")&&w.reset(H(e))},[j,f,w,e,Q,D.fetchState,Z,O.fetchState]);const Ve=w.handleSubmit(x=>{y.trackEnableBillPay(),me()}),je=async(x,E)=>{const o=E[W];if(x.includes(W)){if(x.includes("fundingAccount")){if(o.fundingAccount.selectedOption!=null&&d?.id!=o.fundingAccount.selectedOption){const g=M.find(R=>R.id===o.fundingAccount.selectedOption);g!=null&&pe(o.fundingAccount.selectedOption,g.accType)}}else if(o.account.selectedOption!=null&&d?.id!=null&&d?.zeniAccountId!=o.account.selectedOption){const g=o.account.allOptions.find(R=>R.value===o.account.selectedOption);g!=null&&typeof g.label=="string"&&y.trackConnectBankLink(g.value,g.label,"bill_pay"),fe(o.account.selectedOption,d.id,d.accType)}}};m.useEffect(()=>{const x=w.watch((E,{name:o})=>{o!=null&&E!=null&&Ue(()=>je(o,E))});return()=>{x.unsubscribe()}}),m.useEffect(()=>{J==="In-Progress"&&P.fetchState==="Completed"&&N()},[N,J,P.fetchState]);const{commonSetUp:Be,spendManagement:Ee}=Re.getLocalizedStrings(),{setUp:r}=Be,{billPaySetup:l}=Ee.billPay,$=T?.isBusinessVerified===!0&&(d?.accType==="depositAccount"||nt(d?.providerVerificationStatus?.code??"")),U=T?.isBillPayEnabled===!0,Fe=$?r.setupVerifiedSubTitle:l.setupSubTitle,We=f==="In-Progress"||f==="Not-Started"||G==="In-Progress"||G==="Not-Started",B=k.mode==="light"?new K(k.colors.brandColorJadeLight):new K(k.colors.brandColorJadeDark),_e=()=>{!A&&c?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&c.areAdditionalDocumentsRequestedForVerification&&!c.areAdditionalDocumentsSubmittedForVerification&&c.userVerificationStatus?.code==="require_info"?S(!0):ce?.()};return t.jsxs(lt,{ref:q,children:[t.jsx(Le,{anchor:"right",PaperProps:{style:{width:n.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>S(!1),style:{backgroundColor:He.drawerBackground},transitionDuration:250,"data-testid":ze("bill-pay-setup-drawer"),children:t.jsx(ot,{authParams:oe,filesEndPoint:ne,updateStatus:P,onEditFileName:Se,onDeleteFile:Pe,updateFilesEntity:we,companyOfficer:c,onClose:()=>S(!1),onCompanyOfficerUpdated:xe,onSendForVerificationClick:ve})}),t.jsx(Ne,{title:l.setupTitle,style:{zIndex:3},onBackClick:le,showMenuIcon:!U&&(i==="medium-compact"||i==="small"),onClickMenuIcon:be,scrollableContent:q,backgroundColor:k.colors.grey4,source:"BillPaySetUpPage"}),t.jsxs(dt,{windowSize:i,children:[t.jsx(st,{windowSize:i,children:Fe}),We?t.jsx(rt,{children:t.jsx(qe,{size:"ExtraLarge",start:!0})}):t.jsxs(at,{children:[t.jsx(Me,{...w,children:t.jsx("form",{id:Y(X),onSubmit:Ve,children:t.jsxs(ut,{windowSize:i,children:[t.jsx(L,{onClick:_e,title:r.businessVerificationTitle,subTitle:r.businessVerificationSubTitle,header:r.businessVerificationHeader,icon:{element:t.jsx(Ge,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:B},status:T?.businessVerificationStatus,isLoading:Te,isActiveWhileLoading:!0}),t.jsx(Je,{connectedAccountProvider:ee,primaryFundingAccount:d,allFundingAccounts:M,plaidConnectionDetails:_,allBankAccounts:Ae,sectionId:W,isDisabled:p,onFetchLinkTokenClick:de,onEstablishConnectionClick:re,onUpdatePaymentAccountStatus:he,onUpdatePaymentAccountLoginStatus:ge,onEstablishConnectionSuccess:ue,icon:{element:t.jsx(Qe,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:B},analytics:y,productType:"bill_pay",isAccountsEnabled:te,onSignUpClick:Ce,pageName:"Bill Pay Setup",accountsPromoConfig:ae}),t.jsx(L,{title:V.length>0?r.approvalTitle:r.createApprovalTitle,subTitle:l.approvalSubTitle,header:V.length>0?r.approvalHeader:r.setupApprovalHeader,icon:{element:t.jsx(Ze,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:B},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},onClick:se,status:V.length>0?Ie:void 0})]})})}),s===!0?t.jsx(L,{title:I?l.enableInternationalWireTitle:l.internationWireTitle,subTitle:l.internationalWireSubTitle2,header:l.internationalWireHeader,icon:{element:t.jsx(Xe,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:B},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},isClickable:!0,onClick:()=>{I&&y.trackEnableIntlWire(ie),ye?.()},status:I?void 0:{name:h.name,code:h.code},statusInfoIcon:h?.code==="verification_pending"||h?.code==="verification_failed"?t.jsx(Ke,{title:h.code==="verification_pending"?l.tooltipTexts.pendingInternationalVerificationText:l.tooltipTexts.internationalVerificationFailed,children:t.jsx(ct,{})}):void 0,shouldHover:!0,showRightArrow:I}):null]})]}),$&&!U&&V.length>0?t.jsx(Ye,{formId:Y(X),primaryBtn:{label:l.enableBillPay,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:P.fetchState==="In-Progress"||ke.fetchState==="In-Progress",isDisabled:p!=null},showCancel:!1,helperText:l.terms,cancelBtn:{label:""},style:{padding:`12px ${z.sp3}`}}):null,t.jsx(et,{isFooterRendered:$&&!U,meetingUrl:C,analytics:y,productType:"bill_pay"})]})},at=b.div``,lt=b.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-height: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -7,8 +7,8 @@ import{f as De,K as Oe,aS as F,aa as Ue,cJ as $e,O as Re,aX as Q,V as t,fh as ze
|
|
|
7
7
|
height: 100vh;
|
|
8
8
|
overflow-y: auto;
|
|
9
9
|
`,ct=b(it)`
|
|
10
|
-
width: ${
|
|
11
|
-
height: ${
|
|
10
|
+
width: ${z.sp3};
|
|
11
|
+
height: ${z.sp3};
|
|
12
12
|
color: ${e=>e.theme.colors.hero};
|
|
13
13
|
&:hover {
|
|
14
14
|
color: ${e=>e.theme.colors.primary};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{g as we,e as be,aa as Ce,cQ as Pe,aX as k,O as xe,V as t,x as P,bE as Ie,L as Ae,ae as ve,by as je,cR as ke,aT as $e,o as s,i1 as Te,fd as De,fe as Ve,u as x,an as Ee,h6 as Be,d as Le,N as ze}from"./index-aCBnCBoN.js";import{a as F}from"./sentry-DzaNjvx0.js";import{n as r}from"./mui-BosmckWV.js";import{F as Oe,o as R,t as _e}from"./PaymentAccountSetupBillingAddressSection-q5z8XZFC-BXoCztnc.js";import{F as Me}from"./SetUpAccountSection-_WPR-q2V-DrJlA8IQ.js";import"./liveblocks-CEY7tsth.js";import"./core-Cjh03OPu.js";import"./recharts-CimMNwCJ.js";import"./zeni-epic-state-BNpJ2txa.js";import"./lottie-BmLFYENY.js";import"./analytics-B_VWX-BQ.js";import"./lexical-9REae7LV.js";import"./utils-THjX-QSp.js";import"./commonTypes-Ec-PxfpT-Dj2109B_.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="def5b75c-6d38-4892-8f48-baf0fe39121f",e._sentryDebugIdIdentifier="sentry-dbid-def5b75c-6d38-4892-8f48-baf0fe39121f")}catch{}})();const p={titleWidth:new P(343,580,726,826),setupDetailsRowGap:new P(12,x[5],x[5]),iconWidthHeight:new P(20,x[4]),subTitlePaddingTop:new P(12,x[3])},Fe={title:new ze("standardSemiBold","largeSemiBold")},H="billingSetupPage",I="payAccountSectionId",n="subscriptionBillingAddressSectionId",ct=({analytics:e,billingSetupView:i,connectedAccountProvider:m,isDisabled:d,onClickMenuIcon:A,uiState:U,stripeKey:K,googleAPIKey:q,companyId:G,onUpdateAccountClick:J,onFetchLinkTokenClick:Q,onUpdatePaymentAccountStatus:Z,onUpdatePaymentAccountLoginStatus:X,onEstablishConnectionClick:Y,onEstablishConnectionSuccess:ee,handleCreateCardSetupIntent:te,handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:$,handleAddCardPaymentSource:ie,resetCardPaymentViewState:oe,handleResetCardPaymentErrorStatuses:ae,onBillingAddressSave:se,onAddressEditHandler:re})=>{const b=we(),o=be(),{setupView:{paymentAccount:y,plaidConnectionDetails:de,allBankAccounts:le,accountFetchStatus:T},cardPaymentView:h}=i,ce=i.subscriptionBillingAddress,D=y?.providerVerificationStatus,ue=T.fetchState==="In-Progress"||T.fetchState==="Not-Started",f=Ce({mode:"onSubmit",reValidateMode:"onChange",defaultValues:W(i),values:W(i),resetOptions:{keepDirtyValues:!0}}),pe=f.handleSubmit(c=>{se(G)}),V=i.subscriptionBillingAddressSaveStatus,me=async(c,a)=>{const g=a[I];if(c.includes(n)&&a[n]!=null){const v=f.getValues(`${n}`).country;let u=a[n];if(c.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:w}=a[n].street,j=De(w?.country);u={street:a[n].street??l.strings.empty,city:w?.locality??l.strings.empty,state:w?.administrativeAreaLevel1??l.strings.empty,country:j,countryCode:w?.countryCode??l.strings.empty,postalCode:w?.postalCode??l.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},v.selectedOption!==j.selectedOption&&(u={...u,country:j})}else c===`${n}.country`&&v.selectedOption!=null&&(u={...u,countryCode:Ve(v.selectedOption)});u!=null&&re(u)}else c.includes(I)&&g.account.selectedOption!=null&&y?.paymentAccountId!=null&&y.zeniAccountId!==g.account.selectedOption&&J(g.account.selectedOption,y.paymentAccountId)};F.useEffect(()=>{const c=f.watch((a,{name:g})=>{g!=null&&a!=null&&Pe(()=>me(g,a))});return()=>{c.unsubscribe()}});const E=b.mode==="light"?new k(b.colors.brandColorJadeLight):new k(b.colors.brandColorJadeDark),{customerOnboardingPage:{sections:{link_payment_account:he,card_payment_method:S}},common:l,billingSetupPage:B}=xe.getLocalizedStrings(),ge=B.section.subTitle,{text:ye,subText:fe}=he,L=h.cardsList.length>0,z=h?.cardsList[0]?.brand??"other",O=h?.addCardPaymentSourceStatus.fetchState,C=Oe(S.header,S.titleText,S.protectedCardNo,h);let _;L&&(_={header:C.header,title:C.title,subtitle:C.subtitle,status:C.status==="valid"?{name:"Verified",code:"verified"}:{name:"Pending",code:"pending"},showAddPaymentMethodDropDown:L===!0,icon:{element:t.jsx("img",{src:R(z).iconURL,width:p.iconWidthHeight.valuePx(o),height:p.iconWidthHeight.valuePx(o),alt:R(z).name}),color:new k(E)},showCompletedIcon:!1,isError:O==="Error",isLoading:O==="In-Progress",isCompleted:!0,showRightArrow:!1});const[M,Se]=F.useState(!1);return t.jsxs(He,{children:[t.jsx(Ie,{source:"BillingSettingsPage",title:B.section.title,backgroundColor:b.colors.grey4,style:{zIndex:3},showBackButton:!1,showMenuIcon:o==="medium-compact"||o==="small",onClickMenuIcon:A}),t.jsxs(Re,{windowSize:o,children:[t.jsx(We,{windowSize:o,children:ge}),ue?t.jsx(Ne,{children:t.jsx(Ae,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...f,children:t.jsx(Je,{children:t.jsx("form",{id:N(H),onSubmit:pe,children:t.jsxs(Ue,{windowSize:o,children:[t.jsx(Me,{connectedAccountProvider:m,paymentAccount:y,plaidConnectionDetails:de,allBankAccounts:le,header:S.header,sectionTitle:S.header,defaultSectionTitle:ye,defaultSectionSubTitle:fe,sectionId:I,isDisabled:d,onFetchLinkTokenClick:Q,onEstablishConnectionClick:Y,onUpdatePaymentAccountStatus:Z,onUpdatePaymentAccountLoginStatus:X,onEstablishConnectionSuccess:ee,isError:D?.code==="require_info"||D?.code==="failed",icon:{element:t.jsx(je,{width:p.iconWidthHeight.valuePx(o),height:p.iconWidthHeight.valuePx(o)}),color:E},analytics:e,productType:"billing",updateCardPaymentModalState:$,cardPaymentSectionValues:_,cardPaymentView:h,resetCardPaymentViewState:oe,showZeniAccountSection:!1,referrer:"Billing",cardSetupInProgress:M}),Ke(o,l.headers.billingAddress,ce,q,d)]})})})}),ke(f.formState.dirtyFields)?t.jsx($e,{formId:N(H),style:{width:o==="small"?"auto":"100%",paddingTop:s.sp2,paddingBottom:s.sp2,height:s.sp8},primaryBtn:{label:l.footer.save,isLoading:V?.fetchState==="In-Progress",isDisabled:V?.fetchState==="In-Progress",style:{height:s.sp6}},showCancel:!1,containerStyle:{width:"auto",justifyContent:"center"}}):null]}),t.jsx(_e,{handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:$,handleCreateCardSetupIntent:te,handleAddCardPaymentSource:ie,cardPaymentView:h,isCardPaymentOpen:U.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:ae,stripeKey:K,cardSetupInProgress:M,setCardSetupInProgress:Se})]})},W=e=>{const{paymentAccount:i,allBankAccounts:m}=e.setupView;return{[I]:{account:{selectedOption:i?.zeniAccountId,allOptions:m.map(d=>({label:d.accountName,value:d.accountId}))}},[n]:Te(n,e.subscriptionBillingAddress)[n]}},Re=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: space-between;
|
|
4
4
|
height: 100%;
|
|
@@ -6,13 +6,13 @@ import{f as Se,K as we,aa as Ce,cJ as Pe,aX as k,O as xe,V as t,x as P,bE as Ie,
|
|
|
6
6
|
flex-direction: column;
|
|
7
7
|
align-items: center;
|
|
8
8
|
row-gap: ${e=>p.setupDetailsRowGap.valuePx(e.windowSize)};
|
|
9
|
-
`,
|
|
9
|
+
`,He=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
|
-
`,We=r(
|
|
15
|
+
`,We=r(Ee)`
|
|
16
16
|
color: ${e=>e.theme.colors.hero};
|
|
17
17
|
display: flex;
|
|
18
18
|
justify-content: center;
|
|
@@ -20,7 +20,7 @@ import{f as Se,K as we,aa as Ce,cJ as Pe,aX as k,O as xe,V as t,x as P,bE as Ie,
|
|
|
20
20
|
padding-top: ${e=>p.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
21
21
|
padding-bottom: ${s.sp3};
|
|
22
22
|
text-align: ${e=>e.windowSize==="small"?"initial":"center"};
|
|
23
|
-
`,
|
|
23
|
+
`,Ne=r.div`
|
|
24
24
|
display: flex;
|
|
25
25
|
width: 100%;
|
|
26
26
|
height: calc(100vh - 110px);
|
|
@@ -28,17 +28,17 @@ import{f as Se,K as we,aa as Ce,cJ as Pe,aX as k,O as xe,V as t,x as P,bE as Ie,
|
|
|
28
28
|
justify-content: center;
|
|
29
29
|
align-items: center;
|
|
30
30
|
background-color: ${e=>e.theme.colors.grey4};
|
|
31
|
-
`,
|
|
31
|
+
`,Ue=r.div`
|
|
32
32
|
display: flex;
|
|
33
33
|
flex-direction: column;
|
|
34
|
-
`,
|
|
34
|
+
`,Ke=(e,i,m,d,A)=>t.jsxs(qe,{children:[t.jsx(Ge,{windowSize:e,isDisabled:A==="disabled",children:i}),t.jsx(Be,{googleAPIKey:d??"",addressToEdit:m,sectionId:`${n}`,style:{marginLeft:"0px"},elementsStyle:{paddingRight:"0px"}})]}),qe=r.div`
|
|
35
35
|
margin-top: ${s.sp3};
|
|
36
36
|
margin-bottom: ${s.sp4};
|
|
37
|
-
`,
|
|
37
|
+
`,Ge=r.div`
|
|
38
38
|
${e=>`${Fe.title.style(e.windowSize)}`};
|
|
39
39
|
margin-bottom: ${s.sp3};
|
|
40
40
|
margin-top: ${s.sp4};
|
|
41
41
|
color: ${e=>e.isError===!0?Le.important:e.isDisabled===!0?e.theme.colors.grey1:e.theme.colors.primary};
|
|
42
|
-
`,
|
|
42
|
+
`,Je=r.div`
|
|
43
43
|
flex: 1;
|
|
44
|
-
`,
|
|
44
|
+
`,N=e=>`${e}_form`;export{ct as default,N as uniqueName};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{V as b,
|
|
1
|
+
import{V as b,cy as V,cz as z,cA as M,ko as W,a_ as q,O as H}from"./index-aCBnCBoN.js";import{a as g}from"./sentry-DzaNjvx0.js";import{H9 as J}from"./zeni-epic-state-BNpJ2txa.js";import{u as X}from"./ReviewOverlay-Cxkp85Kw-C7d3vwBi.js";import"./liveblocks-CEY7tsth.js";import"./core-Cjh03OPu.js";import"./recharts-CimMNwCJ.js";import"./mui-BosmckWV.js";import"./lottie-BmLFYENY.js";import"./analytics-B_VWX-BQ.js";import"./lexical-9REae7LV.js";import"./utils-THjX-QSp.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="99a50e39-ed75-4b48-a709-3bce6659231d",e._sentryDebugIdIdentifier="sentry-dbid-99a50e39-ed75-4b48-a709-3bce6659231d")}catch{}})();const{common:s,spendManagement:{billPay:x}}=H.getLocalizedStrings(),o=x.bulkActions;let I;const de=({billsReviewView:e,analytics:r,onProceedForBulkActionClick:l,onCloseReviewItem:t,onCloseOverlay:c})=>{const{fetchState:m,bulkSubmissionFetchState:a,bulkOperationTypeSelected:i,currentTab:_,currentSubTab:f}=e,u=i==="review",[C,w]=g.useState(!1),[n,v]=g.useState(T(e,u)),[p,k]=g.useState(u),[P,E]=g.useState(0),[y,j]=g.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});g.useEffect(()=>(u&&(I=setInterval(()=>{v(d=>d.map((S,L)=>(clearInterval(I),L===P?{...S,reviewStatus:{isLoading:!1,code:"valid"}}:S))),E(d=>d+1)},1e3)),P===n.length&&p&&(k(!1),clearInterval(I)),!u&&e.fetchState==="Completed"&&v(T(e,!1)),()=>{clearInterval(I)}),[n.length,P,p,e.fetchState,u,e]);const R=n.length,h=n.filter(d=>d.reviewStatus.code!=="error").length,A=()=>{const{title:d,description:S}=Z(h);j({type:"reject",title:d,description:S,primaryButtonText:s.texts.confirm,secondaryButtonText:s.texts.close}),r.trackBillPayBulkSubmit(i,_,f),w(!0)},D={onOkClick:d=>{w(!1),r.trackBillPayBulkPopupConfirm(i,_,f,Y(e)),l("reject",d)},onCancelClick:()=>{w(!1)}},{title:N,description:F}=G(m,h,R,p),B=e.fetchState==="Completed"&&h===0,$=()=>{r.trackBillPayBulkSubmit(i,_,f),l(i)},U={label:B?s.texts.close:i==="send_for_approval"?s.footer.submit:s.footer.approve,isDisabled:m!=="Completed"||i==="reject"&&a==="In-Progress",isLoading:a==="In-Progress"&&(i==="send_for_approval"||i==="approve"),onClick:B?c:$,style:i==="send_for_approval"?{minWidth:"92px"}:{}},O={label:i==="send_for_approval"?s.texts.goBack:s.footer.reject,isDisabled:i!=="reject"&&a==="In-Progress",isLoading:i==="reject"&&a==="In-Progress",reverseSpinnerColor:!1,onClick:i==="send_for_approval"?c:A,style:i==="approve"?{minWidth:"92px"}:{}};return b.jsxs(b.Fragment,{children:[C?b.jsx(V,{titleComponent:b.jsx(M,{children:y.title}),descriptionComponent:b.jsx(z,{children:y.description}),primaryButtonText:y.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:y.secondaryButtonText,action:D,isNotesIncluded:!0,isEditPopup:!0}):null,b.jsx(X,{title:N,description:{content:F,isError:e.fetchState==="Completed"&&h===0},reviewItems:n,onCloseReviewItem:t,onCloseOverlay:c,showFooter:e.fetchState==="Completed"&&!p,footerProps:{primaryButton:U,cancelButton:O,hideCancel:B}})]})},T=(e,r)=>{const l=e.fetchState==="In-Progress";return e.billsForReview.map(t=>({id:t.transactionId,leftSideText:{title:t.vendorName?t.vendorName:x.billDetails.newBillTitle,subTitle:`${x.billDetails.invoiceNo} ${t.invoiceNumber?t.invoiceNumber:s.strings.hyphen}`},rightSideText:{title:q("0,0.[00]",t.amount?.amount,t.amount?.currencySymbol),showThunderIcon:t.reviewErrors?.length===1&&J(t.reviewErrors[0].reviewErrorCode),subTitle:K(t.reviewStatus==="warning",t.reviewErrors?.map(c=>c.reviewInfoMessage)),additonalInfo:t.reviewErrors!=null&&t.reviewErrors.length>1?o.reviewPage.removeOrProceed:void 0},reviewStatus:{isLoading:r?!0:l,code:t.reviewErrors?.length===1&&t.reviewErrors[0].reviewErrorCode==="ERR_INSUFFICIENT_FUNDS"?"low-balance":t.reviewStatus??""}}))},Y=e=>{const r=e.billsForReview;let l=[];return r.forEach(t=>{l=W([...l,t.isRecurring?"recurring":"one-time"])}),l},Z=e=>{const{this_:r,these:l,bill:t,bills:c,payment:m,payments:a}=s.texts;return e>1?{title:o.popUps.reject.title.replace("<_payment_>",o.payments),description:o.popUps.reject.description.replaceAll("<_this_>",l).replaceAll("<_payment_>",a).replaceAll("<_bill_>",c)}:{title:o.popUps.reject.title.replace("<_payment_>",o.payment),description:o.popUps.reject.description.replaceAll("<_this_>",r).replaceAll("<_payment_>",m).replaceAll("<_bill_>",t)}},G=(e,r,l,t)=>{const{has:c,have:m,bill:a,bills:i,are:_,is:f,do_:u,does:C}=s.texts,w=r>1,n=l>1;let v="",p="";return e==="Completed"&&!t?(v=o.reviewPage.billsReviewed.title.replace("<_bill_>",n?x.bulkActions.bills:o.bill).replace("<_has_>",n?m:c),r===0?p=o.reviewPage.billsReviewed.descriptionError.replace("<_bill_>",n?i:a).replace("<_do_>",n?u:C):p=`${r}/${l} ${o.reviewPage.billsReviewed.description.replace("<_bill_>",l>1?i:a).replace("<_is_>",w?_:f)}`):(v=o.reviewPage.billsReviewing.title.replace("<_bill_>",n?i:a),p=o.reviewPage.billsReviewing.description.replace("<_bill_>",n?i:a)),{title:v,description:p}},K=(e,r)=>{if(r?.length!=null){if(r.length>1)return r.join(` ${s.strings.dividerDot} `);if(r.length===1)return e?r[0]+`${s.strings.colon} ${o.reviewPage.removeOrProceed}`:r[0]}return""};export{de as default,Y as getBillsUniqueType};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{e as l,V as s,ac as b,o as e}from"./index-aCBnCBoN.js";import{n as a}from"./mui-BosmckWV.js";import{o as p}from"./commonDimensions-CVpc-NCw-D6CVEqC_.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new o.Error().stack;r&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[r]="5330b652-11f0-4aad-97c6-961088aacbec",o._sentryDebugIdIdentifier="sentry-dbid-5330b652-11f0-4aad-97c6-961088aacbec")}catch{}})();const m=(o,r)=>r===1?"roundedBox":o===0?"topRoundedBox":o===r-1?"bottomRoundedBox":"box";function g({content:o,boxType:r,isDisabled:d=!1,isNotClickable:t=!1}){const i=l();switch(r??"roundedBox"){case"topRoundedBox":return s.jsx(h,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("top-rounded-box",r),children:o});case"bottomRoundedBox":return s.jsx(u,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("bottom-rounded-box",r),children:o});case"box":return s.jsx(x,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("box",r),children:o});case"roundedBox":return s.jsx(n,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("rounded-box",r),children:o})}}const n=a.div`
|
|
2
2
|
box-sizing: border-box;
|
|
3
3
|
cursor: ${o=>o.isDisabled||o.hideCursor===!0?"default":"pointer"};
|
|
4
4
|
min-height: ${o=>p.transactionItemHeightResponsive.valuePx(o.windowSize)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{f as dt,K as ut,aS as ve,V as a,ag as W,aa as pt,cZ as mt,aA as ft,cJ as yt,a_ as Te,aR as Oe,gg as ht,a as gt,bE as xt,ac as St,cK as wt,ct as Ct,cu as bt,cv as Dt,L as vt,ae as Tt,aT as Ot,o as l,x as V,ao as je,O as Fe,gh as It,fE as Ie,f3 as Nt,c as $t,b as kt,an as Ae,N as Pt,M as Vt,u as N}from"./index-uV9C0lq0.js";import{a as j}from"./sentry-rcvLxAzW.js";import{n as d}from"./mui-CgOsYmSB.js";import{FC as jt,bi as Y,G8 as Ft,G7 as At,G9 as _t}from"./zeni-epic-state-D5MWzrZ6.js";import{r as Lt,z as Bt}from"./CompanyOfficerDetailsSection-m-m1nELP-S26KFwxz.js";import"./liveblocks-PPyiYwu4.js";import"./core-DpPwA1EY.js";import"./recharts-B5a8DAKj.js";import"./lottie-CwowL814.js";import"./analytics-R4GG3mhr.js";import"./lexical-WuSd_Y3l.js";import"./utils-GKlM-QyI.js";import"./helper-BCh4SWyd-CwI6N1FK.js";import"./LabeledAddressValueField-B5eyO5LD-1yB-ANDh.js";import"./LabeledCountryMultiSelectField-B5vytqi_-BXGWCwpL.js";import"./LabeledCreatableSingleSelectField-DN5wCaeU-bysGqgYr.js";import"./LabeledDocumentField-H4V0rHKt-CfD-D1mp.js";import"./commonTypes-CATFe6V_-DoBP4FJ5.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},S=new t.Error().stack;S&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[S]="96aea16b-c36d-4670-9a34-902d4ca0b785",t._sentryDebugIdIdentifier="sentry-dbid-96aea16b-c36d-4670-9a34-902d4ca0b785")}catch{}})();const x={width:new V(343,580,726),titleWidth:new V(343,580,726,826),subTitlePaddingTop:new V(12,N[3]),subTitlePaddingBottom:new V(N[3],N[3]),verificationDetailsRowGap:new V(12,N[5],N[5]),termsPaddingLeftRight:new V(N[0],N[3])},zt={stepTitle:new Pt("h6Regular","h5Regular")},Ne="businessVerificationPage",D="companyDetails",v="companyOfficerDetails",{commonSetUp:{businessVerification:s},common:{settings:Et,currency:$e,footer:ke,strings:{empty:Rt}}}=Fe.getLocalizedStrings(),Ta=({businessVerificationDetails:t,allNationalityCountries:S,verficationDetailsFetchState:$,isRefreshingViewInBackground:L,filesEndPoint:i,authParams:B,productType:y,allIndustries:F,companyTitles:z,maxInsuredAmount:m,isDisabled:k,isSettings:o=!1,isOverlay:h=!1,analytics:g,isStepInProgress:w=!1,isTreasuryTransferInitiated:Z=!1,transferDetails:E,onOverlayClose:te,onAddressClick:ae,onRegisteredAddressClick:Le,onBackClick:A,onGetOtp:Be,onVerifyOtp:ze,onResendOtp:Ee,onSendForVerificationClick:Re,onEditFileName:ie,onCompanyDetailsChanged:Ue,updateFilesEntity:se,onDeleteFile:ne,onDeleteFileList:Me,onCompanyOfficerUpdated:Ge,saveNewAddressInLocalStore:oe,onSaveDetailsClick:We,onClickMenuIcon:Ye,onExecuteTreasuryTransfer:Ze})=>{const qe=dt(),u=ut(),{updateStatus:R,companyView:_,companyDetailsLocalData:r,companyOfficerLocalData:C}=t,Je=ve(R.fetchState),U=_?.company.company.featuresActivationInfo.connectedAccountProvider,Ke=U==="unit"?a.jsxs(Kt,{children:[s.terms.term1,a.jsx(W,{href:s.terms.consentUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.consent}),s.terms.term2,a.jsx(W,{href:s.terms.depositUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.depositTerms}),s.terms.term3,a.jsx(W,{href:s.terms.privacyPolicyUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.privacy}),s.terms.term4,a.jsx(W,{href:s.terms.tosUrl,onZeniLinkClick:()=>(g?.trackBillPayPrivacyPolicy(),!0),linkText:s.terms.tos}),s.terms.term5]}):s.terms.termsForStripe,[Qe,q]=j.useState(!1),[M,re]=j.useState("save"),[J,He]=j.useState(!1),p=pt({mode:"all",reValidateMode:"onChange",defaultValues:Ut(t,F,z,S)}),{isValid:Xe}=p.formState,G=_?.company.company.companyBillPayInfo,K=_?.company.company.companyTreasuryInfo,P=y==="zeni_treasury"?K?.companyVerificationStatus:G?.companyVerificationStatus,T=Object.values(C).findIndex(e=>e?.isSelectedForVerification===!0),O=`Officer_${T<0?1:T+1}`,et=()=>{const e=C[O],n=e?.email,c=e?.birthday?.toString(),f=e?.ownershipInCompany,b=e?.firstName,I=e?.lastName,ue=e?.titleAtCompany,pe=e?.documentTypeSelectedForVerification,me=e?.phone,fe=e?.addressStatus?.addressToCreate,ye=fe!=null?Y(fe):void 0,he=r?.companyDescription,X=r?.companyLegalName,ge=r?.companyIndustry,xe=r?.phone,Se=r?.website,we=r?.addressStatus?.addressToCreate!=null?Y(r?.addressStatus?.addressToCreate):void 0,ee=r?.primaryContactLocalData,Ce=ee?.firstName,be=ee?.lastName,De=ee?.email;n!=null&&f!=null&&b!=null&&I!=null&&c!=null&&ue!=null&&me!=null&&ye!=null&&pe!=null&&he!=null&&X!=null&&xe!=null&&Se!=null&&ge!=null&&X!=null&&we!=null&&Ce!=null&&be!=null&&De!=null&&g?.trackBusinessVerificationSend({email:n,birthday:c.toString(),companyOwnership:f,firstName:b,lastName:I,companyRole:ue,phone:me,formattedAddress:ye,documentTypeForVerification:pe},{companyDescription:he,legalName:X,phone:xe,website:Se.toString(),industry:ge,formattedAddress:we},{firstName:Ce,lastName:be,email:De},y,o?"Settings":void 0)},tt=()=>{const e=C[O],n=r?.primaryContactLocalData,c=e?.email??"",f=!!e?.firstName&&!!e?.lastName,b=n?.email??"",I=!!n?.firstName&&!!n?.lastName;return c&&!f?((!e?.firstName||!e?.lastName)&&p.trigger(`${v}.${T<0?0:T}.name`,{shouldFocus:!0}),!1):b&&!I?((!n?.firstName||!n?.lastName)&&p.trigger(`${D}.primaryContactName`,{shouldFocus:!0}),!1):!0},at=()=>{const e=C[O],n=r?.primaryContactLocalData,c=e?.email,f=n?.email;if(c){if(!f)return(n?.firstName||n?.lastName)&&p.trigger(`${D}.primaryContactEmail`,{shouldFocus:!0}),!1}else if(e?.firstName||e?.lastName||e?.birthday||e?.nationalityCountryCode||e?.ownershipInCompany||e?.phone||e?.ssn||e?.titleAtCompany||e?.addressStatus?.addressToCreate||e?.fileIds!=null&&e?.fileIds.length>0||Q!=null&&Q?.length>0)return p.trigger(`${v}.${T<0?0:T}.email`,{shouldFocus:!0}),!1;return!0},it=p.handleSubmit(()=>{if(M!=="verification"&&re("verification"),U==="unit"&&C[O]?.isPhoneVerified!==!0){p.setError(`${v}.${T}.phone`,{type:"custom"});return}const e=mt(Object.values(C).map(c=>Object.values(c?.deleteFileStatusById??{}).filter(f=>f!=null))),n=Object.values(r?.deleteFileStatusById??{}).filter(c=>c!=null);jt(e.concat(n)).fetchState!=="In-Progress"&&Xe&&(et(),Re?.(O),Z===!0&&Ze?.())}),st=async(e,n)=>{e.includes(D)?Ue?.(n[D]):e.includes(v)&&Ge?.(n[v])},nt=j.useCallback(ft((e,n)=>{st(e,n)},300),[]);j.useEffect(()=>{const e=p.watch((n,{name:c})=>{c!=null&&n!=null&&yt(()=>nt(c,n))});return()=>{e.unsubscribe()}});const le=ve(t.companyDetailsLocalData?.addressStatus);j.useEffect(()=>{t.companyDetailsLocalData?.addressStatus?.addressToCreate!=null&&t.companyDetailsLocalData?.registeredAddressStatus?.addressToCreate==null&&le==null&&(oe?.("company_registered_address",t.companyDetailsLocalData?.addressStatus?.addressToCreate),p.setValue(`${D}.registeredAddress`,t.companyDetailsLocalData?.addressStatus?.addressToCreate))},[t.companyDetailsLocalData?.addressStatus,t.companyDetailsLocalData?.registeredAddressStatus,le,oe,p]);const ce=_?.companyOfficers.slice(0,10).sort((e,n)=>e.user.createTime?.isAfter(n.user.createTime)===!0?1:-1),Q=ce?.map(e=>e.user),ot=ce?.map(e=>e.role),rt={onOkClick:()=>{q(!1),A();const e=[],n=_?.company.company.incInfo.fileIds??[];p.getValues(`${D}.fileIds`).forEach(c=>{n.includes(c)||e.push(c)}),ot?.forEach((c,f)=>{const b=c?.fileIds??[];p.getValues(`${v}.${f}.fileIds`).forEach(I=>{b.includes(I)||e.push(I)})}),e.length!==0&&Me?.(e)},onCancelClick:()=>{q(!1)}},lt=Te(Oe(m),m,$e.currencySymbol).toUpperCase(),H=P?.code==="pending_review"||P?.code==="verified",de=(E?.treasuryTransferMoneyLocalData?.amount?.amount??0)>0;if(y==="zeni_treasury"&&P?.code==="pending_review"&&Je==="In-Progress"&&R.fetchState==="Completed")return a.jsxs(ia,{children:[a.jsxs(sa,{children:[a.jsx(ht,{}),a.jsx(na,{windowSize:u,children:Z===!0?s.submittedTitleWithTransfer:s.submittedTitle}),a.jsx(aa,{isReadonly:!1,children:Z===!0?s.submittedDescriptionWithTransfer.replace("__amount__",Te(Oe(E?.treasuryTransferMoneyLocalData?.amount?.amount??0),E?.treasuryTransferMoneyLocalData?.amount?.amount??0,$e.currencySymbol)).replace("__account__",E?.treasuryTransferMoneyLocalData?.fromAccount?.label??""):s.submittedDescription})]}),a.jsx(gt,{label:s.submittedButton,onClick:()=>{A(),te?.()},variant:"primary"})]});const ct=()=>{const e=G?.companyVerificationStatus?.code==="verified",n=(r?.countriesOfOperations?.length??0)>0||r?.companySourceOfFunds!=null||r?.transactionVolume!=null||r?.purposeOfAccount!=null||r?.registeredAddressStatus!=null||r?.usNexus!=null;return e===!0&&n===!1};return a.jsxs(Mt,{isSettings:o,children:[a.jsx(xt,{title:h&&w===!0?Rt:s.header,backgroundColor:qe.colors.grey5,style:{zIndex:J?1:4},onBackClick:()=>{wt(p.formState.dirtyFields)?q(!0):A()},showBackButton:!o&&!h,showMenuIcon:o?u==="medium-compact"||u==="small":!1,onClickMenuIcon:Ye,rightSideComponent:h?a.jsx(oa,{"data-testid":St("nav-bar-close-business-verification-overlay"),onClick:()=>{A(),te?.()}}):null,source:"BusinessVerificationPage"}),Qe===!0?a.jsx(Ct,{titleComponent:a.jsx(Dt,{children:s.discardTitle}),descriptionComponent:a.jsx(bt,{children:s.discardDescription}),primaryButtonText:s.discard,secondaryButtonText:s.cancel,action:rt}):null,a.jsxs(Yt,{windowSize:u,children:[(!h||w===!1)&&a.jsx(Wt,{windowSize:u,children:o?Et.infoText.businessVerification:s.title}),$==="In-Progress"||$==="Not-Started"?a.jsx(Zt,{children:a.jsx(vt,{size:"ExtraLarge",start:!0})}):a.jsx(Tt,{...p,children:a.jsxs("form",{id:Pe(Ne),onSubmit:it,children:[h&&w===!0&&a.jsxs(Gt,{children:[a.jsxs(Qt,{windowSize:u,children:[a.jsx(Ht,{windowSize:u,children:H?s.businessVerificationDetails:de?s.verifyBusinessDetails:s.verifyBusinessDetailsWithoutTransfer}),!H&&a.jsx(Xt,{children:a.jsxs(ea,{children:[a.jsx(Ve,{}),de&&a.jsx(Ve,{}),a.jsx(ta,{})]})})]}),a.jsx(_e,{isReadonly:H,children:s.verifyBusinessDetailsDescription})]}),a.jsxs(qt,{children:[a.jsx(Lt,{companyOfficerData:C,allNationalityCountries:S,allOfficers:Q??[],sectionId:v,isRefreshingViewInBackground:L,connectedAccountProvider:U,productType:"business_verification",updateFilesEntity:se,onEditFileName:ie,onOfficerAddressClick:ae,onDeleteFile:ne,isDisabled:k,filesEndPoint:i,authParams:B,isPopupOpen:J,openPopup:He,onGetOtp:Be,onVerifyOtp:ze,onResendOtp:Ee,companyTitles:z,isForTreasury:y==="zeni_treasury",isOverlay:h}),a.jsx(Bt,{companyDetails:r,businessVerificationProps:{companyVerificationStatus:P,isRefreshingViewInBackground:L},productType:"business_verification",showTreasuryFields:y==="zeni_treasury",hideNewOnboardingFields:ct(),sectionId:D,isDisabled:P?.code==="pending_review"||P?.code==="verified"?"readonly":k,fileProps:{authParams:B,filesEndPoint:i,onEditFileName:ie,onDeleteFile:ne,updateFilesEntity:se},onCompanyAddressClick:ae,onRegisteredAddressClick:Le,connectedAccountProvider:U,allIndustries:F,allNationalityCountries:S})]}),y==="zeni_accounts"?a.jsx(Jt,{windowSize:u,children:s.threadText.replace("__amount__",lt)}):null]})})]}),$==="Completed"&&(y==="zeni_treasury"?K?.companyVerificationStatus?.code!=="pending_review"&&K?.companyVerificationStatus?.code!=="verified":G?.businessVerificationStatus?.code!=="pending_review"&&G?.businessVerificationStatus?.code!=="verified")?a.jsx(Ot,{formId:Pe(Ne),primaryBtn:{label:w?ke.submit:s.sendForVerificationButton,style:{width:"auto",minWidth:u==="small"?"auto":w?"83px":"181px"},isLoading:M==="verification"&&R.fetchState==="In-Progress",isDisabled:k!=null},containerStyle:{width:u==="small"?x.width.valuePx(u):"auto",justifyContent:u==="small"?"space-between":"center"},helperStyle:{width:u==="small"?x.width.valuePx(u):"auto",paddingLeft:x.termsPaddingLeftRight.valuePx(u),paddingRight:x.termsPaddingLeftRight.valuePx(u),textAlign:u==="small"?"center":"initial"},showCancel:!0,cancelBtn:{reverseSpinnerColor:!1,label:w?ke.back:s.saveDetailsButton,style:{width:u==="small"?"auto":w?"83px":"181px"},isLoading:M==="save"&&R.fetchState==="In-Progress",onClick:()=>{if(w)A();else{const e=C[O],n=r?.primaryContactLocalData;M!=="save"&&re("save");const c=e?.email??"",f=tt(),b=at();f&&b&&(g?.trackBusinessVerificationSave({email:c,birthday:e?.birthday?.toString(),companyOwnership:e?.ownershipInCompany,firstName:e?.firstName,lastName:e?.lastName,companyRole:e?.titleAtCompany,phone:e?.phone,formattedAddress:e?.addressStatus?.addressToCreate!=null?Y(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification},{companyDescription:r?.companyDescription,legalName:r?.companyLegalName,phone:r?.phone,website:r?.website?.toString(),industry:r?.companyIndustry??"",formattedAddress:r?.addressStatus?.addressToCreate!=null?Y(r?.addressStatus?.addressToCreate):void 0},{firstName:n?.firstName,lastName:n?.lastName,email:n?.email},y,o?"Settings":void 0),We?.(O))}}},helperText:Ke,style:{padding:`12px ${l.sp3}`,zIndex:J?0:4}}):null]})},Ut=(t,S,$,L)=>{const{companyDetailsLocalData:i,companyOfficerLocalData:B,companyView:y}=t,F=Fe.getLocalizedStrings().companyPassport,z=y?.companyOfficers!=null&&y?.companyOfficers.length>0;return{[D]:{companyDescription:i?.companyDescription??"",ein:i?.companyFiles.find(m=>m.documentType==="tax_ein"),companyId:i?.companyId??"",syncToken:i?.syncToken,companyLegalName:i?.companyLegalName??"",companyWebsite:i?.website?.toString()??"",companyAddress:i?.addressStatus?.addressToCreate,registeredAddress:i?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:i?.companyIndustry,allOptions:S?.map(m=>m.code)},companyPhone:i?.phone??"",companyTaxId:i?.taxIdOrEIN??"",primaryContactName:{firstName:i?.primaryContactLocalData?.firstName??"",lastName:i?.primaryContactLocalData?.lastName??""},primaryContactEmail:i?.primaryContactLocalData?.email??"",primaryContactUserId:i?.primaryContactLocalData?.userId,primaryContactSyncToken:i?.primaryContactLocalData?.syncToken,fileIds:i?.companyFiles.map(m=>m.fileId)??[],certificateOfIncorporation:i?.companyFiles.find(m=>m.documentType==="certificate_of_incorporation"),incDate:i?.incDate?.toDate(),typeOfIncorporation:{selectedOption:i?.typeOfIncorporation,allOptions:F.companyIncInfo.allTypesOfIncorporation},stateOfIncorporation:{selectedOption:i?.stateOfIncorporation,allOptions:F.companyIncInfo.allStatesOfIncorporation},sourceOfFunds:{selectedOption:i?.sourceOfFunds??"",allOptions:Object.keys(s.sourceOfFundOptions)},companySourceOfFunds:{selectedOption:i?.companySourceOfFunds??"",allOptions:Object.keys(s.companySourceOfFundOptions??{})},companySourceOfFundsDescription:i?.companySourceOfFundsDescription??"",transactionVolume:{selectedOption:i?.transactionVolume,allOptions:[..._t]},transactionVolumeDescription:i?.transactionVolumeDescription??"",purposeOfAccount:{selectedOption:i?.purposeOfAccount,allOptions:[...At]},purposeOfAccountDescription:i?.purposeOfAccountDescription??"",usNexus:i?.usNexus??"",usNexusTypes:{selectedOptions:i?.usNexusTypes??[],allOptions:[...Ft]},regulatedStatus:i?.regulatedStatus??"",regulatedStatusDescription:i?.regulatedStatusDescription??""},[v]:Object.values(B).map((m,k)=>{const o=m,h=It(o?.documentTypeSelectedForVerification);return{userId:o?.userId,officerType:o?.officerType??`Officer_${k+1}`,name:{firstName:o?.firstName,lastName:o?.lastName},email:o?.email,fileIds:o?.fileIds??[],dob:o?.birthday?.toDate(),nationalityCountryCode:Nt(o?.nationalityCountryCode,L.map(g=>g.countryCode)),ssn:o?.ssn,role:{selectedOption:o?.titleAtCompany,allOptions:$?.map(g=>g.code)},phone:o?.phone??"",ownership:o?.ownershipInCompany,officerAddress:o?.addressStatus?.addressToCreate,selectDocument:{front:Ie(!0,o?.userFiles??[],h),back:Ie(!1,o?.userFiles??[],h),selectDocumentType:h},isSelectedForVerification:!z&&k===0?!0:o?.isSelectedForVerification??!1,userVerificationStatus:o?.userVerificationStatus,treasuryUserVerificationStatus:o?.treasuryUserVerificationStatus,syncToken:o?.syncToken,isPhoneVerified:o?.isPhoneVerified,otpChallenge:o?.otpChallenge}})}},Pe=t=>`${t}_form`,Mt=d.div`
|
|
1
|
+
import{g as dt,e as ut,aS as ve,V as a,ag as W,aa as pt,d4 as mt,aA as ft,cQ as yt,a_ as Te,aR as Oe,go as ht,a as gt,bE as xt,ac as St,cR as wt,cy as Ct,cz as bt,cA as Dt,L as vt,ae as Tt,aT as Ot,o as l,x as V,ao as je,O as Ae,gp as It,fM as Ie,fd as Nt,c as kt,b as $t,an as Fe,N as Pt,M as Vt,u as N}from"./index-aCBnCBoN.js";import{a as j}from"./sentry-DzaNjvx0.js";import{n as d}from"./mui-BosmckWV.js";import{FD as jt,bi as Y,G9 as At,G8 as Ft,Ga as _t}from"./zeni-epic-state-BNpJ2txa.js";import{r as Lt,z as Bt}from"./CompanyOfficerDetailsSection-BsCx7q-g-vYNOEpVO.js";import"./liveblocks-CEY7tsth.js";import"./core-Cjh03OPu.js";import"./recharts-CimMNwCJ.js";import"./lottie-BmLFYENY.js";import"./analytics-B_VWX-BQ.js";import"./lexical-9REae7LV.js";import"./utils-THjX-QSp.js";import"./helper-AgH8nJln-Bk3G7LVh.js";import"./LabeledAddressValueField-D66XOhMx-Di6mjf7B.js";import"./LabeledCountryMultiSelectField-kopByxLB-CVecMMvH.js";import"./LabeledCreatableSingleSelectField-B6An-cwq-DxTaWad8.js";import"./LabeledDocumentField-D_ZD8JTn-BbI3Z3Te.js";import"./commonTypes-Ec-PxfpT-Dj2109B_.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},S=new t.Error().stack;S&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[S]="8b51b1fa-da0d-4f07-9cf9-a0e7848c49a7",t._sentryDebugIdIdentifier="sentry-dbid-8b51b1fa-da0d-4f07-9cf9-a0e7848c49a7")}catch{}})();const x={width:new V(343,580,726),titleWidth:new V(343,580,726,826),subTitlePaddingTop:new V(12,N[3]),subTitlePaddingBottom:new V(N[3],N[3]),verificationDetailsRowGap:new V(12,N[5],N[5]),termsPaddingLeftRight:new V(N[0],N[3])},zt={stepTitle:new Pt("h6Regular","h5Regular")},Ne="businessVerificationPage",D="companyDetails",v="companyOfficerDetails",{commonSetUp:{businessVerification:s},common:{settings:Et,currency:ke,footer:$e,strings:{empty:Rt}}}=Ae.getLocalizedStrings(),Ta=({businessVerificationDetails:t,allNationalityCountries:S,verficationDetailsFetchState:k,isRefreshingViewInBackground:L,filesEndPoint:i,authParams:B,productType:y,allIndustries:A,companyTitles:z,maxInsuredAmount:m,isDisabled:$,isSettings:o=!1,isOverlay:h=!1,analytics:g,isStepInProgress:w=!1,isTreasuryTransferInitiated:Q=!1,transferDetails:E,onOverlayClose:te,onAddressClick:ae,onRegisteredAddressClick:Le,onBackClick:F,onGetOtp:Be,onVerifyOtp:ze,onResendOtp:Ee,onSendForVerificationClick:Re,onEditFileName:ie,onCompanyDetailsChanged:Me,updateFilesEntity:se,onDeleteFile:ne,onDeleteFileList:Ue,onCompanyOfficerUpdated:Ge,saveNewAddressInLocalStore:oe,onSaveDetailsClick:We,onClickMenuIcon:Ye,onExecuteTreasuryTransfer:Qe})=>{const Ze=dt(),u=ut(),{updateStatus:R,companyView:_,companyDetailsLocalData:r,companyOfficerLocalData:C}=t,qe=ve(R.fetchState),M=_?.company.company.featuresActivationInfo.connectedAccountProvider,Je=M==="unit"?a.jsxs(Jt,{children:[s.terms.term1,a.jsx(W,{href:s.terms.consentUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.consent}),s.terms.term2,a.jsx(W,{href:s.terms.depositUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.depositTerms}),s.terms.term3,a.jsx(W,{href:s.terms.privacyPolicyUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.privacy}),s.terms.term4,a.jsx(W,{href:s.terms.tosUrl,onZeniLinkClick:()=>(g?.trackBillPayPrivacyPolicy(),!0),linkText:s.terms.tos}),s.terms.term5]}):s.terms.termsForStripe,[Ke,Z]=j.useState(!1),[U,re]=j.useState("save"),[q,He]=j.useState(!1),p=pt({mode:"all",reValidateMode:"onChange",defaultValues:Mt(t,A,z,S)}),{isValid:Xe}=p.formState,G=_?.company.company.companyBillPayInfo,J=_?.company.company.companyTreasuryInfo,P=y==="zeni_treasury"?J?.companyVerificationStatus:G?.companyVerificationStatus,T=Object.values(C).findIndex(e=>e?.isSelectedForVerification===!0),O=`Officer_${T<0?1:T+1}`,et=()=>{const e=C[O],n=e?.email,c=e?.birthday?.toString(),f=e?.ownershipInCompany,b=e?.firstName,I=e?.lastName,ue=e?.titleAtCompany,pe=e?.documentTypeSelectedForVerification,me=e?.phone,fe=e?.addressStatus?.addressToCreate,ye=fe!=null?Y(fe):void 0,he=r?.companyDescription,X=r?.companyLegalName,ge=r?.companyIndustry,xe=r?.phone,Se=r?.website,we=r?.addressStatus?.addressToCreate!=null?Y(r?.addressStatus?.addressToCreate):void 0,ee=r?.primaryContactLocalData,Ce=ee?.firstName,be=ee?.lastName,De=ee?.email;n!=null&&f!=null&&b!=null&&I!=null&&c!=null&&ue!=null&&me!=null&&ye!=null&&pe!=null&&he!=null&&X!=null&&xe!=null&&Se!=null&&ge!=null&&X!=null&&we!=null&&Ce!=null&&be!=null&&De!=null&&g?.trackBusinessVerificationSend({email:n,birthday:c.toString(),companyOwnership:f,firstName:b,lastName:I,companyRole:ue,phone:me,formattedAddress:ye,documentTypeForVerification:pe},{companyDescription:he,legalName:X,phone:xe,website:Se.toString(),industry:ge,formattedAddress:we},{firstName:Ce,lastName:be,email:De},y,o?"Settings":void 0)},tt=()=>{const e=C[O],n=r?.primaryContactLocalData,c=e?.email??"",f=!!e?.firstName&&!!e?.lastName,b=n?.email??"",I=!!n?.firstName&&!!n?.lastName;return c&&!f?((!e?.firstName||!e?.lastName)&&p.trigger(`${v}.${T<0?0:T}.name`,{shouldFocus:!0}),!1):b&&!I?((!n?.firstName||!n?.lastName)&&p.trigger(`${D}.primaryContactName`,{shouldFocus:!0}),!1):!0},at=()=>{const e=C[O],n=r?.primaryContactLocalData,c=e?.email,f=n?.email;if(c){if(!f)return(n?.firstName||n?.lastName)&&p.trigger(`${D}.primaryContactEmail`,{shouldFocus:!0}),!1}else if(e?.firstName||e?.lastName||e?.birthday||e?.nationalityCountryCode||e?.ownershipInCompany||e?.phone||e?.ssn||e?.titleAtCompany||e?.addressStatus?.addressToCreate||e?.fileIds!=null&&e?.fileIds.length>0||K!=null&&K?.length>0)return p.trigger(`${v}.${T<0?0:T}.email`,{shouldFocus:!0}),!1;return!0},it=p.handleSubmit(()=>{if(U!=="verification"&&re("verification"),M==="unit"&&C[O]?.isPhoneVerified!==!0){p.setError(`${v}.${T}.phone`,{type:"custom"});return}const e=mt(Object.values(C).map(c=>Object.values(c?.deleteFileStatusById??{}).filter(f=>f!=null))),n=Object.values(r?.deleteFileStatusById??{}).filter(c=>c!=null);jt(e.concat(n)).fetchState!=="In-Progress"&&Xe&&(et(),Re?.(O),Q===!0&&Qe?.())}),st=async(e,n)=>{e.includes(D)?Me?.(n[D]):e.includes(v)&&Ge?.(n[v])},nt=j.useCallback(ft((e,n)=>{st(e,n)},300),[]);j.useEffect(()=>{const e=p.watch((n,{name:c})=>{c!=null&&n!=null&&yt(()=>nt(c,n))});return()=>{e.unsubscribe()}});const le=ve(t.companyDetailsLocalData?.addressStatus);j.useEffect(()=>{t.companyDetailsLocalData?.addressStatus?.addressToCreate!=null&&t.companyDetailsLocalData?.registeredAddressStatus?.addressToCreate==null&&le==null&&(oe?.("company_registered_address",t.companyDetailsLocalData?.addressStatus?.addressToCreate),p.setValue(`${D}.registeredAddress`,t.companyDetailsLocalData?.addressStatus?.addressToCreate))},[t.companyDetailsLocalData?.addressStatus,t.companyDetailsLocalData?.registeredAddressStatus,le,oe,p]);const ce=_?.companyOfficers.slice(0,10).sort((e,n)=>e.user.createTime?.isAfter(n.user.createTime)===!0?1:-1),K=ce?.map(e=>e.user),ot=ce?.map(e=>e.role),rt={onOkClick:()=>{Z(!1),F();const e=[],n=_?.company.company.incInfo.fileIds??[];p.getValues(`${D}.fileIds`).forEach(c=>{n.includes(c)||e.push(c)}),ot?.forEach((c,f)=>{const b=c?.fileIds??[];p.getValues(`${v}.${f}.fileIds`).forEach(I=>{b.includes(I)||e.push(I)})}),e.length!==0&&Ue?.(e)},onCancelClick:()=>{Z(!1)}},lt=Te(Oe(m),m,ke.currencySymbol).toUpperCase(),H=P?.code==="pending_review"||P?.code==="verified",de=(E?.treasuryTransferMoneyLocalData?.amount?.amount??0)>0;if(y==="zeni_treasury"&&P?.code==="pending_review"&&qe==="In-Progress"&&R.fetchState==="Completed")return a.jsxs(ia,{children:[a.jsxs(sa,{children:[a.jsx(ht,{}),a.jsx(na,{windowSize:u,children:Q===!0?s.submittedTitleWithTransfer:s.submittedTitle}),a.jsx(aa,{isReadonly:!1,children:Q===!0?s.submittedDescriptionWithTransfer.replace("__amount__",Te(Oe(E?.treasuryTransferMoneyLocalData?.amount?.amount??0),E?.treasuryTransferMoneyLocalData?.amount?.amount??0,ke.currencySymbol)).replace("__account__",E?.treasuryTransferMoneyLocalData?.fromAccount?.label??""):s.submittedDescription})]}),a.jsx(gt,{label:s.submittedButton,onClick:()=>{F(),te?.()},variant:"primary"})]});const ct=()=>{const e=G?.companyVerificationStatus?.code==="verified",n=(r?.countriesOfOperations?.length??0)>0||r?.companySourceOfFunds!=null||r?.transactionVolume!=null||r?.purposeOfAccount!=null||r?.registeredAddressStatus!=null||r?.usNexus!=null;return e===!0&&n===!1};return a.jsxs(Ut,{isSettings:o,children:[a.jsx(xt,{title:h&&w===!0?Rt:s.header,backgroundColor:Ze.colors.grey5,style:{zIndex:q?1:4},onBackClick:()=>{wt(p.formState.dirtyFields)?Z(!0):F()},showBackButton:!o&&!h,showMenuIcon:o?u==="medium-compact"||u==="small":!1,onClickMenuIcon:Ye,rightSideComponent:h?a.jsx(oa,{"data-testid":St("nav-bar-close-business-verification-overlay"),onClick:()=>{F(),te?.()}}):null,source:"BusinessVerificationPage"}),Ke===!0?a.jsx(Ct,{titleComponent:a.jsx(Dt,{children:s.discardTitle}),descriptionComponent:a.jsx(bt,{children:s.discardDescription}),primaryButtonText:s.discard,secondaryButtonText:s.cancel,action:rt}):null,a.jsxs(Yt,{windowSize:u,children:[(!h||w===!1)&&a.jsx(Wt,{windowSize:u,children:o?Et.infoText.businessVerification:s.title}),k==="In-Progress"||k==="Not-Started"?a.jsx(Qt,{children:a.jsx(vt,{size:"ExtraLarge",start:!0})}):a.jsx(Tt,{...p,children:a.jsxs("form",{id:Pe(Ne),onSubmit:it,children:[h&&w===!0&&a.jsxs(Gt,{children:[a.jsxs(Kt,{windowSize:u,children:[a.jsx(Ht,{windowSize:u,children:H?s.businessVerificationDetails:de?s.verifyBusinessDetails:s.verifyBusinessDetailsWithoutTransfer}),!H&&a.jsx(Xt,{children:a.jsxs(ea,{children:[a.jsx(Ve,{}),de&&a.jsx(Ve,{}),a.jsx(ta,{})]})})]}),a.jsx(_e,{isReadonly:H,children:s.verifyBusinessDetailsDescription})]}),a.jsxs(Zt,{children:[a.jsx(Lt,{companyOfficerData:C,allNationalityCountries:S,allOfficers:K??[],sectionId:v,isRefreshingViewInBackground:L,connectedAccountProvider:M,productType:"business_verification",updateFilesEntity:se,onEditFileName:ie,onOfficerAddressClick:ae,onDeleteFile:ne,isDisabled:$,filesEndPoint:i,authParams:B,isPopupOpen:q,openPopup:He,onGetOtp:Be,onVerifyOtp:ze,onResendOtp:Ee,companyTitles:z,isForTreasury:y==="zeni_treasury",isOverlay:h}),a.jsx(Bt,{companyDetails:r,businessVerificationProps:{companyVerificationStatus:P,isRefreshingViewInBackground:L},productType:"business_verification",showTreasuryFields:y==="zeni_treasury",hideNewOnboardingFields:ct(),sectionId:D,isDisabled:P?.code==="pending_review"||P?.code==="verified"?"readonly":$,fileProps:{authParams:B,filesEndPoint:i,onEditFileName:ie,onDeleteFile:ne,updateFilesEntity:se},onCompanyAddressClick:ae,onRegisteredAddressClick:Le,connectedAccountProvider:M,allIndustries:A,allNationalityCountries:S})]}),y==="zeni_accounts"?a.jsx(qt,{windowSize:u,children:s.threadText.replace("__amount__",lt)}):null]})})]}),k==="Completed"&&(y==="zeni_treasury"?J?.companyVerificationStatus?.code!=="pending_review"&&J?.companyVerificationStatus?.code!=="verified":G?.businessVerificationStatus?.code!=="pending_review"&&G?.businessVerificationStatus?.code!=="verified")?a.jsx(Ot,{formId:Pe(Ne),primaryBtn:{label:w?$e.submit:s.sendForVerificationButton,style:{width:"auto",minWidth:u==="small"?"auto":w?"83px":"181px"},isLoading:U==="verification"&&R.fetchState==="In-Progress",isDisabled:$!=null},containerStyle:{width:u==="small"?x.width.valuePx(u):"auto",justifyContent:u==="small"?"space-between":"center"},helperStyle:{width:u==="small"?x.width.valuePx(u):"auto",paddingLeft:x.termsPaddingLeftRight.valuePx(u),paddingRight:x.termsPaddingLeftRight.valuePx(u),textAlign:u==="small"?"center":"initial"},showCancel:!0,cancelBtn:{reverseSpinnerColor:!1,label:w?$e.back:s.saveDetailsButton,style:{width:u==="small"?"auto":w?"83px":"181px"},isLoading:U==="save"&&R.fetchState==="In-Progress",onClick:()=>{if(w)F();else{const e=C[O],n=r?.primaryContactLocalData;U!=="save"&&re("save");const c=e?.email??"",f=tt(),b=at();f&&b&&(g?.trackBusinessVerificationSave({email:c,birthday:e?.birthday?.toString(),companyOwnership:e?.ownershipInCompany,firstName:e?.firstName,lastName:e?.lastName,companyRole:e?.titleAtCompany,phone:e?.phone,formattedAddress:e?.addressStatus?.addressToCreate!=null?Y(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification},{companyDescription:r?.companyDescription,legalName:r?.companyLegalName,phone:r?.phone,website:r?.website?.toString(),industry:r?.companyIndustry??"",formattedAddress:r?.addressStatus?.addressToCreate!=null?Y(r?.addressStatus?.addressToCreate):void 0},{firstName:n?.firstName,lastName:n?.lastName,email:n?.email},y,o?"Settings":void 0),We?.(O))}}},helperText:Je,style:{padding:`12px ${l.sp3}`,zIndex:q?0:4}}):null]})},Mt=(t,S,k,L)=>{const{companyDetailsLocalData:i,companyOfficerLocalData:B,companyView:y}=t,A=Ae.getLocalizedStrings().companyPassport,z=y?.companyOfficers!=null&&y?.companyOfficers.length>0;return{[D]:{companyDescription:i?.companyDescription??"",ein:i?.companyFiles.find(m=>m.documentType==="tax_ein"),companyId:i?.companyId??"",syncToken:i?.syncToken,companyLegalName:i?.companyLegalName??"",companyWebsite:i?.website?.toString()??"",companyAddress:i?.addressStatus?.addressToCreate,registeredAddress:i?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:i?.companyIndustry,allOptions:S?.map(m=>m.code)},companyPhone:i?.phone??"",companyTaxId:i?.taxIdOrEIN??"",primaryContactName:{firstName:i?.primaryContactLocalData?.firstName??"",lastName:i?.primaryContactLocalData?.lastName??""},primaryContactEmail:i?.primaryContactLocalData?.email??"",primaryContactUserId:i?.primaryContactLocalData?.userId,primaryContactSyncToken:i?.primaryContactLocalData?.syncToken,fileIds:i?.companyFiles.map(m=>m.fileId)??[],certificateOfIncorporation:i?.companyFiles.find(m=>m.documentType==="certificate_of_incorporation"),incDate:i?.incDate?.toDate(),typeOfIncorporation:{selectedOption:i?.typeOfIncorporation,allOptions:A.companyIncInfo.allTypesOfIncorporation},stateOfIncorporation:{selectedOption:i?.stateOfIncorporation,allOptions:A.companyIncInfo.allStatesOfIncorporation},sourceOfFunds:{selectedOption:i?.sourceOfFunds??"",allOptions:Object.keys(s.sourceOfFundOptions)},companySourceOfFunds:{selectedOption:i?.companySourceOfFunds??"",allOptions:Object.keys(s.companySourceOfFundOptions??{})},companySourceOfFundsDescription:i?.companySourceOfFundsDescription??"",transactionVolume:{selectedOption:i?.transactionVolume,allOptions:[..._t]},transactionVolumeDescription:i?.transactionVolumeDescription??"",purposeOfAccount:{selectedOption:i?.purposeOfAccount,allOptions:[...Ft]},purposeOfAccountDescription:i?.purposeOfAccountDescription??"",usNexus:i?.usNexus??"",usNexusTypes:{selectedOptions:i?.usNexusTypes??[],allOptions:[...At]},regulatedStatus:i?.regulatedStatus??"",regulatedStatusDescription:i?.regulatedStatusDescription??""},[v]:Object.values(B).map((m,$)=>{const o=m,h=It(o?.documentTypeSelectedForVerification);return{userId:o?.userId,officerType:o?.officerType??`Officer_${$+1}`,name:{firstName:o?.firstName,lastName:o?.lastName},email:o?.email,fileIds:o?.fileIds??[],dob:o?.birthday?.toDate(),nationalityCountryCode:Nt(o?.nationalityCountryCode,L.map(g=>g.countryCode)),ssn:o?.ssn,role:{selectedOption:o?.titleAtCompany,allOptions:k?.map(g=>g.code)},phone:o?.phone??"",ownership:o?.ownershipInCompany,officerAddress:o?.addressStatus?.addressToCreate,selectDocument:{front:Ie(!0,o?.userFiles??[],h),back:Ie(!1,o?.userFiles??[],h),selectDocumentType:h},isSelectedForVerification:!z&&$===0?!0:o?.isSelectedForVerification??!1,userVerificationStatus:o?.userVerificationStatus,treasuryUserVerificationStatus:o?.treasuryUserVerificationStatus,syncToken:o?.syncToken,isPhoneVerified:o?.isPhoneVerified,otpChallenge:o?.otpChallenge}})}},Pe=t=>`${t}_form`,Ut=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-height: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -13,7 +13,7 @@ import{f as dt,K as ut,aS as ve,V as a,ag as W,aa as pt,cZ as mt,aA as ft,cJ as
|
|
|
13
13
|
gap: ${l.sp1};
|
|
14
14
|
width: 100%;
|
|
15
15
|
padding-bottom: ${l.sp3};
|
|
16
|
-
`,Wt=d(
|
|
16
|
+
`,Wt=d(Fe)`
|
|
17
17
|
color: ${t=>t.theme.colors.hero};
|
|
18
18
|
display: flex;
|
|
19
19
|
justify-content: center;
|
|
@@ -30,7 +30,7 @@ import{f as dt,K as ut,aS as ve,V as a,ag as W,aa as pt,cZ as mt,aA as ft,cJ as
|
|
|
30
30
|
align-items: center;
|
|
31
31
|
padding-bottom: ${l.sp9};
|
|
32
32
|
row-gap: ${t=>x.verificationDetailsRowGap.valuePx(t.windowSize)};
|
|
33
|
-
`,
|
|
33
|
+
`,Qt=d.div`
|
|
34
34
|
display: flex;
|
|
35
35
|
width: 100%;
|
|
36
36
|
height: calc(100vh - 110px);
|
|
@@ -38,21 +38,21 @@ import{f as dt,K as ut,aS as ve,V as a,ag as W,aa as pt,cZ as mt,aA as ft,cJ as
|
|
|
38
38
|
justify-content: center;
|
|
39
39
|
align-items: center;
|
|
40
40
|
background-color: ${t=>t.theme.colors.grey4};
|
|
41
|
-
`,
|
|
41
|
+
`,Zt=d.div`
|
|
42
42
|
display: flex;
|
|
43
43
|
flex-direction: column;
|
|
44
44
|
row-gap: ${l.sp11};
|
|
45
|
-
`,
|
|
45
|
+
`,qt=d(je)`
|
|
46
46
|
margin-top: ${l.sp2};
|
|
47
47
|
padding: ${l.sp2} ${l.sp2};
|
|
48
48
|
text-align: center;
|
|
49
49
|
color: ${t=>t.theme.colors.grey1};
|
|
50
50
|
width: ${t=>x.width.valuePx(t.windowSize)};
|
|
51
|
-
`,
|
|
51
|
+
`,Jt=d(je)`
|
|
52
52
|
text-align: center;
|
|
53
53
|
max-width: 750px;
|
|
54
54
|
color: ${t=>t.theme.colors.hero};
|
|
55
|
-
`,
|
|
55
|
+
`,Kt=d.div`
|
|
56
56
|
display: flex;
|
|
57
57
|
flex-direction: column;
|
|
58
58
|
gap: ${l.sp3};
|
|
@@ -102,7 +102,7 @@ import{f as dt,K as ut,aS as ve,V as a,ag as W,aa as pt,cZ as mt,aA as ft,cJ as
|
|
|
102
102
|
transform: translateX(0%);
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
|
-
`,_e=d(
|
|
105
|
+
`,_e=d(Fe)`
|
|
106
106
|
color: ${t=>t.theme.colors.hero};
|
|
107
107
|
margin-top: ${t=>t.isReadonly?l.sp0:l.sp3};
|
|
108
108
|
white-space: pre-line;
|
|
@@ -122,11 +122,11 @@ import{f as dt,K as ut,aS as ve,V as a,ag as W,aa as pt,cZ as mt,aA as ft,cJ as
|
|
|
122
122
|
align-items: center;
|
|
123
123
|
justify-content: center;
|
|
124
124
|
gap: ${l.sp3};
|
|
125
|
-
`,na=d(
|
|
125
|
+
`,na=d(kt)`
|
|
126
126
|
color: ${t=>t.theme.colors.primary};
|
|
127
127
|
white-space: pre-line;
|
|
128
128
|
text-align: center;
|
|
129
|
-
`,oa=d(
|
|
129
|
+
`,oa=d($t)`
|
|
130
130
|
cursor: pointer;
|
|
131
131
|
color: ${t=>t.theme.colors.hero};
|
|
132
132
|
width: ${l.sp4};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{e as m,V as r,O as w,w as y,o as a,N as x,M as b}from"./index-aCBnCBoN.js";import{n as o}from"./mui-BosmckWV.js";import{a as n}from"./sentry-DzaNjvx0.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="19151f8c-41d0-4c05-92c7-dfa3637967a7",e._sentryDebugIdIdentifier="sentry-dbid-19151f8c-41d0-4c05-92c7-dfa3637967a7")}catch{}})();const $=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.802551 6.92395C0.802551 5.2671 2.1457 3.92395 3.80255 3.92395H20.2009C21.8578 3.92395 23.2009 5.2671 23.2009 6.92395V17.076C23.2009 18.7329 21.8578 20.076 20.2009 20.076H3.80255C2.1457 20.076 0.802551 18.7329 0.802551 17.076V10.8805H23.1896V9.01135H0.802551V6.92395ZM0.802551 9.01135H0.799072V10.8805H0.802551V9.01135ZM14.5443 15.6222C14.5443 15.0935 14.9728 14.6649 15.5015 14.6649H18.1386C18.6673 14.6649 19.0959 15.0935 19.0959 15.6222C19.0959 16.1509 18.6673 16.5795 18.1386 16.5795H15.5015C14.9728 16.5795 14.5443 16.1509 14.5443 15.6222Z",fill:"currentColor"})),{common:p,spendManagement:{chargeCard:t}}=w.getLocalizedStrings(),C={subText:new x("extraSmallRegular","standardRegular")},j=({cardDetail:e,forDetailPage:s,styles:l})=>{const g=m(),h=e.type.code.includes("credit")?t.chargeCardsPromo.credit:t.chargeCardsPromo.debit;let d=e.type.code.includes("physical")?t.cardList.physicalCard:t.cardList.virtualCard;const i=p.strings.space+t.cardDetails.expiryHideOut+p.strings.space+e.accountLast4,f=e.status.code==="request_on_hold"||!s?d:i,c=e.type.code.includes("physical");return r.jsxs(v,{style:l,windowSize:g,forDetailPage:s,className:"cardName",title:`${f}`,children:[h,r.jsx(H,{}),d,c&&!s?r.jsx(u,{className:"physical-card-icon"}):null,e.status.code==="request_on_hold"||!s?null:i,c&&s?r.jsx(u,{}):null]})},v=o(b)`
|
|
2
2
|
${e=>e.forDetailPage?{...y.extraSmallRegular.cssObject}:`${C.subText.style(e.windowSize)}`};
|
|
3
3
|
color: ${e=>e.theme.colors.hero};
|
|
4
4
|
max-width: 100%;
|