@zeniai/web-cockpit-ui 1.14.41-qa → 1.14.42-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-C0Ys2JJm-CSmQeh3x.js +21 -0
- package/dist/assets/{AIPerformancePage-DUz4HfZ1-Dw16_h1i.js → AIPerformancePage-CsR8PRb9-DlWAPyY5.js} +32 -32
- package/dist/assets/{AccountInfoPage-YaZUNWd--C7mX1TUK.js → AccountInfoPage-GuppZ3vX-ybOuy1Kd.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-CMDfYWOh-2t3Y-Tgi.js → AccountInfoPageContent-BLKO0eIw-B7kvUMt5.js} +30 -30
- package/dist/assets/{AccountLockedInfoModal-DVLQ0FPH-B5gNUsGD.js → AccountLockedInfoModal-DxcSHNgE-BkMfAWj6.js} +3 -3
- package/dist/assets/{AccountReconDetailsDrawerPage-D15tKD4N-wdhiO3so.js → AccountReconDetailsDrawerPage-BoS3J4pw-C7qNHT6H.js} +15 -15
- package/dist/assets/{AccountRow-D-CPGejv-C0MkYOn9.js → AccountRow-Dj74AzIh-BbDAUA8T.js} +22 -22
- package/dist/assets/{AccountsPromoCardStack-BP_NIYH9-CknZDmQk.js → AccountsPromoCardStack-MQ_e8aZu-DokMp7Fc.js} +28 -28
- package/dist/assets/{AddAddressForCardDrawer-CgUhQtxS-ZERwnczq.js → AddAddressForCardDrawer-LpGynQhq-BiZdAWgh.js} +1 -1
- package/dist/assets/{AddToWalletPage-BJ1zD8Fp-DS4otSje.js → AddToWalletPage-wtm2Oua5-x0zhdZBl.js} +14 -14
- package/dist/assets/{AgingReportsPage-BC3a8enN-CH94puRQ.js → AgingReportsPage-e98Qmrut-DEPFVdEb.js} +14 -14
- package/dist/assets/{AllUserItems-vM-R7kC6-dC4XnH-i.js → AllUserItems-Cyr74U6h-DLHOl5bM.js} +10 -10
- package/dist/assets/{ApAgingDetailPage-C0soj3QL-CIKu7KMh.js → ApAgingDetailPage-Kjz7NPLx-Bf3lvNxo.js} +4 -4
- package/dist/assets/{AppBasePage-vYi6vqB3-CUCnltWx.js → AppBasePage-DrR3bM5Z-CWPfvLBQ.js} +17 -17
- package/dist/assets/{AppDrawerContent-4OWU2TFD-hU4F7Wlo.js → AppDrawerContent-C2GlTktJ-DMFov52N.js} +8 -8
- package/dist/assets/{ApprovalRulesSettingsPage-D9sYwLt_-eXBjf9wx.js → ApprovalRulesSettingsPage-Cy9uHg-R-Lb5cY5kU.js} +1 -1
- package/dist/assets/{ArAgingChart-B_o6w4NZ-eMi5HTRp.js → ArAgingChart-CtxyhI9X-mEADLb4-.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-CBVZytB--DpqLoVCo.js → ArAgingDetailPage-GX7S1gNm-CGPsvsX3.js} +1 -1
- package/dist/assets/{AttachmentView-B-4i3ruL-Coezd-6G.js → AttachmentView-C8CksG-9-RpLYPFoP.js} +6 -6
- package/dist/assets/{BankAccountSection-BSpqPLea-DnHvULrV.js → BankAccountSection-8JPKANMP-DuTpIyau.js} +4 -4
- package/dist/assets/BankAccountWarningSection-HW7t6lPN-CXdJbZl-.js +51 -0
- package/dist/assets/{BankConnectionsSettingsPage-Bb8Ug1B7-BrJkpQBD.js → BankConnectionsSettingsPage-C_jyBPLn-CLp_uRqW.js} +31 -31
- package/dist/assets/BillDetailPage-BwuHMPBb-CWwzJCXe.js +266 -0
- package/dist/assets/{BillPayApprovalRuleDetailPage-zgj-w04l-DlkJNyRo.js → BillPayApprovalRuleDetailPage-9RqkaWf2-BU5jdCnL.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-8Yu9sjNN-CP9d39U-.js → BillPayApprovalRulesPage-CZmACduz-93oNGY5M.js} +9 -9
- package/dist/assets/{BillPayPromoPage-DwiZ7BtU-fiyE_zkg.js → BillPayPromoPage-C2m0GTw3-CZokQfrc.js} +4 -4
- package/dist/assets/{BillPaySetUpPage-qkDjDwA2-BVCc21N3.js → BillPaySetUpPage-C71BRWUw-VI3bvPN6.js} +2 -2
- package/dist/assets/{BillingSettingsPage-CcAIOY2J-REyIPWiq.js → BillingSettingsPage-Gc3cUKmE-DleW0m9X.js} +5 -5
- package/dist/assets/{BillsBulkReviewDrawerPage-BONjbFFw-qDHExLn5.js → BillsBulkReviewDrawerPage-CO1oJuvH-DO4MY9I-.js} +1 -1
- package/dist/assets/{BoxItem-BebxqupW-BdoD_mmi.js → BoxItem-D09XMKDc-dcEB3ro9.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-DB134_1e-CZY_8hSF.js → BusinessVerificationPage-Ef4KSPWc-CGQqBH2S.js} +9 -9
- package/dist/assets/CardNumberSubText-Chba_z2--BgVxGcnT.js +21 -0
- package/dist/assets/{CashbackDetailPage-CCb57-3P-p_PVDcq5.js → CashbackDetailPage-DAM-IJ8V-GMcbY1v3.js} +20 -20
- package/dist/assets/{ChargeCardDetailPage-DZ53kEgD-CVscm9WX.js → ChargeCardDetailPage-U_ZuntGp-Bifm6uRw.js} +1 -1
- package/dist/assets/{ChargeCardListPage-67dSFsMj-BER-SYIw.js → ChargeCardListPage-DJ5TbLO--IUEMfPwT.js} +23 -23
- package/dist/assets/{ChargeCardListTable-Czriruk3-DeRl2C1o.js → ChargeCardListTable-D7BV3Iv9-CvArKgFC.js} +13 -13
- package/dist/assets/{ChargeCardPromoPage-DvMyjHD_-Dd7MlnjV.js → ChargeCardPromoPage-CMqzRnza-BLyUSFwI.js} +26 -26
- package/dist/assets/{ChargeCardSetupPage-D6o-evfw-2pOurEiq.js → ChargeCardSetupPage-dOz2soLF-Bc9pTyfy.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-vmEZp2Gc-k4U6YJ8h.js → ChargeCardStatementsPage-S2JH9s6i-BXX6utVL.js} +11 -11
- package/dist/assets/ChargeCardUtils-Bv0OpE88-D5Y-HOpD.js +1 -0
- package/dist/assets/{ChaseOverlay-DU98sRYz-NBdZIJp3.js → ChaseOverlay-4Rv__bdV-G7KHiWVk.js} +7 -7
- package/dist/assets/{CheckDepositDrawerPage-D559Iqfg-2Xs20KLS.js → CheckDepositDrawerPage-BKogbkJv-CWQTz4_P.js} +15 -15
- package/dist/assets/{CollapsableReportTable-C3JrOMbA-C8RANxS5.js → CollapsableReportTable-B_qvVX0p-B7sAIIqY.js} +85 -85
- package/dist/assets/{CompanyOfficerDetailsSection-ByPjcDhp-UGnVN2eW.js → CompanyOfficerDetailsSection-aAwv9WfC-B4p0BPWe.js} +22 -22
- package/dist/assets/{CompanyPassportCard-DtaT5LBX-sjzIwivo.js → CompanyPassportCard-DchSKG4l-bx1QGbPl.js} +4 -4
- package/dist/assets/{CompanyPassportPage-CYqtLLPi-BZvETxjP.js → CompanyPassportPage-DLIJn7Fp-oxmh8Pcm.js} +14 -14
- package/dist/assets/{CompleteProfile-bz1Sx_Ks-eJUFer6h.js → CompleteProfile-Bf5sNhdg-Bo2AvDlJ.js} +1 -1
- package/dist/assets/{ConfettiBurst-DmQRRfzl-CENtoeqN.js → ConfettiBurst-BPWFB4Ty-0v38oqti.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-R5xXzTyF-B9baa0jh.js → CreateOrEditVendorPage-BTWihvJ--DUStbYOW.js} +8 -8
- package/dist/assets/{CreditCardPaymentDrawerPage-CxFF-ITI-WcUeJ00Z.js → CreditCardPaymentDrawerPage-B5p_onzw-DCjutv5C.js} +11 -11
- package/dist/assets/{CreditCardPaymentPlgSection-D5M15mry-CMaSHERV.js → CreditCardPaymentPlgSection-CTpwe7CS-BcL1YjIs.js} +5 -5
- package/dist/assets/{CurrencySelectField-DdtldGsv-C812lF_Y.js → CurrencySelectField-Dn9EcyiE-BQIfFGfi.js} +7 -7
- package/dist/assets/{CustomerOnboardingActivationPage-S5ljEjEE-Jb-LTm9b.js → CustomerOnboardingActivationPage--C7Nj5oq-JR3YGMUS.js} +2 -2
- package/dist/assets/CustomerOnboardingContainerPage-BDHp6tYk-BLNEL0qV.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-B-aHwtTV-FqYSR0lJ.js → CustomerOnboardingDetailPageSkeleton-BEldzNUC-BEL3C00x.js} +11 -11
- package/dist/assets/{CustomerOnboardingNoStepsPage-D_WXGOKQ-DBupGUX6.js → CustomerOnboardingNoStepsPage-BWPx0oGa-CDRjdq54.js} +4 -4
- package/dist/assets/{CustomerOnboardingPage-D3GUyy20-COjJdfeN.js → CustomerOnboardingPage-CQsXgrSi-DMAOHFB2.js} +6 -6
- package/dist/assets/{CustomerOnboardingProductSuitePage-BcpIczxe-GA6RVDjg.js → CustomerOnboardingProductSuitePage-Ba-hBJDr-D6bzZxGx.js} +4 -4
- package/dist/assets/{Dashboard-D19IvfgJ--DOQVvlB.js → Dashboard-D9a8ZSVk-r42V_isI.js} +1 -1
- package/dist/assets/{DashboardReportPage-DucQv3ZE-CMnuoHmh.js → DashboardReportPage-DC7almyE-DPo9kVmb.js} +18 -18
- package/dist/assets/{DashboardSidebarBackgroundAnimation-zEtk_8x9-CJFT1DkV.js → DashboardSidebarBackgroundAnimation-BZPfkv0W-C5DTnalV.js} +3 -3
- package/dist/assets/{DepositAccTransactionItem-DG7JaTJY-BCT3hCg7.js → DepositAccTransactionItem-D6Pxnskx-DNWsx-r8.js} +5 -5
- package/dist/assets/{DepositAccTransactionListPage-DEDzaAaX-DzTp8c-j.js → DepositAccTransactionListPage-RPv15wO3-g2ti0qw6.js} +2 -2
- package/dist/assets/{DomesticWireDetailsPage-DH4keptD-D01iyx2r.js → DomesticWireDetailsPage-C7SMSdym-4FSz7OmR.js} +1 -1
- package/dist/assets/{DownloadOverlay-DQZd_zyi-B9VMhe_d.js → DownloadOverlay-DSuuIFd2-BOmkiO4Q.js} +18 -18
- package/dist/assets/{DrawerPage-CtDNbXHp-C2cmEeEY.js → DrawerPage-G3indLUm-BloVVmDh.js} +12 -12
- package/dist/assets/EditPeoplePage-B3OUzvId-mGEO8i8C.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-BxzB9b4R-COHPUQv7.js → EditReimbursementDetailPage-BDtXtGDU-C7db0ozx.js} +51 -51
- package/dist/assets/{EntityDetailPage-CuPr64cj-DyxVHR3_.js → EntityDetailPage-Duk7QFjU-4fI6-YD5.js} +3 -3
- package/dist/assets/{EntitySummarySection-CX-KbVbj-CNqoxowU.js → EntitySummarySection-Cr7WMJ8D-CxAoWGpH.js} +7 -7
- package/dist/assets/{ExpenseAutomationOverviewPage-DRFk1z66-B4CXhi6d.js → ExpenseAutomationOverviewPage-hpARiJiY-Cl3fyuZ_.js} +55 -55
- package/dist/assets/{ExpenseAutomationPage-ugq4J-e3-Cq8XKeSo.js → ExpenseAutomationPage-BC5qS_i3-B_dfKUDn.js} +1 -1
- package/dist/assets/{ExpressPayPage-DWFyq0OM-Xap9PWuy.js → ExpressPayPage-I-QL4uh--CR8ltLbL.js} +9 -9
- package/dist/assets/{FeaturePreviewPage-Bdostf75-Co3kb8i2.js → FeaturePreviewPage-BHb59Q7j-BMGHbQAr.js} +2 -2
- package/dist/assets/{FollowStepsSection-CFs_c9UA-C2ivxTgB.js → FollowStepsSection-DONqc9yn-DTdIc25n.js} +9 -9
- package/dist/assets/{GlobalReviewListPage-Cw8nJl7r-ucxhv7FU.js → GlobalReviewListPage-BFAgZIJv-pSG93cS5.js} +11 -11
- package/dist/assets/{HelpButton-DJeoop_B-BbsNSnSE.js → HelpButton-DoSu6q8h-w0fElDGQ.js} +1 -1
- package/dist/assets/{InformationCardStack-DXqbwonQ-D-8qMtbR.js → InformationCardStack-JtvRODJe-BAk9iE1O.js} +4 -4
- package/dist/assets/{InsightsCardStack-7JsHAYeW-ug-71Tgc.js → InsightsCardStack-BEceNZZE-_pfKOcnL.js} +9 -9
- package/dist/assets/{InsightsSection-BkKqEnbT-p9XkPAwR.js → InsightsSection-KsnkYRQw-CjzvB6rM.js} +5 -5
- package/dist/assets/{IntegrationsSettingsPage-DQ_GH1NV-DceBqihU.js → IntegrationsSettingsPage-D4cEY5iJ-Ct8U8ddA.js} +5 -5
- package/dist/assets/{InternationalWireSwiftDetailsPage-B6ER7qfQ-Cn8QyFOw.js → InternationalWireSwiftDetailsPage-Tf_vaD2v-Bx9cBAe-.js} +15 -15
- package/dist/assets/{InternationalWireVerificationPage-hb0w0-FP-CjYCUXS4.js → InternationalWireVerificationPage-qIIqh0iv-Dla3dOLs.js} +15 -15
- package/dist/assets/{InviteFormPage-1dBkKRKs-DciMQTpm.js → InviteFormPage-ByA4uyh2-CUZJDn4x.js} +22 -22
- package/dist/assets/{InvitePageListView-DhpXrg6S-iVD2f3Qa.js → InvitePageListView-0_dBCqFt-HjR3qPdd.js} +44 -44
- package/dist/assets/{InvitePeoplePage-DrHGaYn6-cG76tknZ.js → InvitePeoplePage-C4d-Ov5z-CPj8BOmp.js} +3 -3
- package/dist/assets/InvoiceUploadSection-MEPQPiCt-C4G2s06g.js +140 -0
- package/dist/assets/{IssueChargeCardPage-B_O7rJSC-DBAUNHK1.js → IssueChargeCardPage-C77SyJR9-CUKH1f59.js} +21 -21
- package/dist/assets/{LabeledAddressValue-DWpOvFnM-MVu54lHC.js → LabeledAddressValue-DKKL0jnt-DbFZZVFw.js} +1 -1
- package/dist/assets/LabeledAddressValueField-Ca10mEAm-D8rcZ6WA.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-tNAjM4hM-BvgQqmxU.js → LabeledControlledCheckBoxField-BYk2-ixd-B_p740LF.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-yMTUEfLS-toELldV7.js → LabeledCreatableSingleSelectField-DMhTj1GM-Cqe5AURU.js} +2 -2
- package/dist/assets/LabeledDocumentField-DX4zVKkz-CS1LiAul.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-Dm1etnU5-C8--qfVi.js → LabeledDropDownFormattedTextField-BoizuD7H-Ce48u3nd.js} +5 -5
- package/dist/assets/{LabeledText-BRS0e-dG-BZq4VrX9.js → LabeledText-4NNrEynJ-BDzeNgnU.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Bml1bcSK-BC3kyZqP.js → LabeledUserSingleSelectWithSubtitlesField-DaXDpM0N-DYtP0MFC.js} +10 -10
- package/dist/assets/{LabeledZeniRolesDropDownField-l2veUn4k-CULldLpx.js → LabeledZeniRolesDropDownField-zRamZWIQ-oWeJ0wbt.js} +10 -10
- package/dist/assets/{LinkJETransactionPage-VtgdRNhL-D7ndfEzz.js → LinkJETransactionPage-FMYLsvT_-IUHBR-RO.js} +5 -5
- package/dist/assets/{LowBalancePopup-Dg43FP8p-BLvbua8r.js → LowBalancePopup-Ig5iJGIg-BisR1D9G.js} +4 -4
- package/dist/assets/{MagicLinkACHDetailsPage-UfT8yCmX-DOK_VceA.js → MagicLinkACHDetailsPage-Cf-TvH4n-BBkkCR2W.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-Bgwf3qMA-BfpKCTOv.js → MagicLinkDomesticWireDetailsPage-CLJo-rez-MDjP3aI7.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-B9QWmf9B-Dk7a13qP.js → MagicLinkInternationalWireDetailsPage-C-cD6L4u-Z9qBkl5z.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-SjBCvTm5-8jc-eo0M.js → MagicLinkSuccessPage-cJ0PjYEe-DY9yZh-d.js} +1 -1
- package/dist/assets/MagicLinkTitleSection-Dc8RKV1p-VRc37nwk.js +17 -0
- package/dist/assets/{MailingDetailsSection-Dk8tP8LP-YFImgirq.js → MailingDetailsSection-BD9QWumq-Bo7ZhKA-.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-gebcIIpu-DuyM5Ce0.js → MeetingCalenderPopup-D10SioCO-Sv9k3aJ6.js} +1 -1
- package/dist/assets/{Menu-BeDBbRH8-NbbFIuDT.js → Menu-DV3oFAip-BjpENrFA.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-Bp6o9Mts-4X9R_NQE.js → MyBankConnectionsSettingsPage-jrPeCDe3-C_FxZh14.js} +11 -11
- package/dist/assets/{MyPendingActivationChargeCardListPage-CEWRTVvz-CijMZlz_.js → MyPendingActivationChargeCardListPage-CpaPeIYq-Ckzf1YTL.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-Dvgp3Ycy-DSUbYEGm.js → MyProfileSettingsPage-DLj2PeG9-d2LNa8rI.js} +10 -10
- package/dist/assets/{NavBarWithPicker-XmGu6RQR-C9BXxiKA.js → NavBarWithPicker-CilKdL1D-Z1krBpRG.js} +4 -4
- package/dist/assets/{NavigationArrow-DuEUVDwX-DfD0NIdE.js → NavigationArrow-DvGjNVsn-C-QNklxa.js} +1 -1
- package/dist/assets/{NavigationDots-BcP-rh-K-DS8oU4Qg.js → NavigationDots-BZNvrGBo-CvNSDZNv.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-CI0ohS8I-DWKnTzMp.js → NewGlobalMerchantPage-D5ESBBO5-CiqJ8Tsp.js} +7 -7
- package/dist/assets/{NoDataChart-Cu34Y6fv-CDediDtZ.js → NoDataChart-D9tQhnyu-C94gJNvj.js} +3 -3
- package/dist/assets/{NoDataTable-CPWzH0PE-DkDzGQpn.js → NoDataTable-8FGbkVty-RgNhnWfj.js} +1 -1
- package/dist/assets/{NotFoundPage-yZOAgP9f-BvtMauqa.js → NotFoundPage-D8qvMFgl-BJxrGtQd.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-5bXbyP0i-Dn4CCfRt.js → NotificationSettingsPage-BSJTBlX6-Dh8E-2JN.js} +14 -14
- package/dist/assets/{NotificationsListConfig-DINVh9-P-Cr5z8nJ2.js → NotificationsListConfig-EynMAcn9-B66CEzXh.js} +1 -1
- package/dist/assets/{NotificationsPage-CKcEU-jy-D9LjSHYu.js → NotificationsPage-d4HJEE7S-DignNo6N.js} +21 -21
- package/dist/assets/{OpExByVendorPage-3oQc7n37-ie-HlsGj.js → OpExByVendorPage-CmuEz33W-DHZbqMQl.js} +4 -4
- package/dist/assets/{OverlayContainerPage-Bmu909Fo-c3kkjLHu.js → OverlayContainerPage-Bmu909Fo-BEKpfYXF.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-BPcWHQXd-CtN-h80b.js → PandLWithForecastPage-C7WaIZ8e-AKi0ejYh.js} +11 -11
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-D7JHebDo-BRRsi8Cn.js → PaymentAccountSetupBillingAddressSection-B3m8zs_b-ShdTy6dm.js} +9 -9
- package/dist/assets/{PeoplePage-AdCHl8Rj-GGNGd1tU.js → PeoplePage-BN8tiBew-SMy3y22T.js} +33 -33
- package/dist/assets/PortfolioAllocationFormPage-BD1u1-Or-BP5X7l75.js +207 -0
- package/dist/assets/{PortfolioDetails-DaiiBOps-RHi4PLpn.js → PortfolioDetails-fLO6-kOh-CadDK_zj.js} +14 -14
- package/dist/assets/{ProductsCarousel--PIp0Wwx-1HYPMREY.js → ProductsCarousel-RHO5BWU--BaB4l4pQ.js} +3 -3
- package/dist/assets/{PromoBaseCards-hEn7m0Ea-Dc9Lc6Jd.js → PromoBaseCards-Bm6GGzhn-7qUEmgGZ.js} +2 -2
- package/dist/assets/{QBOConnectionDialog-DByNCCyR-xe7LeSrJ.js → QBOConnectionDialog-Dp_Zkpup-B6ThY6EF.js} +7 -7
- package/dist/assets/{QBOSetupSection-NdDTo0GG-op77rVCs.js → QBOSetupSection-C1hBKDG3-D4_IOTse.js} +13 -13
- package/dist/assets/ReimbursementApprovalRuleDetailPage-DFUyL8tS-CjazMZUR.js +26 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-D13xg5lU-zFGSLUlG.js → ReimbursementApprovalRulesPage-CGb7oMjB-DRxFMpGG.js} +11 -11
- package/dist/assets/{ReimbursementDetailPage-1S7-fp6x-Hi7ghCPV.js → ReimbursementDetailPage-ByD43ffh-CS-2jIxA.js} +8 -8
- package/dist/assets/{ReimbursementPromoPage-TwSf4vIh-CMdRmwjh.js → ReimbursementPromoPage-CPFAYaW8-Tc6w3wrG.js} +20 -20
- package/dist/assets/{ReimbursementSetUpPage-D-g1h8Z7-DKvqAEBO.js → ReimbursementSetUpPage-B_jUtf6N-CH4GgWXW.js} +4 -4
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-nsM0DGyC-BKjafGKk.js → ReimbursementsBulkReviewDrawerPage-DU-QA2n3-CKhaAS5r.js} +1 -1
- package/dist/assets/{ReloadCard-K9SGlmus-DZ7vYKCw.js → ReloadCard-HsDGbgTn-BsloOU08.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-BVw08xMR-S2k8-vyd.js → ReportTableViewSelector-BzFUam8T-BhACNwXr.js} +6 -6
- package/dist/assets/{ReportsPage-DrbFSYgn-Dhzyn189.js → ReportsPage-MQSNDA98-DYJWfk_K.js} +10 -10
- package/dist/assets/{RevenueChart-mib92BSo-vb-0BYYz.js → RevenueChart-BzYEiXeP-CL_U7QVF.js} +29 -29
- package/dist/assets/{ReviewDetailsPage-C5f_GAjv-rA6jgu-n.js → ReviewDetailsPage-w2tTvIFQ-DFmBHsAk.js} +5 -5
- package/dist/assets/ReviewOverlay-DbYrvPld-BPButrhP.js +152 -0
- package/dist/assets/{RoleWithToolTip-C5grx1DM-Bhnk8KKY.js → RoleWithToolTip-B_Ivheco-R8i0Qg5c.js} +6 -6
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BfqQFFiq-CwYQjSQh.js → ScheduleDetailsFixedAssetsPage-CSiXckiF-snYrLXiT.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-DkNwuZzq-Dw4BBNuN.js → ScheduleDetailsPage-BUprw9Sk-CY06UcmD.js} +4 -4
- package/dist/assets/{ScheduleSequenceTable-CviQlsxi-BixaGSYy.js → ScheduleSequenceTable-DnIgU9m6-CTOQUShp.js} +18 -18
- package/dist/assets/{ScreenRoutes-BOEZc6DS.js → ScreenRoutes-Df5fPQoi.js} +1 -1
- package/dist/assets/{SetUpAccountSection-d5HPps92-DZbUJeeo.js → SetUpAccountSection-DDxjcjeg-CBwjkDjl.js} +10 -10
- package/dist/assets/{SetUpDefaultSection-D1OXPM9M-2zaSn3KY.js → SetUpDefaultSection-BSWh5Hvi-BrKOFekt.js} +14 -14
- package/dist/assets/{SignIn-tpfovElQ-C4991EnD.js → SignIn-CImCEnZS-CTfoa2RW.js} +23 -23
- package/dist/assets/{SignInScreen-DgNycLfV.js → SignInScreen-DOATVkIe.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-B3t2U-Lq-GWfzNKhc.js → SpendManagementListViewPage-B61K65wh-DBswKLKE.js} +6 -6
- package/dist/assets/{SpendManagementPerTabPage-vATAr6zx-sNIcyb2f.js → SpendManagementPerTabPage-Bxo7BTP3-BTpFLD01.js} +11 -11
- package/dist/assets/{SpendManagementSection-C8S1zv_Z-D1UddAHC.js → SpendManagementSection-Ddoo9sSg-BrfWcTur.js} +11 -11
- package/dist/assets/{SpendMgmtSetupAccountSection-C3n3CKZp-DgPqGmio.js → SpendMgmtSetupAccountSection-GjJmiN01-CfomDHm3.js} +19 -19
- package/dist/assets/{StatementItem-C2VaQMdB-GityFkee.js → StatementItem-D_ctLWr0-D0j_MHXQ.js} +5 -5
- package/dist/assets/StatementsPage-D1M95WeY-CnAx-9oR.js +58 -0
- package/dist/assets/{StatusSwitcher-CI_4NJc0-D3kMd2Ls.js → StatusSwitcher-ZC7lyTov-GCiWQPGY.js} +4 -4
- package/dist/assets/{SubTabSwitcher-CKh0fbAL-CZyzUbuM.js → SubTabSwitcher-BNFnbB_T-DaWGnnx_.js} +1 -1
- package/dist/assets/{SummaryCard-56XeB7PA-B87JqDih.js → SummaryCard-CSo1L2R4-Biw8Izdi.js} +1 -1
- package/dist/assets/{TaskManagementPage-el6vudQA-DkYDl2e-.js → TaskManagementPage-CAcMcS83-D_9dscfp.js} +14 -14
- package/dist/assets/{TimeRangeSwitcher-X1sd0HJo-D3i-wisc.js → TimeRangeSwitcher-CNdJhUPl-Lk4TfGUR.js} +5 -5
- package/dist/assets/{TimeframeSwitcher-TLcNg_CN-98HiGYj7.js → TimeframeSwitcher-B7t79hiQ-DXBKb0F7.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-Cnlgngu_-BVr6cN7Q.js → TimeframeSwitcherWithToggle-gywVFoaK-CKJ0rtbC.js} +1 -1
- package/dist/assets/{TopExCard-BuCdMdGn-DzugoAzP.js → TopExCard-D_LHVo5q-kM42LZ8h.js} +4 -4
- package/dist/assets/{TopExDetailPage-DJwK85mY-BLlAa0Mx.js → TopExDetailPage-DuiVBT_3--4JswmJo.js} +13 -13
- package/dist/assets/{TransactionDetailPage-fKLOaC53-B4PLnewq.js → TransactionDetailPage-BWbWafDA-BA5tAQ-_.js} +33 -33
- package/dist/assets/{TransactionList-vNVcmGH2-B0OTKj50.js → TransactionList-Xd2JupaK-ME3jRgkK.js} +7 -7
- package/dist/assets/{TransactionListBig-C_1iHb-m-7xzK-ehO.js → TransactionListBig-CnJaFkxR-rlrfsVcy.js} +19 -19
- package/dist/assets/{TransactionListPage-vE1jowuA-CVyTABcH.js → TransactionListPage-DJXFQaro-6w510avL.js} +2 -2
- package/dist/assets/{TransactionVendorDetailPage-C9wGiyJs-DnpJgf-D.js → TransactionVendorDetailPage-Yd_VuyUP-3bCwp_zG.js} +4 -4
- package/dist/assets/{TransferDrawerPage-6AaaV1fR-CcXij2fb.js → TransferDrawerPage-DAQ23FUW-Zp14Y_jD.js} +27 -27
- package/dist/assets/{TreasuryOverviewPage-8z3dgsQ--0GGyt5L1.js → TreasuryOverviewPage-D7PkIffG-CctuefA8.js} +26 -26
- package/dist/assets/{TreasuryPromoPage-BRZCU7u0-YXB-IJNp.js → TreasuryPromoPage-BjVUBF-M-CeyEfLuA.js} +33 -33
- package/dist/assets/{TreasurySetupPage-BietgoUm-DuvVLyjQ.js → TreasurySetupPage-CTwhrB6V-Bbh2Nemp.js} +5 -5
- package/dist/assets/{TreasuryStatementsPage-BrTZ2Tc9-CuYVtjaG.js → TreasuryStatementsPage-jvmgqTxl-bbGSjEnB.js} +3 -3
- package/dist/assets/{TreasuryTaxLetterPage-Bm8Kh9ci-D-bqdUc-.js → TreasuryTaxLetterPage-CtKw-_Ab-DpqHDLut.js} +2 -2
- package/dist/assets/{TreasuryTransferOrReviewPage-DAsCB5hY-CGMzbTrq.js → TreasuryTransferOrReviewPage-HDfVKjSA-D8yPiIy_.js} +37 -37
- package/dist/assets/{TrendChart-CDuKYDbr-Bn9DvEcA.js → TrendChart-BqU6zv7L-wkRyWRpL.js} +4 -4
- package/dist/assets/{TrendWithTransactions-CXFGBD3a-COfDIjjP.js → TrendWithTransactions-CbzZEtLk-CdMXYj1c.js} +4 -4
- package/dist/assets/{UncategorizedAccountsMappingPage-CZp60Srt-CzRmIywg.js → UncategorizedAccountsMappingPage-BqfWXEzv-Cz9H5I4W.js} +11 -11
- package/dist/assets/{UnitIntegrationPage-Bt3BsIP--CS7__SGc.js → UnitIntegrationPage-DOt0PQxi-x_I9Vs5M.js} +4 -4
- package/dist/assets/{UploadAdditionalDocumentOverlay-CiKy5Nj7-B-MuYA3T.js → UploadAdditionalDocumentOverlay-DCG_biA8-DwZNYXuq.js} +2 -2
- package/dist/assets/{Vendor2FAPopup-mpeQ7vp6-drhI-HQb.js → Vendor2FAPopup-AFJ4ji6z-DAWxFDI5.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-DaH6D39U-CWjco5Dp.js → VendorACHDetailsPage-CMZezqhj-omVFdTVD.js} +1 -1
- package/dist/assets/{VendorDetailPage--NEui4cR-CjVNfg_w.js → VendorDetailPage-iMWNwLtE-B5NQ34jt.js} +16 -16
- package/dist/assets/{VendorDomesticWireDetailsPage-ZpWio-lR-C61aUqHr.js → VendorDomesticWireDetailsPage-LLQSi6rq-JFMiqG0a.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-BH50orlv-D4s1kmxT.js → VendorFiling1099EditablePage-BFWuxMl8-CXYevD1L.js} +16 -16
- package/dist/assets/{VendorFirstReviewPage-F3ufon8s-De09Hv60.js → VendorFirstReviewPage-G_Cr6q5s-qjW-FU9s.js} +18 -18
- package/dist/assets/{VendorInternationalWireDetailsPage-BFCRIyx4-lseeqNrB.js → VendorInternationalWireDetailsPage-DReuPGpX-J63QxGJH.js} +10 -10
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-Bsw5XWc5-Cxyk29cs.js → VendorInternationalWireSwiftDetailsPage-CmAzQ-7v-D44Jz7aO.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-DyEqMESi-D9e9kicf.js → VendorsAccountsSection-Cjwpb7Ej-Cx7NEKJj.js} +2 -2
- package/dist/assets/{VerifyDevice-Cghi40l4-ThU6PIgT.js → VerifyDevice-CvJ2zJdk-DMGMblcz.js} +10 -10
- package/dist/assets/{VideoPlayer-BqxR2aZr-C4HSzI7g.js → VideoPlayer-9UKbocWs-CskDssHe.js} +1 -1
- package/dist/assets/{VideoPopup-RZCI8_Gx-CwtDMYFf.js → VideoPopup-DfQxE-EQ-DMlN8l45.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-ChJqfUoo-C8vzQoCW.js → WarningsDrawerPage-2QsB6DYE-SQ5KLE5P.js} +9 -9
- package/dist/assets/{ZeniAccountDetailPage-BVl5QTX2-DcQoIUQu.js → ZeniAccountDetailPage-gFXGgRzS-DY2FypIA.js} +18 -18
- package/dist/assets/{ZeniAccountListViewPage-CsAF1Cyb-D_F8pojL.js → ZeniAccountListViewPage-Daboqhbe-C9ys4A5t.js} +12 -12
- package/dist/assets/ZeniAccountNavBarPieces-DhpbtWHu-gWttgZ20.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-Bdx-nwJO-CAY8oVsD.js → ZeniAccountPromoPage-Df5MahOc-B26r14Mi.js} +21 -21
- package/dist/assets/{ZeniAccountSetupPage-vZ7vjnBw-63QHHhU4.js → ZeniAccountSetupPage-DLlRCOCj-ChweJElI.js} +1 -1
- package/dist/assets/{ZeniCopyright-CpkvfVwM-CpIzcf5N.js → ZeniCopyright-D-Z193Re-BzgSGNSq.js} +1 -1
- package/dist/assets/ZeniTransferAmountSlider-D8dT_-Hq-BM5AfJxY.js +63 -0
- package/dist/assets/{analytics-Dr_Q0qi5.js → analytics-CcevxdRy.js} +19 -19
- package/dist/assets/{analyticsHelper-B29pAXmB.js → analyticsHelper-HFa4L7zM.js} +1 -1
- package/dist/assets/{analyticsHelper-nzXGHX-f-DDF_mzG5.js → analyticsHelper-c9SRwhe3-rKFHsE9O.js} +1 -1
- package/dist/assets/{chartTypes-DJwqK5Pl-BjORIfWQ.js → chartTypes-C2jC2nzT-B64Jl2-O.js} +1 -1
- package/dist/assets/{commonDimensions-BI8wHGzb-vF0LFeSK.js → commonDimensions-CtVQ1dPI-BWfVCzLH.js} +1 -1
- package/dist/assets/{crypto-Ccg-ICil.js → crypto-CK3r1iTV.js} +1 -1
- package/dist/assets/{detailCommon-BqVKB773-C2U67xrp.js → detailCommon-BBImn49A-BK4c1Pxj.js} +6 -6
- package/dist/assets/{downloadPdf-BET_DSP9-DmgSWYo3.js → downloadPdf-BvdzZp_S-DQnizCwq.js} +1 -1
- package/dist/assets/{index-IgYBqF_x.js → index-DESjn-8d.js} +3503 -3503
- package/dist/assets/{mapLoadingInProgressToTreeNode-BrrNGuAc-CqsUk4Uv.js → mapLoadingInProgressToTreeNode-CKsE235C-BIU8Mfd7.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Dwov7nU5-BqLpmvIL.js → mapSectionWithAcOnlyToTreeNode-D1DheCOl-DwSkrZHk.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-CgMaqSi_-CjubQCh8.js → mapSpacerToTreeNode-DkIeEOlL-Pn1zCywK.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BrNgTlbp-CrsNT2yx.js → mapTimeframeBalancesToTreeNode-BhmM7oKt-BQL5w7UJ.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-Brqz18bN-TNhDDil7.js → mapTimeframeBalancesToTreeNode-Vy-w7j2m-DzRWaem3.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-UT-UQHkH-D9cTp9HM.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CGrrLYwc-B0qlbSf3.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-CAwHN54Z-Dl4_Ib5c.js → toCOABalancesWithID-BdeWiors-BqeL9v71.js} +1 -1
- package/dist/assets/{toChartData-pW2XLZo--pfboHwjV.js → toChartData-BCFss2y_-DT7ekoOJ.js} +1 -1
- package/dist/assets/{treasuryColorHelper-CdOoL_vC-BdLikaU-.js → treasuryColorHelper-BJcGoSGt-CBJKPFpW.js} +1 -1
- package/dist/assets/{uploadAttachment-nqQ-JycC-9pV7MrnE.js → uploadAttachment-PMsRrXUz-BBJRkZzC.js} +20 -20
- package/dist/assets/{uploadReceipts-dxsKhm9I-2_GAIK6m.js → uploadReceipts-dxsKhm9I-Bda3Op9y.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-DZnFgkJZ-DDsy2m6t.js +0 -21
- package/dist/assets/BankAccountWarningSection-BS0dlrJ3-BaiUaE4V.js +0 -51
- package/dist/assets/BillDetailPage-CuVdQqQW-IOfqi65V.js +0 -266
- package/dist/assets/CardNumberSubText-uxqTFnFX--LrYHxfC.js +0 -21
- package/dist/assets/ChargeCardUtils-Bptae9Pt-CYq-MsYY.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-B8_LR61d-DZh0ZsS1.js +0 -1
- package/dist/assets/EditPeoplePage-ZzjDJoTQ-DidkWXNI.js +0 -55
- package/dist/assets/InvoiceUploadSection-D79UFJii-FhgETgPb.js +0 -140
- package/dist/assets/LabeledAddressValueField-DxW5wUY3-fZGEKDYY.js +0 -45
- package/dist/assets/LabeledDocumentField-BQDoGQsy-DjCrwjKi.js +0 -41
- package/dist/assets/MagicLinkTitleSection-b4t7XGb8-Bc_IiT_b.js +0 -17
- package/dist/assets/PortfolioAllocationFormPage-DJVrByWQ-MfVlBQJr.js +0 -207
- package/dist/assets/ReimbursementApprovalRuleDetailPage-CCTo6kvJ-BhsLlWsu.js +0 -26
- package/dist/assets/ReviewOverlay-CFgWwm-p-BrjMlpfM.js +0 -152
- package/dist/assets/StatementsPage-DD2PvuDv-CJO0D7Zd.js +0 -58
- package/dist/assets/ZeniAccountNavBarPieces-BlVvO8S4-Bu0wNDog.js +0 -14
- package/dist/assets/ZeniTransferAmountSlider-H-uhh5z4-DVStaopp.js +0 -63
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as U,j as l
|
|
1
|
+
import{e as U,j as l,W as Q,ct as me,o as s,C,q as m,cn as Z,cw as ge,cv as fe,u as xe,fy as be,R as k,X as we,b4 as H,fz as K,bW as _,fA as X,b1 as q,f as F,v as B,y as Y,fB as $e,n as ye,w as ve}from"./index-DESjn-8d.js";import{n as r}from"./vendor-rkTZJa59.js";import{T as je}from"./RoleWithToolTip-B_Ivheco-R8i0Qg5c.js";const ee={selectContainerMarginHorizontal:new C(m[2],m[3]),marginTop:new C(m[1],m[0])},Se=r(ye)`
|
|
2
2
|
display: flex;
|
|
3
3
|
gap: ${s.sp2};
|
|
4
4
|
align-items: center;
|
|
@@ -55,18 +55,18 @@ import{e as U,j as l,$ as Q,ct as me,o as s,C,q as m,cn as Z,cw as ge,cv as xe,u
|
|
|
55
55
|
`,Pe=r(M)`
|
|
56
56
|
flex-direction: column;
|
|
57
57
|
gap: ${s.sp0};
|
|
58
|
-
`,
|
|
58
|
+
`,Re=r.div`
|
|
59
59
|
display: flex;
|
|
60
60
|
align-items: center;
|
|
61
61
|
height: ${s.sp6};
|
|
62
62
|
gap: ${s.sp2};
|
|
63
63
|
justify-content: ${e=>e.menuIsOpen?"flex-start":"flex-end"};
|
|
64
64
|
width: 100%;
|
|
65
|
-
`,
|
|
65
|
+
`,Ve=r(Y)`
|
|
66
66
|
white-space: nowrap;
|
|
67
67
|
overflow: hidden;
|
|
68
68
|
text-overflow: ellipsis;
|
|
69
|
-
`,
|
|
69
|
+
`,ke=r.div`
|
|
70
70
|
display: flex;
|
|
71
71
|
align-items: center;
|
|
72
72
|
color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?F.important:e.theme.colors.grey1};
|
|
@@ -133,7 +133,7 @@ import{e as U,j as l,$ as Q,ct as me,o as s,C,q as m,cn as Z,cw as ge,cv as xe,u
|
|
|
133
133
|
border-radius: ${s.sp0};
|
|
134
134
|
margin: ${s.sp0};
|
|
135
135
|
color: ${e=>e.theme.colors.primary};
|
|
136
|
-
${
|
|
136
|
+
${B.standardRegular.css};
|
|
137
137
|
box-sizing: border-box;
|
|
138
138
|
overflow: hidden;
|
|
139
139
|
text-overflow: ellipsis;
|
|
@@ -145,7 +145,7 @@ import{e as U,j as l,$ as Q,ct as me,o as s,C,q as m,cn as Z,cw as ge,cv as xe,u
|
|
|
145
145
|
display: flex;
|
|
146
146
|
width: ${e=>e.menuIsOpen===!1?s.sp0:"100%"};
|
|
147
147
|
position: ${e=>e.isFocused===!1&&e.selectedValue==null?"initial":"absolute"};
|
|
148
|
-
${
|
|
148
|
+
${B.standardRegular.css};
|
|
149
149
|
color: ${e=>e.theme.colors.primary};
|
|
150
150
|
margin: ${s.sp0};
|
|
151
151
|
cursor: inherit;
|
|
@@ -172,7 +172,7 @@ import{e as U,j as l,$ as Q,ct as me,o as s,C,q as m,cn as Z,cw as ge,cv as xe,u
|
|
|
172
172
|
width: ${s.sp5};
|
|
173
173
|
height: ${s.sp5};
|
|
174
174
|
color: ${e=>e.theme.colors.hero};
|
|
175
|
-
`,
|
|
175
|
+
`,J=r($e)`
|
|
176
176
|
color: ${e=>e.theme.colors.alert};
|
|
177
177
|
text-transform: none;
|
|
178
178
|
border: 1px solid ${e=>e.theme.colors.alert};
|
|
@@ -180,16 +180,16 @@ import{e as U,j as l,$ as Q,ct as me,o as s,C,q as m,cn as Z,cw as ge,cv as xe,u
|
|
|
180
180
|
border-radius: ${s.sp1};
|
|
181
181
|
margin-top: ${({windowSize:e})=>ee.marginTop.valuePx(e)};
|
|
182
182
|
width: fit-content;
|
|
183
|
-
`;function We({allUsers:e,selectedValue:a,showOneOffLabel:n,placeholder:g,isOptionRemovable:v,valueToSubtitle:b,onSelectionChanged:w,name:j,userContainerStyles:
|
|
183
|
+
`;function We({allUsers:e,selectedValue:a,showOneOffLabel:n,placeholder:g,isOptionRemovable:v,valueToSubtitle:b,onSelectionChanged:w,name:j,userContainerStyles:f,optionStyles:T,isValuePlacedAtEnd:I=!0,isDisabled:P,showOnlyAvatar:D=!1,showAvatarAndSubtitles:S=!0,isOptionDisabled:z,disabledOptionHint:$,bigMarginRightForSmallScreens:R=!1}){const{formState:{errors:V}}=Z(),A=fe(V,j??""),c=U(),O=[];n!=null&&O.push(n.value),O.push(...e.map(t=>t.userId));const le=t=>{if(n!=null&&n.value===t)return n.label;const i=e.findIndex(o=>o.userId===t);if(i!==-1){const o=e[i];return o.user?.firstName||o.user?.lastName?`${o.user?.firstName} ${o.user?.lastName}`:`${o.user?.email}`}else return""},se=t=>{const i=e.findIndex(o=>o.userId===t);if(i!==-1)return e[i].user},te=t=>{const{menuIsOpen:i,children:o}=t;return l.jsx(ke,{menuIsOpen:i,isError:A,children:l.jsx(De,{children:o})})},re=({labelDetails:t})=>l.jsxs(Ee,{hasSelectedUser:a===t.value,children:[l.jsxs(Fe,{children:[l.jsx(Me,{}),l.jsx(G,{children:l.jsx(E,{children:t.label})})]}),a===t.value?l.jsx(l.Fragment,{children:l.jsx(q,{width:s.sp3,height:s.sp3})}):null]}),ie=t=>{const{children:i,data:o,selectProps:u}=t,{menuIsOpen:h}=u;if(n!=null&&o?.value===n.value)return l.jsxs(M,{children:[S||D?l.jsx(K,{style:{height:s.sp4,width:s.sp4}}):null,l.jsx(Ve,{children:n.label})]});const d=e.findIndex(y=>y.userId===o.value),p=e[d],x=b(o.value);return l.jsxs(Pe,{children:[l.jsxs(Re,{menuIsOpen:h,children:[S||D?l.jsx(l.Fragment,{children:p?.user?.photo!=null?l.jsx(Te,{src:p?.user?.photo.href,alt:k.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:y})=>{y.onerror=null,y.src=_},loading:"lazy"}):l.jsx(X,{firstName:p?.user?.firstName??"",lastName:p?.user?.lastName??"",size:`${s.sp4}`,index:d})}):null,l.jsx(E,{children:i})]}),S?l.jsx(W,{subtitleList:x,menuIsOpen:u.menuIsOpen,member:p}):null]})},W=({subtitleList:t,member:i,menuIsOpen:o})=>{const u=t.length;return l.jsxs(Se,{menuIsOpen:o,children:[i!=null?l.jsx(je,{roles:i?.userRole.userRoles}):null,i!=null&&u>0?l.jsx(Ce,{}):null,u>0?t.map((h,d)=>l.jsx(Oe,{children:h},`${h}${d}`)):null]})},oe=t=>{const{data:i,isSelected:o,selectProps:u,value:h}=t,d=!!z?.(h)&&o===!1;if(n!=null&&i?.value===n.value)return l.jsx(re,{labelDetails:n});const p=e.findIndex(L=>L.userId===i.value),x=e[p],y=b(i.value);return l.jsxs(Ie,{style:T,children:[l.jsxs(ze,{isCurrOptionDisabled:d,children:[l.jsx(Ae,{children:x?.user?.photo!=null?l.jsx(Le,{src:x?.user?.photo.href,alt:k.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:L})=>{L.onerror=null,L.src=_},loading:"lazy"}):l.jsx(X,{firstName:x?.user?.firstName??"",lastName:x?.user?.lastName??"",size:`${s.sp5}`,index:p})}),l.jsxs(G,{children:[l.jsx(E,{children:t.label}),l.jsx(W,{menuIsOpen:u.menuIsOpen,subtitleList:y,member:x}),c==="small"&&d&&$!=null?l.jsx(J,{windowSize:c,children:$}):null]})]}),!!o&&l.jsx(l.Fragment,{children:l.jsx(q,{width:s.sp3,height:s.sp3})}),c!=="small"&&d&&$!=null?l.jsx(J,{windowSize:c,children:$}):null]})},ne=t=>{w(t)},ae=()=>null,de=t=>{const{menuIsOpen:i,isFocused:o,isDisabled:u,selectProps:h}=t,{value:d}=h;return l.jsx(Ne,{menuIsOpen:i,isFocused:o,isDisabled:u,selectedValue:d,isError:A,isValuePlacedAtEnd:I,windowSize:c,bigMarginRightForSmallScreens:R,children:l.jsx(H.Control,{...t,className:"select-control",children:t.children})})},ce=t=>l.jsx(H.ValueContainer,{...t,className:"select-value-container",children:t.children}),ue=t=>l.jsx(Ue,{windowSize:c,children:t.children}),he=(t,i)=>i&&typeof t.label=="string"?t.label.toLowerCase().includes(i.toLowerCase())||t.data?.data?.email?.toLowerCase().includes(i.toLowerCase()):!0,pe=xe();return l.jsx(be,{placeholder:g??k.getLocalizedStrings().commonSetUp.approval.userSelectPlaceholder,selectedValue:a,pickerValues:O,valueToLabel:le,valueToData:se,backgroundColor:pe.colors.background,onPickerSelectionChanged:ne,OptionComponent:oe,PlaceholderComponent:te,SingleValueComponent:ie,isOptionRemovable:v,containerStyles:f,DropDownIndicatorComponent:ae,ControlComponent:de,classNamePrefix:"single-select-field",ValueContainerComponent:ce,MenuListComponent:ue,menuPosition:c==="small"?"right":"left",isSearchable:!0,isDisabled:P,isOptionDisabled:t=>z?.(t)===!0&&a!==t,filterOption:he})}const He={infoLabel:new we("smallRegular","smallRegular")},_e=({name:e,placeholderLabel:a,registerOptions:n,value:g,valueToSubtitle:v,showOneOffLabel:b,userContainerStyles:w,optionStyles:j,isValuePlacedAtEnd:f,isDisabled:T,additionalLabelInfo:I,isOptionDisabled:P,showOnlyAvatar:D=!1,showAvatarAndSubtitles:S=!0,disabledOptionHint:z,bigMarginRightForSmallScreens:$=!1})=>{const{control:R}=Z(),V=U();return l.jsx(ge,{name:e,control:R,defaultValue:g,rules:n,render:({field:{value:A,onChange:c}})=>l.jsxs(Xe,{width:w?.width,"data-testid":Q("user-single-select",e),children:[l.jsx(We,{onSelectionChanged:O=>{c({allUsers:g.allUsers,selectedUser:O})},selectedValue:A.selectedUser,valueToSubtitle:v,allUsers:g.allUsers,placeholder:a,name:e,showOneOffLabel:b,userContainerStyles:w,isValuePlacedAtEnd:f,isDisabled:T,isOptionDisabled:P,showAvatarAndSubtitles:S,showOnlyAvatar:D,disabledOptionHint:z,bigMarginRightForSmallScreens:$,optionStyles:j}),I!==null&&l.jsx(qe,{size:V,children:I})]})})},Xe=r.div`
|
|
184
184
|
display: flex;
|
|
185
185
|
flex-direction: column;
|
|
186
186
|
width: ${e=>e.width!=null?e.width:"auto"};
|
|
187
|
-
`,
|
|
187
|
+
`,qe=r.label`
|
|
188
188
|
color: ${e=>e.theme.colors.hero};
|
|
189
189
|
${e=>`${He.infoLabel.style(e.size)}`};
|
|
190
190
|
text-align: right;
|
|
191
191
|
padding-right: ${s.sp3};
|
|
192
|
-
`,N={width:new C(343,580,726),labelMarginLeft:new C(m[3],m[4]),labelMarginRight:new C(m[3],m[4])};function Ze({isDisabled:e,label:a,userSingleSelectWithSubTitlesField:n,style:g,showTooltip:v=!1,tooltipTitle:b,toolTipWidth:w,opacity:j=1}){const
|
|
192
|
+
`,N={width:new C(343,580,726),labelMarginLeft:new C(m[3],m[4]),labelMarginRight:new C(m[3],m[4])};function Ze({isDisabled:e,label:a,userSingleSelectWithSubTitlesField:n,style:g,showTooltip:v=!1,tooltipTitle:b,toolTipWidth:w,opacity:j=1}){const f=U();return l.jsxs(Be,{size:f,style:g,isDisabled:e!=null,opacity:j,"data-testid":Q("labeled-user-single-select",n.name),children:[l.jsx(me,{isDisabled:e,label:a.label,htmlFor:n.name,style:{marginLeft:N.labelMarginLeft.value(f),marginRight:N.labelMarginRight.value(f),marginTop:s.sp2,width:a.width??"auto"},showTooltip:v,tooltipTitle:b,toolTipWidth:w}),l.jsx(_e,{...n,isDisabled:e,userContainerStyles:{display:"flex",flexGrow:1,...n.showOnlyAvatar===!1&&{minWidth:"unset",maxWidth:"unset"},width:a.width!=null?`calc(100% - ${a.width}px)`:"auto",height:n.value.selectedUser==null||n.value.selectedUser!=null&&n.showOnlyAvatar===!0?s.sp6:s.sp9}})]})}const Be=r.div`
|
|
193
193
|
display: flex;
|
|
194
194
|
flex-direction: row;
|
|
195
195
|
align-items: flex-start;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as M,j as l
|
|
1
|
+
import{e as M,j as l,W as A,ct as J,C as m,o,q as n,cn as U,cw as G,cv as q,u as X,v as V,b3 as ie,l as I,R as te,fv as se,fC as ae,U as ne,ah as de,f as D,b4 as B,ap as ce,b1 as pe,c6 as ue,fD as F,bO as K,Q as he,w as Y,y as ge,n as me,fn as be,f9 as fe,aS as xe,fo as ye,aC as we,fE as ve}from"./index-DESjn-8d.js";import{n as d,j as $e,b as k}from"./vendor-rkTZJa59.js";import{T as Re}from"./RoleWithToolTip-B_Ivheco-R8i0Qg5c.js";const H={grpBtnMarginTopBottom:new m(n[1],n[3]),grpBtnMarginLeftRight:new m(n[0],n[3])},je=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
margin-top: ${e=>H.grpBtnMarginTopBottom.valuePx(e.windowSize)};
|
|
4
4
|
margin-bottom: ${e=>H.grpBtnMarginTopBottom.valuePx(e.windowSize)};
|
|
@@ -22,7 +22,7 @@ import{e as M,j as l,$ as A,ct as G,C as m,o,q as n,cn as _,cw as K,cv as Q,u as
|
|
|
22
22
|
}
|
|
23
23
|
`,Se=d.div`
|
|
24
24
|
border-left: 1px solid ${e=>e.theme.colors.grey1};
|
|
25
|
-
`,W=({allBtnOptions:e,isDisabled:s,selectedOption:i,buttonClickHandler:c})=>{const p=M(),a=
|
|
25
|
+
`,W=({allBtnOptions:e,isDisabled:s,selectedOption:i,buttonClickHandler:c})=>{const p=M(),a=X(),f=u=>i?.value===u.value?"primary":"secondary",$=u=>i?.value===u.value?{backgroundColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.primary},textColor:{default:a.colors.grey5,hover:a.colors.grey5,disabled:a.colors.hero},borderColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.grey3}}:{backgroundColor:{default:"transparent",hover:a.colors.grey4,disabled:"transparent"},textColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.hero},borderColor:{default:a.colors.grey1,hover:a.colors.primary,disabled:a.colors.grey3}},b=e.length,y=s==="disabled"||s==="readonly";return l.jsx(je,{windowSize:p,isDisabled:y,children:e.map((u,x)=>l.jsxs(Ce,{"data-testid":A("grouped-button-container",u.value),className:"grpBtn",isDisabled:y||!u.enabled,children:[l.jsx(he,{label:u.label,size:"small",variant:f(u),"data-testid":A("grouped-button",u.value),onClick:()=>c(u.value),buttonColors:$(u),disabled:y||!u.enabled,style:{borderTopRightRadius:x===b-1?o.sp1:o.sp0,borderBottomRightRadius:x===b-1?o.sp1:o.sp0,borderTopLeftRadius:x===0?o.sp1:o.sp0,borderBottomLeftRadius:x===0?o.sp1:o.sp0,borderRight:x===b-1?"":"none",borderLeft:x===0?"":"none",width:"65px",display:"flex",alignItems:"center",justifyContent:"center"}}),x!==b-1?l.jsx(Se,{className:"verticalLine"}):null]},u.value))})},E={allRolesMarginLeftRight:new m(n[3],n[4])},ke=d.div`
|
|
26
26
|
display: flex;
|
|
27
27
|
flex-direction: column;
|
|
28
28
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -51,13 +51,13 @@ import{e as M,j as l,$ as A,ct as G,C as m,o,q as n,cn as _,cw as K,cv as Q,u as
|
|
|
51
51
|
flex-direction: row;
|
|
52
52
|
margin-bottom: ${o.sp3};
|
|
53
53
|
justify-content: space-between;
|
|
54
|
-
`,
|
|
54
|
+
`,Oe=d(K)`
|
|
55
55
|
display: flex;
|
|
56
56
|
color: ${e=>e.theme.colors.primary};
|
|
57
57
|
`,Z=d(Y)`
|
|
58
58
|
display: flex;
|
|
59
59
|
color: ${e=>e.theme.colors.hero};
|
|
60
|
-
`,
|
|
60
|
+
`,Te=d.div`
|
|
61
61
|
display: flex;
|
|
62
62
|
.roleTitle {
|
|
63
63
|
color: ${e=>e.isError?D.important:e.theme.colors.hero};
|
|
@@ -87,7 +87,7 @@ import{e as M,j as l,$ as A,ct as G,C as m,o,q as n,cn as _,cw as K,cv as Q,u as
|
|
|
87
87
|
`,Be=d.div`
|
|
88
88
|
display: flex;
|
|
89
89
|
flex-direction: column;
|
|
90
|
-
`,Me=d(
|
|
90
|
+
`,Me=d(K)`
|
|
91
91
|
display: flex;
|
|
92
92
|
`,Le=d(Y)`
|
|
93
93
|
display: flex;
|
|
@@ -101,11 +101,11 @@ import{e as M,j as l,$ as A,ct as G,C as m,o,q as n,cn as _,cw as K,cv as Q,u as
|
|
|
101
101
|
`,Ie=d.div`
|
|
102
102
|
display: flex;
|
|
103
103
|
flex-direction: row;
|
|
104
|
-
`,Ee=d.div``,
|
|
104
|
+
`,Ee=d.div``,Ue=d.div`
|
|
105
105
|
display: flex;
|
|
106
106
|
flex-direction: column;
|
|
107
107
|
padding-left: ${o.sp3};
|
|
108
|
-
`,
|
|
108
|
+
`,_e=d(ve)`
|
|
109
109
|
width: ${o.sp4};
|
|
110
110
|
height: ${o.sp4};
|
|
111
111
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -135,7 +135,7 @@ import{e as M,j as l,$ as A,ct as G,C as m,o,q as n,cn as _,cw as K,cv as Q,u as
|
|
|
135
135
|
margin-right: ${e=>E.allRolesMarginLeftRight.valuePx(e.windowSize)};
|
|
136
136
|
margin-left: ${e=>E.allRolesMarginLeftRight.valuePx(e.windowSize)};
|
|
137
137
|
color: ${e=>e.theme.mode==="light"?D.brandColorOnyx:D.brandColorPearl};
|
|
138
|
-
`,
|
|
138
|
+
`,Qe=e=>{switch(e){case"bookkeeping":return l.jsx(_e,{});case"zeni_bill_pay":return l.jsx(Ne,{});case"zeni_reimbursements":return l.jsx(Fe,{});case"zeni_checking":return l.jsx(He,{});case"zeni_cards":return l.jsx(Ae,{});case"zeni_treasury":return l.jsx(We,{});default:return null}},Je=e=>l.jsxs(Be,{children:[l.jsx(Me,{className:"roleTitle",children:F[e].label}),l.jsx(Le,{className:"roleSubTitle",children:F[e].subTitle}),l.jsx(Ve,{className:"roleSuitableFor",children:F[e].roleSuitableFor})]}),Ge=({name:e,isDisabled:s,selectedValue:i,onSelectionChanged:c})=>{const{formState:{errors:p}}=U(),a=q(p,`${e}.userRole.selectedRole`),f=M(),$=i.productsByUserRole.employee.findIndex(h=>h.productType==="zeni_reimbursements"),b=k.useCallback(h=>{const t=se([h]),S=ae(h),v=ne(i.productsByUserRole[t]),R=v.findIndex(z=>z.productType===S),L=v[R].selectedOption?.value===h;R>-1&&(v[R]={...v[R],selectedOption:L?void 0:v[R].options.filter(z=>z.value===h)[0]});const _={userRole:{selectedRole:t,allRootRole:i.userRole.allRootRole},productsByUserRole:{...i.productsByUserRole,[t]:[...v]}};c(_)},[c,i]),y=i.userRole.selectedRole,u=k.useMemo(()=>y!=null?(i.productsByUserRole[y]??[]).map(h=>I.toUserRoleTypeStrict(h.selectedOption?.value)).filter(h=>h!=null):[],[y,i.productsByUserRole]);k.useEffect(()=>{y==="employee"&&u.length===0&&$>-1&&b("reimbursements_user")},[y,u,$,b]);const x=i.userRole.allRootRole,P=h=>h==="employee"&&i.userRole.selectedRole==="employee";return s==="readonly"?l.jsx(Ze,{windowSize:f,children:l.jsx(Re,{roles:u})}):l.jsx(De,{children:x.map(h=>l.jsxs(ke,{windowSize:f,children:[l.jsx(Te,{isError:a,children:l.jsx(de,{isDisabled:s,label:{label:Je(h)},style:{paddingBottom:o.sp4,alignItems:"flex-start"},radioField:{name:`${e}.userRole.selectedRole`,id:`${e}.${h}`,value:h,radioSize:"small",checked:i.userRole.selectedRole===h,style:{marginTop:o.sp1}}})}),l.jsx(Pe,{windowSize:f,isCollapsed:P(h),roleCount:i.productsByUserRole[h].length,children:i.productsByUserRole[h].map(t=>l.jsxs(ze,{children:[l.jsxs(Ie,{children:[l.jsx(Ee,{children:t.productType&&Qe(t.productType)}),l.jsxs(Ue,{children:[l.jsx(Oe,{children:t.label}),f==="small"?l.jsx(W,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b}):null,l.jsx(Z,{children:t.subTitleUser}),l.jsx(Z,{children:t.subTitleAdmin})]})]}),f!=="small"?l.jsx(W,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b,isDisabled:s}):null]},t.productType))})]},h))})},qe=({name:e,defaultValue:s,isDisabled:i,registerOptions:c})=>{const{control:p}=U();return l.jsx(G,{name:e,control:p,defaultValue:s,rules:c,render:({field:{onChange:a,value:f}})=>{const $=f;return l.jsx(Ge,{onSelectionChanged:b=>{a(b)},selectedValue:$,name:e,isDisabled:i})}})},C={width:new m(343,580,726),height:new m(n[6],n[6]),paddingTopBottom:new m(n[2],n[2]),labelPaddingLeft:new m(n[3],n[4]),labelPaddingRight:new m(n[3],n[4]),labelPaddingTop:new m(n[2],n[2]),labelPaddingBottom:new m(n[2],n[3])};function bo({isDisabled:e,label:s,rolesDropDownField:i,style:c}){const p=M();return l.jsxs(Xe,{size:p,style:c,isDisabled:e!=null,children:[l.jsx(J,{isDisabled:e,label:s.label,htmlFor:i.name,style:{paddingLeft:C.labelPaddingLeft.value(p),paddingRight:C.labelPaddingRight.value(p),paddingTop:C.labelPaddingTop.value(p),paddingBottom:C.labelPaddingBottom.value(p)}}),l.jsx(qe,{...i,isDisabled:e})]})}const Xe=d.div`
|
|
139
139
|
display: flex;
|
|
140
140
|
flex-direction: ${e=>e.isDisabled?"row":"column"};
|
|
141
141
|
align-items: ${e=>e.isDisabled?"center":"flex-start"};
|
|
@@ -169,7 +169,7 @@ import{e as M,j as l,$ as A,ct as G,C as m,o,q as n,cn as _,cw as K,cv as Q,u as
|
|
|
169
169
|
border-color: inherit;
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
|
-
`;function
|
|
172
|
+
`;function Ke({onSelectionChanged:e,forZeniUser:s,selectedRoles:i,allRoles:c,disable:p=!1,isMulti:a=!1,clearSelectedRole:f,style:$,name:b,isValuePlacedAtEnd:y=!0}){const[u,x]=k.useState(),{formState:{errors:P}}=U(),h=q(P,b??"");k.useEffect(()=>{const r=c.filter(g=>i!=null&&i.includes(g.value));x(a?r:r[0])},[i]),k.useEffect(()=>{f===!0&&a===!1&&x(void 0)},[f]);const t=X(),S=M(),v=JSON.parse(JSON.stringify(c));if(i!=null&&s){if(!i.includes("admin")){const r=v.findIndex(g=>g.value==="admin");v.splice(r,1)}if(!i.includes("bookkeeping_admin")){const r=v.findIndex(g=>g.value==="bookkeeping_admin");v.splice(r,1)}}const R=t.colors.grey5,L=V.smallRegular.cssObject,_=L,z=u?.length>3,ee={control:r=>({...r,backgroundColor:"inherit",boxShadow:R,border:"none",cursor:"pointer",":hover":{backgroundColor:"inherit"},flexWrap:"nowrap",marginTop:"unset"}),container:r=>({...r,fill:t.colors.hero,":hover":{fill:t.colors.primary},width:"100%",...$}),valueContainer:r=>({...r,flexWrap:z?"wrap":"nowrap",width:S==="small"||!a?"auto":"263px",paddingTop:"unset",cursor:"pointer",..._,overflow:"visible",minWidth:"auto",paddingLeft:o.sp0,paddingRight:o.sp0,display:"flex",justifyContent:"flex-start",fill:t.colors.hero,":hover":{">div>div":{fill:t.colors.primary,color:t.colors.primary}},">div:last-of-type":{span:{display:"none"}}}),singleValue:(r,g)=>({...r,color:g.selectProps.menuIsOpen===!0?t.colors.primary:t.colors.hero,maxWidth:"auto",overflow:"auto",":hover":{color:t.colors.primary},marginLeft:o.sp0,position:"inherit",transform:"none",top:o.sp0,marginRight:o.sp0,padding:o.sp0,...V.standardRegular.cssObject}),multiValue:(r,g)=>({...r,margin:0,minWidth:void 0,backgroundColor:void 0,color:g.selectProps.menuIsOpen===!0?t.colors.primary:t.colors.hero,":hover":{color:t.colors.primary},">div":{borderRadius:o.sp0,padding:o.sp0,borderLeftStyle:"solid",borderWidth:o.sp0,borderColor:t.colors.grey1,color:"unset"}}),menu:r=>({...r,backgroundColor:R,boxShadow:`${o.sp0} 2px ${o.sp2} ${t.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",width:S==="small"?"230px":"100%",right:S==="small"?o.sp0:"unset",borderRadius:o.sp1,margin:o.sp0,border:S==="small"?`1px solid ${t.colors.grey3}`:"unset"}),menuList:r=>({...r,maxHeight:"240px"}),option:(r,{isSelected:g,isDisabled:T,data:O})=>{const w=I.isNonZeniRole(O.value)&&s===!0,N=Q(g,w,O.value,t);return{...r,height:w?44:40,padding:w?o.sp0:`${o.sp2} 12px`,marginTop:w?o.sp1:"unset",whiteSpace:"unset",display:"flex",alignItems:"center",opacity:1,...L,color:N,cursor:T?"not-allowed":"pointer",backgroundColor:g&&!w?t.colors.background:"transparent",">div":{backgroundColor:g?t.colors.background:"transparent"},borderTop:w||O.value==="delete"?`1px solid ${t.colors.background}`:"none","& label":{paddingRight:"10px"},"svg:nth-of-type(2)":{display:"none"},":hover":{color:Q(!0,w,O.value,t),backgroundColor:g&&!w?t.colors.background:w?"transparent":t.colors.background,">div":{backgroundColor:t.colors.background},"svg:nth-of-type(1)":{display:w||s===!1?"inline-block":"none"},"svg:nth-of-type(2)":{display:w?"none":"inline-block"}},">div>div>div:first-of-type":{display:"flex"}}},indicatorsContainer:r=>({...r,alignItems:a?"flex-start":"center",paddingTop:z||!a?"unset":"5px"}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({paddingTop:a?o.sp1:"2px",svg:{marginLeft:a&&u?.length>0?"unset":"6px"}})},oe=r=>{const{isSelected:g}=r;return k.createElement(B.Option,{...r,key:r.data.value},l.jsxs(ao,{role:r.data.value,forZeniUser:s,children:[l.jsx(ce,{children:r.data.label}),!!g&&l.jsxs("div",{children:[l.jsx(pe,{width:o.sp3,height:o.sp3}),s===!0?l.jsx(ue,{width:o.sp3,height:o.sp3}):null]})]}))},le=r=>{const g=[];a&&r.forEach(T=>{g.push(T.value)}),e(a?g:r.value)},re=r=>{const{menuIsOpen:g,isFocused:T,isDisabled:O,selectProps:w}=r,{value:N}=w;return l.jsx(co,{menuIsOpen:g,isFocused:T,isDisabled:O,selectedValue:N,isError:h,isValuePlacedAtEnd:y,windowSize:S,children:l.jsx(B.Control,{...r,className:"select-control",children:r.children})})};return l.jsx(ie,{isMulti:a,menuPlacement:"auto",minMenuHeight:250,menuShouldScrollIntoView:!1,defaultValue:u,value:u,closeMenuOnSelect:!0,options:v,isDisabled:p,hideSelectedOptions:!1,onChange:r=>{le(r)},isClearable:!1,isSearchable:!0,components:{Control:re,DropdownIndicator:oo,Option:oe,MultiValueRemove:lo,IndicatorSeparator:ro,MultiValueLabel:io,ValueContainer:to,Placeholder:eo,Input:Ye},styles:ee,theme:r=>({...r,colors:{...r.colors,primary:R}}),placeholder:te.getLocalizedStrings().peoplePage.dropdownPlaceHolderText,isOptionDisabled:r=>s===!1&&r.enabled===!1||s===!0&&I.isNonZeniRole(r.value),classNamePrefix:"zeniRolesDropDown"})}const Ye=e=>{const{selectProps:s}=e,{placeholder:i,value:c,isMulti:p}=s;return l.jsx(B.Input,{...e,autoComplete:"new-password",placeholder:p===!0&&c?.length===0||c==null?i:void 0,children:e.children})},eo=()=>null,Q=(e,s,i,c)=>e&&!s&&i!=="delete"?c.colors.primary:s?c.colors.grey1:i==="delete"?D.important:c.colors.hero,oo=()=>null,lo=()=>null,ro=()=>null,io=({children:e,data:s,...i})=>l.jsx(B.MultiValueLabel,{...i,children:l.jsxs(so,{children:[e,l.jsx(no,{className:"seperator",children:","})]})}),to=({children:e,...s})=>l.jsx(B.ValueContainer,{...s,className:"select-value-container",children:e}),so=d(ge)`
|
|
173
173
|
padding: ${o.sp0} 2px;
|
|
174
174
|
max-width: 104px;
|
|
175
175
|
white-space: nowrap;
|
|
@@ -258,7 +258,7 @@ import{e as M,j as l,$ as A,ct as G,C as m,o,q as n,cn as _,cw as K,cv as Q,u as
|
|
|
258
258
|
visibility: hidden;
|
|
259
259
|
}
|
|
260
260
|
}
|
|
261
|
-
`,po=({name:e,forZeniUser:s,registerOptions:i,defaultValue:c,isDisabled:p,isMulti:a,style:f,onSelectionChanged:$,isValuePlacedAtEnd:b=!0})=>{const{control:y}=
|
|
261
|
+
`,po=({name:e,forZeniUser:s,registerOptions:i,defaultValue:c,isDisabled:p,isMulti:a,style:f,onSelectionChanged:$,isValuePlacedAtEnd:b=!0})=>{const{control:y}=U();return l.jsx(G,{name:e,control:y,defaultValue:c,rules:i,render:({field:{value:u,onChange:x}})=>l.jsx(Ke,{onSelectionChanged:P=>{x({allOptions:c.allOptions,selectedOptions:P}),$?.(P)},forZeniUser:s,selectedRoles:u.selectedOptions,disable:p,isMulti:a,name:e,style:f,allRoles:c.allOptions,isValuePlacedAtEnd:b})})},j={width:new m(343,580,726),height:new m(n[6],n[6]),controlHeight:new m(n[6],n[6]),paddingTopBottom:new m(n[2],n[2]),marginRight:new m(n[2],n[2]),labelMarginLeft:new m(n[3],n[4]),labelMarginRight:new m(n[3],n[4]),labelMarginTop:new m(n[2],n[2])};function fo({isDisabled:e,label:s,zeniRolesDropDownField:i,style:c}){const p=M();return l.jsxs(uo,{size:p,style:c,isDisabled:e!=null,"data-testid":A("labeled-zeni-roles-dropdown-field",i.name),children:[l.jsx(J,{isDisabled:e,label:s.label,htmlFor:i.name,style:{marginLeft:j.labelMarginLeft.value(p),marginRight:j.labelMarginRight.value(p),marginTop:j.labelMarginTop.value(p),width:s.width??"auto"}}),l.jsx(po,{...i,isDisabled:e==="disabled"||e==="readonly",style:{display:"flex",flexGrow:1,width:s.width!=null?`calc(100% - ${s.width}px)`:"auto",height:p==="small"?"auto":o.sp6,minHeight:j.controlHeight.value(p)}})]})}const uo=d.div`
|
|
262
262
|
display: flex;
|
|
263
263
|
flex-direction: row;
|
|
264
264
|
align-items: flex-start;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as H,a2 as ue,l as
|
|
1
|
+
import{e as H,a2 as ue,l as w,a as pe,ca as me,i3 as P,hQ as L,R as W,cb as he,j as a,F as ge,fF as xe,a4 as fe,o as t,C as m,T as be,a3 as je,cd as B,i4 as ye,f as we,v as I,aB as Ce,q as r}from"./index-DESjn-8d.js";import{b as O,n as i}from"./vendor-rkTZJa59.js";import Se from"./TransactionDetailPage-BWbWafDA-BA5tAQ-_.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./LabeledControlledCheckBoxField-BYk2-ixd-B_p740LF.js";import"./TrendWithTransactions-CbzZEtLk-CdMXYj1c.js";import"./TrendChart-BqU6zv7L-wkRyWRpL.js";import"./chartTypes-C2jC2nzT-B64Jl2-O.js";import"./toCOABalancesWithID-BdeWiors-BqeL9v71.js";import"./toChartData-BCFss2y_-DT7ekoOJ.js";import"./NoDataChart-D9tQhnyu-C94gJNvj.js";import"./InsightsSection-KsnkYRQw-CjzvB6rM.js";import"./NavigationDots-BZNvrGBo-CvNSDZNv.js";import"./TransactionList-Xd2JupaK-ME3jRgkK.js";import"./BoxItem-D09XMKDc-dcEB3ro9.js";import"./commonDimensions-CtVQ1dPI-BWfVCzLH.js";import"./uploadAttachment-PMsRrXUz-BBJRkZzC.js";import"./radio-default-CiSgisfh-Z5w0WcFM.js";const J={labelWidth:new m(120,145,160)},$e=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -19,7 +19,7 @@ import{e as H,a2 as ue,l as y,a as pe,ca as me,i3 as P,hQ as L,B as W,cb as he,j
|
|
|
19
19
|
background-color: ${e=>e.theme.colors.grey3};
|
|
20
20
|
min-height: 1px;
|
|
21
21
|
max-height: 1px;
|
|
22
|
-
`,V=(e,l)=>`${e}.${l}`;function Ee({sectionId:e,jePostingDate:l,qboURL:n,isJELoading:s}){const u=W.getLocalizedStrings(),{dateFormat:C,jeSchedules:{scheduleDetails:{linkJE:o,scheduleDetailsSection:S}}}=u,h=l.format(C.visual.MMMDCommaYYYYformat),g=H();return a.jsxs($e,{children:[a.jsx(De,{windowSize:g,children:S.header}),a.jsxs(ve,{children:[a.jsx(
|
|
22
|
+
`,V=(e,l)=>`${e}.${l}`;function Ee({sectionId:e,jePostingDate:l,qboURL:n,isJELoading:s}){const u=W.getLocalizedStrings(),{dateFormat:C,jeSchedules:{scheduleDetails:{linkJE:o,scheduleDetailsSection:S}}}=u,h=l.format(C.visual.MMMDCommaYYYYformat),g=H();return a.jsxs($e,{children:[a.jsx(De,{windowSize:g,children:S.header}),a.jsxs(ve,{children:[a.jsx(B,{label:{label:o.jePostingDate,width:J.labelWidth.value(g)},style:{width:"auto"},text:{type:"text",name:V(e,"jePostingDate"),placeholder:o.jeLinkURLPlaceholder,defaultValue:h,autoComplete:"new-password"},isDisabled:"disabled"}),a.jsx(ke,{}),a.jsx(B,{label:{label:o.jeLink,width:J.labelWidth.value(g)},style:{width:"auto"},text:{type:"url",name:V(e,"qboURL"),placeholder:o.jeLinkURLPlaceholder,defaultValue:n?.toString()??"",autoComplete:"new-password",style:{color:we.link},options:{pattern:ye}},isDisabled:s?"disabled":void 0})]})]})}const b={containerPaddingLeft:new m(r[3],r[3],r[6]),containerPaddingRight:new m(r[3],r[3],r[8]),navbarContainerPaddingTop:new m(r[2],r[3]),navbarContainerPaddingBottom:new m(r[4],r[5]),emptyScheduleHeight:new m(88,88)},Y="linkJETransactionPage",G="linkJETransaction",X=W.getLocalizedStrings(),{common:{footer:M},dateFormat:Pe}=X,ut=({analytics:e,scheduleTab:l,jeScheduledTransaction:n,localData:s,saveStatus:u,isCOTEnabled:C,transactionDetail:o,firstMonthOfFY:S,qboAppUrl:h,authParams:g,isDisabled:Z,controllerUserDetails:A,isVendorBulkUpdateOnTransactionEnabled:K,onUpdateLocalData:ee,onBackClick:T,onCancelClick:te,onSaveClick:ae,onFetchTransactionClick:ne})=>{const p=H(),U=ue(u),j=w.getQBOUrlForLink(h.toString(),s.jeLink),$=w.getFirstControllerEmail(A.controllers),v=w.getFirstControllerId(A.controllerUserIds),F=()=>{const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryLinkCanceled({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),te()},x=pe({mode:"all",reValidateMode:"onChange",resetOptions:{keepDirtyValues:!0,keepErrors:!0},defaultValues:_(s,h),values:_(s,h)}),oe=()=>{ae()},ie=async d=>{ee(d)};O.useEffect(()=>{const d=x.watch((c,{name:ce})=>{ce!=null&&c!=null&&me(()=>ie(c))});return()=>{d.unsubscribe()}}),O.useEffect(()=>{if(u==="Completed"&&U==="In-Progress"){const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryLinkedSaved({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),T()}},[u,U,T]);const{common:{strings:{empty:N}},jeSchedules:{scheduleDetails:{linkJE:f}}}=X,le=()=>{if(s.jeLink?.transactionDetailID!=null){const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryQBOFetched({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),ne(s.jeLink.transactionDetailID)}},se=o!=null&&o.fetchState==="In-Progress",re=o!=null&&o.fetchState==="Error",D=o!=null&&o.fetchState==="Completed",de=o==null||o.fetchState==="Not-Started",z=s.jeLink.type==="recommended",R=he(x.formState.dirtyFields),k=x.formState.isValid,y=D&&R&&k||D&&z&&k,E=R&&k;return a.jsxs(Le,{children:[a.jsxs(Ae,{windowSize:p,children:[a.jsx(ze,{windowSize:p,children:f.linkJE}),a.jsx(Fe,{children:a.jsx(Ne,{onClick:F})})]}),a.jsxs(Ie,{children:[a.jsx(Te,{windowSize:p,children:a.jsx(ge,{...x,children:a.jsx("form",{id:q(Y),onSubmit:x.handleSubmit(oe),children:a.jsx(Ee,{jePostingDate:s.postingDate,sectionId:G,qboURL:j,isJELoading:o?.fetchState==="In-Progress"})})})}),z?a.jsxs(Be,{windowSize:p,children:[a.jsx(Oe,{})," ",f.zeniRecommendation]}):null,D?a.jsx(Ue,{children:a.jsx(Se,{isCOTEnabled:C,transactionDetail:o,firstMonthOfFY:S,transactionAttachmentEndpointToDownload:N,transactionAttachmentsEndpointToFetch:N,attachmentUploadEndpoint:"",authParams:g,isDisabled:Z??"readonly",isNavBarVisible:!1,containerStyles:{boxShadow:"none",backgroundColor:"inherit"},headerStyles:{boxShadow:"none",backgroundColor:"inherit"},autoCompleteData:{entityAutoCompleteView:{customer:[],vendor:[],fetchState:"Not-Started"}},isVendorBulkUpdateOnTransactionEnabled:K,onDeleteAttachment:()=>{},autoCompleteActions:{onAutoCompleteInputChange:()=>null,onCancelAutoComplete:()=>null,onAutoCompleteEntity:()=>null,onLoadOptions:()=>null},onUploadAttachmentAttachment:()=>null,enableBackClickOnSave:!0,saveLatestSelectedEntity:()=>null,updateVendorBulkRecommendationsFetchStatus:()=>null,setIsVendorUpdateAllChecked:()=>null})}):null,a.jsxs(Re,{children:[re?a.jsx(Q,{windowSize:p,children:f.transactionFetchError}):null,de?a.jsx(Q,{windowSize:p,children:f.jeDetails}):null]}),se?a.jsx(xe,{fetchState:o?.fetchState}):null]}),y||E?a.jsx(fe,{formId:y?q(Y):void 0,primaryBtn:{onClick:E&&!y?le:void 0,label:E&&!y?f.fetchJE:M.save,isLoading:u==="In-Progress",isDisabled:u==="In-Progress"||o?.fetchState==="In-Progress"||o?.fetchState==="Error"},cancelBtn:{label:M.cancel,shouldResetOnCancel:!0,onClick:F}}):null]})},q=e=>`${e}_form`,_=(e,l)=>({[G]:{qboURL:w.getQBOUrlForLink(l.toString(),e.jeLink),jePostingDate:e.postingDate.format(Pe.visual.MMMDCommaYYYYformat)}}),Le=i.div`
|
|
23
23
|
display: flex;
|
|
24
24
|
flex: 1 1 auto;
|
|
25
25
|
width: 100%;
|
|
@@ -68,7 +68,7 @@ import{e as H,a2 as ue,l as y,a as pe,ca as me,i3 as P,hQ as L,B as W,cb as he,j
|
|
|
68
68
|
color: ${e=>e.theme.colors.primary};
|
|
69
69
|
margin: auto;
|
|
70
70
|
justify-content: center;
|
|
71
|
-
`,
|
|
71
|
+
`,Q=i.div`
|
|
72
72
|
height: ${e=>b.emptyScheduleHeight.valuePx(e.windowSize)};
|
|
73
73
|
display: flex;
|
|
74
74
|
align-items: center;
|
|
@@ -79,10 +79,10 @@ import{e as H,a2 as ue,l as y,a as pe,ca as me,i3 as P,hQ as L,B as W,cb as he,j
|
|
|
79
79
|
color: ${e=>e.theme.colors.hero};
|
|
80
80
|
margin: ${t.sp3} ${t.sp1};
|
|
81
81
|
${I.standardRegular.css};
|
|
82
|
-
`,
|
|
82
|
+
`,Re=i.div`
|
|
83
83
|
flex-grow: 1;
|
|
84
84
|
width: 100%;
|
|
85
|
-
`,
|
|
85
|
+
`,Be=i.div`
|
|
86
86
|
display: flex;
|
|
87
87
|
align-items: center;
|
|
88
88
|
gap: ${t.sp1};
|
package/dist/assets/{LowBalancePopup-Dg43FP8p-BLvbua8r.js → LowBalancePopup-Ig5iJGIg-BisR1D9G.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{R as S,e as R,a as T,l as s,j as a,F as z,bV as C,cg as A,C as m,cj as W,o as e,bY as E,q as u,ap as U,a7 as Y,br as N}from"./index-DESjn-8d.js";import{n as r}from"./vendor-rkTZJa59.js";const d={labelWidth:new m(152,176,176),paddingBottom:new m(u[3],u[2]),width:new m(300,420,420),paddingRight:new m(u[4],u[3])},V=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${t=>t.theme.colors.grey5};
|
|
@@ -6,13 +6,13 @@ import{B as S,e as R,a as T,l as s,j as a,F as z,bV as B,cg as A,C as m,cj as W,
|
|
|
6
6
|
box-shadow: ${t=>`${e.sp0} 2px ${e.sp1} ${t.theme.colors.dropShadowNormal}`};
|
|
7
7
|
border-radius: ${e.sp2};
|
|
8
8
|
margin: ${t=>t.windowSize==="small"?`${e.sp5} ${e.sp3} ${e.sp6} ${e.sp3}`:`${e.sp5} ${e.sp8} ${e.sp6} ${e.sp8}`};
|
|
9
|
-
`,
|
|
9
|
+
`,J=r.div`
|
|
10
10
|
display: flex;
|
|
11
11
|
flex: 1;
|
|
12
12
|
background-color: ${t=>t.theme.colors.grey3};
|
|
13
13
|
min-height: 1px;
|
|
14
14
|
max-height: 1px;
|
|
15
|
-
`;function _({saveDetailsFetchState:t,paymentData:i,onProceedForMarkAsPaid:h,onCancel:y}){const{spendManagement:{billPay:{billDetails:{paymentOutsideZeni:g,paymentDate:f,cancel:n}}},dateFormat:{visual:x,analytics:b}}=S.getLocalizedStrings(),{popUpTitle:w,paymentModeLabel:
|
|
15
|
+
`;function _({saveDetailsFetchState:t,paymentData:i,onProceedForMarkAsPaid:h,onCancel:y}){const{spendManagement:{billPay:{billDetails:{paymentOutsideZeni:g,paymentDate:f,cancel:n}}},dateFormat:{visual:x,analytics:b}}=S.getLocalizedStrings(),{popUpTitle:w,paymentModeLabel:v,markAsPaid:M,defaultDateInfo:j,paymentModeOptions:$,selectDate:B,selectMethod:O}=g,l=R(),D="payment-outside-zeni-form",p="paymentMode",c="paymentDate",k=T({mode:"all",values:{[p]:{selectedOption:i?.paymentMode,allOptions:$.map(o=>o.value)},[c]:i?.paymentDate?.toDate()}}),P=k.handleSubmit(o=>{h({paymentDate:o[c]!=null?s.zeniDate(o[c].toString()):s.zeniDate(s.dateNow().startOf("month").format(b.YYYYDashMMDashDDFormat).toString()),paymentMode:o[p]?.selectedOption!=null?s.toOutsideZeniPaymentModeType(o[p]?.selectedOption):"other"})}),I=o=>$.find(L=>L.value===o)?.label??"";return a.jsx(z,{...k,children:a.jsx("form",{id:D,onSubmit:P,children:a.jsx(C,{formId:D,titleComponent:a.jsx(E,{children:w}),primaryButtonText:M,primaryButtonWidth:128,secondaryButtonWidth:128,secondaryButtonText:n,isLoading:t==="In-Progress",isDisabled:t==="In-Progress",isEditPopup:!0,shouldClickAway:t!=="In-Progress",action:{onOkClick:()=>null,onCancelClick:y},children:a.jsxs(V,{windowSize:l,children:[a.jsx(A,{label:{label:v,width:d.labelWidth.value(l)},style:{width:d.width.valuePx(l)},singleSelectField:{singleSelect:{getLabelForId:I,showTickMark:!1,alwaysShowEyeTooltip:!1,name:p,placeholder:O,showValueEyeIcon:!1,showEyeIconOnSelect:!1},defaultValue:{selectedOption:i?.paymentMode,allOptions:$?.map(o=>o.value)??[]}},isFunctional:!0}),a.jsx(J,{}),a.jsx(W,{label:{label:f,width:d.labelWidth.value(l)},style:{paddingBottom:d.paddingBottom.valuePx(l),width:d.width.valuePx(l),borderRadius:e.sp0},additionalPaymentInfoLabel:j,additionalPaymentInfoLabelStyle:{borderBottomRightRadius:e.sp2,borderBottomLeftRadius:e.sp2,paddingTop:e.sp1,paddingBottom:e.sp1,paddingLeft:e.sp3,paddingRight:d.paddingRight.valuePx(l),textAlign:"left"},dateField:{name:c,placeholder:B,defaultValue:i?.paymentDate,dateFormat:x.defaultInput,maxDate:s.dateNow(),minDate:s.zeniDate("01 Jan 1900"),autoComplete:"off"}})]})})})})}const Q=({withdrawFrom:t,paymentDate:i,onOkClick:h,onCancelClick:y,onClickAway:g})=>{const{dateFormat:f,spendManagement:{billPay:n},common:{strings:x}}=S.getLocalizedStrings();if(t!=null&&i!=null){const b=`${t?.label} ${t?.maskedAccountNumber}`,w=a.jsx(K,{children:a.jsxs(Z,{children:[a.jsx(F,{children:b}),n.insufficientFunds.popUp.hasLowBalance,x.space,n.insufficientFunds.popUp.addMoney,a.jsx(F,{children:i?.format(f.visual.MMMDFormat)}),n.insufficientFunds.popUp.avoidFailure]})});return a.jsx(C,{titleComponent:a.jsx(q,{children:n.insufficientFunds.popUp.title}),primaryButtonText:n.billDetails.buttons.approveAnyways,secondaryButtonText:n.billDetails.editBill,containerStyle:{maxWidth:474},descriptionComponent:w,action:{onOkClick:h,onCancelClick:y,onClickAway:g},secondaryButtonWidth:166,primaryButtonWidth:"auto",showLine:!1,buttonSeparatorStyle:{width:e.sp3},buttonContainerStyle:{paddingBottom:e.sp6}})}},K=r.div`
|
|
16
16
|
display: flex;
|
|
17
17
|
flex-direction: column;
|
|
18
18
|
align-items: center;
|
|
@@ -25,7 +25,7 @@ import{B as S,e as R,a as T,l as s,j as a,F as z,bV as B,cg as A,C as m,cj as W,
|
|
|
25
25
|
color: ${t=>t.theme.colors.hero};
|
|
26
26
|
`,F=r(Y)`
|
|
27
27
|
color: ${t=>t.theme.colors.primary};
|
|
28
|
-
`,
|
|
28
|
+
`,q=r(N)`
|
|
29
29
|
margin-top: ${e.sp6};
|
|
30
30
|
padding-left: ${e.sp8};
|
|
31
31
|
padding-right: ${e.sp8};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as l}from"./index-
|
|
1
|
+
import{j as l}from"./index-DESjn-8d.js";import{f as y}from"./ACHDetailsPage-C0Ys2JJm-CSmQeh3x.js";import"./mui-C42whWwM.js";import"./vendor-rkTZJa59.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./BankAccountWarningSection-HW7t6lPN-CXdJbZl-.js";import"./MagicLinkTitleSection-Dc8RKV1p-VRc37nwk.js";import"./BankAccountSection-8JPKANMP-DuTpIyau.js";const j=({magicLinkViewState:t,magicLinkBankAccountDetails:a,onSaveHandler:e,onACHDetailsUpdated:o,onFetchBankName:n,isDisabled:i,companyName:r})=>{const{fetchState:m,error:c,bankNameByRouting:p,bankAccountToCreate:s,fetchBankNameByRoutingStatus:u}=a,{currencySymbol:k,amount:f}=t;return l.jsx(y,{bankAccountToCreate:s,bankAccountCreationState:{fetchState:m,error:c},bankNameByRouting:p,fetchBankNameByRoutingStatus:u,onSaveHandler:e,onACHDetailsUpdated:o,onFetchBankName:n,isDisabled:i,companyName:r,isMagicLink:!0,currencySymbol:k,amount:f})};export{j as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as S}from"./index-
|
|
1
|
+
import{j as S}from"./index-DESjn-8d.js";import{y as b}from"./DomesticWireDetailsPage-C7SMSdym-4FSz7OmR.js";import"./mui-C42whWwM.js";import"./vendor-rkTZJa59.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./BankAccountSection-8JPKANMP-DuTpIyau.js";import"./MagicLinkTitleSection-Dc8RKV1p-VRc37nwk.js";import"./BankAccountWarningSection-HW7t6lPN-CXdJbZl-.js";import"./MailingDetailsSection-BD9QWumq-Bo7ZhKA-.js";import"./LabeledAddressValueField-Ca10mEAm-D8rcZ6WA.js";const F=({magicLinkViewState:t,magicLinkBankAccountDetails:e,mailingAddressDetails:a,isDisabled:o,companyName:r,onSaveHandler:i,onWireDetailsUpdated:n,onFetchBankName:m,onAddressClick:s})=>{const{fetchState:c,error:d,bankNameByRouting:p,bankAccountToCreate:u,fetchBankNameByRoutingStatus:k}=e,{currencySymbol:l,amount:y}=t;return S.jsx(b,{bankAccountToCreate:u,bankAccountCreationState:{fetchState:c,error:d},bankNameByRouting:p,addressToEdit:a,addressType:"vendor_address",fetchBankNameByRoutingStatus:k,isDisabled:o,onSaveHandler:i,onWireDetailsUpdated:n,onAddressClick:s,onFetchBankName:m,companyName:r,isMagicLink:!0,currencySymbol:l,amount:y})};export{F as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as B}from"./index-
|
|
1
|
+
import{j as B}from"./index-DESjn-8d.js";import{f as S}from"./InternationalWireSwiftDetailsPage-Tf_vaD2v-Bx9cBAe-.js";import"./mui-C42whWwM.js";import"./vendor-rkTZJa59.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./BankAccountWarningSection-HW7t6lPN-CXdJbZl-.js";import"./MailingDetailsSection-BD9QWumq-Bo7ZhKA-.js";import"./LabeledAddressValueField-Ca10mEAm-D8rcZ6WA.js";import"./MagicLinkTitleSection-Dc8RKV1p-VRc37nwk.js";const L=({magicLinkViewState:t,magicLinkBankAccountDetails:a,mailingAddressDetails:e,isDisabled:n,companyName:i,onSaveHandler:o,onBankDetailsUpdated:r,onFetchBankNameBySwift:m,onAddressClick:s})=>{const{internationalBankAccountCreateStatus:c,internationalBankAccountToCreate:d,fetchBankNameBySwiftStatus:p,bankNameBySwift:k}=a,{currencySymbol:l,amount:u}=t;return B.jsx(S,{bankAccountToCreate:d,bankAccountCreationState:c,bankNameBySwift:k,addressToEdit:e,addressType:"vendor_address",fetchBankNameBySwiftStatus:p,isDisabled:n,onSaveHandler:o,onBankDetailsUpdated:r,onAddressClick:s,onFetchBankNameBySwift:m,companyName:i,isMagicLink:!0,currencySymbol:l,amount:u})};export{L as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{ac as r,
|
|
1
|
+
import{ac as r,R as n,j as t,ak as l,o,M as c,c7 as a,T as p}from"./index-DESjn-8d.js";import{n as i}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const S=()=>{const[e]=r("Confetti"),s=n.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen;return e!=null?t.jsxs(m,{children:[t.jsx(l,{loop:!1,play:!0,segments:[100,299],animationData:e,style:{position:"absolute"},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}),t.jsx(u,{children:t.jsx(x,{})}),t.jsxs(d,{children:[t.jsx(g,{children:s.successTitle}),t.jsx(h,{children:s.successNote})]})]}):null},m=i.div`
|
|
2
2
|
z-index: 999;
|
|
3
3
|
height: 100vh;
|
|
4
4
|
width: 100%;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import{R as C,ab as p,j as t,c7 as m,o as s,y as g,f as x,bO as d}from"./index-DESjn-8d.js";import{n,b as i}from"./vendor-rkTZJa59.js";const h=e=>i.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M12.0257 -0.000342749C11.8221 -0.00677984 11.624 0.0667416 11.4727 0.204861C11.4727 0.204861 7.52114 3.7329 2.78947 3.7329C2.5801 3.73292 2.37931 3.81721 2.23125 3.96724C2.0832 4.11726 2.00002 4.32072 2 4.53288V11.0713C2 14.6328 3.62601 20.4933 11.6937 23.9366C11.7906 23.978 11.8948 23.9993 12 23.9993C12.1052 23.9993 12.2094 23.978 12.3063 23.9366C20.374 20.4933 22 14.6328 22 11.0713V4.53288C22 4.32072 21.9168 4.11726 21.7687 3.96724C21.6207 3.81721 21.4199 3.73292 21.2105 3.7329C16.4789 3.7329 12.5273 0.204861 12.5273 0.204861C12.3892 0.0787349 12.2115 0.00606537 12.0257 -0.000342749ZM12 5.33287C13.7421 5.33287 15.1579 6.7675 15.1579 8.53279V9.59943C16.0263 9.59943 16.7368 10.3194 16.7368 11.1994V15.466C16.7368 16.3459 16.0263 17.0659 15.1579 17.0659H8.84211C7.97368 17.0659 7.26316 16.3459 7.26316 15.466V11.1994C7.26316 10.3194 7.97368 9.59943 8.84211 9.59943V8.53279C8.84211 6.7675 10.2579 5.33287 12 5.33287ZM12 6.93283C11.1316 6.93283 10.4211 7.65281 10.4211 8.53279V9.59943H13.5789V8.53279C13.5789 7.65281 12.8684 6.93283 12 6.93283ZM12 11.7327C11.5812 11.7327 11.1796 11.9013 10.8835 12.2013C10.5874 12.5014 10.4211 12.9083 10.4211 13.3327C10.4211 13.757 10.5874 14.164 10.8835 14.464C11.1796 14.7641 11.5812 14.9326 12 14.9326C12.4188 14.9326 12.8204 14.7641 13.1165 14.464C13.4126 14.164 13.5789 13.757 13.5789 13.3327C13.5789 12.9083 13.4126 12.5014 13.1165 12.2013C12.8204 11.9013 12.4188 11.7327 12 11.7327Z",fill:"currentColor"})),$=({companyName:e,currencySymbol:l,amount:r})=>{const a=C.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen,c=r>0?` ${p("0,0.[00]",r,l)}`:"",o=a.title.replace(/<tenant_name>/,e)+c;return t.jsxs(t.Fragment,{children:[t.jsx(u,{children:o}),t.jsxs(y,{children:[a.description.replace(/<tenant_name>/,e),t.jsxs(w,{children:[t.jsx(f,{}),a.encrypted]})]})]})},w=n(d)`
|
|
2
|
+
display: flex;
|
|
3
|
+
gap: ${s.sp1};
|
|
4
|
+
color: ${x.successDark};
|
|
5
|
+
`,f=n(h)`
|
|
6
|
+
width: ${s.sp4};
|
|
7
|
+
height: ${s.sp4};
|
|
8
|
+
color: inherit;
|
|
9
|
+
`,y=n(g)`
|
|
10
|
+
display: flex;
|
|
11
|
+
align-items: center;
|
|
12
|
+
justify-content: space-between;
|
|
13
|
+
flex-wrap: wrap;
|
|
14
|
+
gap: ${s.sp4};
|
|
15
|
+
color: ${e=>e.theme.colors.champion};
|
|
16
|
+
margin-top: ${s.sp3};
|
|
17
|
+
`,u=n(m)``;export{$ as M};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as h,
|
|
1
|
+
import{e as h,R as u,C as r,j as s,o as a,cf as x,ao as b,q as i}from"./index-DESjn-8d.js";import{n}from"./vendor-rkTZJa59.js";import{C as f}from"./LabeledAddressValueField-Ca10mEAm-D8rcZ6WA.js";const o={largeLabelWidth:new r(120,140,220),paddingTopBottom:new r(i[3],i[3]),marginRight:new r(i[3],i[8]),marginLeft:new r(i[3],i[6]),marginLeftTitle:new r(i[4],i[6])},j=({sectionId:e,addressToEdit:t,addressType:m,isDisabled:p,onAddressClick:g})=>{const l=h(),d=u.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,$=o.largeLabelWidth.value(l);return s.jsxs(s.Fragment,{children:[s.jsx(L,{size:l,children:d.addressDetailTitle}),s.jsx(v,{size:l,children:s.jsx(f,{isDisabled:p,label:{label:d.address,width:$},addressValueField:{name:w(e,"mailingAddress"),placeholder:x(d.address),defaultValue:t,registerOptions:{validate:c=>c!=null},onClick:()=>{g(m)}},additionalInfoLabel:d.additionalAddressLabel,showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`},hasHoverBorder:!1})})]})},w=(e,t)=>`${e}.${t}`,v=n.div`
|
|
2
2
|
width: auto;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as o,j as i
|
|
1
|
+
import{e as o,j as i,W as d,p as c,f as l,o as p,C as r}from"./index-DESjn-8d.js";import{n as a}from"./vendor-rkTZJa59.js";const s={width:new r(425,850,850),height:new r(320,640,640)},h=a.div`
|
|
2
2
|
position: fixed;
|
|
3
3
|
top: 0;
|
|
4
4
|
left: 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as o,p as u,eM as h,o as s,u as d,eN as m}from"./index-
|
|
1
|
+
import{j as o,p as u,eM as h,o as s,u as d,eN as m}from"./index-DESjn-8d.js";import{b as x,n as c,j as f}from"./vendor-rkTZJa59.js";const b=({open:e,onClose:r,anchorEl:i,children:n,styles:l})=>{const t=d();return o.jsx(m,{transitionDuration:0,anchorEl:i,open:e,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"right"},slotProps:{paper:{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",background:t.colors.grey5,boxShadow:`${s.sp0} 2px ${s.sp2} ${t.colors.dropShadowHover}`,boxSizing:"border-box",transform:l?.transform??"translate(30px,10px)",borderRadius:s.sp1}}},onClose:r,disableAutoFocus:!0,disableEnforceFocus:!0,children:n})},y=c.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
`,C=({menuItems:e,isMenuOpen:r,isMenuVisible:i=!0,setIsMenuOpen:n,styles:l,menuIconStyles:t})=>{const p=x.useRef(null);return o.jsx(u,{onClickAway:()=>{n(!1)},children:o.jsxs(y,{ref:p,children:[o.jsx(j,{className:"placeholder",style:t,onClick:a=>{a.stopPropagation(),n(!r)},children:o.jsx(g,{isMenuVisible:i,children:o.jsx(h,{})})}),r?o.jsx(b,{open:r,onClose:a=>{a.stopPropagation(),n(!1)},anchorEl:p.current,styles:l,children:e}):null]})})},j=c.div`
|
|
4
4
|
height: ${s.sp4};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import{u as z,e as M,f2 as H,
|
|
1
|
+
import{u as z,e as M,f2 as H,R as v,a8 as p,j as i,l as L,aX as _,_ as $,o as t,aS as P,C as d,n as I,y as B,v as R,X as W,f3 as j,f4 as C,q as u,f6 as E,f as A,w as F}from"./index-DESjn-8d.js";import{b,n}from"./vendor-rkTZJa59.js";import{q as J}from"./SetUpDefaultSection-BSWh5Hvi-BrKOFekt.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const r={sectionWidth:new d(343,580,726),iconContainerMaxWidthHeight:new d(u[6],u[7]),iconContainerMarginRight:new d(12,u[3]),iconPadding:new d(10,12),iconWidthHeight:new d(20,u[4]),elementsMarginLeftRight:new d(u[3],u[4])},N={title:new W("standardMedium","largeMedium")},q=n.img`
|
|
2
2
|
width: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
3
3
|
height: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
4
4
|
border-radius: ${t.sp11};
|
|
5
5
|
margin-right: ${e=>r.iconContainerMarginRight.valuePx(e.windowSize)};
|
|
6
6
|
`,V=n.div`
|
|
7
7
|
display: flex;
|
|
8
|
-
`,
|
|
8
|
+
`,X=n.div`
|
|
9
9
|
display: flex;
|
|
10
10
|
align-items: center;
|
|
11
11
|
flex-direction: row;
|
|
@@ -14,13 +14,13 @@ import{u as z,e as M,f2 as H,B as v,a8 as p,j as i,l as B,aX as L,b as $,o as t,
|
|
|
14
14
|
margin-right: ${e=>r.elementsMarginLeftRight.valuePx(e.windowSize)};
|
|
15
15
|
padding-top: ${t.sp4};
|
|
16
16
|
padding-bottom: ${t.sp4};
|
|
17
|
-
`,
|
|
17
|
+
`,G=n.div`
|
|
18
18
|
display: flex;
|
|
19
19
|
align-items: flex-start;
|
|
20
|
-
`,
|
|
20
|
+
`,O=n.div`
|
|
21
21
|
display: flex;
|
|
22
22
|
opacity: 1;
|
|
23
|
-
`,
|
|
23
|
+
`,U=n.div`
|
|
24
24
|
display: flex;
|
|
25
25
|
flex-direction: column;
|
|
26
26
|
`,Y=n.div``,K=n.div`
|
|
@@ -39,7 +39,7 @@ import{u as z,e as M,f2 as H,B as v,a8 as p,j as i,l as B,aX as L,b as $,o as t,
|
|
|
39
39
|
max-width: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
40
40
|
max-height: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
41
41
|
margin-right: ${e=>r.iconContainerMarginRight.valuePx(e.windowSize)};
|
|
42
|
-
`,Z=n(
|
|
42
|
+
`,Z=n(F)`
|
|
43
43
|
display: flex;
|
|
44
44
|
align-items: center;
|
|
45
45
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -65,7 +65,7 @@ import{u as z,e as M,f2 as H,B as v,a8 as p,j as i,l as B,aX as L,b as $,o as t,
|
|
|
65
65
|
color: ${e=>e.theme.colors.grey1};
|
|
66
66
|
justify-content: space-between;
|
|
67
67
|
box-sizing: border-box;
|
|
68
|
-
`,te=({bankAccount:e,paymentAccount:o,accountStatus:s})=>{const
|
|
68
|
+
`,te=({bankAccount:e,paymentAccount:o,accountStatus:s})=>{const a=M(),m=z(),h=e.bankName,l=m.mode==="light"?new p(m.colors.brandColorJadeLight):new p(m.colors.brandColorJadeDark),y={element:i.jsx(P,{width:r.iconWidthHeight.valuePx(a),height:r.iconWidthHeight.valuePx(a)}),color:l},c=o?.providerVerificationStatus?.code,x=`${o?.accountSubType?.name!=null?o.accountSubType.name.substring(0,1).toUpperCase().concat(o.accountSubType.name.substring(1)):""} ${o?.maskedAccountNumber??e.maskedAccountNumber}`.trim(),g=o?.institutionDetails?.zeniInstitutionId.toLowerCase()==="chase";return i.jsx(ne,{windowSize:a,children:i.jsxs(X,{windowSize:a,children:[i.jsxs(G,{children:[i.jsx(O,{children:oe(y,a,m.mode==="dark",o)}),i.jsxs(U,{children:[i.jsxs(Y,{children:[i.jsx(K,{windowSize:a,children:h}),i.jsx(Z,{children:x?i.jsxs(i.Fragment,{children:[i.jsx(ee,{children:x}),a!=="small"&&(c!=="verification_failed"&&o?.providerVerificationStatus?.code==="pending_manual_verification"||g)?i.jsx(ie,{}):null]}):null})]}),s!=null&&a==="small"?i.jsx(j,{style:{width:"max-content",padding:0,marginTop:t.sp2},tagTitle:s.name,textColor:C(s.code)}):null]})]}),i.jsx(V,{children:s!=null&&a!=="small"?i.jsx(j,{style:{width:"max-content",padding:0,marginTop:t.sp2},tagTitle:s.name,textColor:C(s.code)}):null})]})})},oe=(e,o,s,a)=>a?.institutionDetails.logo?.base64!=null?i.jsx(q,{windowSize:o,src:`${E}${a.institutionDetails.logo.base64.toString()}`,alt:a.institutionDetails.institutionName,loading:"lazy"}):i.jsx(Q,{iconColor:e.color,windowSize:o,isDarkMode:s,children:e.element}),f={iconWidthHeight:new d(20,u[4]),sectionWidth:new d(343,580,726),subtitleSectionWidth:new d(343,580,1200)},ae={title:new W("standardMedium","largeMedium")},le=n.div`
|
|
69
69
|
display: flex;
|
|
70
70
|
row-gap: ${t.sp3};
|
|
71
71
|
flex-direction: column;
|
|
@@ -95,16 +95,16 @@ import{u as z,e as M,f2 as H,B as v,a8 as p,j as i,l as B,aX as L,b as $,o as t,
|
|
|
95
95
|
align-items: center;
|
|
96
96
|
|
|
97
97
|
color: ${e=>e.theme.colors.primary};
|
|
98
|
-
font-family: ${
|
|
99
|
-
${e=>`${
|
|
98
|
+
font-family: ${R.largeMedium.fontFamily};
|
|
99
|
+
${e=>`${ae.title.style(e.windowSize)}`};
|
|
100
100
|
`,ue=n(I)`
|
|
101
101
|
display: flex;
|
|
102
102
|
justify-content: center;
|
|
103
103
|
align-items: center;
|
|
104
104
|
width: ${e=>f.subtitleSectionWidth.valuePx(e.windowSize)};
|
|
105
105
|
margin-bottom: ${t.sp5};
|
|
106
|
-
`,me=n(
|
|
106
|
+
`,me=n(B)`
|
|
107
107
|
display: flex;
|
|
108
108
|
align-items: center;
|
|
109
109
|
color: ${e=>e.theme.colors.hero};
|
|
110
|
-
`,ve=({plaidConnectionDetails:e,myBankConnectionsView:o,onEstablishConnectionClick:s,onFetchLinkTokenClick:
|
|
110
|
+
`,ve=({plaidConnectionDetails:e,myBankConnectionsView:o,onEstablishConnectionClick:s,onFetchLinkTokenClick:a,onClickMenuIcon:m})=>{const h=z(),l=M(),y=b.useCallback(w=>{s(w)},[s]),c=b.useMemo(()=>e.link_account_no_microdeposit,[e]),{open:x}=H({token:c.linkToken??null,onSuccess:y}),g=v.getLocalizedStrings().common.settings,T=h.mode==="light"?new p(h.colors.brandColorJadeLight):new p(h.colors.brandColorJadeDark),k=v.getLocalizedStrings().spendManagement.reimbursement.reimbursementDetail;return b.useEffect(()=>{(L.zeniDate(new Date().toISOString()).isAfter(c.expiration)||c.linkToken==null)&&a("link_account_no_microdeposit")},[a,c.expiration,c.linkToken]),i.jsxs(re,{children:[i.jsx(_,{source:"MyBankConnectionsSettingsPage",title:g.title.myBankConnections,backgroundColor:h.colors.grey4,style:{zIndex:3},showBackButton:!1,showMenuIcon:l==="medium-compact"||l==="small",onClickMenuIcon:m}),i.jsxs(se,{windowSize:l,children:[i.jsx(ue,{windowSize:l,children:i.jsx(me,{windowSize:l,children:g.infoText.myBankConnections})}),o.bankAccounts.length>0?i.jsx(de,{windowSize:l,children:i.jsx(ce,{windowSize:l,children:g.subtitle.myBankConnections})}):null,i.jsx($,{controller:o.bankAccounts.length>0,children:i.jsx(le,{children:o.bankAccounts.map(w=>{const S=o.paymentAccounts.find(D=>D.bankAccountId==w.bankAccountId);return i.jsx(te,{bankAccount:w,accountStatus:S?.verificationStatus,paymentAccount:S},w.bankAccountId)})})}),i.jsx($,{controller:o.bankAccounts.length===0,children:i.jsx(J,{onClick:()=>{x()},title:k.connectYourBank,subTitle:k.loginToBank,header:g.label.reimbursements,icon:{element:i.jsx(P,{width:f.iconWidthHeight.valuePx(l),height:f.iconWidthHeight.valuePx(l)}),color:T},style:{width:"unset",rowGap:l==="small"?t.sp2:void 0}})})]})]})};export{ve as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as D,Y as M,l as O,
|
|
1
|
+
import{u as D,Y as M,l as O,R as j,fm as t,j as r,aX as w,fF as F,o as B}from"./index-DESjn-8d.js";import{n as P}from"./vendor-rkTZJa59.js";import{O as U}from"./ChargeCardListTable-D7BV3Iv9-CvArKgFC.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./Menu-DV3oFAip-BjpENrFA.js";import"./RoleWithToolTip-B_Ivheco-R8i0Qg5c.js";import"./CardNumberSubText-Chba_z2--BgVxGcnT.js";import"./ChargeCardUtils-Bv0OpE88-D5Y-HOpD.js";const{spendManagement:{chargeCard:u}}=j.getLocalizedStrings(),_=({myPendingActivationChargeCardListView:e,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:n,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,chargeCardCashbackDetailState:i,creditAccount:c,creditAccountRepayment:C,depositAccountListWithDebitCardIssued:d,controllerEmails:h,signedInUser:p,onChargeCardRowClick:g,onBackClick:A,onReloadCards:f,onColumnSortConfigChanged:k})=>{const S=D(),y=M(),m=O.hasChargeCardAdminLevelAccess(y.loggedInUserRoleMap),R=e.cards.some(a=>a.type.code.includes("credit")),b=e.cards.some(a=>a.type.code.includes("debit")),v=R&&b?u.cardList.title.cards:b?u.cardList.title.debit:u.cardList.title.credit,E=m===!0?{creditCardCashbackOffer:`${i.cashbackAnalytics.creditCardCashbackOffer}%`,debitCardCashbackOffer:`${i.cashbackAnalytics.debitCardCashbackOffer}%`,totalEarnedCashback:t(i.cashbackSummary.cashbackEarned.amount),redeemedCashback:t(i.cashbackSummary.cashbackRedeemed.amount),availableCashback:t(i.cashbackSummary.cashbackAvailable.amount),creditCardCashbackRedemptionMode:i.cashbackAnalytics.creditCardCashbackRedemptionMode,debitCardCashbackRedemptionMode:i.cashbackAnalytics.debitCardCashbackRedemptionMode}:void 0,I=o&&l&&m===!0?{creditAccountId:c.id,creditAccountLimit:t(c.limit.amount),creditAccountAvailableAmount:t(c.available.amount),creditAccountSpentAmount:t(c.balance.amount+c.hold.amount),creditAccountStatus:c.status,outstandingBalance:t(C.remainingAmountDue.amount)}:void 0,x=n&&s?{debitAccountId:d.depositAccounts.map(a=>a.id),debitAccountName:d.depositAccounts.map(a=>a.accountName),debitAccountBalance:d.depositAccounts.map(a=>t(a.accountBalance.available.amount)),debitCardsSpend:0,debitAccountStatus:d.depositAccounts.map(a=>a.accountStatus)}:void 0,L={isCreditCardOffered:o,isDebitCardOffered:n,isDebitCardEnabled:s,isCreditCardEnabled:l};return r.jsxs($,{children:[r.jsx(w,{title:v,backgroundColor:S.colors.grey4,style:{zIndex:3},onBackClick:A,source:"MyPendingActivationChargeCardListPage"}),e.fetchState==="Not-Started"||e.fetchState==="In-Progress"?r.jsx(F,{fetchState:e.fetchState,styles:{margin:"auto"}}):r.jsx(U,{controllerEmails:h,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:n,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,creditAccount:c,creditAccountRepayment:C,productInformation:L,cashbackInformation:E,creditAccountInformation:I,debitAccountInformation:x,depositAccountListWithDebitCardIssued:d,cardList:e.cards,showViewForCardUser:!0,signedInUser:p,fetchState:e.fetchState,onReloadCards:f,onChargeCardRowClick:g,uiState:e.uiState,onColumnSortConfigChanged:k,onChargeCardResendInviteClick:()=>{},onChargeCardRevokeInviteClick:()=>{}})]})},$=P.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-height: ${`calc(100vh - ${B.sp9})`};
|
|
4
4
|
flex-direction: column;
|