@zeniai/web-cockpit-ui 1.15.63-qa → 1.15.64-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-fOu5grd7-BdSVzP6f.js +21 -0
- package/dist/assets/{AIPerformancePage-BHB45mP--CJ7SlrBq.js → AIPerformancePage-Da3gFo8A-CckgxOO_.js} +22 -22
- package/dist/assets/AccountInfoPage-o7hTXtgZ-zH78FLFW.js +18 -0
- package/dist/assets/{AccountInfoPageContent-CJ7ycVIK-C83hBUz9.js → AccountInfoPageContent-DqErO8FH-Dmzn6pIA.js} +22 -22
- package/dist/assets/AccountLockedInfoModal-BJjCuLHa-DrT3dsPq.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-Bqty08m0-kXNr--5k.js → AccountReconDetailsDrawerPage-CVjH1p0d-BxBrHwo0.js} +18 -18
- package/dist/assets/AccountRow-CpftykFx-oOdBXU8G.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-Bs3naJHM-DUGNuaMw.js → AccountsPromoCardStack-D7xvgmOH-D3-ZzkOb.js} +26 -26
- package/dist/assets/AddAddressForCardDrawer-vecchYEf-CGSqzhVX.js +6 -0
- package/dist/assets/{AddToWalletPage-CyRfqVDB-lZdSVI5f.js → AddToWalletPage-zJy9QCjx-C_qfE17G.js} +17 -17
- package/dist/assets/{AgingReportsPage-xBFff3BM-BoR0hRbB.js → AgingReportsPage-wAvQb1d8-C15jlpMU.js} +7 -7
- package/dist/assets/{AllUserItems-BJf6WPDo-BK6B5dDc.js → AllUserItems-DEv_CXOA-B5fCEIiV.js} +8 -8
- package/dist/assets/ApAgingDetailPage-BOV1WFVF-Dp8s2FuX.js +46 -0
- package/dist/assets/{AppBasePage-CqDm-hnV-CBNeETIZ.js → AppBasePage-DMlomvFS-CGojLnOO.js} +13 -13
- package/dist/assets/AppDrawerContent-Dc2sHnR3--YF7Xqpp.js +92 -0
- package/dist/assets/ApprovalRulesSettingsPage-BnbPSy4U-qsIqsWa1.js +47 -0
- package/dist/assets/{ArAgingChart-CBsqOd-4-BTXylDMy.js → ArAgingChart-m-Xp3HAW-NCxV7iBs.js} +4 -4
- package/dist/assets/ArAgingDetailPage-b_NpDpWj-z4UOMnMu.js +46 -0
- package/dist/assets/{AttachmentView-CzC4skJ3-BCDnapXA.js → AttachmentView-DB_V1qT1-BBS5lFy5.js} +9 -9
- package/dist/assets/{BankAccountSection-Di4sF52j-D4IfCjd3.js → BankAccountSection-BabhrBM7-AYC21fpT.js} +7 -7
- package/dist/assets/{BankAccountWarningSection-Cled-2cR-CPMJAwOm.js → BankAccountWarningSection-yT2UAd12-C1lPi6To.js} +9 -9
- package/dist/assets/{BankConnectionsSettingsPage-Ccnzq7st-DAZKodd6.js → BankConnectionsSettingsPage-CbxXykMM-C4x6xhVH.js} +19 -19
- package/dist/assets/BillDetailPage-7TMkWo3V-CAz7q8si.js +266 -0
- package/dist/assets/{BillPayApprovalRuleDetailPage-DFZ0csaT-PsPHznl4.js → BillPayApprovalRuleDetailPage-COyDRpaF-DAcMEAnT.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-COCypDcS-HIhyZ3nR.js → BillPayApprovalRulesPage-9pxkgFAT-DPJx3hcv.js} +15 -15
- package/dist/assets/BillPayPromoPage-AGffhbY3-C_QscQuJ.js +84 -0
- package/dist/assets/{BillPaySetUpPage-BCJbZDsV-DVe6WBI9.js → BillPaySetUpPage-Cs5rkWBu-GrPc_Ghq.js} +4 -4
- package/dist/assets/BillingSettingsPage-CQ117tT9-czyNT2CA.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-B11GWM_0-BQuQWEvp.js → BillsBulkReviewDrawerPage-DRkGQQAe-B4jJeKlF.js} +1 -1
- package/dist/assets/{BoxItem-Bxa1M4QU-D1vE9QhE.js → BoxItem-DRwx0M5a-DCS0EEq5.js} +11 -11
- package/dist/assets/{BusinessVerificationPage-DSuJFoW1-XlBss24U.js → BusinessVerificationPage-1h0z3N9u-Bz-00d77.js} +12 -12
- package/dist/assets/{CardNumberSubText-_ZZbaz_k-BlVD6y8J.js → CardNumberSubText-DqtLT1w5-DO6jyw3h.js} +3 -3
- package/dist/assets/{CashbackDetailPage-DAZXitLt-Fk0YDW9d.js → CashbackDetailPage-ChdQcvkC-C57bRmfy.js} +26 -26
- package/dist/assets/{ChargeCardDetailPage-B1VIpASk-BDSXs13_.js → ChargeCardDetailPage-DFOKlPNG-xcGq1wRM.js} +34 -34
- package/dist/assets/{ChargeCardListPage-BOBepN-x-D1jyw6xp.js → ChargeCardListPage-DhLUsUhd-DuclyBke.js} +24 -24
- package/dist/assets/{ChargeCardListTable-YznzSsJo-BzgBrEEG.js → ChargeCardListTable-DE72YU_i-DcBJaKK3.js} +38 -38
- package/dist/assets/{ChargeCardPaymentHistoryPage--jOwsMla-CGXOOx2m.js → ChargeCardPaymentHistoryPage-CbGR18s--BFbYhOSS.js} +42 -42
- package/dist/assets/ChargeCardPromoPage-CPpNh89o-CBfHtaX_.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-0bpVkeJs-CpLnoFoy.js → ChargeCardSetupPage-ITi25kUD-DfzvZRO7.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-ChWyQlw6-CRQIlgKD.js → ChargeCardStatementsPage-CTJc1BCc-DxoD4bYi.js} +7 -7
- package/dist/assets/{CheckDepositDrawerPage-BS7hnyZn-C9SGaV72.js → CheckDepositDrawerPage-BrzeSj-3-DtRI-uAH.js} +23 -23
- package/dist/assets/CollapsableReportTable-CDEe9s_E-CMF0RoW1.js +2844 -0
- package/dist/assets/{CompanyOfficerDetailsSection-CrOIN4IW-CoAoKnrR.js → CompanyOfficerDetailsSection-BaPhFsLx-B9Snu63L.js} +28 -28
- package/dist/assets/{CompanyPassportCard-CkzYFTrp-xxbgyzmF.js → CompanyPassportCard-B9ymV6Az-38EEl60M.js} +9 -9
- package/dist/assets/{CompanyPassportPage-FE6yli6h-BWozhrFp.js → CompanyPassportPage-BQ68t7oK-Co1NqIiB.js} +30 -30
- package/dist/assets/{CompleteProfile-Cb8i1XgZ-BTm92KCu.js → CompleteProfile-C5n9b8gQ-DwcNt9_I.js} +1 -1
- package/dist/assets/ConfettiBurst-BizTW0hz-CvR9oZ5e.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-hVukCBkN.js → ConstrainedInnerElement-BeIpAPjB-XtnsGBeT.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-CzpSgxbO-tk0pxMXW.js → CreateOrEditVendorPage-BIfOA5Nr-Dlpym0z2.js} +20 -20
- package/dist/assets/{CreditCardPaymentDrawerPage-c_q0MsSO-BNl8osW_.js → CreditCardPaymentDrawerPage-CCpS-31h-C4-ObiYa.js} +18 -18
- package/dist/assets/CurrencySelectField-KvKyemY6-CmY2_QR6.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-f3Aa6E5r-C0GXlCyT.js → CustomerOnboardingActivationPage-6VlMI4oY-DDFamjuz.js} +29 -29
- package/dist/assets/CustomerOnboardingContainerPage-CRjwWFLJ-BpoLCE54.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DYuiWn8s-BpVuCl4e.js → CustomerOnboardingDetailPageSkeleton-BzbZb27J-sEi6CC-2.js} +8 -8
- package/dist/assets/CustomerOnboardingNoStepsPage-CWF_00EM-BRYus2iF.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-B9hSO88_-DKVxJK_g.js → CustomerOnboardingPage-DkW66A-p-GBHzS2sL.js} +16 -16
- package/dist/assets/{CustomerOnboardingProductSuitePage-CG0HKCpQ-BF68GGbG.js → CustomerOnboardingProductSuitePage-Ba0yotpP-kvF0C_U3.js} +12 -12
- package/dist/assets/{Dashboard-BJ_oIHab-CXqiG1Rq.js → Dashboard-bX3cWkmP-CshB3AQ6.js} +33 -33
- package/dist/assets/{DashboardReportPage-BemzMw2e-BipdyVWe.js → DashboardReportPage-DuZ4d4CE-WPRTD4S1.js} +41 -41
- package/dist/assets/DashboardSidebarBackgroundAnimation-UV2CZToG-4yePe-Xl.js +12 -0
- package/dist/assets/DepositAccTransactionItem-BY_OvuKg-1GMqn4-W.js +76 -0
- package/dist/assets/DepositAccTransactionListPage-a__bpCOB-CMJCJXrJ.js +66 -0
- package/dist/assets/DomesticWireDetailsPage-BumMT4QM-9o5TrTj8.js +21 -0
- package/dist/assets/DownloadOverlay-DqiL3-FB-D2yDQ3WD.js +439 -0
- package/dist/assets/{DrawerPage-DesxXhZk-BvvDI7JV.js → DrawerPage-CaG-xx5d-D9_lXenJ.js} +13 -13
- package/dist/assets/EditPeoplePage-BcsdEp_d-IwV_edCq.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-DNUmwdsH-B0QXso1w.js +865 -0
- package/dist/assets/EntityDetailPage-DtX5TjBc-YkJZ_Dja.js +18 -0
- package/dist/assets/{EntitySummarySection-BwX0a4JL-Cb_9slBS.js → EntitySummarySection-LEA5m6mN-CLLkbTp6.js} +14 -14
- package/dist/assets/{ExpenseAutomationOverviewPage-EdyHjbff-B4ZwTaZV.js → ExpenseAutomationOverviewPage-Dmhn7gfp-BnYLctJS.js} +51 -51
- package/dist/assets/ExpenseAutomationPage-B8C4BxoV-DWGhFpVk.js +1703 -0
- package/dist/assets/{ExpressPayPage-EMP6inpX-_cx1Ylt6.js → ExpressPayPage-C-nqret2-CxxwTtu9.js} +16 -16
- package/dist/assets/{FeaturePreviewPage-SYJm-3aR-CG1XGdAN.js → FeaturePreviewPage-BHjUZ7s6-_5C6_vtm.js} +2 -2
- package/dist/assets/{FollowStepsSection-BxESVqJD-YzcVHL8n.js → FollowStepsSection-0eFMS0c5-DiNXhybo.js} +11 -11
- package/dist/assets/GlobalReviewListPage-4eiopkzw-DKMz-KY4.js +291 -0
- package/dist/assets/{InformationCardStack-B_qQUEYD-BwcTguLM.js → InformationCardStack-C7XJCUlh-CHYlGlZV.js} +4 -4
- package/dist/assets/{InsightsCardStack-BsQzoVzj-Bd69AHav.js → InsightsCardStack-fBAbQwhK-GOQwmuqO.js} +9 -9
- package/dist/assets/InsightsSection-De9zu_me-VPfN5Xo7.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-DP6fAccq-Bl2SFLoD.js → IntegrationsSettingsPage-BD5jqAv8-BskPS73Y.js} +7 -7
- package/dist/assets/{InternationalWireSwiftDetailsPage-VdG7bDZi-C5RGyBg8.js → InternationalWireSwiftDetailsPage-BftrE612-CKiFI9UY.js} +27 -27
- package/dist/assets/InternationalWireVerificationPage-CDf7equc-1WYEjkVV.js +65 -0
- package/dist/assets/InviteFormPage-E2igwKEh-BzkLo-m1.js +312 -0
- package/dist/assets/{InvitePageListView-CP4K9tJi-BWdxcvn6.js → InvitePageListView-Cuq9dlgu-BNjoQI0P.js} +43 -43
- package/dist/assets/InvitePeoplePage-Db4P4ZEq-B9OMfSrr.js +12 -0
- package/dist/assets/InvoiceUploadSection-DYCjz9CI-DkR29XTT.js +140 -0
- package/dist/assets/{IssueChargeCardPage-CVfuvGey-DZxiAxJX.js → IssueChargeCardPage-CK6fnO24-bch7HeIs.js} +21 -21
- package/dist/assets/{LabeledAddressValue-DDrQcHIE-CeJ3ym3G.js → LabeledAddressValue-Ma1WURjK-BjRcNAyc.js} +1 -1
- package/dist/assets/LabeledAddressValueField-C6-hVsPb-Bfrq1uTa.js +45 -0
- package/dist/assets/LabeledControlledCheckBoxField-CgZg0uOW-CjFLwRIN.js +16 -0
- package/dist/assets/{LabeledCountryMultiSelectField-BYYjzwUG-BwOVpc3z.js → LabeledCountryMultiSelectField-sj8p7Rne-DmVlXwHY.js} +4 -4
- package/dist/assets/{LabeledCreatableSingleSelectField-CISYMojq-CMb8Wj3I.js → LabeledCreatableSingleSelectField-DUTQh416-DtIYGO-z.js} +8 -8
- package/dist/assets/LabeledDocumentField-Bp9m-OrP-Di2DVQR8.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-3-KekP79-CBuG_XHQ.js +59 -0
- package/dist/assets/{LabeledText-C8Y7EOsX-bc31OQDU.js → LabeledText-DvzVOku6-CI8IYs0J.js} +3 -3
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-DEITvxaX.js → LabeledUserSingleSelectWithSubtitlesField-DCv1Q5qb-BoHfD7aR.js} +21 -21
- package/dist/assets/{LabeledZeniRolesDropDownField-BZtreVpj-BbSQyIfJ.js → LabeledZeniRolesDropDownField-kWC0ShEy-rvx0SYJG.js} +24 -24
- package/dist/assets/{LinkJETransactionPage-CKq4oiX9-mvMHwOvE.js → LinkJETransactionPage-WufhDGDQ-B3rjsU0T.js} +12 -12
- package/dist/assets/{LockCardPage-CZENNby7-XsIHG8ps.js → LockCardPage-BBIVLYVD-B0YOZXXr.js} +234 -234
- package/dist/assets/{LowBalancePopup-1727S1ri-n2U-sV_W.js → LowBalancePopup-ScEqPY9J-CQJroj6z.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-C494txw0-BXL5Oo5F.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-CONBCbOQ-CLIxJIug.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-fSY3JGpz-f3s55HDr.js +1 -0
- package/dist/assets/MagicLinkSuccessPage-BDRXSAO4-BVQIDzU9.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-CARU1oLQ-CVNZ8iK2.js → MagicLinkTitleSection-ZnbKPIvJ-BSqgRJcf.js} +5 -5
- package/dist/assets/MailingDetailsSection-DZT7JPlI-C6Z2pagF.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-BdgIIhL1-BeRsdTPg.js → MyBankConnectionsSettingsPage-aQDVaEG1-DhCXDcNN.js} +12 -12
- package/dist/assets/MyPendingActivationChargeCardListPage-BJrk56oA-8UK9qZGK.js +6 -0
- package/dist/assets/MyProfileSettingsPage-L9WuP6HZ-4YifN_2G.js +85 -0
- package/dist/assets/{NavBarWithPicker-CGGEvLwe-s3u-yB3H.js → NavBarWithPicker-zmvBmWS1-A5yL3hW1.js} +5 -5
- package/dist/assets/{NavigationArrow-CTNkKUtV-C8bJKxdd.js → NavigationArrow-D26UG3p--DAuEEyBJ.js} +7 -7
- package/dist/assets/{NavigationDots-Dvce3gHt-BbZlp8zJ.js → NavigationDots-Bv4tBDN3-Dko875eO.js} +3 -3
- package/dist/assets/{NewGlobalMerchantPage-D_f7z47T-DQOfu_Nl.js → NewGlobalMerchantPage-vOn2O6B9-DskrKIYE.js} +35 -35
- package/dist/assets/{NoDataChart-CrKeqWSr-CH-XvPH0.js → NoDataChart-CgT19fV7-Dq-PS5iw.js} +4 -4
- package/dist/assets/NoDataTable-CPjJmo4s-B0gXcJxM.js +8 -0
- package/dist/assets/{NotFoundPage-BLWPU1wU-BG7NJ9El.js → NotFoundPage-CP2i3FTm-B2Tx_Zo3.js} +3 -3
- package/dist/assets/{NotificationSettingsPage-CDiDLX3A-6RPc-bUn.js → NotificationSettingsPage-CT9Dnb03-CqwjgM73.js} +17 -17
- package/dist/assets/NotificationsListConfig-Bn1zmx6b-xLvRbIc5.js +1 -0
- package/dist/assets/NotificationsPage-DDwdR_Jq-CdZxB2zM.js +685 -0
- package/dist/assets/OpExByVendorPage-DukFYlqO-CuXBR-rW.js +100 -0
- package/dist/assets/{OverlayContainerPage-BG9y5C0t-BPG2pCUp.js → OverlayContainerPage-D4QU0p4o-CVPkUlN6.js} +1 -1
- package/dist/assets/PandLWithForecastPage-Bgflh9Om-Dmxi28fl.js +107 -0
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-9ma8SpIa-D4Qtjsvw.js → PaymentAccountSetupBillingAddressSection-JPO-rPAd-CHgpZYyo.js} +16 -16
- package/dist/assets/PeoplePage-CDvKreQl-CRlr1EmV.js +675 -0
- package/dist/assets/{Preview-DWskpWXP.js → Preview-spWMBI70.js} +1 -1
- package/dist/assets/{ProductsCarousel-C3M0ocdF-BSyoNQFy.js → ProductsCarousel-7R3cvGiS-DlBhSe7D.js} +8 -8
- package/dist/assets/{PromoBaseCards-BOGJI2ws-Ck95GU5B.js → PromoBaseCards-DdCMZIc7-B6Z1nEXM.js} +2 -2
- package/dist/assets/{QBOConnectionDialog-CmpnnuzP-CpIqU0WF.js → QBOConnectionDialog-Ca36jKz2-CfdvU0-0.js} +7 -7
- package/dist/assets/QBOSetupSection-CzBfIVqR-B4kKrGkW.js +79 -0
- package/dist/assets/ReimbursementApprovalRuleDetailPage-DUVSGQJ6-C7yuUziG.js +32 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-BsCTIqUJ-D3bDi2Ta.js → ReimbursementApprovalRulesPage-B48x1gPM-Bmxf9Hlc.js} +17 -17
- package/dist/assets/ReimbursementDetailPage-oIC9QEyF-CRxw2XKK.js +314 -0
- package/dist/assets/ReimbursementPromoPage-BKgsJieE-D41M31h1.js +84 -0
- package/dist/assets/{ReimbursementSetUpPage-RETPkEQd-z2afpDkn.js → ReimbursementSetUpPage-B_c-ZgFT-nyStFOEL.js} +8 -8
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-CeyGWbKR-CPHh3h5l.js +1 -0
- package/dist/assets/{ReloadCard-Bdoo0XiI-BGa0MgX0.js → ReloadCard-DKGn1uxF-CHnWO982.js} +6 -6
- package/dist/assets/ReportTableViewSelector-CXDvZEbR-DVKFHMpg.js +150 -0
- package/dist/assets/ReportsPage-BoUyXSBC-DqEgIltZ.js +121 -0
- package/dist/assets/{RevenueChart-DvyZ3aO7-PpJFTbOd.js → RevenueChart-SvdhwBcE-CclStxKG.js} +18 -18
- package/dist/assets/{ReviewDetailsPage-BIMg1n2e-D2dTaNpr.js → ReviewDetailsPage-tT1l4R2r-D31xag1Q.js} +26 -26
- package/dist/assets/{ReviewOverlay-CxwoiOLC-vRTfwGwR.js → ReviewOverlay-BoM41t8W-B3q95pxr.js} +10 -10
- package/dist/assets/{RoleWithToolTip-Ct3_VuDM-BEnLHz0N.js → RoleWithToolTip-C8x5yXaK-Dbq6YNZJ.js} +4 -4
- package/dist/assets/ScheduleDetailsFixedAssetsPage-Bkp0mCOn-CXNO-V0F.js +37 -0
- package/dist/assets/ScheduleDetailsPage-Dg9rYJbn-DX2cGcR8.js +37 -0
- package/dist/assets/ScheduleSequenceTable-J6Eja8XA-C4pj46PF.js +324 -0
- package/dist/assets/{ScreenRoutes-CUuAiKAj.js → ScreenRoutes-Djen5Qso.js} +51 -29
- package/dist/assets/{SetUpAccountSection-CctbMmoK-DeDFJbvz.js → SetUpAccountSection-sfIB1h4i-ChZ6V5QM.js} +14 -14
- package/dist/assets/SignIn-Cu2nzuEC-CMzKn_tC.js +491 -0
- package/dist/assets/SignInScreen-OAq50V8E.js +1 -0
- package/dist/assets/SpendManagementListViewPage-9V9u1jPF-CmDrIGYQ.js +134 -0
- package/dist/assets/{SpendManagementPerTabPage-C-kqNTci-AeTDFXX6.js → SpendManagementPerTabPage-COvEPq7V-Do4O10gl.js} +96 -96
- package/dist/assets/{SpendManagementSection-CIz4nE_w-8YBkABuz.js → SpendManagementSection-dT-N4bSQ-BiovZfwW.js} +21 -21
- package/dist/assets/{StatementItem-vVtoBN2w-BdiJO-U-.js → StatementItem-g5tfNBjV-C9Hg8CS4.js} +4 -4
- package/dist/assets/StatementsPage-DaFrVUeK-DSTw3UAU.js +58 -0
- package/dist/assets/{StatusSwitcher-Bv-ozN6U-CzLNn0tR.js → StatusSwitcher-CaoFw0cf-C3lxp9pU.js} +5 -5
- package/dist/assets/SubTabSwitcher-zrkVj1aP-_xN0-uG5.js +58 -0
- package/dist/assets/SummaryCard-B9wqNSwM-n1ImzaFb.js +1 -0
- package/dist/assets/TaskManagementPage-dAK9tl2b-CTG2_KMv.js +508 -0
- package/dist/assets/TimeRangeSwitcher-r1TNqVRb-DCJluex4.js +64 -0
- package/dist/assets/TimeframeSwitcher-DHfHCTa4-B2FI2qD3.js +31 -0
- package/dist/assets/TimeframeSwitcherWithToggle-DvBvguRl-DxV9Vm6A.js +31 -0
- package/dist/assets/{TopExCard-Z1WabZ8c-4au0Kuzy.js → TopExCard-BUjnGDUB-ILeRndVt.js} +6 -6
- package/dist/assets/{TopExDetailPage-CzHG4f9E-CctLNvo_.js → TopExDetailPage-CNDkfc3u-BPGQHHhh.js} +16 -16
- package/dist/assets/{TransactionActivityLogPage-CGKnjNfU-B3NDQc80.js → TransactionActivityLogPage-kSQqJVpX-CN_Bd6XL.js} +20 -20
- package/dist/assets/TransactionDetailPage-f7vWtXWL-B6Z3KQcQ.js +903 -0
- package/dist/assets/TransactionList-3-mUZOsw-BOqEjROc.js +153 -0
- package/dist/assets/{TransactionListBig-C5Sf5Xh--BuYJgRaG.js → TransactionListBig-Bx_Rm9ho-B9vgR37B.js} +19 -19
- package/dist/assets/TransactionListPage-q6x4_jni-ByWLrriF.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-SsrSOk3O-BRnviJtL.js → TransactionVendorDetailPage-MjSH5hfq-BauD225P.js} +5 -5
- package/dist/assets/{TransferDrawerPage-BvKZ7vHF-CVsBbyAK.js → TransferDrawerPage-BayVa6po-DOmgo5bD.js} +45 -45
- package/dist/assets/TreasuryOverviewPage-CuqWmrO5-WjxiYw-Z.js +708 -0
- package/dist/assets/{TreasuryPromoPage-CtTFvSQW-DUHPkkLd.js → TreasuryPromoPage-BCjz1EKX-B5KDWi07.js} +131 -131
- package/dist/assets/TreasuryStatementsPage-CGr00SXF-C60wRmKc.js +58 -0
- package/dist/assets/TreasuryTaxLetterPage-D9_qnlK4-DjBNSdh0.js +58 -0
- package/dist/assets/{TrendChart-Bnp4Pcdf-D4cgVp3g.js → TrendChart-JTOG0a7B-DpgA2voA.js} +4 -4
- package/dist/assets/TrendWithTransactions-CTJhTpAM-BQk6HV-p.js +116 -0
- package/dist/assets/{UncategorizedAccountsMappingPage-DbyY-dYB-sq3wEY9K.js → UncategorizedAccountsMappingPage-TGKYpC5A-RvK9bcxw.js} +14 -14
- package/dist/assets/{UnitIntegrationPage-CTzme1te-BHLJji8u.js → UnitIntegrationPage-mt2IjA5X-sxJ5WITz.js} +10 -10
- package/dist/assets/UploadAdditionalDocumentOverlay-DZfpwE5J-DW-djX7x.js +38 -0
- package/dist/assets/Vendor2FAPopup-DAOf5cJD-BPBPmB6-.js +1 -0
- package/dist/assets/VendorACHDetailsPage-CCOupiSZ-CBSNIh8C.js +1 -0
- package/dist/assets/VendorDetailPage-DufNphGD-CYmhQiv4.js +257 -0
- package/dist/assets/VendorDomesticWireDetailsPage-BayV34Rt-Bv9GXuwg.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-himC7iD3-k-hAzNY6.js → VendorFiling1099EditablePage-CRnO7Ubw-D8TJzbQY.js} +13 -13
- package/dist/assets/VendorFirstReviewPage-DA0EL4RJ-B1EJ16cd.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-CS595Xgc-kwJW4_b9.js → VendorInternationalWireDetailsPage-HUtNyn9Z-DME8KQvf.js} +22 -22
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DRVMUeXi-WaJ_bb27.js +1 -0
- package/dist/assets/{VendorsAccountsSection-CgSJu8wq-C7Nrepld.js → VendorsAccountsSection-D6Qa1zf9-uVFUNuqq.js} +4 -4
- package/dist/assets/{VerifyDevice-Dvf0JsNN-LsnrX91W.js → VerifyDevice-B6B_nk3v-Bdkrxio0.js} +12 -12
- package/dist/assets/{VideoPlayer-VAzOGCDL-DVi19FXq.js → VideoPlayer-BRAgZThr-DjmJcTCC.js} +2 -2
- package/dist/assets/{VideoPopup-BqvZ-XIh-BO-XUiUq.js → VideoPopup-C_SkBI9U-BcIEWeMW.js} +5 -5
- package/dist/assets/{WarningsDrawerPage-DeNonoNp-BWZkdUzm.js → WarningsDrawerPage-B3gB3wW7-D2GIDjbZ.js} +8 -8
- package/dist/assets/ZeniAccountDetailPage-Dp-eo-Vq-Bhjoyj-p.js +300 -0
- package/dist/assets/ZeniAccountListViewPage-S-XmAYqD-DifvzT-q.js +441 -0
- package/dist/assets/ZeniAccountNavBarPieces-DhjBxfEr-Cs_0mVt4.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-JrcedQYB-XleDnhH3.js → ZeniAccountPromoPage-BgYCHYLO-Cw7mPD8B.js} +33 -33
- package/dist/assets/ZeniAccountSetupPage-CvnIMdcY-UG3h63JG.js +36 -0
- package/dist/assets/{ZeniCopyright-DglqrTpl-DjLwp-EZ.js → ZeniCopyright-BlLvlGZV-oWH5-_QG.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-BcaZZuAw-Dq1i7GHR.js → ZeniTransferAmountSlider-BNYgPwHs-BkFdMOqg.js} +7 -7
- package/dist/assets/{add-to-wallet-DgdBD8_G-CMYG7KBd.js → add-to-wallet-DgdBD8_G-CQY6YDIS.js} +1 -1
- package/dist/assets/{analytics-Dn0Lw8Hl.js → analytics-Bkw5onLf.js} +1 -1
- package/dist/assets/{analyticsHelper-C_ff58Ox.js → analyticsHelper-BrCWxqsP.js} +1 -1
- package/dist/assets/{analyticsHelper-CAYdbjhS-CSS_jWKh.js → analyticsHelper-CYr5V2MV-D117boEZ.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-0FDs3KeW.js → arrow-south-east-round-PEovUgvH-Bjmr6TY7.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-BKhloLeM.js → auto-transfer-rule-mbafm5D3-CNNhiF_u.js} +1 -1
- package/dist/assets/chartTypes-40RenddT-C3e8npm6.js +1 -0
- package/dist/assets/commonDimensions-BMnB1-xU-BEplFlGz.js +1 -0
- package/dist/assets/{commonTypes-5tEXwrX4-Bo-DjnLD.js → commonTypes-DsWS6Ccc-DEEa_Sk5.js} +1 -1
- package/dist/assets/{constants-BEwjLQPo.js → constants-BjwuG-sL.js} +1 -1
- package/dist/assets/{core-DEFUIdDG.js → core-ChNxRm0V.js} +53 -3
- package/dist/assets/{dash.all.min-BID_vSFD.js → dash.all.min-CPWXIJa3.js} +1 -1
- package/dist/assets/detailCommon-CrcyqWtZ-Y-btcKvT.js +38 -0
- package/dist/assets/downloadPdf-CUUx8PWn-CpeF1exC.js +1 -0
- package/dist/assets/{empty-3lnGe8CJ.js → empty-CbUW6a7c.js} +1 -1
- package/dist/assets/{empty-Bz_9XWq0.js → empty-DB2fqLbL.js} +1 -1
- package/dist/assets/epic-D8ilA7L4.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-aVxGZy29.js → gift-box-Cmt9OgIZ-CAEsBxF-.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-x243rVSC.js → graphic-no-data-l-DU4J8fDt-5QBY0UXm.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-fGjKD-Ct.js → graphic-no-data-net-burn-l-CzmycA0m-hdaFlp9y.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-ubRH-wiz.js → handshake-BPg58FML-ChCbIa55.js} +1 -1
- package/dist/assets/{helper-Ckm10Uko-D3EJmxEw.js → helper-BMiMbXMj-Dmh6E349.js} +5 -5
- package/dist/assets/{index-j3sWBTP6.js → index-B7L93Ji9.js} +1 -1
- package/dist/assets/{index-BTOXr4d7.js → index-DVyniIKO.js} +1 -1
- package/dist/assets/{index-E_BIvVEB.js → index-DlObXRGr.js} +8 -2
- package/dist/assets/{index-Dh51gnjs.js → index-Dpyv5L0j.js} +1 -1
- package/dist/assets/{index-CurP1SOA.js → index-DqZ19at7.js} +4883 -4818
- package/dist/assets/{index-yi6exDCI.js → index-cdfRDhK8.js} +1 -1
- package/dist/assets/{index-C_4SXTa-.js → index-ioI1xYoQ.js} +1 -1
- package/dist/assets/{lexical-C3dXI-1S.js → lexical-1Ygrq4RW.js} +1 -1
- package/dist/assets/{liveblocks-Dud0zcBr.js → liveblocks-BTMi-6jm.js} +15 -2
- package/dist/assets/lottie-DePu4yCn.js +9 -0
- package/dist/assets/mapLoadingInProgressToTreeNode-DGnyXKBT-BYse0ozL.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Cgyt68f3-BBFpEXmY.js → mapSectionWithAcOnlyToTreeNode-BkPRWtaj-hihXzy98.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-CvGdU9Ma-DeFN34g2.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-BCOsOvxo-CSygkCSn.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-DIqYP3NK-R-95BHOA.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-DCo-Luqt.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Ch2rvcz4-27M6rUwe.js} +1 -1
- package/dist/assets/{mui-BxEa6oIz.js → mui-ZYC_cKE8.js} +9 -1
- package/dist/assets/{page-detail-CWX5S47F-DOLPp-eb.js → page-detail-CWX5S47F-DC8jxm5B.js} +1 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-D6-xSZhW.js +4 -0
- package/dist/assets/{radio-default-CiSgisfh-DL8BJVml.js → radio-default-CiSgisfh-BxCWoZze.js} +1 -1
- package/dist/assets/{react-BsuKrOi4.js → react--xqujLHa.js} +12 -2
- package/dist/assets/{react-DM147Gxs.js → react-BKZXD5Oc.js} +12 -2
- package/dist/assets/{react-BNTdaAOY.js → react-BYslFEBJ.js} +12 -2
- package/dist/assets/{react-a0DWg95U.js → react-BwmLfOl6.js} +12 -2
- package/dist/assets/{react-yelseDIT.js → react-C9KgujEQ.js} +13 -3
- package/dist/assets/{react-DPVtQSsy.js → react-IIMWUaFV.js} +12 -2
- package/dist/assets/react-Z0_odY1k.js +37 -0
- package/dist/assets/{react-B5siMDaA.js → react-d6rMgZIK.js} +12 -2
- package/dist/assets/{recharts-CucZZnV5.js → recharts-CPKKNFMD.js} +27 -19
- package/dist/assets/{sentry-CDHeVBhK.js → sentry-DO9J0OD9.js} +17 -2
- package/dist/assets/{shield-DOlUxcFf-BCrG7e7-.js → shield-DOlUxcFf-K7yJVGAq.js} +1 -1
- package/dist/assets/toCOABalancesWithID-DkMGvlEt-BttuYM2L.js +1 -0
- package/dist/assets/toChartData-C6s-eBzE-DfNWG1EA.js +1 -0
- package/dist/assets/{uploadAttachment-Ck4wivBR-D2sssPbg.js → uploadAttachment-BlLqRIXe-BrI0Dxy9.js} +32 -32
- package/dist/assets/uploadReceipts-Dge0cNF1-C53BLsXO.js +1 -0
- package/dist/assets/{url-DAJ1NKPS.js → url-Brmd3733.js} +1 -1
- package/dist/assets/{url-Dz3bE-6e.js → url-VhWKyQz6.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-cX6DxOpZ.js → useLongPress-GCK2COYQ-BBNJdZmN.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-BiUwSUGW.js → usp-line-BBd1wKwW-BjY16bQv.js} +1 -1
- package/dist/assets/{utils-B2bXCuaD.js → utils-CXoyjNuY.js} +38 -4
- package/dist/assets/zeni-epic-state-C5Hzx540.js +151 -0
- package/dist/index.html +1 -1
- package/package.json +6 -6
- package/dist/assets/ACHDetailsPage-B5qIuZya-BmmOKNKt.js +0 -21
- package/dist/assets/AccountInfoPage-Cd5xYT1g-BjYVbnMy.js +0 -18
- package/dist/assets/AccountLockedInfoModal-Dox7IuAX-H_pRx6Xf.js +0 -59
- package/dist/assets/AccountRow-D1cjRJJD-CnHGmlKi.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-DZkBMJfp-CTlBkwH6.js +0 -6
- package/dist/assets/ApAgingDetailPage-CjBrPyi8-DNYyKLZY.js +0 -46
- package/dist/assets/AppDrawerContent-CVVWj66i-BfqcrITU.js +0 -92
- package/dist/assets/ApprovalRulesSettingsPage-Cckd2uVA-CKQBzdAB.js +0 -47
- package/dist/assets/ArAgingDetailPage-i7JObt60-x2wHZEQK.js +0 -46
- package/dist/assets/BalancesInsightWithToolTip-B6umvmgL-DFyn5DU2.js +0 -38
- package/dist/assets/BillDetailPage-XXOwBfO1-CW90EiFi.js +0 -266
- package/dist/assets/BillPayPromoPage-DOE2YIqC-eMf19kde.js +0 -84
- package/dist/assets/BillingSettingsPage-iImtlEmO-NkTGKevj.js +0 -44
- package/dist/assets/ChargeCardPromoPage-DIfakIOK-Bt_RFZVL.js +0 -222
- package/dist/assets/CollapsableReportTable-DNfFkAts-BXskWmz4.js +0 -2982
- package/dist/assets/ConfettiBurst-BZCXEGYA-BuT0DNIg.js +0 -1
- package/dist/assets/CurrencySelectField-BAh7SHrG-C0eRIjkk.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-DApxSm4l.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-Bh_F0-oC-DAVz68Sy.js +0 -66
- package/dist/assets/DashboardSidebarBackgroundAnimation-BtA5oEGG-BE0eZrrp.js +0 -12
- package/dist/assets/DepositAccTransactionItem-CyFi1P_L-B5_uXo_7.js +0 -76
- package/dist/assets/DepositAccTransactionListPage-DvBRRUdZ-DEAnKryS.js +0 -66
- package/dist/assets/DomesticWireDetailsPage-DCDo3aHI-g4hbj-K1.js +0 -21
- package/dist/assets/DownloadOverlay-D_lL1sPW-DOw4m1yt.js +0 -439
- package/dist/assets/EditPeoplePage-QvPy_Six-anrdd6es.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-C0ZDkboO-1LZFYwiw.js +0 -865
- package/dist/assets/EntityDetailPage-l7nXIsyF-BWeJETf7.js +0 -18
- package/dist/assets/ExpenseAutomationPage-DA22Qofw-DO_fqdZH.js +0 -3001
- package/dist/assets/GlobalReviewListPage-D5_ACa-q-DgPiQmby.js +0 -291
- package/dist/assets/InsightsSection-B6CNlTNH-CLcBLG7W.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-COC6lZml-CP2ZasSF.js +0 -65
- package/dist/assets/InviteFormPage-DN02jRy5-BtKUOX8b.js +0 -312
- package/dist/assets/InvitePeoplePage-VTM6kM1u-G3Ul_pWm.js +0 -12
- package/dist/assets/InvoiceUploadSection-it-ZYl1N-BO7KOyKX.js +0 -140
- package/dist/assets/LabeledAddressValueField-BgWwd5Gw-BhvAMjBe.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-CcPO1k23-DrHMqRca.js +0 -16
- package/dist/assets/LabeledDocumentField-C_bcFxdY-DD0gr-bC.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-ScGGCap8-D-kv_bCg.js +0 -59
- package/dist/assets/MagicLinkACHDetailsPage-BSOlSfNu-B1jvyROC.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-D1DTPo0E-RgVjNAqp.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-D_wo_2nm-tnKyOj1K.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-QMkZgQLG-D-HowjcM.js +0 -31
- package/dist/assets/MailingDetailsSection-ByOPaJ05-Ct12OUY5.js +0 -21
- package/dist/assets/MyPendingActivationChargeCardListPage-CX38bDdq-CFKFaD81.js +0 -6
- package/dist/assets/MyProfileSettingsPage-DYu0Fx6I-BtcIqQ7N.js +0 -85
- package/dist/assets/NoDataTable-4vPXmPYF-CwZdP9nM.js +0 -8
- package/dist/assets/NotificationsListConfig-B5pDa4cJ-BswJOyvx.js +0 -1
- package/dist/assets/NotificationsPage-Ccl7Dny1-BlIM0WaT.js +0 -685
- package/dist/assets/OpExByVendorPage-spd-nKV4-DL88DIG2.js +0 -100
- package/dist/assets/PandLWithForecastPage-TSoe4Z7F-D4kqBVQ1.js +0 -123
- package/dist/assets/PeoplePage-b5_I0qOw-C1yNgQZU.js +0 -727
- package/dist/assets/QBOSetupSection-DjnN9dgv-ISynvMy-.js +0 -79
- package/dist/assets/ReimbursementApprovalRuleDetailPage-D5NXjrO9-D9uPP3dw.js +0 -32
- package/dist/assets/ReimbursementDetailPage-BbyxE2uL-0loMmewR.js +0 -314
- package/dist/assets/ReimbursementPromoPage-CyEgwqcf-CgriiA9d.js +0 -84
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-DnmYl0FM-Bhe1TAsD.js +0 -1
- package/dist/assets/ReportTableViewSelector-Bc1K7mU_-Cq7HHLUo.js +0 -151
- package/dist/assets/ReportsPage-BOTHMLWh-W09uRSHp.js +0 -269
- package/dist/assets/ScheduleDetailsFixedAssetsPage-DiL5Dozk-CCcAk0g0.js +0 -37
- package/dist/assets/ScheduleDetailsPage-5FWpLRtd-oIb8NDEV.js +0 -37
- package/dist/assets/ScheduleSequenceTable-R3-PsXES-ClyCeUfL.js +0 -326
- package/dist/assets/SignIn-CmgmnRm4-CTHQKiMt.js +0 -491
- package/dist/assets/SignInScreen-D6DML_Ge.js +0 -1
- package/dist/assets/SpendManagementListViewPage-CFUxCqkU-BAqTaSS5.js +0 -134
- package/dist/assets/StatementsPage-As5WOnMR-k_kQpGjl.js +0 -58
- package/dist/assets/SubTabSwitcher-D7QeM6nb-qtx8MdsY.js +0 -58
- package/dist/assets/SummaryCard-C2qoTsAY-DDjCmaHn.js +0 -1
- package/dist/assets/TaskManagementPage-BJwp32Ph-DovQ5Y6P.js +0 -508
- package/dist/assets/TimeRangeSwitcher-D00bDDhP-DYi-s0cU.js +0 -64
- package/dist/assets/TimeframeSwitcher-DA99HdHt-NQjsVR_-.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-DyggDIQj-yshKro9r.js +0 -53
- package/dist/assets/TransactionDetailPage-1-mLOWSz-DT3B6GWp.js +0 -903
- package/dist/assets/TransactionList-BB-xoIGm-WH6cmyEO.js +0 -153
- package/dist/assets/TransactionListPage-Cj7h1Ros-D83WnCkA.js +0 -35
- package/dist/assets/TreasuryOverviewPage-DwvjMR4_-DY1oE8mV.js +0 -725
- package/dist/assets/TreasuryStatementsPage-Catz8shX-jQUbirVv.js +0 -58
- package/dist/assets/TreasuryTaxLetterPage-D8hzCL5o-6uZaRuCs.js +0 -58
- package/dist/assets/TrendWithTransactions-3D1FvM8G-C__bS1bm.js +0 -116
- package/dist/assets/UploadAdditionalDocumentOverlay-Wl4Spdpn-CbLtbJQH.js +0 -38
- package/dist/assets/Vendor2FAPopup-D0zYKkIv-BygCz9U8.js +0 -1
- package/dist/assets/VendorACHDetailsPage-YYX9aQdw-Dd_Yp7Po.js +0 -1
- package/dist/assets/VendorDetailPage-Br9wIOnI-D7IvjenZ.js +0 -257
- package/dist/assets/VendorDomesticWireDetailsPage-BpPgQRHI-3VolPNUI.js +0 -1
- package/dist/assets/VendorFirstReviewPage-BbknTCBD-CXQ3X7Oj.js +0 -730
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-yhTjWXvw-QYQGZ34-.js +0 -1
- package/dist/assets/ZeniAccountDetailPage-GcwTJdB8-CbR031ng.js +0 -300
- package/dist/assets/ZeniAccountListViewPage-CdwO0Duy-DHL8XcBW.js +0 -443
- package/dist/assets/ZeniAccountNavBarPieces-BrSIfL36-rP8-LNeM.js +0 -33
- package/dist/assets/ZeniAccountSetupPage-TKBfbgzJ-LpNGhMSo.js +0 -36
- package/dist/assets/chartTypes-CD3vrBsI--X3YDFNJ.js +0 -1
- package/dist/assets/commonDimensions-Oz1tdAcx-DcNBG7HB.js +0 -1
- package/dist/assets/downloadPdf-Dsuxeias-Cm2qRseb.js +0 -1
- package/dist/assets/epic-DmCiRuzo.js +0 -2
- package/dist/assets/lottie-Cne2KPqn.js +0 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-jcHEi-mv-CGykrO8u.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-XgUp1xUb-CG1HpWw1.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Bre8FfBF-CoJtwaHe.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DOyCX6ij-BEXH0Sn-.js +0 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-BYkFfnSr.js +0 -3
- package/dist/assets/react-Bug7UPVd.js +0 -19
- package/dist/assets/toCOABalancesWithID-aLNB35t7-a6z4p0gt.js +0 -1
- package/dist/assets/toChartData-DUL6vnzJ-DBy9U-ty.js +0 -1
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-CTAMYaR4.js +0 -1
- package/dist/assets/uploadReceipts-CIgkuVpu-CJ8IdAY6.js +0 -1
- package/dist/assets/zeni-epic-state-B4EHkeVq.js +0 -14
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import{g as U,e as G,ay as V,O as p,aX as x,V as t,bE as E,L as N,fI as b,dS as S,x as d,o as k,ao as O,w as j,u as o}from"./index-CurP1SOA.js";import{n as l}from"./mui-BxEa6oIz.js";import{Gu as J,Gv as X}from"./zeni-epic-state-B4EHkeVq.js";import"./sentry-CDHeVBhK.js";import"./liveblocks-Dud0zcBr.js";import"./core-DEFUIdDG.js";import"./recharts-CucZZnV5.js";import"./lottie-Cne2KPqn.js";import"./analytics-Dn0Lw8Hl.js";import"./lexical-C3dXI-1S.js";import"./utils-B2bXCuaD.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="de110e98-f2cf-40db-9c41-6486dd149834",e._sentryDebugIdIdentifier="sentry-dbid-de110e98-f2cf-40db-9c41-6486dd149834")}catch{}})();const n={sectionRowGap:new d(o[4],o[8],o[8]),lastSectionPaddingBottom:new d(o[7],o[10],o[10]),iconWidthHeight:new d(20,o[4]),subtitleSectionWidth:new d(343,580,1200)},ue=({billpayApprovalView:e,remiApproverView:a,currentTenant:c,onBackClick:R,onClickMenuIcon:I,onSetupApprovalRulesBillPaySectionClick:P,onSetupApprovalRulesRemiSectionClick:T})=>{const r=U(),i=G(),u=V(),{fetchState:g,allApprovalRules:m,approvalRulesStatus:z}=e,{fetchState:h,allApprovalRules:f,approvalRulesStatus:$}=a,{commonSetUp:A,spendManagement:C}=p.getLocalizedStrings(),w=p.getLocalizedStrings().common.settings,y=p.getLocalizedStrings().common.headers,{billPay:B,reimbursement:L}=C,{billPaySetup:M}=B,{reimbursementSetup:W}=L,{setUp:s}=A,D=g==="In-Progress"||h==="In-Progress"||g==="Not-Started"||h==="Not-Started",v=r.mode==="light"?new x(r.colors.brandColorJadeLight):new x(r.colors.brandColorJadeDark),H=J(c,u.loggedInUserRoleMap),_=X(c,u.loggedInUserRoleMap);return t.jsxs(Q,{children:[t.jsx(E,{source:"ApprovalRulesSettingsPage",title:w.title.approvalRules,backgroundColor:r.colors.grey4,style:{zIndex:3},onBackClick:R,showBackButton:!1,showMenuIcon:i==="medium-compact"||i==="small",onClickMenuIcon:I}),t.jsx(Y,{windowSize:i,children:D?t.jsx(Z,{children:t.jsx(N,{size:"ExtraLarge",start:!0})}):t.jsxs(F,{children:[t.jsx(K,{windowSize:i,children:t.jsx(ee,{windowSize:i,children:w.infoText.approvalRules})}),t.jsxs(q,{windowSize:i,children:[H===!0&&t.jsx(b,{title:m.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:M.approvalSubTitle,header:y.bills,icon:{element:t.jsx(S,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:v},onClick:P,status:m.length>0?z:void 0}),_===!0&&t.jsx(b,{title:f.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:W.approvalSubTitle,header:y.reimbursements,icon:{element:t.jsx(S,{height:n.iconWidthHeight.valuePx(i)}),color:v},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},onClick:T,status:f.length>0?$:void 0})]})]})})]})},F=l.div`
|
|
2
|
-
width: 100%;
|
|
3
|
-
margin: auto;
|
|
4
|
-
display: flex;
|
|
5
|
-
justify-content: flex-start;
|
|
6
|
-
height: 100%;
|
|
7
|
-
overflow-y: auto;
|
|
8
|
-
flex-direction: column;
|
|
9
|
-
align-items: center;
|
|
10
|
-
`,Q=l.div`
|
|
11
|
-
display: flex;
|
|
12
|
-
min-height: 100%;
|
|
13
|
-
flex-direction: column;
|
|
14
|
-
row-gap: ${k.sp3};
|
|
15
|
-
width: 100%;
|
|
16
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
17
|
-
`,Y=l.div`
|
|
18
|
-
display: flex;
|
|
19
|
-
height: 100%;
|
|
20
|
-
overflow-y: auto;
|
|
21
|
-
justify-content: center;
|
|
22
|
-
`,Z=l.div`
|
|
23
|
-
display: flex;
|
|
24
|
-
width: 100%;
|
|
25
|
-
height: calc(100vh - 110px);
|
|
26
|
-
flex-direction: row;
|
|
27
|
-
justify-content: center;
|
|
28
|
-
align-items: center;
|
|
29
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
30
|
-
`,q=l.div`
|
|
31
|
-
display: flex;
|
|
32
|
-
flex-direction: column;
|
|
33
|
-
row-gap: ${e=>n.sectionRowGap.valuePx(e.windowSize)};
|
|
34
|
-
`,K=l(O)`
|
|
35
|
-
display: flex;
|
|
36
|
-
justify-content: center;
|
|
37
|
-
align-items: center;
|
|
38
|
-
width: ${e=>n.subtitleSectionWidth.valuePx(e.windowSize)};
|
|
39
|
-
margin-bottom: ${k.sp5};
|
|
40
|
-
`,ee=l.div`
|
|
41
|
-
display: flex;
|
|
42
|
-
align-items: center;
|
|
43
|
-
|
|
44
|
-
color: ${e=>e.theme.colors.hero};
|
|
45
|
-
font-family: ${j.largeMedium.fontFamily};
|
|
46
|
-
${j.standardRegular.css};
|
|
47
|
-
`;export{ue as default};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import{g as R,e as B,V as o,bT as H,gk as V,bD as K,cu as J,bE as U,O as _,o as A,aV as q,x as z,bF as G,cn as Q,co as W,cp as X,u as y}from"./index-CurP1SOA.js";import{a as b}from"./sentry-CDHeVBhK.js";import{n as s}from"./mui-BxEa6oIz.js";import{L as Z,D as ee}from"./EntitySummarySection-BwX0a4JL-Cb_9slBS.js";import"./liveblocks-Dud0zcBr.js";import"./core-DEFUIdDG.js";import"./recharts-CucZZnV5.js";import"./zeni-epic-state-B4EHkeVq.js";import"./lottie-Cne2KPqn.js";import"./analytics-Dn0Lw8Hl.js";import"./lexical-C3dXI-1S.js";import"./utils-B2bXCuaD.js";import"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="6e1d1171-b7e8-4227-bc2c-42e880768927",e._sentryDebugIdIdentifier="sentry-dbid-6e1d1171-b7e8-4227-bc2c-42e880768927")}catch{}})();const C={wrapperContainerMarginTop:new z(y[4],y[0]),wrapperContaineHorizontalrMargin:new z(y[0],y[8])},{common:oe,reports:{common:te,aging:{agingDetail:re}},dateFormat:M}=_.getLocalizedStrings();function Ie(e){const l=R(),c=B(),{arAgingDetail:t,downloadParams:d,reportDate:r,analytics:n,onReload:a,onBackClick:h,onColumnSortConfigChanged:m,updateDownloadStateHandler:w,onTransactionClick:T,sidePanelIsOpen:N,sidePanelIsFullView:F,panelContent:E}=e,{authParams:v,downloadEndPoint:S,timezone:I}=d,{fetchState:p,invoices:k,arAgingDetailUIState:P,customer:i,totalBalances:O}=t,{sortKey:x,sortOrder:D,downloadState:u}=P,[j,$]=b.useState(!1),L=b.useCallback((g,f)=>{t.customer!=null&&n.trackArAgingDetailReportSortChange(g,f,r.format(M.analytics.YYYYDashMMDashDDFormat),t.customer.id,t.customer.name),m(g,f)},[t.customer,m,n,r]);if(b.useEffect(()=>{async function g(){const f={companyName:d.companyName,sortKey:x,sortOrder:D,statementFileType:"excel",reportId:"accounts_receivable_aging",entityId:i?.id??"",timezone:I,reportDate:r};await ne(S,v,f),w("Completed"),t.customer!=null&&n.trackApAgingDetailReportDownload(x,D,r.format(M.analytics.YYYYDashMMDashDDFormat),t.customer.id,t.customer.name)}j&&u!=="In-Progress"&&($(!1),w("In-Progress"),g())},[v,S,d.companyName,u,j,r,x,D,I,w,i?.id,t.customer,n]),p==="Error")return o.jsxs(se,{children:[o.jsx(le,{onClick:a,children:o.jsx(H,{})}),o.jsx(ce,{children:te.failed})]});if(p==="In-Progress"||p==="Not-Started")return o.jsx(V,{fetchState:p});const Y=o.jsx(G,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:u==="In-Progress"}],onDownloadClick:async g=>{if(g==="excel")if(u==="In-Progress"){console.log("Download is already in progress!");return}else $(!0)}}}});return o.jsx(K,{isOpen:N??!1,isFullView:F??!1,panelContent:E,headerContent:o.jsxs(o.Fragment,{children:[o.jsx(U,{title:oe.strings.empty,backgroundColor:l.colors.grey5,onBackClick:h,rightSideComponent:Y,downloadPresent:!0,source:"ArAgingDetailPage"}),o.jsx(ee,{totalBalances:O,entityName:i?.name??"",entityLogo:i?.logo,reportId:"accounts_receivable_aging",reportDate:r})]}),listContent:o.jsx(de,{children:o.jsx(ge,{windowSize:c,children:o.jsx(me,{windowSize:c,children:k.length===0||i==null?o.jsx(J,{message:re.noDataText}):o.jsx(ie,{windowSize:c,children:o.jsx(Z,{uiState:P,invoices:k,entityName:i.name,entityLogo:i.logo,onColumnSortConfigChanged:L,onTransactionClick:T})})})})})})}async function ne(e,l,c){const t=`${e}?query=${encodeURIComponent(JSON.stringify(ae(c)))}`,d=_.getLocalizedStrings(),r=d.reports.aging.arAging.arAging,n=d.download;try{const a=await Q({urlEndPoint:t,authParams:l,fileType:"excel"});if(a.ok){const h=W(a.headers,n.defaultFileName),m=await a.arrayBuffer();X(m,h)}else console.error(`${n.errorMessages.fileDownloadError.replace("__feature__",r)} ${a.statusText}`)}catch(a){console.error(`${n.errorMessages.fileDownloadError.replace("__feature__",r)} ${JSON.stringify(a)}`)}}function ae(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:_.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}const ie=s.div`
|
|
2
|
-
height: 100%;
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
max-width: 99.9%;
|
|
6
|
-
`,se=s.div`
|
|
7
|
-
display: flex;
|
|
8
|
-
width: 100%;
|
|
9
|
-
height: calc(100% - 60px);
|
|
10
|
-
flex-direction: column;
|
|
11
|
-
justify-content: center;
|
|
12
|
-
align-items: center;
|
|
13
|
-
`,le=s.div`
|
|
14
|
-
height: 96px;
|
|
15
|
-
width: 96px;
|
|
16
|
-
background: ${e=>e.theme.colors.background};
|
|
17
|
-
border-radius: 50%;
|
|
18
|
-
cursor: pointer;
|
|
19
|
-
& svg {
|
|
20
|
-
margin: ${A.sp5};
|
|
21
|
-
color: ${e=>e.theme.colors.grey1};
|
|
22
|
-
}
|
|
23
|
-
&:hover {
|
|
24
|
-
& svg {
|
|
25
|
-
color: ${e=>e.theme.colors.primary};
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
`,ce=s(q)`
|
|
29
|
-
margin-top: ${A.sp3};
|
|
30
|
-
color: ${e=>e.theme.colors.hero};
|
|
31
|
-
`,de=s.div`
|
|
32
|
-
display: flex;
|
|
33
|
-
min-height: 100%;
|
|
34
|
-
flex-direction: column;
|
|
35
|
-
width: 100%;
|
|
36
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
37
|
-
`,ge=s.div`
|
|
38
|
-
display: block;
|
|
39
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
40
|
-
height: calc(100vh - 178px);
|
|
41
|
-
margin-top: ${e=>C.wrapperContainerMarginTop.valuePx(e.windowSize)};
|
|
42
|
-
`,me=s.div`
|
|
43
|
-
margin-left: ${e=>C.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
|
|
44
|
-
margin-right: ${e=>C.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
|
|
45
|
-
height: 100%;
|
|
46
|
-
`;export{Ie as default,ae as toDownloadAgingDetailedReportOptionsPayload};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import{e as x,V as e,ac as c,aq as $,b_ as g,o as i,bu as y,bM as u,x as p,an as S,u as h}from"./index-CurP1SOA.js";import{a as z}from"./sentry-CDHeVBhK.js";import{n as t,c as j}from"./mui-BxEa6oIz.js";import{J as v}from"./CollapsableReportTable-DNfFkAts-BXskWmz4.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new o.Error().stack;s&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[s]="01ca30d2-0b24-41e4-ae44-5a6b3fa4c062",o._sentryDebugIdIdentifier="sentry-dbid-01ca30d2-0b24-41e4-ae44-5a6b3fa4c062")}catch{}})();const w={tooltipLeftPosition:new p(h[0],-156),tooltipTopPosition:new p(h[3],h[4]),tooltipWidth:new p(300,350)},b=j`
|
|
2
|
-
position: relative;
|
|
3
|
-
`,T=t.div`
|
|
4
|
-
color: ${o=>o.theme.colors.primary};
|
|
5
|
-
${o=>o.windowSize==="small"?b:null}
|
|
6
|
-
`,k=t(g)``,D=t.div`
|
|
7
|
-
display: inline-block;
|
|
8
|
-
padding-left: ${i.sp2};
|
|
9
|
-
vertical-align: middle;
|
|
10
|
-
${o=>o.windowSize!=="small"?b:null}
|
|
11
|
-
`,P=t(y)`
|
|
12
|
-
padding-left: ${i.sp3};
|
|
13
|
-
`,I=t(u)`
|
|
14
|
-
width: ${i.sp4};
|
|
15
|
-
height: ${i.sp4};
|
|
16
|
-
color: ${o=>o.theme.colors.grey1};
|
|
17
|
-
&:hover {
|
|
18
|
-
color: ${o=>o.theme.colors.champion};
|
|
19
|
-
}
|
|
20
|
-
`,_=t(u)`
|
|
21
|
-
width: ${i.sp4};
|
|
22
|
-
height: ${i.sp4};
|
|
23
|
-
|
|
24
|
-
fill: ${o=>o.theme.colors.primary};
|
|
25
|
-
`,C=t.div`
|
|
26
|
-
background-color: ${o=>o.theme.colors.grey5};
|
|
27
|
-
position: absolute;
|
|
28
|
-
padding: ${i.sp4};
|
|
29
|
-
border: 1px solid ${o=>o.theme.colors.grey3};
|
|
30
|
-
box-shadow: ${i.sp0} 2px ${i.sp1} ${o=>o.theme.colors.dropShadowNormal};
|
|
31
|
-
border-radius: ${i.sp1};
|
|
32
|
-
z-index: 1;
|
|
33
|
-
left: ${o=>w.tooltipLeftPosition.valuePx(o.windowSize)};
|
|
34
|
-
width: ${o=>w.tooltipWidth.valuePx(o.windowSize)};
|
|
35
|
-
top: calc(100% + ${o=>w.tooltipTopPosition.valuePx(o.windowSize)});
|
|
36
|
-
`,E=t(S)`
|
|
37
|
-
color: ${o=>o.theme.colors.hero};
|
|
38
|
-
`,V=o=>{const{infotipDescription:s,windowSize:n,isToolTipOpen:l}=o;return l===!1?null:e.jsx(C,{windowSize:n,children:e.jsx(E,{children:s})})};function O({balance:o,dateText:s,showInfotip:n,infotipDescription:l}){const a=x(),[f,d]=z.useState(!1),m=()=>f?e.jsx(_,{onClick:()=>{d(r=>!r)}}):e.jsx(I,{onClick:()=>{d(r=>!r)}});return e.jsxs(T,{windowSize:a,"data-testid":c("balances-insight"),children:[e.jsx(k,{"data-testid":c("balances-insight","amount"),children:v(o)}),e.jsx(P,{"data-testid":c("balances-insight","date"),children:s}),n===!0?e.jsx($,{onClickAway:()=>d(!1),children:e.jsxs(D,{windowSize:a,children:[e.jsx(m,{}),e.jsx(V,{isToolTipOpen:f,infotipDescription:l,windowSize:a})]})}):null]})}export{O as H};
|
|
@@ -1,266 +0,0 @@
|
|
|
1
|
-
import{ay as Ft,V as t,gv as Un,e as Kn,g as Hn,bQ as qn,bR as Xn,gw as Gn,gx as Yn,cl as Jn,aS as Qn,x as y,fo as pt,fp as ea,o as a,fq as ta,fr as na,fs as aa,aQ as Ce,ft as ia,ac as x,bE as mt,bq as ut,dE as yt,cy as ht,cz as bt,cA as gt,gy as la,gz as oa,gA as ra,gB as sa,dN as j,gC as $,fz as A,dT as k,fx as da,w as xt,d as re,fy as _t,fF as ca,fA as pa,fB as ma,gD as ua,gE as ya,aT as ha,aq as ft,c1 as De,bU as ba,gF as L,O as ga,u as s,ai as xa,cc as fa,bV as wa,b as Ta,gG as va,fG as wt,N as Da,de as Ia,cq as ja,gH as Tt,b9 as $a,bb as Aa,n as ka,c3 as Wt,df as Sa,gI as Ca,ak as Zt,ax as Pa,b7 as Ba,bv as Ra,gJ as za,an as Ma}from"./index-CurP1SOA.js";import{a as p}from"./sentry-CDHeVBhK.js";import{n as i}from"./mui-BxEa6oIz.js";import{bY as Na,bL as La,bZ as Ea,GD as Oa,bX as Fa,bH as _a,bh as Wa}from"./zeni-epic-state-B4EHkeVq.js";import{o as Za,t as Va}from"./LowBalancePopup-1727S1ri-n2U-sV_W.js";import"./liveblocks-Dud0zcBr.js";import"./core-DEFUIdDG.js";import"./recharts-CucZZnV5.js";import"./lottie-Cne2KPqn.js";import"./analytics-Dn0Lw8Hl.js";import"./lexical-C3dXI-1S.js";import"./utils-B2bXCuaD.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},b=new e.Error().stack;b&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[b]="b2308c82-616a-4742-ae06-1dbd85df0d02",e._sentryDebugIdIdentifier="sentry-dbid-b2308c82-616a-4742-ae06-1dbd85df0d02")}catch{}})();const Ua=e=>p.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",...e},p.createElement("g",{id:"Layer_1"},p.createElement("path",{fill:"none",stroke:"#757d7e",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",d:"M4.4,30.6l6-5.9c1,.6,2.1.9,3.3,1,1.1.1,2.3,0,3.4-.4,1.1-.4,2.1-.9,2.9-1.7.9-.8,1.5-1.7,2-2.7,0-.1,0-.2,0-.4,0-.1,0-.2-.1-.3,0-.1-.2-.2-.3-.2-.1,0-.2,0-.4,0h-4.6c-.8,0-1.6-.3-2.1-.9-.6-.6-.9-1.3-.9-2.1s.3-1.5.9-2.1c.6-.6,1.3-.9,2.1-.9h3.8c.1,0,.3,0,.4-.1s.2-.2.3-.3c0-.1,0-.3,0-.4,0-.1,0-.3-.1-.4-1.3-1.6-3.1-2.7-5.2-3.1-2.1-.4-4.2,0-5.9,1.2-1.8,1.1-3,2.8-3.5,4.8s-.2,4.1.8,5.9l-6.1,5.7,3.3,3.3Z"})),p.createElement("g",{id:"Layer_2"},p.createElement("g",null,p.createElement("path",{fill:"#c27419",stroke:"#f3f7f7",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round",d:"M31,8c0,1.9-.7,3.8-2.1,5.1-1.3,1.4-3.2,2.2-5.1,2.2-.9,0-1.9-.2-2.7-.5-.9-.3-1.7-.9-2.3-1.5-.7-.7-1.2-1.4-1.6-2.3-.4-.9-.6-1.8-.6-2.7,0-1.9.7-3.8,2.1-5.1,1.3-1.4,3.2-2.2,5.1-2.2.9,0,1.9.2,2.7.5.9.3,1.7.9,2.3,1.5.7.7,1.2,1.4,1.6,2.3.4.9.6,1.8.6,2.7Z"}),p.createElement("path",{fill:"none",stroke:"#f3f7f7",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round",d:"M23.8,9.4v-4.6"}),p.createElement("path",{fill:"none",stroke:"#f3f7f7",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round",d:"M23.8,11.4s0,0,0,0c0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.1,0,0,0,0,.1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0-.1,0,0,0,0-.1,0h0"})))),Ka={formTitle:new Da("h6Medium","h5Medium")},m={containerPaddingLeft:new y(s[3],s[6],s[6]),containerPaddingRight:new y(s[3],s[6],s[8]),marginBottom:new y(s[3],s[3]),labelWidth:new y(120,160,160),formTitlePaddingLeftRight:new y(30,0),marginTop:new y(s[1],0),rightIconsGap:new y(s[4],s[5]),closeContainerMarginTop:new y(s[1],0),formTitleMarginTopBottom:new y(0,0),footerButtonWidth:new y(120,120,120,165,165),right:new y(s[3],s[0]),actionsContainerRight:new y(s[0],s[3],s[3],s[6],s[6]),otherActionsIconContainerMarginLeft:new y(s[5],s[4],s[4],s[5]),otherActionsContainerBottom:new y(58,44),iconContainerMarginTop:new y(2,s[1]),recurringSchedulePaddingLeft:new y(s[2],0),paddingRight:new y(s[2],s[3]),labelMarginRight:new y(s[0],s[3]),textPadding:new y(s[0],s[3]),additionalTextMarginTop:new y(-4,0),refundPopupWidth:new y(300,420,420),drawerSectionPaddingLeftRight:new y(s[4],s[5]),infoLabelPaddingRight:new y(s[3],s[3]),infoLabelMarginTop:new y(s[1],s[0]),navBarHeight:new y(0,0,s[8]),navBarContainerWidth:new y(100,58)},{dateFormat:Ha,common:{noText:C,strings:{empty:c},currency:vt,via:qa,more:Xa,edit:Ga},spendManagement:{billPay:{billDetails:n,billsByTabs:Pe,bulkActions:Dt,vendorCreation:Ie,insufficientFunds:Vt}},collaboration:{threads:{placeholder:It,tooltip:jt,title:{comments:Ya}}}}=ga.getLocalizedStrings(),je=Ha.visual.MMMDCommaYYYYformat,$t=({billDetails:e,currentTenant:b,showApproveRejectBtns:h,isShowDeletedBillsEnabled:F,signedInUser:_,isAdmin:se,isRealTimeApprovalEnabled:Ut,isInternationalPaymentShaVsOurEnabled:Kt,hasZeniAssistAccess:Ht,analytics:M,showMarkAsPaidButtonToCreator:U,showMarkAsPaidButtonToApprover:Be,isBillPayCommentingEnabled:Re,isZeniUser:qt,showBackButton:ze=!0,isDetectInsufficientFundsEnabled:Xt,redirectToEditableBillScreen:Gt,redirectToBillsScreen:J,discardBillDetailsFromLocalStore:Me,deleteBill:Yt,cancelAndDeleteBill:Ne,approveOrRejectBill:Le,onAddNewRule:Jt,onAttachmentClick:Ee,saveBillDetails:Qt,discardOutsideZeniPaymentData:en,onBackClick:Oe,updateEditRealTimeApproverClicked:tn,onSaveRealTimeApprovals:nn,onRetryPaymentClick:an,onRefundPaymentClick:ln,initialOpenThreadRequest:K})=>{const l=Kn(),o=Ft(),Fe=Hn(),[on,H]=p.useState(!1),[_e,de]=p.useState(!1),[ce,pe]=p.useState(!1),[We,me]=p.useState(!1),[rn,ue]=p.useState(!1),[Ze,Q]=p.useState(!1),g=e.transactionDetails?.id,sn=qt?qn:Xn,{requestToOpenThread:ye,setRequestToOpenThread:ee,setOpenThread:te}=p.useContext(sn);p.useEffect(()=>{K?.threadId!=null&&K?.companyId!=null&&K?.entityType!=null&&ee(K)},[K,ee]);const[dn,q]=p.useState(!1),T={application:"dashboard",companyId:o.currentTenant?.companyId,tab:"bill",entityId:g,isGlobalComment:!1},f=Re&&g!=null,{threads:X,isLoading:P}=Gn(),Ve=p.useMemo(()=>g==null?[]:X.filter(r=>r.resolved===!1&&!r.id.includes(Yn)),[X,g]).length,D=`dashboard_${o.currentTenant?.companyId}`,cn=p.useCallback((r,u)=>{te(u),q(!1)},[te,q]);p.useEffect(()=>{ye?.threadId!=null&&X.length>0&&!P&&(te(ye.threadId),ee(null))},[ye,X,P,te,ee]);const Ue=p.useRef(!1),[pn,mn]=p.useState(!1),un=p.useRef(r=>{r&&!Ue.current&&(Ue.current=!0,mn(!0))});Jn({componentName:"bill.details",enabled:pn});const[N,ne]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[Ke,He]=p.useState("approved"),[yn,qe]=p.useState(!1),[hn,Xe]=p.useState(!1),[Ge,Ye]=p.useState(!1),Je=()=>qe(!1),bn=()=>qe(!0),Qe=Qn(e.zeniAssist?.refundStatus.fetchState),ae=p.useCallback(()=>{J()},[J]);p.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed"||e.billSaveStatus==="Completed")&&(Me(),J())},[e,J,Me]),p.useEffect(()=>{Qe==="In-Progress"&&(e.zeniAssist?.refundStatus.fetchState==="Completed"||e.zeniAssist?.refundStatus.fetchState==="Error")&&(pe(!1),ae())},[Qe,e.zeniAssist?.refundStatus,ae]);const w=e.transactionDetails?.billPayInfo.stage,ie=e.transactionDetails?.billPayInfo.billStatus,G=e.transactionDetails?.billPayInfo.billPaymentStatus,gn=e.transactionDetails?.billPayInfo.billPaymentRefundStatus,he=w?.code==="paid",v=he?w:ie?.code=="approved"&&G?.code?G:ie,S=Ja(v,e.transactionDetails),E=e.transactionDetails?.billPayInfo.isRefundInitiated===!0?gn:G?.code!=null&&(ie?.code=="approved"||G.code==="mark_as_paid")?G:ie,be=e.transactionDetails?.vendor?.name,B=e.isRecurring,et=()=>{e.transactionDetails?.id!=null&&Gt(e.transactionDetails?.id??"")},xn=()=>{ne({title:B?n.recurringBill.deleteRecurringTitle:n.deleteBillTitle,description:B?n.recurringBill.deleteRecurringAlertText:n.deleteAlertDescription,primaryButtonText:n.delete,secondaryButtonText:n.cancel}),H(!0)},fn=()=>{ne({title:n.cancelBillTitle,description:n.cancelAlertDescription,primaryButtonText:n.yes,secondaryButtonText:n.no}),H(!0)},wn=()=>{ne({title:B?n.recurringBill.cancelAndDeleteRecurringTitle:n.cancelAndDeleteBillTitle,description:B?n.recurringBill.cancelAndDeleteRecurringAlertText:n.cancelAndDeleteAlertDescription,primaryButtonText:n.yes,secondaryButtonText:n.no}),H(!0)},Tn=()=>{M.trackRefundClick(v?.code??"",w?.code??"",E?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??""),ne({title:n.zeniAssist.refundTitle,description:n.zeniAssist.refundDescription,primaryButtonText:n.zeniAssist.proceed,secondaryButtonText:n.cancel}),pe(!0)},vn={onOkClick:()=>{H(!1),N.primaryButtonText===n.delete?Yt?.(e.isRecurring):N.title===n.cancelBillTitle?Ne?.(e.isRecurring):N.title===n.cancelAndDeleteBillTitle||N.title===n.recurringBill.cancelAndDeleteRecurringTitle?Ne?.(e.isRecurring,!0):N.primaryButtonText===n.zeniAssist.proceed&&(M.trackRefundConfirmClick(v?.code??"",w?.code??"",E?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??""),ln())},onCancelClick:()=>{H(!1),pe(!1)}},Dn={onOkClick:r=>{ue(!1),Le({billId:e.transactionDetails?.id??"",type:"rejected",description:r})},onCancelClick:()=>{ue(!1)}},In=()=>{const[r]=Pa("ZeniAssist");return r!=null?t.jsx(Ba,{"data-testid":x("bill-details-zeni-assist-icon",g),onClick:()=>{me(!We),M.trackZeniAssistClick(v?.code??"",w?.code??"",E?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??"")},style:{width:`${a.sp5}`,height:`${a.sp5}`,marginBottom:`${a.sp2}`},animationData:r,loop:!0,play:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null},le={invoiceNumber:e.transactionDetails?.documentId??"",invoiceDate:e.transactionDetails?.date,billDueDate:e.transactionDetails?.dueDate,memo:e.transactionDetails?.memo,currencyCode:e.vendorCurrency??vt.currencyCode},ge=e.transactionDetails?.lines?.map((r,u)=>{const R=r;return{lineIndex:u,lineId:R.id,account:R.account,class:R.class,amount:R.amount.amount,billable:R.billable,customer:R.customer,lineDescription:R.lineDescription,recipientAmount:R.recipientAmount?.amount}})??[],jn=e.transactionDetails?.recipientTotalAmount.amount??0,xe=e.transactionDetails?.recipientTotalAmount,d={paymentType:e.paymentMethodType,paymentDate:e.transactionDetails?.billPayInfo.paymentDate,internationalTransferFeeBearerPaymentMethod:e.transactionDetails?.billPayInfo.internationalTransferFeeBearerPaymentMethod,paymentToBankAccount:e.bankAccount,paymentToPI:e.paymentInstrument},I=m.labelWidth.value(l),$n=r=>r==="billable"||r==="has_been_billed"?n.yes:n.no,An=d.paymentToBankAccount?.bankAccountNumber?d.paymentToBankAccount?.bankAccountNumber?.slice(d.paymentToBankAccount?.bankAccountNumber?.length-4):d.paymentType?.method?.includes("international")&&d.paymentToBankAccount?.bankAccountIban?d.paymentToBankAccount?.bankAccountIban?.slice(d.paymentToBankAccount?.bankAccountIban.length-4):"",kn=d.paymentToBankAccount?.bankAccountName!=null&&d.paymentToBankAccount?.bankAccountName!=""?d.paymentToBankAccount?.bankAccountName:`${e.transactionDetails?.vendor?.name} - ${d.paymentToBankAccount?.bankName} XXXX${An}`,Sn=e.transactionDetails?.billPayInfo?.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${n.magicLink.collectFrom} ${e.transactionDetails?.billPayInfo?.toAccountVendorEmail}`,t.jsx($i,{windowSize:l,children:t.jsx(ji,{})})]}):void 0,tt=e.transactionDetails?.date!=null&&e.transactionDetails.bookCloseDate!=null&&e.transactionDetails.date.isBefore(e.transactionDetails.bookCloseDate),Cn=()=>{const r=d?.paymentToBankAccount?.bankAccountType,u=r!=null&&r!==""?Sa(r.toLowerCase()):r??"";return`${Ie.achDetails.bankRoutingNumber} ${d?.paymentToBankAccount?.bankRoutingNumberAch}, ${d?.paymentToBankAccount?.bankName}
|
|
2
|
-
${Ie.achDetails.bankAccountNumber} ${d?.paymentToBankAccount?.bankAccountNumber}, ${Ie.achDetails.accountTypeLabel} ${u}`},oe=e.transactionDetails?.billPayInfo!=null?Na(e.transactionDetails?.billPayInfo):void 0,Pn=oe!=null&&e.paymentMethodType?.maxPeriod?.value!=null?La(Ea(oe?.toDate(),[0,6],e.paymentMethodType?.maxPeriod.value).toDateString()):void 0,nt=e.transactionDetails?.billPayInfo.expectedDepositDate??Pn,at=pt(d?.paymentType?.method??"").replace("Same Day",""),Bn=(d?.paymentToBankAccount!=null||d?.paymentToPI)!=null?n.addedByZeni:e.transactionDetails?.billPayInfo.isCollectToAccountInfoFromVendorContact?t.jsx(ea,{paymentTypeLabel:at,onClick:bn,style:{marginTop:`${l==="small"?a.sp2:a.sp0}`}}):void 0,Rn=()=>d?.paymentToBankAccount==null&&d?.paymentToPI==null&&d?.paymentType?.method!=null&&e.transactionDetails?.billPayInfo.isCollectToAccountInfoFromVendorContact&&e.transactionDetails?.billPayInfo.paymentDate!=null?t.jsx(Ca,{paymentType:d?.paymentType?.method,paymentDate:e.transactionDetails?.billPayInfo.paymentDate}):null,it=e.transactionDetails?.lines?.some(r=>{const u=r.account;return u?.isDeleted===!0&&u?.isBillEditableCoaAccountType===!1})??!1,fe=!(v?.code==="processing"||e.transactionDetails?.billPayInfo.isRefundInitiated===!0||e.transactionDetails?.billPayInfo.isRefundComplete===!0||(w?.code==="scheduled"||w?.code==="pending_approval")&&it),lt=!((w?.code==="scheduled"||w?.code==="pending_approval")&&it),we=e.zeniAssist?.isEligibleForRetryIBT===!0||e.zeniAssist?.isEligibleForRetryOBP===!0,Te=e.zeniAssist?.isEligibleForRefund===!0,zn=e?.transactionDetails?.billPayInfo.billPaymentMethodType.code==="wire"&&e?.transactionDetails?.billPayInfo.billPaymentMethodType.subCode==="international",Mn=Ht&&e.transactionDetails?.billPayInfo.billPaymentStatus.code!=null&&["failed","cancelled","returned"].includes(e.transactionDetails.billPayInfo.billPaymentStatus.code)&&(we||Te)&&zn===!1,ve=we||Te,Nn=e.transactionDetails?.billPayInfo.isRefundInitiated===!0&&e.transactionDetails?.billPayInfo.isRefundComplete===!1,W=v?.code,Ln=!Nn&&(!tt||v?.code==="processing"&&!B),ot=!tt,rt=["small","medium-compact","medium-regular"].includes(l),Y=Oa(e.transactionDetails?.bulkProcessingDetail?.type),O=Fa(e.paymentMethodType?.method),En=!Y&&(W!=="processing"&<||W==="processing"&&!B||W==="processing"&&ot||h&&O&&Be),On=r=>{M.trackBillPayMarkAsPaidSubmit(r.paymentMode??"other",w?.code??"",v?.code??""),Qt(!0,Ge,r)},st=()=>{Xe(!0),M.trackBillPayMarkAsPaid(w?.code??"",v?.code??"")},Fn=()=>{Ye(!0),st()},_n=()=>{en(),Xe(!1),Ge&&Ye(!1)},Wn=p.useMemo(()=>({companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,entityType:"bill.details",entityId:g??c,isGlobalComment:!1,application:"dashboard",tab:"bill",url:window.location.href}),[o.currentTenant,g]),Z=Xt&&e.transactionDetails?.totalAmountWithFeesInUSD!=null&&w?.code!=="paid"&&v?.code!=="failed"&&v?.code!=="processing"&&v?.code!=="cancelled"&&v?.code!=="returned"&&v?.code!=="rejected"?ta(e.transactionDetails?.totalAmountWithFeesInUSD,e.withdrawFrom,d.paymentDate):void 0,dt=()=>{He("approved"),Ze===!0&&Q(!1),Z!=null&&M.trackLowBalanceAccountApprove(w?.code??"",e.transactionDetails?.billPayInfo.billPaymentStatus.code??"",e.isRecurring?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??"",wt(o.loggedInUser),e.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account"),Le({billId:e.transactionDetails?.id??"",type:"approved"})},Zn=()=>{He("rejected"),Z!=null&&M.trackLowBalanceAccountReject(w?.code??"",e.transactionDetails?.billPayInfo.billPaymentStatus.code??"",e.isRecurring?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??"",wt(o.loggedInUser),e.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account"),ue(!0)},ct=p.useRef(null);return t.jsxs(mi,{windowSize:l,ref:ct,children:[t.jsx(na,{anchor:"right",open:yn,onClose:Je,transitionDuration:250,"data-testid":x("vendor-email-preview-drawer"),children:t.jsx(aa,{companyName:ia(b.company?.companyInfo),vendor:e.transactionDetails?.vendor?.name,paymentDate:d.paymentDate?.format(je)??"",paymentType:at,amount:Ce("0,0.[00]",xe),isInvoiceAttached:!!e.transactionDetails?.attachments?.length,onClose:Je})}),t.jsxs(bi,{ref:un.current,windowSize:l,children:[t.jsx(Si,{windowSize:l,children:l==="small"?t.jsx(mt,{"data-testid":x("bill-detail-nav-bar-mobile"),title:t.jsxs(t.Fragment,{children:[be,e.isRecurring?t.jsx(Se,{width:a.sp4,height:a.sp4}):null]}),backgroundColor:Fe.colors.grey4,rightSideComponent:t.jsxs(Bt,{windowSize:l,children:[f?t.jsxs(Et,{isDisabled:P,"data-testid":x("bill-comment-button"),onClick:P?()=>null:r=>{r.preventDefault(),r.stopPropagation(),q(!0),M.trackCommentActivity("bill","clicked",o.currentTenant?.companyName??"",o.controllersList.controllers.map(u=>yt(u)),void 0,void 0,"page icon")},children:[t.jsx(ut,{count:P?void 0:Ve,isLoading:P,style:{left:"12px"}}),t.jsx(Ot,{})]}):null,t.jsx(Rt,{onClick:()=>ae(),"data-testid":x("bill-detail-nav-bar-small-close-button"),children:t.jsx(Pt,{})})]}),leftSideComponent:t.jsx(Ct,{windowSize:l,onClick:Oe,"data-testid":x("bill-detail-nav-bar-small-back-button"),style:{visibility:`${ze?"visible":"hidden"}`},children:t.jsx(St,{})}),source:"BillDetailPage"}):t.jsx(mt,{"data-testid":x("bill-detail-nav-bar"),title:t.jsxs(t.Fragment,{children:[be,e.isRecurring?t.jsx(Se,{width:a.sp4,height:a.sp4}):null]}),rightSideComponent:t.jsxs(Bt,{windowSize:l,children:[f?t.jsxs(Et,{isDisabled:P,"data-testid":x("bill-comment-button"),onClick:P?()=>null:r=>{r.preventDefault(),r.stopPropagation(),q(!0),M.trackCommentActivity("bill","clicked",o.currentTenant?.companyName??"",o.controllersList.controllers.map(u=>yt(u)),void 0,void 0,"page icon")},children:[t.jsx(ut,{count:P?void 0:Ve,isLoading:P,style:{left:"12px"}}),t.jsx(Ot,{})]}):null,t.jsx(Rt,{onClick:()=>ae(),"data-testid":x("bill-detail-nav-bar-close-button"),children:t.jsx(Pt,{})})]}),leftSideComponent:t.jsx(Ct,{windowSize:l,onClick:Oe,"data-testid":x("bill-detail-nav-bar-back-button"),style:{visibility:`${ze?"visible":"hidden"}`},children:t.jsx(St,{})}),enableTitleOnScroll:!0,scrollableContent:ct,source:"BillDetailPage"})}),t.jsxs(gi,{windowSize:l,children:[Ze?t.jsx(Za,{withdrawFrom:e.withdrawFrom,paymentDate:e?.transactionDetails?.billPayInfo.paymentDate,onOkClick:dt,onCancelClick:()=>{Q(!1),et()},onClickAway:()=>{Q(!1)}}):null,hn?t.jsx(Va,{onCancel:_n,onProceedForMarkAsPaid:On,saveDetailsFetchState:e.billSaveStatus,paymentData:e.outsideZeniPaymentInfo}):null,on||ce?t.jsx(ht,{titleComponent:t.jsx(gt,{children:N.title}),descriptionComponent:t.jsx(bt,{children:N.description}),primaryButtonText:N.primaryButtonText,proceedButtonVariant:ce?"primary":"danger",secondaryButtonText:N.secondaryButtonText,action:vn,isEditPopup:!0,isLoading:e.zeniAssist?.refundStatus.fetchState==="In-Progress",children:ce?Qa(l,e):null}):null,rn?t.jsx(ht,{titleComponent:t.jsx(gt,{children:n.rejectBillTitlePrefix+" "+(e.transactionDetails?.vendor?.name!=null?e.transactionDetails.vendor.name:"")}),descriptionComponent:t.jsx(bt,{children:n.rejectBillDescription}),primaryButtonText:n.send,secondaryButtonText:n.cancel,action:Dn,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:n.rejectBillReasonPlaceholder}):null,l!=="small"||S?t.jsxs(fi,{windowSize:l,children:[l!=="small"?t.jsxs(wi,{windowSize:l,children:[be,e.isRecurring?t.jsx(Se,{height:a.sp5,width:a.sp5}):null]}):null,F&&S!=null&&S.code==="deleted"?t.jsx(zt,{color:S.color,bgColor:S.bgColor,borderColor:S.borderColor,children:S.value}):S?.value===Pe.tabsById.overdue?t.jsx(zt,{color:S.color,bgColor:S.bgColor,borderColor:S.borderColor,children:S.value}):null]}):null,E!=null&&E.code?l==="small"?t.jsx(la,{progressSectionObj:E,createDate:e.transactionDetails?.createTime,paymentDate:nt,scheduleDate:oe,approvedDate:e.latestApprovedDate,isFrozen:e.transactionDetails?.isDeleted}):t.jsx(oa,{progressSectionObj:E,createDate:e.transactionDetails?.createTime,paymentDate:nt,scheduleDate:oe,approvedDate:e.latestApprovedDate,isFrozen:e.transactionDetails?.isDeleted}):null,ni(Y,e,Z),t.jsx(ra,{sectionId:sa,currentVendorOption:{defaultOptions:[]},billId:g,isBillPayCommentingEnabled:Re,isBillPaid:he,disableVendorActions:!0,vendor:e.transactionDetails?.vendor,prevBills:e.previousBills,onAttachmentClick:Ee,isVendorRecommendationEnabled:!1,showVendorGptRecommendationText:!1}),d.paymentType?.method?.includes("ach"),t.jsxs(Ae,{children:[t.jsx(ke,{children:n.whatForTitle}),t.jsxs($e,{children:[t.jsx(j,{isThreadAllowed:f,entityId:g,dashboardTabKey:k({type:"details",key:"invoiceNumber"}),roomId:D,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("invoiceNumber")}`},children:t.jsx($,{label:{label:n.invoiceNumber,width:I},text:le.invoiceNumber??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(j,{isThreadAllowed:f,entityId:g,dashboardTabKey:k({type:"details",key:"invoiceDate"}),roomId:D,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("invoiceDate")}`},children:t.jsx($,{label:{label:n.invoiceDate,width:I},text:le.invoiceDate?.format(je)??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(j,{isThreadAllowed:f,entityId:g,dashboardTabKey:k({type:"details",key:"billDueDate"}),roomId:D,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("billDueDate")}`},children:t.jsx($,{label:{label:n.billDueDate,width:I},text:le.billDueDate?.format(je)??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(j,{isThreadAllowed:f,entityId:g,dashboardTabKey:k({type:"details",key:"memo"}),roomId:D,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("memo")}`},children:t.jsx($,{label:{label:n.memo,width:I},text:le.memo??C,style:{width:"auto"}})})]})]}),t.jsxs(Ae,{children:[t.jsx(xi,{windowSize:l,children:t.jsx(ke,{children:n.lineItemsTitle})}),ge.length>0?ge.map((r,u)=>{const R=e?.transactionDetails?.lines?.find(Vn=>Vn.id===r.lineId)?.recipientAmount;return t.jsxs(ui,{children:[ge.length>1?t.jsx(yi,{windowSize:l,children:t.jsx(hi,{windowSize:l,children:`${n.line} # ${u+1}`})}):null,t.jsxs($e,{children:[t.jsx(j,{isThreadAllowed:f,entityId:g,dashboardTabKey:k({type:"details",key:`${u}.recipientAmount`}),roomId:D,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("recipientAmount",u)}`},children:t.jsx($,{label:{label:n.amount,width:I},text:R!=null?Ce("0,0[.]00",R):C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(j,{isThreadAllowed:f,entityId:g,dashboardTabKey:k({type:"details",key:`${u}.lineDescription`}),roomId:D,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("lineDescription",u)}`},children:t.jsx($,{label:{label:n.description,width:I},text:r.lineDescription??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(j,{isThreadAllowed:f,entityId:g,dashboardTabKey:k({type:"details",key:`${u}.account`}),roomId:D,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("account",u)}`},children:t.jsx($,{label:{label:n.category,width:I},text:r.account?.accountName??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(j,{isThreadAllowed:f,entityId:g,dashboardTabKey:k({type:"details",key:`${u}.class`}),roomId:D,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("class",u)}`},children:t.jsx($,{label:{label:n.class,width:I},text:r.class?.className??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(j,{isThreadAllowed:f,entityId:g,dashboardTabKey:k({type:"details",key:`${u}.billable`}),roomId:D,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("billable",u)}`},children:t.jsx($,{label:{label:n.billable,width:I},text:r.billable!=null?$n(r.billable):C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(j,{isThreadAllowed:f,entityId:g,dashboardTabKey:k({type:"details",key:`${u}.customer`}),roomId:D,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("customer",u)}`},children:t.jsx($,{label:{label:n.customer,width:I},text:r.customer?.name??C,style:{width:"auto"}})})]})]},u)}):null]}),t.jsxs(Ti,{windowSize:l,children:[t.jsx(vi,{children:n.total}),t.jsx(Di,{children:xe!=null?t.jsx(da,{amount:xe,integerStyles:xt.h6Medium.cssObject,decimalStyles:xt.standardMedium.cssObject}):C})]}),t.jsxs(Ae,{children:[t.jsx(ke,{children:n.paymentDetailsTitle}),t.jsxs($e,{children:[O?null:t.jsxs(t.Fragment,{children:[t.jsx(j,{isThreadAllowed:f,entityId:g,dashboardTabKey:k({type:"details",key:"withdrawFrom"}),roomId:D,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("withdrawFrom")}`},children:t.jsx($,{label:{label:n.withdrawFrom,width:I},text:e.withdrawFrom!=null?_t(e.withdrawFrom,l):c,style:{width:"auto"},additionalInfoLabelStyles:{textAlign:"right",paddingRight:m.infoLabelPaddingRight.valuePx(l),marginTop:m.infoLabelMarginTop.valuePx(l),color:re.brandColorGoldDark},additionalInfoLabel:Z!=null&&w?.code==="pending_approval"?Vt.addMoney:Z})}),t.jsx(z,{})]}),t.jsx(j,{isThreadAllowed:f,entityId:g,dashboardTabKey:k({type:"details",key:"paymentType"}),roomId:D,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("paymentType")}`},children:t.jsx($,{additionalInfoLabel:d.paymentType?.method!=null&&d.paymentType.method.includes(_a)&&Kt&&d.internationalTransferFeeBearerPaymentMethod!=null?t.jsx(ii,{children:ca(d.internationalTransferFeeBearerPaymentMethod)}):void 0,label:{label:n.paymentMethod,width:I},text:O&&e.outsideZeniPaymentInfo!=null?ti(e.outsideZeniPaymentInfo):pt(d.paymentType?.method??""),style:{width:"auto"}})}),O?null:t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx(j,{isThreadAllowed:f,entityId:g,dashboardTabKey:k({type:"details",key:"paymentTo"}),roomId:D,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("paymentTo")}`},children:t.jsxs(t.Fragment,{children:[t.jsx($,{label:{label:n.paymentTo,width:I},text:d.paymentToBankAccount!=null?kn:d.paymentToPI!=null?d.paymentToPI.displayText:Sn,style:{width:"auto"},showEyeIcon:d.paymentToBankAccount!=null&&!!d.paymentType?.method?.includes("ach"),showAdditionalInfoLabel:!!e.transactionDetails?.billPayInfo.isCollectToAccountInfoFromVendorContact||d.paymentType?.method?.includes("ach"),tooltipText:Cn(),additionalInfoLabel:t.jsx(ai,{children:Bn})}),Rn()]})})]}),O||e.isRecurring?t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx(j,{isThreadAllowed:f,entityId:g,dashboardTabKey:k({type:"details",key:"recurringPaymentType"}),roomId:D,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("recurringPaymentType")}`},children:t.jsxs(t.Fragment,{children:[t.jsx($,{label:{label:n.paymentType,width:I},labelStyles:{marginRight:m.labelMarginRight.valuePx(l)},style:{width:"auto"},text:ma(e.isRecurring,O,e.transactionDetails?.recurringBillInstance??1,e.recurringBillConfigDetail?.totalPaymentCycles??0),textStyles:{paddingLeft:m.textPadding.valuePx(l),paddingRight:m.textPadding.valuePx(l)},additionalInfoLabel:pa(l,e.isRecurring,O,e.recurringBillConfigDetail),additionalInfoLabelStyles:{paddingRight:m.paddingRight.valuePx(l),marginTop:m.additionalTextMarginTop.valuePx(l)}}),e.recurringBillInstances!=null&&e.recurringBillInstances.length>0?t.jsx(Ai,{style:{paddingLeft:m.recurringSchedulePaddingLeft.valuePx(l)},children:t.jsx(ua,{onAttachmentClick:Ee,currencySymbol:e.transactionDetails?.recipientTotalAmount.currencySymbol??vt.currencySymbol,recurringBillInstances:e.recurringBillInstances})}):null]})})]}):null]})]}),e.transactionDetails&&e.transactionDetails.id&&t.jsx(ya,{amount:jn,activities:e.billActivities,stage:w?.code??"draft",onAddNewRule:Jt,entity:"bill_pay",realTimeApproval:{allApprovers:e.filteredApprovers,filteredAttributes:e.filteredAttributes,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,allAccountingClass:e.allAccountingClasses,vendorOwnerId:e.vendorOwnerId??"",isAdmin:se,signedInUserId:_?.userId,showRealTimeApproval:Ut,entityApprovalId:e.billActivities[0]?.entityApprovalId??e.transactionDetails.entityApprovalId,updateEditMode:tn,onSaveRealTimeApprovals:nn},historicActivities:e.billHistory.activities}),t.jsx(Ii,{})]}),e.transactionDetails?.vendor!=null&&!he&&!e.transactionDetails.isDeleted?t.jsx(ha,{separatorStyle:{marginRight:a.sp4},showPrimaryButton:U||h,showCancel:!U&&h,cancelBtn:{label:rt?n.buttons.reject:n.buttons.rejectBill,isLoading:Ke==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:Zn,style:{width:m.footerButtonWidth.value(l)},reverseSpinnerColor:!1},primaryBtn:{label:ei(U,rt),isLoading:Ke==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:U?st:()=>{Z!=null?Q(!0):dt()},isDisabled:e.billSaveStatus==="In-Progress"||e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0,style:{width:U?"auto":m.footerButtonWidth.value(l)}},rightSideComponent:t.jsx(li,{children:t.jsxs(pi,{windowSize:l,children:[!Y&&_e?t.jsx(ft,{onClickAway:()=>{de(!1),me(!1)},children:t.jsxs(kt,{windowSize:l,"data-testid":x("bill-actions-container"),children:[W!=="processing"&<?t.jsx(V,{onClick:xn,"data-testid":x("delete-bill-action-item"),children:n.buttons.deleteBill}):null,W==="processing"&&!B?t.jsx(V,{onClick:fn,"data-testid":x("cancel-bill-action-item"),children:n.buttons.cancel}):null,W==="processing"&&ot?t.jsx(V,{onClick:wn,"data-testid":x("cancel-and-delete-bill-action-item"),children:n.buttons.cancelAndDelete}):null,h&&O&&Be?t.jsx(V,{onClick:Fn,"data-testid":x("mark-as-paid-action-item"),children:n.paymentOutsideZeni.markAsPaid}):null]})}):null,We?t.jsx(ft,{onClickAway:()=>{de(!1),me(!1)},children:t.jsxs(kt,{windowSize:l,"data-testid":x("bill-actions-with-zeni-assist-container"),children:[we?t.jsx(V,{onClick:()=>{M.trackRetryClick(v?.code??"",w?.code??"",E?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??""),an()},"data-testid":x("retry-bill-action-item"),children:n.buttons.retry}):null,Te?t.jsx(V,{onClick:Tn,"data-testid":x("refund-bill-action-item"),children:n.buttons.refund}):null]})}):null,t.jsxs(ci,{windowSize:l,children:[Mn===!0?t.jsx(De,{enterDelay:600,style:{color:re.heroDark,padding:`2px ${a.sp2}`},display:"flex",title:ve?n.zeniAssist.tooltip:n.zeniAssist.connectToTeamTooltip,placement:"top",maxWidth:"267px",children:t.jsx(At,{windowSize:l,showEditIcon:fe,isIconClickable:ve,"data-testid":x("other-actions-icon-container"),children:ve?t.jsx(In,{}):t.jsx(ri,{})})}):null,!Y&&fe===!0?t.jsx(De,{enterDelay:600,style:{color:re.heroDark,padding:`2px ${a.sp2}`},display:"flex",title:Ga,placement:"top",children:t.jsx(di,{onClick:et,"data-testid":x("edit-bill-icon-container"),children:t.jsx(si,{})})}):null,!Y&&Ln===!0&&En?t.jsx(De,{enterDelay:600,style:{color:re.heroDark,padding:`2px ${a.sp2}`},display:"flex",title:Xa,placement:"top",children:t.jsx(At,{windowSize:l,showEditIcon:fe,isIconClickable:!0,"data-testid":x("more-details-icon-container"),children:t.jsx(oi,{onClick:()=>de(!_e)})})}):null]})]})}),style:{minHeight:62}}):null]}),f?t.jsx(ba,{isDrawerOpen:dn,allowComposer:!0,drawerTitle:Ya,threads:X,filter:T,autoExpand:!0,autoFocus:!1,isLoading:P,textOverrides:{composerPlaceholder:It.addANewComment,replyComposerPlaceholder:It.replyAComment,threadResolve:jt.resolveComment,threadUnResolve:jt.unResolveComment},threadMetadata:Wn,onThreadClick:cn,onCloseAllThreadsDrawer:()=>q(!1),drawerSectionStyle:{width:l==="small"?"100%":"400px",boxSizing:l==="small"?"border-box":"content-box",padding:`${a.sp0} ${m.drawerSectionPaddingLeftRight.valuePx(l)}`,backgroundColor:Fe.colors.background},collapsibleThreadStyle:{width:l==="small"?"100%":"360px"}}):null]})},Wi=e=>{const b=Ft(),h=e.billDetails.transactionDetails?.id,F=e.isBillPayCommentingEnabled&&h!=null,_=b.currentTenant?.companyId;if(!(F&&_!=null&&h!=null))return t.jsx($t,{...e});const se=`dashboard_${_}`;return t.jsx(Un,{roomId:se,filter:{application:"dashboard",companyId:_,entityId:h,tab:"bill",isGlobalComment:!1},children:t.jsx($t,{...e})})},Ja=(e,b)=>{const h=e?.code;if(e!=null&&h!=null)return b?.isDeleted===!0?{value:Pe.tabsById.deleted,color:L.deleted.color,bgColor:L.deleted.bgColor,borderColor:L.deleted.borderColor,code:"deleted"}:h==="pending_approval"&&b?.dueDate?.isBefore(Wa(),"date")===!0?{value:Pe.tabsById.overdue,color:L.overdue.color,bgColor:L.overdue.bgColor,borderColor:L.overdue.borderColor}:{value:e.name,color:L[h].color,bgColor:L[h].bgColor,borderColor:L[h].borderColor}},Qa=(e,b)=>{const h=b.transactionDetails?.recipientTotalAmount;return t.jsxs(ki,{windowSize:e,children:[t.jsxs(Mt,{windowSize:e,children:[t.jsx(Nt,{children:n.zeniAssist.accountNumber}),t.jsx(Lt,{children:b.withdrawFrom!=null?_t(b.withdrawFrom,e):c})]}),t.jsxs(Mt,{windowSize:e,children:[t.jsx(Nt,{children:n.zeniAssist.amount}),t.jsx(Lt,{children:h!=null?Ce("0,0[.]00",h):C})]})]})},ei=(e,b)=>e?n.paymentOutsideZeni.markAsPaid:b?n.buttons.approve:n.buttons.approveBill,ti=e=>{const b=e.paymentMode,h=n.paymentOutsideZeni.offline;if(b==null||b==="other")return h;const F=n.paymentOutsideZeni.paymentModeOptions.find(_=>_.value===b)?.label;return`${h} ${qa} ${F}`},ni=(e,b,h)=>{if(e)return t.jsx(Tt,{variant:"warning",style:{marginTop:a.sp5,marginBottom:a.sp3},title:Dt.duplicateWarning.title,description:Dt.duplicateWarning.description});if(h!=null){const F=`${b.withdrawFrom?.label??""} ${b.withdrawFrom?.maskedAccountNumber??""}`;return t.jsx(Tt,{variant:"low-balance",style:{marginTop:a.sp2,marginBottom:a.sp3},title:`${Vt.lowBalanceIn.replace("__account__",F)}`,description:h.replace("Low balance! ","")})}else return null},ai=i.div``,ii=i.div``,li=i.div`
|
|
3
|
-
display: flex;
|
|
4
|
-
justify-content: flex-end;
|
|
5
|
-
`,oi=i(za)`
|
|
6
|
-
cursor: pointer;
|
|
7
|
-
color: ${e=>e.theme.colors.hero};
|
|
8
|
-
width: ${a.sp4};
|
|
9
|
-
height: ${a.sp4};
|
|
10
|
-
&:hover {
|
|
11
|
-
color: ${e=>e.theme.colors.primary};
|
|
12
|
-
}
|
|
13
|
-
`,At=i.div`
|
|
14
|
-
display: flex;
|
|
15
|
-
margin-left: ${e=>e.windowSize==="small"?e.showEditIcon===!0?a.sp3:a.sp4:m.otherActionsIconContainerMarginLeft.valuePx(e.windowSize)};
|
|
16
|
-
cursor: ${e=>e.isIconClickable===!0?"pointer":"default"};
|
|
17
|
-
color: ${e=>e.theme.colors.grey1};
|
|
18
|
-
&:hover {
|
|
19
|
-
color: ${e=>e.theme.colors.primary};
|
|
20
|
-
}
|
|
21
|
-
`,ri=i(Ua)`
|
|
22
|
-
color: ${e=>e.theme.colors.hero};
|
|
23
|
-
width: ${a.sp5};
|
|
24
|
-
height: ${a.sp5};
|
|
25
|
-
margin-bottom: ${a.sp2};
|
|
26
|
-
&:hover {
|
|
27
|
-
color: ${e=>e.theme.colors.primary};
|
|
28
|
-
}
|
|
29
|
-
`,si=i(Ra)`
|
|
30
|
-
cursor: pointer;
|
|
31
|
-
color: ${e=>e.theme.colors.hero};
|
|
32
|
-
width: ${a.sp4};
|
|
33
|
-
height: ${a.sp4};
|
|
34
|
-
&:hover {
|
|
35
|
-
color: ${e=>e.theme.colors.primary};
|
|
36
|
-
}
|
|
37
|
-
`,di=i.div`
|
|
38
|
-
display: flex;
|
|
39
|
-
cursor: pointer;
|
|
40
|
-
color: ${e=>e.theme.colors.grey1};
|
|
41
|
-
margin-left: ${a.sp4};
|
|
42
|
-
&:hover {
|
|
43
|
-
color: ${e=>e.theme.colors.primary};
|
|
44
|
-
}
|
|
45
|
-
`,ci=i.div`
|
|
46
|
-
display: flex;
|
|
47
|
-
justify-content: center;
|
|
48
|
-
align-items: center;
|
|
49
|
-
`,kt=i.div`
|
|
50
|
-
display: flex;
|
|
51
|
-
width: max-content;
|
|
52
|
-
align-items: center;
|
|
53
|
-
justify-content: center;
|
|
54
|
-
flex-direction: column;
|
|
55
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
56
|
-
color: ${e=>e.theme.colors.hero};
|
|
57
|
-
cursor: pointer;
|
|
58
|
-
padding-top: ${a.sp1};
|
|
59
|
-
padding-bottom: ${a.sp1};
|
|
60
|
-
position: absolute;
|
|
61
|
-
bottom: ${e=>m.otherActionsContainerBottom.valuePx(e.windowSize)};
|
|
62
|
-
z-index: 3;
|
|
63
|
-
border: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
64
|
-
border-radius: ${a.sp1};
|
|
65
|
-
right: ${e=>m.right.valuePx(e.windowSize)};
|
|
66
|
-
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.grey1}3D`};
|
|
67
|
-
`,pi=i.div`
|
|
68
|
-
width: auto;
|
|
69
|
-
justify-content: flex-end;
|
|
70
|
-
position: ${e=>e.windowSize==="small"?"static":"relative"};
|
|
71
|
-
right: ${e=>m.actionsContainerRight.valuePx(e.windowSize)};
|
|
72
|
-
height: 100%;
|
|
73
|
-
display: flex;
|
|
74
|
-
`,V=i(Zt)`
|
|
75
|
-
display: flex;
|
|
76
|
-
align-items: center;
|
|
77
|
-
width: 100%;
|
|
78
|
-
padding-left: ${a.sp3};
|
|
79
|
-
padding-right: ${a.sp3};
|
|
80
|
-
height: ${a.sp6};
|
|
81
|
-
box-sizing: border-box;
|
|
82
|
-
&:hover {
|
|
83
|
-
background-color: ${e=>e.theme.colors.background};
|
|
84
|
-
}
|
|
85
|
-
`,St=i(fa)`
|
|
86
|
-
cursor: pointer;
|
|
87
|
-
color: ${e=>e.theme.colors.hero};
|
|
88
|
-
width: 20px;
|
|
89
|
-
height: 20px;
|
|
90
|
-
&:hover {
|
|
91
|
-
color: ${e=>e.theme.colors.primary};
|
|
92
|
-
}
|
|
93
|
-
`,Ct=i.div`
|
|
94
|
-
margin-top: ${e=>m.marginTop.valuePx(e.windowSize)};
|
|
95
|
-
display: flex;
|
|
96
|
-
align-items: center;
|
|
97
|
-
`,Pt=i(Ta)`
|
|
98
|
-
cursor: pointer;
|
|
99
|
-
width: ${a.sp4};
|
|
100
|
-
height: ${a.sp4};
|
|
101
|
-
color: ${e=>e.theme.colors.hero};
|
|
102
|
-
&:hover {
|
|
103
|
-
color: ${e=>e.theme.colors.primary};
|
|
104
|
-
}
|
|
105
|
-
`,Bt=i.div`
|
|
106
|
-
display: flex;
|
|
107
|
-
flex-direction: row;
|
|
108
|
-
align-items: center;
|
|
109
|
-
gap: ${e=>m.rightIconsGap.valuePx(e.windowSize)};
|
|
110
|
-
margin-top: ${e=>m.closeContainerMarginTop.valuePx(e.windowSize)};
|
|
111
|
-
`,Rt=i.div`
|
|
112
|
-
float: right;
|
|
113
|
-
width: ${a.sp4};
|
|
114
|
-
height: ${a.sp4};
|
|
115
|
-
display: flex;
|
|
116
|
-
`,mi=i.div`
|
|
117
|
-
height: 100%;
|
|
118
|
-
overflow: scroll;
|
|
119
|
-
`,$e=i.div`
|
|
120
|
-
display: flex;
|
|
121
|
-
flex-direction: column;
|
|
122
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
123
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
124
|
-
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
125
|
-
border-radius: ${a.sp2};
|
|
126
|
-
margin: ${a.sp3} 0;
|
|
127
|
-
`,Ae=i.div`
|
|
128
|
-
display: flex;
|
|
129
|
-
flex-direction: column;
|
|
130
|
-
padding-top: ${a.sp3};
|
|
131
|
-
`,ui=i.div``,ke=i($a)`
|
|
132
|
-
color: ${e=>e.theme.colors.primary};
|
|
133
|
-
`,z=i.div`
|
|
134
|
-
display: flex;
|
|
135
|
-
flex: 1;
|
|
136
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
137
|
-
min-height: 1px;
|
|
138
|
-
max-height: 1px;
|
|
139
|
-
`,yi=i(Aa)`
|
|
140
|
-
display: flex;
|
|
141
|
-
align-items: center;
|
|
142
|
-
justify-content: space-between;
|
|
143
|
-
color: ${e=>e.theme.colors.champion};
|
|
144
|
-
margin-top: ${a.sp2};
|
|
145
|
-
height: 31px;
|
|
146
|
-
`,hi=i(ka)`
|
|
147
|
-
color: ${e=>e.theme.colors.champion};
|
|
148
|
-
`,bi=i.div`
|
|
149
|
-
display: flex;
|
|
150
|
-
flex-direction: column;
|
|
151
|
-
`,gi=i.div`
|
|
152
|
-
display: flex;
|
|
153
|
-
flex-direction: column;
|
|
154
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
155
|
-
padding-left: ${e=>m.containerPaddingLeft.valuePx(e.windowSize)};
|
|
156
|
-
padding-right: ${e=>m.containerPaddingRight.valuePx(e.windowSize)};
|
|
157
|
-
overflow-x: hidden;
|
|
158
|
-
margin-top: ${e=>m.navBarHeight.valuePx(e.windowSize)};
|
|
159
|
-
`,xi=i.div`
|
|
160
|
-
display: flex;
|
|
161
|
-
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
162
|
-
align-items: ${e=>e.windowSize==="small"?"unset":"center"};
|
|
163
|
-
width: ${e=>e.windowSize==="small"?"fit-content":"unset"};
|
|
164
|
-
`,fi=i.div`
|
|
165
|
-
display: flex;
|
|
166
|
-
margin-bottom: ${a.sp3};
|
|
167
|
-
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
168
|
-
align-items: ${e=>e.windowSize==="small"?"unset":"center"};
|
|
169
|
-
width: ${e=>e.windowSize==="small"?"fit-content":"unset"};
|
|
170
|
-
`,wi=i(Ia)`
|
|
171
|
-
display: flex;
|
|
172
|
-
align-items: center;
|
|
173
|
-
flex-grow: 1;
|
|
174
|
-
${e=>`${Ka.formTitle.style(e.windowSize)}`};
|
|
175
|
-
color: ${e=>e.theme.colors.primary};
|
|
176
|
-
margin-bottom: ${e=>m.formTitleMarginTopBottom.valuePx(e.windowSize)};
|
|
177
|
-
margin-bottom: ${e=>m.formTitleMarginTopBottom.valuePx(e.windowSize)};
|
|
178
|
-
word-break: break-all;
|
|
179
|
-
padding: ${e=>`${a.sp0} ${m.formTitlePaddingLeftRight.valuePx(e.windowSize)}`};
|
|
180
|
-
`,Ti=i.div`
|
|
181
|
-
padding: ${a.sp3};
|
|
182
|
-
display: flex;
|
|
183
|
-
align-items: center;
|
|
184
|
-
justify-content: center;
|
|
185
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
186
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
187
|
-
border-radius: ${a.sp2};
|
|
188
|
-
color: ${e=>e.theme.colors.hero};
|
|
189
|
-
margin-bottom: ${e=>m.marginBottom.valuePx(e.windowSize)};
|
|
190
|
-
`,vi=i(Wt)`
|
|
191
|
-
display: flex;
|
|
192
|
-
width: 176px;
|
|
193
|
-
color: ${e=>e.theme.colors.primary};
|
|
194
|
-
`,Di=i(Wt)`
|
|
195
|
-
display: flex;
|
|
196
|
-
width: calc(100% - 176px);
|
|
197
|
-
justify-content: flex-end;
|
|
198
|
-
color: ${e=>e.theme.colors.primary};
|
|
199
|
-
`,zt=i(ja)`
|
|
200
|
-
display: flex;
|
|
201
|
-
color: ${e=>e.borderColor};
|
|
202
|
-
align-items: center;
|
|
203
|
-
justify-content: flex-end;
|
|
204
|
-
padding: 1px 6px 1px 6px;
|
|
205
|
-
border: ${e=>`1px solid ${e.borderColor}`};
|
|
206
|
-
border-radius: ${a.sp1};
|
|
207
|
-
min-width: fit-content;
|
|
208
|
-
`,Ii=i.div`
|
|
209
|
-
display: flex;
|
|
210
|
-
flex-direction: column;
|
|
211
|
-
height: ${a.sp11};
|
|
212
|
-
`,ji=i(xa)`
|
|
213
|
-
height: ${a.sp3};
|
|
214
|
-
width: ${a.sp3};
|
|
215
|
-
color: ${e=>e.theme.colors.hero};
|
|
216
|
-
`,$i=i.div`
|
|
217
|
-
display: flex;
|
|
218
|
-
align-items: center;
|
|
219
|
-
margin-left: ${a.sp2};
|
|
220
|
-
margin-top: ${e=>m.iconContainerMarginTop.valuePx(e.windowSize)};
|
|
221
|
-
align-self: center;
|
|
222
|
-
`,Se=i(va)`
|
|
223
|
-
margin-left: ${a.sp2};
|
|
224
|
-
color: ${e=>e.theme.colors.hero};
|
|
225
|
-
`,Ai=i.div``,ki=i.div`
|
|
226
|
-
display: flex;
|
|
227
|
-
flex-direction: column;
|
|
228
|
-
gap: ${a.sp2};
|
|
229
|
-
margin: ${e=>e.windowSize==="small"?`0 ${a.sp3} ${a.sp6} ${a.sp3}`:`0 ${a.sp8} ${a.sp5} ${a.sp8}`};
|
|
230
|
-
`,Mt=i.div`
|
|
231
|
-
display: flex;
|
|
232
|
-
justify-content: space-between;
|
|
233
|
-
width: ${e=>m.refundPopupWidth.valuePx(e.windowSize)};
|
|
234
|
-
`,Nt=i(Zt)`
|
|
235
|
-
text-align: left;
|
|
236
|
-
color: ${e=>e.theme.colors.grey1};
|
|
237
|
-
`,Lt=i(Ma)`
|
|
238
|
-
justify-content: end;
|
|
239
|
-
display: flex;
|
|
240
|
-
flex: 1;
|
|
241
|
-
`,Et=i.div`
|
|
242
|
-
display: flex;
|
|
243
|
-
align-items: center;
|
|
244
|
-
justify-content: center;
|
|
245
|
-
position: relative;
|
|
246
|
-
cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
|
|
247
|
-
color: ${e=>e.theme.colors.hero};
|
|
248
|
-
opacity: ${e=>e.isDisabled?.5:1};
|
|
249
|
-
&:hover {
|
|
250
|
-
color: ${e=>e.theme.colors.primary};
|
|
251
|
-
}
|
|
252
|
-
`,Ot=i(wa)`
|
|
253
|
-
display: flex;
|
|
254
|
-
width: ${a.sp4};
|
|
255
|
-
height: ${a.sp4};
|
|
256
|
-
align-items: center;
|
|
257
|
-
justify-content: center;
|
|
258
|
-
`,Si=i.div`
|
|
259
|
-
display: flex;
|
|
260
|
-
justify-content: space-evenly;
|
|
261
|
-
margin-top: 0px;
|
|
262
|
-
position: fixed;
|
|
263
|
-
top: 0px;
|
|
264
|
-
width: ${e=>m.navBarContainerWidth.valuePercentage(e.windowSize)};
|
|
265
|
-
z-index: 3;
|
|
266
|
-
`;export{Wi as default};
|
|
@@ -1,84 +0,0 @@
|
|
|
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-CurP1SOA.js";import{a as g}from"./sentry-CDHeVBhK.js";import{n as l}from"./mui-BxEa6oIz.js";import{Gs as ce,bP as pe,Gt as xe}from"./zeni-epic-state-B4EHkeVq.js";import{C as me}from"./VideoPopup-BqvZ-XIh-BO-XUiUq.js";import{M as b}from"./usp-line-BBd1wKwW-BiUwSUGW.js";import"./liveblocks-Dud0zcBr.js";import"./core-DEFUIdDG.js";import"./recharts-CucZZnV5.js";import"./lottie-Cne2KPqn.js";import"./analytics-Dn0Lw8Hl.js";import"./lexical-C3dXI-1S.js";import"./utils-B2bXCuaD.js";import"./VideoPlayer-VAzOGCDL-DVi19FXq.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]="7045a340-d485-41fd-9782-aab649e7a921",i._sentryDebugIdIdentifier="sentry-dbid-7045a340-d485-41fd-9782-aab649e7a921")}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
|
-
display: flex;
|
|
3
|
-
flex: 1 1 auto;
|
|
4
|
-
min-height: 100%;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
background-color: ${i=>i.theme.colors.grey4};
|
|
7
|
-
`,ue=l.div`
|
|
8
|
-
padding: ${i=>i.windowSize==="small"?`${s.sp0} ${s.sp3}`:`${s.sp0} ${s.sp8}`};
|
|
9
|
-
text-align: center;
|
|
10
|
-
`,we=l(le)`
|
|
11
|
-
max-width: 600px;
|
|
12
|
-
margin: auto;
|
|
13
|
-
padding: ${s.sp7} ${s.sp0};
|
|
14
|
-
color: ${i=>i.theme.colors.primary};
|
|
15
|
-
`,ye=l(se)`
|
|
16
|
-
max-width: 600px;
|
|
17
|
-
margin: auto;
|
|
18
|
-
padding: ${s.sp5} ${s.sp0};
|
|
19
|
-
color: ${i=>i.theme.colors.primary};
|
|
20
|
-
`,L=l.div`
|
|
21
|
-
display: flex;
|
|
22
|
-
flex-direction: ${i=>i.windowSize==="small"?"column":"row"};
|
|
23
|
-
align-items: center;
|
|
24
|
-
justify-content: center;
|
|
25
|
-
margin-bottom: ${i=>he.midContainerMarginBottom.valuePx(i.windowSize)};
|
|
26
|
-
`,je=l.div``,m=l.img``,V=l.div`
|
|
27
|
-
width: ${i=>i.windowSize==="small"?"auto":"376px"};
|
|
28
|
-
display: flex;
|
|
29
|
-
flex-direction: column;
|
|
30
|
-
`,E=l.div`
|
|
31
|
-
width: ${i=>i.windowSize==="small"?"100%":"calc(100% - 376px)"};
|
|
32
|
-
overflow: hidden;
|
|
33
|
-
max-width: 712px;
|
|
34
|
-
display: flex;
|
|
35
|
-
align-content: center;
|
|
36
|
-
justify-content: center;
|
|
37
|
-
align-items: center;
|
|
38
|
-
`,O=l.div`
|
|
39
|
-
margin-left: ${i=>i.windowSize==="small"?s.sp0:s.sp6};
|
|
40
|
-
margin-bottom: ${i=>i.windowSize==="small"?s.sp4:s.sp0};
|
|
41
|
-
background: ${i=>i.theme.colors.grey3};
|
|
42
|
-
border-radius: 12px;
|
|
43
|
-
border: ${i=>`1px solid ${i.theme.colors.grey3}`};
|
|
44
|
-
padding: 15px;
|
|
45
|
-
`,n=l.div`
|
|
46
|
-
border-radius: ${s.sp12};
|
|
47
|
-
border: ${i=>`1px solid ${i.theme.colors.grey2}`};
|
|
48
|
-
padding: ${i=>i.windowSize==="small"?`${s.sp2} ${s.sp4} ${s.sp2} ${s.sp0}`:`${s.sp3} ${s.sp5} ${s.sp3} ${s.sp0}`};
|
|
49
|
-
background: ${i=>i.theme.colors.grey5};
|
|
50
|
-
position: relative;
|
|
51
|
-
margin-bottom: ${s.sp3};
|
|
52
|
-
display: flex;
|
|
53
|
-
align-items: center;
|
|
54
|
-
text-align: start;
|
|
55
|
-
box-sizing: border-box;
|
|
56
|
-
`,u=l(ne)`
|
|
57
|
-
color: ${i=>i.theme.colors.champion};
|
|
58
|
-
`,w=l(ae)`
|
|
59
|
-
color: ${i=>i.theme.colors.champion};
|
|
60
|
-
`,y=l(U)`
|
|
61
|
-
color: ${i=>i.theme.colors.champion};
|
|
62
|
-
`,j=l(re)`
|
|
63
|
-
color: ${i=>i.theme.colors.champion};
|
|
64
|
-
`,d=l.div``,c=l.div`
|
|
65
|
-
padding-left: ${s.sp3};
|
|
66
|
-
`,_=l(b)`
|
|
67
|
-
color: ${$.graphColor16Dark};
|
|
68
|
-
`,R=l(b)`
|
|
69
|
-
color: ${$.graphColor09Dark};
|
|
70
|
-
`,G=l(b)`
|
|
71
|
-
color: ${$.graphColor28Dark};
|
|
72
|
-
`,fe=l(oe)`
|
|
73
|
-
margin: ${s.sp3} auto;
|
|
74
|
-
max-width: 719px;
|
|
75
|
-
color: ${i=>i.theme.colors.hero};
|
|
76
|
-
`,$e=l.div`
|
|
77
|
-
display: flex;
|
|
78
|
-
flex-direction: ${i=>i.windowSize==="small"?"column":"row"};
|
|
79
|
-
align-items: center;
|
|
80
|
-
justify-content: center;
|
|
81
|
-
`,be=l(U)`
|
|
82
|
-
margin: ${i=>i.windowSize==="small"?s.sp1:`auto ${s.sp5}`};
|
|
83
|
-
color: ${i=>i.theme.colors.grey1};
|
|
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};
|
|
@@ -1,44 +0,0 @@
|
|
|
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-CurP1SOA.js";import{a as F}from"./sentry-CDHeVBhK.js";import{n as d}from"./mui-BxEa6oIz.js";import{F as Oe,o as R,t as _e}from"./PaymentAccountSetupBillingAddressSection-9ma8SpIa-D4Qtjsvw.js";import{F as Me}from"./SetUpAccountSection-CctbMmoK-DeDFJbvz.js";import"./liveblocks-Dud0zcBr.js";import"./core-DEFUIdDG.js";import"./recharts-CucZZnV5.js";import"./zeni-epic-state-B4EHkeVq.js";import"./lottie-Cne2KPqn.js";import"./analytics-Dn0Lw8Hl.js";import"./lexical-C3dXI-1S.js";import"./utils-B2bXCuaD.js";import"./commonTypes-5tEXwrX4-Bo-DjnLD.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]="8fcb78dd-9a6f-45fa-aed0-8b6ca7f24741",e._sentryDebugIdIdentifier="sentry-dbid-8fcb78dd-9a6f-45fa-aed0-8b6ca7f24741")}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:r,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:de})=>{const b=we(),o=be(),{setupView:{paymentAccount:y,plaidConnectionDetails:re,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&&de(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:re,allBankAccounts:le,header:S.header,sectionTitle:S.header,defaultSectionTitle:ye,defaultSectionSubTitle:fe,sectionId:I,isDisabled:r,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,r)]})})})}),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(r=>({label:r.accountName,value:r.accountId}))}},[n]:Te(n,e.subscriptionBillingAddress)[n]}},Re=d.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
justify-content: space-between;
|
|
4
|
-
height: 100%;
|
|
5
|
-
overflow-y: auto;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
align-items: center;
|
|
8
|
-
row-gap: ${e=>p.setupDetailsRowGap.valuePx(e.windowSize)};
|
|
9
|
-
`,He=d.div`
|
|
10
|
-
display: flex;
|
|
11
|
-
min-height: 100%;
|
|
12
|
-
flex-direction: column;
|
|
13
|
-
width: 100%;
|
|
14
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
15
|
-
`,We=d(Ee)`
|
|
16
|
-
color: ${e=>e.theme.colors.hero};
|
|
17
|
-
display: flex;
|
|
18
|
-
justify-content: center;
|
|
19
|
-
width: ${e=>p.titleWidth.valuePx(e.windowSize)};
|
|
20
|
-
padding-top: ${e=>p.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
21
|
-
padding-bottom: ${s.sp3};
|
|
22
|
-
text-align: ${e=>e.windowSize==="small"?"initial":"center"};
|
|
23
|
-
`,Ne=d.div`
|
|
24
|
-
display: flex;
|
|
25
|
-
width: 100%;
|
|
26
|
-
height: calc(100vh - 110px);
|
|
27
|
-
flex-direction: row;
|
|
28
|
-
justify-content: center;
|
|
29
|
-
align-items: center;
|
|
30
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
31
|
-
`,Ue=d.div`
|
|
32
|
-
display: flex;
|
|
33
|
-
flex-direction: column;
|
|
34
|
-
`,Ke=(e,i,m,r,A)=>t.jsxs(qe,{children:[t.jsx(Ge,{windowSize:e,isDisabled:A==="disabled",children:i}),t.jsx(Be,{googleAPIKey:r??"",addressToEdit:m,sectionId:`${n}`,style:{marginLeft:"0px"},elementsStyle:{paddingRight:"0px"}})]}),qe=d.div`
|
|
35
|
-
margin-top: ${s.sp3};
|
|
36
|
-
margin-bottom: ${s.sp4};
|
|
37
|
-
`,Ge=d.div`
|
|
38
|
-
${e=>`${Fe.title.style(e.windowSize)}`};
|
|
39
|
-
margin-bottom: ${s.sp3};
|
|
40
|
-
margin-top: ${s.sp4};
|
|
41
|
-
color: ${e=>e.isError===!0?Le.important:e.isDisabled===!0?e.theme.colors.grey1:e.theme.colors.primary};
|
|
42
|
-
`,Je=d.div`
|
|
43
|
-
flex: 1;
|
|
44
|
-
`,N=e=>`${e}_form`;export{ct as default,N as uniqueName};
|