@zeniai/web-cockpit-ui 1.14.90-qa → 1.14.91-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-B6sY0jN6-B0gf8H4B.js +21 -0
- package/dist/assets/{AIPerformancePage-DHF_70JI-Byb0JaRY.js → AIPerformancePage-BWK9fXrz-DKsZ1mo0.js} +43 -43
- package/dist/assets/AccountInfoPage-DfT5DDiZ-fWZyYCg5.js +18 -0
- package/dist/assets/AccountInfoPageContent-nUi26Aww-BYypek4H.js +149 -0
- package/dist/assets/AccountLockedInfoModal-BROj4bmE-BVM1T1YI.js +59 -0
- package/dist/assets/AccountReconDetailsDrawerPage-C-3FFCQZ-sRbxt9OR.js +239 -0
- package/dist/assets/{AccountRow-D2Ypckgj-BVuVsxAI.js → AccountRow-BM2kGWyR-T6iB2hx_.js} +24 -24
- package/dist/assets/AccountsPromoCardStack-CNCG5uPJ-CVvmiGCx.js +207 -0
- package/dist/assets/AddAddressForCardDrawer-BuAtFO1w-BFBt3SFQ.js +6 -0
- package/dist/assets/{AddToWalletPage-CmT5jSb5-BtE7INh2.js → AddToWalletPage-DyrcWdBZ-CvPiU8kF.js} +32 -32
- package/dist/assets/{AgingReportsPage-BeUGvj3b-BnHb3lWK.js → AgingReportsPage-CmluxKG3-A44UbSFN.js} +9 -9
- package/dist/assets/{AllUserItems-CmlMyz-f-BE3QXVOa.js → AllUserItems-CVZZU-J3-TfKbUj2d.js} +9 -9
- package/dist/assets/ApAgingDetailPage-CoNxqskm-DFDFQfze.js +46 -0
- package/dist/assets/AppBasePage-CTGNzUtN-DSfPwIJw.js +71 -0
- package/dist/assets/AppDrawerContent-59dQVUxu-C64nAWzc.js +91 -0
- package/dist/assets/ApprovalRulesSettingsPage-XEW5sdNg-BbhudnSk.js +47 -0
- package/dist/assets/ArAgingChart-D3Ym4gVE-BqVBnPwY.js +24 -0
- package/dist/assets/ArAgingDetailPage-BLEJSLJJ-DwMAtZnW.js +46 -0
- package/dist/assets/AttachmentView-DSP80cjm-UNIl1Ai8.js +101 -0
- package/dist/assets/{BankAccountSection-BVZK5jmO-CjTZMznk.js → BankAccountSection-DRrNcA79-hP-Vs5m_.js} +8 -8
- package/dist/assets/BankAccountWarningSection-Ub-gsfhE-CrMug0PW.js +51 -0
- package/dist/assets/{BankConnectionsSettingsPage-BN3lAARB-B0yEFHuK.js → BankConnectionsSettingsPage-BcTtJTbg-algC_RED.js} +29 -29
- package/dist/assets/BillDetailPage-D7AQyxwr-Cr5mMjBH.js +266 -0
- package/dist/assets/BillPayApprovalRuleDetailPage-BQWGENO8-OS81cubl.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-B8HbVvc9-CNKY0-NR.js → BillPayApprovalRulesPage-BbA1Nwqe-BwMbtGVn.js} +17 -17
- package/dist/assets/BillPayPromoPage-DSTS_vBW-BNfdixF0.js +84 -0
- package/dist/assets/BillPaySetUpPage-CvlVPVCA-C-Yq8DpY.js +42 -0
- package/dist/assets/BillingSettingsPage-nKpHtd4C-Bnbrb4t9.js +44 -0
- package/dist/assets/BillsBulkReviewDrawerPage-DNHAoceL-Dw8wGAVZ.js +1 -0
- package/dist/assets/BoxItem-Bjv3WNXO-DVhc5wWw.js +53 -0
- package/dist/assets/BusinessVerificationPage-Bj4D9bX2-BIO97DuN.js +138 -0
- package/dist/assets/CardNumberSubText-BYY-Inxd-BdlFsn4_.js +21 -0
- package/dist/assets/{CashbackDetailPage-D3WylWVP-D9Vs2ft8.js → CashbackDetailPage-D9UiTqp9-zR6MfAmm.js} +23 -23
- package/dist/assets/{ChargeCardDetailPage-BUsGBwBf-B-LmCTsN.js → ChargeCardDetailPage-C5EdiIyl-DLQH13JM.js} +24 -24
- package/dist/assets/{ChargeCardListPage-Jhx05dVV-CgbSqG5e.js → ChargeCardListPage-DZwz1qoD-C4LK4t_r.js} +17 -17
- package/dist/assets/{ChargeCardListTable-D-eYWaxh-OyS_l2le.js → ChargeCardListTable-D5B05Z1F-BFq9lu6-.js} +21 -21
- package/dist/assets/ChargeCardPromoPage-CDJMtGJb-BonChypf.js +222 -0
- package/dist/assets/ChargeCardSetupPage-CVV24gS9-Bz9Vbd0f.js +36 -0
- package/dist/assets/ChargeCardStatementsPage-CmjBoi5e-CP137h_S.js +60 -0
- package/dist/assets/CheckDepositDrawerPage-CYOhT5Qz-Ctri9wNN.js +206 -0
- package/dist/assets/{CollapsableReportTable-I40BZv7o-d2_h6r8O.js → CollapsableReportTable-hL_Ycouc-B8J7Q_nq.js} +81 -81
- package/dist/assets/{CompanyOfficerDetailsSection-ChsNKXbx-BF5MOIbR.js → CompanyOfficerDetailsSection-DR_6TlQa-eD8A7jcO.js} +23 -23
- package/dist/assets/CompanyPassportCard-B4chn7-Q-D5SPmBv_.js +42 -0
- package/dist/assets/{CompanyPassportPage-DG1Fa_Uw-Dkbt-nxV.js → CompanyPassportPage-oT9HnnPQ-SX0lC40Z.js} +136 -136
- package/dist/assets/CompleteProfile-BgH4v76Z-8UAVvvgt.js +52 -0
- package/dist/assets/ConfettiBurst-Cl6jHJ8H-LC2meCe-.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-DVzMO96w-D2_PioHE.js → CreateOrEditVendorPage-CW-u7pJU-p324jU3k.js} +16 -16
- package/dist/assets/CreditCardPaymentDrawerPage-D30M7ol4-DoXJ5bDN.js +224 -0
- package/dist/assets/CurrencySelectField-DOCEstMc-DZU689ma.js +139 -0
- package/dist/assets/CustomerOnboardingActivationPage-DMPNjFL_-ku4Vuy0S.js +88 -0
- package/dist/assets/CustomerOnboardingContainerPage-SmOFmXBW-DTgF2r26.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-C4Z1pDVe-BqoeEQuE.js → CustomerOnboardingDetailPageSkeleton-CBYo4VQn-Dn7fU-s8.js} +20 -20
- package/dist/assets/CustomerOnboardingNoStepsPage-EBVRCYfJ-CfvYqECa.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-C3FgZjAN-BMoiiOVQ.js → CustomerOnboardingPage-TJK6s-LM-BKRL2lJB.js} +10 -10
- package/dist/assets/CustomerOnboardingProductSuitePage-lNIP5gSu-PR2itKHa.js +202 -0
- package/dist/assets/{Dashboard-D_oTtu1--DmU_Kxzw.js → Dashboard-WiE9IRrh-Cv0kOt8p.js} +63 -63
- package/dist/assets/{DashboardReportPage-Dprj3eUQ-BvCOtKTf.js → DashboardReportPage-BKHl_IVD-C4Ea2qys.js} +21 -21
- package/dist/assets/DashboardSidebarBackgroundAnimation-B1mJObim-BrrhB9xn.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-C2oP415b-fO_vukRP.js → DepositAccTransactionItem-C8tChaJS-DUssbHtI.js} +12 -12
- package/dist/assets/DepositAccTransactionListPage-B6px7upV-CeIhvwtb.js +66 -0
- package/dist/assets/DomesticWireDetailsPage-BFQJmzYm-RX-JpFy3.js +21 -0
- package/dist/assets/{DownloadOverlay-BwddFmV2-TXwTh2dm.js → DownloadOverlay-DB-qx46O-j8z4pSob.js} +90 -90
- package/dist/assets/DrawerPage-Bha9ElcW-B8Be3mMf.js +118 -0
- package/dist/assets/EditPeoplePage-B6QD5Vld-jl0Ywq6s.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-DwCiVkeu-CHb4Vx_R.js → EditReimbursementDetailPage-EplOf2mP-0BJtsB6D.js} +20 -20
- package/dist/assets/EntityDetailPage-5Cu1qehd-DbU14HUf.js +18 -0
- package/dist/assets/EntitySummarySection-D6z6-dM7-CxR6H9p6.js +149 -0
- package/dist/assets/{ExpenseAutomationOverviewPage-hl_3Pc0g-DYxAAMa6.js → ExpenseAutomationOverviewPage-DkoxczRc-Nhh5EsPg.js} +27 -27
- package/dist/assets/ExpenseAutomationPage-Na3XKgcg-v_T_dNPC.js +1650 -0
- package/dist/assets/{ExpressPayPage-BpfkmJ_I-Cr6J8360.js → ExpressPayPage-DWGl_gml-BK4q9z9-.js} +19 -19
- package/dist/assets/FeaturePreviewPage-BgkpUPMm-CjuE-Vy6.js +11 -0
- package/dist/assets/{FollowStepsSection-Bu3RG_GH-1o9BWCUV.js → FollowStepsSection-64oy2OLD-mYi4qCkY.js} +23 -23
- package/dist/assets/{GlobalReviewListPage-D4BD7q-I-IVn_04O3.js → GlobalReviewListPage-DHfTyj2C-jQOPvWvS.js} +48 -48
- package/dist/assets/{InformationCardStack-B9wnkR3p-InW9f_7k.js → InformationCardStack-Dw3lhl2I-7einUDdd.js} +8 -8
- package/dist/assets/InsightsCardStack-BiEswY1Z-B0ppu_rT.js +79 -0
- package/dist/assets/InsightsSection-DvqCilqy-J94KiGaL.js +27 -0
- package/dist/assets/IntegrationsSettingsPage-DzVYf5ff-EFzWzTcS.js +57 -0
- package/dist/assets/InternationalWireSwiftDetailsPage-DTHcuQsH-DCnTBpNn.js +171 -0
- package/dist/assets/{InternationalWireVerificationPage-B8AOwcSX-O5d4_jx5.js → InternationalWireVerificationPage-BzyRqd-m-CtMekcQE.js} +13 -13
- package/dist/assets/InviteFormPage-CaJB3ss1-BX5i7EqT.js +312 -0
- package/dist/assets/{InvitePageListView-Dw8kwEFd-BOBOJq-T.js → InvitePageListView-8Ltt8tHx-CtYoDyrk.js} +49 -49
- package/dist/assets/InvitePeoplePage-A7oKAD7M-BQc_PdIV.js +12 -0
- package/dist/assets/InvoiceUploadSection-DomquLut-e92SA0tf.js +140 -0
- package/dist/assets/{IssueChargeCardPage-fumweN4Y-CbGa-1Sy.js → IssueChargeCardPage-DtIQ1Buk-DjM4t17X.js} +8 -8
- package/dist/assets/LabeledAddressValue-B_9lh-_a-DIizmhzb.js +49 -0
- package/dist/assets/LabeledAddressValueField-CC7T3qZQ-m9gvzhHo.js +45 -0
- package/dist/assets/LabeledControlledCheckBoxField-CeMM7Ci3-mZLzoQGL.js +16 -0
- package/dist/assets/{LabeledCreatableSingleSelectField-CnQsTYWe-BNKI3sBW.js → LabeledCreatableSingleSelectField-DKD0oEl8-gq-eDRMt.js} +12 -12
- package/dist/assets/LabeledDocumentField-Dy3jwAiL-49YAoImC.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-DDzM3r6s-ECrfBFdw.js +59 -0
- package/dist/assets/LabeledText-axaAGyUS-Dng_AeMD.js +42 -0
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CSEiKb8M-DUVObrd4.js → LabeledUserSingleSelectWithSubtitlesField-UlGND56Y-Bns3vXLL.js} +17 -17
- package/dist/assets/{LabeledZeniRolesDropDownField-CS_oKjBG-BYrCH7sg.js → LabeledZeniRolesDropDownField-dpz7g9jK-BS9FUIQq.js} +26 -26
- package/dist/assets/LinkJETransactionPage-CJniqVcu-DlmRVmek.js +98 -0
- package/dist/assets/{LockCardPage-DqQGGac2-DNRrTsHA.js → LockCardPage-CjO8cr2a-_f0132IP.js} +42 -42
- package/dist/assets/LowBalancePopup-DVS-w3b7-DP0lgN2T.js +34 -0
- package/dist/assets/MagicLinkACHDetailsPage-CUHMKmcj-B4JK6Tsk.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Dnc7OzKQ-CjkHVZHo.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-sBpQkYwP-BFgoRuDp.js +1 -0
- package/dist/assets/MagicLinkSuccessPage-DAAoq3iT-c3oKtr_f.js +31 -0
- package/dist/assets/MagicLinkTitleSection-FMRBLlRJ-BOWrScDm.js +17 -0
- package/dist/assets/MailingDetailsSection-CiJ5JLA6-DddwOxAo.js +21 -0
- package/dist/assets/Menu-wpP8R1br-CxnIQs8p.js +17 -0
- package/dist/assets/MyBankConnectionsSettingsPage-DIIFgnkE-CogNLqVY.js +110 -0
- package/dist/assets/MyPendingActivationChargeCardListPage-Di_KYRgS-DRNBLhDG.js +6 -0
- package/dist/assets/MyProfileSettingsPage-m6vaeGgZ-chnTYzOu.js +85 -0
- package/dist/assets/NavBarWithPicker-C_qO8mgD-DUpFfabv.js +30 -0
- package/dist/assets/{NavigationArrow-Z9PgxZ-c-2tqZ4Fw-.js → NavigationArrow-BXYIj6Wz-DziJLhPd.js} +7 -7
- package/dist/assets/NavigationDots-BvKSgdgh-LQiuRx4x.js +15 -0
- package/dist/assets/{NewGlobalMerchantPage-YsnX4uQU-D0h-bx1p.js → NewGlobalMerchantPage-Dc3xEoiZ-C2aDiu95.js} +19 -19
- package/dist/assets/NoDataChart-C5ZP32zB-Co6FSXzL.js +26 -0
- package/dist/assets/NoDataTable-BnBYE8p_-CiELOEE2.js +8 -0
- package/dist/assets/NotFoundPage-CZ25GWwU-BIBXUzqs.js +46 -0
- package/dist/assets/{NotificationSettingsPage-DlU2NxiC-Dm2QaTZo.js → NotificationSettingsPage-DHvgj7Hu-D3suXG--.js} +28 -28
- package/dist/assets/NotificationsListConfig-BBLSv0sd-C4KCM8pw.js +1 -0
- package/dist/assets/{NotificationsPage-q0bK_5gs-jK6e_Uyw.js → NotificationsPage-CGVEC-Zc-C8fq9c_9.js} +34 -34
- package/dist/assets/{OpExByVendorPage-Boc7U8eu-CVJq9vF2.js → OpExByVendorPage-D55JZne--D9xmj7rz.js} +24 -24
- package/dist/assets/OverlayContainerPage-Daz3A7cI-D6qPPmeQ.js +11 -0
- package/dist/assets/{PandLWithForecastPage-B2eGvFPp-BaY0fBnf.js → PandLWithForecastPage-fVmttEKP-D6Evs_k0.js} +12 -12
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-BP-_59EO-hGRsM6bI.js → PaymentAccountSetupBillingAddressSection-BiU8tQnm-4Kl9uXwr.js} +22 -22
- package/dist/assets/{PeoplePage-YMfZIga6-BEib8XAV.js → PeoplePage-QuuuX2AS-CUwuNLCQ.js} +13 -13
- package/dist/assets/Preview-D0lKYz6_.js +1 -0
- package/dist/assets/ProductsCarousel-zdZkfaiY-CKycG9Wt.js +142 -0
- package/dist/assets/{PromoBaseCards-CmOYEhSO-bExxN6kp.js → PromoBaseCards-flFtcbIg-iLyc6jwq.js} +14 -14
- package/dist/assets/QBOConnectionDialog-DNB2C1vQ-B6h7mZJt.js +51 -0
- package/dist/assets/QBOSetupSection-B59etoGz-Dx4Hkrje.js +79 -0
- package/dist/assets/ReimbursementApprovalRuleDetailPage-D7do3o0A-DaR0xdJA.js +32 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-BkuYJ6qb-7dFuSzMb.js → ReimbursementApprovalRulesPage-BJ6GewQ2-D7efVmkv.js} +33 -33
- package/dist/assets/ReimbursementDetailPage-DKAtYSOy-C-uqjyM_.js +314 -0
- package/dist/assets/ReimbursementPromoPage-DKcSHlHp-XcrUKScH.js +84 -0
- package/dist/assets/ReimbursementSetUpPage-Y1e_hna--rh2VyUST.js +140 -0
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-fgz8s4w9-CzZAxGly.js +1 -0
- package/dist/assets/ReloadCard-DjtdPHq5-BoSxtWCb.js +26 -0
- package/dist/assets/ReportTableViewSelector-C8e6IEWt-BJN3fro7.js +150 -0
- package/dist/assets/{ReportsPage-iJDifG6q-CYAyIPrv.js → ReportsPage-BIe0eDLC-D5ygJVqP.js} +12 -12
- package/dist/assets/{RevenueChart-BbOK-HCB-C8qpvMvb.js → RevenueChart-Cc0XrxLL-BB6kfchw.js} +35 -35
- package/dist/assets/ReviewDetailsPage-CU1AYWgR--SOiatSS.js +290 -0
- package/dist/assets/ReviewOverlay-CruJ9O84-BdMFQyaH.js +152 -0
- package/dist/assets/RoleWithToolTip-fC3byzzv-DteZC2-q.js +22 -0
- package/dist/assets/ScheduleDetailsFixedAssetsPage-CE3tUYhk-Aj3mnuFr.js +37 -0
- package/dist/assets/ScheduleDetailsPage-BhAqJ1Of-BNYzMpaE.js +37 -0
- package/dist/assets/{ScheduleSequenceTable-Bb7MJ-zJ-BYUE2OMk.js → ScheduleSequenceTable-NSt1juSD-BtySotUK.js} +21 -21
- package/dist/assets/ScreenRoutes-Ofrn7XPK.js +201 -0
- package/dist/assets/SetUpAccountSection-C1EnJv1V-nWkvB51T.js +378 -0
- package/dist/assets/SignIn-BhIof_Cm-Stp0fHNQ.js +463 -0
- package/dist/assets/SignInScreen-ApNcuhAj.js +1 -0
- package/dist/assets/SpendManagementListViewPage-BEWNNX_Z-Qf8TDCkQ.js +123 -0
- package/dist/assets/{SpendManagementPerTabPage-HzCmGr0--xZeoOzCY.js → SpendManagementPerTabPage-Vs1Eoxgd-DGhcXeqs.js} +43 -43
- package/dist/assets/{SpendManagementSection-LzT-Bnhy-7KIDrHzn.js → SpendManagementSection-C38Zpi1z-Hvu4v5m7.js} +16 -16
- package/dist/assets/StatementItem-bHInVThd-BfGU3kqj.js +31 -0
- package/dist/assets/StatementsPage-CGQhmaXx-CVtkQqM2.js +58 -0
- package/dist/assets/{StatusSwitcher-BPKr5BUW-iZy1SY4R.js → StatusSwitcher-7fiKLb5g-cQtYU__8.js} +10 -10
- package/dist/assets/{SubTabSwitcher-4dvyyQSv-B0aTRMDP.js → SubTabSwitcher-9AnfZiNy-CobTdTqd.js} +8 -8
- package/dist/assets/SummaryCard-DOycYLs1-BLeRuOD7.js +1 -0
- package/dist/assets/{TaskManagementPage-BiyyDIWi-DOn8-w1u.js → TaskManagementPage-CehyMnY0-BwJtO-U4.js} +29 -29
- package/dist/assets/TimeRangeSwitcher-Dq2FEgFR-DmMi5La_.js +64 -0
- package/dist/assets/{TimeframeSwitcher-u606tI8Z-CLiEbUCN.js → TimeframeSwitcher-By3xz_-m-1CBF6COV.js} +4 -4
- package/dist/assets/TimeframeSwitcherWithToggle-a3fmbzNR-B9R7QlVw.js +31 -0
- package/dist/assets/TopExCard-GEQpp_KY-74e79UYx.js +38 -0
- package/dist/assets/{TopExDetailPage-Cla8Hd-1-DK-xuoZs.js → TopExDetailPage-hid1dQYl-WgHXC6hE.js} +31 -31
- package/dist/assets/{TransactionDetailPage-BbjtQvBr-FXHAHiFr.js → TransactionDetailPage-CX4JW9WM-DyZTJ1bq.js} +44 -44
- package/dist/assets/TransactionList-BixeXh4Y-Il163hc_.js +147 -0
- package/dist/assets/{TransactionListBig-BOeu4-R4-o6UH9k2V.js → TransactionListBig-CGMMJQBd-KQNhkGbE.js} +25 -25
- package/dist/assets/TransactionListPage-CBVUTX4y-DWsla1LN.js +35 -0
- package/dist/assets/TransactionVendorDetailPage-CEbHH_0r-CS6QQqEG.js +80 -0
- package/dist/assets/{TransferDrawerPage-BTqCR3Hb-BWfDRvEr.js → TransferDrawerPage-BFd7uQnF-AGu3EQB7.js} +19 -19
- package/dist/assets/{TreasuryOverviewPage-CDJtsQsC-BAM2Gg0T.js → TreasuryOverviewPage-Bd58hOy8-P3TIcDYG.js} +50 -50
- package/dist/assets/{TreasuryPromoPage-Bqt6DcqL-CXIyIitA.js → TreasuryPromoPage-BvArufHi-B6OSOn5z.js} +10 -10
- package/dist/assets/TreasuryStatementsPage-YLCEBbRh-BeAedV0-.js +58 -0
- package/dist/assets/TreasuryTaxLetterPage-D_6mgQqi-CO3HXioV.js +58 -0
- package/dist/assets/TrendChart-D3dT6hUb-CRyvw86n.js +16 -0
- package/dist/assets/TrendWithTransactions-Gj-u5KXi-CpckXM1N.js +116 -0
- package/dist/assets/{UncategorizedAccountsMappingPage-CFx4P194-BZZ4iMs4.js → UncategorizedAccountsMappingPage-B3eRYolj-D-Jwo7-l.js} +10 -10
- package/dist/assets/UnitIntegrationPage-DpjR9hUu-BIdCIf5k.js +67 -0
- package/dist/assets/UploadAdditionalDocumentOverlay-COtszXUY-DBj80beJ.js +38 -0
- package/dist/assets/Vendor2FAPopup-C85mhuSb-SCWhQlz7.js +1 -0
- package/dist/assets/VendorACHDetailsPage-DeexeWpV-CvETHK8j.js +1 -0
- package/dist/assets/{VendorDetailPage-Dy9McuGu-d-ZpZ6aU.js → VendorDetailPage-BrbKfsL4-BYuDBwtU.js} +100 -100
- package/dist/assets/VendorDomesticWireDetailsPage-DBChSKlR-4iWeRYsC.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-Y0hGO4RH-BToJSlm-.js → VendorFiling1099EditablePage-DgBLn3fd-DyXTQ39Q.js} +11 -11
- package/dist/assets/{VendorFirstReviewPage-C-pT1M36-D4-Nv1Fg.js → VendorFirstReviewPage-jc7-OExI-CcNlKzIr.js} +66 -66
- package/dist/assets/{VendorInternationalWireDetailsPage-CCMramET-BwYsNdGo.js → VendorInternationalWireDetailsPage-c6isgwH2-CfXEdhbK.js} +11 -11
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CywCx8-0-BWyYdePs.js +1 -0
- package/dist/assets/VendorsAccountsSection--VfdAF3H-aooc9xax.js +68 -0
- package/dist/assets/VerifyDevice-CaifjdR8-CqDImdvA.js +112 -0
- package/dist/assets/VideoPlayer-BVR9LPmm-Cf1X7mgb.js +78 -0
- package/dist/assets/VideoPopup-BEXc8o78-CxvDyO3n.js +31 -0
- package/dist/assets/WarningsDrawerPage-CboqfxzC-BsdL63Q1.js +92 -0
- package/dist/assets/{ZeniAccountDetailPage-BF8cg2oa-Df5W17bc.js → ZeniAccountDetailPage-Dujj0-XC-Bs0_mCxO.js} +33 -33
- package/dist/assets/{ZeniAccountListViewPage-BkdkYY8j-Bvi6PCOk.js → ZeniAccountListViewPage--SMJDGvC-B9VB-g9k.js} +18 -18
- package/dist/assets/ZeniAccountNavBarPieces-DqLJVQ5t-B6EqVL37.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-COAOIU03-B_FVyXMi.js → ZeniAccountPromoPage-BVjJvWsA-D_izrQ3u.js} +29 -29
- package/dist/assets/ZeniAccountSetupPage-Dvxst8RT-Dw_0q67c.js +36 -0
- package/dist/assets/ZeniCopyright-B88k3pkr-D_GBhPtz.js +1 -0
- package/dist/assets/ZeniTransferAmountSlider-1DS0MsTI-D_vM8ORb.js +63 -0
- package/dist/assets/add-to-wallet-DgdBD8_G-DvwlYBb0.js +1 -0
- package/dist/assets/agingReportHelper-ovKP-qSS-Cx4Hdid-.js +1 -0
- package/dist/assets/{analytics-DGBWhVbe.js → analytics-CHPpxU3b.js} +2 -2
- package/dist/assets/analyticsHelper-D88-Oppk.js +1 -0
- package/dist/assets/analyticsHelper-DmujELNG-B2_5NV-p.js +1 -0
- package/dist/assets/arrow-south-east-round-PEovUgvH-D9klpzRU.js +1 -0
- package/dist/assets/auto-transfer-rule-mbafm5D3-CHCjFoIN.js +1 -0
- package/dist/assets/chartTypes-DRiSljvE-CN4L62GH.js +1 -0
- package/dist/assets/commonDimensions-BDftm0gJ-DyUDFvZC.js +1 -0
- package/dist/assets/constants-B4Ak6U9p.js +1 -0
- package/dist/assets/{core-B-FNbYlu.js → core-CA3j8Axi.js} +13 -13
- package/dist/assets/{dash.all.min-BBsvkPzr.js → dash.all.min-Bzta_mrR.js} +11 -11
- package/dist/assets/detailCommon-BGgE4mE3-D-w4kHC7.js +38 -0
- package/dist/assets/downloadPdf-DCQ9vVZs-Be80rXL-.js +1 -0
- package/dist/assets/empty-CrPfQgao.js +1 -0
- package/dist/assets/empty-Dn000SHy.js +1 -0
- package/dist/assets/epic-C_I3d-Sx.js +2 -0
- package/dist/assets/getReferrerType-DjPOy76W-DRP5VHem.js +1 -0
- package/dist/assets/gift-box-Cmt9OgIZ-eSACml6z.js +1 -0
- package/dist/assets/graphic-no-data-l-DU4J8fDt-BzIPOWHn.js +1 -0
- package/dist/assets/graphic-no-data-net-burn-l-CzmycA0m-CtBcTNoa.js +1 -0
- package/dist/assets/handshake-BPg58FML-DvA7MfJg.js +1 -0
- package/dist/assets/{hls-BA0yQjS5.js → hls-SyH7Grr1.js} +1 -1
- package/dist/assets/{index-piC0sJHK.js → index-BG_bOyH4.js} +57 -57
- package/dist/assets/index-BWZriWwb.js +1 -0
- package/dist/assets/index-BiiqfeFx.js +39 -0
- package/dist/assets/index-C-ypGNlB.js +1 -0
- package/dist/assets/index-C4-PHmb9.js +1 -0
- package/dist/assets/index-C5fdNIhc.js +1 -0
- package/dist/assets/{index-Dm9r1f6s.js → index-DJLrbf0F.js} +4190 -4191
- package/dist/assets/lexical-dZFDzIA1.js +21 -0
- package/dist/assets/{liveblocks-BBTLClA6.js → liveblocks-C2I4vRCJ.js} +15 -15
- package/dist/assets/{lottie-gmZDfwf4.js → lottie-B7mXQ-R-.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-CXP8ZZTG-DkaL-N2A.js +1 -0
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-BZSP-VcP-BuUbTOqM.js +1 -0
- package/dist/assets/mapSpacerToTreeNode-Bc1S_1ej-BOT7FVTB.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-ClgcHX26-Cs9gyyXd.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-Cwp98PMa-tz5P0V5W.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BmDRXfMV-Bmf8af15.js +1 -0
- package/dist/assets/{mixin-D3UDm--6.js → mixin-BPAPQfSE.js} +3 -3
- package/dist/assets/{mui-DLNyBjYF.js → mui-DpJXlk4t.js} +5 -5
- package/dist/assets/page-detail-CWX5S47F-Byx36A1h.js +1 -0
- package/dist/assets/radio-default-CiSgisfh-HcY1qXLg.js +1 -0
- package/dist/assets/react-B2Dtpj08.js +29 -0
- package/dist/assets/react-B7zczQTC.js +17 -0
- package/dist/assets/react-BuuImry8.js +44 -0
- package/dist/assets/react-C5CamjHm.js +16 -0
- package/dist/assets/react-CurU10nF.js +37 -0
- package/dist/assets/{react-BiH01iGK.js → react-D9gRIIQJ.js} +3 -3
- package/dist/assets/react-KsUvriAa.js +31 -0
- package/dist/assets/{react-2VG2yH4x.js → react-PdDuKQQV.js} +2 -2
- package/dist/assets/{recharts-Cnl2EvUV.js → recharts-BGdJnVo5.js} +1 -1
- package/dist/assets/{sentry-EYLV4XmG.js → sentry-BA4piVNf.js} +19 -19
- package/dist/assets/shield-DOlUxcFf-DciCHlJY.js +1 -0
- package/dist/assets/toCOABalancesWithID--oEGymMJ-DrPkDPTu.js +1 -0
- package/dist/assets/toChartData-CavJzP6f-B2iIF7nP.js +1 -0
- package/dist/assets/transaction-placeholder-CpOwZAMG-2yCTNaDx.js +1 -0
- package/dist/assets/types-DyvtCprH-NFPm5TaG.js +1 -0
- package/dist/assets/{uploadAttachment-CeUHLpzO-C_J8w5W4.js → uploadAttachment-BuVCsq0Q-BB-5S1Qg.js} +12 -12
- package/dist/assets/uploadReceipts-CPw64UYa-DU-gRzOR.js +1 -0
- package/dist/assets/url-Bq2XNMnM.js +1 -0
- package/dist/assets/url-RUB1rBsd.js +6 -0
- package/dist/assets/useLongPress-GCK2COYQ-Ch-mrcwO.js +1 -0
- package/dist/assets/usp-line-BBd1wKwW-BZdA9pHf.js +1 -0
- package/dist/assets/{utils-D1zwltK3.js → utils-DUsHM-Uc.js} +1 -1
- package/dist/assets/{zeni-epic-state-HWtMOH-U.js → zeni-epic-state-CQt4n3Xe.js} +32 -32
- package/dist/index.html +1 -1
- package/package.json +15 -13
- package/dist/assets/ACHDetailsPage-BUP-_2-W-gKUKs0Pb.js +0 -21
- package/dist/assets/AccountInfoPage-pmUIckJ9-CAlO-FHB.js +0 -18
- package/dist/assets/AccountInfoPageContent-DLSL1NNm-CTMQNQY3.js +0 -149
- package/dist/assets/AccountLockedInfoModal-Bq3y0K0F-Caep-eEi.js +0 -59
- package/dist/assets/AccountReconDetailsDrawerPage-CGcZO_qz-DphTR8AG.js +0 -239
- package/dist/assets/AccountsPromoCardStack-BVVDCW1H-CHjSEilj.js +0 -207
- package/dist/assets/AddAddressForCardDrawer-C8aENofu-_B3noxtJ.js +0 -6
- package/dist/assets/ApAgingDetailPage-Dz1_N0Yw-TUc4-BfW.js +0 -46
- package/dist/assets/AppBasePage-DX4EGGcT-CA5JIcq8.js +0 -71
- package/dist/assets/AppDrawerContent-Brg3Rw4K-Du3ev71U.js +0 -91
- package/dist/assets/ApprovalRulesSettingsPage-Bn7KrUl2-C_CZXQYN.js +0 -47
- package/dist/assets/ArAgingChart-DQZtCsHS-zcjxKJqm.js +0 -24
- package/dist/assets/ArAgingDetailPage-BtF6K5dA-CM34YcdM.js +0 -46
- package/dist/assets/AttachmentView-DgPySmB8-B41pIkR9.js +0 -101
- package/dist/assets/BankAccountWarningSection-DHdeDi15-M9LQMU5u.js +0 -51
- package/dist/assets/BillDetailPage-BuUm6vdf-BEfZuL72.js +0 -266
- package/dist/assets/BillPayApprovalRuleDetailPage-BXSdsF2E-BZdDia51.js +0 -27
- package/dist/assets/BillPayPromoPage-DkoqXDNt-Jx7NR9vs.js +0 -84
- package/dist/assets/BillPaySetUpPage-BommXkLS-CxAPQ6nt.js +0 -42
- package/dist/assets/BillingSettingsPage-gHbc5Kq3-6eOgIWo-.js +0 -44
- package/dist/assets/BillsBulkReviewDrawerPage-C541rBnx-CpMaFNun.js +0 -1
- package/dist/assets/BoxItem-usHxaONy-yqmV2_EE.js +0 -53
- package/dist/assets/BusinessVerificationPage-CLsxXy9d-ThEm2-hv.js +0 -138
- package/dist/assets/CardNumberSubText-D_fWhc_K-C63mXt5C.js +0 -21
- package/dist/assets/ChargeCardPromoPage-CzR82VtA-C4AU7pmq.js +0 -222
- package/dist/assets/ChargeCardSetupPage-Ctz8PCuu-CQ_qZ7MK.js +0 -36
- package/dist/assets/ChargeCardStatementsPage-EUtRTAX2-C_GDwTRC.js +0 -60
- package/dist/assets/CheckDepositDrawerPage-B7DC0HAi-p07KcTOW.js +0 -206
- package/dist/assets/CompanyPassportCard-82bbFwk--CB88G7Qo.js +0 -42
- package/dist/assets/CompleteProfile-B7bQqLQH-3BvSCHX1.js +0 -52
- package/dist/assets/ConfettiBurst-DUyIBnw4-Bzth-g3m.js +0 -1
- package/dist/assets/CreditCardPaymentDrawerPage-C03hfKGc-CNfSxnSZ.js +0 -224
- package/dist/assets/CurrencySelectField-2hU3oIp_-C4bLV2kj.js +0 -139
- package/dist/assets/CustomerOnboardingActivationPage-Dt-Nml2t-B6WqU8lr.js +0 -88
- package/dist/assets/CustomerOnboardingContainerPage-Dt-_tVOQ-UhKf7bOm.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-CwI8nL61-fFJJ4fRN.js +0 -66
- package/dist/assets/CustomerOnboardingProductSuitePage-BOYu-82S-CVVsk6ik.js +0 -202
- package/dist/assets/DashboardSidebarBackgroundAnimation-C6SQaB7q-Dxl5QlMk.js +0 -12
- package/dist/assets/DepositAccTransactionListPage-DCvdqAz1-B_wb_nSG.js +0 -66
- package/dist/assets/DomesticWireDetailsPage-Da_3EveP-BRE1nKx5.js +0 -21
- package/dist/assets/DrawerPage-CGrnrvf2-C0F2USa4.js +0 -118
- package/dist/assets/EditPeoplePage-DMgxG2Gd-CCtVDE58.js +0 -55
- package/dist/assets/EntityDetailPage-BcRVEfi5-CepotlTP.js +0 -18
- package/dist/assets/EntitySummarySection-BaHHLLkE-Drrfo_tg.js +0 -149
- package/dist/assets/ExpenseAutomationPage-D70ghitX-sSwqGXv6.js +0 -1650
- package/dist/assets/FeaturePreviewPage-Bzi8Bpk3-Drk_uxAx.js +0 -11
- package/dist/assets/InsightsCardStack-C1_rd2Sb-Dhs19DDG.js +0 -79
- package/dist/assets/InsightsSection-7-T67WeF-R1I0UTTj.js +0 -27
- package/dist/assets/IntegrationsSettingsPage-C9YpvDgg-q-aOCVtI.js +0 -57
- package/dist/assets/InternationalWireSwiftDetailsPage-C5mI8dEh-B0sOCS9F.js +0 -171
- package/dist/assets/InviteFormPage-DuBhhnre-BDO1iW13.js +0 -312
- package/dist/assets/InvitePeoplePage-BI_vd7xw-BK1DYXv5.js +0 -12
- package/dist/assets/InvoiceUploadSection-9DaovMq8-nY-DuZwJ.js +0 -140
- package/dist/assets/LabeledAddressValue-cNf6hI1l-BswrPJcJ.js +0 -49
- package/dist/assets/LabeledAddressValueField-CoTtV0RQ-oEM2MjQO.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-DQwUvKR2-CCQx34pM.js +0 -16
- package/dist/assets/LabeledDocumentField-MkryOLQ8-DH1KAWxk.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-B-yUtgxR-Svg2dZ6s.js +0 -59
- package/dist/assets/LabeledText-BJ3Zvb5p-ndTmW7U8.js +0 -42
- package/dist/assets/LinkJETransactionPage-BsszwFNq-CVlh2hC9.js +0 -98
- package/dist/assets/LowBalancePopup-BFo5zRk3-mdHe1dcy.js +0 -34
- package/dist/assets/MagicLinkACHDetailsPage-wYa3cyyZ-tz2BvffR.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-CW4RNKOV-CtiYd2c1.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-CX9SeCLl-HVNLuX22.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-Dipq1-St-CbeB13LZ.js +0 -31
- package/dist/assets/MagicLinkTitleSection-DnN52Uwb-Cs_fy5V9.js +0 -17
- package/dist/assets/MailingDetailsSection-DwNF-L2Y-DrhhdeyV.js +0 -21
- package/dist/assets/Menu-D0jF6uaE-063ttLpF.js +0 -17
- package/dist/assets/MyBankConnectionsSettingsPage-DpM6MKBq-E1-nhC0K.js +0 -110
- package/dist/assets/MyPendingActivationChargeCardListPage-BaT55Pwg-Ag6G6vZu.js +0 -6
- package/dist/assets/MyProfileSettingsPage-kD1dY6P6-BfZFNoxD.js +0 -85
- package/dist/assets/NavBarWithPicker-D-WQJ-tG-Cy7zBv5q.js +0 -30
- package/dist/assets/NavigationDots-BT-m0FmS-COkqBkfX.js +0 -15
- package/dist/assets/NoDataChart-DMivligx-CY99ibCB.js +0 -26
- package/dist/assets/NoDataTable-DwOJY23X-0CWxLk-0.js +0 -8
- package/dist/assets/NotFoundPage-DuKXpHos-CG3u4rQy.js +0 -46
- package/dist/assets/NotificationsListConfig-BQCb9x9X-CKZiM7oL.js +0 -1
- package/dist/assets/OverlayContainerPage-CrZuT2Jj-CY2cJwH_.js +0 -11
- package/dist/assets/Preview-BszQHI_F.js +0 -1
- package/dist/assets/ProductsCarousel-CUaU5-V7-DTCkPx2F.js +0 -142
- package/dist/assets/QBOConnectionDialog-BNiXUEAk-O1EeGUUa.js +0 -51
- package/dist/assets/QBOSetupSection-CjjNFfgF-hqHet92Q.js +0 -79
- package/dist/assets/ReimbursementApprovalRuleDetailPage-tP7WcKvd-47DORnA2.js +0 -26
- package/dist/assets/ReimbursementDetailPage-D5IzqJS5-B19mA4vu.js +0 -314
- package/dist/assets/ReimbursementPromoPage-D7n6lZNo-CgdMqXow.js +0 -84
- package/dist/assets/ReimbursementSetUpPage-E1elWU5Z-D7O-pf9b.js +0 -140
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-HzYNji-G-BjLwNAB4.js +0 -1
- package/dist/assets/ReloadCard-DMWwNZ1z-D31XYoZn.js +0 -26
- package/dist/assets/ReportTableViewSelector-EU36E1lv-CLM26q4e.js +0 -150
- package/dist/assets/ReviewDetailsPage-Bk2vvBn3-CMASDCWv.js +0 -290
- package/dist/assets/ReviewOverlay-CJlk2MNH-DksHT3Bn.js +0 -152
- package/dist/assets/RoleWithToolTip-B7woUKhj-tuSqaaK3.js +0 -22
- package/dist/assets/ScheduleDetailsFixedAssetsPage-B-WjqQN_-lrt0yIGR.js +0 -37
- package/dist/assets/ScheduleDetailsPage-ocFBINM3-BDslid8Y.js +0 -37
- package/dist/assets/ScreenRoutes-DoE2zy1N.js +0 -201
- package/dist/assets/SetUpAccountSection-9zELif-q-jAntwqfL.js +0 -378
- package/dist/assets/SignIn-BHHUcLal-B9B7yu5c.js +0 -448
- package/dist/assets/SignInScreen-Czg-Wlkz.js +0 -1
- package/dist/assets/SpendManagementListViewPage-BAdSW-49-Cy3aFFuZ.js +0 -123
- package/dist/assets/StatementItem-BnxTFgdM-BUy1CSEA.js +0 -31
- package/dist/assets/StatementsPage-B8X2un5p-Ao0DiWwm.js +0 -58
- package/dist/assets/SummaryCard-CiNkV7uy-CyUPIfT8.js +0 -1
- package/dist/assets/TimeRangeSwitcher-DEEhq2Us-DC70llJC.js +0 -64
- package/dist/assets/TimeframeSwitcherWithToggle-D2sBGHXQ-ChLeBSSB.js +0 -31
- package/dist/assets/TopExCard-DbPlohSJ-Dhp9OZxf.js +0 -38
- package/dist/assets/TransactionList-BRiHadkm-DPpaSQ1Y.js +0 -147
- package/dist/assets/TransactionListPage-ByVvx6ON-CwQjGljA.js +0 -35
- package/dist/assets/TransactionVendorDetailPage-DMweGn3b-Dq7toltd.js +0 -80
- package/dist/assets/TreasuryStatementsPage-2PsC-PWa-D70yhjS2.js +0 -58
- package/dist/assets/TreasuryTaxLetterPage-D6MoHMAo-DmesESI8.js +0 -58
- package/dist/assets/TrendChart-DiutckSt-D94T5IZh.js +0 -16
- package/dist/assets/TrendWithTransactions-rPwZKHfV-Dtp5jwDW.js +0 -116
- package/dist/assets/UnitIntegrationPage-DO8dMzVg-Cd3rb01x.js +0 -67
- package/dist/assets/UploadAdditionalDocumentOverlay-Ug3kL02_-DKI6OhwV.js +0 -38
- package/dist/assets/Vendor2FAPopup-BdG-Ywma-CO_da9UG.js +0 -1
- package/dist/assets/VendorACHDetailsPage-BUNmE_s6-DPSp4E23.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-DvACrh7C-BLzpieuI.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-lxD_Z5W--961yvZRp.js +0 -1
- package/dist/assets/VendorsAccountsSection-D-3fhQvy-CbP2SER5.js +0 -68
- package/dist/assets/VerifyDevice-DDZdWfa8-H5PbdKsY.js +0 -112
- package/dist/assets/VideoPlayer-D0GZ_Yml-gee9OAo-.js +0 -78
- package/dist/assets/VideoPopup-CEdhfU31-8qrMVIxi.js +0 -31
- package/dist/assets/WarningsDrawerPage-CIK9lkT2-D5cDBgQm.js +0 -92
- package/dist/assets/ZeniAccountNavBarPieces-FAxN1QDY-C5pMry9_.js +0 -14
- package/dist/assets/ZeniAccountSetupPage-QMBiVius-DueIhJzT.js +0 -36
- package/dist/assets/ZeniCopyright-CgfP-kcy-DUMhOisg.js +0 -1
- package/dist/assets/ZeniTransferAmountSlider-B1fmc3f9-DSYZgQje.js +0 -63
- package/dist/assets/add-to-wallet-DgdBD8_G-BctcirlU.js +0 -1
- package/dist/assets/agingReportHelper-ovKP-qSS-BPG0U4uX.js +0 -1
- package/dist/assets/analyticsHelper-BKtlFOJm-CcPLbTK6.js +0 -1
- package/dist/assets/analyticsHelper-BV9ovV44.js +0 -1
- package/dist/assets/arrow-south-east-round-PEovUgvH-DFZl4BUT.js +0 -1
- package/dist/assets/auto-transfer-rule-mbafm5D3-BCnmjSj0.js +0 -1
- package/dist/assets/chartTypes-BZYC5y5J-CVmMioA0.js +0 -1
- package/dist/assets/commonDimensions-B-aZt-hB-CP54iB8v.js +0 -1
- package/dist/assets/detailCommon-DCtkwfR8-Dr2vx6ZY.js +0 -38
- package/dist/assets/downloadPdf-BhQlJMh0-DeqZGQ39.js +0 -1
- package/dist/assets/empty-CnIz-OQ7.js +0 -1
- package/dist/assets/empty-TjEo4rDg.js +0 -1
- package/dist/assets/epic-DMZtehrN.js +0 -2
- package/dist/assets/getReferrerType-DjPOy76W-Cm31g4vJ.js +0 -1
- package/dist/assets/gift-box-Cmt9OgIZ-aujv_noX.js +0 -1
- package/dist/assets/graphic-no-data-l-DU4J8fDt-DTSR9TM8.js +0 -1
- package/dist/assets/graphic-no-data-net-burn-l-CzmycA0m-Bw4ambPw.js +0 -1
- package/dist/assets/handshake-BPg58FML-BjSDfVm7.js +0 -1
- package/dist/assets/index-CFi0iD-l.js +0 -1
- package/dist/assets/index-CL_7G35J.js +0 -1
- package/dist/assets/index-DdJI4MMd.js +0 -1
- package/dist/assets/index-dPPP2cWo.js +0 -1
- package/dist/assets/lexical-DPEnH3HH.js +0 -21
- package/dist/assets/mapLoadingInProgressToTreeNode-B8iO-fIh-DwG7e-RM.js +0 -1
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-PLUfKBDd-BfmC19Y6.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-BPbkmHFY-BZPeecIF.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-B-kK0AfR-0kzYcFSC.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-BvN4m9TA-DSQ0LTze.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BiRfdc4g-C5Cp6P0a.js +0 -1
- package/dist/assets/page-detail-CWX5S47F-Dn7FEY9U.js +0 -1
- package/dist/assets/radio-default-CiSgisfh-B6CtarQ8.js +0 -1
- package/dist/assets/react-Bqj7JUF5.js +0 -29
- package/dist/assets/react-CeCWo9lx.js +0 -44
- package/dist/assets/react-CwPTei9W.js +0 -17
- package/dist/assets/react-CxPSrq5B.js +0 -16
- package/dist/assets/react-VfkIuzgx.js +0 -37
- package/dist/assets/react-sPv488Z5.js +0 -31
- package/dist/assets/shield-DOlUxcFf-DYYbm8md.js +0 -1
- package/dist/assets/toCOABalancesWithID-ChMShONK-Cq-mLDe3.js +0 -1
- package/dist/assets/toChartData-BUweupH8-sZruIW4t.js +0 -1
- package/dist/assets/transaction-placeholder-CpOwZAMG-R9RAntKW.js +0 -1
- package/dist/assets/types-DyvtCprH-BcZYcgaq.js +0 -1
- package/dist/assets/uploadReceipts-Bkf_PaOH-qo0cBRii.js +0 -1
- package/dist/assets/url-DzcuVjHh.js +0 -6
- package/dist/assets/url-dmxYLsoS.js +0 -1
- package/dist/assets/useLongPress-GCK2COYQ-BC43nxgO.js +0 -1
- package/dist/assets/usp-line-BBd1wKwW-_aHpaGit.js +0 -1
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
import{q as Wn,av as Zn,d as Kn,gc as Un,gd as Vn,ge as Gn,gf as qn,ca as Hn,aN as Xn,F as Jn,y,V as t,f3 as dt,f4 as Qn,o as a,f5 as Yn,f6 as ea,aK as b,f7 as ta,aL as Ae,f8 as na,bz as ct,bm as pt,dr as mt,cm as ut,cn as yt,co as ht,gg as aa,gh as ia,gi as la,gj as oa,fd as $,fe as I,ff as A,gk as k,fc as ra,b as bt,p as ie,fg as Lt,fh as sa,fi as da,fj as ca,gl as pa,gm as ma,aO as ua,an as gt,bQ as we,gn as ya,go as L,c as s,ah as ha,b$ as ba,gp as ga,L as fa,gq as xa,gr as ft,fn as xt,a as wa,d0 as Ta,cf as va,b5 as Da,b7 as ja,l as $a,bS as Ot,gs as Ia,d1 as Aa,ag as Ft,aW as ka,b3 as Sa,br as Ca,eJ as Pa,ak as Ba}from"./index-DJLrbf0F.js";import{a as p}from"./core-CA3j8Axi.js";import{n as i}from"./mui-DpJXlk4t.js";import{a as Ra}from"./liveblocks-C2I4vRCJ.js";import{bR as za,bO as Ma,bS as Na,FC as La,bQ as Oa,bK as Fa,bj as Ea}from"./zeni-epic-state-CQt4n3Xe.js";import{o as _a,t as Wa}from"./LowBalancePopup-DVS-w3b7-DP0lgN2T.js";import"./sentry-BA4piVNf.js";import"./lottie-B7mXQ-R-.js";import"./analytics-CHPpxU3b.js";import"./recharts-BGdJnVo5.js";import"./utils-DUsHM-Uc.js";import"./lexical-dZFDzIA1.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="28da3224-3c68-4b9b-9dad-9e5c09904e12",e._sentryDebugIdIdentifier="sentry-dbid-28da3224-3c68-4b9b-9dad-9e5c09904e12")}catch{}})();const Za=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 wa("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:Ua,common:{noText:C,strings:{empty:c},currency:wt,via:Va,more:Ga,edit:qa},spendManagement:{billPay:{billDetails:n,billsByTabs:ke,bulkActions:Tt,vendorCreation:Te,insufficientFunds:Et}},collaboration:{threads:{placeholder:vt,tooltip:Dt,title:{comments:Ha}}}}=Jn.getLocalizedStrings(),ve=Ua.visual.MMMDCommaYYYYformat,Ei=({billDetails:e,currentTenant:g,showApproveRejectBtns:f,isShowDeletedBillsEnabled:Z,signedInUser:le,isAdmin:_t,isRealTimeApprovalEnabled:Wt,isInternationalPaymentShaVsOurEnabled:Zt,hasZeniAssistAccess:Kt,analytics:M,showMarkAsPaidButtonToCreator:K,showMarkAsPaidButtonToApprover:Se,isBillPayCommentingEnabled:Ce,isZeniUser:Ut,showBackButton:Pe=!0,isDetectInsufficientFundsEnabled:Vt,redirectToEditableBillScreen:Gt,redirectToBillsScreen:X,discardBillDetailsFromLocalStore:Be,deleteBill:qt,cancelAndDeleteBill:Re,approveOrRejectBill:ze,onAddNewRule:Ht,onAttachmentClick:Me,saveBillDetails:Xt,discardOutsideZeniPaymentData:Jt,onBackClick:Ne,updateEditRealTimeApproverClicked:Qt,onSaveRealTimeApprovals:Yt,onRetryPaymentClick:en,onRefundPaymentClick:tn})=>{const l=Wn(),o=Zn(),Le=Kn(),[nn,U]=p.useState(!1),[Oe,oe]=p.useState(!1),[re,se]=p.useState(!1),[Fe,de]=p.useState(!1),[an,ce]=p.useState(!1),[Ee,J]=p.useState(!1),h=e.transactionDetails?.id,ln=Ut?Un:Vn,{requestToOpenThread:pe,setRequestToOpenThread:_e,setOpenThread:Q}=p.useContext(ln),[on,V]=p.useState(!1),T={application:"dashboard",companyId:o.currentTenant?.companyId,tab:"bill",entityId:h,isGlobalComment:!1},{threads:G,isLoading:P}=Gn(T,"both",!1),x=Ce&&h!=null,We=p.useMemo(()=>h==null?[]:G.filter(r=>r.resolved===!1&&!r.id.includes(qn)),[G,h]).length,v=`dashboard_${o.currentTenant?.companyId}`,rn=p.useCallback((r,u)=>{Q(u),V(!1)},[Q,V]);p.useEffect(()=>{pe?.threadId!=null&&G.length>0&&!P&&(Q(pe.threadId),_e(null))},[pe,G,P,Q,_e]);const Ze=p.useRef(!1),[sn,dn]=p.useState(!1),cn=p.useRef(r=>{r&&!Ze.current&&(Ze.current=!0,dn(!0))});Hn({componentName:"bill.details",enabled:sn});const[N,Y]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[Ke,Ue]=p.useState("approved"),[pn,Ve]=p.useState(!1),[mn,Ge]=p.useState(!1),[qe,He]=p.useState(!1),Xe=()=>Ve(!1),un=()=>Ve(!0),Je=Xn(e.zeniAssist?.refundStatus.fetchState),ee=p.useCallback(()=>{X()},[X]);p.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed"||e.billSaveStatus==="Completed")&&(Be(),X())},[e,X,Be]),p.useEffect(()=>{Je==="In-Progress"&&(e.zeniAssist?.refundStatus.fetchState==="Completed"||e.zeniAssist?.refundStatus.fetchState==="Error")&&(se(!1),ee())},[Je,e.zeniAssist?.refundStatus,ee]);const w=e.transactionDetails?.billPayInfo.stage,te=e.transactionDetails?.billPayInfo.billStatus,q=e.transactionDetails?.billPayInfo.billPaymentStatus,yn=e.transactionDetails?.billPayInfo.billPaymentRefundStatus,me=w?.code==="paid",D=me?w:te?.code=="approved"&&q?.code?q:te,S=Xa(D,e.transactionDetails),O=e.transactionDetails?.billPayInfo.isRefundInitiated===!0?yn:q?.code!=null&&(te?.code=="approved"||q.code==="mark_as_paid")?q:te,ue=e.transactionDetails?.vendor?.name,B=e.isRecurring,Qe=()=>{e.transactionDetails?.id!=null&&Gt(e.transactionDetails?.id??"")},hn=()=>{Y({title:B?n.recurringBill.deleteRecurringTitle:n.deleteBillTitle,description:B?n.recurringBill.deleteRecurringAlertText:n.deleteAlertDescription,primaryButtonText:n.delete,secondaryButtonText:n.cancel}),U(!0)},bn=()=>{Y({title:n.cancelBillTitle,description:n.cancelAlertDescription,primaryButtonText:n.yes,secondaryButtonText:n.no}),U(!0)},gn=()=>{Y({title:B?n.recurringBill.cancelAndDeleteRecurringTitle:n.cancelAndDeleteBillTitle,description:B?n.recurringBill.cancelAndDeleteRecurringAlertText:n.cancelAndDeleteAlertDescription,primaryButtonText:n.yes,secondaryButtonText:n.no}),U(!0)},fn=()=>{M.trackRefundClick(D?.code??"",w?.code??"",O?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??""),Y({title:n.zeniAssist.refundTitle,description:n.zeniAssist.refundDescription,primaryButtonText:n.zeniAssist.proceed,secondaryButtonText:n.cancel}),se(!0)},xn={onOkClick:()=>{U(!1),N.primaryButtonText===n.delete?qt?.(e.isRecurring):N.title===n.cancelBillTitle?Re?.(e.isRecurring):N.title===n.cancelAndDeleteBillTitle||N.title===n.recurringBill.cancelAndDeleteRecurringTitle?Re?.(e.isRecurring,!0):N.primaryButtonText===n.zeniAssist.proceed&&(M.trackRefundConfirmClick(D?.code??"",w?.code??"",O?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??""),tn())},onCancelClick:()=>{U(!1),se(!1)}},wn={onOkClick:r=>{ce(!1),ze({billId:e.transactionDetails?.id??"",type:"rejected",description:r})},onCancelClick:()=>{ce(!1)}},Tn=()=>{const[r]=ka("ZeniAssist");return r!=null?t.jsx(Sa,{"data-testid":b("bill-details-zeni-assist-icon",h),onClick:()=>{de(!Fe),M.trackZeniAssistClick(D?.code??"",w?.code??"",O?.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},ne={invoiceNumber:e.transactionDetails?.documentId??"",invoiceDate:e.transactionDetails?.date,billDueDate:e.transactionDetails?.dueDate,memo:e.transactionDetails?.memo,currencyCode:e.vendorCurrency??wt.currencyCode},ye=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}})??[],vn=e.transactionDetails?.recipientTotalAmount.amount??0,he=e.transactionDetails?.recipientTotalAmount,d={paymentType:e.paymentMethodType,paymentDate:e.transactionDetails?.billPayInfo.paymentDate,internationalTransferFeeBearerPaymentMethod:e.transactionDetails?.billPayInfo.internationalTransferFeeBearerPaymentMethod,paymentToBankAccount:e.bankAccount,paymentToPI:e.paymentInstrument},j=m.labelWidth.value(l),Dn=r=>r==="billable"||r==="has_been_billed"?n.yes:n.no,jn=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):"",$n=d.paymentToBankAccount?.bankAccountName!=null&&d.paymentToBankAccount?.bankAccountName!=""?d.paymentToBankAccount?.bankAccountName:`${e.transactionDetails?.vendor?.name} - ${d.paymentToBankAccount?.bankName} XXXX${jn}`,In=e.transactionDetails?.billPayInfo?.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${n.magicLink.collectFrom} ${e.transactionDetails?.billPayInfo?.toAccountVendorEmail}`,t.jsx(ji,{windowSize:l,children:t.jsx(Di,{})})]}):void 0,Ye=e.transactionDetails?.date!=null&&e.transactionDetails.bookCloseDate!=null&&e.transactionDetails.date.isBefore(e.transactionDetails.bookCloseDate),An=()=>{const r=d?.paymentToBankAccount?.bankAccountType,u=r!=null&&r!==""?Aa(r.toLowerCase()):r??"";return`${Te.achDetails.bankRoutingNumber} ${d?.paymentToBankAccount?.bankRoutingNumberAch}, ${d?.paymentToBankAccount?.bankName}
|
|
2
|
+
${Te.achDetails.bankAccountNumber} ${d?.paymentToBankAccount?.bankAccountNumber}, ${Te.achDetails.accountTypeLabel} ${u}`},ae=e.transactionDetails?.billPayInfo!=null?za(e.transactionDetails?.billPayInfo):void 0,kn=ae!=null&&e.paymentMethodType?.maxPeriod?.value!=null?Ma(Na(ae?.toDate(),[0,6],e.paymentMethodType?.maxPeriod.value).toDateString()):void 0,et=e.transactionDetails?.billPayInfo.expectedDepositDate??kn,tt=dt(d?.paymentType?.method??"").replace("Same Day",""),Sn=(d?.paymentToBankAccount!=null||d?.paymentToPI)!=null?n.addedByZeni:e.transactionDetails?.billPayInfo.isCollectToAccountInfoFromVendorContact?t.jsx(Qn,{paymentTypeLabel:tt,onClick:un,style:{marginTop:`${l==="small"?a.sp2:a.sp0}`}}):void 0,Cn=()=>d?.paymentToBankAccount==null&&d?.paymentToPI==null&&d?.paymentType?.method!=null&&e.transactionDetails?.billPayInfo.isCollectToAccountInfoFromVendorContact&&e.transactionDetails?.billPayInfo.paymentDate!=null?t.jsx(Ia,{paymentType:d?.paymentType?.method,paymentDate:e.transactionDetails?.billPayInfo.paymentDate}):null,nt=e.transactionDetails?.lines?.some(r=>{const u=r.account;return u?.isDeleted===!0&&u?.isBillEditableCoaAccountType===!1})??!1,be=!(D?.code==="processing"||e.transactionDetails?.billPayInfo.isRefundInitiated===!0||e.transactionDetails?.billPayInfo.isRefundComplete===!0||(w?.code==="scheduled"||w?.code==="pending_approval")&&nt),at=!((w?.code==="scheduled"||w?.code==="pending_approval")&&nt),ge=e.zeniAssist?.isEligibleForRetryIBT===!0||e.zeniAssist?.isEligibleForRetryOBP===!0,fe=e.zeniAssist?.isEligibleForRefund===!0,Pn=e?.transactionDetails?.billPayInfo.billPaymentMethodType.code==="wire"&&e?.transactionDetails?.billPayInfo.billPaymentMethodType.subCode==="international",Bn=Kt&&e.transactionDetails?.billPayInfo.billPaymentStatus.code!=null&&["failed","cancelled","returned"].includes(e.transactionDetails.billPayInfo.billPaymentStatus.code)&&(ge||fe)&&Pn===!1,xe=ge||fe,Rn=e.transactionDetails?.billPayInfo.isRefundInitiated===!0&&e.transactionDetails?.billPayInfo.isRefundComplete===!1,E=D?.code,zn=!Rn&&(!Ye||D?.code==="processing"&&!B),it=!Ye,lt=["small","medium-compact","medium-regular"].includes(l),H=La(e.transactionDetails?.bulkProcessingDetail?.type),F=Oa(e.paymentMethodType?.method),Mn=!H&&(E!=="processing"&&at||E==="processing"&&!B||E==="processing"&&it||f&&F&&Se),Nn=r=>{M.trackBillPayMarkAsPaidSubmit(r.paymentMode??"other",w?.code??"",D?.code??""),Xt(!0,qe,r)},ot=()=>{Ge(!0),M.trackBillPayMarkAsPaid(w?.code??"",D?.code??"")},Ln=()=>{He(!0),ot()},On=()=>{Jt(),Ge(!1),qe&&He(!1)},Fn=p.useMemo(()=>({companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,entityType:"bill.details",entityId:h??c,isGlobalComment:!1,application:"dashboard",tab:"bill",url:window.location.href}),[o.currentTenant,h]),_=Vt&&e.transactionDetails?.totalAmountWithFeesInUSD!=null&&w?.code!=="paid"&&D?.code!=="failed"&&D?.code!=="processing"&&D?.code!=="cancelled"&&D?.code!=="returned"&&D?.code!=="rejected"?Yn(e.transactionDetails?.totalAmountWithFeesInUSD,e.withdrawFrom,d.paymentDate):void 0,rt=()=>{Ue("approved"),Ee===!0&&J(!1),_!=null&&M.trackLowBalanceAccountApprove(w?.code??"",e.transactionDetails?.billPayInfo.billPaymentStatus.code??"",e.isRecurring?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??"",xt(o.loggedInUser),e.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account"),ze({billId:e.transactionDetails?.id??"",type:"approved"})},En=()=>{Ue("rejected"),_!=null&&M.trackLowBalanceAccountReject(w?.code??"",e.transactionDetails?.billPayInfo.billPaymentStatus.code??"",e.isRecurring?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??"",xt(o.loggedInUser),e.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account"),ce(!0)},st=p.useRef(null);return t.jsxs(ci,{windowSize:l,ref:st,children:[t.jsx(ea,{anchor:"right",open:pn,onClose:Xe,transitionDuration:250,"data-testid":b("vendor-email-preview-drawer"),children:t.jsx(ta,{companyName:na(g.company?.companyInfo),vendor:e.transactionDetails?.vendor?.name,paymentDate:d.paymentDate?.format(ve)??"",paymentType:tt,amount:Ae("0,0.[00]",he),isInvoiceAttached:!!e.transactionDetails?.attachments?.length,onClose:Xe})}),t.jsxs(yi,{ref:cn.current,windowSize:l,children:[t.jsx(Ai,{windowSize:l,children:l==="small"?t.jsx(ct,{"data-testid":b("bill-detail-nav-bar-mobile"),title:t.jsxs(t.Fragment,{children:[ue,e.isRecurring?t.jsx(Ie,{width:a.sp4,height:a.sp4}):null]}),backgroundColor:Le.colors.grey4,rightSideComponent:t.jsxs(St,{windowSize:l,children:[x?t.jsxs(Mt,{isDisabled:P,"data-testid":b("bill-comment-button"),onClick:P?()=>null:r=>{r.preventDefault(),r.stopPropagation(),V(!0),M.trackCommentActivity("bill","clicked",o.currentTenant?.companyName??"",o.controllersList.controllers.map(u=>mt(u)),void 0,void 0,"page icon")},children:[t.jsx(pt,{count:P?void 0:We,isLoading:P,style:{left:"12px"}}),t.jsx(Nt,{})]}):null,t.jsx(Ct,{onClick:()=>ee(),"data-testid":b("bill-detail-nav-bar-small-close-button"),children:t.jsx(kt,{})})]}),leftSideComponent:t.jsx(At,{windowSize:l,onClick:Ne,"data-testid":b("bill-detail-nav-bar-small-back-button"),style:{visibility:`${Pe?"visible":"hidden"}`},children:t.jsx(It,{})}),source:"BillDetailPage"}):t.jsx(ct,{"data-testid":b("bill-detail-nav-bar"),title:t.jsxs(t.Fragment,{children:[ue,e.isRecurring?t.jsx(Ie,{width:a.sp4,height:a.sp4}):null]}),rightSideComponent:t.jsxs(St,{windowSize:l,children:[x?t.jsxs(Mt,{isDisabled:P,"data-testid":b("bill-comment-button"),onClick:P?()=>null:r=>{r.preventDefault(),r.stopPropagation(),V(!0),M.trackCommentActivity("bill","clicked",o.currentTenant?.companyName??"",o.controllersList.controllers.map(u=>mt(u)),void 0,void 0,"page icon")},children:[t.jsx(pt,{count:P?void 0:We,isLoading:P,style:{left:"12px"}}),t.jsx(Nt,{})]}):null,t.jsx(Ct,{onClick:()=>ee(),"data-testid":b("bill-detail-nav-bar-close-button"),children:t.jsx(kt,{})})]}),leftSideComponent:t.jsx(At,{windowSize:l,onClick:Ne,"data-testid":b("bill-detail-nav-bar-back-button"),style:{visibility:`${Pe?"visible":"hidden"}`},children:t.jsx(It,{})}),enableTitleOnScroll:!0,scrollableContent:st,source:"BillDetailPage"})}),t.jsxs(hi,{windowSize:l,children:[Ee?t.jsx(_a,{withdrawFrom:e.withdrawFrom,paymentDate:e?.transactionDetails?.billPayInfo.paymentDate,onOkClick:rt,onCancelClick:()=>{J(!1),Qe()},onClickAway:()=>{J(!1)}}):null,mn?t.jsx(Wa,{onCancel:On,onProceedForMarkAsPaid:Nn,saveDetailsFetchState:e.billSaveStatus,paymentData:e.outsideZeniPaymentInfo}):null,nn||re?t.jsx(ut,{titleComponent:t.jsx(ht,{children:N.title}),descriptionComponent:t.jsx(yt,{children:N.description}),primaryButtonText:N.primaryButtonText,proceedButtonVariant:re?"primary":"danger",secondaryButtonText:N.secondaryButtonText,action:xn,isEditPopup:!0,isLoading:e.zeniAssist?.refundStatus.fetchState==="In-Progress",children:re?Ja(l,e):null}):null,an?t.jsx(ut,{titleComponent:t.jsx(ht,{children:n.rejectBillTitlePrefix+" "+(e.transactionDetails?.vendor?.name!=null?e.transactionDetails.vendor.name:"")}),descriptionComponent:t.jsx(yt,{children:n.rejectBillDescription}),primaryButtonText:n.send,secondaryButtonText:n.cancel,action:wn,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:n.rejectBillReasonPlaceholder}):null,l!=="small"||S?t.jsxs(gi,{windowSize:l,children:[l!=="small"?t.jsxs(fi,{windowSize:l,children:[ue,e.isRecurring?t.jsx(Ie,{height:a.sp5,width:a.sp5}):null]}):null,Z&&S!=null&&S.code==="deleted"?t.jsx(Pt,{color:S.color,bgColor:S.bgColor,borderColor:S.borderColor,children:S.value}):S?.value===ke.tabsById.overdue?t.jsx(Pt,{color:S.color,bgColor:S.bgColor,borderColor:S.borderColor,children:S.value}):null]}):null,O!=null&&O.code?l==="small"?t.jsx(aa,{progressSectionObj:O,createDate:e.transactionDetails?.createTime,paymentDate:et,scheduleDate:ae,approvedDate:e.latestApprovedDate,isFrozen:e.transactionDetails?.isDeleted}):t.jsx(ia,{progressSectionObj:O,createDate:e.transactionDetails?.createTime,paymentDate:et,scheduleDate:ae,approvedDate:e.latestApprovedDate,isFrozen:e.transactionDetails?.isDeleted}):null,ei(H,e,_),t.jsx(la,{sectionId:oa,currentVendorOption:{defaultOptions:[]},billId:h,isBillPayCommentingEnabled:Ce,isBillPaid:me,disableVendorActions:!0,vendor:e.transactionDetails?.vendor,prevBills:e.previousBills,onAttachmentClick:Me,isVendorRecommendationEnabled:!1,showVendorGptRecommendationText:!1}),d.paymentType?.method?.includes("ach"),t.jsxs(je,{children:[t.jsx($e,{children:n.whatForTitle}),t.jsxs(De,{children:[t.jsx($,{isThreadAllowed:x,entityId:h,dashboardTabKey:A({type:"details",key:"invoiceNumber"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${I("invoiceNumber")}`},children:t.jsx(k,{label:{label:n.invoiceNumber,width:j},text:ne.invoiceNumber??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:h,dashboardTabKey:A({type:"details",key:"invoiceDate"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${I("invoiceDate")}`},children:t.jsx(k,{label:{label:n.invoiceDate,width:j},text:ne.invoiceDate?.format(ve)??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:h,dashboardTabKey:A({type:"details",key:"billDueDate"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${I("billDueDate")}`},children:t.jsx(k,{label:{label:n.billDueDate,width:j},text:ne.billDueDate?.format(ve)??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:h,dashboardTabKey:A({type:"details",key:"memo"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${I("memo")}`},children:t.jsx(k,{label:{label:n.memo,width:j},text:ne.memo??C,style:{width:"auto"}})})]})]}),t.jsxs(je,{children:[t.jsx(bi,{windowSize:l,children:t.jsx($e,{children:n.lineItemsTitle})}),ye.length>0?ye.map((r,u)=>{const R=e?.transactionDetails?.lines?.find(_n=>_n.id===r.lineId)?.recipientAmount;return t.jsxs(pi,{children:[ye.length>1?t.jsx(mi,{windowSize:l,children:t.jsx(ui,{windowSize:l,children:`${n.line} # ${u+1}`})}):null,t.jsxs(De,{children:[t.jsx($,{isThreadAllowed:x,entityId:h,dashboardTabKey:A({type:"details",key:`${u}.recipientAmount`}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${I("recipientAmount",u)}`},children:t.jsx(k,{label:{label:n.amount,width:j},text:R!=null?Ae("0,0[.]00",R):C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:h,dashboardTabKey:A({type:"details",key:`${u}.lineDescription`}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${I("lineDescription",u)}`},children:t.jsx(k,{label:{label:n.description,width:j},text:r.lineDescription??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:h,dashboardTabKey:A({type:"details",key:`${u}.account`}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${I("account",u)}`},children:t.jsx(k,{label:{label:n.category,width:j},text:r.account?.accountName??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:h,dashboardTabKey:A({type:"details",key:`${u}.class`}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${I("class",u)}`},children:t.jsx(k,{label:{label:n.class,width:j},text:r.class?.className??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:h,dashboardTabKey:A({type:"details",key:`${u}.billable`}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${I("billable",u)}`},children:t.jsx(k,{label:{label:n.billable,width:j},text:r.billable!=null?Dn(r.billable):C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:h,dashboardTabKey:A({type:"details",key:`${u}.customer`}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${I("customer",u)}`},children:t.jsx(k,{label:{label:n.customer,width:j},text:r.customer?.name??C,style:{width:"auto"}})})]})]},u)}):null]}),t.jsxs(xi,{windowSize:l,children:[t.jsx(wi,{children:n.total}),t.jsx(Ti,{children:he!=null?t.jsx(ra,{amount:he,integerStyles:bt.h6Medium.cssObject,decimalStyles:bt.standardMedium.cssObject}):C})]}),t.jsxs(je,{children:[t.jsx($e,{children:n.paymentDetailsTitle}),t.jsxs(De,{children:[F?null:t.jsxs(t.Fragment,{children:[t.jsx($,{isThreadAllowed:x,entityId:h,dashboardTabKey:A({type:"details",key:"withdrawFrom"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${I("withdrawFrom")}`},children:t.jsx(k,{label:{label:n.withdrawFrom,width:j},text:e.withdrawFrom!=null?Lt(e.withdrawFrom,l):c,style:{width:"auto"},additionalInfoLabelStyles:{textAlign:"right",paddingRight:m.infoLabelPaddingRight.valuePx(l),marginTop:m.infoLabelMarginTop.valuePx(l),color:ie.brandColorGoldDark},additionalInfoLabel:_!=null&&w?.code==="pending_approval"?Et.addMoney:_})}),t.jsx(z,{})]}),t.jsx($,{isThreadAllowed:x,entityId:h,dashboardTabKey:A({type:"details",key:"paymentType"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${I("paymentType")}`},children:t.jsx(k,{additionalInfoLabel:d.paymentType?.method!=null&&d.paymentType.method.includes(Fa)&&Zt&&d.internationalTransferFeeBearerPaymentMethod!=null?t.jsx(ni,{children:sa(d.internationalTransferFeeBearerPaymentMethod)}):void 0,label:{label:n.paymentMethod,width:j},text:F&&e.outsideZeniPaymentInfo!=null?Ya(e.outsideZeniPaymentInfo):dt(d.paymentType?.method??""),style:{width:"auto"}})}),F?null:t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:h,dashboardTabKey:A({type:"details",key:"paymentTo"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${I("paymentTo")}`},children:t.jsxs(t.Fragment,{children:[t.jsx(k,{label:{label:n.paymentTo,width:j},text:d.paymentToBankAccount!=null?$n:d.paymentToPI!=null?d.paymentToPI.displayText:In,style:{width:"auto"},showEyeIcon:d.paymentToBankAccount!=null&&!!d.paymentType?.method?.includes("ach"),showAdditionalInfoLabel:!!e.transactionDetails?.billPayInfo.isCollectToAccountInfoFromVendorContact||d.paymentType?.method?.includes("ach"),tooltipText:An(),additionalInfoLabel:t.jsx(ti,{children:Sn})}),Cn()]})})]}),F||e.isRecurring?t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:h,dashboardTabKey:A({type:"details",key:"recurringPaymentType"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${I("recurringPaymentType")}`},children:t.jsxs(t.Fragment,{children:[t.jsx(k,{label:{label:n.paymentType,width:j},labelStyles:{marginRight:m.labelMarginRight.valuePx(l)},style:{width:"auto"},text:ca(e.isRecurring,F,e.transactionDetails?.recurringBillInstance??1,e.recurringBillConfigDetail?.totalPaymentCycles??0),textStyles:{paddingLeft:m.textPadding.valuePx(l),paddingRight:m.textPadding.valuePx(l)},additionalInfoLabel:da(l,e.isRecurring,F,e.recurringBillConfigDetail),additionalInfoLabelStyles:{paddingRight:m.paddingRight.valuePx(l),marginTop:m.additionalTextMarginTop.valuePx(l)}}),e.recurringBillInstances!=null&&e.recurringBillInstances.length>0?t.jsx($i,{style:{paddingLeft:m.recurringSchedulePaddingLeft.valuePx(l)},children:t.jsx(pa,{onAttachmentClick:Me,currencySymbol:e.transactionDetails?.recipientTotalAmount.currencySymbol??wt.currencySymbol,recurringBillInstances:e.recurringBillInstances})}):null]})})]}):null]})]}),e.transactionDetails&&e.transactionDetails.id&&t.jsx(ma,{amount:vn,activities:e.billActivities,stage:w?.code??"draft",onAddNewRule:Ht,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:_t,signedInUserId:le?.userId,showRealTimeApproval:Wt,entityApprovalId:e.billActivities[0]?.entityApprovalId??e.transactionDetails.entityApprovalId,updateEditMode:Qt,onSaveRealTimeApprovals:Yt},historicActivities:e.billHistory.activities}),t.jsx(vi,{})]}),e.transactionDetails?.vendor!=null&&!me&&!e.transactionDetails.isDeleted?t.jsx(ua,{separatorStyle:{marginRight:a.sp4},showPrimaryButton:K||f,showCancel:!K&&f,cancelBtn:{label:lt?n.buttons.reject:n.buttons.rejectBill,isLoading:Ke==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:En,style:{width:m.footerButtonWidth.value(l)},reverseSpinnerColor:!1},primaryBtn:{label:Qa(K,lt),isLoading:Ke==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:K?ot:()=>{_!=null?J(!0):rt()},isDisabled:e.billSaveStatus==="In-Progress"||e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0,style:{width:K?"auto":m.footerButtonWidth.value(l)}},rightSideComponent:t.jsx(ai,{children:t.jsxs(di,{windowSize:l,children:[!H&&Oe?t.jsx(gt,{onClickAway:()=>{oe(!1),de(!1)},children:t.jsxs($t,{windowSize:l,"data-testid":b("bill-actions-container"),children:[E!=="processing"&&at?t.jsx(W,{onClick:hn,"data-testid":b("delete-bill-action-item"),children:n.buttons.deleteBill}):null,E==="processing"&&!B?t.jsx(W,{onClick:bn,"data-testid":b("cancel-bill-action-item"),children:n.buttons.cancel}):null,E==="processing"&&it?t.jsx(W,{onClick:gn,"data-testid":b("cancel-and-delete-bill-action-item"),children:n.buttons.cancelAndDelete}):null,f&&F&&Se?t.jsx(W,{onClick:Ln,"data-testid":b("mark-as-paid-action-item"),children:n.paymentOutsideZeni.markAsPaid}):null]})}):null,Fe?t.jsx(gt,{onClickAway:()=>{oe(!1),de(!1)},children:t.jsxs($t,{windowSize:l,"data-testid":b("bill-actions-with-zeni-assist-container"),children:[ge?t.jsx(W,{onClick:()=>{M.trackRetryClick(D?.code??"",w?.code??"",O?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??""),en()},"data-testid":b("retry-bill-action-item"),children:n.buttons.retry}):null,fe?t.jsx(W,{onClick:fn,"data-testid":b("refund-bill-action-item"),children:n.buttons.refund}):null]})}):null,t.jsxs(si,{windowSize:l,children:[Bn===!0?t.jsx(we,{enterDelay:600,style:{color:ie.heroDark,padding:`2px ${a.sp2}`},display:"flex",title:xe?n.zeniAssist.tooltip:n.zeniAssist.connectToTeamTooltip,placement:"top",maxWidth:"267px",children:t.jsx(jt,{windowSize:l,showEditIcon:be,isIconClickable:xe,"data-testid":b("other-actions-icon-container"),children:xe?t.jsx(Tn,{}):t.jsx(li,{})})}):null,!H&&be===!0?t.jsx(we,{enterDelay:600,style:{color:ie.heroDark,padding:`2px ${a.sp2}`},display:"flex",title:qa,placement:"top",children:t.jsx(ri,{onClick:Qe,"data-testid":b("edit-bill-icon-container"),children:t.jsx(oi,{})})}):null,!H&&zn===!0&&Mn?t.jsx(we,{enterDelay:600,style:{color:ie.heroDark,padding:`2px ${a.sp2}`},display:"flex",title:Ga,placement:"top",children:t.jsx(jt,{windowSize:l,showEditIcon:be,isIconClickable:!0,"data-testid":b("more-details-icon-container"),children:t.jsx(ii,{onClick:()=>oe(!Oe)})})}):null]})]})}),style:{minHeight:62}}):null]}),x?t.jsx(Ra,{id:v,children:t.jsx(ya,{isDrawerOpen:on,allowComposer:!0,drawerTitle:Ha,threads:G,filter:T,autoExpand:!0,autoFocus:!1,isLoading:P,textOverrides:{composerPlaceholder:vt.addANewComment,replyComposerPlaceholder:vt.replyAComment,threadResolve:Dt.resolveComment,threadUnResolve:Dt.unResolveComment},threadMetadata:Fn,onThreadClick:rn,onCloseAllThreadsDrawer:()=>V(!1),drawerSectionStyle:{width:l==="small"?"100%":"400px",boxSizing:l==="small"?"border-box":"content-box",padding:`${a.sp0} ${m.drawerSectionPaddingLeftRight.valuePx(l)}`,backgroundColor:Le.colors.background},collapsibleThreadStyle:{width:l==="small"?"100%":"360px"}})}):null]})},Xa=(e,g)=>{const f=e?.code;if(e!=null&&f!=null)return g?.isDeleted===!0?{value:ke.tabsById.deleted,color:L.deleted.color,bgColor:L.deleted.bgColor,borderColor:L.deleted.borderColor,code:"deleted"}:f==="pending_approval"&&g?.dueDate?.isBefore(Ea(),"date")===!0?{value:ke.tabsById.overdue,color:L.overdue.color,bgColor:L.overdue.bgColor,borderColor:L.overdue.borderColor}:{value:e.name,color:L[f].color,bgColor:L[f].bgColor,borderColor:L[f].borderColor}},Ja=(e,g)=>{const f=g.transactionDetails?.recipientTotalAmount;return t.jsxs(Ii,{windowSize:e,children:[t.jsxs(Bt,{windowSize:e,children:[t.jsx(Rt,{children:n.zeniAssist.accountNumber}),t.jsx(zt,{children:g.withdrawFrom!=null?Lt(g.withdrawFrom,e):c})]}),t.jsxs(Bt,{windowSize:e,children:[t.jsx(Rt,{children:n.zeniAssist.amount}),t.jsx(zt,{children:f!=null?Ae("0,0[.]00",f):C})]})]})},Qa=(e,g)=>e?n.paymentOutsideZeni.markAsPaid:g?n.buttons.approve:n.buttons.approveBill,Ya=e=>{const g=e.paymentMode,f=n.paymentOutsideZeni.offline;if(g==null||g==="other")return f;const Z=n.paymentOutsideZeni.paymentModeOptions.find(le=>le.value===g)?.label;return`${f} ${Va} ${Z}`},ei=(e,g,f)=>{if(e)return t.jsx(ft,{variant:"warning",style:{marginTop:a.sp5,marginBottom:a.sp3},title:Tt.duplicateWarning.title,description:Tt.duplicateWarning.description});if(f!=null){const Z=`${g.withdrawFrom?.label??""} ${g.withdrawFrom?.maskedAccountNumber??""}`;return t.jsx(ft,{variant:"low-balance",style:{marginTop:a.sp2,marginBottom:a.sp3},title:`${Et.lowBalanceIn.replace("__account__",Z)}`,description:f.replace("Low balance! ","")})}else return null},ti=i.div``,ni=i.div``,ai=i.div`
|
|
3
|
+
display: flex;
|
|
4
|
+
justify-content: flex-end;
|
|
5
|
+
`,ii=i(Pa)`
|
|
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
|
+
`,jt=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
|
+
`,li=i(Za)`
|
|
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
|
+
`,oi=i(Ca)`
|
|
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
|
+
`,ri=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
|
+
`,si=i.div`
|
|
46
|
+
display: flex;
|
|
47
|
+
justify-content: center;
|
|
48
|
+
align-items: center;
|
|
49
|
+
`,$t=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
|
+
`,di=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
|
+
`,W=i(Ft)`
|
|
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
|
+
`,It=i(ba)`
|
|
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
|
+
`,At=i.div`
|
|
94
|
+
margin-top: ${e=>m.marginTop.valuePx(e.windowSize)};
|
|
95
|
+
display: flex;
|
|
96
|
+
align-items: center;
|
|
97
|
+
`,kt=i(fa)`
|
|
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
|
+
`,St=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
|
+
`,Ct=i.div`
|
|
112
|
+
float: right;
|
|
113
|
+
width: ${a.sp4};
|
|
114
|
+
height: ${a.sp4};
|
|
115
|
+
display: flex;
|
|
116
|
+
`,ci=i.div`
|
|
117
|
+
height: 100%;
|
|
118
|
+
overflow: scroll;
|
|
119
|
+
`,De=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
|
+
`,je=i.div`
|
|
128
|
+
display: flex;
|
|
129
|
+
flex-direction: column;
|
|
130
|
+
padding-top: ${a.sp3};
|
|
131
|
+
`,pi=i.div``,$e=i(Da)`
|
|
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
|
+
`,mi=i(ja)`
|
|
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
|
+
`,ui=i($a)`
|
|
147
|
+
color: ${e=>e.theme.colors.champion};
|
|
148
|
+
`,yi=i.div`
|
|
149
|
+
display: flex;
|
|
150
|
+
flex-direction: column;
|
|
151
|
+
`,hi=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
|
+
`,bi=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
|
+
`,gi=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
|
+
`,fi=i(Ta)`
|
|
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
|
+
`,xi=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
|
+
`,wi=i(Ot)`
|
|
191
|
+
display: flex;
|
|
192
|
+
width: 176px;
|
|
193
|
+
color: ${e=>e.theme.colors.primary};
|
|
194
|
+
`,Ti=i(Ot)`
|
|
195
|
+
display: flex;
|
|
196
|
+
width: calc(100% - 176px);
|
|
197
|
+
justify-content: flex-end;
|
|
198
|
+
color: ${e=>e.theme.colors.primary};
|
|
199
|
+
`,Pt=i(va)`
|
|
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
|
+
`,vi=i.div`
|
|
209
|
+
display: flex;
|
|
210
|
+
flex-direction: column;
|
|
211
|
+
height: ${a.sp11};
|
|
212
|
+
`,Di=i(ha)`
|
|
213
|
+
height: ${a.sp3};
|
|
214
|
+
width: ${a.sp3};
|
|
215
|
+
color: ${e=>e.theme.colors.hero};
|
|
216
|
+
`,ji=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
|
+
`,Ie=i(xa)`
|
|
223
|
+
margin-left: ${a.sp2};
|
|
224
|
+
color: ${e=>e.theme.colors.hero};
|
|
225
|
+
`,$i=i.div``,Ii=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
|
+
`,Bt=i.div`
|
|
231
|
+
display: flex;
|
|
232
|
+
justify-content: space-between;
|
|
233
|
+
width: ${e=>m.refundPopupWidth.valuePx(e.windowSize)};
|
|
234
|
+
`,Rt=i(Ft)`
|
|
235
|
+
text-align: left;
|
|
236
|
+
color: ${e=>e.theme.colors.grey1};
|
|
237
|
+
`,zt=i(Ba)`
|
|
238
|
+
justify-content: end;
|
|
239
|
+
display: flex;
|
|
240
|
+
flex: 1;
|
|
241
|
+
`,Mt=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
|
+
`,Nt=i(ga)`
|
|
253
|
+
display: flex;
|
|
254
|
+
width: ${a.sp4};
|
|
255
|
+
height: ${a.sp4};
|
|
256
|
+
align-items: center;
|
|
257
|
+
justify-content: center;
|
|
258
|
+
`,Ai=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{Ei as default};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import{y as O,c as D,q as M,F as U,a8 as W,aN as G,V as o,aH as H,cB as X,bz as J,ab as K,aO as Q,o as c,g2 as Y}from"./index-DJLrbf0F.js";import{a as T}from"./core-CA3j8Axi.js";import{n as h}from"./mui-DpJXlk4t.js";import{b as Z,f as ee,l as _,o as C}from"./FollowStepsSection-64oy2OLD-mYi4qCkY.js";import"./sentry-BA4piVNf.js";import"./zeni-epic-state-CQt4n3Xe.js";import"./lottie-B7mXQ-R-.js";import"./liveblocks-C2I4vRCJ.js";import"./utils-DUsHM-Uc.js";import"./analytics-CHPpxU3b.js";import"./recharts-BGdJnVo5.js";import"./lexical-dZFDzIA1.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]="e502e52d-dd02-4da7-a377-cea938980137",e._sentryDebugIdIdentifier="sentry-dbid-e502e52d-dd02-4da7-a377-cea938980137")}catch{}})();const R="billPayApprovalRuleDetailPage",k="lowerBound",N="upperBound",w="steps",b="applyToExistingBills",le={footerPadding:new O(D[2],D[2])};function Ae({localData:e,approvalUpdateActionType:l,onBackClick:a,onApprovalRuleDataUpdated:r,onResetClick:s,isLowerBoundDisabled:n=!1,isUpperBoundDisabled:y=!0,hideUpperBoundField:A=!1,onSaveRuleClick:E,onSaveRuleSuccess:I}){const P=M(),t=U.getLocalizedStrings().commonSetUp.approval,S=U.getLocalizedStrings().spendManagement.billPay.billPayApproval,g=ae(e,l==="approval_create"&&!n),x=W({mode:"all",reValidateMode:"onChange",defaultValues:g}),u=e.billPaySetupApproverViewUpdateData?.updateStatus,B=G(u?.fetchState),{upperBound:L}=g,{allApprovalRules:d,allAccountingClasses:F,billPaySetupApproverViewUpdateData:f}=e;let m=d.length>1?d.length-1:0,v=d.length>0?d[m].criteria[0].range.min.amount:0;if(f!=null&&f.type==="approval_update"&&f.data!=null){const{approvalRuleId:i}=f.data;m=d.findIndex(p=>p.approvalRuleId===i),v=m>0?d[m-1].criteria[0].range.min.amount:0}const V=x.handleSubmit(()=>{E()}),q=async(i,p)=>{r(p)};return T.useEffect(()=>{const i=x.watch((p,{name:$})=>{if($!=null&&p!=null){const z=H(p);X(()=>q($,z))}});return()=>{i.unsubscribe()}}),T.useEffect(()=>{B==="In-Progress"&&u?.fetchState==="Completed"&&I()},[B,u?.fetchState,I]),o.jsxs(se,{children:[o.jsx(J,{title:l==="approval_create"?t.newApproval:t.editApproval,style:{zIndex:4},onBackClick:()=>{a()},source:"BillPayApprovalRuleDetailPage"}),o.jsxs(K,{...x,children:[o.jsx(ne,{children:o.jsx("form",{id:j(R),onSubmit:V,children:o.jsxs(ie,{children:[o.jsx(Z,{label:{label:A?S.amountPerBillGreaterLabel:S.amountPerBillLabel},firstText:{type:"number",name:k,placeholder:"$0",options:{required:!0,max:L===1/0?Number.MAX_SAFE_INTEGER-1:L-1,min:v,validate:i=>n?!0:i!=null&&i>v},isDisabled:n,additionalInfoLabel:t.firstRuleLowerBoundInfoLabel,additionalErrorLabel:t.firstRuleErrorInfoLabel},secondText:{type:"number",name:N,placeholder:"Infinity",isDisabled:y,hideField:A,additionalInfoLabel:t.upperBoundInfoLabel}}),o.jsx(de,{}),o.jsx(ee,{sectionId:w,label:{label:t.followStepsLabel},approversPlaceholder:t.approversPlaceholder,notifiersPlaceholder:t.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(i=>i.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:F,stepsInfo:g[w],userSelectPlaceholder:t.userSelectPlaceholder,approveNotifyPlaceholder:t.approveNotifyPlaceholder,productType:"zeni_bill_pay"})]})})}),o.jsx(Q,{formId:j(R),primaryBtn:{label:t.saveBtnText,isLoading:u?.fetchState==="In-Progress",isDisabled:u?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},topComponent:l==="approval_create"?null:o.jsx(Y,{name:b,mode:"always_on",checkBoxes:[{value:b,label:t.applyToExistingBills,defaultChecked:!0,groupLabel:!1}],style:{width:"100%"}}),showCancel:!0,cancelBtn:{label:t.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:s},containerStyle:{justifyContent:P==="small"?"space-between":"center"},style:{padding:le.footerPadding.valuePx(P)},separatorStyle:{marginRight:c.sp4}})]})]})}const ae=(e,l)=>{const{criteria:a,steps:r}=e.billPaySetupApproverViewUpdateData?.data??{};return{[b]:[b],[w]:te(e.allApprovers.map(s=>s.user),e.filteredApprovers.map(s=>s.user),C(e.allAttributes),C(e.filteredAttributes),r??[])??[],[k]:l?void 0:a!=null?a.range.min.amount??0:0,[N]:a!=null?a.range.max==null?1/0:a.range.max.amount:1/0}},te=(e,l,a,r,s)=>s&&s.length>0?s.map((n,y)=>({stepIndex:y,stepType:{selectedOption:n.action,allOptions:_},actors:{allUsers:l,selectedUsers:oe(e,n.actors),allNonUsers:r,selectedNonUsers:re(a,n.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:_},actors:{allUsers:l,selectedUsers:[],allNonUsers:r,selectedNonUsers:[]}}],oe=(e,l)=>e.filter(a=>a.userId!=null&&l.findIndex(r=>r.userId===a.userId)>-1),re=(e,l)=>e.filter(a=>l.findIndex(r=>r.subType===a.value)>-1),j=e=>`${e}_form`,Ie=e=>`${e}`,se=h.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
height: 100%;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
width: 100%;
|
|
6
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
7
|
+
box-shadow: ${e=>`${c.sp0} 2px ${c.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
8
|
+
`,ie=h.div`
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
12
|
+
box-shadow: ${e=>`${c.sp0} 2px ${c.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
13
|
+
border-radius: ${c.sp2};
|
|
14
|
+
`,ne=h.div`
|
|
15
|
+
display: flex;
|
|
16
|
+
justify-content: flex-start;
|
|
17
|
+
height: 100%;
|
|
18
|
+
overflow-y: auto;
|
|
19
|
+
flex-direction: column;
|
|
20
|
+
align-items: center;
|
|
21
|
+
`,de=h.div`
|
|
22
|
+
display: flex;
|
|
23
|
+
flex: 1;
|
|
24
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
25
|
+
min-height: 1px;
|
|
26
|
+
max-height: 1px;
|
|
27
|
+
`;export{le as D,Ae as default,j as uniqueFormName,Ie as uniqueName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as B,F as
|
|
1
|
+
import{q as B,F as v,V as t,bz as _,m as N,aK as S,y as r,ak as j,o,aL as P,cm as E,cn as H,co as V,cY as U,c as l,b7 as G,a as k,b6 as q,p as z,cV as F,br as J,b as X}from"./index-DJLrbf0F.js";import{n as i}from"./mui-DpJXlk4t.js";import{a as Y}from"./core-CA3j8Axi.js";import"./sentry-BA4piVNf.js";import"./zeni-epic-state-CQt4n3Xe.js";import"./lottie-B7mXQ-R-.js";import"./liveblocks-C2I4vRCJ.js";import"./utils-DUsHM-Uc.js";import"./analytics-CHPpxU3b.js";import"./recharts-BGdJnVo5.js";import"./lexical-dZFDzIA1.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},h=new e.Error().stack;h&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[h]="594a7252-318c-4ee5-9732-0079c898f6a0",e._sentryDebugIdIdentifier="sentry-dbid-594a7252-318c-4ee5-9732-0079c898f6a0")}catch{}})();const s={sectionWidth:new r(343,580,726),ruleWrapperPadding:new r(l[3],l[4]),wrapperGap:new r(l[4],l[3]),wrapperMarginBottom:new r(l[6],l[8]),lastWrapperMarginBottom:new r(l[5],l[9]),stepperWidthHeight:new r(20,l[5]),stepperItemLeft:new r(-29,-23),stepperItemTop:new r(2,l[0]),stepperItemPaddingLeft:new r(l[0],10),stepperItemMinHeight:new r(22,28),stepperLeft:new r(11,17),stepperTop:new r(2,l[0]),stepperContentTop:new r(-1,-4)},A={stepper:new k("smallRegular","standardRegular"),amount:new k("standardRegular","largeMedium")},K=({showDeleteBtn:e=!1,isLastSection:h=!1,approvalRule:d,onEditRuleClick:b,onDeleteRuleClick:w})=>{const[x,g]=Y.useState(!1),n=B(),{range:u}=d.criteria[0],{steps:$,approvalRuleId:m}=d,a=v.getLocalizedStrings().commonSetUp.approval,y=()=>{g(!0)},D={onOkClick:()=>{g(!1),w?.(m)},onCancelClick:()=>{g(!1)}};return t.jsxs(O,{windowSize:n,isLastSection:h,children:[t.jsxs(Q,{windowSize:n,children:[t.jsxs(se,{children:[t.jsxs(L,{windowSize:n,children:[a.from," ",P("0,0",u.min)]}),t.jsxs(Z,{children:[t.jsx(T,{}),t.jsx(ee,{}),t.jsx(T,{})]}),u.max==null?t.jsx(de,{}):t.jsx(L,{windowSize:n,children:P("0,0",{...u.min,amount:u.max.amount})})]}),t.jsxs(ne,{className:"icons",children:[e&&t.jsx(ae,{onClick:y,"data-testid":S("delete-approval-rule-bill-pay",d.approvalRuleId)}),t.jsx(pe,{onClick:()=>{b(m)},"data-testid":S("edit-approval-rule-bill-pay",d.approvalRuleId)})]})]}),t.jsx(te,{windowSize:n,children:t.jsx(oe,{isSingleStep:$.length===1,windowSize:n,children:$.map((c,W)=>t.jsxs(ie,{isSingleStep:$.length===1,className:"stepperItem",windowSize:n,children:[c.action==="require_approval"?t.jsx(re,{children:a.requireText}):t.jsx(le,{children:a.notifyText}),c.nonUserActors!=null&&c.nonUserActors.filter(p=>p.subType!=null).map((p,M)=>t.jsxs(C,{children:[t.jsx(I,{children:p.subType!=null?a.nonUsers[p.subType].label:null}),c.operator!="is"?t.jsx(R,{className:"operator",children:c.operator}):null]},`${p.subType}_${M}`)),c.actors.map(p=>t.jsxs(C,{children:[t.jsxs(I,{children:[p.firstName," ",p.lastName]}),c.operator!="is"?t.jsx(R,{className:"operator",children:c.operator}):null]},p.userId))]},W))})}),x?t.jsx(E,{titleComponent:t.jsx(V,{children:a.deleteApprovalRuleTitle}),descriptionComponent:t.jsx(H,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:D}):null]})},O=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
gap: ${e=>s.wrapperGap.valuePx(e.windowSize)};
|
|
@@ -132,16 +132,16 @@ import{q as B,F as b,V as t,bz as D,m as E,aK as S,y as r,ak as j,o,aL as P,cm a
|
|
|
132
132
|
color: ${z.alertDark};
|
|
133
133
|
`,le=i.span`
|
|
134
134
|
color: ${z.successDark};
|
|
135
|
-
`,
|
|
135
|
+
`,I=i.span`
|
|
136
136
|
color: ${e=>e.theme.colors.primary};
|
|
137
137
|
`,se=i.div`
|
|
138
138
|
display: flex;
|
|
139
139
|
align-items: center;
|
|
140
140
|
gap: ${o.sp2};
|
|
141
|
-
`,
|
|
141
|
+
`,ne=i.div`
|
|
142
142
|
display: flex;
|
|
143
143
|
gap: ${o.sp5};
|
|
144
|
-
`,
|
|
144
|
+
`,ae=i(F)`
|
|
145
145
|
width: ${o.sp3};
|
|
146
146
|
height: ${o.sp3};
|
|
147
147
|
cursor: pointer;
|
|
@@ -161,16 +161,16 @@ import{q as B,F as b,V as t,bz as D,m as E,aK as S,y as r,ak as j,o,aL as P,cm a
|
|
|
161
161
|
width: ${o.sp4};
|
|
162
162
|
height: ${o.sp4};
|
|
163
163
|
color: ${e=>e.theme.colors.hero};
|
|
164
|
-
`,
|
|
164
|
+
`,R=i.span`
|
|
165
165
|
color: ${e=>e.theme.colors.hero};
|
|
166
|
-
`,
|
|
166
|
+
`,C=i.div`
|
|
167
167
|
display: inherit;
|
|
168
168
|
gap: inherit;
|
|
169
169
|
`,L=i.span`
|
|
170
170
|
${e=>`${A.amount.style(e.windowSize)}`};
|
|
171
171
|
color: ${e=>e.theme.colors.primary};
|
|
172
172
|
word-break: break-word;
|
|
173
|
-
|
|
173
|
+
`,f={width:new r(343,580,726),titleWidth:new r(343,580,780),addApprovalGap:new r(6,l[2]),subTitlePaddingTop:new r(12,l[3]),subTitlePaddingBottom:new r(28,l[7])},Re=({approvalView:e,onBackClick:h,onEditRuleClick:d,onDeleteRuleClick:b})=>{const w=B(),{fetchState:x,deleteStatus:g}=e,n=v.getLocalizedStrings().commonSetUp.approval,u=v.getLocalizedStrings().spendManagement.billPay.billPayApproval,$=g.fetchState,m=e.listeningToPusherEvent;return t.jsxs(ce,{children:[t.jsx(_,{title:n.approvalPageHeader,style:{zIndex:4},onBackClick:()=>{h()},source:"BillPayApprovalRulesPage"}),t.jsxs(he,{children:[t.jsx(me,{windowSize:w,children:u.approvalPageSubTitle}),x==="In-Progress"||x==="Not-Started"||$==="In-Progress"||m===!0?t.jsxs(ue,{children:[t.jsx(N,{size:m===!0?"Large":"ExtraLarge",start:!0}),m===!0&&t.jsx(we,{windowSize:w,children:n.updatingApprovalRules.replace("__entity__","bills")})]}):x==="Completed"?t.jsxs(t.Fragment,{children:[e.allApprovalRules.map((a,y)=>t.jsx(K,{showDeleteBtn:y!==0,approvalRule:a,isLastSection:y===e.allApprovalRules.length-1,onEditRuleClick:d,onDeleteRuleClick:b},a.approvalRuleId)),t.jsxs(xe,{windowSize:w,onClick:()=>{d()},"data-testid":S("add-approval-rule-bill-pay"),children:[t.jsx(ge,{}),t.jsx($e,{children:n.addApprovalText})]})]}):null]})]})},ce=i.div`
|
|
174
174
|
display: flex;
|
|
175
175
|
min-height: 100%;
|
|
176
176
|
flex-direction: column;
|
|
@@ -183,7 +183,7 @@ import{q as B,F as b,V as t,bz as D,m as E,aK as S,y as r,ak as j,o,aL as P,cm a
|
|
|
183
183
|
overflow-y: auto;
|
|
184
184
|
flex-direction: column;
|
|
185
185
|
align-items: center;
|
|
186
|
-
`,
|
|
186
|
+
`,ue=i.div`
|
|
187
187
|
display: flex;
|
|
188
188
|
width: 100%;
|
|
189
189
|
min-height: calc(100vh - 150px);
|
|
@@ -192,28 +192,28 @@ import{q as B,F as b,V as t,bz as D,m as E,aK as S,y as r,ak as j,o,aL as P,cm a
|
|
|
192
192
|
align-items: center;
|
|
193
193
|
gap: ${o.sp3};
|
|
194
194
|
background-color: ${e=>e.theme.colors.grey4};
|
|
195
|
-
`,
|
|
195
|
+
`,me=i(j)`
|
|
196
196
|
color: ${e=>e.theme.colors.hero};
|
|
197
197
|
display: flex;
|
|
198
198
|
justify-content: center;
|
|
199
|
-
width: ${e
|
|
200
|
-
padding-top: ${e
|
|
201
|
-
padding-bottom: ${e
|
|
202
|
-
`,
|
|
199
|
+
width: ${e=>f.titleWidth.valuePx(e.windowSize)};
|
|
200
|
+
padding-top: ${e=>f.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
201
|
+
padding-bottom: ${e=>f.subTitlePaddingBottom.valuePx(e.windowSize)};
|
|
202
|
+
`,we=i(j)`
|
|
203
203
|
color: ${e=>e.theme.colors.hero};
|
|
204
204
|
display: flex;
|
|
205
205
|
justify-content: center;
|
|
206
206
|
margin-top: ${o.sp3};
|
|
207
|
-
`,
|
|
207
|
+
`,xe=i(j)`
|
|
208
208
|
cursor: pointer;
|
|
209
209
|
display: flex;
|
|
210
210
|
flex-direction: row;
|
|
211
211
|
justify-content: center;
|
|
212
212
|
align-items: center;
|
|
213
213
|
padding: ${o.sp3} ${o.sp4};
|
|
214
|
-
gap: ${e
|
|
214
|
+
gap: ${e=>f.addApprovalGap.valuePx(e.windowSize)};
|
|
215
215
|
|
|
216
|
-
width: ${e
|
|
216
|
+
width: ${e=>f.width.valuePx(e.windowSize)};
|
|
217
217
|
height: ${o.sp8};
|
|
218
218
|
|
|
219
219
|
background: ${e=>e.theme.colors.grey5};
|
|
@@ -238,4 +238,4 @@ import{q as B,F as b,V as t,bz as D,m as E,aK as S,y as r,ak as j,o,aL as P,cm a
|
|
|
238
238
|
height: ${o.sp3};
|
|
239
239
|
`,$e=i.div`
|
|
240
240
|
color: ${e=>e.theme.colors.hero};
|
|
241
|
-
`;export{
|
|
241
|
+
`;export{Re as default};
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import{av as W,q as f,aN as Y,F as M,V as e,fo as ee,bz as ie,n as B,aK as C,ad as m,o as s,ap as se,D as le,d as I,aQ as D,al as oe,y as re,p as $,cA as te,aR as ae,b8 as ne,c as de}from"./index-DJLrbf0F.js";import{a as g}from"./core-CA3j8Axi.js";import{n as l}from"./mui-DpJXlk4t.js";import{Fr as ce,bV as pe,Fs as me}from"./zeni-epic-state-CQt4n3Xe.js";import{f as xe}from"./VideoPopup-BEXc8o78-CxvDyO3n.js";import{M as b}from"./usp-line-BBd1wKwW-BZdA9pHf.js";import"./sentry-BA4piVNf.js";import"./lottie-B7mXQ-R-.js";import"./liveblocks-C2I4vRCJ.js";import"./utils-DUsHM-Uc.js";import"./analytics-CHPpxU3b.js";import"./recharts-BGdJnVo5.js";import"./lexical-dZFDzIA1.js";import"./VideoPlayer-BVR9LPmm-Cf1X7mgb.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]="7550fb95-7495-4874-b6c9-cc1a415d648c",i._sentryDebugIdIdentifier="sentry-dbid-7550fb95-7495-4874-b6c9-cc1a415d648c")}catch{}})();const U="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 re(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``,x=l.img``,R=l.div`
|
|
27
|
+
width: ${i=>i.windowSize==="small"?"auto":"376px"};
|
|
28
|
+
display: flex;
|
|
29
|
+
flex-direction: column;
|
|
30
|
+
`,V=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
|
+
`,F=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(D)`
|
|
61
|
+
color: ${i=>i.theme.colors.champion};
|
|
62
|
+
`,j=l(te)`
|
|
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
|
+
`,E=l(b)`
|
|
69
|
+
color: ${$.graphColor09Dark};
|
|
70
|
+
`,N=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(D)`
|
|
82
|
+
margin: ${i=>i.windowSize==="small"?s.sp1:`auto ${s.sp5}`};
|
|
83
|
+
color: ${i=>i.theme.colors.grey1};
|
|
84
|
+
`,r=M.getLocalizedStrings().spendManagement.billPay.billPayPromo,t=M.getLocalizedStrings().commonSetUp.businessVerification.terms,Fe=({billPaySetupView:i,analytics:o,meetingUrl:S,videoUrl:Z,onButtonClick:q,onBackClick:K,onSetupBillPaySuccess:z,onClickMenuIcon:O})=>{const h=W(),a=f(),{billPayTermsDetails:p}=i,[Q,H]=g.useState(!1),[J,v]=g.useState(!1),k=Y(p?.fetchStatus.fetchState);g.useEffect(()=>{k==="In-Progress"&&p?.fetchStatus.fetchState==="Completed"&&z?.()},[k,z,p?.fetchStatus]);const X=()=>{o?.trackBillPayPromoScheduleDemo(),v(!0)},G=ce(h.loggedInUserRoleMap),P=pe(h.loggedInUserRoleMap)&&!G,T=P?r.setupNonAccessableUsersPromoText:r.promoText;return e.jsxs(ge,{children:[Q===!0?e.jsx(xe,{onCancelClick:()=>{H(!1)},videoUrl:Z}):null,J===!0?e.jsx(ee,{onCancelClick:()=>{v(!1)},meetingUrl:S}):null,e.jsx(ie,{title:r.title,onBackClick:K,showBackButton:!me(h.loggedInUserRoleMap),showMenuIcon:a==="small"||a==="medium-compact",onClickMenuIcon:O,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(B,{variant:"secondary",label:r.scheduleDemoButton,onClick:X,"data-testid":C("billpay-schedule-demo-button")}),e.jsx(be,{windowSize:a,children:r.orText}),e.jsx(B,{variant:"primary",label:r.setupBillPayButton,loading:p?.fetchStatus.fetchState==="In-Progress",onClick:q,"data-testid":C("billpay-setup-button")})]}),e.jsxs(fe,{children:[r.terms.terms1,e.jsx(m,{href:t.consentUrl,linkText:t.consent}),t.term2,e.jsx(m,{href:t.depositUrl,linkText:t.depositTerms}),t.term3,e.jsx(m,{href:t.privacyPolicyUrl,onZeniLinkClick:()=>(o?.trackBillPayPrivacyPolicy(),!0),linkText:t.privacy}),t.term4,e.jsx(m,{href:t.tosUrl,onZeniLinkClick:()=>(o?.trackBillPayAgreement(),!0),linkText:t.tos}),t.term5,r.terms.terms3]})]}):null]})]})},Se=()=>{const i=I(),o=f();return e.jsxs(L,{windowSize:o,children:[e.jsx(V,{windowSize:o,children:e.jsx(F,{windowSize:o,children:i.mode==="dark"?e.jsx(x,{src:A,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"}):e.jsx(x,{src:U,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"})})}),e.jsxs(R,{windowSize:o,children:[e.jsxs(n,{windowSize:o,children:[e.jsx(d,{children:e.jsx(N,{})}),e.jsxs(c,{children:[e.jsx(j,{children:r.fullyManagedText.bold}),e.jsx(y,{children:r.fullyManagedText.regular})]})]}),e.jsxs(n,{windowSize:o,children:[e.jsx(d,{children:e.jsx(E,{})}),e.jsxs(c,{children:[e.jsx(j,{children:r.multiLevelApprovalText.bold}),e.jsx(y,{children:r.multiLevelApprovalText.regular})]})]}),e.jsxs(n,{windowSize:o,children:[e.jsx(d,{children:e.jsx(_,{})}),e.jsxs(c,{children:[e.jsx(j,{children:r.aiPoweredText.bold}),e.jsx(y,{children:r.aiPoweredText.regular})]})]})]})]})},ze=()=>{const i=I(),o=f();return e.jsxs(L,{windowSize:o,children:[e.jsxs(R,{windowSize:o,children:[e.jsxs(n,{windowSize:o,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(N,{})}),e.jsxs(c,{children:[e.jsx(w,{children:r.fullyManagedText.bold}),e.jsx(u,{children:r.fullyManagedText.regular})]})]}),e.jsxs(n,{windowSize:o,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(E,{})}),e.jsxs(c,{children:[e.jsx(w,{children:r.multiLevelApprovalText.bold}),e.jsx(u,{children:r.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:r.aiPoweredText.bold}),e.jsx(u,{children:r.aiPoweredText.regular})]})]})]}),e.jsx(V,{windowSize:o,children:e.jsx(F,{windowSize:o,children:i.mode==="dark"?e.jsx(x,{src:A,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"}):e.jsx(x,{src:U,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"})})})]})};export{Fe as default};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import{d as $e,q as De,aN as W,a8 as Oe,cB as Re,F as Ue,aS as Q,V as t,f6 as He,aK as ze,p as Le,y as u,bz as qe,m as Me,ab as Ne,fp as H,dM as Ge,fq as Je,bu as Ke,dC as Ze,bQ as Qe,fr as Xe,aO as Ye,o as L,fs as et,c as a,ak as tt,bI as it}from"./index-DJLrbf0F.js";import{a as m}from"./core-CA3j8Axi.js";import{n as b}from"./mui-DpJXlk4t.js";import{bM as nt}from"./zeni-epic-state-CQt4n3Xe.js";import{g as ot}from"./UploadAdditionalDocumentOverlay-COtszXUY-DBj80beJ.js";import"./sentry-BA4piVNf.js";import"./lottie-B7mXQ-R-.js";import"./liveblocks-C2I4vRCJ.js";import"./utils-DUsHM-Uc.js";import"./analytics-CHPpxU3b.js";import"./recharts-BGdJnVo5.js";import"./lexical-dZFDzIA1.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new e.Error().stack;p&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[p]="84eafbbe-1386-4655-8fd8-feb8f4e57263",e._sentryDebugIdIdentifier="sentry-dbid-84eafbbe-1386-4655-8fd8-feb8f4e57263")}catch{}})();const n={titleWidth:new u(343,580,726,826),setupDetailsRowGap:new u(12,a[5],a[5]),sectionRowGap:new u(a[5],a[9],a[9]),lastSectionPaddingBottom:new u(a[7],a[10],a[10]),iconWidthHeight:new u(20,a[4]),subTitlePaddingTop:new u(12,a[3]),subTitlePaddingBottom:new u(a[3],a[3]),overlayWidth:new u(100,100,59)},X="billPaySetUpPage",E="billPayAccount",Ct=({billPaySetupView:e,isDisabled:p,billpayApprovalView:v,meetingUrl:C,showIntlWiseWidget:s,connectedAccountProvider:ee,isAccountsEnabled:te,isLocalCurrencyEnabled:ie,analytics:y,filesEndPoint:ne,authParams:oe,accountsPromoConfig:ae,onBackClick:le,onBusinessVerificationSectionClick:ce,onSetupApprovalRulesSectionClick:se,onFetchLinkTokenClick:de,onEstablishConnectionClick:re,onEstablishConnectionSuccess:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAccountClick:fe,onUpdatePaymentAccountStatus:he,onUpdatePaymentAccountLoginStatus:ge,onEnableBillPayClick:me,onEnableBillPaySuccess:q,onClickMenuIcon:be,onInternationPaymentSetUpClick:ye,onEditFileName:Se,onDeleteFile:Pe,updateFilesEntity:we,onCompanyOfficerUpdated:xe,onSendForVerificationClick:ve,onSignUpClick:Ce})=>{const k=$e(),i=De(),[A,S]=m.useState(!1),M=m.useRef(null),{fetchState:f,updateStatus:P,accountUpdateStatus:ke,plaidConnectionDetails:_,allBankAccounts:Ae,companyBillPayInfo:T,isRefreshingViewInBackground:Te,selectedCompanyOfficer:c,primaryFundingAccount:d,allFundingAccounts:N}=e,h=T?.internationalWireOnboardingStatus,I=h==null||h.code==="onboarding_status_not_started",{fetchState:G,allApprovalRules:j,approvalRulesStatus:Ie}=v,$=_.link_account.updateStatus,D=_.update_account.updateStatus,B=W(f),J=W(P.fetchState),K=W($.fetchState),Z=W(D.fetchState),w=Oe({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>z(e),[e]),values:z(e)});m.useEffect(()=>{!A&&c?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&c.areAdditionalDocumentsRequestedForVerification&&!c.areAdditionalDocumentsSubmittedForVerification&&c.userVerificationStatus?.code==="require_info"&&S(!0),A&&B==="In-Progress"&&f==="Completed"&&S(!1)},[c,f,B]),m.useEffect(()=>{(B==="In-Progress"&&f==="Completed"||K==="In-Progress"&&$.fetchState==="Completed"||Z==="In-Progress"&&D.fetchState==="Completed")&&w.reset(z(e))},[B,f,w,e,K,$.fetchState,Z,D.fetchState]);const je=w.handleSubmit(x=>{y.trackEnableBillPay(),me()}),Be=async(x,F)=>{const o=F[E];if(x.includes(E)){if(x.includes("fundingAccount")){if(o.fundingAccount.selectedOption!=null&&d?.id!=o.fundingAccount.selectedOption){const g=N.find(U=>U.id===o.fundingAccount.selectedOption);g!=null&&pe(o.fundingAccount.selectedOption,g.accType)}}else if(o.account.selectedOption!=null&&d?.id!=null&&d?.zeniAccountId!=o.account.selectedOption){const g=o.account.allOptions.find(U=>U.value===o.account.selectedOption);g!=null&&typeof g.label=="string"&&y.trackConnectBankLink(g.value,g.label,"bill_pay"),fe(o.account.selectedOption,d.id,d.accType)}}};m.useEffect(()=>{const x=w.watch((F,{name:o})=>{o!=null&&F!=null&&Re(()=>Be(o,F))});return()=>{x.unsubscribe()}}),m.useEffect(()=>{J==="In-Progress"&&P.fetchState==="Completed"&&q()},[q,J,P.fetchState]);const{commonSetUp:Ve,spendManagement:Fe}=Ue.getLocalizedStrings(),{setUp:r}=Ve,{billPaySetup:l}=Fe.billPay,O=T?.isBusinessVerified===!0&&(d?.accType==="depositAccount"||nt(d?.providerVerificationStatus?.code??"")),R=T?.isBillPayEnabled===!0,We=O?r.setupVerifiedSubTitle:l.setupSubTitle,Ee=f==="In-Progress"||f==="Not-Started"||G==="In-Progress"||G==="Not-Started",V=k.mode==="light"?new Q(k.colors.brandColorJadeLight):new Q(k.colors.brandColorJadeDark),_e=()=>{!A&&c?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&c.areAdditionalDocumentsRequestedForVerification&&!c.areAdditionalDocumentsSubmittedForVerification&&c.userVerificationStatus?.code==="require_info"?S(!0):ce?.()};return t.jsxs(lt,{ref:M,children:[t.jsx(He,{anchor:"right",PaperProps:{style:{width:n.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>S(!1),style:{backgroundColor:Le.drawerBackground},transitionDuration:250,"data-testid":ze("bill-pay-setup-drawer"),children:t.jsx(ot,{authParams:oe,filesEndPoint:ne,updateStatus:P,onEditFileName:Se,onDeleteFile:Pe,updateFilesEntity:we,companyOfficer:c,onClose:()=>S(!1),onCompanyOfficerUpdated:xe,onSendForVerificationClick:ve})}),t.jsx(qe,{title:l.setupTitle,style:{zIndex:3},onBackClick:le,showMenuIcon:!R&&(i==="medium-compact"||i==="small"),onClickMenuIcon:be,scrollableContent:M,backgroundColor:k.colors.grey4,source:"BillPaySetUpPage"}),t.jsxs(dt,{windowSize:i,children:[t.jsx(st,{windowSize:i,children:We}),Ee?t.jsx(rt,{children:t.jsx(Me,{size:"ExtraLarge",start:!0})}):t.jsxs(at,{children:[t.jsx(Ne,{...w,children:t.jsx("form",{id:Y(X),onSubmit:je,children:t.jsxs(ut,{windowSize:i,children:[t.jsx(H,{onClick:_e,title:r.businessVerificationTitle,subTitle:r.businessVerificationSubTitle,header:r.businessVerificationHeader,icon:{element:t.jsx(Ge,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:V},status:T?.businessVerificationStatus,isLoading:Te,isActiveWhileLoading:!0}),t.jsx(Je,{connectedAccountProvider:ee,primaryFundingAccount:d,allFundingAccounts:N,plaidConnectionDetails:_,allBankAccounts:Ae,sectionId:E,isDisabled:p,onFetchLinkTokenClick:de,onEstablishConnectionClick:re,onUpdatePaymentAccountStatus:he,onUpdatePaymentAccountLoginStatus:ge,onEstablishConnectionSuccess:ue,icon:{element:t.jsx(Ke,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:V},analytics:y,productType:"bill_pay",isAccountsEnabled:te,onSignUpClick:Ce,pageName:"Bill Pay Setup",accountsPromoConfig:ae}),t.jsx(H,{title:j.length>0?r.approvalTitle:r.createApprovalTitle,subTitle:l.approvalSubTitle,header:j.length>0?r.approvalHeader:r.setupApprovalHeader,icon:{element:t.jsx(Ze,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:V},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},onClick:se,status:j.length>0?Ie:void 0})]})})}),s===!0?t.jsx(H,{title:I?l.enableInternationalWireTitle:l.internationWireTitle,subTitle:l.internationalWireSubTitle2,header:l.internationalWireHeader,icon:{element:t.jsx(Xe,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:V},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},isClickable:!0,onClick:()=>{I&&y.trackEnableIntlWire(ie),ye?.()},status:I?void 0:{name:h.name,code:h.code},statusInfoIcon:h?.code==="verification_pending"||h?.code==="verification_failed"?t.jsx(Qe,{title:h.code==="verification_pending"?l.tooltipTexts.pendingInternationalVerificationText:l.tooltipTexts.internationalVerificationFailed,children:t.jsx(ct,{})}):void 0,shouldHover:!0,showRightArrow:I}):null]})]}),O&&!R&&j.length>0?t.jsx(Ye,{formId:Y(X),primaryBtn:{label:l.enableBillPay,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:P.fetchState==="In-Progress"||ke.fetchState==="In-Progress",isDisabled:p!=null},showCancel:!1,helperText:l.terms,cancelBtn:{label:""},style:{padding:`12px ${L.sp3}`}}):null,t.jsx(et,{isFooterRendered:O&&!R,meetingUrl:C,analytics:y,productType:"bill_pay"})]})},at=b.div``,lt=b.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
min-height: 100%;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
width: 100%;
|
|
6
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
7
|
+
height: 100vh;
|
|
8
|
+
overflow-y: auto;
|
|
9
|
+
`,ct=b(it)`
|
|
10
|
+
width: ${L.sp3};
|
|
11
|
+
height: ${L.sp3};
|
|
12
|
+
color: ${e=>e.theme.colors.hero};
|
|
13
|
+
&:hover {
|
|
14
|
+
color: ${e=>e.theme.colors.primary};
|
|
15
|
+
}
|
|
16
|
+
`,st=b(tt)`
|
|
17
|
+
color: ${e=>e.theme.colors.hero};
|
|
18
|
+
display: flex;
|
|
19
|
+
justify-content: center;
|
|
20
|
+
width: ${e=>n.titleWidth.valuePx(e.windowSize)};
|
|
21
|
+
padding-top: ${e=>n.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
22
|
+
padding-bottom: ${e=>n.subTitlePaddingBottom.valuePx(e.windowSize)};
|
|
23
|
+
text-align: ${e=>e.windowSize==="small"?"initial":"center"};
|
|
24
|
+
`,dt=b.div`
|
|
25
|
+
display: flex;
|
|
26
|
+
justify-content: flex-start;
|
|
27
|
+
flex-direction: column;
|
|
28
|
+
align-items: center;
|
|
29
|
+
row-gap: ${e=>n.setupDetailsRowGap.valuePx(e.windowSize)};
|
|
30
|
+
`,rt=b.div`
|
|
31
|
+
display: flex;
|
|
32
|
+
width: 100%;
|
|
33
|
+
height: calc(100vh - 110px);
|
|
34
|
+
flex-direction: row;
|
|
35
|
+
justify-content: center;
|
|
36
|
+
align-items: center;
|
|
37
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
38
|
+
`,ut=b.div`
|
|
39
|
+
display: flex;
|
|
40
|
+
flex-direction: column;
|
|
41
|
+
row-gap: ${e=>n.sectionRowGap.valuePx(e.windowSize)};
|
|
42
|
+
`,z=e=>{const{allBankAccounts:p,allFundingAccounts:v,primaryFundingAccount:C}=e;return{[E]:{fundingAccount:{selectedOption:C?.id,allOptions:v.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:C?.zeniAccountId,allOptions:p.map(s=>({label:s.accountName,value:s.accountId}))}}}},Y=e=>`${e}_form`;export{Ct as default,Y as uniqueName};
|