@zeniai/web-app-ui 4.14.34-qa → 4.14.35-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-iiVBlQka-BwzGZzbR.js → ACHDetailsPage-B5qIuZya-DhhGJFiO.js} +3 -3
- package/dist/assets/{AIPerformancePage-MBAB5kgB-B8K3J1iD.js → AIPerformancePage-BHB45mP--bMes_tkI.js} +1 -1
- package/dist/assets/AccountInfoPage-Cd5xYT1g-BezVjAGR.js +18 -0
- package/dist/assets/AccountInfoPageContent-CJ7ycVIK-DTztMN2V.js +149 -0
- package/dist/assets/{AccountLockedInfoModal-B1JxHllU-D8YQo6Cx.js → AccountLockedInfoModal-Dox7IuAX-BJBuQmOL.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-DF-X46_u-DSfyKamu.js → AccountReconDetailsDrawerPage-Bqty08m0-CNcZRdSW.js} +1 -1
- package/dist/assets/{AccountRow-DEtntSrL-DQN6__Ng.js → AccountRow-D1cjRJJD--D2oyMqA.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-Cvixqb_6-_JKcyl4L.js → AccountsPromoCardStack-Bs3naJHM-eCRqE4NI.js} +11 -11
- package/dist/assets/{AddAddressForCardDrawer-B1Qfn44J-CKwvHf9L.js → AddAddressForCardDrawer-DZkBMJfp-CbavqjCF.js} +1 -1
- package/dist/assets/{AddToWalletPage-BLxUsh1Y-DjOENQIP.js → AddToWalletPage-CyRfqVDB-fhBwqlyz.js} +1 -1
- package/dist/assets/{AddressRoutes-B9JRerSF.js → AddressRoutes-BOfIecri.js} +1 -1
- package/dist/assets/{AddressScreen-CfU0pxqN.js → AddressScreen-BL1pptQ5.js} +1 -1
- package/dist/assets/{AgingReportsPage-XIzuLRE4-w17wS1R5.js → AgingReportsPage-xBFff3BM-B37Aeh0_.js} +8 -8
- package/dist/assets/{AiCfoScreen-BRwWpLyW.js → AiCfoScreen-B5nbVKeh.js} +1 -1
- package/dist/assets/{AllUserItems-BGMZCYUO-B7Mldc5e.js → AllUserItems-BJf6WPDo-CPycalrU.js} +5 -5
- package/dist/assets/{ApAgingDetailPage-B-1gVAu6-D6PdKU-A.js → ApAgingDetailPage-CjBrPyi8-EnSmKZiu.js} +2 -2
- package/dist/assets/{AppBasePage-CYjdUgY4-Cvt-yGcI.js → AppBasePage-CqDm-hnV-Cb4xx63d.js} +1 -1
- package/dist/assets/{AppDrawerContent-CbF8TOjd-D9lcwo49.js → AppDrawerContent-CVVWj66i-TDtj32fZ.js} +6 -6
- package/dist/assets/{ApprovalRulesSettingsPage-RCtygkuw-BNnzaj0l.js → ApprovalRulesSettingsPage-Cckd2uVA-BuYxkuTi.js} +1 -1
- package/dist/assets/{ArAgingChart-ZwWwEBJ3-rk20lkwC.js → ArAgingChart-CBsqOd-4-Be7GSB8o.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-DtqyngrA-BO2XynIt.js → ArAgingDetailPage-i7JObt60-CQiftrKA.js} +1 -1
- package/dist/assets/{AttachmentView-UxkSFZmq-BUfVfjv7.js → AttachmentView-CzC4skJ3-3dq1WroI.js} +1 -1
- package/dist/assets/{BalancesInsightWithToolTip-Co6ZUc5x--aTwEc-g.js → BalancesInsightWithToolTip-B6umvmgL-BkOE6IRV.js} +2 -2
- package/dist/assets/{BankAccountSection-DnBVOkJC-CPDSPfOj.js → BankAccountSection-Di4sF52j-D_gkfCl5.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-D7OuLiLz-CnjpdW6M.js → BankAccountWarningSection-Cled-2cR-CM49bGSJ.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-BDLTuNLu-LAjrAQJF.js → BankConnectionsSettingsPage-Ccnzq7st-oxNYJAAG.js} +16 -16
- package/dist/assets/{BillDetailPage-V8us93cj-DAlTWroi.js → BillDetailPage-XXOwBfO1-BoigghjD.js} +1 -1
- package/dist/assets/{BillPayApprovalRoutes-CRjAMn3U.js → BillPayApprovalRoutes-D-JPXnec.js} +1 -1
- package/dist/assets/BillPayApprovalRuleDetailPage-DFZ0csaT-u4moAED-.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-C6G_eDX9-Bfhw5F-a.js → BillPayApprovalRulesPage-COCypDcS-Ldsbb0Zg.js} +1 -1
- package/dist/assets/{BillPayPromoPage-CTQSknOB-CQkU1mWk.js → BillPayPromoPage-DOE2YIqC-Qk9YcGXw.js} +11 -11
- package/dist/assets/{BillPayRoutes-DKQ62RT9.js → BillPayRoutes-CBS2uwsj.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-BmgMLaf--ES1CtqR5.js → BillPaySetUpPage-BCJbZDsV-BIjtlBT1.js} +1 -1
- package/dist/assets/{BillingSettingsPage-IHY3ak0N-DkV09JRl.js → BillingSettingsPage-iImtlEmO-B72lsLaH.js} +4 -4
- package/dist/assets/{BillsBulkReviewDrawerPage-ZoFahXYa-BLrjKyuB.js → BillsBulkReviewDrawerPage-B11GWM_0-B4gEY1ob.js} +1 -1
- package/dist/assets/{BoxItem-XoWq-tnh-BjJmrBFm.js → BoxItem-Bxa1M4QU-DyrFdjN6.js} +4 -4
- package/dist/assets/{BusinessVerificationPage-D9HtnNOu-aehnUeCQ.js → BusinessVerificationPage-DSuJFoW1-BwLNb7bU.js} +2 -2
- package/dist/assets/{BusinessVerificationPageScreen-DM_2HDeS.js → BusinessVerificationPageScreen-BQdQDNi4.js} +1 -1
- package/dist/assets/{BusyIndication-BLGcHlgu-Bpswk6Co.js → BusyIndication-9zDqSKBP-C1ZL_6Kc.js} +1 -1
- package/dist/assets/{CardNumberSubText-Cn0EZrNE-CWAYYKOe.js → CardNumberSubText-_ZZbaz_k-DUqImiGz.js} +1 -1
- package/dist/assets/{CashbackDetailPage-Bk5ssPnj-DBYQYc6c.js → CashbackDetailPage-DAZXitLt-p_ZAuWDR.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-Ge9Aw7PA-7BhKZ-yZ.js → ChargeCardDetailPage-B1VIpASk-C6cq7Hcv.js} +20 -20
- package/dist/assets/{ChargeCardListPage-BNLOoSv3-kJJQn2HY.js → ChargeCardListPage-BOBepN-x-Bsjhp0o3.js} +6 -6
- package/dist/assets/{ChargeCardListTable-BoufojYF-Ctlyddwf.js → ChargeCardListTable-YznzSsJo-Ck1z18a-.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage-5lUxK8pF-LRwaIGjI.js → ChargeCardPaymentHistoryPage--jOwsMla-BOhlFspE.js} +14 -14
- package/dist/assets/ChargeCardPromoPage-DIfakIOK-B-zay_30.js +222 -0
- package/dist/assets/{ChargeCardRoutes-CE_xzqxh.js → ChargeCardRoutes-CCifW-tf.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-Dqoel2Do-B15YO0OW.js → ChargeCardSetupPage-0bpVkeJs-SDjQa1Ra.js} +2 -2
- package/dist/assets/{ChargeCardStatementsPage-Dalrj66w-PEmpxN8W.js → ChargeCardStatementsPage-ChWyQlw6-DL7Upt8t.js} +2 -2
- package/dist/assets/{CheckDepositDrawerPage-mYjv1H0f-CojKKN3D.js → CheckDepositDrawerPage-BS7hnyZn-BYnpBPDj.js} +3 -3
- package/dist/assets/{CollapsableReportTable-CIaa7SIH-DVSoJKAV.js → CollapsableReportTable-DNfFkAts-Ba6KUje2.js} +109 -100
- package/dist/assets/{CompanyOfficerDetailsSection-BSFNYauO-D850YK66.js → CompanyOfficerDetailsSection-CrOIN4IW-BMaGz6_3.js} +16 -16
- package/dist/assets/{CompanyPassportCard-B-mBb9Q5-BGp8cd7y.js → CompanyPassportCard-CkzYFTrp-C4EBgPsw.js} +2 -2
- package/dist/assets/{CompanyPassportPage-Blyl_Z-c--NnGP254.js → CompanyPassportPage-FE6yli6h-KGSkM9PK.js} +1 -1
- package/dist/assets/{CompanyPassportScreen-BS_NrRd8.js → CompanyPassportScreen-zFkQa4Cq.js} +1 -1
- package/dist/assets/{CompleteProfile-ySk9I1Ut-TK-gYMQ0.js → CompleteProfile-Cb8i1XgZ-D3q04jkj.js} +1 -1
- package/dist/assets/{ConfettiBurst-CeAc4Ily-C--23SuA.js → ConfettiBurst-BZCXEGYA-C5d5kzSC.js} +1 -1
- package/dist/assets/{ConnectionAuthScreen-CiGpGWMD.js → ConnectionAuthScreen-CM9g7u1v.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-3tX8qIpJ.js → ConstrainedInnerElement-CgdnMeoA-BgAKlXog.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-BRkqkhfw-CIvcW7Pf.js → CreateOrEditVendorPage-CzpSgxbO-Dqm8Zwpt.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-oUIakAtz-CAvPHr87.js → CreditCardPaymentDrawerPage-c_q0MsSO-CdtVaa6P.js} +1 -1
- package/dist/assets/{CurrencySelectField-CSPhUjwG-lrBDW4z2.js → CurrencySelectField-BAh7SHrG-D1tX6Pz9.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-CoOyWe6_-CqbitCEF.js → CustomerOnboardingActivationPage-f3Aa6E5r-PsW9oHee.js} +1 -1
- package/dist/assets/CustomerOnboardingAuthScreen-BMwa29XG.js +1 -0
- package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-DVPtZVWB.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CWNyUuRp-kM5f4mlx.js → CustomerOnboardingDetailPageSkeleton-DYuiWn8s-B_5BYtTr.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-DWx46Z6R-CLbxMC39.js → CustomerOnboardingNoStepsPage-Bh_F0-oC-SfRIKq-U.js} +12 -12
- package/dist/assets/{CustomerOnboardingPage-D86Sj2KP-ChThvvAW.js → CustomerOnboardingPage-B9hSO88_-B5iac515.js} +7 -7
- package/dist/assets/{CustomerOnboardingProductSuitePage-Bo0LFveG-DXr6zIWU.js → CustomerOnboardingProductSuitePage-CG0HKCpQ-Bqjg890b.js} +1 -1
- package/dist/assets/{CustomerOnboardingRoutes-B32JzwEY.js → CustomerOnboardingRoutes-MHYW-e3t.js} +1 -1
- package/dist/assets/{Dashboard-DQLJzr16-8ajoVQ5R.js → Dashboard-BJ_oIHab-B1azilYN.js} +31 -31
- package/dist/assets/{DashboardReportPage-CwfTMXY5-Daspm0l6.js → DashboardReportPage-BemzMw2e-Ywi7e9T3.js} +1 -1
- package/dist/assets/{DashboardRoutes-CDKIVXdz.js → DashboardRoutes-C-92-XEq.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-CUZGIAxW-CoQ7Va6i.js → DashboardSidebarBackgroundAnimation-BtA5oEGG-LNl3VR8y.js} +1 -1
- package/dist/assets/{DefaultTenantHome-BdMoMXCc.js → DefaultTenantHome-Bim9etFd.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-Ci-LxLsk-DpkYzfIT.js → DepositAccTransactionItem-CyFi1P_L-BCRifuhI.js} +5 -5
- package/dist/assets/{DepositAccTransactionListPage-RG7P8vQS-BicQqvfl.js → DepositAccTransactionListPage-DvBRRUdZ-yB8jjVIF.js} +3 -3
- package/dist/assets/{DomesticWireDetailScreen-CNZmf-ak.js → DomesticWireDetailScreen-D0LT5YWt.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-DsPFUOcE-C97tbPQ3.js → DomesticWireDetailsPage-DCDo3aHI-DKoqkJmX.js} +4 -4
- package/dist/assets/{DownloadOverlay-BjTf50Dz-BngOF4Fl.js → DownloadOverlay-D_lL1sPW-1PQmVEsl.js} +1 -1
- package/dist/assets/{DrawerPage-0OFinUxM-DY6RVolf.js → DrawerPage-DesxXhZk-CE9sM7_o.js} +1 -1
- package/dist/assets/{DrawerScreen-Dd2Niphu.js → DrawerScreen-MxSrrJrd.js} +1 -1
- package/dist/assets/{EditPeoplePage-BKcOmYVv-DjZAwBTY.js → EditPeoplePage-QvPy_Six-BwgKBjDc.js} +5 -5
- package/dist/assets/{EditReimbursementDetailPage-BFIHhQbx-CAS_iqEJ.js → EditReimbursementDetailPage-C0ZDkboO-CqRPRQtt.js} +13 -13
- package/dist/assets/EntityDetailPage-l7nXIsyF-CbwI2wUW.js +18 -0
- package/dist/assets/{EntityDetailRoutes-DB5wcfPj.js → EntityDetailRoutes-BEygBdNc.js} +1 -1
- package/dist/assets/{EntitySummarySection-ORJ2pE_k-CojKKN9g.js → EntitySummarySection-BwX0a4JL-BZFiwIuR.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-Dzf7j2zV-DtCtSmNb.js → ExpenseAutomationOverviewPage-EdyHjbff-CXMmwtfI.js} +3 -3
- package/dist/assets/{ExpenseAutomationPage-BRsKGeoM-T0dMJf4X.js → ExpenseAutomationPage-DA22Qofw-BhoqVQ10.js} +1 -1
- package/dist/assets/{ExpenseAutomationRoutes-CGo-MPWO.js → ExpenseAutomationRoutes-ijMZF_ZU.js} +1 -1
- package/dist/assets/{ExpressPayPage-DlBFtMaR-JAoUcgra.js → ExpressPayPage-EMP6inpX-CBzcRvxz.js} +7 -7
- package/dist/assets/{FeaturePreviewPage-C31F3Gmz-DW0MQyCb.js → FeaturePreviewPage-SYJm-3aR-BvJl8rgC.js} +1 -1
- package/dist/assets/{FeaturePreviewScreen-Xsnk0neq.js → FeaturePreviewScreen-BrgEnIPS.js} +1 -1
- package/dist/assets/{FollowStepsSection-BVT2K7mu-L8a-cjiL.js → FollowStepsSection-BxESVqJD-DBgSryEI.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-0cZe1hh0-DnEwqpdI.js → GlobalReviewListPage-D5_ACa-q-Be6ROlgu.js} +1 -1
- package/dist/assets/{InformationCardStack-t8eELRLU-CR-1KqF_.js → InformationCardStack-B_qQUEYD-DWu9uCxP.js} +3 -3
- package/dist/assets/{InsightsCardStack-CJBPZbzD-CmIAX8OK.js → InsightsCardStack-BsQzoVzj-Dm_xsmzm.js} +1 -1
- package/dist/assets/{InsightsSection-tUBzsCix-C1MMhp25.js → InsightsSection-B6CNlTNH-DV_5z3I5.js} +6 -6
- package/dist/assets/{IntegrationsSettingsPage-Ce0yKUWI-CuYIzRU8.js → IntegrationsSettingsPage-DP6fAccq-DrN7ALwc.js} +3 -3
- package/dist/assets/{InternationalWireSwiftDetailsPage-BzR-rKaL-BMKFEJtD.js → InternationalWireSwiftDetailsPage-VdG7bDZi-2y0ea6UL.js} +9 -9
- package/dist/assets/{InternationalWireVerificationPage-7tCXdJ3Y-BfVhZg4Y.js → InternationalWireVerificationPage-COC6lZml-DF2HxV4W.js} +10 -10
- package/dist/assets/{InviteFormPage-DePVC0CH-B9qhol7M.js → InviteFormPage-DN02jRy5-7Lvtg9Hr.js} +1 -1
- package/dist/assets/{InvitePageListView-ChbvDKgQ-cbCv5Fj9.js → InvitePageListView-CP4K9tJi-bRNoOCRv.js} +20 -20
- package/dist/assets/{InvitePeoplePage-DJiEzIeY-BkUhir7D.js → InvitePeoplePage-VTM6kM1u-DFLNYNR3.js} +3 -3
- package/dist/assets/{InvoiceUploadSection-BjNMjhQR-zjdmYVnU.js → InvoiceUploadSection-it-ZYl1N-CPSEMHj6.js} +7 -7
- package/dist/assets/{IssueChargeCardPage-4xbGf5Ut-DCMcjwN7.js → IssueChargeCardPage-CVfuvGey-BDkFfNQU.js} +11 -11
- package/dist/assets/{LabeledAddressValue-Czt7QvSJ-CD9Aduhg.js → LabeledAddressValue-DDrQcHIE-BQQnm587.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-Dl3atH92-C9wYUqfv.js → LabeledAddressValueField-BgWwd5Gw-DnvIsj_n.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-DT_nxhPN-BUvo7K-8.js → LabeledControlledCheckBoxField-CcPO1k23-BZjPsfe4.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-BnljZpX0-BbXC-8fZ.js → LabeledCountryMultiSelectField-BYYjzwUG-BPvc68ab.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-CiInq9yD-DRsosHBZ.js → LabeledCreatableSingleSelectField-CISYMojq-CmzS04aH.js} +1 -1
- package/dist/assets/{LabeledDocumentField-Ceb8vgVH-BZkKKAqB.js → LabeledDocumentField-C_bcFxdY-CD1TCntt.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-B98gNWTE-CawOSouY.js → LabeledDropDownFormattedTextField-ScGGCap8-BdN7qNJy.js} +1 -1
- package/dist/assets/{LabeledEmailInputField-C53P9fJl-Z2TstoOK.js → LabeledEmailInputField-BppuWRbl-Dsaj9M9p.js} +1 -1
- package/dist/assets/{LabeledNameField-BdVztq_8-D10OpiZc.js → LabeledNameField-mxSNQk3k-BpAc_tNL.js} +1 -1
- package/dist/assets/{LabeledSingleSelectField-sjDjhxfQ-Bt2z3QjJ.js → LabeledSingleSelectField-C6ctNzkA-CTrwMQK7.js} +1 -1
- package/dist/assets/{LabeledText-CFJSoGtK-CZ5epgLx.js → LabeledText-C8Y7EOsX-DCuEu6In.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CDiG37rQ-C6kssl4a.js → LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-BLPpr77S.js} +4 -4
- package/dist/assets/{LabeledZeniRolesDropDownField-CQiP2rEh-DntPFlku.js → LabeledZeniRolesDropDownField-BZtreVpj-KqOutsB4.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-ANY7Ns42-BhiQBcK9.js → LinkJETransactionPage-CKq4oiX9-C4YwLVFm.js} +9 -9
- package/dist/assets/{LockCardPage-0piclOz3-COCJUyKc.js → LockCardPage-CZENNby7-DmtCNaPi.js} +6 -6
- package/dist/assets/{LowBalancePopup-CplxkRHP-BGs8KELn.js → LowBalancePopup-1727S1ri-DQfCP7-o.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-BSOlSfNu-DLdN8Rvh.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-D1DTPo0E-DaTDXMgN.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-D_wo_2nm-L7bRQS1f.js +1 -0
- package/dist/assets/{MagicLinkRoutes-B4kpsUud.js → MagicLinkRoutes-DdHE5z12.js} +1 -1
- package/dist/assets/{MagicLinkSignInScreen-D5uIadTT.js → MagicLinkSignInScreen-BN_jDhip.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-BA1LfhVb-C9LyLKwm.js → MagicLinkSuccessPage-QMkZgQLG-CTsjsp6N.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-DLdaV8WG-DB32RhHy.js → MagicLinkTitleSection-CARU1oLQ-DZmT0L5L.js} +1 -1
- package/dist/assets/MailingDetailsSection-ByOPaJ05-Cq55yE-t.js +21 -0
- package/dist/assets/{MobileAppDrawer-Db6wEz5B.js → MobileAppDrawer-C3TNoouV.js} +1 -1
- package/dist/assets/{MoreMenuButton-DrAQ635T-D5jjSMJd.js → MoreMenuButton-BsBKwXvk-DLOnGEff.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-BiDvyO_G-CeGG9xf_.js → MyBankConnectionsSettingsPage-BdgIIhL1-CHxTcS48.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-Bb4_b9o6-aOgnXpMM.js → MyPendingActivationChargeCardListPage-CX38bDdq-Ba-ajqtL.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-nY_eDqfm-CjX8_jlY.js → MyProfileSettingsPage-DYu0Fx6I-BMODc0ew.js} +4 -4
- package/dist/assets/{NavBarWithPicker-Dr5XHgP5-DipOtu26.js → NavBarWithPicker-CGGEvLwe-DGWn5q5A.js} +1 -1
- package/dist/assets/{NavigationArrow-DT82hMh--DseMcfRR.js → NavigationArrow-CTNkKUtV-LsyvHBca.js} +1 -1
- package/dist/assets/{NavigationDots-CwCZ9EAa-_HA0CoRv.js → NavigationDots-Dvce3gHt-H1P3hT7y.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-D1lxnByE-Cl-h3ANA.js → NewGlobalMerchantPage-D_f7z47T-DGuDs_dy.js} +1 -1
- package/dist/assets/{NoDataChart-DCTRXLc7-EBM1CKB5.js → NoDataChart-CrKeqWSr-DJdc5MTN.js} +1 -1
- package/dist/assets/{NoDataTable-D8Xw5pAY-BXvKgMjH.js → NoDataTable-4vPXmPYF-Do6t4z9R.js} +1 -1
- package/dist/assets/{NotFoundPage-B_zPUigU-DIj19qB5.js → NotFoundPage-BLWPU1wU-CBPIYV57.js} +6 -6
- package/dist/assets/{NotFoundScreen-DXnaOvLy.js → NotFoundScreen-CubXCR1V.js} +1 -1
- package/dist/assets/{NotificationRoutes-BKIq8Ht7.js → NotificationRoutes-C2SuMmMM.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-aKLRiMp--CKvGRtqq.js → NotificationSettingsPage-CDiDLX3A-DkD80zQf.js} +4 -4
- package/dist/assets/{NotificationsListConfig-CVEetkBc-Ga3CIQDy.js → NotificationsListConfig-B5pDa4cJ--FUSOPuJ.js} +1 -1
- package/dist/assets/{NotificationsPage-DEw6V83J-BdF4XISU.js → NotificationsPage-Ccl7Dny1-B8jydSw6.js} +14 -14
- package/dist/assets/{OpExByVendorPage-DJMov6Ux-6GxDxMs2.js → OpExByVendorPage-spd-nKV4-BIgnMj0p.js} +6 -6
- package/dist/assets/{OverlayContainerPage-BG9y5C0t-8_-MKFW1.js → OverlayContainerPage-BG9y5C0t-D8k0A9EC.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-RBTh1bFk-Ck7cJPme.js → PandLWithForecastPage-TSoe4Z7F-Ba-yVOXG.js} +3 -3
- package/dist/assets/{PandLWithForecastRoutes-Btf2U6pN.js → PandLWithForecastRoutes-BVdwQZDt.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-D-kQI4nd-PRTE5aBh.js → PaymentAccountSetupBillingAddressSection-9ma8SpIa-CUyIA9r2.js} +1 -1
- package/dist/assets/{PeoplePage-BEc-Oss7-CZ9GLNBp.js → PeoplePage-b5_I0qOw-DAP0N6ei.js} +1 -1
- package/dist/assets/{PeopleRoutes-B8XNBABT.js → PeopleRoutes-CAoitlRn.js} +1 -1
- package/dist/assets/{PerformanceRoutes-COWN278X.js → PerformanceRoutes-CC4-ZbOh.js} +1 -1
- package/dist/assets/{Preview-CIMwFR6h.js → Preview-B3lHkBD5.js} +1 -1
- package/dist/assets/{ProductsCarousel-BRo0P4GW-CYg74cXu.js → ProductsCarousel-C3M0ocdF-CqFoMAuJ.js} +1 -1
- package/dist/assets/{PromoBaseCards-BrXJEufN-DpCBBSNa.js → PromoBaseCards-BOGJI2ws-Bshwoahl.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-BIg9Iais-Bu7slYzO.js → QBOConnectionDialog-CmpnnuzP-D_Utdqzr.js} +1 -1
- package/dist/assets/{QBOConnectionScreen-CMTxTGLB.js → QBOConnectionScreen-W61uspBL.js} +1 -1
- package/dist/assets/{QBOSetupSection-DDoUJ7L6-ChX7ka6s.js → QBOSetupSection-DjnN9dgv-C5X6Mv_4.js} +7 -7
- package/dist/assets/{ReferralListScreen-DZvURbe-.js → ReferralListScreen-CFqALHvq.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRoutes-B0fTE5c5.js → ReimbursementApprovalRoutes--NBUuqoq.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CP0muUGK-DmbqRb9l.js → ReimbursementApprovalRuleDetailPage-D5NXjrO9-Yh9jnSge.js} +3 -3
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-CE-klt57.js → ReimbursementApprovalRuleDetailScreen-Btiyq8yy.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BpVWq3rk-Cihs8V2H.js → ReimbursementApprovalRulesPage-BsCTIqUJ-Z8SJ2BhB.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-pCg86_Ty-BzrQK1ml.js → ReimbursementDetailPage-BbyxE2uL-BwRKVJZ8.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-BW6icjG5-DP-6P5yh.js → ReimbursementPromoPage-CyEgwqcf-KVfjyHVK.js} +8 -8
- package/dist/assets/{ReimbursementRoutes-B0OQr3VA.js → ReimbursementRoutes-B7ZhMTn_.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-B6OhWEWH-BsBBd9B_.js → ReimbursementSetUpPage-RETPkEQd-h93k32Yy.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DmDoqEZh-DA9h4Ju5.js → ReimbursementsBulkReviewDrawerPage-DnmYl0FM-DkzJps2g.js} +1 -1
- package/dist/assets/{ReloadCard-DIFXZM9U-Dw0wHj_z.js → ReloadCard-Bdoo0XiI-DQ7zH5_b.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-BsIDwouQ-DTQN43vt.js → ReportTableViewSelector-Bc1K7mU_-DG7CvQgg.js} +5 -5
- package/dist/assets/{ReportsPage-BFTuYQt2-BOdMPGqx.js → ReportsPage-BOTHMLWh-DQAZC3St.js} +1 -1
- package/dist/assets/{ReportsRoutes-DDZOhFNw.js → ReportsRoutes-DCqEshJz.js} +1 -1
- package/dist/assets/{RevenueChart-BoFq3ebd-Dep8qPIO.js → RevenueChart-DvyZ3aO7-B4HMUW1f.js} +12 -12
- package/dist/assets/{ReviewDetailsPage-6kCQzaHm-vpPb22cD.js → ReviewDetailsPage-BIMg1n2e-DLbpGZaf.js} +5 -5
- package/dist/assets/{ReviewOverlay-Dhb-kL6G-7aZ79rRC.js → ReviewOverlay-CxwoiOLC-BQk8pdfC.js} +1 -1
- package/dist/assets/{RewardsRoutes-Tsydnhre.js → RewardsRoutes-CSIVaJxq.js} +1 -1
- package/dist/assets/{RoleWithToolTip-BfM8Ltz4-C9PA5RE5.js → RoleWithToolTip-Ct3_VuDM-CgjPQD6C.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-Ccewwmwc-P3n6us6f.js → ScheduleDetailsFixedAssetsPage-DiL5Dozk-pNKl0FgE.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-D4LK83qQ-BWZmqAgS.js → ScheduleDetailsPage-5FWpLRtd-l5IGOvvZ.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-BZR2cL6z-DKWBlbjs.js → ScheduleSequenceTable-R3-PsXES-DyxPg04Q.js} +1 -1
- package/dist/assets/{ScreenRoutes-BshWKT8L.js → ScreenRoutes-DIrZFSvZ.js} +2 -2
- package/dist/assets/{SetUpAccountSection-CxjYbrXu-s5rUPVRP.js → SetUpAccountSection-CctbMmoK-B53PK3Go.js} +1 -1
- package/dist/assets/{SettingsRoutes-D0MoVRRP.js → SettingsRoutes-D3PUQXPp.js} +1 -1
- package/dist/assets/{SetupPagesScreen-ClrT9x-n.js → SetupPagesScreen-KqbTYQgM.js} +1 -1
- package/dist/assets/{SignIn-CVmtPGKL-DafJ0myc.js → SignIn-CmgmnRm4-CYN0bjHA.js} +8 -8
- package/dist/assets/{SignInScreen-B0MWBUA7.js → SignInScreen-BDFrycHi.js} +1 -1
- package/dist/assets/{SignOutScreen-BHQQUANt.js → SignOutScreen-CGJ8k7ri.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-BLjP9T8h-CZg1c21r.js → SpendManagementListViewPage-CFUxCqkU-BnIDgS6j.js} +8 -8
- package/dist/assets/{SpendManagementPerTabPage-Ck4brjun-DYiWnXoY.js → SpendManagementPerTabPage-C-kqNTci-BPWoCLvk.js} +21 -21
- package/dist/assets/{SpendManagementSection-DAqR2c98-CppRRTDr.js → SpendManagementSection-CIz4nE_w-BnkkQIXw.js} +9 -9
- package/dist/assets/{StatementItem-B_iG99XI-D9Qua-97.js → StatementItem-vVtoBN2w-Dv2jVRGi.js} +2 -2
- package/dist/assets/{StatementsPage-DcKziEfZ-D6FL0knM.js → StatementsPage-As5WOnMR-xJO4oteU.js} +2 -2
- package/dist/assets/{StatusSwitcher-BI-dgnrK-wXJw_ZNb.js → StatusSwitcher-Bv-ozN6U-aFxpsrjy.js} +1 -1
- package/dist/assets/{SubTabSwitcher-BpNI5Wke-PE6NJvqU.js → SubTabSwitcher-D7QeM6nb-bmup9lZe.js} +1 -1
- package/dist/assets/{SuccessAnimation-AojDorqX-BdMSXfoJ.js → SuccessAnimation-hijccO_0-BgS0j6Ks.js} +1 -1
- package/dist/assets/{SummaryCard-HW-1WXN9-CKrqyyU_.js → SummaryCard-C2qoTsAY-DD3uQEFW.js} +1 -1
- package/dist/assets/{TaskDetailPage-Cwe193JO-i9Sljen6.js → TaskDetailPage-QMk4DTDK-D5dNR6rN.js} +1 -1
- package/dist/assets/{TaskListScreen-DFbIcDmb.js → TaskListScreen-BN0d0a63.js} +1 -1
- package/dist/assets/{TaskManagementPage-Bz1uP5hK-BIKNCgym.js → TaskManagementPage-BJwp32Ph-YNf3iBQj.js} +30 -30
- package/dist/assets/{TaskRoutes-Co5GAtGe.js → TaskRoutes-DEMuiHnC.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-oORYeFzN-CAiWb64s.js → TimeRangeSwitcher-D00bDDhP-CGwNNnWQ.js} +2 -2
- package/dist/assets/{TimeframeSwitcher-JcJSbn0--DbavpCXX.js → TimeframeSwitcher-DA99HdHt-CKTTRDRO.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-BEZU-KDj-D7lbyLQ0.js → TimeframeSwitcherWithToggle-DyggDIQj-DWVBybzM.js} +2 -2
- package/dist/assets/{TopExCard-CF6z0JWk-BtE5RMXD.js → TopExCard-Z1WabZ8c-DRsgDR4x.js} +1 -1
- package/dist/assets/{TopExDetailPage-DrcKlFuy-ClCuoO0K.js → TopExDetailPage-CzHG4f9E-BM9NWMt3.js} +12 -12
- package/dist/assets/{TransactionActivityLogPage-BB4q0jan-BsaJX_wW.js → TransactionActivityLogPage-CGKnjNfU-YIIG-jBr.js} +1 -1
- package/dist/assets/{TransactionDetailPage-DRG_qosz-4K6JYgr_.js → TransactionDetailPage-1-mLOWSz-CE3-Hi8u.js} +24 -24
- package/dist/assets/{TransactionDetailRoutes-CHu8_uXM.js → TransactionDetailRoutes-BCnSElc9.js} +1 -1
- package/dist/assets/{TransactionDetailScreen-8ecVGvyF.js → TransactionDetailScreen-DkbX0oG8.js} +1 -1
- package/dist/assets/{TransactionList-iw4pyMYF-mPHBoCgm.js → TransactionList-BB-xoIGm-BeosfrmM.js} +11 -11
- package/dist/assets/{TransactionListBig-BljAUwAB-BvX9nmmr.js → TransactionListBig-C5Sf5Xh--B6eKIFdx.js} +1 -1
- package/dist/assets/TransactionListPage-Cj7h1Ros-SOf7w-b8.js +35 -0
- package/dist/assets/{TransactionListRoutes-BH0onuUu.js → TransactionListRoutes-AdVZSKN8.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-DXuYIj-p-INYYwexD.js → TransactionVendorDetailPage-SsrSOk3O-CHAPTeaE.js} +1 -1
- package/dist/assets/{TransferDrawerPage-C3q8h8Zy-DvswHDCp.js → TransferDrawerPage-BvKZ7vHF-ITLn4K_S.js} +15 -15
- package/dist/assets/{TreasuryOverviewPage-DqjFEV9B-B8HEv02z.js → TreasuryOverviewPage-DwvjMR4_-BC_r0SvV.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-ByeK0W_5-7ZtCK_x2.js → TreasuryPromoPage-CtTFvSQW-DMtUAfPQ.js} +14 -14
- package/dist/assets/{TreasuryRoutes-DjIaFsbd.js → TreasuryRoutes-CZR8Qztx.js} +1 -1
- package/dist/assets/TreasuryStatementsPage-Catz8shX-gsqiZvC2.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-DwLyqS86-q3-mZZiq.js → TreasuryTaxLetterPage-D8hzCL5o-CxF7_s4J.js} +3 -3
- package/dist/assets/{TrendChart-Dgh_21FN-BUN7WqwY.js → TrendChart-Bnp4Pcdf-DAHDBSRg.js} +2 -2
- package/dist/assets/{TrendWithTransactions-BgIPapHk-DhBJ4ja-.js → TrendWithTransactions-3D1FvM8G-D5DfweO8.js} +8 -8
- package/dist/assets/{UncategorizedAccountsMappingPage-DIIJcGrj-BEadu1px.js → UncategorizedAccountsMappingPage-DbyY-dYB-icxwXrio.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-DIOZhQOZ-pBfy0J4D.js → UnitIntegrationPage-CTzme1te-CKwPezqe.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-qrcEQmkz-km4_SH9P.js → UploadAdditionalDocumentOverlay-Wl4Spdpn-BP-fxZSw.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-C58w6vC7-BX6NPq24.js → Vendor2FAPopup-D0zYKkIv-BYJemD3t.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-YYX9aQdw-CXB0C692.js +1 -0
- package/dist/assets/{VendorDetailPage-CEQFcNHr-BzpOC2Af.js → VendorDetailPage-Br9wIOnI-Ui00Vq-Y.js} +12 -12
- package/dist/assets/VendorDomesticWireDetailsPage-BpPgQRHI-Cvv6-Sl5.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-Dl7jZYBV-aKmowmhJ.js → VendorFiling1099EditablePage-himC7iD3-CGMBRb4f.js} +5 -5
- package/dist/assets/{VendorFirstReviewPage-yVbtg_tG-DK2E4A2j.js → VendorFirstReviewPage-BbknTCBD-x2LuwDBy.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-DNDv_s8G-COfy135o.js → VendorInternationalWireDetailsPage-CS595Xgc-BWEjYBp2.js} +6 -6
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-yhTjWXvw-CRl0YntK.js +1 -0
- package/dist/assets/{VendorsAccountsSection-Cscbgqrx-BhbRW82b.js → VendorsAccountsSection-CgSJu8wq-BJswZIIA.js} +1 -1
- package/dist/assets/{VendorsRoutes-CDhATRU9.js → VendorsRoutes-05ainu55.js} +1 -1
- package/dist/assets/{VerifyDevice-D1vsUSdJ-eGBtSBPS.js → VerifyDevice-Dvf0JsNN-BxFzBfzQ.js} +5 -5
- package/dist/assets/{VideoPlayer-TlEy-oD0-FvFO3heV.js → VideoPlayer-VAzOGCDL-C6P1MPmA.js} +1 -1
- package/dist/assets/{VideoPopup-3DD646kG-TOybjXu5.js → VideoPopup-BqvZ-XIh-tpbto8Y7.js} +4 -4
- package/dist/assets/{WiseConfirmationScreen-C1RA1Ldj.js → WiseConfirmationScreen-D-O-AEQg.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-BbsXzuHD-Dui1mjq_.js → ZeniAccountDetailPage-GcwTJdB8-CtCTcpCW.js} +14 -14
- package/dist/assets/{ZeniAccountListViewPage-lmuVUpKS-CkMXwzu4.js → ZeniAccountListViewPage-CdwO0Duy-BDSbkpkS.js} +24 -24
- package/dist/assets/{ZeniAccountNavBarPieces-CQhwBKXD-Dl7I8K_B.js → ZeniAccountNavBarPieces-BrSIfL36--BCCJ_B2.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-CXEb9tRE-DbrBCcxq.js → ZeniAccountPromoPage-JrcedQYB-Dn7j6upG.js} +1 -1
- package/dist/assets/{ZeniAccountRoutes-CE8jZq_j.js → ZeniAccountRoutes-C1DKaJoc.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-DPhYQu6u-Dn-mOjTr.js → ZeniAccountSetupPage-TKBfbgzJ-BqZbSZu7.js} +1 -1
- package/dist/assets/{ZeniAccountStatementScreen-DDPrZzz9.js → ZeniAccountStatementScreen-mRCX19Ut.js} +1 -1
- package/dist/assets/{ZeniAvatar-CCOD249Z-ByE5Nx_e.js → ZeniAvatar-Bzhq25CU-B22YVvLm.js} +1 -1
- package/dist/assets/{ZeniCopyright-pvaggW6x-BLgnKSEe.js → ZeniCopyright-DglqrTpl-DIGaFEv0.js} +1 -1
- package/dist/assets/{ZeniDatePicker-EhzRlpFY-D5GIgjl0.js → ZeniDatePicker-BHXPxPnI-vwmLROHK.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-Dlyom9dD-BwjTfvmr.js → ZeniTransferAmountSlider-BcaZZuAw-9zrzQe1V.js} +1 -1
- package/dist/assets/{accountMappingHelper-DnytOxBh.js → accountMappingHelper-GPi0oD1D.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-BDS4bqaK.js → add-to-wallet-DgdBD8_G-0ekd9-Ri.js} +1 -1
- package/dist/assets/{analytics-lZopEqtI.js → analytics-B2Q_uKwH.js} +1 -1
- package/dist/assets/{analyticsHelper-AeOsAjMK-9GsVy5uR.js → analyticsHelper-CAYdbjhS-TiCqBFHc.js} +1 -1
- package/dist/assets/{analyticsHelper-sSJGGzsr.js → analyticsHelper-eqJrrWmY.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-PZQhaHEw.js → arrow-south-east-round-PEovUgvH-DvoAU7mY.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-BJqlTaL4.js → auto-transfer-rule-mbafm5D3-VBx9t_qo.js} +1 -1
- package/dist/assets/{avatar-Dz7aEm3d-D-qe2ybq.js → avatar-Dz7aEm3d-ZI3JCtk7.js} +1 -1
- package/dist/assets/{bank-letter-BOcVjN6J-BAI3BcgX.js → bank-letter-BOcVjN6J-Dws2Kxmd.js} +1 -1
- package/dist/assets/{calculateSize-D-LzlJzs-H8aFTaA8.js → calculateSize-B2w5JPEU-BiAuCFz-.js} +1 -1
- package/dist/assets/{chartTypes-BLsP7rGF-BTfpmJqx.js → chartTypes-CD3vrBsI-D1eLb6aA.js} +1 -1
- package/dist/assets/{clock-CJkylEKt-Aj8yCCM3.js → clock-CJkylEKt-CwvCI5hq.js} +1 -1
- package/dist/assets/common-BpxEACHl-D-qMuYEn.js +1 -0
- package/dist/assets/{commonDimensions-DIm7kTtR-LC7HUPCB.js → commonDimensions-Oz1tdAcx-6qsjkus3.js} +1 -1
- package/dist/assets/{commonTypes-B3mnx2x_-bGKW9_Lf.js → commonTypes-5tEXwrX4-0afSAZ02.js} +1 -1
- package/dist/assets/{core-CbpF8wW5.js → core-D9P6lLF-.js} +1 -1
- package/dist/assets/{dash.all.min-8b6mRaf1.js → dash.all.min-CrF9T_sg.js} +1 -1
- package/dist/assets/{decodeURIComponentSafe-CqkAxC0p.js → decodeURIComponentSafe-BA7ebd4J.js} +1 -1
- package/dist/assets/{dnd-PN_2LgQk.js → dnd-nSkfhkrX.js} +1 -1
- package/dist/assets/{dollar-round-D18u7nlm-BhSn6DYS.js → dollar-round-D18u7nlm-DJ7jjz8a.js} +1 -1
- package/dist/assets/{downloadPdf-B5WrL0K1-DumpN6AC.js → downloadPdf-Dsuxeias-DgqgIEmy.js} +1 -1
- package/dist/assets/{empty-Ccpah3HZ.js → empty-BM1tlym1.js} +1 -1
- package/dist/assets/{empty-BvRt8sTu.js → empty-DqDGRwQI.js} +1 -1
- package/dist/assets/{epic-G4Y_asZ_.js → epic-C-GRNY0z.js} +1 -1
- package/dist/assets/{filter-cZIFUNvj-CAMGerao.js → filter-cZIFUNvj-CnTMsRoA.js} +1 -1
- package/dist/assets/{getLocaleForTenant-BAdWD_sf.js → getLocaleForTenant-D_kHTEKc.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-CxU0MaIs.js → gift-box-Cmt9OgIZ-CmbTqYsU.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-DMougQJz.js → graphic-no-data-l-DU4J8fDt-qX4MU25I.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-Q8dYUrIm.js → graphic-no-data-net-burn-l-CzmycA0m-eyhdhwsy.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-DJv997hY.js → handshake-BPg58FML-Dy9hpFzO.js} +1 -1
- package/dist/assets/{helper-BVESv00--BSBoxTwN.js → helper-Ckm10Uko-Cft993Iq.js} +1 -1
- package/dist/assets/{hyperlink-DQyCeXx2-ByO7QjF0.js → hyperlink-DQyCeXx2-ClAJPTpW.js} +1 -1
- package/dist/assets/{index-BScUKNNV.js → index-BGoNZK9J.js} +1 -1
- package/dist/assets/{index-CtaVzrbN.js → index-BHx-AV13.js} +1 -1
- package/dist/assets/{index-bFwDyqSe.js → index-BoyH9PC5.js} +1 -1
- package/dist/assets/{index-Ir5iePqW.js → index-C6CSTWn-.js} +1 -1
- package/dist/assets/{index-C5NS4k1k.js → index-CAltUZe8.js} +6 -6
- package/dist/assets/{index-C2kgfwQ0.js → index-D3FWjv6R.js} +1 -1
- package/dist/assets/{lexical-wFFjFeQS.js → lexical-Ct6cBwR8.js} +1 -1
- package/dist/assets/{liveblocks-DAzt4XWX.js → liveblocks-DxIK6Zp5.js} +1 -1
- package/dist/assets/{lottie-DCpFrhzh.js → lottie-BEhoArVd.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-jcHEi-mv-D0bSM41h.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BIiMj0sc-CYHAjMYB.js → mapSectionWithAcOnlyToTreeNode-Cgyt68f3-Bqo33gCA.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-XgUp1xUb-CaUrNev8.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CyO5pm8k-CNnw8Wla.js → mapTimeframeBalancesToTreeNode-Bre8FfBF-CPTPOyt7.js} +1 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DOyCX6ij-BwgfCZTt.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-NKafOEXu-D3MVK9I-.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-Cw5QJbW7.js} +1 -1
- package/dist/assets/{media-player-CfnH7IPR.js → media-player-CsDObYZE.js} +2 -2
- package/dist/assets/{money-2cg1MuG4-DfhxL46u.js → money-2cg1MuG4-CTFLBPxC.js} +1 -1
- package/dist/assets/{mui-CsJjaFS3.js → mui-CMSRVFAm.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-BqAM7jrq.js → page-detail-CWX5S47F-D71KSTNS.js} +1 -1
- package/dist/assets/{page-summary-D7_VQHwN-BEqozVIp.js → page-summary-D7_VQHwN-C0Gmkrf2.js} +1 -1
- package/dist/assets/{panelSelectedMixin-Cddsb26L-_TcaqYgi.js → panelSelectedMixin-Cddsb26L-CzLNMPbQ.js} +1 -1
- package/dist/assets/{pathToGoBack-BfqJ0YlJ.js → pathToGoBack-Blub25Cp.js} +1 -1
- package/dist/assets/{pdf-CotdgJU1.js → pdf-Be2WBqYM.js} +3 -3
- package/dist/assets/{pdf-lib-D_D0fjcQ.js → pdf-lib-CnVZquuu.js} +1 -1
- package/dist/assets/{plaid-BTCtHWVp.js → plaid-BfI3x5Cu.js} +1 -1
- package/dist/assets/{pusher-BQ8DKEaa.js → pusher-B6_CsVbZ.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-Bf3NugY4.js → radio-default-CiSgisfh-B-boFyAl.js} +1 -1
- package/dist/assets/{react-BqQ4cQqX.js → react-BHFS79hd.js} +1 -1
- package/dist/assets/{react-BUIAuHwU.js → react-BU_9CVSX.js} +3 -3
- package/dist/assets/{react-D_8V1wyK.js → react-BpE8-YB1.js} +1 -1
- package/dist/assets/{react-DqT05IJk.js → react-C0Y1QuQQ.js} +1 -1
- package/dist/assets/{react-BBeDYsAV.js → react-C8t61nFI.js} +1 -1
- package/dist/assets/{react-qeQ53cUY.js → react-D-1D0x0x.js} +1 -1
- package/dist/assets/{react-DXQJSc1U.js → react-Df07f_EQ.js} +1 -1
- package/dist/assets/{react-DPwINmE2.js → react-DoqYYGGT.js} +1 -1
- package/dist/assets/{recharts-Z1H4NIT9.js → recharts-gT6BOz1b.js} +1 -1
- package/dist/assets/{routePaths-Canmm7cj.js → routePaths-C2kSZwVH.js} +1 -1
- package/dist/assets/{sentry-B7C9wEq0.js → sentry-DQeYyYXx.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-Bj4akX0-.js → shield-DOlUxcFf-CtwAmezy.js} +1 -1
- package/dist/assets/{spend-limit-D6SyboD4-BgiUCsPc.js → spend-limit-D6SyboD4-DgU5KXwN.js} +1 -1
- package/dist/assets/toCOABalancesWithID-aLNB35t7-Bbjw8HZY.js +1 -0
- package/dist/assets/{toChartData-BkubFDq8-Dqms1_zM.js → toChartData-DUL6vnzJ-Dwc3foiO.js} +1 -1
- package/dist/assets/{transaction-placeholder-CpOwZAMG-C1Qe8Rh2.js → transaction-placeholder-CpOwZAMG-EsW3Q-dq.js} +1 -1
- package/dist/assets/{undo-b_3XZ5CX-eTBdG90-.js → undo-b_3XZ5CX-vDqRNZiv.js} +1 -1
- package/dist/assets/{unlock-BPWn2I5L-Bw2sQZ5n.js → unlock-BPWn2I5L-DrFYUkdQ.js} +1 -1
- package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-CnNIPHqW.js → upload-reimbursement-receipt-O2N8vcO7-DJbY_Oz2.js} +1 -1
- package/dist/assets/{uploadAttachment-CzgakLtr-FsVc9-o9.js → uploadAttachment-Ck4wivBR-es3sSFtr.js} +1 -1
- package/dist/assets/{uploadReceipts-CIgkuVpu-w07yQGh1.js → uploadReceipts-CIgkuVpu-IBEc_jc1.js} +1 -1
- package/dist/assets/{url-BvfHN6gt.js → url-DabKyEXg.js} +1 -1
- package/dist/assets/{url-B_60JuDM.js → url-Doy-Mf6X.js} +1 -1
- package/dist/assets/{useDeviceId-BrDKA5Dy.js → useDeviceId-Dx8RlRsA.js} +1 -1
- package/dist/assets/{useInitialThreadRequest-CpkcHK8z.js → useInitialThreadRequest-Bxf1X7cu.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-nY-Uopy3.js → useLongPress-GCK2COYQ-CW7ST8rN.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-DadTGyfk.js → usp-line-BBd1wKwW-Crs-gA1B.js} +1 -1
- package/dist/assets/{utils-DSKkIaRb.js → utils-BAO5KfNy.js} +1 -1
- package/dist/assets/{withTransactionSidePanel-BJJbIkbE.js → withTransactionSidePanel-FcH3ZlAj.js} +1 -1
- package/dist/assets/{zeni-epic-state-CjUXhad7.js → zeni-epic-state-CHpO1ZKT.js} +3 -3
- package/dist/assets/{zeni-icon-only-DmigVd7z.js → zeni-icon-only-4nFle2Fz.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/AccountInfoPage-Cz9yoVl8-2cCezdu3.js +0 -18
- package/dist/assets/AccountInfoPageContent-j85psx_A-tY3-Fkrr.js +0 -149
- package/dist/assets/BillPayApprovalRuleDetailPage-C_REwEVS-D-eeATAS.js +0 -27
- package/dist/assets/ChargeCardPromoPage-CKl6K-nr-B6A43An0.js +0 -222
- package/dist/assets/CustomerOnboardingAuthScreen-B2lt5fG2.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-B4YFIOQJ-BbB2fOP5.js +0 -1
- package/dist/assets/EntityDetailPage-D8FzsqNk-_LZsKMKD.js +0 -18
- package/dist/assets/MagicLinkACHDetailsPage-BKh8WrCR-BXzJ0B3q.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Cv19HbKi-DKgp0Chf.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DbFxpWOg-hgGDkayb.js +0 -1
- package/dist/assets/MailingDetailsSection-BNVPaGFt-9PxBYnWw.js +0 -21
- package/dist/assets/TransactionListPage-ReGTmF43-Cg71CfBs.js +0 -35
- package/dist/assets/TreasuryStatementsPage-BjGwvMFL-xqt4JjCQ.js +0 -58
- package/dist/assets/VendorACHDetailsPage-BbxRwrEv-Bcfg0w4a.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-C02ZhGg3-Ds0ralM2.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-Bdt0UR_b-DxxL_aBl.js +0 -1
- package/dist/assets/common-CAmBErdt-gt_uFFPU.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DJxRl0X1-BiIcVS7d.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-Bj3f2irs-DaSaAPgD.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-AI17uMHa-qKxAkbp_.js +0 -1
- package/dist/assets/toCOABalancesWithID-BWMF0py6-DXg0RqcA.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as N,e as j,V as o,a_ as Ie,gm as A,k as _e,m as s,O as y,o as r,a5 as C,a as K,w as T,bV as Te,x as h,d as _,M,l as V,f as k,aj as Me,u as Y,aA as J,gq as q,C as S,D as Be,bm as Oe,bd as We,ab as De,n as ue,H as B,t as Ee,c2 as xe,at as Ne,gy as
|
|
1
|
+
import{y as N,e as j,V as o,a_ as Ie,gm as A,k as _e,m as s,O as y,o as r,a5 as C,a as K,w as T,bV as Te,x as h,d as _,M,l as V,f as k,aj as Me,u as Y,aA as J,gq as q,C as S,D as Be,bm as Oe,bd as We,ab as De,n as ue,H as B,t as Ee,c2 as xe,at as Ne,gy as U,ib as Ae,b_ as Ve,iN as we,L as fe,bG as $e,fS as v,P as He,iO as ye,bH as be}from"./index-CAltUZe8.js";import{a as w}from"./sentry-DQeYyYXx.js";import{n as i}from"./mui-CMSRVFAm.js";import{C as ve}from"./gift-box-Cmt9OgIZ-CmbTqYsU.js";import{m as Fe}from"./BusyIndication-9zDqSKBP-C1ZL_6Kc.js";import{f as Ke}from"./calculateSize-B2w5JPEU-BiAuCFz-.js";import{GE as ee,GF as $,GG as z}from"./zeni-epic-state-CHpO1ZKT.js";import{y as Ge}from"./MoreMenuButton-BsBKwXvk-DLOnGEff.js";import"./pdf-Be2WBqYM.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";import"./bank-letter-BOcVjN6J-Dws2Kxmd.js";import"./spend-limit-D6SyboD4-DgU5KXwN.js";import"./dollar-round-D18u7nlm-DJ7jjz8a.js";import"./money-2cg1MuG4-CTFLBPxC.js";import"./page-summary-D7_VQHwN-C0Gmkrf2.js";import"./transaction-placeholder-CpOwZAMG-EsW3Q-dq.js";import"./unlock-BPWn2I5L-DrFYUkdQ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8ae02c70-077c-4ac2-9a2a-0e6cafe40147",e._sentryDebugIdIdentifier="sentry-dbid-8ae02c70-077c-4ac2-9a2a-0e6cafe40147")}catch{}})();const je=(e,t)=>{w.useEffect(()=>{const n=e.current;if(window.IntersectionObserver==null)return;const c=new IntersectionObserver(([a])=>{t&&t(a.isIntersecting)},{root:null,rootMargin:r.sp0,threshold:.1});return n&&c.observe(n),()=>{n&&c.unobserve(n)}})},Ye={pageTitleMarginLeft:new h(s[4],s[6])},Je=i.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
width: 100%;
|
|
4
4
|
display: flex;
|
|
@@ -11,18 +11,18 @@ import{y as N,e as j,V as o,a_ as Ie,gm as A,k as _e,m as s,O as y,o as r,a5 as
|
|
|
11
11
|
align-items: center;
|
|
12
12
|
flex: 1 1 auto;
|
|
13
13
|
min-width: 154px;
|
|
14
|
-
`,
|
|
14
|
+
`,Ue=i(Y)`
|
|
15
15
|
height: ${r.sp3};
|
|
16
16
|
width: ${r.sp3};
|
|
17
17
|
color: ${e=>e.theme.colors.hero};
|
|
18
|
-
`,
|
|
18
|
+
`,Qe=i(q)`
|
|
19
19
|
width: ${r.sp3};
|
|
20
20
|
height: ${r.sp3};
|
|
21
|
-
`,
|
|
21
|
+
`,Xe=i(J)`
|
|
22
22
|
width: ${r.sp3};
|
|
23
23
|
height: ${r.sp3};
|
|
24
24
|
color: ${k.success};
|
|
25
|
-
`;function Ce({referralLink:e,onInviteClick:t,onCopyReferral:n,setShowNavButton:c}){const[,a]=A(),[l,d]=w.useState(!1),g=j(),m=N();w.useEffect(()=>{l===!0&&setTimeout(()=>{d(!1)},2e3)},[l]);const u=w.useRef(null);je(u,c);const x=y.getLocalizedStrings().rewardsPage.rewardsCard;return o.jsxs(Je,{windowSize:g,children:[o.jsx(qe,{ref:u,children:o.jsx(K,{variant:"secondary",label:x.inviteViaEmail,onClick:t,prefixIcon:o.jsx(
|
|
25
|
+
`;function Ce({referralLink:e,onInviteClick:t,onCopyReferral:n,setShowNavButton:c}){const[,a]=A(),[l,d]=w.useState(!1),g=j(),m=N();w.useEffect(()=>{l===!0&&setTimeout(()=>{d(!1)},2e3)},[l]);const u=w.useRef(null);je(u,c);const x=y.getLocalizedStrings().rewardsPage.rewardsCard;return o.jsxs(Je,{windowSize:g,children:[o.jsx(qe,{ref:u,children:o.jsx(K,{variant:"secondary",label:x.inviteViaEmail,onClick:t,prefixIcon:o.jsx(Ue,{}),textStyle:{...T.smallRegular.cssObject,color:`${m.colors.hero}`},style:{borderRadius:`${r.sp1}`,border:`1px solid ${m.colors.grey1}`,backgroundColor:"transparent",padding:`${r.sp2} 12px`,minWidth:"154px",flex:"1 1 auto",display:"flex",justifyContent:"center",alignItems:"center"}})}),o.jsx(K,{variant:"secondary",label:l?x.copied:x.copyReferralLink,onClick:()=>{n(),l||(a(e.toString()),d(!0))},prefixIcon:l?o.jsx(Xe,{}):o.jsx(Qe,{}),textStyle:{...T.smallRegular.cssObject,color:`${m.colors.hero}`},style:{borderRadius:`${r.sp1}`,border:`1px solid ${m.colors.grey1}`,backgroundColor:"transparent",padding:`${r.sp2} ${l?"47px":"12px"}`,minWidth:"154px",flex:"1 1 auto",display:"flex",justifyContent:"center",alignItems:"center"}})]})}const G={logoWidth:new h(95,135),minWidth:new h(256,360),maxWidth:new h(270,380)},ke={title:new _("smallRegular","largeRegular"),cardDetail:new _("h5Regular","h2Regular")};function Se({planAmount:e}){const t=j(),{rewardsPage:{rewardsCard:n}}=y.getLocalizedStrings();return o.jsxs(Ze,{windowSize:t,children:[o.jsxs(eo,{children:[o.jsx(io,{windowSize:t,children:n.bonus}),o.jsx(to,{windowSize:t,children:C("0,0",e)})]}),o.jsx(oo,{windowSize:t,children:o.jsx(ro,{})})]})}const Ze=i.div`
|
|
26
26
|
display: flex;
|
|
27
27
|
height: 100%;
|
|
28
28
|
min-width: ${e=>G.minWidth.valuePx(e.windowSize)};
|
|
@@ -103,7 +103,7 @@ import{y as N,e as j,V as o,a_ as Ie,gm as A,k as _e,m as s,O as y,o as r,a5 as
|
|
|
103
103
|
&:hover {
|
|
104
104
|
color: ${e=>e.theme.colors.champion};
|
|
105
105
|
}
|
|
106
|
-
`,mo=i(
|
|
106
|
+
`,mo=i(U)`
|
|
107
107
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
108
108
|
border-radius: ${r.sp2};
|
|
109
109
|
background-color: ${e=>e.theme.colors.primary};
|
|
@@ -128,7 +128,7 @@ import{y as N,e as j,V as o,a_ as Ie,gm as A,k as _e,m as s,O as y,o as r,a5 as
|
|
|
128
128
|
flex: 0 1 auto;
|
|
129
129
|
flex-direction: column;
|
|
130
130
|
align-items: flex-start;
|
|
131
|
-
`,wo=i(
|
|
131
|
+
`,wo=i(U)`
|
|
132
132
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
133
133
|
border-radius: ${r.sp2};
|
|
134
134
|
background-color: ${e=>e.isCopied?e.theme.colors.champion:e.theme.colors.primary};
|
|
@@ -305,7 +305,7 @@ import{y as N,e as j,V as o,a_ as Ie,gm as A,k as _e,m as s,O as y,o as r,a5 as
|
|
|
305
305
|
background-color: ${e=>e.showCopyText||e.isCopied?e.theme.colors.black:"transparent"};
|
|
306
306
|
padding: ${r.sp1} ${r.sp2};
|
|
307
307
|
border-radius: ${r.sp1};
|
|
308
|
-
`,qo={height:new h(200,280)},H={earningValue:new _("h6Regular","h5Regular"),cardTitle:new _("extraSmallRegular","smallRegular"),buttonText:new _("extraSmallRegular","smallRegular")};function re({pendingBonus:e,earnedBonus:t,pendingReferrals:n,onHowItWorksClick:c}){const{rewardsPage:{statisticsCard:a},common:{strings:l}}=y.getLocalizedStrings(),d=j();return o.jsxs(
|
|
308
|
+
`,qo={height:new h(200,280)},H={earningValue:new _("h6Regular","h5Regular"),cardTitle:new _("extraSmallRegular","smallRegular"),buttonText:new _("extraSmallRegular","smallRegular")};function re({pendingBonus:e,earnedBonus:t,pendingReferrals:n,onHowItWorksClick:c}){const{rewardsPage:{statisticsCard:a},common:{strings:l}}=y.getLocalizedStrings(),d=j();return o.jsxs(Uo,{windowSize:d,children:[o.jsx(Qo,{children:o.jsx(Xo,{windowSize:d,children:a.title})}),o.jsxs(Zo,{windowSize:d,children:[o.jsxs(ie,{children:[o.jsx(te,{children:a.earned}),o.jsx(ne,{windowSize:d,type:"earned",children:C("0,0",t)})]}),d==="medium-compact"?o.jsx(or,{}):o.jsx(er,{}),o.jsxs(ie,{children:[o.jsx(te,{children:a.pending}),o.jsx(ne,{windowSize:d,type:"pending",children:C("0,0",e)})]})]}),o.jsxs(rr,{children:[o.jsxs(ir,{windowSize:d,children:[a.pendingReferrals," ",l.colon," ",n]}),o.jsxs(nr,{windowSize:d,onClick:c,children:[a.knowMore," ",o.jsx(tr,{})]})]})]})}const Uo=i.div`
|
|
309
309
|
display: flex;
|
|
310
310
|
flex-direction: column;
|
|
311
311
|
align-items: center;
|
|
@@ -319,18 +319,18 @@ import{y as N,e as j,V as o,a_ as Ie,gm as A,k as _e,m as s,O as y,o as r,a5 as
|
|
|
319
319
|
box-shadow: ${e=>`${r.sp0} 2px ${r.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
320
320
|
border: ${r.sp1} solid ${e=>e.theme.colors.grey5};
|
|
321
321
|
border-radius: ${r.sp2};
|
|
322
|
-
`,
|
|
322
|
+
`,Qo=i.div`
|
|
323
323
|
display: flex;
|
|
324
324
|
flex: 0 1 auto;
|
|
325
325
|
width: 100%;
|
|
326
326
|
align-items: center;
|
|
327
327
|
justify-content: center;
|
|
328
328
|
padding-top: ${r.sp4};
|
|
329
|
-
`,
|
|
329
|
+
`,Xo=i(M)`
|
|
330
330
|
${e=>`${H.cardTitle.style(e.windowSize)}`};
|
|
331
331
|
color: ${e=>e.theme.colors.champion};
|
|
332
332
|
margin-bottom: ${r.sp1};
|
|
333
|
-
`,
|
|
333
|
+
`,Zo=i.div`
|
|
334
334
|
display: flex;
|
|
335
335
|
flex-direction: ${e=>e.windowSize==="medium-compact"?"column":"row"};
|
|
336
336
|
flex: 0 1 auto;
|
|
@@ -384,7 +384,7 @@ import{y as N,e as j,V as o,a_ as Ie,gm as A,k as _e,m as s,O as y,o as r,a5 as
|
|
|
384
384
|
padding-right: 12px;
|
|
385
385
|
color: ${e=>e.theme.colors.primary};
|
|
386
386
|
${e=>`${H.buttonText.style(e.windowSize)}`};
|
|
387
|
-
`,se=(e,t)=>t!=="small"?90:Ke(e,{...T.standardRegular.cssPartialObject(["fontSize","fontFamily","fontWeight"])}).width<160?114:138,{rewardsPage:{header:
|
|
387
|
+
`,se=(e,t)=>t!=="small"?90:Ke(e,{...T.standardRegular.cssPartialObject(["fontSize","fontFamily","fontWeight"])}).width<160?114:138,{rewardsPage:{header:Q},common:{strings:ae}}=y.getLocalizedStrings(),sr={key:"invitee_email",value:Q.invitee_email,sortOrder:"ascending",width:new h(s[7],s[8],s[8],s[9])},ar={key:"amount",value:Q.amount,sortOrder:"ascending",width:new h(s[4],20,20,s[3])},E=[sr,{key:"status",value:Q.status,sortOrder:"ascending",width:new h(s[3],s[4],s[4],20)},ar],lr=e=>{const t=e.toLowerCase().split(ae.space).join(ae.underscore);switch(e){case $.invite_processing:return{value:e,color:v.invite_processing.color,borderColor:v.invite_processing.borderColor,code:t};case $.invite_sent:return{value:e,color:v.invite_sent.color,borderColor:v.invite_sent.borderColor,code:t};case $.onboarding:return{value:e,color:v.onboarding.color,borderColor:v.onboarding.borderColor,code:t};case $.active:case $.reward_sent:return{value:e,color:v.active.color,borderColor:v.active.borderColor,code:t};case $.declined:return{value:e,color:v.declined.color,borderColor:v.declined.borderColor,code:t};case $.resend_invite:return{value:e,color:v.resend_invite.color,borderColor:v.resend_invite.borderColor,code:t};default:return{value:e,color:v.in_progress.color,borderColor:"",code:t}}},I={headerLastColumnTopPadding:new h(s[0],s[4]),headerLastColumnRightPadding:new h(s[3],s[11]),headerLastColumnBottomPadding:new h(s[0],s[4]),headerLastColumnLeftPadding:new h(s[3],s[11]),headerHeight:new h(45,58)};function dr({companyNameSticky:e,sortConfig:t,onColumnSortConfigChanged:n}){const c=N(),a=j(),[l,d]=w.useState(E);w.useEffect(()=>{const p=[...l];for(const b of p)b.key===t.sortKey?b.sortOrder=t.sortOrder:b.sortOrder="ascending";d(p)},[t.sortKey,t.sortOrder]);const g=(p,b)=>{let L=b;t.sortKey===p&&(L=b==="ascending"?"descending":"ascending"),n(p,L)},m=l.find(p=>p.key===t.sortKey)??l[0],u=l.map(p=>p.key),{rewardsPage:{inviteList:x},common:f}=y.getLocalizedStrings();return a==="small"?o.jsxs(le,{windowSize:a,companyNameSticky:!1,children:[o.jsxs(pr,{children:[o.jsx(gr,{children:o.jsx(hr,{})}),o.jsx(Oe,{title:x.sortBy,placeholder:x.sortBy,pickerValues:u,valueToLabel:p=>l.find(b=>b.key===p)?.value??f.strings.empty,selectedValue:t.sortKey,onPickerSelectionChanged:p=>{p&&g(ee(p),"ascending")},optionTextStyle:T.smallRegular,selectedOptionColor:c.colors.hero,optionBackgroundColor:c.colors.grey5,downChevronVisible:!1,backgroundColor:c.colors.grey4,titleTextStyle:T.smallRegular,titleColor:c.colors.hero})]}),o.jsxs(ur,{onClick:()=>{g(m.key,m.sortOrder)},children:[o.jsx(S,{children:m.value}),o.jsx(de,{sortDataValue:t.sortKey,headerdata:m,children:o.jsx(ce,{})})]})]}):o.jsx(le,{companyNameSticky:e,windowSize:a,children:l.map(p=>o.jsx(cr,{companyNameSticky:e&&p.key==="invitee_email",sortDataValue:t.sortKey,actualDataValue:p.key,wrapperWidth:p.width,windowSize:a,shouldRightAlign:p.value==="Amount",children:o.jsxs(mr,{onClick:()=>{g(ee(p.key),p.sortOrder)},children:[o.jsx(S,{children:p.value}),o.jsx(de,{sortDataValue:t.sortKey,headerdata:p,children:o.jsx(ce,{})})]})},p.key))})}const le=i(S)`
|
|
388
388
|
top: ${r.sp0};
|
|
389
389
|
left: ${r.sp0};
|
|
390
390
|
min-height: ${e=>I.headerHeight.valuePx(e.windowSize)};
|
|
@@ -511,7 +511,7 @@ import{y as N,e as j,V as o,a_ as Ie,gm as A,k as _e,m as s,O as y,o as r,a5 as
|
|
|
511
511
|
white-space: nowrap;
|
|
512
512
|
border: ${e=>`1px solid ${e.borderColor}`};
|
|
513
513
|
border-radius: ${r.sp1};
|
|
514
|
-
`,Rr=i(
|
|
514
|
+
`,Rr=i(U)`
|
|
515
515
|
display: flex;
|
|
516
516
|
color: ${e=>e.color};
|
|
517
517
|
height: 20px;
|
|
@@ -548,7 +548,7 @@ import{y as N,e as j,V as o,a_ as Ie,gm as A,k as _e,m as s,O as y,o as r,a5 as
|
|
|
548
548
|
margin-right: ${r.sp1};
|
|
549
549
|
`,Tr=i.div`
|
|
550
550
|
display: flex;
|
|
551
|
-
`,R={containerPaddingLeft:new h(s[3],s[4]),containerPaddingRight:new h(s[3],s[4]),containerPaddingTop:new h(s[3],s[3]),containerPaddingBottom:new h(s[3],s[3]),containerMarginLeft:new h(s[3],s[8]),containerMarginRight:new h(s[3],s[8]),webkitLineClamp:new h(2,2,1,1,1)},{dateFormat:Mr,rewardsPage:{inviteList:Br},common:he}=y.getLocalizedStrings(),Or=({email:e,amount:t,status:n,resendInviteStatus:c,inviteSendDate:a,onResendInviteClick:l})=>{const d=j();let g=!1;if(a){const x=new Date(a.format(Mr.visual.YYYYDashMMDashDFormat));g=we(72,x)}const m=n.value===$.active?z.received:z.to_be_received,u=c.fetchState==="In-Progress"?o.jsx(fe,{size:"Small",start:!0}):o.jsxs(o.Fragment,{children:[o.jsx(Yr,{color:n.color,onClick:()=>{l(e)},children:Br.status.resend_invite}),o.jsx(Jr,{children:`${he.sent} ${$e(a)}`})]});return o.jsx(Wr,{windowSize:d,children:o.jsxs(Dr,{children:[o.jsxs(
|
|
551
|
+
`,R={containerPaddingLeft:new h(s[3],s[4]),containerPaddingRight:new h(s[3],s[4]),containerPaddingTop:new h(s[3],s[3]),containerPaddingBottom:new h(s[3],s[3]),containerMarginLeft:new h(s[3],s[8]),containerMarginRight:new h(s[3],s[8]),webkitLineClamp:new h(2,2,1,1,1)},{dateFormat:Mr,rewardsPage:{inviteList:Br},common:he}=y.getLocalizedStrings(),Or=({email:e,amount:t,status:n,resendInviteStatus:c,inviteSendDate:a,onResendInviteClick:l})=>{const d=j();let g=!1;if(a){const x=new Date(a.format(Mr.visual.YYYYDashMMDashDFormat));g=we(72,x)}const m=n.value===$.active?z.received:z.to_be_received,u=c.fetchState==="In-Progress"?o.jsx(fe,{size:"Small",start:!0}):o.jsxs(o.Fragment,{children:[o.jsx(Yr,{color:n.color,onClick:()=>{l(e)},children:Br.status.resend_invite}),o.jsx(Jr,{children:`${he.sent} ${$e(a)}`})]});return o.jsx(Wr,{windowSize:d,children:o.jsxs(Dr,{children:[o.jsxs(Ur,{children:[o.jsxs(Er,{children:[o.jsx(Nr,{children:o.jsx(qr,{})}),o.jsx(Ar,{windowSize:d,children:e})]}),o.jsx(Vr,{amountStatus:m,children:n.value===$.declined?o.jsx(Hr,{children:he.strings.hyphen}):o.jsxs(o.Fragment,{children:[C("0,0.[00]",t),o.jsx(Fr,{amountStatus:m,children:m})]})})]}),o.jsx(Qr,{children:o.jsx(Gr,{children:n.value===$.invite_sent&&g?u:o.jsx(Xr,{children:o.jsx(Kr,{color:n.color,borderColor:n.borderColor,children:n.value})})})})]})})},Wr=i.div`
|
|
552
552
|
display: flex;
|
|
553
553
|
margin-bottom: ${r.sp3};
|
|
554
554
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -644,21 +644,21 @@ import{y as N,e as j,V as o,a_ as Ie,gm as A,k as _e,m as s,O as y,o as r,a5 as
|
|
|
644
644
|
flex-shrink: 0;
|
|
645
645
|
margin-right: ${r.sp1};
|
|
646
646
|
color: ${e=>e.theme.colors.grey2};
|
|
647
|
-
`,
|
|
647
|
+
`,Ur=i.div`
|
|
648
648
|
display: flex;
|
|
649
649
|
flex-direction: column;
|
|
650
650
|
width: 188px;
|
|
651
|
-
`,
|
|
651
|
+
`,Qr=i.div`
|
|
652
652
|
display: flex;
|
|
653
653
|
flex-direction: column;
|
|
654
654
|
text-align: right;
|
|
655
655
|
width: 108px;
|
|
656
656
|
padding-top: 2px;
|
|
657
|
-
`,
|
|
657
|
+
`,Xr=i.div`
|
|
658
658
|
display: flex;
|
|
659
659
|
flex-direction: column;
|
|
660
660
|
align-items: flex-end;
|
|
661
|
-
`,W={pageTitleMarginLeft:new h(s[3],s[8]),pageTitleMarginRight:new h(s[3],s[8]),pageTitleMarginTop:new h(s[4],s[5]),pageTitleMarginBottom:new h(s[3],s[3])},
|
|
661
|
+
`,W={pageTitleMarginLeft:new h(s[3],s[8]),pageTitleMarginRight:new h(s[3],s[8]),pageTitleMarginTop:new h(s[4],s[5]),pageTitleMarginBottom:new h(s[3],s[3])},Zr={pageTitle:new _("standardSemiBold","largeSemiBold")},ge=y.getLocalizedStrings(),ei=({index:e,style:t,inviteList:n,onResendInviteClick:c})=>{const a=j(),l=n[e],d=a==="small"?Or:fr;return o.jsx(di,{style:{...t,width:"100%"},children:o.jsx(d,{email:l.refereeEmailId,amount:l.amount,status:lr(l.statusCode),resendInviteStatus:l.resendInviteStatus,onResendInviteClick:c,inviteSendDate:l.lastInviteTimestamp})})},oi=({inviteList:e,uiState:t,fetchState:n,onResendInviteClick:c,onReloadInvitees:a,onColumnSortConfigChanged:l})=>{const d=j(),g=f=>{const p=e[f].refereeEmailId;return se(p,d)},m=e.reduce((f,p)=>f+se(p.refereeEmailId,d),0),u=w.useRef(null);w.useEffect(()=>{u.current?.resetAfterIndex(0)},[d,u]);let x=null;switch(n){case"Not-Started":case"In-Progress":x=o.jsx(Fe,{fetchState:n});break;case"Error":x=o.jsxs(ii,{children:[o.jsx(ti,{onClick:a,children:o.jsx(ni,{})}),o.jsx(si,{children:ge.peoplePage.reloadPage.label})]});break;case"Completed":e.length!==0&&(x=o.jsxs(li,{windowSize:d,children:[o.jsx(ai,{windowSize:d,children:ge.rewardsPage.inviteList.pageTitle}),o.jsx(dr,{companyNameSticky:!1,onColumnSortConfigChanged:l,sortConfig:{sortKey:t.sortKey,sortOrder:t.sortOrder}}),o.jsx(Te,{ref:u,height:m,width:"100%",itemCount:e.length,itemSize:g,estimatedItemSize:114,itemKey:f=>e[f].refereeEmailId,overscanCount:1,initialScrollOffset:0,children:f=>o.jsx(ei,{...f,inviteList:e,onResendInviteClick:c})})]}))}return o.jsx(ri,{children:x})},ri=i.div`
|
|
662
662
|
display: block;
|
|
663
663
|
height: 100%;
|
|
664
664
|
`,ii=i.div`
|
|
@@ -688,7 +688,7 @@ import{y as N,e as j,V as o,a_ as Ie,gm as A,k as _e,m as s,O as y,o as r,a5 as
|
|
|
688
688
|
margin-top: ${r.sp3};
|
|
689
689
|
color: ${e=>e.theme.colors.hero};
|
|
690
690
|
`,ai=i(M)`
|
|
691
|
-
${e=>`${
|
|
691
|
+
${e=>`${Zr.pageTitle.style(e.windowSize)}`};
|
|
692
692
|
margin-top: ${e=>W.pageTitleMarginTop.valuePx(e.windowSize)};
|
|
693
693
|
margin-bottom: ${e=>W.pageTitleMarginBottom.valuePx(e.windowSize)};
|
|
694
694
|
margin-left: ${e=>W.pageTitleMarginLeft.valuePx(e.windowSize)};
|
|
@@ -716,7 +716,7 @@ import{y as N,e as j,V as o,a_ as Ie,gm as A,k as _e,m as s,O as y,o as r,a5 as
|
|
|
716
716
|
&:hover {
|
|
717
717
|
color: ${e=>e.theme.colors.primary};
|
|
718
718
|
}
|
|
719
|
-
`,mi=y.getLocalizedStrings().rewardsPage,Hi=e=>{const t=N(),n=j(),{pendingBonus:c,earnedBonus:a,rewardsPlan:l,pendingReferrals:d,inviteList:g,uiState:m,fetchState:u,onInviteClick:x,onBackClick:f,onHowItWorksClick:p,onReloadInvitees:b,onResendInviteClick:L,onColumnSortConfigChanged:ze,onCopyReferralLink:O,onClickRefer:Pe,onClickMenuIcon:Re}=e,[Le,
|
|
719
|
+
`,mi=y.getLocalizedStrings().rewardsPage,Hi=e=>{const t=N(),n=j(),{pendingBonus:c,earnedBonus:a,rewardsPlan:l,pendingReferrals:d,inviteList:g,uiState:m,fetchState:u,onInviteClick:x,onBackClick:f,onHowItWorksClick:p,onReloadInvitees:b,onResendInviteClick:L,onColumnSortConfigChanged:ze,onCopyReferralLink:O,onClickRefer:Pe,onClickMenuIcon:Re}=e,[Le,X]=w.useState(!0);let Z=null;return Le||(Z=o.jsx(pi,{referralLink:l.referralLink,onInviteClick:x,onClickRefer:Pe,onCopyReferralLink:O})),o.jsxs(ui,{children:[o.jsx(Ie,{source:"InvitePageListView",title:mi.pageTitle,showBackButton:!0,backgroundColor:t.colors.grey4,style:{zIndex:3},onBackClick:f,showMenuIcon:n==="medium-compact"||n==="small",onClickMenuIcon:Re,rightSideComponent:Z}),g.length===0?o.jsx(fi,{children:o.jsx(zo,{rewardsPlan:l,onHowItWorksClick:p,onInviteClick:x,onCopyReferral:O})}):o.jsxs(o.Fragment,{children:[n==="small"?o.jsxs(wi,{children:[o.jsx(re,{pendingBonus:c,earnedBonus:a,pendingReferrals:d,onHowItWorksClick:p}),o.jsx(Ce,{referralLink:l.referralLink,onInviteClick:x,onCopyReferral:O,setShowNavButton:X})]}):o.jsxs(xi,{children:[o.jsx(me,{children:o.jsx(re,{pendingBonus:c,earnedBonus:a,pendingReferrals:d,onHowItWorksClick:p})}),o.jsx(me,{children:o.jsx(Oo,{rewardsPlan:l,onInviteClick:x,setShowNavButton:X,onCopyReferral:O})})]}),o.jsx(oi,{inviteList:g,fetchState:u,onReloadInvitees:b,onColumnSortConfigChanged:ze,uiState:m,onResendInviteClick:L})]})]})},ui=i.div`
|
|
720
720
|
display: flex;
|
|
721
721
|
width: 100%;
|
|
722
722
|
height: 100vh;
|
package/dist/assets/{InvitePeoplePage-DJiEzIeY-BkUhir7D.js → InvitePeoplePage-VTM6kM1u-DFLNYNR3.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import{e as ee,fl as ne,y as le,T as te,m as g,V as c,gd as oe,A as ie,b as se,a9 as re,o as ae,x as Z,c0 as N,fo as V,fp as W,fq as M,O as de,c2 as ce}from"./index-
|
|
1
|
+
import{e as ee,fl as ne,y as le,T as te,m as g,V as c,gd as oe,A as ie,b as se,a9 as re,o as ae,x as Z,c0 as N,fo as V,fp as W,fq as M,O as de,c2 as ce}from"./index-CAltUZe8.js";import{a as R}from"./sentry-DQeYyYXx.js";import{n as G}from"./mui-CMSRVFAm.js";import{G0 as ue,bt as me}from"./zeni-epic-state-CHpO1ZKT.js";import{f as pe}from"./AllUserItems-BJf6WPDo-CPycalrU.js";import"./pdf-Be2WBqYM.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";import"./LabeledEmailInputField-BppuWRbl-Dsaj9M9p.js";import"./LabeledZeniRolesDropDownField-BZtreVpj-KqOutsB4.js";import"./RoleWithToolTip-Ct3_VuDM-CgjPQD6C.js";import"./LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-BLPpr77S.js";import"./avatar-Dz7aEm3d-ZI3JCtk7.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="1b7ac7b7-7e20-4cf8-9de8-4ea08d5d7569",e._sentryDebugIdIdentifier="sentry-dbid-1b7ac7b7-7e20-4cf8-9de8-4ea08d5d7569")}catch{}})();const _={containerPaddingLeft:new Z(g[3],g[6],g[8]),containerPaddingRight:new Z(g[3],g[6],g[8]),buttonWidth:new Z(85,85)},Q="editPeoplePage",I="userItems",p=de.getLocalizedStrings().peoplePage,Ze=({peopleDetails:e,managersList:n,classList:f,controllersList:$,mode:l,isZeniTenant:x,onPeopleLocalDataUpdated:C,onCloseClick:O,onSaveClick:r,isReimbursementDisabled:w,isZeniAccountsDisabled:t,isChargeCardDisabled:j,isTreasuryDisabled:B,isBankingOnlyTenant:v,isCardsOnlyTenant:y,isLiteRoleDisabled:k})=>{const u=ee(),[J,H]=R.useState(-1),[q,T]=R.useState(""),E=R.useRef(null),z=R.useMemo(()=>ne(w,t,j,v,y,k,B),[w,t,j,v,y,k,B]),K=le(),a=te({mode:"onBlur",reValidateMode:"onChange",defaultValues:F(e.people,l,z,n,f,v,y),values:F(e.people,l,z,n,f,v,y)}),X=a.handleSubmit(()=>{Y()?r():console.warn("Invite People form error")}),Y=()=>{const o=a.getValues();let i=!0;return o.userItems.forEach((L,P)=>{const{role:S,nonZeniRole:b,department:D,manager:d}=L;if(l==="zeni_only")S?.selectedOptions==null&&(a.setError(`${I}.${P}.role`,{type:"required"}),i=!1);else{const m=b?.userRole.selectedRole;(m!=null&&b!=null?b.productsByUserRole[m].map(s=>s.selectedOption).filter(s=>s!=null):[]).length<1&&(a.setError(`${I}.${P}.nonZeniRole.userRole.selectedRole`,{type:"required"}),i=!1),D?.selectedOption==null&&m!=="investor_or_banker"&&!v&&!y&&(a.setError(`${I}.${P}.department`,{type:"required"}),i=!1),d?.selectedUser==null&&m!=="investor_or_banker"&&(a.setError(`${I}.${P}.manager`,{type:"required"}),i=!1)}}),i};return R.useEffect(()=>{const o=a.watch((i,{name:L})=>{L!=null&&i!=null&&(async(P,S)=>{const b=[],{userItems:D}=S;D.forEach(d=>{let m={};if(l==="zeni_only")m={email:d.email,role:[d.role?.selectedOptions]};else{const s=d.nonZeniRole?.userRole.selectedRole;let h=[];s==="admin"||s==="investor_or_banker"?h.push(s):h=s!=null?(d.nonZeniRole?.productsByUserRole[s]??[]).map(U=>ue(U.selectedOption?.value)).filter(U=>U!=null):[],s==="employee"&&h.length===0&&(h=["reimbursements_user"]);const A=me(h);m={email:d.email,role:h,departmentId:A?void 0:d.department?.selectedOption?.value,managerId:A?void 0:d.manager?.selectedUser}}b.push(m)}),C(b)})(0,i)});return()=>{o.unsubscribe()}}),R.useEffect(()=>{const o=E.current,i=()=>{u!=="small"&&(o&&o?.scrollTop>g[9]?T(l==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):T(""))};return u==="small"?T(l==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):o&&o?.scrollTop<=g[9]&&T(""),o&&o.addEventListener("scroll",i),()=>{o&&o.removeEventListener("scroll",i)}},[l,q,u]),c.jsxs(c.Fragment,{children:[c.jsx(oe,{title:q,backgroundColor:K.colors.grey4,style:{zIndex:4},onCloseClick:O,isTitleAlignLeft:u==="small"}),c.jsxs(ge,{"data-testid":se("invite-people-container"),windowSize:u,ref:E,children:[u!=="small"?c.jsx(fe,{children:l==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title}):null,c.jsx(ie,{...a,children:c.jsx("form",{id:`${Q}_form`,onSubmit:X,children:c.jsx(pe,{control:a.control,sectionId:I,deleteConfirmationIndex:J,updateDeleteConfirmationIndex:H,mode:l,isZeniTenant:x,classList:f,managersList:n,controllersList:$,isBankingOnlyTenant:v,isCardsOnlyTenant:y,customerRoleOptions:z,isEdit:!1})})})]}),c.jsx(re,{formId:`${Q}_form`,primaryBtn:{label:p.invitePage.invite,style:{width:_.buttonWidth.value(u)},isLoading:e.invitePersonState.fetchState==="In-Progress",isDisabled:e.invitePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:p.invitePage.cancel,style:{width:_.buttonWidth.value(u)},shouldResetOnCancel:!1,onClick:O},separatorStyle:{marginRight:ae.sp4}})]})},F=(e,n,f,$,l,x,C)=>{const O=[{userIndex:0,email:[],role:n==="zeni_only"?{allOptions:N.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:n==="off"?{userRole:{selectedRole:e[0]?.role.length>0?M(e[0].role):void 0,allRootRole:W(x,C)},productsByUserRole:V(e[0]?.role??[],f)}:void 0,department:void 0,manager:void 0}];return{[I]:e.length>0?e.map((r,w)=>({userIndex:w,email:r.email,role:n==="zeni_only"?{allOptions:N.roles,selectedOptions:r.role}:void 0,nonZeniRole:n==="off"?{userRole:{selectedRole:r.role.length>0?M(r.role):void 0,allRootRole:W(x,C)},productsByUserRole:V(r.role,f)}:void 0,department:{allOptions:l.map(t=>({label:t.fullyQualifiedAccountingClassName??"",value:t.classId,hoverText:t.accountingClassNumber})),selectedOption:l.map(t=>({label:t.fullyQualifiedAccountingClassName??"",value:t.classId,hoverText:t.accountingClassNumber})).find(t=>t.value===r.departmentId)},manager:{allUsers:$,selectedUser:r.managerId}})):O}},je=(e,n)=>`${e}.${n}`,ge=G.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey4};
|
|
5
5
|
|
|
6
|
-
padding-left: ${e=>`${
|
|
7
|
-
padding-right: ${e=>`${
|
|
6
|
+
padding-left: ${e=>`${_.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
7
|
+
padding-right: ${e=>`${_.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
8
8
|
overflow-x: hidden;
|
|
9
9
|
height: 100%;
|
|
10
10
|
`,fe=G(ce)`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as ae,e as se,O as G,V as t,L as N,o as i,f as d,x as j,fX as je,fY as ze,b as O,bR as Le,bS as Ee,bT as Te,t as Pe,at as de,m as g,w as ie,M as Be,n as Ae,C as ce,fZ as Ie}from"./index-
|
|
1
|
+
import{y as ae,e as se,O as G,V as t,L as N,o as i,f as d,x as j,fX as je,fY as ze,b as O,bR as Le,bS as Ee,bT as Te,t as Pe,at as de,m as g,w as ie,M as Be,n as Ae,C as ce,fZ as Ie}from"./index-CAltUZe8.js";import{a as o}from"./sentry-DQeYyYXx.js";import{n as l}from"./mui-CMSRVFAm.js";import Re from"./AttachmentView-CzC4skJ3-3dq1WroI.js";import{l as De}from"./uploadReceipts-CIgkuVpu-IBEc_jc1.js";import{t as He}from"./upload-reimbursement-receipt-O2N8vcO7-DJbY_Oz2.js";import"./pdf-Be2WBqYM.js";import"./zeni-epic-state-CHpO1ZKT.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},x=new e.Error().stack;x&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[x]="453a1b02-2529-4120-92d6-5a0379a2a7d8",e._sentryDebugIdIdentifier="sentry-dbid-453a1b02-2529-4120-92d6-5a0379a2a7d8")}catch{}})();const w={memoPaddingTopBottomRight:new j(12,g[3]),billReceiptSize:new j(60,g[10]),rootContainerPaddingTop:new j(g[3],62),rootContainerPaddingRight:new j(g[3],g[6]),rootContainerPaddingBottom:new j(g[5],g[9]),rootContainerPaddingLeft:new j(g[3],g[8])},le=l(Be)`
|
|
2
2
|
color: ${e=>e.isPlaceholderText===!0?e.theme.colors.grey1:e.theme.colors.hero};
|
|
3
3
|
white-space: pre-wrap;
|
|
4
4
|
text-align: center;
|
|
@@ -51,7 +51,7 @@ import{y as ae,e as se,O as G,V as t,L as N,o as i,f as d,x as j,fX as je,fY as
|
|
|
51
51
|
align-items: center;
|
|
52
52
|
background-color: ${e=>e.theme.colors.grey4};
|
|
53
53
|
box-shadow: ${e=>`${i.sp0} 2px ${i.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
54
|
-
`,
|
|
54
|
+
`,Ve=l.div`
|
|
55
55
|
display: flex;
|
|
56
56
|
flex-direction: column;
|
|
57
57
|
box-sizing: border-box;
|
|
@@ -66,7 +66,7 @@ import{y as ae,e as se,O as G,V as t,L as N,o as i,f as d,x as j,fX as je,fY as
|
|
|
66
66
|
width: inherit;
|
|
67
67
|
height: inherit;
|
|
68
68
|
}
|
|
69
|
-
`,
|
|
69
|
+
`,Fe=l.div`
|
|
70
70
|
display: flex;
|
|
71
71
|
flex-direction: column;
|
|
72
72
|
align-items: center;
|
|
@@ -79,7 +79,7 @@ import{y as ae,e as se,O as G,V as t,L as N,o as i,f as d,x as j,fX as je,fY as
|
|
|
79
79
|
width: ${e=>e.windowSize=="small"?"100%":"42%"};
|
|
80
80
|
background-color: ${e=>e.showAutofill&&e.windowSize!=="small"?d.overlayDark:e.windowSize==="small"?e.theme.colors.grey4:e.theme.colors.background};
|
|
81
81
|
margin-top: ${e=>e.windowSize!=="small"||e.type!=="bill"&&e.type!=="w9"?"unset":"76px"};
|
|
82
|
-
`,
|
|
82
|
+
`,_e=l.div`
|
|
83
83
|
display: flex;
|
|
84
84
|
flex-direction: column;
|
|
85
85
|
align-items: center;
|
|
@@ -126,15 +126,15 @@ import{y as ae,e as se,O as G,V as t,L as N,o as i,f as d,x as j,fX as je,fY as
|
|
|
126
126
|
color: ${e=>e.theme.colors.hero};
|
|
127
127
|
`,W=l(ce)`
|
|
128
128
|
color: ${d.important};
|
|
129
|
-
`,
|
|
129
|
+
`,Je=({type:e="bill",attachmentIdBeingUploaded:x,uploadError:f,uploadErrorMsg:y,showAutofill:m,allowMultiFiles:L=!1,customError:E,dropFilePlaceholder:n,showInfoText:R,showTitlebar:T,pdfTitle:D,openSizeLimitPopup:H,onUploadAttachment:k,uploadStatus:P})=>{const C=ae(),[M,b]=o.useState(!1),v=function(r){r.preventDefault(),r.stopPropagation(),r.type==="dragenter"||r.type==="dragover"?b(!0):r.type==="dragleave"&&M&&b(!1)},p=se(),B=o.useRef(null),S=G.getLocalizedStrings().spendManagement.billPay.billDetails,V=P!=null?P.fetchState=="In-Progress":x;return t.jsxs(Ve,{showTitlebar:T,windowSize:p,type:e,children:[T===!0?t.jsx(qe,{windowSize:p,type:e,children:D}):null,V==1?t.jsx(pe,{children:e==="receipt"?t.jsx(N,{size:"Large",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",padding:"1.5rem",borderRadius:"100%",backgroundColor:`${C.mode==="light"?d.backgroundThemeLight:d.backgroundThemeDark}`,border:`2px solid ${C.mode==="light"?d.neutralGrey3Light:d.neutralGrey3Dark}`,boxShadow:`${i.sp0} 2px ${i.sp1} ${C.mode==="light"?d.dropShadowNormalLight:d.dropShadowNormalDark}`}}):t.jsx(N,{size:"ExtraLarge",start:!0})}):t.jsx(Ye,{windowSize:p,showAutofill:m,type:e,children:t.jsxs(Me,{windowSize:p,onClick:()=>{B.current?.click()},onDragEnter:v,onDragLeave:v,onDragOver:v,onDrop:function(r){if(r.preventDefault(),r.stopPropagation(),b(!1),r.dataTransfer.files.length>0){const c=r.dataTransfer.files;if(L){const a=[],h=[];for(let s=0;s<c.length;s++)a.push(c[s].name),h.push(c[s]);k?.(h,a,"dragdrop")}else{const a=c[0];k?.([a],[a.name],"dragdrop")}}},"data-testid":O("upload-tag",e),children:[t.jsxs(_e,{onDragEnter:v,children:[e==="receipt"?t.jsx(Ne,{width:w.billReceiptSize.valuePx(p),height:w.billReceiptSize.valuePx(p)}):t.jsx(Oe,{width:w.billReceiptSize.valuePx(p),height:w.billReceiptSize.valuePx(p)}),e==="receipt"?t.jsxs(le,{isPlaceholderText:!0,children:[n?.upload!=null?t.jsx(z,{children:n?.upload}):null,n?.single!=null?t.jsx(z,{children:t.jsx(ne,{themeContext:C,children:n?.single})}):null,n?.or!=null?t.jsx(z,{children:n?.or}):null,n?.multiple!=null?t.jsx(z,{children:t.jsx(ne,{themeContext:C,children:n?.multiple})}):null,n?.receipts!=null?t.jsx(z,{children:n?.receipts}):null,n?.receipt!=null?t.jsx(z,{children:n?.receipt}):null]}):e==="w9"?t.jsx(re,{children:S.dropW9}):t.jsx(re,{children:S.dropInvoice}),E!=null&&t.jsx(Z,{children:t.jsx(W,{children:E})}),f&&y==="File size is too large"&&t.jsx(Z,{children:t.jsx(W,{children:S.uploadFileSizeExceedError})}),f&&y!=="File size is too large"&&t.jsx(Z,{children:t.jsx(W,{children:S.uploadError.replace("__type__",e)})})]}),t.jsx(je,{fileRef:B,name:"invoice",onFileChange:r=>{if(r.target.files!=null){const c=r.target.files;if(L){const a=[],h=[];for(let s=0;s<c.length;s++)a.push(c[s].name),h.push(c[s]);k?.(h,a,"dragdrop")}else{const a=c[0];k?.([a],[a.name],"upload")}}},multiple:L,sizeLimit:ze,onFileSizeError:H}),R===!0?t.jsxs(Ue,{children:[t.jsx(Xe,{}),t.jsx(le,{isPlaceholderText:!1,style:{marginLeft:i.sp1},children:S.currencyInfo})]}):null]})})]})},Ye=l.div`
|
|
130
130
|
padding: ${e=>e.type==="w9"?i.sp0:e.windowSize==="small"&&e.showAutofill===!1?i.sp3:i.sp0};
|
|
131
131
|
background-color: ${e=>e.windowSize==="small"?e.theme.colors.grey3:e.theme.colors.grey4};
|
|
132
132
|
height: 100%;
|
|
133
133
|
width: 100%;
|
|
134
134
|
border-radius: ${i.sp2};
|
|
135
|
-
`,
|
|
135
|
+
`,qe=l(de)`
|
|
136
136
|
padding-bottom: ${e=>e.type==="w9"?i.sp0:e.windowSize==="small"?"12px":i.sp3};
|
|
137
137
|
background-color: ${e=>e.windowSize==="small"?e.theme.colors.grey4:e.theme.colors.grey3};
|
|
138
138
|
width: 100%;
|
|
139
139
|
color: ${e=>e.theme.colors.primary};
|
|
140
|
-
`,ut=({uploadInvoiceEndPoint:e,authParams:x,showAutofill:f,allowMultiFiles:y,type:m="bill",customError:L,pdfTitle:E,entityId:n,shouldNotShowAttachment:R,analytics:T,style:D,noAttachmentText:H,dropFilePlaceholder:k,showInfoText:P,showTitlebar:C,showTitlebarIcon:M,file:b,attachmentTitle:v,vendorLegalName:p,onInvoiceUpload:B,onSkipAutofill:S,setFileUploaded:
|
|
140
|
+
`,ut=({uploadInvoiceEndPoint:e,authParams:x,showAutofill:f,allowMultiFiles:y,type:m="bill",customError:L,pdfTitle:E,entityId:n,shouldNotShowAttachment:R,analytics:T,style:D,noAttachmentText:H,dropFilePlaceholder:k,showInfoText:P,showTitlebar:C,showTitlebarIcon:M,file:b,attachmentTitle:v,vendorLegalName:p,onInvoiceUpload:B,onSkipAutofill:S,setFileUploaded:V,updateInvoiceUploadFetchState:r,onReplaceClick:c,onDeleteClick:a,uploadStatus:h,isLoading:s=!1})=>{const X=ae(),A=se(),[he,J]=o.useState(!1),Y=G.getLocalizedStrings().spendManagement.billPay.billDetails,[me,q]=o.useState(!1),[ue,K]=o.useState(!1),[ge,we]=o.useState(""),[fe,F]=o.useState(!1),[_,Ce]=o.useState({title:"",description:"",primaryButtonText:""});async function Q($,u,I,oe,ye){J(!0),K(!1);const be=y===!0?I:[I[0]],Se=y===!0?oe:[oe[0]],{blobs:$e,names:ke}=await Ie(be,Se);await De(`${$}/1.0/processors/${m}`,u,$e,ke,we).then(ve=>{B?.(ve),q(!0),V?.()}).catch(()=>{K(!0),ye?.("Error")}),J(!1)}o.useEffect(()=>{q(b!=null)},[b]);const ee=$=>{const u=G.getLocalizedStrings().spendManagement.reimbursement.reimbursementDetail;$?(Ce({title:u.uploadLimitTitle,description:u.uploadLimitDescription,primaryButtonText:u.buttons.okay}),F(!0)):F(!1)},xe={onOkClick:()=>{F(!1)}};let te=n!=null||(h!=null?h?.fetchState=="Completed":me);m==="bill"&&R===!0&&(te=!1);const U=m==="bill"?"bill_pay":m==="receipt"?"reimbursement":"w9";return t.jsx(Fe,{showAutofill:f,windowSize:A,style:D,type:m,"data-testid":O("upload-section",U),children:s?t.jsx(pe,{children:t.jsx(N,{size:"ExtraLarge",start:!0})}):t.jsxs(t.Fragment,{children:[fe?t.jsx(Le,{titleComponent:t.jsx(Te,{children:_.title}),descriptionComponent:t.jsx(Ee,{children:_.description}),primaryButtonText:_.primaryButtonText,action:xe}):null,!s&&h?.fetchState!=="In-Progress"&&te?t.jsx(Re,{title:v,type:m,file:b,noAttachmentText:H,showTitlebar:C,showTitlebarIcon:M,pdfTitle:E,onReplaceClick:c,onDeleteClick:a,allowMultiFiles:y,openSizeLimitPopup:ee,onUploadAttachment:($,u)=>{r?.("In-Progress"),Q(e,x,$,u,r)}}):t.jsx(Je,{type:m,uploadError:ue,uploadErrorMsg:ge,attachmentIdBeingUploaded:he,dropFilePlaceholder:k,showInfoText:P,allowMultiFiles:y,customError:L,showTitlebar:C,pdfTitle:E,showAutofill:f,openSizeLimitPopup:ee,uploadStatus:h,onUploadAttachment:($,u,I)=>{T?.trackUploadInvoice(I,U,p),r?.("In-Progress"),Q(e,x,$,u,r)}}),f?t.jsxs(Ze,{windowSize:A,children:[t.jsx(We,{windowSize:A,themeContext:X,children:Y.skipAutofillInfo}),t.jsx(Ge,{windowSize:A,themeContext:X,"data-testid":O("skip-autofill",U),onClick:()=>S?.(!f),children:t.jsx(Pe,{children:Y.skipAutofill})})]}):null]})})};export{Je as AttachmentElement,ut as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as oe,T as Ua,c8 as Fa,V as i,b as Ie,ix as Na,bu as Ma,A as qa,a9 as Ea,o as a,x as b,O as de,aV as ka,ar as Ba,d as Ce,M as pa,a8 as Va,c2 as Ha,f as ie,er as Wa,bH as Ga,cc as xe,dP as Ja,m as t,bo as Ya,al as Y,c6 as ge,cq as ha,iy as
|
|
1
|
+
import{e as oe,T as Ua,c8 as Fa,V as i,b as Ie,ix as Na,bu as Ma,A as qa,a9 as Ea,o as a,x as b,O as de,aV as ka,ar as Ba,d as Ce,M as pa,a8 as Va,c2 as Ha,f as ie,er as Wa,bH as Ga,cc as xe,dP as Ja,m as t,bo as Ya,al as Y,c6 as ge,cq as ha,iy as Za,iz as Qa,cp as Xa,y as Ae,iA as Oe,cd as _e,fD as De,ex as we,w as re,et as me,fz as ma,C as Re,a5 as Ka,gk as ei,H as ai,gl as ii}from"./index-CAltUZe8.js";import{a as E}from"./sentry-DQeYyYXx.js";import{n as s}from"./mui-CMSRVFAm.js";import{Y as ga}from"./LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-BLPpr77S.js";import{br as ri}from"./zeni-epic-state-CHpO1ZKT.js";import{T as ba}from"./RoleWithToolTip-Ct3_VuDM-CgjPQD6C.js";import"./pdf-Be2WBqYM.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";import"./avatar-Dz7aEm3d-ZI3JCtk7.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="d1b3c23b-3900-4145-a92c-95e830612b3a",e._sentryDebugIdIdentifier="sentry-dbid-d1b3c23b-3900-4145-a92c-95e830612b3a")}catch{}})();const be=e=>{const{common:r,spendManagement:{chargeCard:{issueCard:o}}}=de.getLocalizedStrings();switch(e){case"monthly":return o.frequencySubLabels.monthly;case"quarterly":return o.frequencySubLabels.quarterly;case"weekly":return o.frequencySubLabels.weekly;case"yearly":return o.frequencySubLabels.yearly;default:return r.strings.empty}},di=["creditCard","debitCard"],We=e=>ri(e,di),h=(e,r)=>`${e}.${r}`,{commonSetUp:{businessVerification:{addressPlaceholder:Ge,customAddressPlaceholder:li}},spendManagement:{chargeCard:{issueCard:N}}}=de.getLocalizedStrings(),B={largeLabelWidth:new b(120,120,200),labelMarginRight:new b(t[3],t[4]),labelMarginBottom:new b(t[2],t[0]),infoLabelMarginTop:new b(t[1],t[0]),radioLabelPaddingLeftRight:new b(t[2],t[3]),radioLabelPaddingLeft:new b(t[0],t[3]),radioLabelPaddingRight:new b(10,t[3])},ti={infoLabel:new Ce("smallRegular","smallRegular")},te="creditCard.physicalCard.addressType",si=({lineData:e,issueCardSectionId:r,limit:o,creditLimitFrequency:C,activeChargeCardCount:$,allRoles:y,allAccountingClasses:z,companyAddress:_,customAddress:j,userAddress:I,userList:c,maxPhysicalChargeCardPerUser:L,openAddAddressDrawerHandler:g})=>{const n=oe(),m=Ae(),{getValues:U}=xe(),x=B.largeLabelWidth.value(n),d=e.creditCard.physicalCard.addressType,u=e.creditCard.physicalCard.amount,f=Oe(o.amount),w=u!=null&&u>o.amount,p=w?N.amountExceedError.replace("_amount_",f):void 0,V=e.creditCard.physicalCard.user,S=V.allUsers.find(l=>l.userId===V.selectedUser),F=S?.userId,M=F!=null?I[F]:void 0;return i.jsxs(i.Fragment,{children:[i.jsx(ga,{label:{label:N.cardholderLabel,width:x},userSingleSelectWithSubTitlesField:{name:h(r,"creditCard.physicalCard.user"),placeholderLabel:N.usersPlaceholder,value:{allUsers:c,selectedUser:e.creditCard.physicalCard.user.selectedUser},registerOptions:{required:!0,validate:l=>l?.selectedUser?.length>0},valueToSubtitle:l=>{const P=y.find(q=>q.userId===l),D=[];return P?.accountingClassIDs.forEach(q=>{const R=z.find(v=>v.classId===q);R!=null&&R.className&&D.push(R.className)}),D},additionalLabelInfo:N.additionalInfoPhysical,showOnlyAvatar:!0,showAvatarAndSubtitles:!1,isOptionDisabled:l=>{let P=$[l]?.physicalCardCount??0;return U().lineInfo.forEach(D=>{D.creditCard.cardType==="business_physical_credit_card"&&D.creditCard.physicalCard.user.selectedUser===l&&(P+=1)}),P>=L},disabledOptionHint:N.cardLimitWarning,bigMarginRightForSmallScreens:!0,optionStyles:{maxHeight:a.sp10,minHeight:a.sp6,height:"max-content"}},style:{width:"100%",paddingLeft:B.labelMarginBottom.value(n)}}),i.jsx(Le,{}),i.jsx(_e,{label:{label:N.cardNameLabel,width:x},style:{width:"auto",paddingLeft:B.labelMarginBottom.value(n)},text:{type:"text",name:h(r,"creditCard.physicalCard.cardName"),defaultValue:e.creditCard.physicalCard.cardName,placeholder:N.cardNamePlaceholder,options:{required:!0,validate:l=>l!=null}}}),i.jsx(Le,{}),i.jsx(De,{label:{label:N.amountLabel,width:x},showAdditionalInfoLabel:w,additionalInfoLabel:p,formattedTextField:{type:"number",name:h(r,"creditCard.physicalCard.amount"),defaultValue:e.creditCard.physicalCard.amount,placeholder:N.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:l=>!!l&&l>0&&l<=o.amount},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},isFieldError:w,style:{width:"auto",paddingLeft:B.labelMarginBottom.value(n)}}),i.jsx(Le,{}),i.jsx(we,{isDisabled:"readonly",label:{label:N.frequencyLabel,width:x,style:{marginBottom:B.labelMarginBottom.valuePx(n),marginRight:B.labelMarginRight.valuePx(n)}},style:{width:"100%",paddingLeft:B.labelMarginBottom.valuePx(n)},infoLabelStyle:{...re.smallRegular.cssObject,textAlign:"right",paddingRight:a.sp3,marginTop:B.infoLabelMarginTop.valuePx(n),color:m.colors.hero},valueToAdditionalLabel:l=>be(l),singleSelectPickerField:{name:h(r,"creditCard.physicalCard.frequency"),placeholder:N.frequencyPlaceholder,style:{position:"relative"},capitalizeOptions:!0,showSubLabelsInSingleValue:!1,defaultValue:{selectedOption:e.creditCard.physicalCard.frequency.selectedOption,allOptions:C.map(l=>({label:l.name,value:l.code}))},valueToSubLabels:(l,P)=>((D,q)=>i.jsx(oi,{isOptionSelected:q,children:be(D)}))(l,P),textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption}}}),i.jsx(Le,{}),i.jsxs(ci,{windowSize:n,children:[i.jsxs(hi,{windowSize:n,children:[i.jsx(ge,{label:N.address.shippingAddressLabel,htmlFor:h(r,te),style:{marginLeft:a.sp4,marginRight:B.labelMarginRight.valuePx(n),marginTop:a.sp2,width:n==="small"?"auto":x}}),i.jsx(ui,{windowSize:n,children:i.jsxs(mi,{isDisabled:S==null,children:[M!=null&&i.jsx(Y,{isContainerClickable:!0,label:{label:N.address.personal},isDisabled:S==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:B.radioLabelPaddingLeftRight.value(n),paddingRight:B.radioLabelPaddingRight.value(n),width:"fit-content"},radioField:{name:h(r,te),id:`${h(r,te)}.${N.address.personal}`,value:"card_holder_personal_address",radioSize:"small",registerOptions:{required:!0}}}),i.jsx(Y,{isContainerClickable:!0,label:{label:N.address.company},isDisabled:S==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:B.radioLabelPaddingLeft.value(n),paddingRight:B.radioLabelPaddingRight.value(n),width:"fit-content"},radioField:{name:h(r,te),id:`${h(r,te)}.${N.address.company}`,value:"company_address",radioSize:"small",registerOptions:{required:!0}}}),i.jsx(Y,{isContainerClickable:!0,label:{label:N.address.custom},isDisabled:S==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:B.radioLabelPaddingLeft.value(n),paddingRight:B.radioLabelPaddingLeftRight.value(n),width:"fit-content"},radioField:{name:h(r,te),id:`${h(r,te)}.${N.address.custom}`,value:"custom_address",radioSize:"small",registerOptions:{required:!0}}})]})})]}),i.jsx(pi,{windowSize:n,children:S?.user!=null&&d!=null&&i.jsx(ni,{children:d==="card_holder_personal_address"?i.jsxs(i.Fragment,{children:[i.jsx(me,{name:"personal_address_value_field",defaultValue:M,isDisabled:"readonly",placeholder:Ge,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1}}),i.jsx(Je,{windowSize:n,children:N.address.personalAddressText.replace("_name_",S.user.firstName)})]}):d==="company_address"?i.jsx(me,{name:"company_address_value_field",defaultValue:_,isDisabled:"readonly",placeholder:Ge,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1}}):i.jsxs(i.Fragment,{children:[i.jsx(me,{name:"custom_address_value_field",defaultValue:j[e.lineId],placeholder:li,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1},onClick:()=>{g(e.lineId,"creditCard")}}),i.jsx(Je,{windowSize:n,children:N.address.customAddressText})]})})})]})]})},ni=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -78,9 +78,9 @@ import{e as oe,T as Ua,c8 as Fa,V as i,b as Ie,ix as Na,bu as Ma,A as qa,a9 as E
|
|
|
78
78
|
&:hover {
|
|
79
79
|
fill: ${e=>e.theme.colors.primary};
|
|
80
80
|
}
|
|
81
|
-
`,{spendManagement:{chargeCard:{issueCard:G}}}=de.getLocalizedStrings(),
|
|
81
|
+
`,{spendManagement:{chargeCard:{issueCard:G}}}=de.getLocalizedStrings(),K={largeLabelWidth:new b(120,120,200),labelMarginRight:new b(t[3],t[4]),largeLabelMarginRight:new b(t[2],12),labelMarginBottom:new b(t[2],t[0]),infoLabelMarginTop:new b(t[1],t[0])},gi={infoLabel:new Ce("smallRegular","smallRegular")},Ye="debitCard.virtualCard.users",bi=({lineData:e,issueCardSectionId:r,cardHolderCandidates:o,creditLimitFrequency:C,allRoles:$,depositAccounts:y,allAccountingClasses:z,activeDebitCardCount:_,maxVirtualDebitCardPerUser:j})=>{const I=Ae(),c=oe(),{getValues:L}=xe(),g=K.largeLabelWidth.value(c),n=e.debitCard.virtualCard.amount,m=y.find(d=>d.id===e.debitCard.virtualCard.connectedAccount.selectedOption)?.cardLimits.dailyCardTransactionLimit.amount,U=n!=null&&m!=null&&n>m,x=U?G.amountExceedDebitCardError.replace("_amount_",Oe(m)):void 0;return i.jsxs(i.Fragment,{children:[i.jsx(Qe,{label:{label:G.connectedAccountLabel,width:g,style:{marginLeft:a.sp4,marginRight:K.largeLabelMarginRight.value(c),marginTop:a.sp2,width:g}},style:{width:"auto"},singleSelectPickerField:{name:h(r,"debitCard.virtualCard.connectedAccount"),placeholder:G.selectAccountPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(d,u)=>Ca(y,d,u),valueToSubLabels:(d,u)=>Te(y,d,u),defaultValue:{selectedOption:e.debitCard.virtualCard.connectedAccount.selectedOption,allOptions:y.map(d=>({label:d.accountName,value:d.id}))},isOptionRemovable:!1,textAlignment:"right",registerOptions:{required:!0,validate:d=>d!=null&&!!d.selectedOption}}}),i.jsx(Se,{}),i.jsxs(ji,{windowSize:c,children:[i.jsx(ge,{label:G.cardholdersLabel,htmlFor:h(r,Ye),style:{marginLeft:a.sp4,marginRight:K.labelMarginRight.value(c),marginTop:a.sp2,width:g}}),i.jsxs(Si,{windowSize:c,children:[i.jsx(ma,{hideEmailTooltip:!0,shouldHaveBackgroundColor:!1,showBackgroundColorIfHasAnySelectedOption:!1,placeholderLabel:G.usersPlaceholder,name:h(r,Ye),value:{allUsers:o,selectedUsers:e.debitCard.virtualCard.users.selectedUsers,allNonUsers:[],selectedNonUsers:[]},registerOptions:{required:!0,validate:d=>d?.selectedUsers?.length>0},valueToSubtitle:d=>{const u=$.find(w=>w.userId===d),f=[];return u!=null&&(f.push(i.jsx(ba,{roles:u.userRoles})),u.accountingClassIDs.forEach(w=>{const p=z.find(V=>V.classId===w);p!=null&&p.className&&f.push(p.className)})),f},disableCurrentOption:d=>{let u=0;const f=e.debitCard.virtualCard.connectedAccount.selectedOption;return f!=null&&_?.[f]?.[d]!=null&&(u=_[f][d].virtualCardCount),L().lineInfo.forEach(w=>{w.debitCard.cardType==="business_virtual_debit_card"&&w.debitCard.virtualCard.users.selectedUsers.forEach(p=>{p.userId===d&&(u+=1)})}),u>=j},disabledOptionHint:G.cardLimitWarning,customStyleConfig:{placeholder:()=>({margin:a.sp0}),input:(d,{selectProps:u})=>({display:u.menuIsOpen===!1&&e.debitCard.virtualCard.users.selectedUsers.length>0&&c!=="small"?"none":"unset",width:c==="small"&&e.debitCard.virtualCard.users.selectedUsers.length>0?"100%":`calc(100% - ${a.sp5})`,padding:e.debitCard.virtualCard.users.selectedUsers.length===0?`${a.sp0} ${a.sp3}`:a.sp0,...re.standardRegular.cssObject,height:a.sp4,zIndex:0,position:e.debitCard.virtualCard.users.selectedUsers.length===0||c==="small"&&u.menuIsOpen===!1?"absolute":"unset",left:a.sp0,">input":{...re.smallBold.cssObject,height:"100%",cursor:"pointer"}})}}),i.jsx(Li,{size:c,children:G.additionalInfoVirtual})]})]}),i.jsx(Se,{}),i.jsx(_e,{label:{label:G.cardNameLabel,width:g},style:{width:"auto",paddingLeft:K.labelMarginBottom.value(c)},text:{type:"text",name:h(r,"debitCard.virtualCard.cardName"),defaultValue:e.debitCard.virtualCard.cardName,placeholder:G.cardNamePlaceholder,options:{required:!0,validate:d=>d!=null}}}),i.jsx(Se,{}),i.jsx(De,{label:{label:G.amountLabel,width:g},showAdditionalInfoLabel:U,additionalInfoLabel:x,formattedTextField:{type:"number",name:h(r,"debitCard.virtualCard.amount"),defaultValue:e.debitCard.virtualCard.amount,placeholder:G.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:d=>m!=null?!!d&&d>0&&d<=m:!!d&&d>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto",paddingLeft:K.labelMarginBottom.value(c)},isFieldError:U}),i.jsx(Se,{}),i.jsx(vi,{size:c,children:i.jsx(Qe,{isDisabled:"readonly",label:{label:G.frequencyLabel,width:g,style:{marginLeft:a.sp0,marginBottom:K.labelMarginBottom.valuePx(c),marginRight:K.labelMarginRight.valuePx(c)}},style:{width:"100%",padding:a.sp0,display:c==="small"?"flex":"inherit"},infoLabelStyle:{...re.smallRegular.cssObject,textAlign:"right",paddingRight:a.sp3,marginTop:K.infoLabelMarginTop.valuePx(c),color:I.colors.hero},valueToAdditionalLabel:d=>be(d),singleSelectPickerField:{name:h(r,"debitCard.virtualCard.frequency"),placeholder:G.frequencyPlaceholder,style:{position:"relative"},capitalizeOptions:!0,showSubLabelsInSingleValue:!1,defaultValue:{selectedOption:e.debitCard.virtualCard.frequency.selectedOption,allOptions:C.map(d=>({label:d.name,value:d.code}))},valueToSubLabels:(d,u)=>Te(y,d,u),textAlignment:"right",registerOptions:{required:!0,validate:d=>d!=null&&!!d.selectedOption}}})})]})},Ca=(e,r,o)=>{if(r==="")return i.jsx(wi,{});const C=e.find(y=>y.id===r),$=e.findIndex(y=>y.id===r);return C!=null?i.jsx(fi,{isOptionSelected:o,children:i.jsx(xi,{color:ei($)})}):null},Te=(e,r,o)=>{if(!r)return null;const C=e.find($=>$.id===r);return o===!0?i.jsx(Ci,{children:C?.maskedAccountNumber}):i.jsxs($i,{className:"option-sublabel",children:[i.jsx(Ze,{children:C?.maskedAccountNumber}),C?.accountBalance?.available?i.jsx(yi,{}):null,C?.accountBalance?.available?i.jsx(Ze,{children:Ka("0,0[.]00",C.accountBalance.available)}):null]})},Ci=s.span`
|
|
82
82
|
margin-left: ${a.sp2};
|
|
83
|
-
`,
|
|
83
|
+
`,Ze=s.div``,yi=s.div`
|
|
84
84
|
width: ${a.sp1};
|
|
85
85
|
height: ${a.sp1};
|
|
86
86
|
min-width: ${a.sp1};
|
|
@@ -135,7 +135,7 @@ import{e as oe,T as Ua,c8 as Fa,V as i,b as Ie,ix as Na,bu as Ma,A as qa,a9 as E
|
|
|
135
135
|
flex-grow: 1;
|
|
136
136
|
display: flex;
|
|
137
137
|
flex-direction: column;
|
|
138
|
-
width: ${e=>`calc(100% - ${
|
|
138
|
+
width: ${e=>`calc(100% - ${K.largeLabelWidth.valuePx(e.windowSize)})`};
|
|
139
139
|
align-items: flex-end;
|
|
140
140
|
flex-grow: 1;
|
|
141
141
|
`,Qe=s(we)`
|
|
@@ -175,7 +175,7 @@ import{e as oe,T as Ua,c8 as Fa,V as i,b as Ie,ix as Na,bu as Ma,A as qa,a9 as E
|
|
|
175
175
|
background-color: ${e=>e.theme.colors.background};
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
|
-
`,{commonSetUp:{businessVerification:{addressPlaceholder:Xe,customAddressPlaceholder:Pi}},spendManagement:{chargeCard:{issueCard:O}}}=de.getLocalizedStrings(),k={largeLabelWidth:new b(120,120,200),labelMarginRight:new b(t[3],t[4]),largeLabelMarginRight:new b(t[2],12),labelMarginBottom:new b(t[2],t[0]),infoLabelMarginTop:new b(t[1],t[0]),radioLabelPaddingLeftRight:new b(t[2],t[3]),radioLabelPaddingLeft:new b(t[0],t[3]),radioLabelPaddingRight:new b(10,t[3])},Ii={infoLabel:new Ce("smallRegular","smallRegular")},se="debitCard.physicalCard.addressType",Ti=({lineData:e,issueCardSectionId:r,creditLimitFrequency:o,activeDebitCardCount:C,allRoles:$,depositAccounts:y,allAccountingClasses:z,companyAddress:_,customAddress:j,userAddress:I,userList:c,maxPhysicalDebitCardPerUser:L,openAddAddressDrawerHandler:g})=>{const n=oe(),m=Ae(),{getValues:U}=xe(),x=k.largeLabelWidth.value(n),d=e.debitCard.physicalCard.amount,u=y.find(l=>l.id===e.debitCard.physicalCard.connectedAccount.selectedOption)?.cardLimits.dailyCardTransactionLimit.amount,f=d!=null&&u!=null&&d>u,w=f?O.amountExceedDebitCardError.replace("_amount_",Oe(u)):void 0,p=e.debitCard.physicalCard.addressType,V=e.debitCard.physicalCard.user,S=V.allUsers.find(l=>l.userId===V.selectedUser),F=S?.userId,M=F!=null?I[F]:void 0;return i.jsxs(i.Fragment,{children:[i.jsx(Oi,{label:{label:O.connectedAccountLabel,width:x,style:{marginLeft:a.sp4,marginRight:k.largeLabelMarginRight.value(n),marginTop:a.sp2,width:x}},style:{width:"auto"},singleSelectPickerField:{name:h(r,"debitCard.physicalCard.connectedAccount"),placeholder:O.selectAccountPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(l,P)=>Ca(y,l,P),valueToSubLabels:(l,P)=>Te(y,l,P),defaultValue:{selectedOption:e.debitCard.physicalCard.connectedAccount.selectedOption,allOptions:y.map(l=>({label:l.accountName,value:l.id}))},textAlignment:"right",isOptionRemovable:!1,registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption}}}),i.jsx(fe,{}),i.jsx(ga,{label:{label:O.cardholderLabel,width:x},userSingleSelectWithSubTitlesField:{name:h(r,"debitCard.physicalCard.user"),placeholderLabel:O.usersPlaceholder,value:{allUsers:c,selectedUser:e.debitCard.physicalCard.user.selectedUser},registerOptions:{required:!0,validate:l=>l?.selectedUser?.length>0},valueToSubtitle:l=>{const P=$.find(q=>q.userId===l),D=[];return P?.accountingClassIDs.forEach(q=>{const R=z.find(v=>v.classId===q);R!=null&&R.className&&D.push(R.className)}),D},additionalLabelInfo:O.additionalInfoPhysical,showOnlyAvatar:!0,showAvatarAndSubtitles:!1,isOptionDisabled:l=>{let P=0;const D=e.debitCard.physicalCard.connectedAccount.selectedOption;return D!=null&&C?.[D]?.[l]!=null&&(P=C[D][l].physicalCardCount),U().lineInfo.forEach(q=>{q.debitCard.cardType==="business_physical_debit_card"&&q.debitCard.physicalCard.user.selectedUser===l&&(P+=1)}),P>=L},disabledOptionHint:O.cardLimitWarning,bigMarginRightForSmallScreens:!0,optionStyles:{maxHeight:a.sp10,minHeight:a.sp6,height:"max-content"}},style:{width:"auto",paddingLeft:k.labelMarginBottom.value(n)}}),i.jsx(fe,{}),i.jsx(_e,{label:{label:O.cardNameLabel,width:x},style:{width:"auto",paddingLeft:k.labelMarginBottom.value(n)},text:{type:"text",name:h(r,"debitCard.physicalCard.cardName"),defaultValue:e.debitCard.physicalCard.cardName,placeholder:O.cardNamePlaceholder,options:{required:!0,validate:l=>l!=null}}}),i.jsx(fe,{}),i.jsx(De,{label:{label:O.amountLabel,width:x},showAdditionalInfoLabel:f,additionalInfoLabel:w,formattedTextField:{type:"number",name:h(r,"debitCard.physicalCard.amount"),defaultValue:e.debitCard.physicalCard.amount,placeholder:O.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:l=>u!=null?!!l&&l>0&&l<=u:!!l&&l>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto",paddingLeft:k.labelMarginBottom.value(n)},isFieldError:f}),i.jsx(fe,{}),i.jsx(we,{isDisabled:"readonly",label:{label:O.frequencyLabel,width:x,style:{marginBottom:k.labelMarginBottom.valuePx(n),marginRight:k.labelMarginRight.valuePx(n)}},style:{width:"auto",paddingLeft:k.labelMarginBottom.valuePx(n)},infoLabelStyle:{...re.smallRegular.cssObject,textAlign:"right",paddingRight:a.sp3,marginTop:k.infoLabelMarginTop.valuePx(n),color:m.colors.hero},valueToAdditionalLabel:l=>be(l),singleSelectPickerField:{name:h(r,"debitCard.physicalCard.frequency"),placeholder:O.frequencyPlaceholder,style:{position:"relative"},capitalizeOptions:!0,showSubLabelsInSingleValue:!1,defaultValue:{selectedOption:e.debitCard.physicalCard.frequency.selectedOption,allOptions:o.map(l=>({label:l.name,value:l.code}))},valueToSubLabels:(l,P)=>Te(y,l,P),textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption}}}),i.jsx(fe,{}),i.jsxs(_i,{windowSize:n,children:[i.jsxs(zi,{windowSize:n,children:[i.jsx(ge,{label:O.address.shippingAddressLabel,htmlFor:h(r,se),style:{marginLeft:a.sp4,marginRight:k.labelMarginRight.valuePx(n),marginTop:a.sp2,width:n==="small"?"auto":x}}),i.jsx(Di,{windowSize:n,children:i.jsxs(Ui,{isDisabled:S==null,children:[M!=null&&i.jsx(Y,{isContainerClickable:!0,label:{label:O.address.personal},isDisabled:S==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeftRight.value(n),paddingRight:k.radioLabelPaddingRight.value(n),width:"fit-content"},radioField:{name:h(r,se),id:`${h(r,se)}.${O.address.personal}`,value:"card_holder_personal_address",radioSize:"small",registerOptions:{required:!0}}}),i.jsx(Y,{isContainerClickable:!0,label:{label:O.address.company},isDisabled:S==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeft.value(n),paddingRight:k.radioLabelPaddingRight.value(n),width:"fit-content"},radioField:{name:h(r,se),id:`${h(r,se)}.${O.address.company}`,value:"company_address",radioSize:"small",registerOptions:{required:!0}}}),i.jsx(Y,{isContainerClickable:!0,label:{label:O.address.custom},isDisabled:S==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeft.value(n),paddingRight:k.radioLabelPaddingLeftRight.value(n),width:"fit-content"},radioField:{name:h(r,se),id:`${h(r,se)}.${O.address.custom}`,value:"custom_address",radioSize:"small",registerOptions:{required:!0}}})]})})]}),i.jsx(Ri,{windowSize:n,children:S?.user!=null&&p!=null&&i.jsx(Ai,{children:p==="card_holder_personal_address"?i.jsxs(i.Fragment,{children:[i.jsx(me,{name:"personal_address_value_field",defaultValue:M,isDisabled:"readonly",placeholder:Xe,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1}}),i.jsx(
|
|
178
|
+
`,{commonSetUp:{businessVerification:{addressPlaceholder:Xe,customAddressPlaceholder:Pi}},spendManagement:{chargeCard:{issueCard:O}}}=de.getLocalizedStrings(),k={largeLabelWidth:new b(120,120,200),labelMarginRight:new b(t[3],t[4]),largeLabelMarginRight:new b(t[2],12),labelMarginBottom:new b(t[2],t[0]),infoLabelMarginTop:new b(t[1],t[0]),radioLabelPaddingLeftRight:new b(t[2],t[3]),radioLabelPaddingLeft:new b(t[0],t[3]),radioLabelPaddingRight:new b(10,t[3])},Ii={infoLabel:new Ce("smallRegular","smallRegular")},se="debitCard.physicalCard.addressType",Ti=({lineData:e,issueCardSectionId:r,creditLimitFrequency:o,activeDebitCardCount:C,allRoles:$,depositAccounts:y,allAccountingClasses:z,companyAddress:_,customAddress:j,userAddress:I,userList:c,maxPhysicalDebitCardPerUser:L,openAddAddressDrawerHandler:g})=>{const n=oe(),m=Ae(),{getValues:U}=xe(),x=k.largeLabelWidth.value(n),d=e.debitCard.physicalCard.amount,u=y.find(l=>l.id===e.debitCard.physicalCard.connectedAccount.selectedOption)?.cardLimits.dailyCardTransactionLimit.amount,f=d!=null&&u!=null&&d>u,w=f?O.amountExceedDebitCardError.replace("_amount_",Oe(u)):void 0,p=e.debitCard.physicalCard.addressType,V=e.debitCard.physicalCard.user,S=V.allUsers.find(l=>l.userId===V.selectedUser),F=S?.userId,M=F!=null?I[F]:void 0;return i.jsxs(i.Fragment,{children:[i.jsx(Oi,{label:{label:O.connectedAccountLabel,width:x,style:{marginLeft:a.sp4,marginRight:k.largeLabelMarginRight.value(n),marginTop:a.sp2,width:x}},style:{width:"auto"},singleSelectPickerField:{name:h(r,"debitCard.physicalCard.connectedAccount"),placeholder:O.selectAccountPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(l,P)=>Ca(y,l,P),valueToSubLabels:(l,P)=>Te(y,l,P),defaultValue:{selectedOption:e.debitCard.physicalCard.connectedAccount.selectedOption,allOptions:y.map(l=>({label:l.accountName,value:l.id}))},textAlignment:"right",isOptionRemovable:!1,registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption}}}),i.jsx(fe,{}),i.jsx(ga,{label:{label:O.cardholderLabel,width:x},userSingleSelectWithSubTitlesField:{name:h(r,"debitCard.physicalCard.user"),placeholderLabel:O.usersPlaceholder,value:{allUsers:c,selectedUser:e.debitCard.physicalCard.user.selectedUser},registerOptions:{required:!0,validate:l=>l?.selectedUser?.length>0},valueToSubtitle:l=>{const P=$.find(q=>q.userId===l),D=[];return P?.accountingClassIDs.forEach(q=>{const R=z.find(v=>v.classId===q);R!=null&&R.className&&D.push(R.className)}),D},additionalLabelInfo:O.additionalInfoPhysical,showOnlyAvatar:!0,showAvatarAndSubtitles:!1,isOptionDisabled:l=>{let P=0;const D=e.debitCard.physicalCard.connectedAccount.selectedOption;return D!=null&&C?.[D]?.[l]!=null&&(P=C[D][l].physicalCardCount),U().lineInfo.forEach(q=>{q.debitCard.cardType==="business_physical_debit_card"&&q.debitCard.physicalCard.user.selectedUser===l&&(P+=1)}),P>=L},disabledOptionHint:O.cardLimitWarning,bigMarginRightForSmallScreens:!0,optionStyles:{maxHeight:a.sp10,minHeight:a.sp6,height:"max-content"}},style:{width:"auto",paddingLeft:k.labelMarginBottom.value(n)}}),i.jsx(fe,{}),i.jsx(_e,{label:{label:O.cardNameLabel,width:x},style:{width:"auto",paddingLeft:k.labelMarginBottom.value(n)},text:{type:"text",name:h(r,"debitCard.physicalCard.cardName"),defaultValue:e.debitCard.physicalCard.cardName,placeholder:O.cardNamePlaceholder,options:{required:!0,validate:l=>l!=null}}}),i.jsx(fe,{}),i.jsx(De,{label:{label:O.amountLabel,width:x},showAdditionalInfoLabel:f,additionalInfoLabel:w,formattedTextField:{type:"number",name:h(r,"debitCard.physicalCard.amount"),defaultValue:e.debitCard.physicalCard.amount,placeholder:O.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:l=>u!=null?!!l&&l>0&&l<=u:!!l&&l>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto",paddingLeft:k.labelMarginBottom.value(n)},isFieldError:f}),i.jsx(fe,{}),i.jsx(we,{isDisabled:"readonly",label:{label:O.frequencyLabel,width:x,style:{marginBottom:k.labelMarginBottom.valuePx(n),marginRight:k.labelMarginRight.valuePx(n)}},style:{width:"auto",paddingLeft:k.labelMarginBottom.valuePx(n)},infoLabelStyle:{...re.smallRegular.cssObject,textAlign:"right",paddingRight:a.sp3,marginTop:k.infoLabelMarginTop.valuePx(n),color:m.colors.hero},valueToAdditionalLabel:l=>be(l),singleSelectPickerField:{name:h(r,"debitCard.physicalCard.frequency"),placeholder:O.frequencyPlaceholder,style:{position:"relative"},capitalizeOptions:!0,showSubLabelsInSingleValue:!1,defaultValue:{selectedOption:e.debitCard.physicalCard.frequency.selectedOption,allOptions:o.map(l=>({label:l.name,value:l.code}))},valueToSubLabels:(l,P)=>Te(y,l,P),textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption}}}),i.jsx(fe,{}),i.jsxs(_i,{windowSize:n,children:[i.jsxs(zi,{windowSize:n,children:[i.jsx(ge,{label:O.address.shippingAddressLabel,htmlFor:h(r,se),style:{marginLeft:a.sp4,marginRight:k.labelMarginRight.valuePx(n),marginTop:a.sp2,width:n==="small"?"auto":x}}),i.jsx(Di,{windowSize:n,children:i.jsxs(Ui,{isDisabled:S==null,children:[M!=null&&i.jsx(Y,{isContainerClickable:!0,label:{label:O.address.personal},isDisabled:S==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeftRight.value(n),paddingRight:k.radioLabelPaddingRight.value(n),width:"fit-content"},radioField:{name:h(r,se),id:`${h(r,se)}.${O.address.personal}`,value:"card_holder_personal_address",radioSize:"small",registerOptions:{required:!0}}}),i.jsx(Y,{isContainerClickable:!0,label:{label:O.address.company},isDisabled:S==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeft.value(n),paddingRight:k.radioLabelPaddingRight.value(n),width:"fit-content"},radioField:{name:h(r,se),id:`${h(r,se)}.${O.address.company}`,value:"company_address",radioSize:"small",registerOptions:{required:!0}}}),i.jsx(Y,{isContainerClickable:!0,label:{label:O.address.custom},isDisabled:S==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeft.value(n),paddingRight:k.radioLabelPaddingLeftRight.value(n),width:"fit-content"},radioField:{name:h(r,se),id:`${h(r,se)}.${O.address.custom}`,value:"custom_address",radioSize:"small",registerOptions:{required:!0}}})]})})]}),i.jsx(Ri,{windowSize:n,children:S?.user!=null&&p!=null&&i.jsx(Ai,{children:p==="card_holder_personal_address"?i.jsxs(i.Fragment,{children:[i.jsx(me,{name:"personal_address_value_field",defaultValue:M,isDisabled:"readonly",placeholder:Xe,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1}}),i.jsx(Ke,{windowSize:n,children:O.address.personalAddressText.replace("_name_",S.user.firstName)})]}):p==="company_address"?i.jsx(me,{name:"company_address_value_field",defaultValue:_,isDisabled:"readonly",placeholder:Xe,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1}}):i.jsxs(i.Fragment,{children:[i.jsx(me,{name:"custom_address_value_field",defaultValue:j[e.lineId],placeholder:Pi,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1},onClick:()=>{g(e.lineId,"debitCard")}}),i.jsx(Ke,{windowSize:n,children:O.address.customAddressText})]})})})]})]})},Ai=s.div`
|
|
179
179
|
display: flex;
|
|
180
180
|
flex-direction: column;
|
|
181
181
|
width: 100%;
|
|
@@ -184,7 +184,7 @@ import{e as oe,T as Ua,c8 as Fa,V as i,b as Ie,ix as Na,bu as Ma,A as qa,a9 as E
|
|
|
184
184
|
`,Oi=s(we)`
|
|
185
185
|
border-radius: ${a.sp2};
|
|
186
186
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
187
|
-
`,
|
|
187
|
+
`,Ke=s(Re)`
|
|
188
188
|
display: flex;
|
|
189
189
|
color: ${e=>e.theme.colors.hero};
|
|
190
190
|
padding-right: 12px;
|
|
@@ -256,7 +256,7 @@ import{e as oe,T as Ua,c8 as Fa,V as i,b as Ie,ix as Na,bu as Ma,A as qa,a9 as E
|
|
|
256
256
|
&:hover {
|
|
257
257
|
fill: ${e=>e.theme.colors.primary};
|
|
258
258
|
}
|
|
259
|
-
`,{spendManagement:{chargeCard:{issueCard:
|
|
259
|
+
`,{spendManagement:{chargeCard:{issueCard:Z}}}=de.getLocalizedStrings(),ee={largeLabelWidth:new b(120,120,200),labelMarginRight:new b(t[3],t[4]),labelMarginBottom:new b(t[2],t[0]),infoLabelMarginTop:new b(t[1],t[0])},Fi={infoLabel:new Ce("smallRegular","smallRegular")},ea="creditCard.virtualCard.users",Ni=({lineData:e,issueCardSectionId:r,cardHolderCandidates:o,limit:C,creditLimitFrequency:$,allRoles:y,allAccountingClasses:z,activeChargeCardCount:_,maxVirtualChargeCardPerUser:j})=>{const I=Ae(),c=oe(),{getValues:L}=xe(),g=ee.largeLabelWidth.value(c),n=e.creditCard.virtualCard.amount,m=Oe(C.amount),U=n!=null&&n>C.amount,x=U?Z.amountExceedError.replace("_amount_",m):void 0;return i.jsxs(i.Fragment,{children:[i.jsxs(Vi,{windowSize:c,children:[i.jsx(ge,{label:Z.cardholdersLabel,htmlFor:h(r,ea),style:{marginLeft:a.sp4,marginRight:ee.labelMarginRight.value(c),marginTop:a.sp2,width:g}}),i.jsxs(ki,{windowSize:c,children:[i.jsx(ma,{hideEmailTooltip:!0,shouldHaveBackgroundColor:!1,showBackgroundColorIfHasAnySelectedOption:!1,placeholderLabel:Z.usersPlaceholder,name:h(r,ea),value:{allUsers:o,selectedUsers:e.creditCard.virtualCard.users.selectedUsers,allNonUsers:[],selectedNonUsers:[]},registerOptions:{required:!0,validate:d=>d?.selectedUsers?.length>0},valueToSubtitle:d=>{const u=y.find(w=>w.userId===d),f=[];return u!=null&&(f.push(i.jsx(ba,{roles:u.userRoles})),u.accountingClassIDs.forEach(w=>{const p=z.find(V=>V.classId===w);p!=null&&p.className&&f.push(p.className)})),f},disableCurrentOption:d=>{let u=_[d]?.virtualCardCount??0;return L().lineInfo.forEach(f=>{f.creditCard.cardType==="business_virtual_credit_card"&&f.creditCard.virtualCard.users.selectedUsers.forEach(w=>{w.userId===d&&(u+=1)})}),u>=j},disabledOptionHint:Z.cardLimitWarning,customStyleConfig:{placeholder:()=>({margin:a.sp0}),input:(d,{selectProps:u})=>({display:u.menuIsOpen===!1&&e.creditCard.virtualCard.users.selectedUsers.length>0&&c!=="small"?"none":"unset",width:c==="small"&&e.creditCard.virtualCard.users.selectedUsers.length>0?"100%":`calc(100% - ${a.sp5})`,padding:e.creditCard.virtualCard.users.selectedUsers.length===0?`${a.sp0} ${a.sp3}`:a.sp0,...re.standardRegular.cssObject,height:a.sp4,position:e.creditCard.virtualCard.users.selectedUsers.length===0||c==="small"&&u.menuIsOpen===!1?"absolute":"unset",left:a.sp0,">input":{...re.smallBold.cssObject,height:"100%",cursor:"pointer"}})}}),i.jsx(Ei,{size:c,children:Z.additionalInfoVirtual})]})]}),i.jsx(Fe,{}),i.jsx(_e,{label:{label:Z.cardNameLabel,width:g},style:{width:"auto",paddingLeft:ee.labelMarginBottom.value(c)},text:{type:"text",name:h(r,"creditCard.virtualCard.cardName"),defaultValue:e.creditCard.virtualCard.cardName,placeholder:Z.cardNamePlaceholder,options:{required:!0,validate:d=>d!=null}}}),i.jsx(Fe,{}),i.jsx(De,{label:{label:Z.amountLabel,width:g},showAdditionalInfoLabel:U,additionalInfoLabel:x,formattedTextField:{type:"number",name:h(r,"creditCard.virtualCard.amount"),defaultValue:e.creditCard.virtualCard.amount,placeholder:Z.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:d=>!!d&&d>0&&d<=C.amount},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto",paddingLeft:ee.labelMarginBottom.value(c)},isFieldError:U}),i.jsx(Fe,{}),i.jsx(Mi,{size:c,children:i.jsx(Bi,{isDisabled:"readonly",label:{label:Z.frequencyLabel,width:g,style:{marginLeft:a.sp0,marginBottom:ee.labelMarginBottom.valuePx(c),marginRight:ee.labelMarginRight.valuePx(c)}},style:{width:"100%",padding:a.sp0,display:c==="small"?"flex":"inherit"},infoLabelStyle:{...re.smallRegular.cssObject,textAlign:"right",paddingRight:a.sp3,marginTop:ee.infoLabelMarginTop.valuePx(c),color:I.colors.hero},valueToAdditionalLabel:d=>be(d),singleSelectPickerField:{name:h(r,"creditCard.virtualCard.frequency"),placeholder:Z.frequencyPlaceholder,style:{position:"relative"},capitalizeOptions:!0,showSubLabelsInSingleValue:!1,defaultValue:{selectedOption:e.creditCard.virtualCard.frequency.selectedOption,allOptions:$.map(d=>({label:d.name,value:d.code}))},valueToSubLabels:(d,u)=>((f,w)=>i.jsx(qi,{isOptionSelected:w,children:be(f)}))(d,u),textAlignment:"right",registerOptions:{required:!0,validate:d=>d!=null&&!!d.selectedOption}}})})]})},Mi=s.div`
|
|
260
260
|
display: flex;
|
|
261
261
|
flex-direction: row;
|
|
262
262
|
padding: ${a.sp2};
|
|
@@ -326,7 +326,7 @@ import{e as oe,T as Ua,c8 as Fa,V as i,b as Ie,ix as Na,bu as Ma,A as qa,a9 as E
|
|
|
326
326
|
background-color: ${e=>e.theme.colors.background};
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
|
-
`,J={containerPaddingBottom:new b(t[3],t[4]),sectionTitleContainerPadding:new b(t[2],t[3]),largeLabelWidth:new b(120,120,200),labelPaddingLeft:new b(t[3],t[4]),radioLabelPaddingLeft:new b(t[4],t[4]),radioLabelPaddingRight:new b(t[2],t[3]),labelPaddingRight:new b(t[4],t[4]),firstItemMarginTop:new b(t[4],t[2]),paddingLeft:new b(t[3],t[5])},{spendManagement:{chargeCard:{issueCard:W}}}=de.getLocalizedStrings(),Hi=e=>{const{lineData:r,issueCardSectionId:o,cardHolderCandidates:C,userList:$,limit:y,creditLimitFrequency:z,allRoles:_,allAccountingClasses:j,hasMultipleLineItems:I,depositAccounts:c,isIssuePhysicalCardEnabled:L,isIssuePhysicalDebitCardEnabled:g,isDebitCardFeatureEnabled:n,isChargeCardFeatureEnabled:m,isChargeCardSetupEnabled:U,isDebitCardSetupEnabled:x,lineIndex:d,customAddress:u,userAddress:f,onRemoveIssueCardLine:w,companyAddress:p,maxPhysicalChargeCardPerUser:V,maxVirtualChargeCardPerUser:S,maxPhysicalDebitCardPerUser:F,maxVirtualDebitCardPerUser:M,cardsSectionRef:l,openAddAddressDrawerHandler:P,clearTentativeNameForLine:D,activeChargeCardCount:q,activeDebitCardCount:R}=e,v=oe(),Q=J.largeLabelWidth.value(v);return i.jsxs(Gi,{windowSize:v,ref:l,className:"cards-item",children:[I&&i.jsxs(
|
|
329
|
+
`,J={containerPaddingBottom:new b(t[3],t[4]),sectionTitleContainerPadding:new b(t[2],t[3]),largeLabelWidth:new b(120,120,200),labelPaddingLeft:new b(t[3],t[4]),radioLabelPaddingLeft:new b(t[4],t[4]),radioLabelPaddingRight:new b(t[2],t[3]),labelPaddingRight:new b(t[4],t[4]),firstItemMarginTop:new b(t[4],t[2]),paddingLeft:new b(t[3],t[5])},{spendManagement:{chargeCard:{issueCard:W}}}=de.getLocalizedStrings(),Hi=e=>{const{lineData:r,issueCardSectionId:o,cardHolderCandidates:C,userList:$,limit:y,creditLimitFrequency:z,allRoles:_,allAccountingClasses:j,hasMultipleLineItems:I,depositAccounts:c,isIssuePhysicalCardEnabled:L,isIssuePhysicalDebitCardEnabled:g,isDebitCardFeatureEnabled:n,isChargeCardFeatureEnabled:m,isChargeCardSetupEnabled:U,isDebitCardSetupEnabled:x,lineIndex:d,customAddress:u,userAddress:f,onRemoveIssueCardLine:w,companyAddress:p,maxPhysicalChargeCardPerUser:V,maxVirtualChargeCardPerUser:S,maxPhysicalDebitCardPerUser:F,maxVirtualDebitCardPerUser:M,cardsSectionRef:l,openAddAddressDrawerHandler:P,clearTentativeNameForLine:D,activeChargeCardCount:q,activeDebitCardCount:R}=e,v=oe(),Q=J.largeLabelWidth.value(v);return i.jsxs(Gi,{windowSize:v,ref:l,className:"cards-item",children:[I&&i.jsxs(Zi,{windowSize:v,children:[i.jsx(Qi,{windowSize:v,children:`${W.card} ${d+1}`}),i.jsx(Xi,{className:"deleteIconWrapper",windowSize:v,"data-testid":Ie("delete-icon",r.lineId),onClick:()=>{D?.(r.lineId??"1"),w(d)},children:i.jsx(Ya,{enterDelay:600,title:W.deleteCard,placement:"left",children:i.jsx(Ki,{})})})]}),i.jsxs(Ji,{showTopMargin:!I,windowSize:v,children:[n&&x&&m&&U?i.jsxs(i.Fragment,{children:[i.jsxs(Wi,{children:[i.jsx(Y,{isContainerClickable:!0,label:{label:W.creditCard},style:{padding:`${a.sp3} ${a.sp0}`,paddingLeft:J.labelPaddingLeft.value(v),borderTopLeftRadius:"inherit"},showOutline:!0,radioField:{name:h(o,"chargeCardType"),id:`${h(o,"chargeCardType")}.creditCard`,value:"credit_card",radioSize:"small"}}),i.jsx(Yi,{}),i.jsx(Y,{isContainerClickable:!0,label:{label:W.debitCard},style:{padding:`${a.sp3} ${a.sp0}`,paddingLeft:J.labelPaddingLeft.value(v),borderTopRightRadius:"inherit"},showOutline:!0,radioField:{name:h(o,"chargeCardType"),id:`${h(o,"chargeCardType")}.debitCard`,value:"debit_card",radioSize:"small"}})]}),i.jsx(Ne,{})]}):null,r.chargeCardType==="credit_card"?i.jsxs(i.Fragment,{children:[i.jsxs(ia,{size:v,isDebitCardSetupEnabled:x,isDebitCardFeatureEnabled:n,children:[i.jsx(ge,{label:W.type,htmlFor:h(o,"creditCard.cardType"),style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:J.radioLabelPaddingLeft.value(v),paddingRight:J.radioLabelPaddingRight.value(v),width:"fit-content"}}),i.jsxs(aa,{labelWidth:Q,children:[i.jsx(Y,{label:{label:W.virtualCard},style:{width:"auto"},radioField:{name:h(o,"creditCard.cardType"),id:`${h(o,"creditCard.cardType")}.${W.virtualCard}`,value:"business_virtual_credit_card",style:{height:a.sp3,width:a.sp3,opacity:L?1:0},radioSize:"small"}}),L&&i.jsx(Y,{label:{label:W.physicalCard},style:{width:"auto",paddingLeft:J.paddingLeft.valuePx(v)},radioField:{name:h(o,"creditCard.cardType"),id:`${h(o,"creditCard.cardType")}.${W.physicalCard}`,value:"business_physical_credit_card",style:{height:a.sp3,width:a.sp3},radioSize:"small"}})]})]}),i.jsx(Ne,{}),r.creditCard.cardType==="business_physical_credit_card"?i.jsx(si,{lineData:r,issueCardSectionId:`${o}`,limit:y,creditLimitFrequency:z,companyAddress:p,openAddAddressDrawerHandler:P,customAddress:u,userAddress:f,activeChargeCardCount:q,userList:$,allRoles:_,allAccountingClasses:j,maxPhysicalChargeCardPerUser:V}):i.jsx(Ni,{lineData:r,issueCardSectionId:`${o}`,cardHolderCandidates:C,limit:y,creditLimitFrequency:z,allRoles:_,allAccountingClasses:j,activeChargeCardCount:q,maxVirtualChargeCardPerUser:S})]}):null,r.chargeCardType==="debit_card"?i.jsxs(i.Fragment,{children:[i.jsxs(ia,{size:v,isDebitCardSetupEnabled:x,isDebitCardFeatureEnabled:n,children:[i.jsx(ge,{label:W.type,htmlFor:h(o,"debitCard.cardType"),style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:J.radioLabelPaddingLeft.value(v),paddingRight:J.radioLabelPaddingRight.value(v),width:"fit-content"}}),i.jsxs(aa,{labelWidth:Q,children:[i.jsx(Y,{label:{label:W.virtualCard},style:{width:"auto"},radioField:{name:h(o,"debitCard.cardType"),id:`${h(o,"debitCard.cardType")}.${W.virtualCard}`,value:"business_virtual_debit_card",style:{height:a.sp3,width:a.sp3,opacity:g?1:0},radioSize:"small"}}),g&&i.jsx(Y,{label:{label:W.physicalCard},style:{width:"auto",paddingLeft:J.paddingLeft.valuePx(v)},radioField:{name:h(o,"debitCard.cardType"),id:`${h(o,"debitCard.cardType")}.${W.physicalCard}`,value:"business_physical_debit_card",style:{height:a.sp3,width:a.sp3},radioSize:"small"}})]})]}),i.jsx(Ne,{}),r.debitCard.cardType==="business_physical_debit_card"?i.jsx(Ti,{lineData:r,issueCardSectionId:`${o}`,creditLimitFrequency:z,companyAddress:p,openAddAddressDrawerHandler:P,customAddress:u,userAddress:f,depositAccounts:c,activeDebitCardCount:R,userList:$,allRoles:_,allAccountingClasses:j,maxPhysicalDebitCardPerUser:F}):i.jsx(bi,{lineData:r,issueCardSectionId:`${o}`,cardHolderCandidates:C,depositAccounts:c,creditLimitFrequency:z,allRoles:_,allAccountingClasses:j,activeDebitCardCount:R,maxVirtualDebitCardPerUser:M})]}):null]})]})},Wi=s.div`
|
|
330
330
|
display: flex;
|
|
331
331
|
flex-direction: row;
|
|
332
332
|
border-top-left-radius: inherit;
|
|
@@ -386,7 +386,7 @@ import{e as oe,T as Ua,c8 as Fa,V as i,b as Ie,ix as Na,bu as Ma,A as qa,a9 as E
|
|
|
386
386
|
z-index: 1;
|
|
387
387
|
outline: 1px solid ${e=>e.theme.colors.primary};
|
|
388
388
|
}
|
|
389
|
-
`,
|
|
389
|
+
`,Zi=s.div`
|
|
390
390
|
display: flex;
|
|
391
391
|
flex-direction: row;
|
|
392
392
|
justify-content: space-between;
|
|
@@ -403,11 +403,11 @@ import{e as oe,T as Ua,c8 as Fa,V as i,b as Ie,ix as Na,bu as Ma,A as qa,a9 as E
|
|
|
403
403
|
&:hover {
|
|
404
404
|
color: ${ie.important};
|
|
405
405
|
}
|
|
406
|
-
`,
|
|
406
|
+
`,Ki=s(Xa)`
|
|
407
407
|
width: ${a.sp3};
|
|
408
408
|
height: ${a.sp3};
|
|
409
409
|
cursor: pointer;
|
|
410
|
-
`,je={addCardButtonMarginBottom:new b(t[3],t[4]),addCardButtonMarginTop:new b(t[2],t[0]),addCardButtonPaddingTopBottom:new b(t[2],t[2]),addCardButtonPaddingLeftRight:new b(t[3],t[4])},er={title:new Ce("standardMedium","standardMedium")},ar=({issueChargeCards:e,issueCardSectionId:r,cardHolderCandidates:o,userList:C,limit:$,creditLimitFrequency:y,allRoles:z,allAccountingClasses:_,isIssuePhysicalCardEnabled:j,isIssuePhysicalDebitCardEnabled:I,isDebitCardFeatureEnabled:c,isChargeCardFeatureEnabled:L,isChargeCardSetupEnabled:g,isDebitCardSetupEnabled:n,defaultCardType:m,getInitialLineFormData:U,clearTentativeNameForLine:x,companyAddress:d,containerRef:u,cardsSectionRef:f,openAddAddressDrawerHandler:w})=>{const{control:p,watch:V,setValue:S}=xe(),{fields:F}=Ja({name:r,control:p}),M=V(r,F),l=Math.max(...Object.keys(e.localData??{}).map(R=>Number(R)),0),P=R=>{S(r,M.filter((v,Q)=>Q!==R))},D=oe(),{spendManagement:{chargeCard:{issueCard:q}}}=de.getLocalizedStrings();return i.jsxs(ir,{ref:u,children:[M.map((R,v)=>i.jsx(Hi,{lineIndex:v,lineData:R,issueCardSectionId:`${r}.${v}`,cardHolderCandidates:o,userList:C,limit:$,creditLimitFrequency:y,allRoles:z,allAccountingClasses:_,hasMultipleLineItems:M.length>1,clearTentativeNameForLine:x,onRemoveIssueCardLine:P,companyAddress:d,cardsSectionRef:f,openAddAddressDrawerHandler:w,depositAccounts:e.depositAccounts,customAddress:e.customAddress,userAddress:e.userAddress,activeChargeCardCount:e.activeChargeCardCount,activeDebitCardCount:e.activeDebitCardCountByDepositAccountId,maxPhysicalChargeCardPerUser:e.chargeCardConfig.creditTerm.maxPhysicalChargeCardPerUser,maxVirtualChargeCardPerUser:e.chargeCardConfig.creditTerm.maxVirtualChargeCardPerUser,maxVirtualDebitCardPerUser:e.chargeCardConfig.creditTerm.maxVirtualDebitCardPerUser,maxPhysicalDebitCardPerUser:e.chargeCardConfig.creditTerm.maxPhysicalDebitCardPerUser,isIssuePhysicalCardEnabled:j,isIssuePhysicalDebitCardEnabled:I,isDebitCardFeatureEnabled:c,isChargeCardFeatureEnabled:L,isChargeCardSetupEnabled:g,isDebitCardSetupEnabled:n},v)),i.jsxs(rr,{windowSize:D,onClick:()=>{(()=>{const R=M[M.length-1],v=U(M.length,Number(R.lineId)>l?String(Number(R.lineId)+1):String(l+1),o,y,C,e.depositAccounts,L,c,g,n,d,m);S(r,[...M,v]),setTimeout(()=>{
|
|
410
|
+
`,je={addCardButtonMarginBottom:new b(t[3],t[4]),addCardButtonMarginTop:new b(t[2],t[0]),addCardButtonPaddingTopBottom:new b(t[2],t[2]),addCardButtonPaddingLeftRight:new b(t[3],t[4])},er={title:new Ce("standardMedium","standardMedium")},ar=({issueChargeCards:e,issueCardSectionId:r,cardHolderCandidates:o,userList:C,limit:$,creditLimitFrequency:y,allRoles:z,allAccountingClasses:_,isIssuePhysicalCardEnabled:j,isIssuePhysicalDebitCardEnabled:I,isDebitCardFeatureEnabled:c,isChargeCardFeatureEnabled:L,isChargeCardSetupEnabled:g,isDebitCardSetupEnabled:n,defaultCardType:m,getInitialLineFormData:U,clearTentativeNameForLine:x,companyAddress:d,containerRef:u,cardsSectionRef:f,openAddAddressDrawerHandler:w})=>{const{control:p,watch:V,setValue:S}=xe(),{fields:F}=Ja({name:r,control:p}),M=V(r,F),l=Math.max(...Object.keys(e.localData??{}).map(R=>Number(R)),0),P=R=>{S(r,M.filter((v,Q)=>Q!==R))},D=oe(),{spendManagement:{chargeCard:{issueCard:q}}}=de.getLocalizedStrings();return i.jsxs(ir,{ref:u,children:[M.map((R,v)=>i.jsx(Hi,{lineIndex:v,lineData:R,issueCardSectionId:`${r}.${v}`,cardHolderCandidates:o,userList:C,limit:$,creditLimitFrequency:y,allRoles:z,allAccountingClasses:_,hasMultipleLineItems:M.length>1,clearTentativeNameForLine:x,onRemoveIssueCardLine:P,companyAddress:d,cardsSectionRef:f,openAddAddressDrawerHandler:w,depositAccounts:e.depositAccounts,customAddress:e.customAddress,userAddress:e.userAddress,activeChargeCardCount:e.activeChargeCardCount,activeDebitCardCount:e.activeDebitCardCountByDepositAccountId,maxPhysicalChargeCardPerUser:e.chargeCardConfig.creditTerm.maxPhysicalChargeCardPerUser,maxVirtualChargeCardPerUser:e.chargeCardConfig.creditTerm.maxVirtualChargeCardPerUser,maxVirtualDebitCardPerUser:e.chargeCardConfig.creditTerm.maxVirtualDebitCardPerUser,maxPhysicalDebitCardPerUser:e.chargeCardConfig.creditTerm.maxPhysicalDebitCardPerUser,isIssuePhysicalCardEnabled:j,isIssuePhysicalDebitCardEnabled:I,isDebitCardFeatureEnabled:c,isChargeCardFeatureEnabled:L,isChargeCardSetupEnabled:g,isDebitCardSetupEnabled:n},v)),i.jsxs(rr,{windowSize:D,onClick:()=>{(()=>{const R=M[M.length-1],v=U(M.length,Number(R.lineId)>l?String(Number(R.lineId)+1):String(l+1),o,y,C,e.depositAccounts,L,c,g,n,d,m);S(r,[...M,v]),setTimeout(()=>{Za(f.current,u.current)},50)})()},"data-testid":Ie("add-card-button"),children:[i.jsx(lr,{}),i.jsx(dr,{windowSize:D,children:q.addCard})]})]})},ir=s.div`
|
|
411
411
|
display: flex;
|
|
412
412
|
flex-direction: column;
|
|
413
413
|
`,rr=s.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as h,V as d,c6 as b,x as a,en as u,m as t,d as m}from"./index-
|
|
1
|
+
import{e as h,V as d,c6 as b,x as a,en as u,m as t,d as m}from"./index-CAltUZe8.js";import{n as s}from"./mui-CMSRVFAm.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="56bbe8ed-2cbd-4233-9f5e-bb91e961d410",e._sentryDebugIdIdentifier="sentry-dbid-56bbe8ed-2cbd-4233-9f5e-bb91e961d410")}catch{}})();const i={width:new a(343,580,726),height:new a(t[6],t[6]),controlMinHeight:new a(t[4],t[4]),paddingTopBottom:new a(t[2],t[2]),marginRight:new a(t[2],t[2]),labelMarginLeft:new a(t[3],t[4]),labelMarginRight:new a(t[3],t[4]),labelMarginTop:new a(t[2],t[2])},f={infoLabel:new m("extraSmallRegular","smallRegular")};function $({isDisabled:e,label:o,additionalInfoLabel:n,addressValue:r,isOptional:g,style:p}){const l=h();return d.jsxs(y,{size:l,style:p,isDisabled:e!=null,children:[d.jsxs(x,{children:[d.jsx(b,{isOptional:g,isDisabled:e,label:o.label,style:{marginLeft:i.labelMarginLeft.value(l),marginRight:i.labelMarginRight.value(l),marginTop:i.labelMarginTop.value(l),width:o.width??"auto"}}),d.jsx(u,{...r,isDisabled:e,style:{minHeight:i.controlMinHeight.value(l),paddingTop:i.paddingTopBottom.valuePx(l),paddingBottom:i.paddingTopBottom.valuePx(l),maxWidth:o.width!=null?`calc(100% - ${o.width}px)`:"auto",display:"flex",flexGrow:1,...r.style}})]}),n?d.jsx(c,{size:l,children:n}):null]})}const c=s.label`
|
|
2
2
|
color: ${e=>e.theme.colors.grey1};
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: row;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as x,cc as w,dX as y,V as d,c6 as v,x as l,et as $,b as z,O as T,f as g,m as i,d as D}from"./index-
|
|
1
|
+
import{e as x,cc as w,dX as y,V as d,c6 as v,x as l,et as $,b as z,O as T,f as g,m as i,d as D}from"./index-CAltUZe8.js";import{n}from"./mui-CMSRVFAm.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="3ee92e8b-450d-45b7-9d5a-4211eb6237c4",e._sentryDebugIdIdentifier="sentry-dbid-3ee92e8b-450d-45b7-9d5a-4211eb6237c4")}catch{}})();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])},B={infoLabel:new D("extraSmallRegular","smallRegular")},L=T.getLocalizedStrings();function j({isDisabled:e,label:o,addressValueField:r,additionalInfoLabel:h,showAdditionalInfoLabel:b=!1,style:p,hasHoverBorder:f,isOptional:m}){const a=x(),{formState:{errors:u}}=w(),s=y(u,r.name),c=s?h:L.commonSetUp.businessVerification.addressAdditionInfo;return d.jsxs(I,{size:a,style:p,isDisabled:e!=null,isError:s,hasHoverBorder:f??!0,"data-testid":z("labeled-address-value-field",r.name),children:[d.jsx(v,{isDisabled:e,isOptional:m,label:o.label,htmlFor:r.name,style:{marginLeft:t.labelMarginLeft.value(a),marginRight:t.labelMarginRight.value(a),marginTop:t.labelMarginTop.value(a),width:o.width??"auto"}}),d.jsxs(M,{labelWidth:o.width,children:[d.jsx($,{...r,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,...r.style}}),(b||s)&&d.jsx(P,{size:a,isError:s,children:c})]})]})}const I=n.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: flex-start;
|