@zeniai/web-cockpit-ui 1.14.88-qa → 1.14.89-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-BBq7KpbY-CZpHxE8o.js → ACHDetailsPage-BBq7KpbY-DmD51smT.js} +1 -1
- package/dist/assets/{AIPerformancePage-Djq6mgKa-BXA2rEQ3.js → AIPerformancePage-Djq6mgKa-C2iGvIUP.js} +11 -11
- package/dist/assets/{AccountInfoPage-CxWBk_t_-C2BQHsrc.js → AccountInfoPage-CxWBk_t_-BI9wbnyE.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-DO6aVqBW-BHlSBq6C.js → AccountInfoPageContent-DO6aVqBW-6U18ww_h.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-DVvzKHJQ-XsgYaZ9s.js → AccountLockedInfoModal-DVvzKHJQ-BlItIAEt.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-DEKzSPCP-IJ1uxgeX.js → AccountReconDetailsDrawerPage-DEKzSPCP-DohPnhDC.js} +14 -14
- package/dist/assets/{AccountRow-Ck53DDbT-CKEPVSTV.js → AccountRow-Ck53DDbT-BeebPIea.js} +21 -21
- package/dist/assets/{AccountsPromoCardStack-BYjuB-4I-DBGri4Ao.js → AccountsPromoCardStack-BYjuB-4I-DMxflS-k.js} +8 -8
- package/dist/assets/{AddAddressForCardDrawer-e8qbO2Y5-CCW44Lbp.js → AddAddressForCardDrawer-e8qbO2Y5-CvQDLLw2.js} +1 -1
- package/dist/assets/{AddToWalletPage-DA6AmuaY-D_ysmfWw.js → AddToWalletPage-DA6AmuaY-e01eq7ol.js} +5 -5
- package/dist/assets/{AgingReportsPage-B_Hhl_Is-yJ7Ku3Be.js → AgingReportsPage-B_Hhl_Is-4sV-u-EE.js} +5 -5
- package/dist/assets/{AllUserItems-BV22Ibpn-D42Co1mB.js → AllUserItems-BV22Ibpn-WegHhloq.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-DqV1vOVH-BwJKl2yK.js → ApAgingDetailPage-DqV1vOVH-DDYGtIes.js} +1 -1
- package/dist/assets/{AppBasePage-LrgCcvIv-CEyT0Ays.js → AppBasePage-LrgCcvIv-CPbTcwwM.js} +4 -4
- package/dist/assets/{AppDrawerContent-aZG5Qc_X-DQOHVYFR.js → AppDrawerContent-aZG5Qc_X-0oLi5_ah.js} +1 -1
- package/dist/assets/ApprovalRulesSettingsPage-DQQw30S5-BEsS6TL7.js +47 -0
- package/dist/assets/{ArAgingChart-Am7LTkqG-GS7CQpoV.js → ArAgingChart-Am7LTkqG-CEoxIo8X.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-BEKsyA9Q-CT83CSJd.js → ArAgingDetailPage-BEKsyA9Q-DyjljPZX.js} +1 -1
- package/dist/assets/{AttachmentView-Bujbmx1d-DpzwMH5w.js → AttachmentView-Bujbmx1d-B9I0wNAl.js} +1 -1
- package/dist/assets/{BankAccountSection-C5rYUW3V-BgvhKGl7.js → BankAccountSection-C5rYUW3V-B24i3wVy.js} +3 -3
- package/dist/assets/{BankAccountWarningSection-DakysSbk-BRLKAJ0a.js → BankAccountWarningSection-DakysSbk-CfJ3ZIAx.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-BjZDNgZG-CFbf0DLJ.js → BankConnectionsSettingsPage-BjZDNgZG-CWXR52fl.js} +7 -7
- package/dist/assets/{BillDetailPage-DYc_nZRU-vRHIz2Fv.js → BillDetailPage-DYc_nZRU-BRz45yqn.js} +2 -2
- package/dist/assets/{BillPayApprovalRuleDetailPage-ppU1Epmy-DfzEevsW.js → BillPayApprovalRuleDetailPage-ppU1Epmy-CKu9yeh6.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-UblNi2mR-CaoPaa4o.js → BillPayApprovalRulesPage-UblNi2mR-DDdlB9l6.js} +1 -1
- package/dist/assets/{BillPayPromoPage-BK2J56U5-BLwpq2ym.js → BillPayPromoPage-BK2J56U5-BV_HtQh9.js} +5 -5
- package/dist/assets/{BillPaySetUpPage-Jic5E25q-C2agN1u5.js → BillPaySetUpPage-Jic5E25q-B-iLCf2O.js} +2 -2
- package/dist/assets/{BillingSettingsPage-CKZVChEm-CWf23wA3.js → BillingSettingsPage-CKZVChEm-D4ayDBSH.js} +4 -4
- package/dist/assets/{BillsBulkReviewDrawerPage-C4Ra5e82-C3uBULFR.js → BillsBulkReviewDrawerPage-C4Ra5e82-Ci4V1_TC.js} +1 -1
- package/dist/assets/{BoxItem-8PfNfaHq-Bc55g4Kz.js → BoxItem-8PfNfaHq-CqIGaIYz.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-JGge-Iiw-CLy_qcXB.js → BusinessVerificationPage-JGge-Iiw-DkN8E6Gl.js} +5 -5
- package/dist/assets/{CardNumberSubText-W81SQ4GF-OueRQ73F.js → CardNumberSubText-W81SQ4GF-D5AG2b-c.js} +1 -1
- package/dist/assets/{CashbackDetailPage-DnOcmx2i-BioqpiiB.js → CashbackDetailPage-DnOcmx2i-DuXs2k0a.js} +7 -7
- package/dist/assets/{ChargeCardDetailPage-DNVMsxzE-MbZAmWWA.js → ChargeCardDetailPage-DNVMsxzE-W83HRYcY.js} +1 -1
- package/dist/assets/{ChargeCardListPage-Dgj-WWWI-BMNMnKI1.js → ChargeCardListPage-Dgj-WWWI-C1jII8Vl.js} +14 -14
- package/dist/assets/{ChargeCardListTable-uJZKWoh7-dd8_7oJW.js → ChargeCardListTable-uJZKWoh7-DGMj8Kk8.js} +16 -16
- package/dist/assets/{ChargeCardPromoPage-uqT96W3_-C4nna9JN.js → ChargeCardPromoPage-uqT96W3_-DGpf3zxD.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-BDbJU-vm-KUujiV9J.js → ChargeCardSetupPage-BDbJU-vm-DZJfRa0I.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-DImRqpH1-CbTc5gcW.js → ChargeCardStatementsPage-DImRqpH1-BlCyBAS3.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-BVtOOPoa-BZCRYtgW.js → CheckDepositDrawerPage-BVtOOPoa-CKWcHjV6.js} +6 -6
- package/dist/assets/{CollapsableReportTable-Crihcv_z-D0yVWEtn.js → CollapsableReportTable-Crihcv_z-B6sIoSI3.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-CNxtAkKM-JM7EOPYb.js → CompanyOfficerDetailsSection-CNxtAkKM-D2joEvpM.js} +8 -8
- package/dist/assets/{CompanyPassportCard-DMRQkRPb-BfQft15t.js → CompanyPassportCard-DMRQkRPb-BLaDLsxp.js} +1 -1
- package/dist/assets/{CompanyPassportPage-D3XvbSF_-QtfQkOgs.js → CompanyPassportPage-D3XvbSF_-BPFOIUV0.js} +16 -16
- package/dist/assets/{CompleteProfile-BqjXO5ze-BVANkRD5.js → CompleteProfile-BqjXO5ze-fJjklbCs.js} +1 -1
- package/dist/assets/{ConfettiBurst-DtwLo4WZ-pKVn1Zt5.js → ConfettiBurst-DtwLo4WZ-DhNKCJ7F.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-FrGRJxMy-BsYkqMbG.js → CreateOrEditVendorPage-FrGRJxMy-lyDeY9QD.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-BvifQpD3-rvm5_a2M.js → CreditCardPaymentDrawerPage-BvifQpD3-CJD0XzyN.js} +6 -6
- package/dist/assets/{CurrencySelectField-ClOg6nnS-Cnr3YkBv.js → CurrencySelectField-ClOg6nnS-wUZ5kAZB.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-Du-zzeL2-DMbpslbv.js → CustomerOnboardingActivationPage-Du-zzeL2-DGgRqDAq.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DMZOvVMM-ly2XWpHL.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BgY95XeU-DZVW17dp.js → CustomerOnboardingDetailPageSkeleton-BgY95XeU-Dah0hLGQ.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-BsKoqUta-C8ENw_2g.js → CustomerOnboardingNoStepsPage-BsKoqUta-D3bS1mcO.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-DUMQKVfM-0ltubWJk.js → CustomerOnboardingPage-DUMQKVfM-C7dz_0GY.js} +1 -1
- package/dist/assets/{CustomerOnboardingProductSuitePage-DGVV8Tkk-Brs1Bm9U.js → CustomerOnboardingProductSuitePage-DGVV8Tkk-CiyIz1Ai.js} +5 -5
- package/dist/assets/{Dashboard-CdYlvep--C2xiBWGf.js → Dashboard-CdYlvep--B2Vkh5DQ.js} +1 -1
- package/dist/assets/{DashboardReportPage-c6q027Qp-ZzS_4DbW.js → DashboardReportPage-c6q027Qp-B9wSLZAf.js} +16 -16
- package/dist/assets/{DashboardSidebarBackgroundAnimation-BdDVYK19-DO3K14XB.js → DashboardSidebarBackgroundAnimation-BdDVYK19-COjDYEak.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-D8kL8enp-DQfKwDtZ.js → DepositAccTransactionItem-D8kL8enp-J-22cTZM.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-BS-OReem-CrvBML8Q.js → DepositAccTransactionListPage-BS-OReem-Daf8x2X1.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-CjM1DXnn-BZAEhYC3.js → DomesticWireDetailsPage-CjM1DXnn-ByLr_bfJ.js} +1 -1
- package/dist/assets/{DownloadOverlay-Dr4uLNpZ-_3KxAqK4.js → DownloadOverlay-Dr4uLNpZ-PWDmhVak.js} +38 -38
- package/dist/assets/{DrawerPage-CbKBsc7w-7kpCQGH8.js → DrawerPage-CbKBsc7w-BANqCEyN.js} +1 -1
- package/dist/assets/{EditPeoplePage-BgsR09q8-YfoObQW1.js → EditPeoplePage-BgsR09q8-DQro3ypx.js} +3 -3
- package/dist/assets/{EditReimbursementDetailPage-BTrwOX_s-DvpBdlkg.js → EditReimbursementDetailPage-BTrwOX_s-Bpc20RR2.js} +25 -25
- package/dist/assets/{EntityDetailPage-Cvd4MG0F-ZDX--4dV.js → EntityDetailPage-Cvd4MG0F-Uu1ExrMV.js} +1 -1
- package/dist/assets/{EntitySummarySection-BIV9aAq2-DSoSDfHH.js → EntitySummarySection-BIV9aAq2-CUHksODf.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-B5MtjO2p-OLmj-clQ.js → ExpenseAutomationOverviewPage-B5MtjO2p-B5sSDEu8.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-DW6Pxoah-DSaMh9BZ.js → ExpenseAutomationPage-DW6Pxoah-DpT-FAIA.js} +62 -62
- package/dist/assets/{ExpressPayPage-DnpQuDmt-CuecqGBU.js → ExpressPayPage-DnpQuDmt-CY033VTz.js} +5 -5
- package/dist/assets/{FeaturePreviewPage-BmwBZ7ZP-BzM8qDQI.js → FeaturePreviewPage-BmwBZ7ZP-kerQig1g.js} +1 -1
- package/dist/assets/{FollowStepsSection-B2I9SddL-B9ISQuf-.js → FollowStepsSection-B2I9SddL-BxrnE678.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-D3GCP5Xd-bCzUhauh.js → GlobalReviewListPage-D3GCP5Xd-Bht9J0K_.js} +6 -6
- package/dist/assets/{InformationCardStack-mEhasBqu-MnmadQgE.js → InformationCardStack-mEhasBqu-BZ_Gox0K.js} +1 -1
- package/dist/assets/{InsightsCardStack-Mj7QcQnH-w9iVNjOS.js → InsightsCardStack-Mj7QcQnH-CT4vpE1x.js} +1 -1
- package/dist/assets/{InsightsSection-B3xD0SZ9-CtB9l6g9.js → InsightsSection-B3xD0SZ9-CKtY4Hiz.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-CsI_agJB-CFVHIylV.js → IntegrationsSettingsPage-CsI_agJB-CclnkA74.js} +1 -1
- package/dist/assets/{InternationalWireSwiftDetailsPage-Dszmi69h-DaN3QXGf.js → InternationalWireSwiftDetailsPage-Dszmi69h-BjjhlMpG.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-DG9Enrpo-CZa6BkZb.js → InternationalWireVerificationPage-DG9Enrpo-DEQAkYYx.js} +11 -11
- package/dist/assets/{InviteFormPage-DK6X9Zwi-57NKh16b.js → InviteFormPage-DK6X9Zwi-DR66hPVd.js} +1 -1
- package/dist/assets/{InvitePageListView-CwKbcKlM-DEEV83h1.js → InvitePageListView-CwKbcKlM-BOO2EOMw.js} +32 -32
- package/dist/assets/{InvitePeoplePage-BqzJOjVI-bufXErI1.js → InvitePeoplePage-BqzJOjVI-hAq8wZOI.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-CokNNkKu-zGBNoDhJ.js → InvoiceUploadSection-CokNNkKu-CL4OwcxH.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-CRtJDmrZ-2SCD9IjH.js → IssueChargeCardPage-CRtJDmrZ-CFmNSL2f.js} +1 -1
- package/dist/assets/{LabeledAddressValue-BhwrrtZX-lh4MyI8q.js → LabeledAddressValue-BhwrrtZX-BVe1F8jA.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-DzmwP7hP-CVmcFCuL.js → LabeledAddressValueField-DzmwP7hP-7gvUeBGH.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-B6ndrF2e-DiUrfDZv.js → LabeledControlledCheckBoxField-B6ndrF2e-LWUc8yBI.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-CfzLlkho-e_gzDVel.js → LabeledCreatableSingleSelectField-CfzLlkho-CxZaZJZN.js} +1 -1
- package/dist/assets/{LabeledDocumentField-p3pI5qLu-BpHx3wM1.js → LabeledDocumentField-p3pI5qLu-I9C3lX6x.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-oQX33Fim-CDrN8oV2.js → LabeledDropDownFormattedTextField-oQX33Fim-Bbplhays.js} +1 -1
- package/dist/assets/{LabeledText-Db46hFZY-ZpSE14Xk.js → LabeledText-Db46hFZY-CvrCjgF_.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-B9Xx3bxn-CrNtOmbd.js → LabeledUserSingleSelectWithSubtitlesField-B9Xx3bxn-f0PElM5i.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-Docjgj8Y-ByksgDAC.js → LabeledZeniRolesDropDownField-Docjgj8Y-C6xxx7IQ.js} +11 -11
- package/dist/assets/{LinkJETransactionPage-BZSRaZqY-BCB3zTz9.js → LinkJETransactionPage-BZSRaZqY-9NIG46T3.js} +6 -6
- package/dist/assets/{LockCardPage-KTyESoXL-Do9Bp07f.js → LockCardPage-KTyESoXL-C_hGUeR9.js} +12 -12
- package/dist/assets/{LowBalancePopup-B0BDCEui-GkcadyQj.js → LowBalancePopup-B0BDCEui-BMVW4mzF.js} +4 -4
- package/dist/assets/MagicLinkACHDetailsPage-DwFvuGwG-C2ShsQ5E.js +1 -0
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-CDB2igue-B5PAHJHU.js → MagicLinkDomesticWireDetailsPage-CDB2igue-CMZ17cvq.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-C2kxncrD-DJsJrwdj.js → MagicLinkInternationalWireDetailsPage-C2kxncrD-DZt4WyHf.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-DNVe2qMu-Br2ktzLe.js → MagicLinkSuccessPage-DNVe2qMu-BMSr-yiU.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-CWw516D8-Di58AkiA.js → MagicLinkTitleSection-CWw516D8-CjWjg4GW.js} +1 -1
- package/dist/assets/{MailingDetailsSection-CugAM90r-CKMbSrBC.js → MailingDetailsSection-CugAM90r-CMuXq6mA.js} +1 -1
- package/dist/assets/{Menu-CGN2qO6T-BavKt1PZ.js → Menu-CGN2qO6T-CKP1jX2H.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-CQUfVa0r-s0_zy8mz.js → MyBankConnectionsSettingsPage-CQUfVa0r-9xTXMtPS.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-TOQWRGjp-FPw-YJRK.js → MyPendingActivationChargeCardListPage-TOQWRGjp-DCcWmjzI.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-lCG03Uoh-BSTkZT7y.js → MyProfileSettingsPage-lCG03Uoh-DnrGHNt2.js} +1 -1
- package/dist/assets/{NavBarWithPicker-DLLvivn4-B4wus8BB.js → NavBarWithPicker-DLLvivn4-6K-3U9T7.js} +1 -1
- package/dist/assets/{NavigationArrow-B4j2t8Qu-I1tY1ram.js → NavigationArrow-B4j2t8Qu-C8IxiTof.js} +1 -1
- package/dist/assets/{NavigationDots-DyMqwpgy-DUFU9pI4.js → NavigationDots-DyMqwpgy-DXf5bt3G.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-Bx7iBsCP-Bgk-R_8-.js → NewGlobalMerchantPage-Bx7iBsCP-DGrKqfpE.js} +1 -1
- package/dist/assets/{NoDataChart-Ce1_TZ5w-D3OEJqVU.js → NoDataChart-Ce1_TZ5w-BfNH_4T8.js} +1 -1
- package/dist/assets/{NoDataTable-l2T5Hw3t-BocZJJ0_.js → NoDataTable-l2T5Hw3t-Bh_N31mD.js} +1 -1
- package/dist/assets/{NotFoundPage-msdN-Eu6-DYqWaTYB.js → NotFoundPage-msdN-Eu6-BKPOdh9t.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-_ovcjr8E-DaKenjvb.js → NotificationSettingsPage-_ovcjr8E-Bj-DE2Dk.js} +15 -15
- package/dist/assets/{NotificationsListConfig-BJm7A9Mz-B1bUr4jp.js → NotificationsListConfig-BJm7A9Mz-Dg3_VsE9.js} +1 -1
- package/dist/assets/{NotificationsPage-Ddxb5kE0-DZUgUKAm.js → NotificationsPage-Ddxb5kE0-DzIBWdK5.js} +13 -13
- package/dist/assets/{OpExByVendorPage-BLAHey0l-Bvld9G1i.js → OpExByVendorPage-BLAHey0l-neBDRa7k.js} +4 -4
- package/dist/assets/{OverlayContainerPage-CrZuT2Jj-BZc1jNiE.js → OverlayContainerPage-CrZuT2Jj-DMNYxA7f.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-B7Z73Sq--CxOY2hjk.js → PandLWithForecastPage-B7Z73Sq--BDluLKs7.js} +5 -5
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-pL7omrJk-DPhW5Sbo.js → PaymentAccountSetupBillingAddressSection-pL7omrJk-Cgju1Qqc.js} +1 -1
- package/dist/assets/{PeoplePage-BHRFiM0D-Dz2giOXs.js → PeoplePage-BHRFiM0D-FOmgjcav.js} +1 -1
- package/dist/assets/{ProductsCarousel-D2bf_6Gb-oPFxud0a.js → ProductsCarousel-D2bf_6Gb-NT7Dhd8p.js} +1 -1
- package/dist/assets/{PromoBaseCards-CI7UOpeY-DSvwfl16.js → PromoBaseCards-CI7UOpeY-DI52WXKx.js} +3 -3
- package/dist/assets/{QBOConnectionDialog-D7MeKn1t-CNNQde90.js → QBOConnectionDialog-D7MeKn1t-DelTIGIf.js} +4 -4
- package/dist/assets/{QBOSetupSection-DWhfA4Xv-DYYPH7Pl.js → QBOSetupSection-DWhfA4Xv-kSdJytyB.js} +7 -7
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-C_dTOk5P-B0mAq5_-.js → ReimbursementApprovalRuleDetailPage-C_dTOk5P-Dc_LvsYr.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-B5lca4qx-DfQkh2sN.js → ReimbursementApprovalRulesPage-B5lca4qx-DAjvVIOI.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-COIRwy7i-BbuWUy3N.js → ReimbursementDetailPage-COIRwy7i-W0eUs7nE.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-Bjm0UHcm-9396bQ9z.js → ReimbursementPromoPage-Bjm0UHcm-Crjakfj5.js} +8 -8
- package/dist/assets/{ReimbursementSetUpPage-CMYR8CcH-6GKMqjZm.js → ReimbursementSetUpPage-CMYR8CcH-B6Pjnu_N.js} +4 -4
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BDdhVfaz-CHdDYICO.js → ReimbursementsBulkReviewDrawerPage-BDdhVfaz-Qu76KNt7.js} +1 -1
- package/dist/assets/{ReloadCard-B2sJR97f-BUZQgyMC.js → ReloadCard-B2sJR97f-4aiyry-A.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-_IO343vS-DPhVSmcQ.js → ReportTableViewSelector-_IO343vS-DFegVWwX.js} +1 -1
- package/dist/assets/{ReportsPage-C-aQ1bdd-B_xkTwrl.js → ReportsPage-C-aQ1bdd-DQkYUdHM.js} +5 -5
- package/dist/assets/{RevenueChart-Bgq6My4J-Dt6XAZjz.js → RevenueChart-Bgq6My4J-Bd7qmjtO.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-COx9R71r-B7xkHaMk.js → ReviewDetailsPage-COx9R71r-BNEXmQ6j.js} +1 -1
- package/dist/assets/{ReviewOverlay-CPU7RPiJ-L4td8Zqd.js → ReviewOverlay-CPU7RPiJ-LkDgAnlD.js} +1 -1
- package/dist/assets/{RoleWithToolTip-DSSGBzvw-BjW_p5Ey.js → RoleWithToolTip-DSSGBzvw-1jeqwzcs.js} +2 -2
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-DKGBfhAM-BIQ3dSHo.js → ScheduleDetailsFixedAssetsPage-DKGBfhAM-DIiqwEOV.js} +3 -3
- package/dist/assets/{ScheduleDetailsPage-B-fKJ7Ct-BuuquQqY.js → ScheduleDetailsPage-B-fKJ7Ct-DSkiCN2O.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-Dh_aT47H-CIlJaOtf.js → ScheduleSequenceTable-Dh_aT47H-BHM_c04w.js} +15 -15
- package/dist/assets/{ScreenRoutes-C6VP09xT.js → ScreenRoutes-DuXEW70Q.js} +48 -48
- package/dist/assets/{SetUpAccountSection-DrMCC1IY-C-3Yhp84.js → SetUpAccountSection-DrMCC1IY-D33epaX0.js} +4 -4
- package/dist/assets/{SignIn-Ij6tlYI5-CCumTqCW.js → SignIn-Ij6tlYI5-DeE6t8Fq.js} +7 -7
- package/dist/assets/{SignInScreen-DJ4Bo1S_.js → SignInScreen-LCpnq8M3.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-AI676Urw-Bz122sOj.js → SpendManagementListViewPage-AI676Urw-DJru7ByR.js} +13 -13
- package/dist/assets/{SpendManagementPerTabPage-D79c3Xqh-rmjY-vmf.js → SpendManagementPerTabPage-D79c3Xqh-D8DfakVn.js} +1 -1
- package/dist/assets/{SpendManagementSection-BqWbsmBW-td2Sn0pd.js → SpendManagementSection-BqWbsmBW-BhpclPa8.js} +7 -7
- package/dist/assets/{StatementItem-Aal79YaO-XQmaXixd.js → StatementItem-Aal79YaO-3cBWg-5i.js} +1 -1
- package/dist/assets/{StatementsPage-BG_pNQzc-dvNXNLMV.js → StatementsPage-BG_pNQzc-C7UMTTVJ.js} +1 -1
- package/dist/assets/{StatusSwitcher-DYRXaLvx-DnQc7FsU.js → StatusSwitcher-DYRXaLvx-GT20DbHu.js} +1 -1
- package/dist/assets/{SubTabSwitcher-C75XU1EG-UKyrqTMF.js → SubTabSwitcher-C75XU1EG-BZOngUzL.js} +1 -1
- package/dist/assets/{SummaryCard-DEnzgi31-DEAiBXSy.js → SummaryCard-DEnzgi31-BhOErS-o.js} +1 -1
- package/dist/assets/{TaskManagementPage-BacWm0wS-B7bDEupg.js → TaskManagementPage-BacWm0wS-tQV5bDZ1.js} +12 -12
- package/dist/assets/{TimeRangeSwitcher-BOzR-0O6-Bz_-4Vd_.js → TimeRangeSwitcher-BOzR-0O6-8myc4JmX.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-BVgI_VZw-BbnNXYMm.js → TimeframeSwitcher-BVgI_VZw-Re-kZX07.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-CPVSAvFa-PHeDWcYh.js → TimeframeSwitcherWithToggle-CPVSAvFa-Bg7OmG92.js} +1 -1
- package/dist/assets/{TopExCard-ImUx-vXr-DLryJPJU.js → TopExCard-ImUx-vXr--haKJkNG.js} +1 -1
- package/dist/assets/{TopExDetailPage-Dg_8DQk8-RpIGLliz.js → TopExDetailPage-Dg_8DQk8-4TF178rD.js} +2 -2
- package/dist/assets/{TransactionDetailPage-BzaDB50S-DF5gn3Ir.js → TransactionDetailPage-BzaDB50S-CJmLmWoQ.js} +31 -31
- package/dist/assets/{TransactionList-DMd3dgoK-CBav3Qka.js → TransactionList-DMd3dgoK-DFvlE42h.js} +5 -5
- package/dist/assets/{TransactionListBig-BxHqh8u6-BYNOxGT0.js → TransactionListBig-BxHqh8u6-eMcF_DZh.js} +1 -1
- package/dist/assets/{TransactionListPage-CN9fZznd-Cy5ZEf_j.js → TransactionListPage-CN9fZznd-DZJjs91-.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-CykcquSh-DmB7J4Ve.js → TransactionVendorDetailPage-CykcquSh-UwSp0CrJ.js} +1 -1
- package/dist/assets/{TransferDrawerPage-oV7ickRP-Bq_Xcqnx.js → TransferDrawerPage-oV7ickRP-yOers3_6.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-CECDKjNn-BzVtu32L.js → TreasuryOverviewPage-CECDKjNn-HTBJsJ5M.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-Bgt7uGAE-YS83Frko.js → TreasuryPromoPage-Bgt7uGAE-oIwaWu5X.js} +6 -6
- package/dist/assets/{TreasuryStatementsPage-QyWxshsI-CQPDqfyA.js → TreasuryStatementsPage-QyWxshsI-BxKUXQKE.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-BLmfU0VD-CSvnMnxI.js → TreasuryTaxLetterPage-BLmfU0VD-CZkFVEWV.js} +1 -1
- package/dist/assets/{TrendChart-C_6ob-SX-D7KWuN6Y.js → TrendChart-C_6ob-SX-BWR7UfmP.js} +2 -2
- package/dist/assets/{TrendWithTransactions-lMD2sZ-C-KD4WKX16.js → TrendWithTransactions-lMD2sZ-C-B_BL8w82.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-DEgz17_R-01TUtrQ3.js → UncategorizedAccountsMappingPage-DEgz17_R-CooBTMrf.js} +7 -7
- package/dist/assets/{UnitIntegrationPage-D9Pzxqju-BOLWJuwD.js → UnitIntegrationPage-D9Pzxqju-CvrKT10L.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-CJYvOjh0-D_FvrAyp.js → UploadAdditionalDocumentOverlay-CJYvOjh0-D-S1zfGQ.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-D-r0NVE--B3f5wBDW.js → Vendor2FAPopup-D-r0NVE--CwiNcgO0.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-Dv6bTD6Y-OnrOc4ob.js → VendorACHDetailsPage-Dv6bTD6Y-13eGKSpU.js} +1 -1
- package/dist/assets/{VendorDetailPage-BhfawsBd-n1Xsq3nw.js → VendorDetailPage-BhfawsBd-Caqe1lVz.js} +11 -11
- package/dist/assets/{VendorDomesticWireDetailsPage-BjmlrfTQ-CKSdgGUn.js → VendorDomesticWireDetailsPage-BjmlrfTQ-t6Qb8_Zl.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-glvi0GTU-DLw68imQ.js → VendorFiling1099EditablePage-glvi0GTU-Ctoy4jdk.js} +7 -7
- package/dist/assets/{VendorFirstReviewPage-DUuUM8ZT-UIFfUs4N.js → VendorFirstReviewPage-DUuUM8ZT-CU9frkxN.js} +23 -23
- package/dist/assets/{VendorInternationalWireDetailsPage--Lb-TviQ-CCF4TMxK.js → VendorInternationalWireDetailsPage--Lb-TviQ-DUgeyPBL.js} +13 -13
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-C6KviV2Z-D3kLFHcQ.js → VendorInternationalWireSwiftDetailsPage-C6KviV2Z-CuCByIJB.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-EmHO3wQ0-CEeuSUbZ.js → VendorsAccountsSection-EmHO3wQ0-CSPWzKcg.js} +2 -2
- package/dist/assets/{VerifyDevice-DE3UbLEe--Pskj1Mq.js → VerifyDevice-DE3UbLEe-DJm7Kfur.js} +1 -1
- package/dist/assets/{VideoPlayer-Gw_PLr8F-BcXYYheO.js → VideoPlayer-Gw_PLr8F-BcD3Qyt1.js} +2 -2
- package/dist/assets/{VideoPopup-DPZYhLgy-DukYJkLb.js → VideoPopup-DPZYhLgy-CJt98Dbq.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-CZvToguS-BXOU7iCW.js → WarningsDrawerPage-CZvToguS-Ba7pscqf.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-CQhqngBz-HKLobKLw.js → ZeniAccountDetailPage-CQhqngBz-CmRc3epW.js} +6 -6
- package/dist/assets/{ZeniAccountListViewPage-CpX8vqYa-D5cFrlFO.js → ZeniAccountListViewPage-CpX8vqYa-CrcimjI_.js} +5 -5
- package/dist/assets/{ZeniAccountNavBarPieces-DsUwG15z-DUllEiZw.js → ZeniAccountNavBarPieces-DsUwG15z-DiPlFFTl.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-DA611IgH-C3rU7vC2.js → ZeniAccountPromoPage-DA611IgH-CipxvQgU.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-CJv2Fk1i-D14nFBbc.js → ZeniAccountSetupPage-CJv2Fk1i-BEZSbbPm.js} +3 -3
- package/dist/assets/{ZeniCopyright-FFqiWypL-DffEEOor.js → ZeniCopyright-FFqiWypL-DiiU36pR.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DSrBZUbA-BK28gg1V.js → ZeniTransferAmountSlider-DSrBZUbA-BFqVxMPD.js} +1 -1
- package/dist/assets/{analytics-CThNEnNw.js → analytics-XaDXTZcq.js} +1 -1
- package/dist/assets/{analyticsHelper-DZktPTuO.js → analyticsHelper-CPNXs_BN.js} +1 -1
- package/dist/assets/{analyticsHelper-CczQLvkM-DIUzCxU0.js → analyticsHelper-CczQLvkM-BG3MqU2b.js} +1 -1
- package/dist/assets/{chartTypes-CwQl8aoN-BvppJ7T_.js → chartTypes-CwQl8aoN-DVag5uGx.js} +1 -1
- package/dist/assets/{commonDimensions-B1u_MhON-C0I2HTNT.js → commonDimensions-B1u_MhON-D3_HfKhE.js} +1 -1
- package/dist/assets/{dash.all.min-BUPngCw6.js → dash.all.min-DBAY9LgI.js} +1 -1
- package/dist/assets/{detailCommon-nYxvvV_i-Uo4bq2Po.js → detailCommon-nYxvvV_i-CatRpXM4.js} +1 -1
- package/dist/assets/{downloadPdf-yGlKpV2--C-eO59Y8.js → downloadPdf-yGlKpV2--PjZSq5HD.js} +1 -1
- package/dist/assets/{epic-Bko4IStj.js → epic-BLwHhkRJ.js} +2 -2
- package/dist/assets/{index-KtBRorGi.js → index-CEtuJXY3.js} +1 -1
- package/dist/assets/{index-BxXAQ-Kq.js → index-CdTBIE6I.js} +1 -1
- package/dist/assets/{index-DKkab5BS.js → index-Ci63exms.js} +6 -6
- package/dist/assets/{index-BV-YAw0P.js → index-DYDdrdFx.js} +1 -1
- package/dist/assets/{index-CwsnnJzI.js → index-DrmeEdvK.js} +1 -1
- package/dist/assets/{liveblocks-B3KbWbMM.js → liveblocks-CNYVvsag.js} +1 -1
- package/dist/assets/{lottie-CaGAfnTY.js → lottie-22bRan8M.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-DIAuL28N-xsS0oiYX.js → mapLoadingInProgressToTreeNode-DIAuL28N-uQ9ZpPGq.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DRSmQ56_-CG4Donkj.js → mapSectionWithAcOnlyToTreeNode-DRSmQ56_-BfuaGrUM.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-DOEVwUIo-DvFYvzSg.js → mapSpacerToTreeNode-DOEVwUIo-DiQ0KiMB.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DbnAvW1M-DwP6n0dB.js → mapTimeframeBalancesToTreeNode-DbnAvW1M-DvZ_ljbo.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DkrEWOxt-C5viXNzP.js → mapTimeframeBalancesToTreeNode-DkrEWOxt-u1VbFdjk.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BucoS7vN-DI0_1Fs5.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BucoS7vN-DJb78S-u.js} +1 -1
- package/dist/assets/{react-C2wGlvWj.js → react-BUQtf2po.js} +2 -2
- package/dist/assets/{recharts-CXSQ4XPK.js → recharts-h5iNQbFd.js} +1 -1
- package/dist/assets/{sentry-DxvQlcJu.js → sentry-cYFeB6Pw.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-rZFEkHuM-BoVabqyh.js → toCOABalancesWithID-rZFEkHuM-BjqaEj9u.js} +1 -1
- package/dist/assets/{toChartData-C-dHC-Oz-BVDbQmqa.js → toChartData-C-dHC-Oz-CLJWjMkx.js} +1 -1
- package/dist/assets/{uploadAttachment-D3clfqPu-BH3cXou6.js → uploadAttachment-D3clfqPu-NbmOED_L.js} +15 -15
- package/dist/assets/{uploadReceipts-Bkf_PaOH-BF2MpIUs.js → uploadReceipts-Bkf_PaOH-DuaAGaHX.js} +1 -1
- package/dist/assets/{url-DuX7Wo4B.js → url-B-8T_WZb.js} +1 -1
- package/dist/assets/{url-y5lCWhwX.js → url-DPKHmOp_.js} +1 -1
- package/dist/assets/{utils-C70QTjQC.js → utils-fBOyu0sO.js} +1 -1
- package/dist/assets/{zeni-epic-state-xFtF3OLs.js → zeni-epic-state-BwKvATgd.js} +5 -5
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/ApprovalRulesSettingsPage-DQQw30S5-BhIGD0MP.js +0 -47
- package/dist/assets/CustomerOnboardingContainerPage-DMZOvVMM-KhP9qsWJ.js +0 -1
- package/dist/assets/MagicLinkACHDetailsPage-DwFvuGwG-B16BKcOV.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as x,cO as w,cW as v,F as y,V as r,aK as $,cU as B,y as l,
|
|
1
|
+
import{Q as x,cO as w,cW as v,F as y,V as r,aK as $,cU as B,y as l,eT as z,p as g,u as i,B as T}from"./index-Ci63exms.js";import{n}from"./mui-bYXq4XMS.js";const t={width:new l(343,580,726),height:new l(i[6],i[6]),controlMinHeight:new l(i[4],i[4]),paddingTopBottom:new l(i[2],i[2]),marginRight:new l(i[2],i[2]),labelMarginLeft:new l(i[3],i[4]),labelMarginRight:new l(i[3],i[4]),labelMarginTop:new l(i[2],i[2])},L={infoLabel:new T("extraSmallRegular","smallRegular")},M=y.getLocalizedStrings();function W({isDisabled:e,label:d,addressValueField:o,additionalInfoLabel:h,showAdditionalInfoLabel:p=!1,style:m,hasHoverBorder:b,isOptional:u}){const a=x(),{formState:{errors:c}}=w(),s=v(c,o.name),f=s?h:M.commonSetUp.businessVerification.addressAdditionInfo;return r.jsxs(D,{size:a,style:m,isDisabled:e!=null,isError:s,hasHoverBorder:b??!0,"data-testid":$("labeled-address-value-field",o.name),children:[r.jsx(B,{isDisabled:e,isOptional:u,label:d.label,htmlFor:o.name,style:{marginLeft:t.labelMarginLeft.value(a),marginRight:t.labelMarginRight.value(a),marginTop:t.labelMarginTop.value(a),width:d.width??"auto"}}),r.jsxs(R,{labelWidth:d.width,children:[r.jsx(z,{...o,isDisabled:e,style:{minHeight:t.controlMinHeight.value(a),paddingTop:t.paddingTopBottom.valuePx(a),paddingBottom:t.paddingTopBottom.valuePx(a),width:"-webkit-fill-available",display:"flex",flexGrow:1,...o.style}}),(p||s)&&r.jsx(P,{size:a,isError:s,children:f})]})]})}const D=n.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: flex-start;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as d,V as i,aK as o,
|
|
1
|
+
import{Q as d,V as i,aK as o,eE as r,cU as n,o as s,y as c}from"./index-Ci63exms.js";import{b,n as h}from"./mui-bYXq4XMS.js";const y={width:new c(343,580,726)};function p({label:e,checkBoxField:l,style:t}){const a=d();return i.jsxs(m,{size:a,style:t,isDisabled:l.isDisabled,"data-testid":o(l.name,"labeled-check-box-field"),isSelected:l.defaultChecked??!1,children:[i.jsx(r,{...l,style:{...l.style}}),i.jsx(n,{isDisabled:l.isDisabled,label:e.label,labelStyle:e.style,htmlFor:l.name,style:{display:"flex",flex:1,minHeight:s.sp4,marginLeft:s.sp2,width:e.width,backgroundColor:"inherit",...e.style}})]})}const m=h.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
flex-direction: row;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as H,cO as P,cW as F,V as t,aK as j,cU as _,y as f,p as u,u as s,cX as G,B as Q,o as i,d as X,F as q,
|
|
1
|
+
import{Q as H,cO as P,cW as F,V as t,aK as j,cU as _,y as f,p as u,u as s,cX as G,B as Q,o as i,d as X,F as q,eO as K,P as U,dh as Y,cq as A,bG as S,cY as J,dI as Z,b as k,bE as ee,_ as le}from"./index-Ci63exms.js";import{n as a}from"./mui-bYXq4XMS.js";const te=({allValues:e,selectedValue:r,name:o,onSelectedValueChanged:n,isDisabled:d,placeholder:h,isOptionRemovable:$=!0,addIconInCreateLabel:m,getLabelForId:b,tagProperties:x,hasError:I,style:c})=>{const w=X(),y=Se(e,b),O=q.getLocalizedStrings().dropDowns,C=y.sort((l,p)=>l.label.localeCompare(p.label)),v=r!=null&&r?z(r,b):void 0,R={container:l=>({...l,width:"100%",...c}),menu:l=>({...l,backgroundColor:w.colors.grey5,borderRadius:i.sp1,boxShadow:`${i.sp0} 2px ${i.sp2} ${w.colors.dropShadowHover}`,border:`1px solid ${w.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${i.sp0} ${i.sp0} ${i.sp0}`,overflow:"hidden"}),menuList:l=>({...l,borderRadius:i.sp1}),input:(l,{selectProps:p})=>({...l,":after":{width:p.inputValue.length>0?i.sp0:"unset"}})},E=l=>t.jsxs(xe,{children:[t.jsx(be,{children:t.jsx(J,{fill:"currentColor",height:i.sp3,width:i.sp3})}),t.jsx(fe,{children:`${O.createOption} "${l}"`})]}),M=l=>{const{menuIsOpen:p,isFocused:L,isDisabled:D,selectProps:W}=l,{value:B}=W;return t.jsx(se,{menuIsOpen:p,isFocused:L,isDisabled:D,selectedValue:B,hasError:I,"data-testid":j("creatable-single-select-control",o),children:t.jsx(S.Control,{...l,className:"select-control",children:l.children})})},T=l=>t.jsx(ye,{children:t.jsxs(S.SingleValue,{...l,children:[l.selectProps.menuIsOpen===!1&&x!=null&&x.isTagShownForOption(l.data.value)===!0&&t.jsx($e,{children:t.jsx(we,{style:x.style,children:x.tagName})}),l.children]})}),N=l=>{const{selectProps:p}=l,{placeholder:L,value:D}=p;return t.jsx(S.Input,{...l,autoComplete:"new-password",placeholder:D==null?L:void 0,"data-testid":j("creatable-single-select-input",o),children:l.children})};return t.jsx(K,{isMulti:!1,onCreateOption:l=>{const p=U(l);n(p)},onChange:l=>{$!==!1&&l?.value!=null&&v?.value===l.value?n(void 0):n(l?.value)},formatCreateLabel:l=>m===!0?E(l):`${O.otherOption} ${l}`,tabSelectsValue:!1,openMenuOnFocus:!0,"data-testid":j("creatable-single-select",o),classNamePrefix:"creatable-single-select-field",createOptionPosition:"last",allowCreateWhileLoading:!0,controlShouldRenderValue:!0,placeholder:h,menuPlacement:"auto",maxMenuHeight:288,defaultValue:v,value:v,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:M,Option:ae,Input:N,SingleValue:T,ValueContainer:ie,DropdownIndicator:ve,IndicatorSeparator:je,ClearIndicator:Ie,Placeholder:oe,MenuList:re},hideSelectedOptions:!1,styles:R,options:C,isClearable:!0,isSearchable:!0,isDisabled:d!=null},Y())},ie=e=>t.jsx(S.ValueContainer,{...e,className:"select-value-container",children:e.children}),re=e=>{const{options:r,children:o,maxHeight:n,getValue:d}=e,[h]=d(),$=r.indexOf(h)*40;return t.jsx(A,{height:o.length>7?n:o.length*40,width:"100%",itemCount:o.length,itemSize:()=>40,initialScrollOffset:$,children:({index:m,style:b})=>t.jsx(pe,{style:b,children:o[m]})})},oe=()=>null,ae=e=>{const{isSelected:r,isDisabled:o,isFocused:n,data:d}=e,h=typeof d.label=="string"?d.label:d.value;return t.jsx(ne,{isFocused:n,isSelected:r,isDisabled:o,children:t.jsx(S.Option,{...e,className:"select-option",children:t.jsxs(de,{"data-testid":j("creatable-single-select-option",h),children:[t.jsx(he,{children:t.jsx(ce,{isSelected:r,isDisabled:o,children:e.label})}),r?t.jsxs(ue,{children:[t.jsx(ge,{className:"right-tick-icon"}),t.jsx(me,{className:"close-tick-icon"})]}):null]})})})},se=a.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
background-color: ${e=>e.theme.colors.grey5};
|
|
4
4
|
cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as C,cO as U,cW as g,V as s,aK as j,cU as O,y as a,
|
|
1
|
+
import{Q as C,cO as U,cW as g,V as s,aK as j,cU as O,y as a,eP as N,F as k,u as i,o,p as A,B as V}from"./index-Ci63exms.js";import{n as d}from"./mui-bYXq4XMS.js";const l={width:new a(343,580,726),height:new a(i[6],i[6]),paddingTopBottom:new a(i[2],i[2]),marginRight:new a(i[2],i[2]),labelMarginLeft:new a(i[3],i[4]),labelMarginRight:new a(i[3],i[4]),labelMarginTop:new a(i[2],i[2])},J={infoLabel:new V("extraSmallRegular","smallRegular")};function H({label:e,isDisabled:r,isOptional:u,style:c,file:p,name:n,registerOptions:b,additionalInfoLabel:f,acceptableTypes:x,sizeLimit:y,filemetadataPayload:w,deleteFileStatusById:$,updateFileStatusById:z,filesEndPoint:P,authParams:F,hasError:S=!1,placeholderText:E,showPhotoPicker:v,useMobileCam:B,showUploadSuccessAnimation:T,showWebCamPopUpCloseIcon:D,updateFilesEntity:L,onDeleteFile:M,onEditFileName:R,onFileSizeError:I}){const t=C(),{formState:{errors:m}}=U(),h=g(m,n),W=g(m,`${n}.fileName`);return s.jsxs(K,{size:t,style:c,isDisabled:r!=null,"data-testid":j("document-field",n),children:[s.jsx(O,{isDisabled:r,label:e.label,isOptional:u,style:{marginLeft:l.labelMarginLeft.value(t),marginRight:l.labelMarginRight.value(t),marginTop:l.labelMarginTop.value(t),width:e.width??"auto",...e.style}}),s.jsxs(q,{labelWidth:e.width,size:t,children:[s.jsx(N,{name:n,filesEndPoint:P,authParams:F,registerOptions:b,file:p,sizeLimit:y,acceptableTypes:x,isDisabled:r==="disabled"||r==="readonly",filemetadataPayload:w,deleteFileStatusById:$,updateFileStatusById:z,hasError:S,updateFilesEntity:L,onFileSizeError:I,onDeleteFile:M,onEditFileName:R,placeholderText:E,showPhotoPicker:v,useMobileCam:B,showWebCamPopUpCloseIcon:D,showUploadSuccessAnimation:T}),h&&s.jsx(G,{size:t,isError:h,children:W&&p!=null?k.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:f})]})]})}const K=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: ${e=>e.size==="small"?"column":"row"};
|
|
4
4
|
align-items: flex-start;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as I,d as O,cO as u,cW as R,V as r,o,cX as T,bO as B,b as P,gb as A,p as l,B as M,bE as U}from"./index-
|
|
1
|
+
import{Q as I,d as O,cO as u,cW as R,V as r,o,cX as T,bO as B,b as P,gb as A,p as l,B as M,bE as U}from"./index-Ci63exms.js";import{n as i}from"./mui-bYXq4XMS.js";const W={infoLabel:new M("extraSmallRegular","smallRegular")};function Y({isDisabled:e,label:b,formattedText:s,dropdownStyle:m,style:f,additionalInfoLabel:x,showAdditionalInfoLabel:y=!0,isSaveError:n=!1,showTickIcon:w,showErrorInfoLabel:$,errorInfoLabel:L,registerOptions:k,defaultValue:p,isSelectDisabled:D,menuPlacement:j,name:v,placeholderLabel:E}){const a=I(),h=O(),{formState:{errors:S}}=u(),d=R(S,s.name),{control:z}=u(),V=t=>typeof t=="string"?t.toLocaleUpperCase():t.toString().toLocaleUpperCase();return r.jsxs(X,{size:a,style:f,isDisabled:e!=null,isError:d||n,children:[r.jsx(H,{windowSize:a,style:{width:b?.width??"auto",marginRight:o.sp2},children:r.jsx(J,{style:{width:"auto",...m},children:r.jsx(T,{name:v,control:z,defaultValue:p.dropDownValue,rules:k,render:({field:{value:t,onChange:C}})=>r.jsx(B,{pickerValues:p.dropDownList.map(c=>c.code),valueToLabel:V,selectedValue:t??void 0,isDisabled:e!=null||D,onPickerSelectionChanged:c=>{C(c)},menuPlacement:j,titleTextStyle:P.standardRegular,titleColor:h.colors.hero,valueOpacity:1,backgroundColor:h.colors.grey5,placeholder:E})})})}),r.jsxs(q,{children:[r.jsx(A,{...s,style:s.style,isDisabled:s.isDisabled,isMasked:!0}),(y||d||n)&&r.jsxs(g,{size:a,isError:d||n,children:[w===!0?r.jsx(F,{children:r.jsx(G,{})}):null,x]}),$===!0&&r.jsx(g,{size:a,isError:!0,children:L})]})]})}const X=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as b,V as r,aK as s,cU as u,y as l,u as t,o as a,ak as m,B as f}from"./index-
|
|
1
|
+
import{Q as b,V as r,aK as s,cU as u,y as l,u as t,o as a,ak as m,B as f}from"./index-Ci63exms.js";import{n}from"./mui-bYXq4XMS.js";const i={width:new l(343,580,726),height:new l(t[6],t[6]),paddingTopBottom:new l(t[2],t[2]),marginRight:new l(t[2],t[2]),labelMarginLeft:new l(t[3],t[4]),labelMarginRight:new l(t[3],t[4]),labelMarginTop:new l(t[2],t[2])},x={infoLabel:new f("extraSmallRegular","smallRegular")};function j({label:e,value:g,additionalInfoLabel:d,style:h,infoLabelStyle:p}){const o=b();return r.jsxs(c,{size:o,style:h,"data-testid":s("labeled-text",e.label),children:[r.jsx(u,{label:e.label,style:{marginLeft:i.labelMarginLeft.value(o),marginRight:i.labelMarginRight.value(o),marginTop:i.labelMarginTop.value(o),width:e.width??"auto"}}),r.jsxs($,{labelWidth:e.width,children:[r.jsx(w,{"data-testid":s("labeled-text-input",e.label),children:g}),d!=null?r.jsx(y,{size:o,style:p,children:d}):null]})]})}const c=n.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: flex-start;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as U,V as l,aK as X,cU as me,o as s,y as I,u as m,cO as Z,cX as ge,cW as fe,d as be,fW as xe,F,B as we,bG as H,fX as q,ao as _,fY as B,bE as G,p as N,b as Y,ak as K,fZ as $e,al as ye,ag as ve}from"./index-
|
|
1
|
+
import{Q as U,V as l,aK as X,cU as me,o as s,y as I,u as m,cO as Z,cX as ge,cW as fe,d as be,fW as xe,F,B as we,bG as H,fX as q,ao as _,fY as B,bE as G,p as N,b as Y,ak as K,fZ as $e,al as ye,ag as ve}from"./index-Ci63exms.js";import{n as r}from"./mui-bYXq4XMS.js";import{T as je}from"./RoleWithToolTip-DSSGBzvw-1jeqwzcs.js";const ee={selectContainerMarginHorizontal:new I(m[2],m[3]),marginTop:new I(m[1],m[0])},Se=r(ye)`
|
|
2
2
|
display: flex;
|
|
3
3
|
gap: ${s.sp2};
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as M,V as l,aK as H,cU as J,y as m,o,u as n,cO as E,cX as K,cW as Q,d as X,b as L,bF as ie,F as te,fT as se,f_ as ae,aH as ne,a$ as de,p as P,bG as B,b8 as ce,bE as pe,cy as ue,f$ as
|
|
1
|
+
import{Q as M,V as l,aK as H,cU as J,y as m,o,u as n,cO as E,cX as K,cW as Q,d as X,b as L,bF as ie,F as te,fT as se,f_ as ae,aH as ne,a$ as de,p as P,bG as B,b8 as ce,bE as pe,cy as ue,f$ as _,cf as q,n as he,ag as Y,ak as ge,al as me,fF as be,fE as fe,bu as xe,fG as ye,bg as we,g0 as ve}from"./index-Ci63exms.js";import{n as d,b as $e}from"./mui-bYXq4XMS.js";import{a as k}from"./core-3dlyNYRL.js";import{Fg as W,Fh as Re}from"./zeni-epic-state-BwKvATgd.js";import{T as je}from"./RoleWithToolTip-DSSGBzvw-1jeqwzcs.js";const N={grpBtnMarginTopBottom:new m(n[1],n[3]),grpBtnMarginLeftRight:new m(n[0],n[3])},Se=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
margin-top: ${e=>N.grpBtnMarginTopBottom.valuePx(e.windowSize)};
|
|
4
4
|
margin-bottom: ${e=>N.grpBtnMarginTopBottom.valuePx(e.windowSize)};
|
|
@@ -11,7 +11,7 @@ import{Q as M,V as l,aK as H,cU as J,y as m,o,u as n,cO as E,cX as K,cW as Q,d a
|
|
|
11
11
|
${e=>e.isDisabled?e.theme.colors.grey1:e.theme.colors.primary};
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
-
`,
|
|
14
|
+
`,Ce=d.div`
|
|
15
15
|
display: flex;
|
|
16
16
|
flex-direction: row;
|
|
17
17
|
&:hover {
|
|
@@ -22,7 +22,7 @@ import{Q as M,V as l,aK as H,cU as J,y as m,o,u as n,cO as E,cX as K,cW as Q,d a
|
|
|
22
22
|
}
|
|
23
23
|
`,ke=d.div`
|
|
24
24
|
border-left: 1px solid ${e=>e.theme.colors.grey1};
|
|
25
|
-
`,A=({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(
|
|
25
|
+
`,A=({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(Se,{windowSize:p,isDisabled:y,children:e.map((u,x)=>l.jsxs(Ce,{"data-testid":H("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":H("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(ke,{className:"verticalLine"}):null]},u.value))})},I={allRolesMarginLeftRight:new m(n[3],n[4])},Pe=d.div`
|
|
26
26
|
display: flex;
|
|
27
27
|
flex-direction: column;
|
|
28
28
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -101,11 +101,11 @@ import{Q as M,V as l,aK as H,cU as J,y as m,o,u as n,cO as E,cX as K,cW as Q,d a
|
|
|
101
101
|
`,Ee=d.div`
|
|
102
102
|
display: flex;
|
|
103
103
|
flex-direction: row;
|
|
104
|
-
`,Ue=d.div``,
|
|
104
|
+
`,Ue=d.div``,Fe=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,15 +135,15 @@ import{Q as M,V as l,aK as H,cU as J,y as m,o,u as n,cO as E,cX as K,cW as Q,d a
|
|
|
135
135
|
margin-right: ${e=>I.allRolesMarginLeftRight.valuePx(e.windowSize)};
|
|
136
136
|
margin-left: ${e=>I.allRolesMarginLeftRight.valuePx(e.windowSize)};
|
|
137
137
|
color: ${e=>e.theme.mode==="light"?P.brandColorOnyx:P.brandColorPearl};
|
|
138
|
-
`,Je=e=>{switch(e){case"bookkeeping":return l.jsx(
|
|
138
|
+
`,Je=e=>{switch(e){case"bookkeeping":return l.jsx(_e,{});case"zeni_bill_pay":return l.jsx(Ne,{});case"zeni_reimbursements":return l.jsx(He,{});case"zeni_checking":return l.jsx(We,{});case"zeni_cards":return l.jsx(Ae,{});case"zeni_treasury":return l.jsx(Ge,{});default:return null}},Ke=e=>l.jsxs(Me,{children:[l.jsx(Ve,{className:"roleTitle",children:_[e].label}),l.jsx(Le,{className:"roleSubTitle",children:_[e].subTitle}),l.jsx(Ie,{className:"roleSuitableFor",children:_[e].roleSuitableFor})]}),Qe=({name:e,isDisabled:s,selectedValue:i,onSelectionChanged:c})=>{const{formState:{errors:p}}=E(),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]),C=ae(h),v=ne(i.productsByUserRole[t]),R=v.findIndex(z=>z.productType===C),V=v[R].selectedOption?.value===h;R>-1&&(v[R]={...v[R],selectedOption:V?void 0:v[R].options.filter(z=>z.value===h)[0]});const U={userRole:{selectedRole:t,allRootRole:i.userRole.allRootRole},productsByUserRole:{...i.productsByUserRole,[t]:[...v]}};c(U)},[c,i]),y=i.userRole.selectedRole,u=k.useMemo(()=>y!=null?(i.productsByUserRole[y]??[]).map(h=>Re(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,D=h=>h==="employee"&&i.userRole.selectedRole==="employee";return s==="readonly"?l.jsx(Ze,{windowSize:f,children:l.jsx(je,{roles:u})}):l.jsx(De,{children:x.map(h=>l.jsxs(Pe,{windowSize:f,children:[l.jsx(Be,{isError:a,children:l.jsx(de,{isDisabled:s,label:{label:Ke(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(ze,{windowSize:f,isCollapsed:D(h),roleCount:i.productsByUserRole[h].length,children:i.productsByUserRole[h].map(t=>l.jsxs(Oe,{children:[l.jsxs(Ee,{children:[l.jsx(Ue,{children:t.productType&&Je(t.productType)}),l.jsxs(Fe,{children:[l.jsx(Te,{children:t.label}),f==="small"?l.jsx(A,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b}):null,l.jsx(G,{children:t.subTitleUser}),l.jsx(G,{children:t.subTitleAdmin})]})]}),f!=="small"?l.jsx(A,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b,isDisabled:s}):null]},t.productType))})]},h))})},Xe=({name:e,defaultValue:s,isDisabled:i,registerOptions:c})=>{const{control:p}=E();return l.jsx(K,{name:e,control:p,defaultValue:s,rules:c,render:({field:{onChange:a,value:f}})=>{const $=f;return l.jsx(Qe,{onSelectionChanged:b=>{a(b)},selectedValue:$,name:e,isDisabled:i})}})},S={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 yo({isDisabled:e,label:s,rolesDropDownField:i,style:c}){const p=M();return l.jsxs(qe,{size:p,style:c,isDisabled:e!=null,children:[l.jsx(J,{isDisabled:e,label:s.label,htmlFor:i.name,style:{paddingLeft:S.labelPaddingLeft.value(p),paddingRight:S.labelPaddingRight.value(p),paddingTop:S.labelPaddingTop.value(p),paddingBottom:S.labelPaddingBottom.value(p)}}),l.jsx(Xe,{...i,isDisabled:e})]})}const qe=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"};
|
|
142
142
|
background-color: ${e=>e.theme.colors.grey5};
|
|
143
|
-
width: ${e=>
|
|
144
|
-
min-height: ${e=>
|
|
145
|
-
padding-top: ${e=>
|
|
146
|
-
padding-bottom: ${e=>
|
|
143
|
+
width: ${e=>S.width.valuePx(e.size)};
|
|
144
|
+
min-height: ${e=>S.height.valuePx(e.size)};
|
|
145
|
+
padding-top: ${e=>S.paddingTopBottom.valuePx(e.size)};
|
|
146
|
+
padding-bottom: ${e=>S.paddingTopBottom.valuePx(e.size)};
|
|
147
147
|
${e=>e.isDisabled?$e`
|
|
148
148
|
justify-content: space-between;
|
|
149
149
|
`:null}
|
|
@@ -169,7 +169,7 @@ import{Q as M,V as l,aK as H,cU as J,y as m,o,u as n,cO as E,cX as K,cW as Q,d a
|
|
|
169
169
|
border-color: inherit;
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
|
-
`;function Ye({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:D}}=E(),h=Q(D,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(),
|
|
172
|
+
`;function Ye({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:D}}=E(),h=Q(D,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(),C=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,V=L.smallRegular.cssObject,U=V,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:C==="small"||!a?"auto":"263px",paddingTop:"unset",cursor:"pointer",...U,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,...L.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:C==="small"?"230px":"100%",right:C==="small"?o.sp0:"unset",borderRadius:o.sp1,margin:o.sp0,border:C==="small"?`1px solid ${t.colors.grey3}`:"unset"}),menuList:r=>({...r,maxHeight:"240px"}),option:(r,{isSelected:g,isDisabled:T,data:O})=>{const w=W(O.value)&&s===!0,F=Z(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,...V,color:F,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:Z(!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(no,{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:F}=w;return l.jsx(po,{menuIsOpen:g,isFocused:T,isDisabled:O,selectedValue:F,isError:h,isValuePlacedAtEnd:y,windowSize:C,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:lo,Option:oe,MultiValueRemove:ro,IndicatorSeparator:io,MultiValueLabel:to,ValueContainer:so,Placeholder:oo,Input:eo},styles:ee,theme:r=>({...r,colors:{...r.colors,primary:R}}),placeholder:te.getLocalizedStrings().peoplePage.dropdownPlaceHolderText,isOptionDisabled:r=>s===!1&&r.enabled===!1||s===!0&&W(r.value),classNamePrefix:"zeniRolesDropDown"})}const eo=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})},oo=()=>null,Z=(e,s,i,c)=>e&&!s&&i!=="delete"?c.colors.primary:s?c.colors.grey1:i==="delete"?P.important:c.colors.hero,lo=()=>null,ro=()=>null,io=()=>null,to=({children:e,data:s,...i})=>l.jsx(B.MultiValueLabel,{...i,children:l.jsxs(ao,{children:[e,l.jsx(co,{className:"seperator",children:","})]})}),so=({children:e,...s})=>l.jsx(B.ValueContainer,{...s,className:"select-value-container",children:e}),ao=d(ge)`
|
|
173
173
|
padding: ${o.sp0} 2px;
|
|
174
174
|
max-width: 104px;
|
|
175
175
|
white-space: nowrap;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as H,aN as ue,a8 as me,cB as pe,iB as E,il as P,F as Q,cC as he,V as a,ab as ge,g1 as xe,aO as fe,o as t,y as p,c as be,_ as ye,cE as
|
|
1
|
+
import{Q as H,aN as ue,a8 as me,cB as pe,iB as E,il as P,F as Q,cC as he,V as a,ab as ge,g1 as xe,aO as fe,o as t,y as p,c as be,_ as ye,cE as B,iC as Ce,p as je,b as L,bf as we,u as r}from"./index-Ci63exms.js";import{a as R}from"./core-3dlyNYRL.js";import{n as i}from"./mui-bYXq4XMS.js";import{FI as W,FF as Se,FG as De}from"./zeni-epic-state-BwKvATgd.js";import $e from"./TransactionDetailPage-BzaDB50S-CJmLmWoQ.js";import"./sentry-cYFeB6Pw.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";import"./LabeledControlledCheckBoxField-B6ndrF2e-LWUc8yBI.js";import"./TrendWithTransactions-lMD2sZ-C-B_BL8w82.js";import"./TrendChart-C_6ob-SX-BWR7UfmP.js";import"./chartTypes-CwQl8aoN-DVag5uGx.js";import"./toCOABalancesWithID-rZFEkHuM-BjqaEj9u.js";import"./toChartData-C-dHC-Oz-CLJWjMkx.js";import"./NoDataChart-Ce1_TZ5w-BfNH_4T8.js";import"./InsightsSection-B3xD0SZ9-CKtY4Hiz.js";import"./NavigationDots-DyMqwpgy-DXf5bt3G.js";import"./TransactionList-DMd3dgoK-DFvlE42h.js";import"./BoxItem-8PfNfaHq-CqIGaIYz.js";import"./commonDimensions-B1u_MhON-D3_HfKhE.js";import"./uploadAttachment-D3clfqPu-NbmOED_L.js";import"./radio-default-CiSgisfh-Clpw2LWj.js";const V={labelWidth:new p(120,145,160)},ve=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -19,7 +19,7 @@ import{Q as H,aN as ue,a8 as me,cB as pe,iB as E,il as P,F as Q,cC as he,V as a,
|
|
|
19
19
|
background-color: ${e=>e.theme.colors.grey3};
|
|
20
20
|
min-height: 1px;
|
|
21
21
|
max-height: 1px;
|
|
22
|
-
`,O=(e,l)=>`${e}.${l}`;function Le({sectionId:e,jePostingDate:l,qboURL:n,isJELoading:s}){const u=Q.getLocalizedStrings(),{dateFormat:j,jeSchedules:{scheduleDetails:{linkJE:o,scheduleDetailsSection:w}}}=u,h=l.format(j.visual.MMMDCommaYYYYformat),g=H();return a.jsxs(ve,{children:[a.jsx(Ee,{windowSize:g,children:w.header}),a.jsxs(ke,{children:[a.jsx(
|
|
22
|
+
`,O=(e,l)=>`${e}.${l}`;function Le({sectionId:e,jePostingDate:l,qboURL:n,isJELoading:s}){const u=Q.getLocalizedStrings(),{dateFormat:j,jeSchedules:{scheduleDetails:{linkJE:o,scheduleDetailsSection:w}}}=u,h=l.format(j.visual.MMMDCommaYYYYformat),g=H();return a.jsxs(ve,{children:[a.jsx(Ee,{windowSize:g,children:w.header}),a.jsxs(ke,{children:[a.jsx(B,{label:{label:o.jePostingDate,width:V.labelWidth.value(g)},style:{width:"auto"},text:{type:"text",name:O(e,"jePostingDate"),placeholder:o.jeLinkURLPlaceholder,defaultValue:h,autoComplete:"new-password"},isDisabled:"disabled"}),a.jsx(Pe,{}),a.jsx(B,{label:{label:o.jeLink,width:V.labelWidth.value(g)},style:{width:"auto"},text:{type:"url",name:O(e,"qboURL"),placeholder:o.jeLinkURLPlaceholder,defaultValue:n?.toString()??"",autoComplete:"new-password",style:{color:je.link},options:{pattern:Ce}},isDisabled:s?"disabled":void 0})]})]})}const b={containerPaddingLeft:new p(r[3],r[3],r[6]),containerPaddingRight:new p(r[3],r[3],r[8]),navbarContainerPaddingTop:new p(r[2],r[3]),navbarContainerPaddingBottom:new p(r[4],r[5]),emptyScheduleHeight:new p(88,88)},J="linkJETransactionPage",G="linkJETransaction",Z=Q.getLocalizedStrings(),{common:{footer:Y},dateFormat:Ie}=Z,gt=({analytics:e,scheduleTab:l,jeScheduledTransaction:n,localData:s,saveStatus:u,isCOTEnabled:j,transactionDetail:o,firstMonthOfFY:w,qboAppUrl:h,authParams:g,isDisabled:K,controllerUserDetails:I,isVendorBulkUpdateOnTransactionEnabled:X,onUpdateLocalData:ee,onBackClick:A,onCancelClick:te,onSaveClick:ae,onFetchTransactionClick:ne})=>{const m=H(),T=ue(u),y=W(h.toString(),s.jeLink),S=Se(I.controllers),D=De(I.controllerUserIds),U=()=>{const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryLinkCanceled({scheduleType:l,transaction:{...P(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:D}),te()},x=me({mode:"all",reValidateMode:"onChange",resetOptions:{keepDirtyValues:!0,keepErrors:!0},defaultValues:_(s,h),values:_(s,h)}),oe=()=>{ae()},ie=async d=>{ee(d)};R.useEffect(()=>{const d=x.watch((c,{name:ce})=>{ce!=null&&c!=null&&pe(()=>ie(c))});return()=>{d.unsubscribe()}}),R.useEffect(()=>{if(u==="Completed"&&T==="In-Progress"){const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryLinkedSaved({scheduleType:l,transaction:{...P(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:D}),A()}},[u,T,A]);const{common:{strings:{empty:F}},jeSchedules:{scheduleDetails:{linkJE:f}}}=Z,le=()=>{if(s.jeLink?.transactionDetailID!=null){const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryQBOFetched({scheduleType:l,transaction:{...P(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:D}),ne(s.jeLink.transactionDetailID)}},se=o!=null&&o.fetchState==="In-Progress",re=o!=null&&o.fetchState==="Error",$=o!=null&&o.fetchState==="Completed",de=o==null||o.fetchState==="Not-Started",N=s.jeLink.type==="recommended",z=he(x.formState.dirtyFields),v=x.formState.isValid,C=$&&z&&v||$&&N&&v,k=z&&v;return a.jsxs(Ae,{children:[a.jsxs(Ue,{windowSize:m,children:[a.jsx(Re,{windowSize:m,children:f.linkJE}),a.jsx(ze,{children:a.jsx(Be,{onClick:U})})]}),a.jsxs(Te,{children:[a.jsx(Fe,{windowSize:m,children:a.jsx(ge,{...x,children:a.jsx("form",{id:M(J),onSubmit:x.handleSubmit(oe),children:a.jsx(Le,{jePostingDate:s.postingDate,sectionId:G,qboURL:y,isJELoading:o?.fetchState==="In-Progress"})})})}),N?a.jsxs(Oe,{windowSize:m,children:[a.jsx(Je,{})," ",f.zeniRecommendation]}):null,$?a.jsx(Ne,{children:a.jsx($e,{isCOTEnabled:j,transactionDetail:o,firstMonthOfFY:w,transactionAttachmentEndpointToDownload:F,transactionAttachmentsEndpointToFetch:F,attachmentUploadEndpoint:"",authParams:g,isDisabled:K??"readonly",isNavBarVisible:!1,containerStyles:{boxShadow:"none",backgroundColor:"inherit"},headerStyles:{boxShadow:"none",backgroundColor:"inherit"},autoCompleteData:{entityAutoCompleteView:{customer:[],vendor:[],fetchState:"Not-Started"}},isVendorBulkUpdateOnTransactionEnabled:X,onDeleteAttachment:()=>{},autoCompleteActions:{onAutoCompleteInputChange:()=>null,onCancelAutoComplete:()=>null,onAutoCompleteEntity:()=>null,onLoadOptions:()=>null},onUploadAttachmentAttachment:()=>null,enableBackClickOnSave:!0,saveLatestSelectedEntity:()=>null,updateVendorBulkRecommendationsFetchStatus:()=>null,setIsVendorUpdateAllChecked:()=>null})}):null,a.jsxs(Ve,{children:[re?a.jsx(q,{windowSize:m,children:f.transactionFetchError}):null,de?a.jsx(q,{windowSize:m,children:f.jeDetails}):null]}),se?a.jsx(xe,{fetchState:o?.fetchState}):null]}),C||k?a.jsx(fe,{formId:C?M(J):void 0,primaryBtn:{onClick:k&&!C?le:void 0,label:k&&!C?f.fetchJE:Y.save,isLoading:u==="In-Progress",isDisabled:u==="In-Progress"||o?.fetchState==="In-Progress"||o?.fetchState==="Error"},cancelBtn:{label:Y.cancel,shouldResetOnCancel:!0,onClick:U}}):null]})},M=e=>`${e}_form`,_=(e,l)=>({[G]:{qboURL:W(l.toString(),e.jeLink),jePostingDate:e.postingDate.format(Ie.visual.MMMDCommaYYYYformat)}}),Ae=i.div`
|
|
23
23
|
display: flex;
|
|
24
24
|
flex: 1 1 auto;
|
|
25
25
|
width: 100%;
|
|
@@ -40,20 +40,20 @@ import{Q as H,aN as ue,a8 as me,cB as pe,iB as E,il as P,F as Q,cC as he,V as a,
|
|
|
40
40
|
padding-right: ${e=>b.containerPaddingRight.valuePx(e.windowSize)};
|
|
41
41
|
padding-top: ${e=>b.navbarContainerPaddingTop.valuePx(e.windowSize)};
|
|
42
42
|
padding-bottom: ${e=>b.navbarContainerPaddingBottom.valuePx(e.windowSize)};
|
|
43
|
-
`,
|
|
43
|
+
`,Fe=i.div`
|
|
44
44
|
max-width: 100%;
|
|
45
45
|
margin-bottom: ${t.sp5};
|
|
46
|
-
`,
|
|
46
|
+
`,Ne=i.div`
|
|
47
47
|
width: 100%;
|
|
48
48
|
flex: 1;
|
|
49
49
|
margin-bottom: ${t.sp12};
|
|
50
50
|
background-color: inherit;
|
|
51
|
-
`,
|
|
51
|
+
`,ze=i.div`
|
|
52
52
|
display: flex;
|
|
53
53
|
justify-content: flex-end;
|
|
54
54
|
align-items: center;
|
|
55
55
|
padding: ${t.sp3} ${t.sp0};
|
|
56
|
-
`,
|
|
56
|
+
`,Be=i(ye)`
|
|
57
57
|
cursor: pointer;
|
|
58
58
|
color: ${e=>e.theme.colors.hero};
|
|
59
59
|
width: ${t.sp4};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as he,d as _e,a8 as me,y as d,cW as ue,V as t,f6 as
|
|
1
|
+
import{Q as he,d as _e,a8 as me,y as d,cW as ue,V as t,f6 as Be,F as U,ab as ge,ao as He,fY as Ue,o as r,b as We,bQ as Ve,aL as re,cU as Ye,a$ as q,ek as qe,A as Xe,aO as Ge,an as Ke,cE as gr,n as pe,a7 as xr,av as wr,gL as $r,aK as de,g7 as fr,u as b,_ as Je,bS as xe,E as Ze,ak as v,b5 as we,ag as G,dq as Qe,aZ as er,cy as rr,p as X,al as tr,iG as oe,iW as yr,iX as br,iR as vr,dr as Le,fn as jr,eD as Sr}from"./index-Ci63exms.js";import{a as ae}from"./core-3dlyNYRL.js";import{n as i}from"./mui-bYXq4XMS.js";import{Er as Cr}from"./zeni-epic-state-BwKvATgd.js";import{T as ir}from"./RoleWithToolTip-DSSGBzvw-1jeqwzcs.js";import{j as or}from"./CardNumberSubText-W81SQ4GF-D5AG2b-c.js";const Q="cardName",fe=U.getLocalizedStrings().spendManagement.chargeCard.renamePopup;function ji({currentCardName:e,renameFetchState:f,onCancelClick:p,onSubmitClick:c}){const l=he(),y="RenameCardForm",n=me({mode:"all",defaultValues:{[Q]:e},values:{[Q]:e}});ae.useEffect(()=>{n.setFocus(Q)},[]);const h=()=>{p()},R=n.handleSubmit(()=>{const w=n.getValues(Q);w!=null&&c(w)}),N=ue(n.formState.errors,Q),o=U.getLocalizedStrings().common,T=le.largeLabelWidth.value(l);return t.jsx(zr,{windowSize:l,role:"presentation",children:t.jsx(Ke,{onClickAway:()=>p(),children:t.jsxs(kr,{windowSize:l,children:[t.jsx(ge,{...n,children:t.jsxs(Ar,{id:y,onSubmit:w=>{w.preventDefault(),R()},children:[t.jsx(Lr,{windowSize:l,children:fe.heading}),t.jsx(Nr,{hasError:N,children:t.jsx(gr,{label:{label:fe.newName,width:T},style:{width:"auto"},text:{type:"text",name:Q,defaultValue:e,placeholder:fe.placeholder,options:{required:!0,validate:w=>w!=null}}})})]})}),t.jsx(Dr,{children:t.jsxs(Pr,{children:[t.jsx(pe,{label:o.cancel,onClick:h,style:{width:84}}),t.jsx(Tr,{}),t.jsx(pe,{variant:"primary",label:o.texts.update,style:{width:84,whiteSpace:"nowrap"},loading:f==="In-Progress",type:"submit",form:y})]})})]})})})}const le={width:new d(343,500,500),largeLabelWidth:new d(108,108,108),popupLeftRightPadding:new d(b[5],b[6]),popupTopBottomPadding:new d(b[5],b[5])},zr=i.div`
|
|
2
2
|
position: fixed;
|
|
3
3
|
top: ${r.sp0};
|
|
4
4
|
left: ${r.sp0};
|
|
@@ -47,9 +47,9 @@ import{Q as he,d as _e,a8 as me,y as d,cW as ue,V as t,f6 as He,F as U,ab as ge,
|
|
|
47
47
|
background-color: ${e=>e.hasError?X.importantLight:e.theme.colors.background} !important;
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
|
-
`,
|
|
50
|
+
`,Ar=i.form`
|
|
51
51
|
display: contents;
|
|
52
|
-
`,ee="spendLimit",Z=U.getLocalizedStrings().spendManagement.chargeCard.updateSpendLimitPopup,{dateFormat:ye}=U.getLocalizedStrings();function Si({controllerEmails:e,isChargeCardFeatureEnabled:f,isDebitCardFeatureEnabled:p,isDebitCardSetupEnabled:c,isChargeCardSetupEnabled:l,cardDetail:y,transactionStatistics:n,depositAccountLimitFetchState:h,creditAccount:R,creditAccountRepayment:N,signedInUser:o,isDebitCard:T,classListFetchState:w,currentLimitAmount:
|
|
52
|
+
`,ee="spendLimit",Z=U.getLocalizedStrings().spendManagement.chargeCard.updateSpendLimitPopup,{dateFormat:ye}=U.getLocalizedStrings();function Si({controllerEmails:e,isChargeCardFeatureEnabled:f,isDebitCardFeatureEnabled:p,isDebitCardSetupEnabled:c,isChargeCardSetupEnabled:l,cardDetail:y,transactionStatistics:n,depositAccountLimitFetchState:h,creditAccount:R,creditAccountRepayment:N,signedInUser:o,isDebitCard:T,classListFetchState:w,currentLimitAmount:B,currentSpentAmount:H,productInformation:j,creditAccountInformation:W,debitAccountInformation:V,maxLimitAmount:O,isDisabled:K,updateLimitFetchState:J,recommendations:A,cardIssuedByRoles:Y,cardHolderRoles:m,loggedInUserRole:E,cardIssuedByDepartmentName:D,cardHolderDepartmentName:a,onCancelClick:s,onSubmitClick:u}){const g=xr().analytics,$=he(),se="SpendLimitForm",ar=wr();Cr(ar.loggedInUserRoleMap);const te=me({mode:"onBlur",reValidateMode:"onBlur",defaultValues:{[ee]:void 0}}),{control:sr,formState:{errors:nr}}=te,[dr,lr]=ae.useState(void 0),ne=$r({control:sr,name:ee}),Ce=y?.type.code.includes("physical")===!0?y.cardActivationAttemptHistory[0]?.timestamp:y?.createTime,ze=(y?.recommendations??[]).map(x=>x.creditLimit.amount),cr=()=>{y!=null&&Pe({analytics:g,controllerEmails:e,isChargeCardFeatureEnabled:f,cardDetail:y,transactionStatistics:n,depositAccountLimitFetchState:h,creditAccount:R,creditAccountRepayment:N,signedInUser:o,isDebitCard:T,classListFetchState:w,currentLimitAmount:B,recommendedLimitAmounts:ze,cardActivationDate:Ce,cardIssuedByRoles:Y,cardHolderRoles:m,cardIssuedByDepartmentName:D,cardHolderDepartmentName:a,loggedInUserRole:E,clickItem:"Cancel",newSpendLimitAmount:ne,productInformation:j,creditAccountInformation:W,debitAccountInformation:V}),s()},pr=te.handleSubmit(()=>{const x=te.getValues(ee);x!=null&&(Pe({analytics:g,controllerEmails:e,isChargeCardFeatureEnabled:f,cardDetail:y,transactionStatistics:n,depositAccountLimitFetchState:h,creditAccount:R,creditAccountRepayment:N,signedInUser:o,isDebitCard:T,classListFetchState:w,currentLimitAmount:B,recommendedLimitAmounts:ze,cardActivationDate:Ce,cardIssuedByRoles:Y,cardHolderRoles:m,cardIssuedByDepartmentName:D,cardHolderDepartmentName:a,loggedInUserRole:E,productInformation:j,creditAccountInformation:W,debitAccountInformation:V,clickItem:"Update",newSpendLimitAmount:x}),u(x))}),hr=x=>{te.setValue(ee,x,{shouldValidate:!0})},ke=ue(nr,ee),$e=U.getLocalizedStrings().common,mr=ce.largeLabelWidth.value($);ae.useEffect(()=>{lr(Er(H,O,ne))},[ne,H,O]);const ur=(x,ie)=>t.jsxs(Wr,{isSelected:ne===x.amount,onClick:()=>hr(x.amount),"data-testid":de("quick-amount-button",ie.toString()),children:[ie===1&&t.jsx(Vr,{}),re("0,0.[00]",x)]},ie);return t.jsx(Ir,{windowSize:$,role:"presentation","data-testid":de("update-spend-limit-popup"),children:t.jsx(Ke,{onClickAway:()=>s(),children:t.jsxs(Fr,{windowSize:$,children:[t.jsx(ge,{...te,children:t.jsxs(Yr,{id:se,onSubmit:x=>{x.preventDefault(),pr()},children:[t.jsx(Rr,{windowSize:$,children:Z.heading}),t.jsxs(Or,{windowSize:$,children:[Z.currentLimit,$e.strings.space," ",re("0,0.[00]",B),Z.slashMonth]}),t.jsxs(Hr,{hasError:ke,children:[t.jsx(fr,{label:{label:Z.newLimit,width:mr},showAdditionalInfoLabel:ke,additionalInfoLabel:dr,formattedTextField:{type:"number",name:ee,defaultValue:void 0,placeholder:Z.placeholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:x=>!!x&&x>0&&x>H.amount&&(O!=null?x<=O.amount:!0)},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto"},showOutlineOnFocus:!1}),A?.length?t.jsx(Ur,{windowSize:$,children:A?.map((x,ie)=>ur(x.creditLimit,ie))}):null]})]})}),t.jsx(Br,{children:t.jsxs(Mr,{children:[t.jsx(pe,{label:$e.cancel,onClick:cr,style:{width:84},"data-testid":de("update-spend-limit-cancel-button")}),t.jsx(_r,{}),t.jsx(pe,{variant:"primary",label:$e.texts.update,style:{width:84,whiteSpace:"nowrap"},loading:J==="In-Progress",type:"submit",form:se,"data-testid":de("update-spend-limit-submit-button"),disabled:K})]})})]})})})}const Er=(e,f,p)=>{if(p!=null){if(p<=e.amount)return Z.amountBelowError.replace("_amount_",re("0,0.[00]",e));if(f!=null&&p>f.amount)return Z.amountExceedError.replace("_amount_",re("0,0.[00]",f))}},Pe=({analytics:e,controllerEmails:f,isChargeCardFeatureEnabled:p,productInformation:c,creditAccountInformation:l,debitAccountInformation:y,cardDetail:n,transactionStatistics:h,depositAccountLimitFetchState:R,creditAccount:N,creditAccountRepayment:o,signedInUser:T,isDebitCard:w,classListFetchState:B,currentLimitAmount:H,recommendedLimitAmounts:j,cardActivationDate:W,cardIssuedByRoles:V,cardHolderRoles:O,cardIssuedByDepartmentName:K,cardHolderDepartmentName:J,loggedInUserRole:A,clickItem:Y,newSpendLimitAmount:m})=>{n!=null&&B==="Completed"&&h!=null&&h.fetchState==="Completed"&&(!p||N.fetchState==="Completed"&&o.fetchState==="Completed")&&(!w||R==="Completed")&&e.trackCardsUpdateSpendLimitClick(f,c,{cardId:n.id,cardName:n.cardName,cardType:br(n.type.code),cardCategory:n.type.code.includes("physical")?"physical":"virtual",cardLimit:oe(n.limit.amount),cardLastFourDigits:n.accountLast4,cardStatus:n.status.code,cardAssignedDate:n.createTime?.format(ye.analytics.MMMDashDDDashYYYYFormat),cardIssuedDate:n.providerCardCreateTime?.format(ye.analytics.MMMDashDDDashYYYYFormat),cardActivatedDate:W?.format(ye.analytics.MMMDashDDDashYYYYFormat),cardLimitFrequency:n.creditLimitFrequency.name,cardSpentAmount:oe(n.balance.amount),cardAvailableLimit:oe(n.available.amount),cardUtilizationPercent:yr(n.limit.amount,n.available.amount),cardUtilizationAmount:oe(vr(n)),totalNumberOfDeclinedTransactions:h.statistics.totalNumberOfDeclinedTransactions,numberOfDeclinedTransactionsCurrentMonth:h.statistics.numberOfDeclinedTransactionsCurrentMonth,totalNumberOfPaidTransactions:h.statistics.totalNumberOfPaidTransactions,numberOfPaidTransactionsCurrentMonth:h.statistics.numberOfPaidTransactionsCurrentMonth,totalNumberOfCanceledTransactions:h.statistics.totalNumberOfCanceledTransactions,numberOfCanceledTransactionsCurrentMonth:h.statistics.numberOfCanceledTransactionsCurrentMonth,totalNumberOfAuthorizedTransactions:h.statistics.totalNumberOfAuthorizedTransactions,numberOfAuthorizedTransactionsCurrentMonth:h.statistics.numberOfAuthorizedTransactionsCurrentMonth,totalNumberOfTransactionsWithReceipts:h.statistics.totalNumberOfTransactionsWithReceipts,numberOfTransactionsWithReceiptsCurrentMonth:h.statistics.numberOfTransactionsWithReceiptsCurrentMonth},{cardIssuedByName:Le(n.cardCreatedByUser,!1),cardIssuedByEmail:n.cardCreatedByUser?.email,cardIssuedByUserId:n.cardCreatedByUser?.userId,cardIssuedByRole:V,cardIssuedByDepartment:K},{cardholderName:Le(n.cardHolderUser,!1),cardholderEmail:n.cardHolderUser?.email,cardholderRole:O,cardholderUserId:n.cardHolderUser?.userId,cardholderDepartment:J},{cardLimitUpdatedByName:jr(T),cardLimitUpdatedByEmail:T.userEmail,cardLimitUpdatedByRole:A,cardLimitUpdatedByUserId:T.userId},Y,oe(H.amount),j,m!=null?j.includes(m):!1,m,l,y)},ce={width:new d(343,500,500),largeLabelWidth:new d(108,108,108),popupLeftRightPadding:new d(b[5],b[6]),popupTopBottomPadding:new d(b[5],b[5])},Ir=i.div`
|
|
53
53
|
position: fixed;
|
|
54
54
|
top: ${r.sp0};
|
|
55
55
|
left: ${r.sp0};
|
|
@@ -86,10 +86,10 @@ import{Q as he,d as _e,a8 as me,y as d,cW as ue,V as t,f6 as He,F as U,ab as ge,
|
|
|
86
86
|
padding-top: ${r.sp4};
|
|
87
87
|
`,_r=i.div`
|
|
88
88
|
width: ${r.sp3};
|
|
89
|
-
`,
|
|
89
|
+
`,Br=i.div`
|
|
90
90
|
display: flex;
|
|
91
91
|
flex-direction: column;
|
|
92
|
-
`,
|
|
92
|
+
`,Hr=i.div`
|
|
93
93
|
border: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
94
94
|
box-shadow: ${e=>`${r.sp0} 1px 2px ${r.sp0} ${e.theme.colors.issueChargeCardBackgroundShadow}`};
|
|
95
95
|
border-radius: ${r.sp2};
|
|
@@ -127,7 +127,7 @@ import{Q as he,d as _e,a8 as me,y as d,cW as ue,V as t,f6 as He,F as U,ab as ge,
|
|
|
127
127
|
height: ${r.sp3};
|
|
128
128
|
`,Yr=i.form`
|
|
129
129
|
display: contents;
|
|
130
|
-
`,L={navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(16,40,56),containerPaddingRight:new d(16,40,56),largeLabelWidth:new d(120,120,200),webkitLineClamp:new d(2,1,1,1,1),overlayWidth:new d(100,100,58),cardHolderDetailsPaddingX:new d(b[3],b[4]),cardNameSectionMarginLeft:new d(b[7],0),cardHolderDetailsGap:new d(b[1],0),recurringExpenseMerchantWidth:new d(112,240),recurringExpenseNextPaymentDateWidth:new d(112,104),recurringExpenseAmountWidth:new d(100,312),reasonTextFieldMarginTop:new d(b[3],0)},{common:S,closeCard:M}=U.getLocalizedStrings().spendManagement.chargeCard,z="reasonSection",Te="closeCardPage",
|
|
130
|
+
`,L={navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(16,40,56),containerPaddingRight:new d(16,40,56),largeLabelWidth:new d(120,120,200),webkitLineClamp:new d(2,1,1,1,1),overlayWidth:new d(100,100,58),cardHolderDetailsPaddingX:new d(b[3],b[4]),cardNameSectionMarginLeft:new d(b[7],0),cardHolderDetailsGap:new d(b[1],0),recurringExpenseMerchantWidth:new d(112,240),recurringExpenseNextPaymentDateWidth:new d(112,104),recurringExpenseAmountWidth:new d(100,312),reasonTextFieldMarginTop:new d(b[3],0)},{common:S,closeCard:M}=U.getLocalizedStrings().spendManagement.chargeCard,z="reasonSection",Te="closeCardPage",I=(e,f)=>`${e}.${f}`,De=e=>`${e}_form`,{common:be,dateFormat:qr,cockpit:Xr}=U.getLocalizedStrings(),Ci=({showCloseCardDrawer:e,onCloseCloseCardDrawer:f,isChargeCardAdmin:p,chargeCardsByCardId:c,cardRecurringExpensesByCardId:l,cardRecurringExpenseFetchState:y,closeCardFetchState:n,onRemoveCardClick:h,onConfirmClick:R,onDismissClick:N})=>{const o=he(),T=_e(),[w,B]=ae.useState(Object.fromEntries(Object.keys(l).map((a,s)=>[a,s===0]))),H=a=>{B(s=>s[a]?{...s,[a]:!1}:{...Object.fromEntries(Object.keys(s).map(u=>[u,!1])),[a]:!0})},j=me({mode:"all",reValidateMode:"onBlur",defaultValues:{[z]:{reason:void 0,reasonType:void 0}},values:{[z]:{reason:void 0,reasonType:void 0}}}),W=L.largeLabelWidth.value(o),{isValid:V,errors:O}=j.formState,K=a=>`${c[a].cardHolderUser?.firstName??""} ${c[a].cardHolderUser?.lastName??""}`,J=ue(O,I(z,"reasonType")),A=j.watch("reasonSection.reasonType"),Y=j.handleSubmit(()=>{if(V){const a=j.getValues(),s={reason:a[z].reason,reasonType:a[z].reasonType};R(s)}}),m=Object.keys(l).length>1,E=Object.keys(l).length,D=Object.values(l).reduce((a,s)=>a+s.length,0);return t.jsx(Be,{anchor:"right",open:e,onClose:f,PaperProps:{style:{width:L.overlayWidth.valuePercentage(o),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:T.colors.black,opacity:.75,cursor:"pointer"}}},transitionDuration:250,children:t.jsxs(Gr,{windowSize:o,children:[t.jsxs(Kr,{windowSize:o,children:[t.jsx(Jr,{windowSize:o,children:t.jsx(Qr,{onClick:()=>{N()}})}),o==="small"?t.jsx(nt,{windowSize:o,children:m?M.closeCards:M.closeCard}):t.jsx(dt,{children:m?M.closeCards:M.closeCard}),y==="Completed"?t.jsx(ge,{...j,children:t.jsxs("form",{id:De(Te),onSubmit:Y,children:[t.jsxs(lt,{children:[t.jsx(ct,{windowSize:o,children:m?D>0?`${M.multipleCardsHasRecurringExpenses.replace("_number_of_cards_",E.toString()).replace("_number_of_recurring_expenses_",D.toString())} ${D===1?S.expense:S.expenses} ${M.multipleCardsHasRecurringExpensesSuffix}`:M.multipleCardsNoRecurringExpenses.replace("_number_of_cards_",E.toString()):M.firstCardHasRecurringExpenses.replace("_number_of_recurring_expenses_",D.toString()).replace("_expense_",D===1?S.expense:S.expenses)}),m&&t.jsx(Lt,{children:`${E} ${E===1?S.card:S.cards} ${S.selected}`}),Object.keys(l).map((a,s)=>{const u=l[a].length>0;return t.jsxs(pt,{onClick:()=>u?H(a):void 0,isMoreThanOneCard:m,isLastCard:s===Object.keys(l).length-1,children:[t.jsxs(mt,{windowSize:o,children:[t.jsxs(ut,{windowSize:o,children:[t.jsxs(gt,{windowSize:o,children:[c[a].cardHolderUser?.photo!==void 0?t.jsx(et,{src:c[a].cardHolderUser?.photo.href,alt:Xr.userProfileAltText,onError:({currentTarget:g})=>{g.onerror=null,g.src=He},loading:"lazy"}):t.jsx(Ue,{firstName:c[a].cardHolderUser?.firstName??"",lastName:c[a].cardHolderUser?.lastName??"",size:r.sp6}),t.jsxs("div",{children:[t.jsx(ht,{children:K(a)}),t.jsx(xt,{children:t.jsx(ir,{roles:c[a].cardHolderRoles.userRoles})})]})]}),o==="small"&&u&&(w[a]?t.jsx(Ae,{}):t.jsx(Ee,{}))]}),t.jsxs(wt,{windowSize:o,children:[c[a].cardName,t.jsx(or,{cardDetail:c[a],forDetailPage:!0,styles:{...We.smallRegular.cssObject,position:"relative",top:"-5px"}})]}),t.jsxs($t,{windowSize:o,children:[t.jsxs(Ct,{children:[t.jsx(zt,{children:l[a].length}),t.jsx(St,{children:S.recurringExpenses})]}),o!=="small"&&u&&(w[a]?t.jsx(Ae,{}):t.jsx(Ee,{}))]})]}),m&&t.jsx(it,{children:t.jsx(Ve,{variant:"standard",title:be.remove,children:t.jsx(tt,{onClick:()=>h(a)})})}),w[a]&&u&&t.jsxs(t.Fragment,{children:[t.jsx(Ne,{}),t.jsxs(ft,{children:[t.jsxs(kt,{children:[t.jsx(je,{width:o==="small"?112:240,children:S.merchant}),t.jsx(je,{width:o==="small"?112:104,children:S.nextPaymentDate}),t.jsx(Pt,{width:o==="small"?100:312,children:S.amount})]}),l[a].map((g,$)=>t.jsxs("div",{children:[$>0&&t.jsx(Ne,{}),t.jsxs(yt,{children:[t.jsxs(bt,{windowSize:o,children:[t.jsx(ot,{src:g.merchant.logo?.url?.href}),t.jsx(rt,{windowSize:o,children:g.merchant.brandName??g.merchant.name})]}),t.jsx(vt,{windowSize:o,children:g.nextPaymentDate.format(qr.visual.MMMDCommaYYYYformat)}),t.jsx(jt,{windowSize:o,children:re("0,0.00",g.amount)})]},g.merchant.name)]},g.merchant.name))]})]})]},a)})]}),t.jsx(Dt,{windowSize:o,children:S.letUsKnowWhy}),t.jsxs(Tt,{isReasonTextFieldVisible:A==="other",children:[t.jsxs(at,{size:o,children:[t.jsx(Ye,{label:S.reasonLabel,htmlFor:I(z,"reasonType"),style:{padding:`${r.sp2} ${r.sp0}`,width:"fit-content"}}),t.jsxs(st,{labelWidth:W,size:o,children:[t.jsx(q,{label:{label:S.reason.lost},style:{width:"auto"},radioField:{name:I(z,"reasonType"),id:`${I(z,"reasonType")}.Lost or stolen`,value:"Lost or stolen",style:{height:r.sp3,width:r.sp3},registerOptions:{required:!p,validate:a=>p?!0:!!a},radioSize:"small"}}),t.jsx(q,{label:{label:S.reason.fraud},style:{width:"auto"},radioField:{name:I(z,"reasonType"),id:`${I(z,"reasonType")}.Fraud detected`,value:"Fraud detected",style:{height:r.sp3,width:r.sp3},registerOptions:{required:!p,validate:a=>p?!0:!!a},radioSize:"small"}}),t.jsx(q,{label:{label:S.reason.not_needed},style:{width:"auto"},radioField:{name:I(z,"reasonType"),id:`${I(z,"reasonType")}.Not needed`,value:"Not needed",style:{height:r.sp3,width:r.sp3},registerOptions:{required:!p,validate:a=>p?!0:!!a},radioSize:"small"}}),t.jsx(q,{label:{label:S.reason.other},style:{width:"auto"},radioField:{name:I(z,"reasonType"),id:`${I(z,"reasonType")}.other`,value:"other",style:{height:r.sp3,width:r.sp3},registerOptions:{required:!p,validate:a=>p?!0:!!a},radioSize:"small"}})]})]}),A==="other"?t.jsx(qe,{style:{height:r.sp6,width:"100%",backgroundColor:T.colors.background,marginTop:`${L.reasonTextFieldMarginTop.valuePx(o)}`},type:"text",name:I(z,"reason"),placeholder:M.reasonPlaceholder,className:"reason-text-field",registerOptions:{required:!p,validate:a=>p?!0:!!a}}):A==null&&!p&&J?t.jsx(Zr,{children:M.youNeedToProvideReasonToCloseCard}):null]})]})}):t.jsx(Xe,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 210px)"}})]}),y==="Completed"&&t.jsx(Ge,{style:{zIndex:4,paddingTop:r.sp3,paddingBottom:r.sp3},formId:De(Te),helperStyle:{paddingTop:r.sp0,paddingBottom:r.sp0},primaryBtn:{label:be.confirm,isLoading:n==="In-Progress",variant:"danger"},cancelBtn:{label:be.cancel,style:{width:"90px"},onClick:()=>{N?.()}}})]})})},Gr=i.div`
|
|
131
131
|
display: flex;
|
|
132
132
|
flex-direction: column;
|
|
133
133
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -336,13 +336,13 @@ import{Q as he,d as _e,a8 as me,y as d,cW as ue,V as t,f6 as He,F as U,ab as ge,
|
|
|
336
336
|
`,Lt=i(we)`
|
|
337
337
|
color: ${e=>e.theme.colors.primary};
|
|
338
338
|
padding: ${r.sp3} ${r.sp0};
|
|
339
|
-
`,
|
|
339
|
+
`,Ae=i(Qe)`
|
|
340
340
|
width: ${r.sp4};
|
|
341
341
|
height: ${r.sp4};
|
|
342
342
|
min-width: ${r.sp4};
|
|
343
343
|
min-height: ${r.sp4};
|
|
344
344
|
color: inherit;
|
|
345
|
-
`,
|
|
345
|
+
`,Ee=i(er)`
|
|
346
346
|
cursor: pointer;
|
|
347
347
|
width: ${r.sp4};
|
|
348
348
|
height: ${r.sp4};
|
|
@@ -374,14 +374,14 @@ import{Q as he,d as _e,a8 as me,y as d,cW as ue,V as t,f6 as He,F as U,ab as ge,
|
|
|
374
374
|
margin-bottom: ${r.sp3};
|
|
375
375
|
margin-top: ${r.sp7};
|
|
376
376
|
color: ${e=>e.theme.colors.primary};
|
|
377
|
-
`,P={navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(16,40,56),containerPaddingRight:new d(16,40,56),largeLabelWidth:new d(120,120,200),webkitLineClamp:new d(2,1,1,1,1),overlayWidth:new d(100,100,58),cardHolderDetailsPaddingX:new d(b[3],b[4]),cardNameSectionMarginLeft:new d(b[7],0),cardHolderDetailsGap:new d(b[1],0),recurringExpenseMerchantWidth:new d(112,240),recurringExpenseNextPaymentDateWidth:new d(112,104),recurringExpenseAmountWidth:new d(100,312),reasonTextFieldMarginTop:new d(b[3],0)},{lockCard:_,common:C}=U.getLocalizedStrings().spendManagement.chargeCard,k="reasonSection",
|
|
377
|
+
`,P={navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(16,40,56),containerPaddingRight:new d(16,40,56),largeLabelWidth:new d(120,120,200),webkitLineClamp:new d(2,1,1,1,1),overlayWidth:new d(100,100,58),cardHolderDetailsPaddingX:new d(b[3],b[4]),cardNameSectionMarginLeft:new d(b[7],0),cardHolderDetailsGap:new d(b[1],0),recurringExpenseMerchantWidth:new d(112,240),recurringExpenseNextPaymentDateWidth:new d(112,104),recurringExpenseAmountWidth:new d(100,312),reasonTextFieldMarginTop:new d(b[3],0)},{lockCard:_,common:C}=U.getLocalizedStrings().spendManagement.chargeCard,k="reasonSection",Ie="lockCardPage",F=(e,f)=>`${e}.${f}`,Fe=e=>`${e}_form`,{common:ve,dateFormat:Nt,cockpit:At}=U.getLocalizedStrings(),zi=({showLockCardDrawer:e,onCloseLockCardDrawer:f,isChargeCardAdmin:p,chargeCardsByCardId:c,cardRecurringExpensesByCardId:l,cardRecurringExpenseFetchState:y,lockCardFetchState:n,onRemoveCardClick:h,onConfirmClick:R,onDismissClick:N})=>{const o=he(),T=_e(),[w,B]=ae.useState(Object.fromEntries(Object.keys(l).map((s,u)=>[s,u===0]))),H=s=>{B(u=>u[s]?{...u,[s]:!1}:{...Object.fromEntries(Object.keys(u).map(g=>[g,!1])),[s]:!0})},j=me({mode:"all",reValidateMode:"onBlur",defaultValues:{[k]:{reason:void 0,reasonType:void 0}},values:{[k]:{reason:void 0,reasonType:void 0}}}),W=P.largeLabelWidth.value(o),{isValid:V,errors:O}=j.formState,K=s=>`${c[s].cardHolderUser?.firstName??""} ${c[s].cardHolderUser?.lastName??""}`,J=ue(O,F(k,"reasonType")),A=j.watch("reasonSection.reasonType"),Y=j.handleSubmit(()=>{if(V){const s=j.getValues(),u={reason:s[k].reason,reasonType:s[k].reasonType};R(u)}}),m=Object.keys(l).length>1,E=Object.keys(l).length,D=Object.values(l).reduce((s,u)=>s+u.length,0),a=l[Object.keys(l)[0]].length>0;return t.jsx(Be,{anchor:"right",open:e,onClose:f,PaperProps:{style:{width:P.overlayWidth.valuePercentage(o),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:T.colors.black,opacity:.75,cursor:"pointer"}}},transitionDuration:250,children:t.jsxs(Et,{windowSize:o,children:[t.jsxs(It,{windowSize:o,children:[t.jsx(Ot,{windowSize:o,children:t.jsx(_t,{onClick:()=>{N()}})}),o==="small"?t.jsx(qt,{windowSize:o,children:m?_.lockCards:_.lockCard}):t.jsx(Xt,{children:m?_.lockCards:_.lockCard}),y==="Completed"?t.jsx(ge,{...j,children:t.jsxs("form",{id:Fe(Ie),onSubmit:Y,children:[t.jsxs(Gt,{children:[t.jsx(Kt,{windowSize:o,children:m?D>0?`${_.multipleCardsHasRecurringExpenses.replace("_number_of_cards_",E.toString()).replace("_number_of_recurring_expenses_",D.toString())} ${D===1?C.expense:C.expenses}.`:_.multipleCardsNoRecurringExpenses.replace("_number_of_cards_",E.toString()):a?_.firstCardHasRecurringExpenses.replace("_number_of_recurring_expenses_",D.toString()).replace("_expense_",D===1?C.expense:C.expenses):_.firstCardNoRecurringExpenses}),m&&t.jsx(mi,{children:`${E} ${E===1?C.card:C.cards} ${C.selected}`}),Object.keys(l).map((s,u)=>{const g=l[s].length>0;return t.jsxs(Jt,{onClick:()=>g?H(s):void 0,isMoreThanOneCard:m,isLastCard:u===Object.keys(l).length-1,children:[t.jsxs(Qt,{windowSize:o,children:[t.jsxs(Rt,{windowSize:o,children:[t.jsxs(ei,{windowSize:o,children:[c[s].cardHolderUser?.photo!==void 0?t.jsx(Bt,{src:c[s].cardHolderUser?.photo.href,alt:At.userProfileAltText,onError:({currentTarget:$})=>{$.onerror=null,$.src=He},loading:"lazy"}):t.jsx(Ue,{firstName:c[s].cardHolderUser?.firstName??"",lastName:c[s].cardHolderUser?.lastName??"",size:r.sp6}),t.jsxs("div",{children:[t.jsx(Zt,{children:K(s)}),t.jsx(ri,{children:t.jsx(ir,{roles:c[s].cardHolderRoles.userRoles})})]})]}),o==="small"&&g&&(w[s]?t.jsx(Oe,{}):t.jsx(Me,{}))]}),t.jsxs(ti,{windowSize:o,children:[c[s].cardName,t.jsx(or,{cardDetail:c[s],forDetailPage:!0,styles:{...We.smallRegular.cssObject,position:"relative",top:"-5px"}})]}),t.jsxs(ii,{windowSize:o,children:[t.jsxs(li,{children:[t.jsx(pi,{children:l[s].length}),t.jsx(ci,{children:C.recurringExpenses})]}),o!=="small"&&g&&(w[s]?t.jsx(Oe,{}):t.jsx(Me,{}))]})]}),m&&t.jsx(Ft,{children:t.jsx(Ve,{variant:"standard",title:ve.remove,children:t.jsx(Ut,{onClick:()=>h(s)})})}),w[s]&&g&&t.jsxs(t.Fragment,{children:[t.jsx(Re,{}),t.jsxs(oi,{children:[t.jsxs(hi,{children:[t.jsx(Se,{width:o==="small"?112:240,children:C.merchant}),t.jsx(Se,{width:o==="small"?112:104,children:C.nextPaymentDate}),t.jsx(ui,{width:o==="small"?100:312,children:C.amount})]}),l[s].map(($,se)=>t.jsxs("div",{children:[se>0&&t.jsx(Re,{}),t.jsxs(ai,{children:[t.jsxs(si,{windowSize:o,children:[t.jsx(Wt,{src:$.merchant.logo?.url?.href}),t.jsx(Ht,{windowSize:o,children:$.merchant.brandName??$.merchant.name})]}),t.jsx(ni,{windowSize:o,children:$.nextPaymentDate.format(Nt.visual.MMMDCommaYYYYformat)}),t.jsx(di,{windowSize:o,children:re("0,0.00",$.amount)})]},$.merchant.name)]},$.merchant.name))]})]})]},s)})]}),t.jsx(xi,{windowSize:o,children:C.letUsKnowWhy}),t.jsxs(gi,{isReasonTextFieldVisible:A==="other",children:[t.jsxs(Vt,{size:o,children:[t.jsx(Ye,{label:C.reasonLabel,htmlFor:F(k,"reasonType"),style:{padding:`${r.sp2} ${r.sp0}`,width:"fit-content"}}),t.jsxs(Yt,{labelWidth:W,size:o,children:[t.jsx(q,{label:{label:C.reason.lost},style:{width:"auto"},radioField:{name:F(k,"reasonType"),id:`${F(k,"reasonType")}.Lost or stolen`,value:"Lost or stolen",style:{height:r.sp3,width:r.sp3},radioSize:"small"}}),t.jsx(q,{label:{label:C.reason.fraud},style:{width:"auto"},radioField:{name:F(k,"reasonType"),id:`${F(k,"reasonType")}.Fraud detected`,value:"Fraud detected",style:{height:r.sp3,width:r.sp3},radioSize:"small"}}),t.jsx(q,{label:{label:C.reason.not_needed},style:{width:"auto"},radioField:{name:F(k,"reasonType"),id:`${F(k,"reasonType")}.Not needed`,value:"Not needed",style:{height:r.sp3,width:r.sp3},radioSize:"small"}}),t.jsx(q,{label:{label:C.reason.other},style:{width:"auto"},radioField:{name:F(k,"reasonType"),id:`${F(k,"reasonType")}.other`,value:"other",style:{height:r.sp3,width:r.sp3},radioSize:"small"}})]})]}),A==="other"?t.jsx(qe,{style:{height:r.sp6,width:"100%",backgroundColor:T.colors.background,marginTop:`${P.reasonTextFieldMarginTop.valuePx(o)}`},type:"text",name:F(k,"reason"),placeholder:_.reasonPlaceholder,className:"reason-text-field"}):A==null&&!p&&J?t.jsx(Mt,{children:_.youNeedToProvideReasonToLockCard}):null]})]})}):t.jsx(Xe,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 210px)"}})]}),y==="Completed"&&t.jsx(Ge,{style:{zIndex:4,paddingTop:r.sp3,paddingBottom:r.sp3},formId:Fe(Ie),helperStyle:{paddingTop:r.sp0,paddingBottom:r.sp0},primaryBtn:{label:ve.confirm,isLoading:n==="In-Progress"},cancelBtn:{label:ve.cancel,style:{width:"90px"},onClick:()=>{N?.()}}})]})})},Et=i.div`
|
|
378
378
|
display: flex;
|
|
379
379
|
flex-direction: column;
|
|
380
380
|
background-color: ${e=>e.theme.colors.grey4};
|
|
381
381
|
overflow-x: hidden;
|
|
382
382
|
height: 100vh;
|
|
383
383
|
width: 100%;
|
|
384
|
-
`,
|
|
384
|
+
`,It=i.div`
|
|
385
385
|
height: auto;
|
|
386
386
|
padding-left: ${e=>`${P.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
387
387
|
padding-right: ${e=>`${P.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
@@ -415,13 +415,13 @@ import{Q as he,d as _e,a8 as me,y as d,cW as ue,V as t,f6 as He,F as U,ab as ge,
|
|
|
415
415
|
&:hover {
|
|
416
416
|
color: ${e=>e.theme.colors.primary};
|
|
417
417
|
}
|
|
418
|
-
`,
|
|
418
|
+
`,Bt=i.img`
|
|
419
419
|
height: ${r.sp6};
|
|
420
420
|
width: ${r.sp6};
|
|
421
421
|
border-radius: 50%;
|
|
422
422
|
justify-content: center;
|
|
423
423
|
color: ${e=>e.theme.colors.hero};
|
|
424
|
-
`,
|
|
424
|
+
`,Ht=i(v)`
|
|
425
425
|
margin-right: ${r.sp3};
|
|
426
426
|
color: inherit;
|
|
427
427
|
-webkit-line-clamp: ${e=>P.webkitLineClamp.value(e.windowSize)};
|
package/dist/assets/{LowBalancePopup-B0BDCEui-GkcadyQj.js → LowBalancePopup-B0BDCEui-BMVW4mzF.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{F as C,Q as A,a8 as R,V as a,ab as W,cm as F,cH as U,y as c,cK as z,o as e,co as V,u as m,b8 as Y,aR as E,bS as N}from"./index-
|
|
1
|
+
import{F as C,Q as A,a8 as R,V as a,ab as W,cm as F,cH as U,y as c,cK as z,o as e,co as V,u as m,b8 as Y,aR as E,bS as N}from"./index-Ci63exms.js";import{n as d}from"./mui-bYXq4XMS.js";import{tG as G,bO as $,bj as S}from"./zeni-epic-state-BwKvATgd.js";const s={labelWidth:new c(152,176,176),paddingBottom:new c(m[3],m[2]),width:new c(300,420,420),paddingRight:new c(m[4],m[3])},H=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${t=>t.theme.colors.grey5};
|
|
@@ -6,13 +6,13 @@ import{F as C,Q as A,a8 as R,V as a,ab as W,cm as F,cH as U,y as c,cK as z,o as
|
|
|
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=d.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 ee({saveDetailsFetchState:t,paymentData:l,onProceedForMarkAsPaid:u,onCancel:h}){const{spendManagement:{billPay:{billDetails:{paymentOutsideZeni:y,paymentDate:g,cancel:n}}},dateFormat:{visual:f,analytics:b}}=C.getLocalizedStrings(),{popUpTitle:x,paymentModeLabel:B,markAsPaid:M,defaultDateInfo:j,paymentModeOptions:w,selectDate:O,selectMethod:P}=y,i=A(),k="payment-outside-zeni-form",r="paymentMode",p="paymentDate",D=R({mode:"all",values:{[r]:{selectedOption:l?.paymentMode,allOptions:w.map(o=>o.value)},[p]:l?.paymentDate?.toDate()}}),L=D.handleSubmit(o=>{u({paymentDate:o[p]!=null?$(o[p].toString()):$(S().startOf("month").format(b.YYYYDashMMDashDDFormat).toString()),paymentMode:o[r]?.selectedOption!=null?
|
|
15
|
+
`;function ee({saveDetailsFetchState:t,paymentData:l,onProceedForMarkAsPaid:u,onCancel:h}){const{spendManagement:{billPay:{billDetails:{paymentOutsideZeni:y,paymentDate:g,cancel:n}}},dateFormat:{visual:f,analytics:b}}=C.getLocalizedStrings(),{popUpTitle:x,paymentModeLabel:B,markAsPaid:M,defaultDateInfo:j,paymentModeOptions:w,selectDate:O,selectMethod:P}=y,i=A(),k="payment-outside-zeni-form",r="paymentMode",p="paymentDate",D=R({mode:"all",values:{[r]:{selectedOption:l?.paymentMode,allOptions:w.map(o=>o.value)},[p]:l?.paymentDate?.toDate()}}),L=D.handleSubmit(o=>{u({paymentDate:o[p]!=null?$(o[p].toString()):$(S().startOf("month").format(b.YYYYDashMMDashDDFormat).toString()),paymentMode:o[r]?.selectedOption!=null?G(o[r]?.selectedOption):"other"})}),I=o=>w.find(T=>T.value===o)?.label??"";return a.jsx(W,{...D,children:a.jsx("form",{id:k,onSubmit:L,children:a.jsx(F,{formId:k,titleComponent:a.jsx(V,{children:x}),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:h},children:a.jsxs(H,{windowSize:i,children:[a.jsx(U,{label:{label:B,width:s.labelWidth.value(i)},style:{width:s.width.valuePx(i)},singleSelectField:{singleSelect:{getLabelForId:I,showTickMark:!1,alwaysShowEyeTooltip:!1,name:r,placeholder:P,showValueEyeIcon:!1,showEyeIconOnSelect:!1},defaultValue:{selectedOption:l?.paymentMode,allOptions:w?.map(o=>o.value)??[]}},isFunctional:!0}),a.jsx(J,{}),a.jsx(z,{label:{label:g,width:s.labelWidth.value(i)},style:{paddingBottom:s.paddingBottom.valuePx(i),width:s.width.valuePx(i),borderRadius:e.sp0},additionalPaymentInfoLabel:j,additionalPaymentInfoLabelStyle:{borderBottomRightRadius:e.sp2,borderBottomLeftRadius:e.sp2,paddingTop:e.sp1,paddingBottom:e.sp1,paddingLeft:e.sp3,paddingRight:s.paddingRight.valuePx(i),textAlign:"left"},dateField:{name:p,placeholder:O,defaultValue:l?.paymentDate,dateFormat:f.defaultInput,maxDate:S(),minDate:$("01 Jan 1900"),autoComplete:"off"}})]})})})})}const te=({withdrawFrom:t,paymentDate:l,onOkClick:u,onCancelClick:h,onClickAway:y})=>{const{dateFormat:g,spendManagement:{billPay:n},common:{strings:f}}=C.getLocalizedStrings();if(t!=null&&l!=null){const b=`${t?.label} ${t?.maskedAccountNumber}`,x=a.jsx(Z,{children:a.jsxs(q,{children:[a.jsx(v,{children:b}),n.insufficientFunds.popUp.hasLowBalance,f.space,n.insufficientFunds.popUp.addMoney,a.jsx(v,{children:l?.format(g.visual.MMMDFormat)}),n.insufficientFunds.popUp.avoidFailure]})});return a.jsx(F,{titleComponent:a.jsx(K,{children:n.insufficientFunds.popUp.title}),primaryButtonText:n.billDetails.buttons.approveAnyways,secondaryButtonText:n.billDetails.editBill,containerStyle:{maxWidth:474},descriptionComponent:x,action:{onOkClick:u,onCancelClick:h,onClickAway:y},secondaryButtonWidth:166,primaryButtonWidth:"auto",showLine:!1,buttonSeparatorStyle:{width:e.sp3},buttonContainerStyle:{paddingBottom:e.sp6}})}},Z=d.div`
|
|
16
16
|
display: flex;
|
|
17
17
|
flex-direction: column;
|
|
18
18
|
align-items: center;
|
|
@@ -21,7 +21,7 @@ import{F as C,Q as A,a8 as R,V as a,ab as W,cm as F,cH as U,y as c,cK as z,o as
|
|
|
21
21
|
padding-right: ${e.sp7};
|
|
22
22
|
margin-top: ${e.sp3};
|
|
23
23
|
white-space: pre-line;
|
|
24
|
-
`,
|
|
24
|
+
`,q=d(Y)`
|
|
25
25
|
color: ${t=>t.theme.colors.hero};
|
|
26
26
|
`,v=d(E)`
|
|
27
27
|
color: ${t=>t.theme.colors.primary};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{V as l}from"./index-Ci63exms.js";import{f as y}from"./ACHDetailsPage-BBq7KpbY-DmD51smT.js";import"./mui-bYXq4XMS.js";import"./core-3dlyNYRL.js";import"./sentry-cYFeB6Pw.js";import"./zeni-epic-state-BwKvATgd.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";import"./BankAccountWarningSection-DakysSbk-CfJ3ZIAx.js";import"./MagicLinkTitleSection-CWw516D8-CjWjg4GW.js";import"./BankAccountSection-C5rYUW3V-B24i3wVy.js";const v=({magicLinkViewState:t,magicLinkBankAccountDetails:a,onSaveHandler:e,onACHDetailsUpdated:o,onFetchBankName:n,isDisabled:i,companyName:r})=>{const{fetchState:m,error:c,bankNameByRouting:p,bankAccountToCreate:u,fetchBankNameByRoutingStatus:s}=a,{currencySymbol:k,amount:f}=t;return l.jsx(y,{bankAccountToCreate:u,bankAccountCreationState:{fetchState:m,error:c},bankNameByRouting:p,fetchBankNameByRoutingStatus:s,onSaveHandler:e,onACHDetailsUpdated:o,onFetchBankName:n,isDisabled:i,companyName:r,isMagicLink:!0,currencySymbol:k,amount:f})};export{v as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{V as S}from"./index-
|
|
1
|
+
import{V as S}from"./index-Ci63exms.js";import{w as b}from"./DomesticWireDetailsPage-CjM1DXnn-ByLr_bfJ.js";import"./mui-bYXq4XMS.js";import"./core-3dlyNYRL.js";import"./sentry-cYFeB6Pw.js";import"./zeni-epic-state-BwKvATgd.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";import"./BankAccountSection-C5rYUW3V-B24i3wVy.js";import"./MagicLinkTitleSection-CWw516D8-CjWjg4GW.js";import"./BankAccountWarningSection-DakysSbk-CfJ3ZIAx.js";import"./MailingDetailsSection-CugAM90r-CMuXq6mA.js";import"./LabeledAddressValueField-DzmwP7hP-7gvUeBGH.js";const U=({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{U as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{V as B}from"./index-
|
|
1
|
+
import{V as B}from"./index-Ci63exms.js";import{f as S}from"./InternationalWireSwiftDetailsPage-Dszmi69h-BjjhlMpG.js";import"./mui-bYXq4XMS.js";import"./core-3dlyNYRL.js";import"./sentry-cYFeB6Pw.js";import"./zeni-epic-state-BwKvATgd.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";import"./BankAccountWarningSection-DakysSbk-CfJ3ZIAx.js";import"./MailingDetailsSection-CugAM90r-CMuXq6mA.js";import"./LabeledAddressValueField-DzmwP7hP-7gvUeBGH.js";import"./MagicLinkTitleSection-CWw516D8-CjWjg4GW.js";const H=({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{H as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aW as s,F as n,V as t,b3 as l,o as i,ae as c,E as a,c as p}from"./index-
|
|
1
|
+
import{aW as s,F as n,V as t,b3 as l,o as i,ae as c,E as a,c as p}from"./index-Ci63exms.js";import{n as o}from"./mui-bYXq4XMS.js";import"./core-3dlyNYRL.js";import"./sentry-cYFeB6Pw.js";import"./zeni-epic-state-BwKvATgd.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";const z=()=>{const[e]=s("Confetti"),r=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:r.successTitle}),t.jsx(h,{children:r.successNote})]})]}):null},m=o.div`
|
|
2
2
|
z-index: 999;
|
|
3
3
|
height: 100vh;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{F as C,aV as p,V as a,E as m,o as t,ak as g,p as d,cf as h}from"./index-
|
|
1
|
+
import{F as C,aV as p,V as a,E as m,o as t,ak as g,p as d,cf as h}from"./index-Ci63exms.js";import{n}from"./mui-bYXq4XMS.js";import{a as i}from"./core-3dlyNYRL.js";const x=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"})),E=({companyName:e,currencySymbol:l,amount:s})=>{const r=C.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen,c=s>0?` ${p("0,0.[00]",s,l)}`:"",o=r.title.replace(/<tenant_name>/,e)+c;return a.jsxs(a.Fragment,{children:[a.jsx(y,{children:o}),a.jsxs(V,{children:[r.description.replace(/<tenant_name>/,e),a.jsxs(f,{children:[a.jsx(w,{}),r.encrypted]})]})]})},f=n(h)`
|
|
2
2
|
display: flex;
|
|
3
3
|
gap: ${t.sp1};
|
|
4
4
|
color: ${d.successDark};
|