@zeniai/web-app-ui 4.14.31-qa → 4.14.32-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-CFhoboVe-DcRe2nTt.js → ACHDetailsPage-BO7lxW8c-CaH7vfBB.js} +2 -2
- package/dist/assets/{AIPerformancePage-DB-fTWME-DYZeuOnD.js → AIPerformancePage-SF-quMkk-CZFFBw1a.js} +1 -1
- package/dist/assets/AccountInfoPage-v8-NT3FJ-Bw3uGZG4.js +18 -0
- package/dist/assets/{AccountInfoPageContent-eYEsv7ac-DDYvpmDy.js → AccountInfoPageContent-DIWh6VaI-HqDSQPfy.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-jYWr_8TD-DcOOzUkE.js → AccountLockedInfoModal-DloPB9vd-BSxEQO_S.js} +6 -6
- package/dist/assets/{AccountReconDetailsDrawerPage-3Q0EPYhL-27wJMTjD.js → AccountReconDetailsDrawerPage-BAgQsFiF-CyK6H2le.js} +4 -4
- package/dist/assets/{AccountRow-CdgvnPG8-BR1hQ4Zy.js → AccountRow-Dczx5rSu-CwZA98Uy.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-DHo59LLN-ChbxyMzd.js → AccountsPromoCardStack-Ywhto4lV-cevnOXMT.js} +11 -11
- package/dist/assets/{AddAddressForCardDrawer-BzO1FXUa-kLdLeGkd.js → AddAddressForCardDrawer-B8srmVT6-DsXtVyAN.js} +1 -1
- package/dist/assets/{AddToWalletPage-BfXFbHjk-CYPGe181.js → AddToWalletPage-k__RW699-BSoFKwS5.js} +1 -1
- package/dist/assets/{AddressRoutes-XcDMlDlS.js → AddressRoutes-Bnm4H7bD.js} +1 -1
- package/dist/assets/{AddressScreen-DPPx0MfK.js → AddressScreen-INYb_JGl.js} +2 -2
- package/dist/assets/{AgingReportsPage-C1hFq4KH-DN--gN3O.js → AgingReportsPage-BuIXjljE-DwSwkj0s.js} +5 -5
- package/dist/assets/{AiCfoScreen-30SW2q3w.js → AiCfoScreen-Dg31g97F.js} +1 -1
- package/dist/assets/{AllUserItems-B6pnKByY-DyP7v-cA.js → AllUserItems-BdgTe4WF-H7QxO-h-.js} +7 -7
- package/dist/assets/ApAgingDetailPage-6F47t31h-BJY-Gjjh.js +46 -0
- package/dist/assets/{AppBasePage-DiVxF606-AXI0aqhJ.js → AppBasePage-DaTueT-x-Db3mer79.js} +1 -1
- package/dist/assets/{AppDrawerContent-B_EWsf8O-CMysKcTU.js → AppDrawerContent-CtCI6jpp-B-tHPrrL.js} +3 -3
- package/dist/assets/{ApprovalRulesSettingsPage-HHjDp_NQ-jrLhlHCF.js → ApprovalRulesSettingsPage-BVxu4soW-Nu7LfFuU.js} +1 -1
- package/dist/assets/{ArAgingChart-Ba4A-i2N-PODxdvyn.js → ArAgingChart-BK-JyW2V-CpKqA7Z3.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-prgcvsS4-BsTAVwTa.js → ArAgingDetailPage-CvqLu3q8-DFRtVqyv.js} +3 -3
- package/dist/assets/{AttachmentView-SsWJw4A8-RJr9hQhO.js → AttachmentView-DQdb3v_e-BgOMzST7.js} +1 -1
- package/dist/assets/{BalancesInsightWithToolTip-DE6gDjGA-e_65zoZY.js → BalancesInsightWithToolTip-D4q45w1q-CBufZlsy.js} +4 -4
- package/dist/assets/{BankAccountSection-B4jmT0lb-zwPodZbw.js → BankAccountSection-DgbfU8F--DERufWYy.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-Bz2itMx0-BfZtVATK.js → BankAccountWarningSection-litL0o_Z-YNoMxnsQ.js} +11 -11
- package/dist/assets/{BankConnectionsSettingsPage-BcVk7bTt-C3Wp_iZl.js → BankConnectionsSettingsPage-bAj9uB9k-D373ilzg.js} +1 -1
- package/dist/assets/{BillDetailPage-Dkqmi4H1-C6mDNSc2.js → BillDetailPage-CiHal44n-DIfTrfpQ.js} +1 -1
- package/dist/assets/{BillPayApprovalRoutes-CaSA1uSR.js → BillPayApprovalRoutes-BILiu13g.js} +1 -1
- package/dist/assets/BillPayApprovalRuleDetailPage-CRBli7lk-Cp1ol6-S.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-B_QwggJS-BveqhBul.js → BillPayApprovalRulesPage-BTOmSLcs-D3SM4r7K.js} +7 -7
- package/dist/assets/{BillPayPromoPage-Bx2AXpWe-BrIbmhut.js → BillPayPromoPage-B5gkQjT2-D9lr-mmz.js} +9 -9
- package/dist/assets/{BillPayRoutes-CMdKHc5T.js → BillPayRoutes-BIHt-HL2.js} +7 -7
- package/dist/assets/{BillPaySetUpPage-CM7_DkHC-Bt5CjJNs.js → BillPaySetUpPage-DM3r09by-BlBEwtA1.js} +1 -1
- package/dist/assets/{BillingSettingsPage-DM0OIfxa-CKHUmPAw.js → BillingSettingsPage-CiTKyJeG-BkRQgSD8.js} +2 -2
- package/dist/assets/{BillsBulkReviewDrawerPage-C3xmQ7wz-Cf_j4N1J.js → BillsBulkReviewDrawerPage-B6ofRDkg-B-xdke4y.js} +1 -1
- package/dist/assets/{BoxItem-CvCo0wr6-BAtsmvg4.js → BoxItem-C39hQSVg-B9WMvkwI.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-BAZmkR4a-BbYTLnZH.js → BusinessVerificationPage-BiWEnJET-BPuB56i7.js} +2 -2
- package/dist/assets/{BusinessVerificationPageScreen-DVGxc_kT.js → BusinessVerificationPageScreen-C9kI0BR_.js} +2 -2
- package/dist/assets/{BusyIndication-Cp8KWKB2-paVspSd6.js → BusyIndication-DmApVsF7-DQl3VYqH.js} +1 -1
- package/dist/assets/{CardNumberSubText-DHtSIcZZ-CJNkVpEB.js → CardNumberSubText-FNfrozX6-tv8Brnnn.js} +1 -1
- package/dist/assets/{CashbackDetailPage-CNS1FA6b-DNPbsy8R.js → CashbackDetailPage-DaLICa_v-BHzYFFJ0.js} +7 -7
- package/dist/assets/{ChargeCardDetailPage-C4NeG7IM-Bqzrs3Tx.js → ChargeCardDetailPage-B0Aq7zO5-40fQ7jsk.js} +28 -28
- package/dist/assets/{ChargeCardListPage-DNYiWaEf-D4WPR4qJ.js → ChargeCardListPage-CfRto2rQ-ClyjE_iT.js} +16 -16
- package/dist/assets/{ChargeCardListTable-DdnyzdFf-BLIVQeNK.js → ChargeCardListTable-DMdC4lxo-KnHyTkme.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage-CXlqzaUt-nlgSDdhG.js → ChargeCardPaymentHistoryPage-BYTmtF_y-i9mylyuZ.js} +1 -1
- package/dist/assets/ChargeCardPromoPage-AI5bladj-BDPOfxSx.js +222 -0
- package/dist/assets/{ChargeCardRoutes-DipRg107.js → ChargeCardRoutes-CUAUmOPf.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-BtikPFOq-Ci06zFqY.js → ChargeCardSetupPage-BjhqdubL-u9TM5_mu.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-RepWBbvJ-qZhzfjJs.js → ChargeCardStatementsPage-DCM92s6v-CAUZgBlq.js} +2 -2
- package/dist/assets/{CheckDepositDrawerPage-BCqg3irO-CU861UMl.js → CheckDepositDrawerPage-CkIxEqHU-B7qz4vrp.js} +1 -1
- package/dist/assets/{CollapsableReportTable-gy7Ue_fk-Cp0GdxMJ.js → CollapsableReportTable-ClHwXtCj-BfwfqIOK.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-BsCx7q-g-Bqu05vNe.js → CompanyOfficerDetailsSection-BY8hFQnp-DJfNkZb4.js} +16 -16
- package/dist/assets/{CompanyPassportCard-BbUWOs1U-CQapOMzG.js → CompanyPassportCard-B3rZE3pg-CtuQmTD5.js} +2 -2
- package/dist/assets/{CompanyPassportPage-BnP2oA1U-DG-ray3n.js → CompanyPassportPage-4FXVf3EP-DhUTHw6y.js} +1 -1
- package/dist/assets/{CompanyPassportScreen-Bsk4iSLd.js → CompanyPassportScreen-m_gXhHG_.js} +1 -1
- package/dist/assets/{CompleteProfile-TiRsm2Fm-Dmw9B9gd.js → CompleteProfile-B1BoilWd-LUJNszjE.js} +1 -1
- package/dist/assets/{ConfettiBurst-D7J36hZf-DAmXS8qh.js → ConfettiBurst-CsbAGF65-C9KfsdE7.js} +1 -1
- package/dist/assets/{ConnectionAuthScreen-CdbJnza-.js → ConnectionAuthScreen-Zn6jvlmq.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-CpoLys2G.js → ConstrainedInnerElement-CgdnMeoA-Dc3P_0OR.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-Dihzr1D5-Df0a--du.js → CreateOrEditVendorPage-C50eYOFo-D8POwrMQ.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-CZGzDuxC-CG7xBUFZ.js → CreditCardPaymentDrawerPage-Dxz_SY7N-D8up_BJ4.js} +1 -1
- package/dist/assets/{CurrencySelectField-BTAmIqPa-BOvsicp3.js → CurrencySelectField-D2Ogwvbr-B4ftuyL3.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-MVI7kqIh-B52EVUog.js → CustomerOnboardingActivationPage-5Sh7hmI9-DpPsiuW1.js} +1 -1
- package/dist/assets/CustomerOnboardingAuthScreen-BhtVN8fo.js +1 -0
- package/dist/assets/CustomerOnboardingContainerPage-B5kVGk_V-DpOBarI8.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CaI_0pCb-Dx2c__Yb.js → CustomerOnboardingDetailPageSkeleton-CL-mOSUp-Crb7CsXj.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-CO_c2COV-CcNi7DUF.js → CustomerOnboardingNoStepsPage-CyL1AK78-Dsu24NnA.js} +9 -9
- package/dist/assets/{CustomerOnboardingPage-BF0vuYaJ-CpeT13Rn.js → CustomerOnboardingPage-C8nxJPwo-UENXO6qW.js} +16 -16
- package/dist/assets/{CustomerOnboardingProductSuitePage-BGFdLX1i-C7qSBsYV.js → CustomerOnboardingProductSuitePage-C7FbnHpU-C2FaoJHQ.js} +3 -3
- package/dist/assets/{CustomerOnboardingRoutes-BqTX1iyW.js → CustomerOnboardingRoutes-DbUQBREw.js} +1 -1
- package/dist/assets/{Dashboard-Qjedd4r--DdmcDs7e.js → Dashboard-Bpu-6Sm5-CcAT-BJw.js} +1 -1
- package/dist/assets/{DashboardReportPage-Deith_ON-BYNIuWwI.js → DashboardReportPage-B1aAikQG-BWThnMBB.js} +1 -1
- package/dist/assets/{DashboardRoutes-C3tqy16Q.js → DashboardRoutes-aFJ2Gmek.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-C7DfUDio-CXRw7JSP.js → DashboardSidebarBackgroundAnimation-C6xm-p2j-BW7a7KRi.js} +1 -1
- package/dist/assets/{DefaultTenantHome-DTL7QcJH.js → DefaultTenantHome-D-V97ZoE.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-7kYotKov-C07q_etT.js → DepositAccTransactionItem-DEU0DgtI-DX-mlAdm.js} +7 -7
- package/dist/assets/{DepositAccTransactionListPage-Bop4Uj5w-DYSx2RBP.js → DepositAccTransactionListPage-Bh0dIkE9-CF_bG5NL.js} +4 -4
- package/dist/assets/{DomesticWireDetailScreen-D_BfoPLh.js → DomesticWireDetailScreen-DBNwn4TO.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-_TyXsqEx-jkwnoEUE.js → DomesticWireDetailsPage-2WyD73c9-B2JWW3fS.js} +1 -1
- package/dist/assets/{DownloadOverlay-Cmd727bN-CUU7ZY9L.js → DownloadOverlay-B7M2VI7K-93vOHyTt.js} +14 -14
- package/dist/assets/{DrawerPage-DmGwfnGp-LTv4sDcy.js → DrawerPage-DsQTxXa8-D8CWGNJU.js} +4 -4
- package/dist/assets/{DrawerScreen-DtF71b7B.js → DrawerScreen-DDmYCdH3.js} +1 -1
- package/dist/assets/{EditPeoplePage-YyluIC6R-CXdaDa7G.js → EditPeoplePage-fY0HXvVS-C62IbLj9.js} +5 -5
- package/dist/assets/{EditReimbursementDetailPage-DeMid2Ko-Bv-8Xabp.js → EditReimbursementDetailPage-D7RUWSTZ-DVOazN97.js} +18 -18
- package/dist/assets/EntityDetailPage-BDyO7iLI-DsywTSaM.js +18 -0
- package/dist/assets/{EntityDetailRoutes-DYnivlwX.js → EntityDetailRoutes-BGXfmx5_.js} +1 -1
- package/dist/assets/{EntitySummarySection-5NbutA8l-CQbl1YIH.js → EntitySummarySection-0rRkC5V6-BD_Ykbrq.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-CQ_3WluW-CLWld5W7.js → ExpenseAutomationOverviewPage-DOGAdZXV-Bv58nG4M.js} +8 -8
- package/dist/assets/{ExpenseAutomationPage-VuU4acYd-B7T-Dg4p.js → ExpenseAutomationPage-DOsIzX0P-X4utEwdy.js} +1 -1
- package/dist/assets/{ExpenseAutomationRoutes-BlW2sTwn.js → ExpenseAutomationRoutes-eS-fi8G6.js} +1 -1
- package/dist/assets/{ExpressPayPage-DhoNmyC2-Bd-YVNzq.js → ExpressPayPage-CIi6jM8Y-zeultZzf.js} +8 -8
- package/dist/assets/{FeaturePreviewPage-GSwhPxgP-CXXTQoUA.js → FeaturePreviewPage-BVn6ZUOB-QQqfkJ8p.js} +1 -1
- package/dist/assets/{FeaturePreviewScreen-CpHWA-St.js → FeaturePreviewScreen-D5VxTq6D.js} +1 -1
- package/dist/assets/{FollowStepsSection-DaueHRo4-FQso0zsG.js → FollowStepsSection-CvWPHXDW-CX31cI67.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-DG7_1HOT-_eh0o3Lh.js → GlobalReviewListPage-CS_11bx0-BWWUBfxL.js} +1 -1
- package/dist/assets/{InformationCardStack-zc-BxR7F-CH328-RF.js → InformationCardStack-B9g7W7Xx-BMa0JHtx.js} +3 -3
- package/dist/assets/{InsightsCardStack-DxCA5sFh-Y8l4503l.js → InsightsCardStack-mvzIc2uY-FQWyC3NM.js} +1 -1
- package/dist/assets/{InsightsSection-BdFG3j3R-DjHyJY78.js → InsightsSection-rGyA4lY9-ztCddwYb.js} +8 -8
- package/dist/assets/{IntegrationsSettingsPage-CaiL3kqS-CiO2l-pg.js → IntegrationsSettingsPage-Dwz4ukHF-I8L8bnwJ.js} +3 -3
- package/dist/assets/{InternationalWireSwiftDetailsPage-BrQVSzeS-B8g9fXts.js → InternationalWireSwiftDetailsPage-Cm0H9oyf-Dq6HjvzW.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-NaLnhW9C-Be5m5GNN.js → InternationalWireVerificationPage-woIoME3I-Dczyy-qA.js} +10 -10
- package/dist/assets/{InviteFormPage-fjqv2l7h-CLLSBMJ2.js → InviteFormPage-DaZ-sJYV-B1D96lar.js} +13 -13
- package/dist/assets/{InvitePageListView-CQecQhxr-DHxSXSin.js → InvitePageListView-Do7EVQrj-CnaoEv-w.js} +1 -1
- package/dist/assets/{InvitePeoplePage-DAEBuOnk-CNuAu3aA.js → InvitePeoplePage-CpD7YoC2-CAkwuWqR.js} +2 -2
- package/dist/assets/{InvoiceUploadSection-58l6ePuH-CbCDsLyQ.js → InvoiceUploadSection-DOuTQPee-DNxyr3cj.js} +11 -11
- package/dist/assets/{IssueChargeCardPage-Bkxqsgax-B2E0w7s1.js → IssueChargeCardPage-ClMhr27d-m0kTf6sc.js} +9 -9
- package/dist/assets/{LabeledAddressValue-CZfFV97h-D0qxrk9o.js → LabeledAddressValue-B6_PZDTO-xVytB-P9.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-D66XOhMx-BL2wLyLH.js → LabeledAddressValueField-Cz6tRMoW-C7dop0k-.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-BtnsqE4D-B85xoPON.js → LabeledControlledCheckBoxField-BEpAlnvo-BRLqoAnU.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-kopByxLB-1-3v1UQa.js → LabeledCountryMultiSelectField-1kTcZMQW-Cq5wOhkQ.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-B6An-cwq-DFSBA92N.js → LabeledCreatableSingleSelectField-PiLB1S77-CXLJARhZ.js} +1 -1
- package/dist/assets/{LabeledDocumentField-D_ZD8JTn-vKeq6vm6.js → LabeledDocumentField-Cicw8ABs-CehJpiD9.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-CJ7ncCzH-B0WjHFnN.js → LabeledDropDownFormattedTextField-BEVVgIGK-ByxutmzB.js} +7 -7
- package/dist/assets/{LabeledEmailInputField-CSfzMDYO-CWt52Wcv.js → LabeledEmailInputField-C6gk3B5x-DQKZx3MY.js} +1 -1
- package/dist/assets/{LabeledNameField-DZJXGYR9-BrTXKAba.js → LabeledNameField-BpfxLnfN-Dp4_3qSf.js} +1 -1
- package/dist/assets/{LabeledSingleSelectField-D_LoOMiZ-BMpo-aMs.js → LabeledSingleSelectField-Utmk8KVy-Cxr5xWDf.js} +1 -1
- package/dist/assets/{LabeledText-A1h_ionS-CFl8s8G-.js → LabeledText-C56xvYuX-BYR-B_G0.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-IYaUvqgY-Q6YssO3g.js → LabeledUserSingleSelectWithSubtitlesField-CF4oVI17-C2nSJ6yS.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-DmynBXbJ-B4T-A7Cu.js → LabeledZeniRolesDropDownField-B5rxYfam-qcmbm9V-.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-D6-fL4a6-tCaqs9Yj.js → LinkJETransactionPage-DbnaYlRA-UFjDu7p8.js} +10 -10
- package/dist/assets/{LockCardPage-BDlnh_zf-cKP8zIxD.js → LockCardPage-XHbTmzq8-CizhFaVR.js} +8 -8
- package/dist/assets/{LowBalancePopup-CBPl_udd-BorudEL4.js → LowBalancePopup-IF7NG9aL-DyQqJJ_L.js} +5 -5
- package/dist/assets/MagicLinkACHDetailsPage-DbhqYo7W-C6hltO5g.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-D0JDLfbz-Nd5n74ys.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DChqrJN7-d6t2QZpk.js +1 -0
- package/dist/assets/{MagicLinkRoutes-CcsKjkce.js → MagicLinkRoutes-D4nTqNcw.js} +18 -18
- package/dist/assets/{MagicLinkSignInScreen-Dw8ViAP-.js → MagicLinkSignInScreen-DhnaHV0D.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-Cl461HWp-01GdAVLj.js → MagicLinkSuccessPage-Cyr3p_8a-CVhCJtyQ.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-DoIMYrRv-wUyCV4b7.js → MagicLinkTitleSection-A4zyF5bg-B40bJuh0.js} +1 -1
- package/dist/assets/{MailingDetailsSection-NdwWGQ88-ChhAh-Lq.js → MailingDetailsSection-DqSOlu2t-CyUaZRam.js} +1 -1
- package/dist/assets/{MobileAppDrawer-D7V2koAX.js → MobileAppDrawer-BRK9r0e2.js} +1 -1
- package/dist/assets/{MoreMenuButton-CkkW1atP-CT7ietod.js → MoreMenuButton-B1OKwXLg-CUWjb2Vn.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-BU6TBzI1-DURfzXrx.js → MyBankConnectionsSettingsPage-DtTjhna--DTBZyR2y.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-DcunCDU6-CQIAZ-Ax.js → MyPendingActivationChargeCardListPage-CKSWf7I4-5HMiO4ol.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-DF7ahyXE-BEXIytCm.js → MyProfileSettingsPage-WF1pNlyU-DCBVPnlL.js} +1 -1
- package/dist/assets/NavBarWithPicker-DiCaJ8Qy-BnNZsOl6.js +30 -0
- package/dist/assets/{NavigationArrow-CWUL-6kN-CRVEGy5S.js → NavigationArrow-f4Z3TuXg-UuhH1nBa.js} +7 -7
- package/dist/assets/{NavigationDots-c-XSrFzE-Bl0Sm_Ng.js → NavigationDots-WiVjbUsC-Crp3ArrF.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-FGEO68I8-BKtwnvr_.js → NewGlobalMerchantPage-kvjjwV8d-C2-dLqkh.js} +1 -1
- package/dist/assets/{NoDataChart-DJhSgtLu-BO4-72hz.js → NoDataChart-DlSLTzZl-FuGU3dm-.js} +1 -1
- package/dist/assets/{NoDataTable-BZiwo2qK-CJLZnBQL.js → NoDataTable-9vLoRpsR-CqXldB2y.js} +1 -1
- package/dist/assets/{NotFoundPage-BN5unYX8-B80hQ8eO.js → NotFoundPage-CFlNCHFs-HVhDj2Ia.js} +5 -5
- package/dist/assets/{NotFoundScreen-BBbILNsa.js → NotFoundScreen-YeCuKQy4.js} +1 -1
- package/dist/assets/{NotificationRoutes-BH_Amwk1.js → NotificationRoutes-Dd09Cbi8.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-d8kHDj0M-2vIf0BRe.js → NotificationSettingsPage-KJzE9v4p-DOQO6pCa.js} +4 -4
- package/dist/assets/{NotificationsListConfig-ThKLok_w-Bx-0LQ4e.js → NotificationsListConfig-6sXXtF_E-BS4C2OAr.js} +1 -1
- package/dist/assets/{NotificationsPage-Uvu6XESA-D1y42vLB.js → NotificationsPage-D4AmPdo9-BPnTsbgm.js} +1 -1
- package/dist/assets/{OpExByVendorPage-QyqRkD2_-h8x1NnCW.js → OpExByVendorPage-B5Wtu3ww-DQg4-jJ4.js} +6 -6
- package/dist/assets/{OverlayContainerPage-BG9y5C0t-B8rQHhtN.js → OverlayContainerPage-BG9y5C0t-COHi_UQx.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DJ2v5qbE-BgEHjFpy.js → PandLWithForecastPage-CjkaxTx7-DQmjDDak.js} +1 -1
- package/dist/assets/PandLWithForecastRoutes-C4ljq3MB.js +1 -0
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-q5z8XZFC-IYhUlGT-.js → PaymentAccountSetupBillingAddressSection-eeLSg7xb-CRk9dKLv.js} +1 -1
- package/dist/assets/{PeoplePage-C5ZdpVyR-DA1lsmrN.js → PeoplePage-CQREy6SW-aaRJEBLV.js} +1 -1
- package/dist/assets/{PeopleRoutes-BLNrKR-x.js → PeopleRoutes-ChdDR42u.js} +3 -3
- package/dist/assets/{PerformanceRoutes-BBydKp8A.js → PerformanceRoutes-C9_QucnY.js} +1 -1
- package/dist/assets/{Preview-C2UYzTeJ.js → Preview-CQ45ZFEO.js} +1 -1
- package/dist/assets/{ProductsCarousel-CXjLTOLy-2QbHSm9u.js → ProductsCarousel-COZZMTcH-Bzu55dWw.js} +1 -1
- package/dist/assets/{PromoBaseCards-CN9uZfG4-CB2JkJIv.js → PromoBaseCards-Bmn6TN2k-Bz52UdXc.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-CXSi1Pd9-CSvewQW2.js → QBOConnectionDialog-DYxoiSkA-BahHoGsk.js} +4 -4
- package/dist/assets/{QBOConnectionScreen-tSJfFhQn.js → QBOConnectionScreen-CvnGX6ip.js} +1 -1
- package/dist/assets/{QBOSetupSection-BrtLMvEP-D5Os1BGx.js → QBOSetupSection-Cdz2PDxV-3UdpeU-_.js} +7 -7
- package/dist/assets/ReferralListScreen-rNybuoN2.js +5 -0
- package/dist/assets/{ReimbursementApprovalRoutes-BHsHN-u_.js → ReimbursementApprovalRoutes-CoADYXXE.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CS1BQ7pL-_lY11RDq.js → ReimbursementApprovalRuleDetailPage-C-QEoqCw-nwX6DLtF.js} +5 -5
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-Bs2ple33.js → ReimbursementApprovalRuleDetailScreen-Bqm6EOL1.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-aLRkhkZB-CV07eSYp.js → ReimbursementApprovalRulesPage-Ch2sxTFV-tKNtb0zE.js} +26 -26
- package/dist/assets/{ReimbursementDetailPage-Dr5BTvEq-DM2tEzQB.js → ReimbursementDetailPage-DSF6SfKn--PtdBuMK.js} +5 -5
- package/dist/assets/{ReimbursementPromoPage-C5Z0mVhQ-Dq3UPRZ3.js → ReimbursementPromoPage-F1ROFd63-BFHAhlMX.js} +11 -11
- package/dist/assets/{ReimbursementRoutes-iv71wb2Z.js → ReimbursementRoutes-DGj3kepc.js} +3 -3
- package/dist/assets/{ReimbursementSetUpPage-CXhOBErm-BnZZWQ1W.js → ReimbursementSetUpPage-l2mhLFuo-DfOuAAr0.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CA0n0mau-Bq7X2QJa.js → ReimbursementsBulkReviewDrawerPage-DyPxPnlu-BmJ-UskM.js} +1 -1
- package/dist/assets/{ReloadCard-Bjp8ygC2-DsEbxw3o.js → ReloadCard-CDcJMl9F-DmOo4rMc.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-DTk1dNWC-QFtHZK4J.js → ReportTableViewSelector-DvCk55Hn-DU86kKFX.js} +5 -5
- package/dist/assets/ReportsPage-DfqqKSt3-DjEpZpYh.js +269 -0
- package/dist/assets/{ReportsRoutes-BhpH3vEG.js → ReportsRoutes-DrS0PfFL.js} +1 -1
- package/dist/assets/{RevenueChart-CqGvXDr4-BDXPrwnC.js → RevenueChart-BONT9upM-Wgu_yKns.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-CWBP7FBN-XuXg3BcA.js → ReviewDetailsPage-857bVurA-DISEdilE.js} +6 -6
- package/dist/assets/{ReviewOverlay-Cxkp85Kw-BxuvLEpC.js → ReviewOverlay-ClQg7d2j-DMLhTFSB.js} +1 -1
- package/dist/assets/RewardsRoutes-BI3CFx__.js +1 -0
- package/dist/assets/RoleWithToolTip-C0G1Hgp_-C6OnScGb.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CYvlB3Nf-DLsNuhIe.js → ScheduleDetailsFixedAssetsPage-CJ_JBtxS-BI5TWCkt.js} +4 -4
- package/dist/assets/{ScheduleDetailsPage-CZXJ15tN-DK-Vvm5e.js → ScheduleDetailsPage-B1aEwPL--CmKbMEkF.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-DNPID_7F-Bz8d2Fhy.js → ScheduleSequenceTable-DhU7PI91-B_rwqPJI.js} +1 -1
- package/dist/assets/{ScreenRoutes-B0gKACTz.js → ScreenRoutes-BEfnlKLo.js} +2 -2
- package/dist/assets/{SetUpAccountSection-_WPR-q2V-BVzNpUbf.js → SetUpAccountSection-C8dulq9s-NOviRS6G.js} +20 -20
- package/dist/assets/{SettingsRoutes-BrokioTP.js → SettingsRoutes-Cv3I5FcH.js} +1 -1
- package/dist/assets/{SetupPagesScreen-BiJM7znn.js → SetupPagesScreen-DXJ1IvhH.js} +1 -1
- package/dist/assets/{SignIn-CDEsZw_T-BhKsIiWi.js → SignIn-wDe7lbGR-CsMJoTy9.js} +4 -4
- package/dist/assets/{SignInScreen-CRHQkOWq.js → SignInScreen-TFIvhVsE.js} +1 -1
- package/dist/assets/{SignOutScreen-CSmP5G0L.js → SignOutScreen-DNlfKKyW.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-MOCWuROI-DdkFjcW6.js → SpendManagementListViewPage-BdddUHrW-DddaRnSk.js} +8 -8
- package/dist/assets/{SpendManagementPerTabPage-BeK0SCeE-DPZd4om4.js → SpendManagementPerTabPage-BBJm3884-BFVFYDTY.js} +1 -1
- package/dist/assets/{SpendManagementSection-DZFPfKNi-DT0rYb2P.js → SpendManagementSection-6R5y0Hy4-BDNcg1eM.js} +9 -9
- package/dist/assets/StatementItem-qsoXKx_p-B1TzdTRA.js +31 -0
- package/dist/assets/{StatementsPage-DYLp_e7W-CYuAqH_I.js → StatementsPage-Cn7WG5-S-RUted-8P.js} +2 -2
- package/dist/assets/{StatusSwitcher-jxaonB4S-Cxq2Q9_V.js → StatusSwitcher-D3qCg5J1-CR1Mcm2E.js} +1 -1
- package/dist/assets/{SubTabSwitcher-CudjNlsi-D6kvvomf.js → SubTabSwitcher-BXajy75j-Dc5sli1z.js} +1 -1
- package/dist/assets/{SuccessAnimation-DE_x1Zz_-AQ5Y5JIA.js → SuccessAnimation-CSblamOQ-Bn7t6Lwt.js} +1 -1
- package/dist/assets/SummaryCard-B1d4_5lE-Dcb38d7W.js +1 -0
- package/dist/assets/{TaskDetailPage-CXexRKAY-BOPspi-s.js → TaskDetailPage-CrsQnhu1-DqJUU9CD.js} +1 -1
- package/dist/assets/{TaskListScreen-B0RVzFet.js → TaskListScreen-DQaj367P.js} +1 -1
- package/dist/assets/{TaskManagementPage-CTMoHv0R-BGb6WsaA.js → TaskManagementPage-h3Rb49Jj-CiFXDTcp.js} +1 -1
- package/dist/assets/TaskRoutes-DcIHRznV.js +9 -0
- package/dist/assets/{TimeRangeSwitcher-SqY2MHGs-ChpZHeuG.js → TimeRangeSwitcher-DpUOmqiR-D_tIz1xP.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-BlJ2fuHy-JP2UlRBY.js → TimeframeSwitcher-BKEtsv_r-CS6zQ4bX.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-Dgc1odUH-ChrHPbvN.js → TimeframeSwitcherWithToggle-DECnQIMT-DCOsHatx.js} +10 -10
- package/dist/assets/{TopExCard-CG8YLsYe-B5wqJJSw.js → TopExCard-leQR29Sq-DG9ySZIm.js} +1 -1
- package/dist/assets/{TopExDetailPage-TvYCbzSP-CTOCVsET.js → TopExDetailPage-Dgg7Do6D-B22efZAA.js} +3 -3
- package/dist/assets/{TransactionActivityLogPage-BL3vEAdU-Bk3OacNa.js → TransactionActivityLogPage-CU2pUJQL-CgftV9ye.js} +5 -5
- package/dist/assets/{TransactionDetailPage-DUouBL0o-DkOa5f2H.js → TransactionDetailPage-FT2IPLH7-DAfWSPCG.js} +32 -32
- package/dist/assets/{TransactionDetailRoutes-D5_-HF2Q.js → TransactionDetailRoutes-l4cqdz7w.js} +1 -1
- package/dist/assets/{TransactionDetailScreen-DHwJH1ZP.js → TransactionDetailScreen-BxZ1AvRI.js} +1 -1
- package/dist/assets/{TransactionList-B16NONME-xM0VK0uD.js → TransactionList-C2MGkQYM-CPp22oMb.js} +8 -8
- package/dist/assets/{TransactionListBig-CItPbTRV-BpUwrWyu.js → TransactionListBig-CZ3jIxzR-BG5pwJlw.js} +6 -6
- package/dist/assets/TransactionListPage-PCa4exLO-uM7mJD-y.js +35 -0
- package/dist/assets/{TransactionListRoutes-DIJ_fkWS.js → TransactionListRoutes-veIGR3tC.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-DpqisXN8-wU2wHv2K.js → TransactionVendorDetailPage-BgcqndCu-BSSs2Jcd.js} +1 -1
- package/dist/assets/{TransferDrawerPage-Dsmbswu0-DFQDwnPy.js → TransferDrawerPage-SirvPH4z-DtzIcgDc.js} +10 -10
- package/dist/assets/{TreasuryOverviewPage-BcRpcYmB-DwdLr4Xt.js → TreasuryOverviewPage-B_WK1aOv-Bqerf9ct.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-DOO_OMRa-uzWYBUzW.js → TreasuryPromoPage-B_D63Dr2-Di08g28n.js} +6 -6
- package/dist/assets/{TreasuryRoutes-BfRwxvKx.js → TreasuryRoutes-BDfDMqyl.js} +6 -6
- package/dist/assets/{TreasuryStatementsPage-A_U7bEy5-C1uv8XvN.js → TreasuryStatementsPage-BGe0fhBe-D_xnH4qk.js} +2 -2
- package/dist/assets/{TreasuryTaxLetterPage-BsJn-BgX-Dcdm_qTO.js → TreasuryTaxLetterPage-9gNdkQZp-CGVWuYY2.js} +2 -2
- package/dist/assets/{TrendChart-GMMat-NG-BewK0MCc.js → TrendChart-COItOWPp-Bqzu2MgM.js} +2 -2
- package/dist/assets/{TrendWithTransactions-CrA4opNV-B_vQq65J.js → TrendWithTransactions-DgAw_8CI-MC8wGnO9.js} +8 -8
- package/dist/assets/{UncategorizedAccountsMappingPage-CrzbFGOi-BDtcuYej.js → UncategorizedAccountsMappingPage-B9EziB6Q-gv_x6dec.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-XZY6zJa7-D8B46vcm.js → UnitIntegrationPage-DGWNyWV1-Dx2SNOLo.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-eqwSLigx-kRVMQYF-.js → UploadAdditionalDocumentOverlay-DWmMz_8y-Dm_NzTDF.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-BHDivuPB-D7ySxcXF.js → Vendor2FAPopup-dh2g8kqu-tmyn1K6T.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-C0vIRpRW-DV0u5MUr.js +1 -0
- package/dist/assets/{VendorDetailPage-DEu-yS8w-BhFmuJot.js → VendorDetailPage-CGqoIODq-DATvkiT-.js} +13 -13
- package/dist/assets/VendorDomesticWireDetailsPage-BVXSOMiH-DLIihksm.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-C461SzO0-CCIZoPU6.js → VendorFiling1099EditablePage-CsnlHrCl-DrSHAjrS.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-klbCHS04-UP-04u7X.js → VendorFirstReviewPage-DC1j2sO_-BShWc2PZ.js} +7 -7
- package/dist/assets/{VendorInternationalWireDetailsPage-DY0V-VbO-Dl3hBhoD.js → VendorInternationalWireDetailsPage-Drr00a6C-B8ypeLTf.js} +1 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CZ5N8G2o-Cr3Iymam.js +1 -0
- package/dist/assets/{VendorsAccountsSection-Cqcr-ArD-CzW5lMfP.js → VendorsAccountsSection-BtdwR8u4-CH_AUGJD.js} +1 -1
- package/dist/assets/{VendorsRoutes-DLnvF6hR.js → VendorsRoutes-DTveFO9E.js} +11 -11
- package/dist/assets/{VerifyDevice-Dhu5iywf-cUES-VE2.js → VerifyDevice-Bhr_yHpE-BmXUueZN.js} +4 -4
- package/dist/assets/{VideoPlayer-ZGjx_Hp7-CjY3r1rL.js → VideoPlayer-wlJX6lEq-BRAB9bV0.js} +1 -1
- package/dist/assets/VideoPopup-BPptwR51-Dm-cn-KD.js +31 -0
- package/dist/assets/{WiseConfirmationScreen-CT86mZ0i.js → WiseConfirmationScreen-Be5nRHHx.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-DQB7sXU9-CZEM5xVV.js → ZeniAccountDetailPage-CSsu44ls-2H7-YqPq.js} +12 -12
- package/dist/assets/{ZeniAccountListViewPage-BwXKgf6g-FfpOzmd6.js → ZeniAccountListViewPage-BZwGCrzx-Hl1cOwI1.js} +32 -32
- package/dist/assets/{ZeniAccountNavBarPieces-CHUTFAWG-v671evv-.js → ZeniAccountNavBarPieces-CrNjnkNS-CNki38NN.js} +5 -5
- package/dist/assets/{ZeniAccountPromoPage-BkfJuMNV-CmI6f_1i.js → ZeniAccountPromoPage-CahV-Rmf-Dvz1FwqA.js} +1 -1
- package/dist/assets/{ZeniAccountRoutes-bnzTspvl.js → ZeniAccountRoutes-BMxuBylQ.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-C3drM4Zs-CvpINFn4.js → ZeniAccountSetupPage-DSNDNKZr-CwYlMf2d.js} +1 -1
- package/dist/assets/{ZeniAccountStatementScreen-B5KsFobU.js → ZeniAccountStatementScreen-BJVQBUGi.js} +1 -1
- package/dist/assets/{ZeniAvatar-C38T0-5--BM3XjRcp.js → ZeniAvatar-De0hFvIm-DzjTiqNz.js} +1 -1
- package/dist/assets/{ZeniCopyright-CznSgVJF-BhclYMa4.js → ZeniCopyright-BNGdkMOa-Cl7T_xPz.js} +1 -1
- package/dist/assets/{ZeniDatePicker-Bw9RlgoL-DDQaNsVY.js → ZeniDatePicker-CYNEE0pM-DG-NDcrF.js} +4 -4
- package/dist/assets/{ZeniTransferAmountSlider-C77DEl-C-CYKYiLaT.js → ZeniTransferAmountSlider-DuD1JtSv-DhSBAK_q.js} +1 -1
- package/dist/assets/{accountMappingHelper-B1SwIfFo.js → accountMappingHelper-FrhvxzcW.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-2vbkyqzY.js → add-to-wallet-DgdBD8_G-BqBidt5n.js} +1 -1
- package/dist/assets/{analytics-Qgv3Fhaa.js → analytics-CVqRc8fh.js} +1 -1
- package/dist/assets/{analyticsHelper-CsyUSML_.js → analyticsHelper-DJS6x-LZ.js} +1 -1
- package/dist/assets/{analyticsHelper-Bh8o1v3y-erbhoWbk.js → analyticsHelper-DjQYjslY-BxoS4N1f.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-CHgaZ-yo.js → arrow-south-east-round-PEovUgvH-B3QTzBHA.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-BdBsn5Ol.js → auto-transfer-rule-mbafm5D3-de_8OjuK.js} +1 -1
- package/dist/assets/{avatar-Dz7aEm3d-CxU8IzEu.js → avatar-Dz7aEm3d-B-3VAvb3.js} +1 -1
- package/dist/assets/{bank-letter-BOcVjN6J-DhC6VHDB.js → bank-letter-BOcVjN6J-KdddOmyc.js} +1 -1
- package/dist/assets/{calculateSize-QoQyn_Ku-j5kLdf_t.js → calculateSize-i9QGr8q0-Dp5VSL_N.js} +1 -1
- package/dist/assets/{chartTypes-C14YY2Rq-mIXPNQxz.js → chartTypes-BGl-YMiu-DyUWLIfR.js} +1 -1
- package/dist/assets/{clock-CJkylEKt-BBrb7jeK.js → clock-CJkylEKt-CB7HCMZv.js} +1 -1
- package/dist/assets/common-Cws59IN1-fneKv-li.js +1 -0
- package/dist/assets/{commonDimensions-CVpc-NCw-xOjrok2-.js → commonDimensions-CuKo3wam-D08uyy0o.js} +1 -1
- package/dist/assets/{commonTypes-Ec-PxfpT-DZ1xbinn.js → commonTypes-CfAg6Jvv-C_Qjl0Ts.js} +1 -1
- package/dist/assets/{core-CaikJZHD.js → core-AYNw6kyJ.js} +1 -1
- package/dist/assets/{dash.all.min-CteFsaah.js → dash.all.min-Dq_dQY1I.js} +1 -1
- package/dist/assets/{decodeURIComponentSafe-DcEFJStp.js → decodeURIComponentSafe-E-sgiudi.js} +1 -1
- package/dist/assets/{dnd-CzsffKNn.js → dnd-Dw-riVE4.js} +1 -1
- package/dist/assets/{dollar-round-D18u7nlm-BF4Thvjs.js → dollar-round-D18u7nlm-CvsBoEut.js} +1 -1
- package/dist/assets/{downloadPdf-BuPJ6cfr-Cy2ZBk4z.js → downloadPdf-Dcd8BY_9--BaRfov1.js} +1 -1
- package/dist/assets/{empty-B5B-FKq1.js → empty-C9c-cai_.js} +1 -1
- package/dist/assets/{empty-CTO6rJhq.js → empty-CX0U2Ty5.js} +1 -1
- package/dist/assets/{epic-DtTDCbBB.js → epic-B6fOiqme.js} +1 -1
- package/dist/assets/{filter-cZIFUNvj-CWbeOwgA.js → filter-cZIFUNvj-lFkn5gVk.js} +1 -1
- package/dist/assets/{getLocaleForTenant-DLrlmQCo.js → getLocaleForTenant-x8J8_kQc.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-BfzCBGHZ.js → gift-box-Cmt9OgIZ-BPwbjUGz.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-DEuKmvBU.js → graphic-no-data-l-DU4J8fDt-CaJy2HdS.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CIA_wKU3.js → graphic-no-data-net-burn-l-CzmycA0m-C9pmzSAL.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-Z_I5plJl.js → handshake-BPg58FML-BSOSNqUk.js} +1 -1
- package/dist/assets/{helper-AgH8nJln-DNDXfXpF.js → helper-DkzA3y2L-CVdrHzZT.js} +1 -1
- package/dist/assets/{hyperlink-DQyCeXx2-Bwqrw7ES.js → hyperlink-DQyCeXx2-CVVb97aA.js} +1 -1
- package/dist/assets/{index-mhb15COx.js → index-CilRLucN.js} +458 -458
- package/dist/assets/{index-BL34svil.js → index-Dm85Hu6Z.js} +1 -1
- package/dist/assets/{index-B7wRNic7.js → index-DqcXLX0N.js} +1 -1
- package/dist/assets/{index-B9eknY8q.js → index-DubSD1fb.js} +1 -1
- package/dist/assets/{index-CLf01Vy8.js → index-NZat51vK.js} +1 -1
- package/dist/assets/{index-B9myuWEH.js → index-wicPWwlB.js} +1 -1
- package/dist/assets/{lexical-CXNTSpM4.js → lexical-B-dyW3-4.js} +1 -1
- package/dist/assets/{liveblocks--AdozwCz.js → liveblocks-DJcRPJQh.js} +1 -1
- package/dist/assets/{lottie-D86WIi_0.js → lottie-DdLBMmzp.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-DTyQHWMc-BqMSzUiy.js → mapLoadingInProgressToTreeNode-lABm-2N9-Chsh4dr_.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-D7pjBGp6-BMY0vZTn.js → mapSectionWithAcOnlyToTreeNode-COcUb2pF-DXYL2e9L.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-BDjo5N-i-D6CiBSSk.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-CvVUjW74-CI8ETEqs.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-CwHF76sn-CrCtE0Hw.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B7LYTZXQ-Dr2IrdLd.js +1 -0
- package/dist/assets/{media-player-OnsEq_AY.js → media-player-V7uSzi45.js} +2 -2
- package/dist/assets/{money-2cg1MuG4-CfgKOIyt.js → money-2cg1MuG4-B7YE6t0I.js} +1 -1
- package/dist/assets/{mui-G2MlMTlr.js → mui-Ckdcx_YE.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-CWJ8fnGp.js → page-detail-CWX5S47F-NqWvakND.js} +1 -1
- package/dist/assets/{page-summary-D7_VQHwN-CaK_VLEF.js → page-summary-D7_VQHwN-BvkWkaoT.js} +1 -1
- package/dist/assets/{panelSelectedMixin-Cddsb26L-XfdQwEMM.js → panelSelectedMixin-Cddsb26L-CROMd__p.js} +1 -1
- package/dist/assets/{pathToGoBack-Dh6AhADv.js → pathToGoBack-C_2xxQDe.js} +1 -1
- package/dist/assets/{pdf-DwfifS04.js → pdf-CwWlK-Dr.js} +3 -3
- package/dist/assets/{pdf-lib-CuGtb6jg.js → pdf-lib-DhaWOBih.js} +1 -1
- package/dist/assets/{plaid-CcxzSXZd.js → plaid-BhP6n1uc.js} +1 -1
- package/dist/assets/{pusher-BNSVRSP_.js → pusher-8DhjdTCA.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-CF7OSKL1.js → radio-default-CiSgisfh-BoUlFA9D.js} +1 -1
- package/dist/assets/{react-BEcxr4nX.js → react-BHDcRwxI.js} +1 -1
- package/dist/assets/{react-V3TERlfD.js → react-BwCmpEw6.js} +1 -1
- package/dist/assets/{react-Cobj-_wp.js → react-CB4dPBRZ.js} +3 -3
- package/dist/assets/{react-DOvM9ag3.js → react-CE6422aE.js} +1 -1
- package/dist/assets/{react-Chqt_ss-.js → react-CGVKTtsW.js} +1 -1
- package/dist/assets/{react-BUDcsgZo.js → react-D-APY71d.js} +1 -1
- package/dist/assets/{react-C0Whd_8a.js → react-D4pZVe2B.js} +1 -1
- package/dist/assets/{react-WpjiT9jD.js → react-D_0srhsg.js} +1 -1
- package/dist/assets/{recharts-3tylCZU1.js → recharts-Dr1JzI4y.js} +1 -1
- package/dist/assets/{routePaths-CDVBEe6a.js → routePaths-DqRhLReO.js} +1 -1
- package/dist/assets/{sentry-Cm8I7E9J.js → sentry-D-LCra2M.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-tt-dORuJ.js → shield-DOlUxcFf-D5PHf2Tj.js} +1 -1
- package/dist/assets/{spend-limit-D6SyboD4-d-tIWfnn.js → spend-limit-D6SyboD4-D85B38gI.js} +1 -1
- package/dist/assets/toCOABalancesWithID-CGYYTIjt-Cbihktyj.js +1 -0
- package/dist/assets/{toChartData-G5y-N82I-HPFXqzd4.js → toChartData-B4ligi4c-CgbG1qSk.js} +1 -1
- package/dist/assets/{transaction-placeholder-CpOwZAMG-CXIruzlf.js → transaction-placeholder-CpOwZAMG-Ca0HZ2W6.js} +1 -1
- package/dist/assets/{undo-b_3XZ5CX-5VNbpbUY.js → undo-b_3XZ5CX-CSQ0fDLS.js} +1 -1
- package/dist/assets/{unlock-BPWn2I5L-8UNw8MhM.js → unlock-BPWn2I5L-DDdPB9QU.js} +1 -1
- package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-BhCuFTsT.js → upload-reimbursement-receipt-O2N8vcO7-DNsQOTk3.js} +1 -1
- package/dist/assets/{uploadAttachment-RbkIBMGO-BHEoxgsX.js → uploadAttachment-DgPDimcm-gkAtAf5q.js} +1 -1
- package/dist/assets/{uploadReceipts-CIgkuVpu-BPECKX43.js → uploadReceipts-CIgkuVpu-CPDGmbPp.js} +1 -1
- package/dist/assets/{url-CvhemPUG.js → url-BK92KGZc.js} +1 -1
- package/dist/assets/{url-BMzuxPwA.js → url-DUid0IO0.js} +1 -1
- package/dist/assets/{useDeviceId-BzlY8kf5.js → useDeviceId-BCros22l.js} +1 -1
- package/dist/assets/{useInitialThreadRequest-Dldme96o.js → useInitialThreadRequest-Wj3ao3U4.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-BgmUYGJ7.js → useLongPress-GCK2COYQ-Bs4IMufW.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-BqojtCEK.js → usp-line-BBd1wKwW-BBaxYQlT.js} +1 -1
- package/dist/assets/{utils-BhOlvYO8.js → utils-CI1RvLss.js} +1 -1
- package/dist/assets/{withTransactionSidePanel-DBF40Qih.js → withTransactionSidePanel-CEBXOpSa.js} +1 -1
- package/dist/assets/{zeni-epic-state-lC5X-sam.js → zeni-epic-state-B1zsDZZ4.js} +3 -3
- package/dist/assets/{zeni-icon-only-DZ6h0uLr.js → zeni-icon-only-Bb7XRMgX.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/AccountInfoPage-pEEhPqOb-B-Hd8VtG.js +0 -18
- package/dist/assets/ApAgingDetailPage-CxLVGnpY-BYGcfd1t.js +0 -46
- package/dist/assets/BillPayApprovalRuleDetailPage-Blxlv3pa-BYAGbgwQ.js +0 -27
- package/dist/assets/ChargeCardPromoPage-D4canPX9-CjFFR5oK.js +0 -222
- package/dist/assets/CustomerOnboardingAuthScreen-DO7d0gIb.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-DV3z4pR--CSEqEIM8.js +0 -1
- package/dist/assets/EntityDetailPage-DPTSSZdS-oHoyHWu0.js +0 -18
- package/dist/assets/MagicLinkACHDetailsPage-eq8wlXQr-C2vI5jVH.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BcNOhJgL-mWcNcIhr.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-Df8XYlkg-bsxOE2QI.js +0 -1
- package/dist/assets/NavBarWithPicker-D2v1fhLS-CGpIi67k.js +0 -30
- package/dist/assets/PandLWithForecastRoutes-CCN_Dopf.js +0 -1
- package/dist/assets/ReferralListScreen-CJqU7RxZ.js +0 -5
- package/dist/assets/ReportsPage-DrjOGopt-xwTAFZ82.js +0 -258
- package/dist/assets/RewardsRoutes-CGI6v1LD.js +0 -1
- package/dist/assets/RoleWithToolTip-CqLxmtj6-Rnjw9i_g.js +0 -22
- package/dist/assets/StatementItem-DjvU5wiI-DmQsj9gw.js +0 -31
- package/dist/assets/SummaryCard-DPOhBmkr-Cv-w5fsm.js +0 -1
- package/dist/assets/TaskRoutes-vmd5uItQ.js +0 -9
- package/dist/assets/TransactionListPage-DNecYY8M-ptahFcY0.js +0 -35
- package/dist/assets/VendorACHDetailsPage-DJ4Crnr0-BgbOpk55.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-WFcOmpiN-DCXCuX-V.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-B8sx02I_-h6qnY29-.js +0 -1
- package/dist/assets/VideoPopup-R3u0N_if-CaG3EJQq.js +0 -31
- package/dist/assets/common-Cu5K0AJk-BihNw_Do.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-Cd4FCXAf-C6nWwAzP.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Drhl_lnP-BDA52mbW.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-UsawmMLa-DrvNkcA6.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B-aNuSSK-DHD18LN5.js +0 -1
- package/dist/assets/toCOABalancesWithID-wh35N3no-2SjovFHm.js +0 -1
package/dist/assets/{InvitePeoplePage-DAEBuOnk-CNuAu3aA.js → InvitePeoplePage-CpD7YoC2-CAkwuWqR.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
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
|
|
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 U,c0 as V,fo as B,fp as W,fq as M,O as de,c2 as ce}from"./index-CilRLucN.js";import{a as R}from"./sentry-D-LCra2M.js";import{n as G}from"./mui-Ckdcx_YE.js";import{G0 as ue,bt as me}from"./zeni-epic-state-B1zsDZZ4.js";import{f as pe}from"./AllUserItems-BdgTe4WF-H7QxO-h-.js";import"./pdf-CwWlK-Dr.js";import"./core-AYNw6kyJ.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.js";import"./LabeledEmailInputField-C6gk3B5x-DQKZx3MY.js";import"./LabeledZeniRolesDropDownField-B5rxYfam-qcmbm9V-.js";import"./RoleWithToolTip-C0G1Hgp_-C6OnScGb.js";import"./LabeledUserSingleSelectWithSubtitlesField-CF4oVI17-C2nSJ6yS.js";import"./avatar-Dz7aEm3d-B-3VAvb3.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]="6c1ee0d3-576d-4b7d-badf-ceed68542b98",e._sentryDebugIdIdentifier="sentry-dbid-6c1ee0d3-576d-4b7d-badf-ceed68542b98")}catch{}})();const _={containerPaddingLeft:new U(g[3],g[6],g[8]),containerPaddingRight:new U(g[3],g[6],g[8]),buttonWidth:new U(85,85)},Q="editPeoplePage",I="userItems",p=de.getLocalizedStrings().peoplePage,Ue=({peopleDetails:e,managersList:n,classList:f,controllersList:$,mode:l,isZeniTenant:x,onPeopleLocalDataUpdated:C,onCloseClick:O,onSaveClick:r,isReimbursementDisabled:w,isZeniAccountsDisabled:t,isChargeCardDisabled:Z,isTreasuryDisabled:j,isBankingOnlyTenant:v,isCardsOnlyTenant:y,isLiteRoleDisabled:q})=>{const u=ee(),[H,J]=R.useState(-1),[E,T]=R.useState(""),A=R.useRef(null),z=R.useMemo(()=>ne(w,t,Z,v,y,q,j),[w,t,Z,v,y,q,j]),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(k=>ue(k.selectedOption?.value)).filter(k=>k!=null):[],s==="employee"&&h.length===0&&(h=["reimbursements_user"]);const N=me(h);m={email:d.email,role:h,departmentId:N?void 0:d.department?.selectedOption?.value,managerId:N?void 0:d.manager?.selectedUser}}b.push(m)}),C(b)})(0,i)});return()=>{o.unsubscribe()}}),R.useEffect(()=>{const o=A.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,E,u]),c.jsxs(c.Fragment,{children:[c.jsx(oe,{title:E,backgroundColor:K.colors.grey4,style:{zIndex:4},onCloseClick:O,isTitleAlignLeft:u==="small"}),c.jsxs(ge,{"data-testid":se("invite-people-container"),windowSize:u,ref:A,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:H,updateDeleteConfirmationIndex:J,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:V.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:B(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:V.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:B(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}},Ze=(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};
|
|
@@ -9,4 +9,4 @@ 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,a
|
|
|
9
9
|
height: 100%;
|
|
10
10
|
`,fe=G(ce)`
|
|
11
11
|
color: ${e=>e.theme.colors.primary};
|
|
12
|
-
`;export{
|
|
12
|
+
`;export{Ue as default,Ze as uniqueName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as ae,e as se,O as
|
|
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-CilRLucN.js";import{a as o}from"./sentry-D-LCra2M.js";import{n as l}from"./mui-Ckdcx_YE.js";import Re from"./AttachmentView-DQdb3v_e-BgOMzST7.js";import{l as De}from"./uploadReceipts-CIgkuVpu-CPDGmbPp.js";import{t as He}from"./upload-reimbursement-receipt-O2N8vcO7-DNsQOTk3.js";import"./pdf-CwWlK-Dr.js";import"./zeni-epic-state-B1zsDZZ4.js";import"./core-AYNw6kyJ.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.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]="a355566d-1bdf-4bc1-8df4-f14d45f146af",e._sentryDebugIdIdentifier="sentry-dbid-a355566d-1bdf-4bc1-8df4-f14d45f146af")}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 W,V as t,L as G,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
|
+
`,_e=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 W,V as t,L as G,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
|
+
`,Ve=l.div`
|
|
70
70
|
display: flex;
|
|
71
71
|
flex-direction: column;
|
|
72
72
|
align-items: center;
|
|
@@ -79,13 +79,13 @@ import{y as ae,e as se,O as W,V as t,L as G,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
|
+
`,Ue=l.div`
|
|
83
83
|
display: flex;
|
|
84
84
|
flex-direction: column;
|
|
85
85
|
align-items: center;
|
|
86
86
|
justify-content: center;
|
|
87
87
|
flex-grow: 1;
|
|
88
|
-
`,
|
|
88
|
+
`,Fe=l.div`
|
|
89
89
|
display: flex;
|
|
90
90
|
justify-content: flex-end;
|
|
91
91
|
align-items: center;
|
|
@@ -95,10 +95,10 @@ import{y as ae,e as se,O as W,V as t,L as G,o as i,f as d,x as j,fX as je,fY as
|
|
|
95
95
|
align-content: center;
|
|
96
96
|
align-items: center;
|
|
97
97
|
margin-top: ${i.sp3};
|
|
98
|
-
`,
|
|
98
|
+
`,We=l(ce)`
|
|
99
99
|
color: ${e=>e.windowSize==="small"&&e.themeContext.mode==="light"?e.theme.colors.primary:d.primaryDark};
|
|
100
100
|
margin-right: ${i.sp3};
|
|
101
|
-
`,
|
|
101
|
+
`,Ge=l.div`
|
|
102
102
|
color: ${e=>e.windowSize==="small"&&e.themeContext.mode==="light"?e.theme.colors.primary:d.primaryDark};
|
|
103
103
|
padding: ${i.sp1} ${i.sp2};
|
|
104
104
|
border: 1px solid ${e=>e.theme.colors.grey2};
|
|
@@ -114,7 +114,7 @@ import{y as ae,e as se,O as W,V as t,L as G,o as i,f as d,x as j,fX as je,fY as
|
|
|
114
114
|
margin: ${i.sp3} 0;
|
|
115
115
|
max-width: 330px;
|
|
116
116
|
text-align: center;
|
|
117
|
-
`,
|
|
117
|
+
`,Ne=l(He)`
|
|
118
118
|
color: ${e=>e.theme.colors.grey1};
|
|
119
119
|
margin-bottom: ${i.sp3};
|
|
120
120
|
`,Oe=l(e=>o.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},o.createElement("mask",{id:"mask0_623_1439",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:-16,width:72,height:88},o.createElement("rect",{y:-16,width:72,height:88,fill:"url(#paint0_linear_623_1439)"})),o.createElement("g",{mask:"url(#mask0_623_1439)"},o.createElement("path",{d:"M24.4551 10.7549C24.8693 10.7549 25.2051 11.0907 25.2051 11.5049V13.6938L28.3834 13.6938C28.7976 13.6938 29.1334 14.0296 29.1334 14.4438C29.1334 14.8581 28.7976 15.1938 28.3834 15.1938H22.4209C21.6794 15.1944 20.9613 15.4529 20.3896 15.925C19.8179 16.3972 19.4282 17.0536 19.2875 17.7816C19.1468 18.5096 19.2638 19.264 19.6184 19.9152C19.973 20.5662 20.543 21.0736 21.2306 21.3505L27.2968 23.7781C28.3078 24.1849 29.1457 24.9308 29.6669 25.8878C30.1881 26.8448 30.36 27.9534 30.1532 29.0234C29.9464 30.0933 29.3738 31.058 28.5335 31.7519C27.6933 32.4458 26.6377 32.8257 25.548 32.8265H25.2051V35.0149C25.2051 35.4292 24.8693 35.7649 24.4551 35.7649C24.0409 35.7649 23.7051 35.4292 23.7051 35.0149V32.8265H19.567C19.1528 32.8265 18.817 32.4907 18.817 32.0765C18.817 31.6623 19.1528 31.3265 19.567 31.3265H24.4327C24.4401 31.3263 24.4476 31.3262 24.4551 31.3262C24.4626 31.3262 24.47 31.3263 24.4775 31.3265H25.5469C26.2884 31.326 27.0066 31.0675 27.5784 30.5953C28.1501 30.1232 28.5398 29.4668 28.6805 28.7387C28.8212 28.0107 28.7042 27.2564 28.3496 26.6052C27.9951 25.9543 27.4253 25.4469 26.7378 25.1701L26.7369 25.1697L20.6712 22.7422C19.6602 22.3355 18.8223 21.5896 18.3011 20.6325C17.7799 19.6755 17.608 18.5669 17.8148 17.497C18.0216 16.427 18.5942 15.4624 19.4345 14.7684C20.2748 14.0745 21.3308 13.6946 22.4206 13.6938H23.7051V11.5049C23.7051 11.0907 24.0409 10.7549 24.4551 10.7549Z",fill:"#A6B0B1"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.0762 2.2644C37.4904 2.2644 37.8262 2.60019 37.8262 3.0144V17.4438C37.8262 18.0243 38.0568 18.581 38.4672 18.9915C38.8777 19.402 39.4344 19.6326 40.0149 19.6326H54.4443C54.8585 19.6326 55.1943 19.9684 55.1943 20.3826C55.1943 20.7968 54.8585 21.1326 54.4443 21.1326H40.0149C39.0366 21.1326 38.0984 20.7439 37.4066 20.0521C36.7148 19.3604 36.3262 18.4221 36.3262 17.4438V3.0144C36.3262 2.60019 36.662 2.2644 37.0762 2.2644Z",fill:"#A6B0B1"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7295 42.2959C17.7295 41.8817 18.0653 41.5459 18.4795 41.5459H42.5621C42.9763 41.5459 43.3121 41.8817 43.3121 42.2959C43.3121 42.7101 42.9763 43.0459 42.5621 43.0459H18.4795C18.0653 43.0459 17.7295 42.7101 17.7295 42.2959Z",fill:"#A6B0B1"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7295 52.2962C17.7295 51.882 18.0653 51.5462 18.4795 51.5462L40.7106 51.5461C41.1248 51.5461 41.4606 51.8819 41.4606 52.2961C41.4606 52.7104 41.1248 53.0461 40.7106 53.0461L18.4795 53.0462C18.0653 53.0462 17.7295 52.7104 17.7295 52.2962Z",fill:"#A6B0B1"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.7295 31.9541C37.7295 31.5399 38.0653 31.2041 38.4795 31.2041H48.1263C48.5406 31.2041 48.8763 31.5399 48.8763 31.9541C48.8763 32.3683 48.5406 32.7041 48.1263 32.7041H38.4795C38.0653 32.7041 37.7295 32.3683 37.7295 31.9541Z",fill:"#A6B0B1"})),o.createElement("rect",{x:40.75,y:40.75,width:30.5,height:30.5,rx:15.25,stroke:"#A6B0B1",strokeWidth:1.5}),o.createElement("path",{d:"M63.1838 60.0608V61.3101C63.1836 61.807 62.9861 62.2834 62.6348 62.6348C62.2835 62.9861 61.807 63.1836 61.3101 63.1837H50.69C50.1931 63.1837 49.7166 62.9863 49.3652 62.635C49.0138 62.2836 48.8164 61.807 48.8164 61.3101V60.0608",stroke:"#A6B0B1",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M55.5502 49.191C55.6639 49.0732 55.8234 49 56 49C56 49 56 49 56 49C56.0071 49 56.0143 49.0001 56.0214 49.0004C56.1742 49.0055 56.3254 49.0664 56.4421 49.1831L61.0135 53.7545C61.2576 53.9986 61.2576 54.3943 61.0135 54.6384C60.7694 54.8824 60.3737 54.8824 60.1296 54.6384L56.625 51.1337V60.7976C56.625 61.1427 56.3452 61.4226 56 61.4226C55.6548 61.4226 55.375 61.1427 55.375 60.7976V51.134L51.8707 54.6384C51.6266 54.8824 51.2308 54.8824 50.9868 54.6384C50.7427 54.3943 50.7427 53.9986 50.9868 53.7545L55.5502 49.191Z",fill:"#A6B0B1"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.8739 3.50002C37.1624 3.49921 37.4482 3.55546 37.7149 3.66552C37.9816 3.77558 38.224 3.93737 38.428 4.14141L54.3387 20.0521C54.7491 20.4624 54.9797 21.0193 54.98 21.5996L54.9696 40.7471H56.4696L56.48 21.5993C56.4798 20.621 56.091 19.6829 55.3992 18.9913L39.4887 3.08083C39.145 2.73695 38.7366 2.46443 38.2871 2.27894C37.838 2.0936 37.3567 1.99881 36.8708 2.00001H12.6888C11.7105 2.00001 10.7722 2.38865 10.0804 3.08043C9.38864 3.77222 9 4.71048 9 5.68881V59.4034C9 60.3817 9.38864 61.32 10.0804 62.0117C10.7722 62.7035 11.7105 63.0922 12.6888 63.0922H42.0703V61.5922H12.6888C12.1083 61.5922 11.5516 61.3615 11.1411 60.9511C10.7306 60.5406 10.5 59.9839 10.5 59.4034V5.68881C10.5 5.1083 10.7306 4.55158 11.1411 4.1411C11.5516 3.73062 12.1083 3.50002 12.6888 3.50002H36.8718L36.8739 3.50002Z",fill:"#A6B0B1"}),o.createElement("defs",null,o.createElement("linearGradient",{id:"paint0_linear_623_1439",x1:36,y1:-16,x2:36,y2:72,gradientUnits:"userSpaceOnUse"},o.createElement("stop",{stopColor:"#C9ABC7",stopOpacity:0}),o.createElement("stop",{offset:1e-4,stopColor:"#C9ABC7"})))))`
|
|
@@ -124,9 +124,9 @@ import{y as ae,e as se,O as W,V as t,L as G,o as i,f as d,x as j,fX as je,fY as
|
|
|
124
124
|
width: ${i.sp7};
|
|
125
125
|
height: ${i.sp7};
|
|
126
126
|
color: ${e=>e.theme.colors.hero};
|
|
127
|
-
`,
|
|
127
|
+
`,W=l(ce)`
|
|
128
128
|
color: ${d.important};
|
|
129
|
-
`,
|
|
129
|
+
`,Qe=({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,_=P!=null?P.fetchState=="In-Progress":x;return t.jsxs(_e,{showTitlebar:T,windowSize:p,type:e,children:[T===!0?t.jsx(qe,{windowSize:p,type:e,children:D}):null,_==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(Ue,{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(Fe,{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%;
|
|
@@ -137,4 +137,4 @@ import{y as ae,e as se,O as W,V as t,L as G,o as i,f as d,x as j,fX as je,fY as
|
|
|
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:_,updateInvoiceUploadFetchState:r,onReplaceClick:c,onDeleteClick:a,uploadStatus:h,isLoading:s=!1})=>{const X=ae(),A=se(),[he,Q]=o.useState(!1),Y=G.getLocalizedStrings().spendManagement.billPay.billDetails,[me,q]=o.useState(!1),[ue,J]=o.useState(!1),[ge,we]=o.useState(""),[fe,V]=o.useState(!1),[U,Ce]=o.useState({title:"",description:"",primaryButtonText:""});async function K($,u,I,oe,ye){Q(!0),J(!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),_?.()}).catch(()=>{J(!0),ye?.("Error")}),Q(!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}),V(!0)):V(!1)},xe={onOkClick:()=>{V(!1)}};let te=n!=null||(h!=null?h?.fetchState=="Completed":me);m==="bill"&&R===!0&&(te=!1);const F=m==="bill"?"bill_pay":m==="receipt"?"reimbursement":"w9";return t.jsx(Ve,{showAutofill:f,windowSize:A,style:D,type:m,"data-testid":O("upload-section",F),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:U.title}),descriptionComponent:t.jsx(Ee,{children:U.description}),primaryButtonText:U.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"),K(e,x,$,u,r)}}):t.jsx(Qe,{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,F,p),r?.("In-Progress"),K(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",F),onClick:()=>S?.(!f),children:t.jsx(Pe,{children:Y.skipAutofill})})]}):null]})})};export{Qe as AttachmentElement,ut as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as oe,T as Ua,c8 as
|
|
1
|
+
import{e as oe,T as Ua,c8 as Na,V as i,b as Ie,ix as Fa,bu as qa,A as Ma,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-CilRLucN.js";import{a as E}from"./sentry-D-LCra2M.js";import{n as s}from"./mui-Ckdcx_YE.js";import{Y as ga}from"./LabeledUserSingleSelectWithSubtitlesField-CF4oVI17-C2nSJ6yS.js";import{br as ri}from"./zeni-epic-state-B1zsDZZ4.js";import{T as ba}from"./RoleWithToolTip-C0G1Hgp_-C6OnScGb.js";import"./pdf-CwWlK-Dr.js";import"./core-AYNw6kyJ.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.js";import"./avatar-Dz7aEm3d-B-3VAvb3.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]="c9500c06-85be-43a1-a302-fa83521ff39c",e._sentryDebugIdIdentifier="sentry-dbid-c9500c06-85be-43a1-a302-fa83521ff39c")}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:F}}}=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?F.amountExceedError.replace("_amount_",f):void 0,V=e.creditCard.physicalCard.user,S=V.allUsers.find(l=>l.userId===V.selectedUser),N=S?.userId,q=N!=null?I[N]:void 0;return i.jsxs(i.Fragment,{children:[i.jsx(ga,{label:{label:F.cardholderLabel,width:x},userSingleSelectWithSubTitlesField:{name:h(r,"creditCard.physicalCard.user"),placeholderLabel:F.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(M=>M.userId===l),D=[];return P?.accountingClassIDs.forEach(M=>{const R=z.find(v=>v.classId===M);R!=null&&R.className&&D.push(R.className)}),D},additionalLabelInfo:F.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:F.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:F.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:F.cardNamePlaceholder,options:{required:!0,validate:l=>l!=null}}}),i.jsx(Le,{}),i.jsx(De,{label:{label:F.amountLabel,width:x},showAdditionalInfoLabel:w,additionalInfoLabel:p,formattedTextField:{type:"number",name:h(r,"creditCard.physicalCard.amount"),defaultValue:e.creditCard.physicalCard.amount,placeholder:F.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:F.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:F.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,M)=>i.jsx(oi,{isOptionSelected:M,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:F.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:[q!=null&&i.jsx(Y,{isContainerClickable:!0,label:{label:F.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)}.${F.address.personal}`,value:"card_holder_personal_address",radioSize:"small",registerOptions:{required:!0}}}),i.jsx(Y,{isContainerClickable:!0,label:{label:F.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)}.${F.address.company}`,value:"company_address",radioSize:"small",registerOptions:{required:!0}}}),i.jsx(Y,{isContainerClickable:!0,label:{label:F.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)}.${F.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:q,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:F.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:F.address.customAddressText})]})})})]})]})},ni=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -175,7 +175,7 @@ import{e as oe,T as Ua,c8 as Fa,V as i,b as Ie,ix as Na,bt as qa,A as Ma,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),
|
|
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),N=S?.userId,q=N!=null?I[N]: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(M=>M.userId===l),D=[];return P?.accountingClassIDs.forEach(M=>{const R=z.find(v=>v.classId===M);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(M=>{M.debitCard.cardType==="business_physical_debit_card"&&M.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:[q!=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:q,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%;
|
|
@@ -256,7 +256,7 @@ import{e as oe,T as Ua,c8 as Fa,V as i,b as Ie,ix as Na,bt as qa,A as Ma,a9 as E
|
|
|
256
256
|
&:hover {
|
|
257
257
|
fill: ${e=>e.theme.colors.primary};
|
|
258
258
|
}
|
|
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])},
|
|
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])},Ni={infoLabel:new Ce("smallRegular","smallRegular")},ea="creditCard.virtualCard.users",Fi=({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(Ne,{}),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(Ne,{}),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(Ne,{}),i.jsx(qi,{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(Mi,{isOptionSelected:w,children:be(f)}))(d,u),textAlignment:"right",registerOptions:{required:!0,validate:d=>d!=null&&!!d.selectedOption}}})})]})},qi=s.div`
|
|
260
260
|
display: flex;
|
|
261
261
|
flex-direction: row;
|
|
262
262
|
padding: ${a.sp2};
|
|
@@ -272,11 +272,11 @@ import{e as oe,T as Ua,c8 as Fa,V as i,b as Ie,ix as Na,bt as qa,A as Ma,a9 as E
|
|
|
272
272
|
`,Ei=s.label`
|
|
273
273
|
color: ${e=>e.theme.colors.hero};
|
|
274
274
|
width: 100%;
|
|
275
|
-
${e=>`${
|
|
275
|
+
${e=>`${Ni.infoLabel.style(e.size)}`};
|
|
276
276
|
padding-right: ${a.sp3};
|
|
277
277
|
text-align: right;
|
|
278
278
|
white-space: pre-line;
|
|
279
|
-
`,
|
|
279
|
+
`,Ne=s.div`
|
|
280
280
|
display: flex;
|
|
281
281
|
flex: 1;
|
|
282
282
|
background-color: ${e=>e.theme.colors.grey3};
|
|
@@ -326,7 +326,7 @@ import{e as oe,T as Ua,c8 as Fa,V as i,b as Ie,ix as Na,bt as qa,A as Ma,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:
|
|
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:N,maxVirtualDebitCardPerUser:q,cardsSectionRef:l,openAddAddressDrawerHandler:P,clearTentativeNameForLine:D,activeChargeCardCount:M,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(Fe,{})]}):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(Fe,{}),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:M,userList:$,allRoles:_,allAccountingClasses:j,maxPhysicalChargeCardPerUser:V}):i.jsx(Fi,{lineData:r,issueCardSectionId:`${o}`,cardHolderCandidates:C,limit:y,creditLimitFrequency:z,allRoles:_,allAccountingClasses:j,activeChargeCardCount:M,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(Fe,{}),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:N}):i.jsx(bi,{lineData:r,issueCardSectionId:`${o}`,cardHolderCandidates:C,depositAccounts:c,creditLimitFrequency:z,allRoles:_,allAccountingClasses:j,activeDebitCardCount:R,maxVirtualDebitCardPerUser:q})]}):null]})]})},Wi=s.div`
|
|
330
330
|
display: flex;
|
|
331
331
|
flex-direction: row;
|
|
332
332
|
border-top-left-radius: inherit;
|
|
@@ -364,7 +364,7 @@ import{e as oe,T as Ua,c8 as Fa,V as i,b as Ie,ix as Na,bt as qa,A as Ma,a9 as E
|
|
|
364
364
|
background-color: ${e=>e.theme.colors.grey3};
|
|
365
365
|
min-width: 1px;
|
|
366
366
|
max-width: 1px;
|
|
367
|
-
`,
|
|
367
|
+
`,Fe=s.div`
|
|
368
368
|
display: flex;
|
|
369
369
|
flex: 1;
|
|
370
370
|
background-color: ${e=>e.theme.colors.grey3};
|
|
@@ -407,7 +407,7 @@ import{e as oe,T as Ua,c8 as Fa,V as i,b as Ie,ix as Na,bt as qa,A as Ma,a9 as E
|
|
|
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:
|
|
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:N}=Ja({name:r,control:p}),q=V(r,N),l=Math.max(...Object.keys(e.localData??{}).map(R=>Number(R)),0),P=R=>{S(r,q.filter((v,Q)=>Q!==R))},D=oe(),{spendManagement:{chargeCard:{issueCard:M}}}=de.getLocalizedStrings();return i.jsxs(ir,{ref:u,children:[q.map((R,v)=>i.jsx(Hi,{lineIndex:v,lineData:R,issueCardSectionId:`${r}.${v}`,cardHolderCandidates:o,userList:C,limit:$,creditLimitFrequency:y,allRoles:z,allAccountingClasses:_,hasMultipleLineItems:q.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=q[q.length-1],v=U(q.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,[...q,v]),setTimeout(()=>{Za(f.current,u.current)},50)})()},"data-testid":Ie("add-card-button"),children:[i.jsx(lr,{}),i.jsx(dr,{windowSize:D,children:M.addCard})]})]})},ir=s.div`
|
|
411
411
|
display: flex;
|
|
412
412
|
flex-direction: column;
|
|
413
413
|
`,rr=s.div`
|
|
@@ -433,7 +433,7 @@ import{e as oe,T as Ua,c8 as Fa,V as i,b as Ie,ix as Na,bt as qa,A as Ma,a9 as E
|
|
|
433
433
|
margin-right: ${a.sp2};
|
|
434
434
|
width: ${a.sp3};
|
|
435
435
|
height: ${a.sp3};
|
|
436
|
-
`,ra="addressType",da="physicalCard",la="virtualCard",ya="lineInfo",ta="issueCardDetailPage",sa=e=>`${e}_form`,{common:ae,spendManagement:{chargeCard:{issueCard:Pe}}}=de.getLocalizedStrings(),fa=e=>e!=null?{amount:e,currencyCode:ae.currency.currencyCode,currencySymbol:ae.currency.currencySymbol}:void 0,na=(e,r=!1)=>{const o={userIds:e.users.selectedUsers.map(C=>C.userId),cardName:e.cardName,amount:fa(e.amount),frequency:e.frequency.selectedOption};return r?{...o,connectedAccountId:e.connectedAccount.selectedOption}:o},oa=(e,r=!1)=>{const o={userId:e.user.selectedUser,cardName:e.cardName,amount:fa(e.amount),frequency:e.frequency.selectedOption,addressType:e.addressType,addressId:e.addressId};return r?{...o,connectedAccountId:e.connectedAccount.selectedOption}:o},ne={containerPaddingLeft:new b(t[4],t[6],t[8]),containerPaddingRight:new b(t[4],t[6],t[8]),navbarHeight:new b(44,t[9]),closeIconMarginRight:new b(t[4],t[8]),rightSectionWidth:new b(t[12],58),footerTopPadding:new b(t[3],10)},tr={title:new Ce("standardMedium","largeSemiBold")},qr=({issueChargeCards:e,cardHolderCandidates:r,userList:o,companyName:C,allRoles:$,allAccountingClasses:y,isIssuePhysicalCardEnabled:z,isIssuePhysicalDebitCardEnabled:_,isDebitCardFeatureEnabled:j,isChargeCardFeatureEnabled:I,isDebitCardSetupEnabled:c,isChargeCardSetupEnabled:L,signedInUser:g,defaultCardType:n,onSaveChangesToLocalStore:m,onIssueCardClick:U,onDismissClick:x,resetCustomAddressByLineID:d,handleZeniLogoClick:u,openAddAddressDrawerHandler:f,clearTentativeNameForLine:w})=>{const{chargeCardConfig:{creditLimitFrequency:p},creditAccount:{limit:V},companyAddress:S}=e,
|
|
436
|
+
`,ra="addressType",da="physicalCard",la="virtualCard",ya="lineInfo",ta="issueCardDetailPage",sa=e=>`${e}_form`,{common:ae,spendManagement:{chargeCard:{issueCard:Pe}}}=de.getLocalizedStrings(),fa=e=>e!=null?{amount:e,currencyCode:ae.currency.currencyCode,currencySymbol:ae.currency.currencySymbol}:void 0,na=(e,r=!1)=>{const o={userIds:e.users.selectedUsers.map(C=>C.userId),cardName:e.cardName,amount:fa(e.amount),frequency:e.frequency.selectedOption};return r?{...o,connectedAccountId:e.connectedAccount.selectedOption}:o},oa=(e,r=!1)=>{const o={userId:e.user.selectedUser,cardName:e.cardName,amount:fa(e.amount),frequency:e.frequency.selectedOption,addressType:e.addressType,addressId:e.addressId};return r?{...o,connectedAccountId:e.connectedAccount.selectedOption}:o},ne={containerPaddingLeft:new b(t[4],t[6],t[8]),containerPaddingRight:new b(t[4],t[6],t[8]),navbarHeight:new b(44,t[9]),closeIconMarginRight:new b(t[4],t[8]),rightSectionWidth:new b(t[12],58),footerTopPadding:new b(t[3],10)},tr={title:new Ce("standardMedium","largeSemiBold")},qr=({issueChargeCards:e,cardHolderCandidates:r,userList:o,companyName:C,allRoles:$,allAccountingClasses:y,isIssuePhysicalCardEnabled:z,isIssuePhysicalDebitCardEnabled:_,isDebitCardFeatureEnabled:j,isChargeCardFeatureEnabled:I,isDebitCardSetupEnabled:c,isChargeCardSetupEnabled:L,signedInUser:g,defaultCardType:n,onSaveChangesToLocalStore:m,onIssueCardClick:U,onDismissClick:x,resetCustomAddressByLineID:d,handleZeniLogoClick:u,openAddAddressDrawerHandler:f,clearTentativeNameForLine:w})=>{const{chargeCardConfig:{creditLimitFrequency:p},creditAccount:{limit:V},companyAddress:S}=e,N=oe(),q=E.useRef(null),l=E.useRef(null),[P,D]=E.useState(!0),[M,R]=E.useState(!0),v=E.useRef(null),Q=E.useRef(null),[ve,va]=E.useState(0),[ze,$a]=E.useState(0),[$e,La]=E.useState(0),[Sa,ja]=E.useState(0),[Pa,Ia]=E.useState(e.localData);E.useEffect(()=>{const T=new IntersectionObserver(X=>{X.forEach(ce=>{ce.target===q.current&&D(ce.isIntersecting),ce.target===l.current&&R(ce.isIntersecting)})},{threshold:.1}),A=q.current,H=l.current;return A&&T.observe(A),H&&T.observe(H),()=>{A&&T.unobserve(A),H&&T.unobserve(H)}},[]);const ye=Ua({mode:"all",reValidateMode:"onChange",defaultValues:E.useMemo(()=>ua(e.localData,r,p,o,e.depositAccounts,I,j,L,c,S,n),[e,r,p,o,I,j,L,c,S,n]),values:E.useMemo(()=>ua(e.localData,r,p,o,e.depositAccounts,I,j,L,c,S,n),[e.localData,e.depositAccounts,r,p,o,I,j,L,c,S,n])}),{isValid:Ta}=ye.formState,qe=T=>T.map(A=>({lineId:A.lineId,chargeCardType:A.chargeCardType,creditCard:{cardType:A.creditCard.cardType,virtualCard:na(A.creditCard[la]),physicalCard:oa(A.creditCard[da])},debitCard:{cardType:A.debitCard.cardType,virtualCard:na(A.debitCard[la],!0),physicalCard:oa(A.debitCard[da],!0)}}));E.useEffect(()=>{const T=ye.watch((A,{name:H})=>{H!=null&&A!=null&&Na(()=>(async(X,ce)=>{if(X!=null){const{lineInfo:le}=ce,ue=Number(X.split(".")[1]);if(X.includes("cardName")||X.includes("amount"))return;if(X.includes("physicalCard.user")){const pe=We(X.split(".")[2]);le[ue][pe].physicalCard.addressType=void 0,le[ue].creditCard.physicalCard.addressId=void 0;const he=le[ue].lineId;e.customAddress[he]?.addressId!=null&&d(he,pe)}if(X.includes("physicalCard.addressType")){const pe=We(X.split(".")[2]),he=le[ue][pe].physicalCard;if(he[ra]==="card_holder_personal_address"){const He=he.user.selectedUser;if(He!=null){const za=e.userAddress[He];le[ue][pe].physicalCard.addressId=za.addressId}}else he[ra]==="company_address"&&(le[ue][pe].physicalCard.addressId=S?.addressId)}const Ra=qe(le);m(Ra)}})(H,A))});return()=>{T.unsubscribe()}});const Aa=ye.handleSubmit(()=>{if(Ta){const{lineInfo:T}=ye.getValues(),A=qe(T);m(A),U()}}),Oa=e.issueCardStatus.error?.message??ae.strings.empty,_a=e.issueCardStatus.error?.title??ae.strings.empty,Ue=E.useCallback(()=>{va(Q.current?.scrollTop??0),Math.abs(ve-ze)>100&&$a(ve),document.querySelectorAll(".cards-item").forEach((T,A)=>{const H=T.getBoundingClientRect();H.top>=0&&H.bottom<=window.innerHeight&&La(A),H.top<window.innerHeight&&H.bottom>0&&ja(A)})},[ve,ze]);E.useEffect(()=>{const T=Q.current;return T?.addEventListener("scroll",Ue),()=>{T?.removeEventListener("scroll",Ue)}},[Ue,Q]);const Me=e.localData;E.useEffect(()=>{if($e!==null){const T=Math.max(0,$e-2),A=$e+1,H=Me.slice(T,A);Ia(H)}},[$e,Sa,Me]);const Da=(Be=j,Ve=n,(ke=Pa).length===0?[{cardId:"1",cardType:wa(I,Be,L,c,Ve)==="debit_card"?"business_virtual_debit_card":"business_virtual_credit_card",cardUUID:"1",limit:{amount:0,currencyCode:ae.currency.currencyCode,currencySymbol:ae.currency.currencySymbol}}]:ke.map(T=>({cardId:T.lineId,cardType:T.chargeCardType==="credit_card"?T.creditCard.cardType:T.debitCard.cardType,cardUUID:T.lineId,limit:{amount:0,currencyCode:ae.currency.currencyCode,currencySymbol:ae.currency.currencySymbol}}))),Ee=!(P&&M)||N==="small";var ke,Be,Ve;return i.jsxs(cr,{windowSize:N,children:[N!=="small"?i.jsxs(nr,{children:[i.jsxs(yr,{children:[i.jsx(fr,{onClick:u,"data-testid":Ie("issue-card-nav-bar-zeni-logo")}),i.jsxs(xr,{showContent:g?.userEmailDomain==="zeni.ai",children:[i.jsx(wr,{}),i.jsx(vr,{children:C})]})]}),i.jsx(Fa,{cardArrProp:Da,insertFromTop:ve<ze,containerScale:1.2})]}):null,i.jsxs(or,{windowSize:N,children:[i.jsxs(pr,{windowSize:N,shouldShowTitle:Ee,children:[Ee&&i.jsx(ur,{windowSize:N,children:Pe.title}),i.jsx(hr,{windowSize:N,onClick:x,"data-testid":Ie("issue-card-nav-bar-close")})]}),i.jsxs(sr,{windowSize:N,ref:Q,children:[N!=="small"?i.jsx(mr,{ref:q,children:Pe.title}):null,e.issueCardStatus.fetchState==="Error"?i.jsxs(gr,{children:[i.jsx(Cr,{}),i.jsxs(br,{children:[i.jsx(ca,{style:{fontWeight:qa.medium},children:_a}),i.jsx(ca,{children:Oa})]})]}):null,i.jsx(Ma,{...ye,children:i.jsx("form",{id:sa(ta),onSubmit:Aa,children:i.jsx(ar,{issueChargeCards:e,issueCardSectionId:ya,cardHolderCandidates:r,userList:o,limit:V,creditLimitFrequency:p,allRoles:$,allAccountingClasses:y,getInitialLineFormData:xa,clearTentativeNameForLine:w,companyAddress:S,containerRef:Q,cardsSectionRef:v,openAddAddressDrawerHandler:f,isIssuePhysicalCardEnabled:z,isIssuePhysicalDebitCardEnabled:_,isDebitCardFeatureEnabled:j,isChargeCardFeatureEnabled:I,isChargeCardSetupEnabled:L,isDebitCardSetupEnabled:c,defaultCardType:n})})})]}),i.jsx(Ea,{style:{zIndex:1,padding:ne.footerTopPadding.valuePx(N)},formId:sa(ta),helperStyle:{paddingTop:a.sp0,paddingBottom:a.sp0},primaryBtn:{label:Pe.primaryBtnText,isLoading:e.issueCardStatus.fetchState==="In-Progress",style:{minWidth:110}},cancelBtn:{label:Pe.secondaryBtnText,onClick:x,style:{minWidth:110}},separatorStyle:{marginRight:a.sp4}})]})]})},sr=s.div`
|
|
437
437
|
padding-left: ${e=>ne.containerPaddingLeft.valuePx(e.windowSize)};
|
|
438
438
|
padding-right: ${e=>ne.containerPaddingRight.valuePx(e.windowSize)};
|
|
439
439
|
height: 100%;
|
|
@@ -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-CilRLucN.js";import{n as s}from"./mui-Ckdcx_YE.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-CilRLucN.js";import{n}from"./mui-Ckdcx_YE.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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as d,V as i,ed as n,c6 as o,o as l,b as r,x as b}from"./index-
|
|
1
|
+
import{e as d,V as i,ed as n,c6 as o,o as l,b as r,x as b}from"./index-CilRLucN.js";import{c,n as f}from"./mui-Ckdcx_YE.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="02efbaa2-54c3-4a52-8a05-326411ca4b16",e._sentryDebugIdIdentifier="sentry-dbid-02efbaa2-54c3-4a52-8a05-326411ca4b16")}catch{}})();const y={width:new b(343,580,726)};function u({label:e,checkBoxField:s,style:a}){const t=d();return i.jsxs(h,{size:t,style:a,isDisabled:s.isDisabled,"data-testid":r(s.name,"labeled-check-box-field"),isSelected:s.defaultChecked??!1,children:[i.jsx(n,{...s,style:{...s.style}}),i.jsx(o,{isDisabled:s.isDisabled,label:e.label,labelStyle:e.style,htmlFor:s.name,style:{display:"flex",flex:1,minHeight:l.sp4,marginLeft:l.sp2,width:e.width,backgroundColor:"inherit",...e.style}})]})}const h=f.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
flex-direction: row;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as z,cc as S,dX as D,V as o,c6 as E,x as u,f as g,o as l,m as t,y as O,e4 as V,b3 as C,d as P,b4 as h,em as T,a8 as N,l as B,w as y,b2 as H}from"./index-
|
|
1
|
+
import{e as z,cc as S,dX as D,V as o,c6 as E,x as u,f as g,o as l,m as t,y as O,e4 as V,b3 as C,d as P,b4 as h,em as T,a8 as N,l as B,w as y,b2 as H}from"./index-CilRLucN.js";import{n as a}from"./mui-Ckdcx_YE.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="46e60748-0233-4558-b000-da31134ff94d",e._sentryDebugIdIdentifier="sentry-dbid-46e60748-0233-4558-b000-da31134ff94d")}catch{}})();const A=({name:e,registerOptions:i,defaultValue:r,isDisabled:s,style:m,placeholder:b})=>{const{control:f,formState:{errors:c}}=S(),$=O(),x=D(c,e??""),_=d=>d.map(w=>(n=>({value:n.value,label:n.label}))(w)),L=d=>d.map(w=>(n=>{if(n!=null&&n)return{value:n,label:r.allOptions.find(v=>v.value===n)?.label??n}})(w)),I={container:d=>({...d,width:"100%",...m}),menu:d=>({...d,backgroundColor:$.colors.grey5,borderRadius:l.sp1,boxShadow:`${l.sp0} 2px ${l.sp2} ${$.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:10,width:"100%",margin:0}),menuList:d=>({...d,borderRadius:l.sp1})},F={hasError:x};return o.jsx(V,{name:e,control:f,defaultValue:r,rules:i,render:({field:{onChange:d,onBlur:w,value:n,ref:v}})=>o.jsx(C,{...F,ref:v,isMulti:!0,isSearchable:!0,isClearable:!0,controlShouldRenderValue:!0,placeholder:b,value:L(n.selectedOptions),options:_(n.allOptions),onChange:M=>{d({selectedOptions:M.map(R=>R?.value),allOptions:n.allOptions})},tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"multi-select-field",onBlur:w,menuPlacement:"auto",maxMenuHeight:210,menuShouldScrollIntoView:!1,closeMenuOnSelect:!1,components:{Control:G,Option:Y,Input:q,MultiValue:J,MultiValueLabel:K,MultiValueRemove:Q,ValueContainer:X,DropdownIndicator:ne,IndicatorSeparator:ae,Placeholder:W,ClearIndicator:U},hideSelectedOptions:!1,styles:I,isDisabled:s!=null})})},G=e=>{const{menuIsOpen:i,isFocused:r,isDisabled:s,selectProps:m}=e,{value:b,hasError:f}=m;return o.jsx(Z,{menuIsOpen:i,isFocused:r,isDisabled:s,optionsLen:b.length,hasError:f,children:o.jsx(h.Control,{...e,className:"select-control",children:e.children})})},X=e=>{const{selectProps:i}=e,{value:r}=i;return o.jsxs(h.ValueContainer,{...e,className:"select-value-container",children:[e.children,o.jsx(ee,{className:"selected-options",children:r.map(s=>s.label).join(", ")})]})},q=e=>{const{selectProps:i}=e,{placeholder:r,value:s}=i;return o.jsx(h.Input,{...e,autoComplete:"new-password",placeholder:s.length===0?r:void 0,children:e.children})},J=e=>o.jsx(h.MultiValue,{...e,children:e.children}),K=e=>{const{data:i}=e;return o.jsx(h.MultiValueLabel,{...e,children:i.label})},Q=e=>o.jsx(h.MultiValueRemove,{...e,children:o.jsx(j,{style:{marginTop:"2px"}})}),U=e=>o.jsx(h.ClearIndicator,{...e,children:o.jsx(j,{})}),W=()=>null,Y=e=>{const{isSelected:i,isDisabled:r,isFocused:s}=e;return o.jsx(oe,{isFocused:s,isSelected:i,isDisabled:r,children:o.jsx(h.Option,{...e,className:"select-option",children:o.jsxs(le,{children:[o.jsx(T,{...e.value.length===2?{countryCode2:e.value}:{countryCode3:e.value}}),o.jsx(re,{children:o.jsx(ie,{isSelected:i,isDisabled:r,children:e.label})}),i?o.jsxs(te,{children:[o.jsx(se,{className:"right-tick-icon"}),o.jsx(j,{className:"close-tick-icon"})]}):null]})})})},Z=a.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
background-color: ${e=>e.theme.colors.grey5};
|
|
4
4
|
cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as M,cc as R,dX as F,V as l,c6 as _,x,b as I,f as u,m as s,o as i,e4 as N,d as H,y as W,O as B,ej as G,ek as q,cM as X,bV as A,b4 as S,cq as J,db as K,w as k,b2 as Q,a8 as U}from"./index-
|
|
1
|
+
import{e as M,cc as R,dX as F,V as l,c6 as _,x,b as I,f as u,m as s,o as i,e4 as N,d as H,y as W,O as B,ej as G,ek as q,cM as X,bV as A,b4 as S,cq as J,db as K,w as k,b2 as Q,a8 as U}from"./index-CilRLucN.js";import{n as a}from"./mui-Ckdcx_YE.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]="3bebc611-483c-4fb0-aa4c-d815b465561d",e._sentryDebugIdIdentifier="sentry-dbid-3bebc611-483c-4fb0-aa4c-d815b465561d")}catch{}})();const Y=({allValues:e,selectedValue:o,name:r,onSelectedValueChanged:n,isDisabled:d,placeholder:p,isOptionRemovable:w=!0,addIconInCreateLabel:b,getLabelForId:m,tagProperties:f,hasError:j,style:c})=>{const $=W(),y=ye(e,m),C=B.getLocalizedStrings().dropDowns,O=y.sort((t,h)=>t.label.localeCompare(h.label)),v=o!=null&&o?P(o,m):void 0,z={container:t=>({...t,width:"100%",...c}),menu:t=>({...t,backgroundColor:$.colors.grey5,borderRadius:i.sp1,boxShadow:`${i.sp0} 2px ${i.sp2} ${$.colors.dropShadowHover}`,border:`1px solid ${$.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${i.sp0} ${i.sp0} ${i.sp0}`,overflow:"hidden"}),menuList:t=>({...t,borderRadius:i.sp1}),input:(t,{selectProps:h})=>({...t,":after":{width:h.inputValue.length>0?i.sp0:"unset"}})};return l.jsx(G,{isMulti:!1,onCreateOption:t=>{const h=q(t);n(h)},onChange:t=>{w!==!1&&t?.value!=null&&v?.value===t.value?n(void 0):n(t?.value)},formatCreateLabel:t=>b===!0?(h=>l.jsxs(ue,{children:[l.jsx(pe,{children:l.jsx(J,{fill:"currentColor",height:i.sp3,width:i.sp3})}),l.jsx(ge,{children:`${C.createOption} "${h}"`})]}))(t):`${C.otherOption} ${t}`,tabSelectsValue:!1,openMenuOnFocus:!0,"data-testid":I("creatable-single-select",r),classNamePrefix:"creatable-single-select-field",createOptionPosition:"last",allowCreateWhileLoading:!0,controlShouldRenderValue:!0,placeholder:p,menuPlacement:"auto",maxMenuHeight:288,defaultValue:v,value:v,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:t=>{const{menuIsOpen:h,isFocused:D,isDisabled:L,selectProps:E}=t,{value:T}=E;return l.jsx(te,{menuIsOpen:h,isFocused:D,isDisabled:L,selectedValue:T,hasError:j,"data-testid":I("creatable-single-select-control",r),children:l.jsx(S.Control,{...t,className:"select-control",children:t.children})})},Option:ie,Input:t=>{const{selectProps:h}=t,{placeholder:D,value:L}=h;return l.jsx(S.Input,{...t,autoComplete:"new-password",placeholder:L==null?D:void 0,"data-testid":I("creatable-single-select-input",r),children:t.children})},SingleValue:t=>l.jsx(fe,{children:l.jsxs(S.SingleValue,{...t,children:[t.selectProps.menuIsOpen===!1&&f!=null&&f.isTagShownForOption(t.data.value)===!0&&l.jsx(be,{children:l.jsx(me,{style:f.style,children:f.tagName})}),t.children]})}),ValueContainer:Z,DropdownIndicator:xe,IndicatorSeparator:we,ClearIndicator:$e,Placeholder:le,MenuList:ee},hideSelectedOptions:!1,styles:z,options:O,isClearable:!0,isSearchable:!0,isDisabled:d!=null},X())},Z=e=>l.jsx(S.ValueContainer,{...e,className:"select-value-container",children:e.children}),ee=e=>{const{options:o,children:r,maxHeight:n,getValue:d}=e,[p]=d(),w=40*o.indexOf(p);return l.jsx(A,{height:r.length>7?n:40*r.length,width:"100%",itemCount:r.length,itemSize:()=>40,initialScrollOffset:w,children:({index:b,style:m})=>l.jsx(ne,{style:m,children:r[b]})})},le=()=>null,ie=e=>{const{isSelected:o,isDisabled:r,isFocused:n,data:d}=e,p=typeof d.label=="string"?d.label:d.value;return l.jsx(oe,{isFocused:n,isSelected:o,isDisabled:r,children:l.jsx(S.Option,{...e,className:"select-option",children:l.jsxs(re,{"data-testid":I("creatable-single-select-option",p),children:[l.jsx(se,{children:l.jsx(ae,{isSelected:o,isDisabled:r,children:e.label})}),o?l.jsxs(de,{children:[l.jsx(ce,{className:"right-tick-icon"}),l.jsx(he,{className:"close-tick-icon"})]}):null]})})})},te=a.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
background-color: ${e=>e.theme.colors.grey5};
|
|
4
4
|
cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as O,cc as U,dX as g,V as r,c6 as W,x as t,el as j,O as N,b as k,m as i,o,f as _,d as A}from"./index-
|
|
1
|
+
import{e as O,cc as U,dX as g,V as r,c6 as W,x as t,el as j,O as N,b as k,m as i,o,f as _,d as A}from"./index-CilRLucN.js";import{n as d}from"./mui-Ckdcx_YE.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="49c59354-bb73-469f-a299-edf24d09c4aa",e._sentryDebugIdIdentifier="sentry-dbid-49c59354-bb73-469f-a299-edf24d09c4aa")}catch{}})();const a={width:new t(343,580,726),height:new t(i[6],i[6]),paddingTopBottom:new t(i[2],i[2]),marginRight:new t(i[2],i[2]),labelMarginLeft:new t(i[3],i[4]),labelMarginRight:new t(i[3],i[4]),labelMarginTop:new t(i[2],i[2])},V={infoLabel:new A("extraSmallRegular","smallRegular")};function J({label:e,isDisabled:l,isOptional:p,style:u,file:h,name:n,registerOptions:f,additionalInfoLabel:c,acceptableTypes:y,sizeLimit:x,filemetadataPayload:w,deleteFileStatusById:$,updateFileStatusById:z,filesEndPoint:P,authParams:E,hasError:v=!1,placeholderText:F,showPhotoPicker:I,useMobileCam:S,showUploadSuccessAnimation:T,showWebCamPopUpCloseIcon:D,updateFilesEntity:L,onDeleteFile:M,onEditFileName:R,onFileSizeError:B}){const s=O(),{formState:{errors:m}}=U(),b=g(m,n),C=g(m,`${n}.fileName`);return r.jsxs(q,{size:s,style:u,isDisabled:l!=null,"data-testid":k("document-field",n),children:[r.jsx(W,{isDisabled:l,label:e.label,isOptional:p,style:{marginLeft:a.labelMarginLeft.value(s),marginRight:a.labelMarginRight.value(s),marginTop:a.labelMarginTop.value(s),width:e.width??"auto",...e.style}}),r.jsxs(X,{labelWidth:e.width,size:s,children:[r.jsx(j,{name:n,filesEndPoint:P,authParams:E,registerOptions:f,file:h,sizeLimit:x,acceptableTypes:y,isDisabled:l==="disabled"||l==="readonly",filemetadataPayload:w,deleteFileStatusById:$,updateFileStatusById:z,hasError:v,updateFilesEntity:L,onFileSizeError:B,onDeleteFile:M,onEditFileName:R,placeholderText:F,showPhotoPicker:I,useMobileCam:S,showWebCamPopUpCloseIcon:D,showUploadSuccessAnimation:T}),b&&r.jsx(Y,{size:s,isError:b,children:C&&h!=null?N.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:c})]})]})}const q=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: ${e=>e.size==="small"?"column":"row"};
|
|
4
4
|
align-items: flex-start;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as C,y as V,cc as f,dX as P,V as r,o,e4 as R,
|
|
1
|
+
import{e as C,y as V,cc as f,dX as P,V as r,o,e4 as R,bm as _,w as O,fH as U,f as l,d as A,b2 as H}from"./index-CilRLucN.js";import{n as i}from"./mui-Ckdcx_YE.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="23e23566-5116-4963-9518-9a37d6cf38c0",e._sentryDebugIdIdentifier="sentry-dbid-23e23566-5116-4963-9518-9a37d6cf38c0")}catch{}})();const M={infoLabel:new A("extraSmallRegular","smallRegular")};function N({isDisabled:e,label:a,formattedText:s,dropdownStyle:b,style:m,additionalInfoLabel:y,showAdditionalInfoLabel:x=!0,isSaveError:d=!1,showTickIcon:w,showErrorInfoLabel:$,errorInfoLabel:L,registerOptions:D,defaultValue:p,isSelectDisabled:v,menuPlacement:j,name:k,placeholderLabel:E}){const n=C(),u=V(),{formState:{errors:I}}=f(),c=P(I,s.name),{control:S}=f(),T=t=>typeof t=="string"?t.toLocaleUpperCase():t.toString().toLocaleUpperCase();return r.jsxs(X,{size:n,style:m,isDisabled:e!=null,isError:c||d,children:[r.jsx(F,{windowSize:n,style:{width:a?.width??"auto",marginRight:o.sp2},children:r.jsx(G,{style:{width:"auto",...b},children:r.jsx(R,{name:k,control:S,defaultValue:p.dropDownValue,rules:D,render:({field:{value:t,onChange:z}})=>r.jsx(_,{pickerValues:p.dropDownList.map(g=>g.code),valueToLabel:T,selectedValue:t??void 0,isDisabled:e!=null||v,onPickerSelectionChanged:g=>{z(g)},menuPlacement:j,titleTextStyle:O.standardRegular,titleColor:u.colors.hero,valueOpacity:1,backgroundColor:u.colors.grey5,placeholder:E})})})}),r.jsxs(Y,{children:[r.jsx(U,{...s,style:s.style,isDisabled:s.isDisabled,isMasked:!0}),(x||c||d)&&r.jsxs(h,{size:n,isError:c||d,children:[w===!0?r.jsx(q,{children:r.jsx(B,{})}):null,y]}),$===!0&&r.jsx(h,{size:n,isError:!0,children:L})]})]})}const X=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: center;
|
|
@@ -22,15 +22,15 @@ import{e as C,y as V,cc as f,dX as P,V as r,o,e4 as R,bl as _,w as O,fH as U,f a
|
|
|
22
22
|
z-index: 1;
|
|
23
23
|
|
|
24
24
|
input {
|
|
25
|
-
background-color: ${e=>e.isError?
|
|
25
|
+
background-color: ${e=>e.isError?l.importantLight:e.theme.colors.background};
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
input {
|
|
29
|
-
background-color: ${e=>e.isError?
|
|
29
|
+
background-color: ${e=>e.isError?l.importantLight:e.theme.colors.grey5};
|
|
30
30
|
}
|
|
31
31
|
&:hover {
|
|
32
32
|
input {
|
|
33
|
-
background-color: ${e=>e.isDisabled===!0?e.theme.colors.grey5:e.isError?
|
|
33
|
+
background-color: ${e=>e.isDisabled===!0?e.theme.colors.grey5:e.isError?l.importantLight:e.theme.colors.background};
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
`,Y=i.div`
|
|
@@ -38,9 +38,9 @@ import{e as C,y as V,cc as f,dX as P,V as r,o,e4 as R,bl as _,w as O,fH as U,f a
|
|
|
38
38
|
flex-direction: column;
|
|
39
39
|
align-items: flex-end;
|
|
40
40
|
flex-grow: 1;
|
|
41
|
-
`,
|
|
41
|
+
`,h=i.label`
|
|
42
42
|
display: flex;
|
|
43
|
-
color: ${e=>e.isError?
|
|
43
|
+
color: ${e=>e.isError?l.important:e.theme.colors.grey1};
|
|
44
44
|
${e=>`${M.infoLabel.style(e.size)}`};
|
|
45
45
|
padding-right: ${o.sp3};
|
|
46
46
|
text-align: right;
|
|
@@ -51,7 +51,7 @@ import{e as C,y as V,cc as f,dX as P,V as r,o,e4 as R,bl as _,w as O,fH as U,f a
|
|
|
51
51
|
`,B=i(H)`
|
|
52
52
|
width: ${o.sp3};
|
|
53
53
|
height: ${o.sp3};
|
|
54
|
-
color: ${
|
|
54
|
+
color: ${l.successDark};
|
|
55
55
|
`,F=i.div`
|
|
56
56
|
display: flex;
|
|
57
57
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{cc as _,e as T,dX as W,O as K,V as r,e4 as U,eo as q,f as g,o,x as R,l as N,d as X,b2 as B,
|
|
1
|
+
import{cc as _,e as T,dX as W,O as K,V as r,e4 as U,eo as q,f as g,o,x as R,l as N,d as X,b2 as B,bw as G,m as C,W as H,au as M,w as J,ep as Q,a8 as P,co as Y,ah as Z}from"./index-CilRLucN.js";import{a as E,b as F}from"./sentry-D-LCra2M.js";import{n as t}from"./mui-Ckdcx_YE.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="b76bf508-429c-4990-8e9d-0c1da375b1cc",e._sentryDebugIdIdentifier="sentry-dbid-b76bf508-429c-4990-8e9d-0c1da375b1cc")}catch{}})();const ee=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
padding: ${o.sp1} ${o.sp2};
|
package/dist/assets/{LabeledNameField-DZJXGYR9-BrTXKAba.js → LabeledNameField-BpfxLnfN-Dp4_3qSf.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as F,cc as T,dX as k,eo as N,V as o,c6 as R,x as n,f as a,m as r,k as C,o as d,d as M,w as P,au as W,ep as S}from"./index-
|
|
1
|
+
import{e as F,cc as T,dX as k,eo as N,V as o,c6 as R,x as n,f as a,m as r,k as C,o as d,d as M,w as P,au as W,ep as S}from"./index-CilRLucN.js";import{n as c}from"./mui-Ckdcx_YE.js";import{a as _}from"./sentry-D-LCra2M.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]="40cde576-2e8b-4ed6-8375-6d7f91149db7",e._sentryDebugIdIdentifier="sentry-dbid-40cde576-2e8b-4ed6-8375-6d7f91149db7")}catch{}})();function B({name:e,placeHolder:t,autoComplete:l="off",defaultValue:f,isDisabled:y,showFullNameError:x,style:i,registerOptions:h}){const[b,m]=_.useState(!1),{register:g,getValues:$,formState:{errors:w}}=T(),u=y==="disabled"||y==="readonly",v=Object.assign({},h),j=$(e),E=[j?.firstName,j?.lastName].join(" ").trim(),L=k(w,e)&&N(w,`${e}.firstName`)!=null,D=k(w,e)&&N(w,`${e}.lastName`)!=null,p=!(x===!0&&(L||D))&&b===!1;return o.jsx(C,{onClickAway:()=>u===!1&&m(!1),children:o.jsx(H,{style:i,isDisabled:u,tabIndex:u?void 0:0,onClick:()=>u===!1&&m(!0),children:o.jsxs(o.Fragment,{children:[E.length>0?o.jsx(z,{className:"name-field",isVisible:p,children:E}):o.jsx(z,{className:"name-field name-placeholder",isVisible:p,children:t?.name}),o.jsx(V,{placeholder:t?.firstName,type:void 0,isError:L,style:{...i,maxWidth:"100%"},disabled:u,...g(`${e}.firstName`,v),id:e,defaultValue:f?.firstName,autoComplete:l,isVisible:!p}),p?null:o.jsx(A,{}),o.jsx(V,{placeholder:t?.lastName,type:void 0,isError:D,style:{...i,maxWidth:"100%"},disabled:u,...g(`${e}.lastName`,v),id:e,defaultValue:f?.lastName,autoComplete:l,isVisible:!p})]})})})}const H=c.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
justify-content: flex-end;
|