@zeniai/web-cockpit-ui 1.15.17-dev → 1.15.18-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-cAgIhKJs-bGTsqigs.js → ACHDetailsPage-BrjUad4D-BobK3aVB.js} +1 -1
- package/dist/assets/{AIPerformancePage-BPwI4kZG-BTP4khzH.js → AIPerformancePage-Dx1ituql-CUuKvJ8n.js} +16 -16
- package/dist/assets/AccountInfoPage-BGcQ2kEJ-awOqo-nC.js +18 -0
- package/dist/assets/{AccountInfoPageContent-CIjrqt8Z-xcHih_xf.js → AccountInfoPageContent-BQxwZcii-DAnRLliM.js} +14 -14
- package/dist/assets/{AccountLockedInfoModal-b0SYt4cr-DyDb_wyO.js → AccountLockedInfoModal-Q_WY8V5e-CDYJtJV8.js} +3 -3
- package/dist/assets/{AccountReconDetailsDrawerPage-CEjWEa01-aoYQi4ku.js → AccountReconDetailsDrawerPage-DuI7qAkr-CohDb_Vn.js} +25 -25
- package/dist/assets/{AccountRow-C9lnDVNf-86hTjbuw.js → AccountRow-D3aEGfjh-CGXQQRag.js} +11 -11
- package/dist/assets/{AccountsPromoCardStack-hzApdgeN-DUJB0-p0.js → AccountsPromoCardStack-BrTIGRUz-SlTiOsFA.js} +23 -23
- package/dist/assets/AddAddressForCardDrawer-D12dN-9m-CqdZIDlk.js +6 -0
- package/dist/assets/{AddToWalletPage-CgCHdO6c-CiVYqd0C.js → AddToWalletPage-DWMdtsY0-CgmcM53j.js} +24 -24
- package/dist/assets/{AgingReportsPage-B0NKfFq5-Bk4x7HpE.js → AgingReportsPage-CeFWs8X1-rGaFbgkD.js} +1 -1
- package/dist/assets/{AllUserItems-D6uMCcjF-CS_wO3mh.js → AllUserItems-PN_oWzOC-Cfg4W7I4.js} +8 -8
- package/dist/assets/{ApAgingDetailPage-CxS9o2Dj-B1fPZ2rF.js → ApAgingDetailPage-CQtY9j4b-xFY56tWP.js} +5 -5
- package/dist/assets/{AppBasePage-BnfCjFJA-CQeMBbMI.js → AppBasePage-D0S7OYzO-CJcI9UYp.js} +13 -13
- package/dist/assets/{AppDrawerContent-CwBFjBnr-CKjzuecx.js → AppDrawerContent-TIRPcJoE-BOUb6qnD.js} +6 -6
- package/dist/assets/ApprovalRulesSettingsPage-CosIHJ5R-BB8nW0VM.js +47 -0
- package/dist/assets/{ArAgingChart-6qcRcKoz-MYhKnyKG.js → ArAgingChart-CiNirxU7-C_J23wNp.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-DmUWtQsX-KXzejd7L.js → ArAgingDetailPage-CKBOlCcF-B9yZn5Tp.js} +5 -5
- package/dist/assets/{AttachmentView-B0oZITps-CNLEqH0L.js → AttachmentView-MqDuu6PB-C1zlk39q.js} +6 -6
- package/dist/assets/{BankAccountSection-C8G2PrLh-OgTv2VaB.js → BankAccountSection-DXFRyqzV-Bg8zqqhX.js} +5 -5
- package/dist/assets/{BankAccountWarningSection--DkXEMWU-jfcY3ZKV.js → BankAccountWarningSection-DJhHTBuh-D20FRc-x.js} +3 -3
- package/dist/assets/{BankConnectionsSettingsPage-DmzolLyN-BNSTT_VR.js → BankConnectionsSettingsPage-CQe2upIp-Cv47vnoF.js} +26 -26
- package/dist/assets/{BillDetailPage-BuCOe4eB-DBZDvMBw.js → BillDetailPage-B0ajOYxz-CTy3XK0i.js} +10 -10
- package/dist/assets/{BillPayApprovalRuleDetailPage-y3qBdiwE-CP9uLqPK.js → BillPayApprovalRuleDetailPage-BcWQYqjU-CZdskYSr.js} +4 -4
- package/dist/assets/{BillPayApprovalRulesPage-DpN3O_Q1-ILVegrck.js → BillPayApprovalRulesPage-mS00kg1n-C05g3Cpf.js} +14 -14
- package/dist/assets/{BillPayPromoPage-Dcly8epm-DNaDxuq-.js → BillPayPromoPage-tUxWWqMY-t6w7JDnT.js} +10 -10
- package/dist/assets/{BillPaySetUpPage-zxd0WLUm-CL6S_QEz.js → BillPaySetUpPage-w47HuYkp-CbWSaNcn.js} +2 -2
- package/dist/assets/BillingSettingsPage-Bsm7ZzIW-BChNCOOo.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-gK7xRoiE-B9WwX7Kq.js → BillsBulkReviewDrawerPage-DdI0OCuE-DjrQvH-7.js} +1 -1
- package/dist/assets/BoxItem-BGrgQ_sW-cYQcyKu_.js +53 -0
- package/dist/assets/BusinessVerificationPage-p1cUyL8l-DeaLZxZn.js +138 -0
- package/dist/assets/{CardNumberSubText-CHr49_cJ-9Ya6XjXp.js → CardNumberSubText-yVfOUJpr-DRIDUYcf.js} +8 -8
- package/dist/assets/{CashbackDetailPage-BNHzTYwa-BdAtNCNi.js → CashbackDetailPage-DAX8aTFq-CX_nfeg0.js} +9 -9
- package/dist/assets/{ChargeCardDetailPage-DWyRrPSy-BvyyNVxe.js → ChargeCardDetailPage-CTdVu2LX-CXvKoTcM.js} +35 -35
- package/dist/assets/{ChargeCardListPage-D3nBV6Fu-DfN7aWAo.js → ChargeCardListPage-BTf2sf_r-BIeWCtwJ.js} +1 -1
- package/dist/assets/{ChargeCardListTable-DBYEXr_N-7b006WJ7.js → ChargeCardListTable-DEYusOGZ-BR9KGK-S.js} +40 -40
- package/dist/assets/{ChargeCardPaymentHistoryPage-BEvuS2te-BxwCFTIZ.js → ChargeCardPaymentHistoryPage-BhIiSigy-CmcVMykk.js} +40 -40
- package/dist/assets/ChargeCardPromoPage-SMg6Bkmx-BIBCjTA5.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-BgBF1U8E-DnPnCE_j.js → ChargeCardSetupPage-8jA-EjWA-SUTAHgR8.js} +6 -6
- package/dist/assets/{ChargeCardStatementsPage-UttZjyIb-CinG3Yr4.js → ChargeCardStatementsPage-CrsqrTNw-cq-ohGFk.js} +5 -5
- package/dist/assets/{CheckDepositDrawerPage-sXY6MJoX-BBStJHqh.js → CheckDepositDrawerPage-BnMEa1gU-D4KA1YbO.js} +21 -21
- package/dist/assets/{CollapsableReportTable-3luMEAJg-BroWF-FL.js → CollapsableReportTable-BQsDuqwg-D4PksJ7s.js} +60 -60
- package/dist/assets/CompanyOfficerDetailsSection-CxeWrQJH-XfC5iWX1.js +260 -0
- package/dist/assets/{CompanyPassportCard-FgYHweiL-B5gr1lJ_.js → CompanyPassportCard-DUX32IvW-wDP-ayWY.js} +3 -3
- package/dist/assets/CompanyPassportPage-Cp0oulai-BQFU8qYi.js +574 -0
- package/dist/assets/{CompleteProfile-6pDQ6JjU-C7odNMQ5.js → CompleteProfile-BdeEu2dc-DABogw0l.js} +3 -3
- package/dist/assets/ConfettiBurst-C1IgWBaA-CL1o9dY6.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-CbQ77GJr.js → ConstrainedInnerElement-BeIpAPjB-Cr0pUg_S.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-DMWtQ3qU-Bg7OoiTt.js → CreateOrEditVendorPage-iFE1nb0J-tpGth2AK.js} +12 -12
- package/dist/assets/{CreditCardPaymentDrawerPage-OzD38_F8-B8JNfyMQ.js → CreditCardPaymentDrawerPage-CaTanv1T-DKlglNsr.js} +15 -15
- package/dist/assets/{CurrencySelectField-DL4q5vKR-DqpW0Wz5.js → CurrencySelectField-BNcLy0zv-DUL30Rmr.js} +3 -3
- package/dist/assets/{CustomerOnboardingActivationPage-C8mciX-r-B9Cshw5r.js → CustomerOnboardingActivationPage-D_0kSaYs-DmoaOtfG.js} +3 -3
- package/dist/assets/CustomerOnboardingContainerPage-YZ4WpsDD-CT9Ps13n.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-Nl6SOtES-B3qnBN4d.js → CustomerOnboardingDetailPageSkeleton-B1jJ1XJX-Ec31gEaK.js} +13 -13
- package/dist/assets/CustomerOnboardingNoStepsPage-CyxHQxxQ-B3uyPHi-.js +66 -0
- package/dist/assets/CustomerOnboardingPage-Cj_k0rfN-dr4fZ7As.js +107 -0
- package/dist/assets/{CustomerOnboardingProductSuitePage-BYC_Sp__-B35TL-cQ.js → CustomerOnboardingProductSuitePage-BPRN6xyM-BLvLQxxG.js} +10 -10
- package/dist/assets/{Dashboard-DAP7UzjW-DBsJoK5k.js → Dashboard-DYpE_H2b-WMqZzzuP.js} +1 -1
- package/dist/assets/{DashboardReportPage-iAA_QiN2-BfmuWrMe.js → DashboardReportPage-BB6dW8kR-BVA8DQgX.js} +10 -10
- package/dist/assets/{DashboardSidebarBackgroundAnimation-CIKwGufL-B4WWY8cX.js → DashboardSidebarBackgroundAnimation-DDLCSC57-BJ_WASPh.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-D3x1jhKt-DssCTMB7.js → DepositAccTransactionItem-CxXM_Pse-aMnsSeAe.js} +6 -6
- package/dist/assets/DepositAccTransactionListPage-flz5jtjj-Tj1qKkuc.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-DHUzdqCs-CeJMtDxo.js → DomesticWireDetailsPage-CswDexXc-CwmUyTco.js} +1 -1
- package/dist/assets/{DownloadOverlay-C8byijvE-DCI_09Q4.js → DownloadOverlay-Ck84lTok-DoSlSguE.js} +1 -1
- package/dist/assets/{DrawerPage-DMQ5MoIw-BlXGV-xV.js → DrawerPage-Ctqr9Qke-DbWbSJy7.js} +9 -9
- package/dist/assets/EditPeoplePage-BiGeDyr0-BP5iQ9eS.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-STVvYnku-Dyx2Oikb.js → EditReimbursementDetailPage-DHIg51AQ-Du0u5yPi.js} +37 -37
- package/dist/assets/{EntityDetailPage-20BKV_TK-B5sqJOYK.js → EntityDetailPage-BsCWH1Al-WFaE0WQF.js} +1 -1
- package/dist/assets/{EntitySummarySection-6JSSyIPA-K01fPehF.js → EntitySummarySection-ntuao-VM-fobvDD6S.js} +23 -23
- package/dist/assets/{ExpenseAutomationOverviewPage-DpoYnwJh-DSAhakn4.js → ExpenseAutomationOverviewPage-lptxncga-rbFk8U51.js} +14 -14
- package/dist/assets/{ExpenseAutomationPage--kONBcsX-DlY4RThk.js → ExpenseAutomationPage-S1iaOuA5-DRC_L2v_.js} +53 -53
- package/dist/assets/{ExpressPayPage-a31-5Bgz-B-4aw0li.js → ExpressPayPage-3UaLqRo7-BW2LLrbf.js} +14 -14
- package/dist/assets/{FeaturePreviewPage-z8BJQeL--ChibcOOA.js → FeaturePreviewPage-CLHp1LHp-eKI7eeEH.js} +1 -1
- package/dist/assets/{FollowStepsSection-Bl933px0-DXKlKasr.js → FollowStepsSection-BY0dw_SN-iqWfg0Bg.js} +23 -23
- package/dist/assets/{GlobalReviewListPage-BLPF3T4t-0m0mv8R4.js → GlobalReviewListPage-CltHFSzG-CQET8EIq.js} +11 -11
- package/dist/assets/{InformationCardStack-BTWe4X6t-DdN7cWvp.js → InformationCardStack-CVoS_Bni-DRMXWlfL.js} +4 -4
- package/dist/assets/{InsightsCardStack-CoSz_FKI-xRb_a3yi.js → InsightsCardStack-YcKupOZZ-BYS9QdSX.js} +10 -10
- package/dist/assets/{InsightsSection-DEnkGYD8-BV7sZQsr.js → InsightsSection-BuCEgcAh-DX4KP6Gi.js} +8 -8
- package/dist/assets/{IntegrationsSettingsPage-CEaBjt99-Do0dnq5V.js → IntegrationsSettingsPage-r_VwvwxS-D2fIzpgb.js} +6 -6
- package/dist/assets/{InternationalWireSwiftDetailsPage-C1i-ujyZ-DIPsBga8.js → InternationalWireSwiftDetailsPage-B2x6g-rb-BG86r2Q_.js} +14 -14
- package/dist/assets/InternationalWireVerificationPage-B-sxkGbq-BzbYdtzf.js +292 -0
- package/dist/assets/{InviteFormPage-B2Rl23Qb-D49rnAc4.js → InviteFormPage-CrFWGpJE-DomTNTMP.js} +23 -23
- package/dist/assets/{InvitePageListView-E_2j_tF7-BsS6FATD.js → InvitePageListView-BsGwCg5B-DlrJVwFE.js} +39 -39
- package/dist/assets/InvitePeoplePage-D0-MjKb2-B1ShEIts.js +12 -0
- package/dist/assets/{InvoiceUploadSection-drGgAU5w-CP2A3IhR.js → InvoiceUploadSection-BUF7Ko_U-1xPxHQJp.js} +8 -8
- package/dist/assets/{IssueChargeCardPage-Cj6pmQbt-DDVdjZ4v.js → IssueChargeCardPage-D5sn5jt4-BWcpzIYT.js} +19 -19
- package/dist/assets/{LabeledAddressValue-BjCojNni-CsHQb5xA.js → LabeledAddressValue-Ds1BeyG_-FoXd8L7U.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-DyHTdGlm-CErilABA.js → LabeledAddressValueField-D_Ztmm7--tsnB0bq1.js} +4 -4
- package/dist/assets/{LabeledControlledCheckBoxField-B5Csu2og-C5h8CQSb.js → LabeledControlledCheckBoxField-DGV1Bz6o-CCbHpDl4.js} +2 -2
- package/dist/assets/{LabeledCreatableSingleSelectField-C-dLOvWU-28KwULO3.js → LabeledCreatableSingleSelectField-CTmUlcyk-Dx11AHn5.js} +4 -8
- package/dist/assets/LabeledDocumentField-BwHjf12U-ti56UUdB.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-DHx90GON-Rl0wOSQX.js → LabeledDropDownFormattedTextField-BaAHosJI-CDWZK3Xu.js} +1 -1
- package/dist/assets/{LabeledText-CRJr2zA8-DRZ423PA.js → LabeledText-CVYTNBOt-LIAQJcbl.js} +5 -5
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CM0HeG1R-pTmkakCa.js → LabeledUserSingleSelectWithSubtitlesField-CnK0wLL0-CdsEapB3.js} +16 -16
- package/dist/assets/{LabeledZeniRolesDropDownField-CR8M-X5s-DPGEl74a.js → LabeledZeniRolesDropDownField-B2eu9WQ_-CXTTkytl.js} +20 -20
- package/dist/assets/{LinkJETransactionPage-DfY5sKBg-BKNhXIRx.js → LinkJETransactionPage-DTU4Piv4-CzTizu8e.js} +14 -14
- package/dist/assets/{LockCardPage-CgCv-EKl-CipF6lcu.js → LockCardPage-9rnmj-hG-Dgtzvq-m.js} +49 -49
- package/dist/assets/{LowBalancePopup-OUWtUPdo-DRkjFCjE.js → LowBalancePopup-CCl7fzh9-CRJeCFG3.js} +3 -3
- package/dist/assets/MagicLinkACHDetailsPage-B5oowluv-pi_Q89s3.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BohAWQ_F-BBgkEcbM.js +1 -0
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-B9u7g87s-YokU7IH5.js → MagicLinkInternationalWireDetailsPage-CRx-EIj--rUZQXW3V.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-BwN3dPJM-CQeiTIkx.js → MagicLinkSuccessPage-q5XLFFKd-IcgduK3D.js} +3 -3
- package/dist/assets/{MagicLinkTitleSection-C_Xng7ad-D4iutPsA.js → MagicLinkTitleSection-ClWFjqQr-B7_1AUkD.js} +4 -4
- package/dist/assets/{MailingDetailsSection-Dmq45H_s-CjyySHTi.js → MailingDetailsSection-Dle_aLif-C9MEuFNg.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-CNUaVzw3-CZkaA3pm.js → MyBankConnectionsSettingsPage-BC47a22v-9PSEA4Wu.js} +12 -12
- package/dist/assets/MyPendingActivationChargeCardListPage-BJ_kQQGd-lBfLcXgn.js +6 -0
- package/dist/assets/{MyProfileSettingsPage-DdlCBRiN-BYlOj9no.js → MyProfileSettingsPage-C70z69ea-CMxdjCdW.js} +9 -9
- package/dist/assets/{NavBarWithPicker-Cx9v8jpk-DJ52ZXJM.js → NavBarWithPicker-CRQ9DzK7-Cs0J7mYU.js} +4 -4
- package/dist/assets/{NavigationArrow-CNO4O4XS-DUm9WGAp.js → NavigationArrow-CWRgkV1y-5nUqXc-t.js} +1 -1
- package/dist/assets/{NavigationDots-BX9DbCj7-RHGokei7.js → NavigationDots-BDKBgUe6-CeOovYs1.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-Bo_ZeDQH-CgpotWIt.js → NewGlobalMerchantPage-B_mViG5F-TkGICDRh.js} +13 -13
- package/dist/assets/{NoDataChart-JfED3unL-jJumSwoX.js → NoDataChart-CJyaj_wD-Ceo15OJ6.js} +1 -1
- package/dist/assets/{NoDataTable-BFpO3ZtS-ubjUd8M_.js → NoDataTable-BroHHbsa-C2KBPOR3.js} +1 -1
- package/dist/assets/{NotFoundPage-D_HhIdYv-DyNtigHQ.js → NotFoundPage-B-CdwYLM-04zajBZ5.js} +10 -10
- package/dist/assets/{NotificationSettingsPage-B2d-vPIZ-WS4EaJDB.js → NotificationSettingsPage-DrMp-0h0-CNJC7C_o.js} +33 -33
- package/dist/assets/{NotificationsListConfig-C4LF_8h1-ojY4Mfu-.js → NotificationsListConfig-Cl713fZg-qRofkxh7.js} +1 -1
- package/dist/assets/{NotificationsPage-7HqRmokr-0AvCCTrK.js → NotificationsPage-Dh4xulau-_5iAw31w.js} +1 -1
- package/dist/assets/{OpExByVendorPage-CwD1U9q_-idpf-eH0.js → OpExByVendorPage-BslfnDh3-53j8zSVl.js} +1 -1
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-D2c2jURk.js → OverlayContainerPage-D4QU0p4o-CW30kf30.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-CRkDr0QK-D1powlVT.js → PandLWithForecastPage-BYnaGvO3-Bs93z5El.js} +1 -1
- package/dist/assets/PaymentAccountSetupBillingAddressSection-CR6xX1bB-BwbAQyjl.js +107 -0
- package/dist/assets/{PeoplePage-D5eQETB2-DZx25X-Y.js → PeoplePage-BRC7-Yol-C9rira3P.js} +18 -18
- package/dist/assets/{Preview-Bfns_dDG.js → Preview-BY6UeCTa.js} +1 -1
- package/dist/assets/{ProductsCarousel-BXPXaIWg-Av-oVPlG.js → ProductsCarousel-BgltUKwq-Dj-tP9zJ.js} +1 -1
- package/dist/assets/{PromoBaseCards-C-S0ckZq-DcP7gArA.js → PromoBaseCards-DMleWayu-BFTkh-l1.js} +2 -2
- package/dist/assets/{QBOConnectionDialog-qqbamtpL-BeJJQ440.js → QBOConnectionDialog-BSKkJDPD-CJILPjk5.js} +6 -6
- package/dist/assets/{QBOSetupSection-CZu_mtMP-CZBINdYC.js → QBOSetupSection-YQ4TKOTA-B5TQNN0G.js} +13 -13
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-BE-QC1b0-CvaYArLZ.js → ReimbursementApprovalRuleDetailPage-BFxCrrVt-CFZDA3-E.js} +3 -3
- package/dist/assets/{ReimbursementApprovalRulesPage-CXbYB3Y5-Cbew60RV.js → ReimbursementApprovalRulesPage-DQDbyY1K-B5lF3vkz.js} +6 -6
- package/dist/assets/{ReimbursementDetailPage-DXMDyCop-DlZGIADX.js → ReimbursementDetailPage-gAg8C98b-DuQNQ-y5.js} +8 -8
- package/dist/assets/{ReimbursementPromoPage-DGXHkiBN-DLifue2f.js → ReimbursementPromoPage-DtKtr2rP-C8cL3Mv7.js} +11 -11
- package/dist/assets/{ReimbursementSetUpPage-Dd1iGv5X-C_E7fz-A.js → ReimbursementSetUpPage-BdUoR2HM-CIGHv-6r.js} +15 -15
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-D46qP31Q-DT9YskKf.js → ReimbursementsBulkReviewDrawerPage-BL6oI4fi-DUFvxQjQ.js} +1 -1
- package/dist/assets/{ReloadCard-BJke_yPt-D_L8D7X-.js → ReloadCard-B3OtOvVI-DVK4TeBa.js} +6 -6
- package/dist/assets/{ReportTableViewSelector-DiYnlME4-BJ1-sTjo.js → ReportTableViewSelector-Cmv2xs7h-CJ6mu-Rp.js} +28 -28
- package/dist/assets/{ReportsPage-bmKftmYF-NgXuxPpu.js → ReportsPage-SWC6uIs--DupC08g-.js} +1 -1
- package/dist/assets/{RevenueChart-DjTdsbym-CUUEbo6t.js → RevenueChart-CZlAswBG-DPlV94YS.js} +14 -14
- package/dist/assets/{ReviewDetailsPage-NFOdusAU-CVH2L4to.js → ReviewDetailsPage-BW3pZ3ws-BH9zDrcw.js} +20 -20
- package/dist/assets/{ReviewOverlay-Q8tlLMbm-BLu76gBy.js → ReviewOverlay-BhFwGG6t-C0m5jD2s.js} +14 -14
- package/dist/assets/RoleWithToolTip-D74SWfZd-B2mOCrt1.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CpjdnINH-Dzwzq8FX.js → ScheduleDetailsFixedAssetsPage-CdmehDsJ-Dd48HqBm.js} +13 -13
- package/dist/assets/{ScheduleDetailsPage-DVnetdnH-DhMiGzx8.js → ScheduleDetailsPage-DA1eGkzI-a0yDswoo.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-rJ0jC94w-DDWgbE_4.js → ScheduleSequenceTable-BvGIwZmi-Br-m9rdL.js} +25 -25
- package/dist/assets/{ScreenRoutes-0NyWgCAY.js → ScreenRoutes-D3PxnqOE.js} +1 -1
- package/dist/assets/{SetUpAccountSection-BCoHzvyG-CzNKWW7X.js → SetUpAccountSection-DM4CvIFN-CPQ8K94t.js} +7 -7
- package/dist/assets/{SignIn-k3DDmpFU-BAnREigf.js → SignIn-DU3HuwJr-CXMwOpi4.js} +26 -26
- package/dist/assets/SignInScreen-PoBHP4-4.js +1 -0
- package/dist/assets/{SpendManagementListViewPage-DCfMKXfi-BWeN8ijV.js → SpendManagementListViewPage-VR4dPKBw-DHyDM03E.js} +11 -11
- package/dist/assets/{SpendManagementPerTabPage-Hv3QMqv0-CTD5vH6J.js → SpendManagementPerTabPage-CdYRrtcC-DFgavPhh.js} +27 -27
- package/dist/assets/{SpendManagementSection-BRp2eDfv-DVKGvM7g.js → SpendManagementSection-C2Uw6UXF-BRw2L3H1.js} +7 -7
- package/dist/assets/StatementItem-CS0N92J0-BsnAviIB.js +31 -0
- package/dist/assets/StatementsPage-DL8W4WLu-BH9E8ATR.js +58 -0
- package/dist/assets/{StatusSwitcher-B5nSXHv6-DTMRsMtw.js → StatusSwitcher-RY35Qzlp-DPptYPVp.js} +1 -1
- package/dist/assets/{SubTabSwitcher-BPSCR7GS-CQQ30d6t.js → SubTabSwitcher-CIhSt1_V-BGyVDCoP.js} +3 -3
- package/dist/assets/{SummaryCard-DdYMAiws-C4w7QxN_.js → SummaryCard-iIQISRZL-Cx0NyzVM.js} +1 -1
- package/dist/assets/{TaskManagementPage-9OEooDk9-BnhlYqUu.js → TaskManagementPage-CCC1QlZS-BHBkMyad.js} +30 -30
- package/dist/assets/{TimeRangeSwitcher-BG9h3Mws-BXPl7KzE.js → TimeRangeSwitcher-BIA3BW1g-Bty5Ch9x.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-BlkN2ln5-CbPVM8iC.js → TimeframeSwitcher-BhV0yrj0-CbCl4A9y.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-r8YzbhCn-DALUFB9M.js → TimeframeSwitcherWithToggle-CIAZXHb2-orP1uTMH.js} +2 -2
- package/dist/assets/{TopExCard-CDAkgH2B-DQW-zWxw.js → TopExCard-CPsxq74q-662cwF8z.js} +4 -4
- package/dist/assets/{TopExDetailPage-BN9IdTkO-DE8PmHT3.js → TopExDetailPage-BGoq66Fs-0PJ8BVQb.js} +9 -9
- package/dist/assets/{TransactionActivityLogPage-CTl6Lo3h-Dr0PqgiK.js → TransactionActivityLogPage-BW-qVpWu-D-8WEz2X.js} +12 -12
- package/dist/assets/{TransactionDetailPage-DSR3itvE-B47s770o.js → TransactionDetailPage-D0tW8GIH-C00b9e62.js} +35 -35
- package/dist/assets/{TransactionList-wLBz-A1j-R5pqCBUj.js → TransactionList-T8gAOJc0-Dw9G55NV.js} +5 -5
- package/dist/assets/{TransactionListBig-BA00B8Vn-B52eXfHk.js → TransactionListBig-CMjxUKt2-BhSVq9fm.js} +7 -7
- package/dist/assets/{TransactionListPage-Dyi4SMpD-Bm97EAJv.js → TransactionListPage-Bx6qszUl-B-5CDbC_.js} +2 -2
- package/dist/assets/{TransactionVendorDetailPage-6HbXn17w-COo-5ffY.js → TransactionVendorDetailPage-Ca7bgryb-CmVBYko3.js} +16 -16
- package/dist/assets/{TransferDrawerPage-GnqDJJ7x-u45NHhBy.js → TransferDrawerPage-DG6q94Ch-Cqord4XL.js} +28 -28
- package/dist/assets/{TreasuryOverviewPage-7s3XhxYc-CoT8RYIQ.js → TreasuryOverviewPage-YNlUL3px-B_35sSeA.js} +32 -32
- package/dist/assets/{TreasuryPromoPage-DFnHMTJ--CP3RuQCD.js → TreasuryPromoPage-CBSYXvme-DpMWnl6i.js} +8 -8
- package/dist/assets/{TreasuryStatementsPage-BdUYirAC-Duwk2wsH.js → TreasuryStatementsPage-D0YaCwv3-PNzj_mHV.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-fX08Nflm-B-GslDLQ.js → TreasuryTaxLetterPage-Bln01PPe-DpJfleJK.js} +1 -1
- package/dist/assets/{TrendChart-mamZxFEf-DPlJCKYL.js → TrendChart-DjKmnpsm-CS6VXx1C.js} +1 -1
- package/dist/assets/{TrendWithTransactions-fGuXIDf7-HyuIbA66.js → TrendWithTransactions-D2CSrQJG-DdbpQrSL.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-FPf4YpN2-Cp3ASbXZ.js → UncategorizedAccountsMappingPage-BhgJFJvY-Cs1YOJIy.js} +15 -15
- package/dist/assets/{UnitIntegrationPage-BcIYQ6E_-B6tBJIS1.js → UnitIntegrationPage-CtNIGtOS-DZq9w7mC.js} +7 -7
- package/dist/assets/{UploadAdditionalDocumentOverlay-CFiPe--u-DrxhGkyT.js → UploadAdditionalDocumentOverlay-D44jXTDW-DwZWfezE.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-BreN6fS3-FjXbhU9D.js → Vendor2FAPopup-BogFaSYy-BlnTHqfY.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-Di9QJ0hA-BNrZk8u_.js +1 -0
- package/dist/assets/{VendorDetailPage-DXKn3qSR-Di8ThCGh.js → VendorDetailPage-DRr5ci0V-Du2p3ojh.js} +86 -86
- package/dist/assets/{VendorDomesticWireDetailsPage-7m-21BIT-BVTn5C6b.js → VendorDomesticWireDetailsPage-DCdG-eGI-IQvY9pai.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-D5jPoLoj-DhLrefqh.js → VendorFiling1099EditablePage-C6mptSEx-B_hdSwqB.js} +14 -14
- package/dist/assets/{VendorFirstReviewPage-Bxj_Far6-DOA9lu2j.js → VendorFirstReviewPage-CLBTSreq-DCVG1u2-.js} +33 -33
- package/dist/assets/{VendorInternationalWireDetailsPage-DCdiiuBR-D9OAEuuJ.js → VendorInternationalWireDetailsPage-oMdWj41X-CmZF5xAN.js} +10 -10
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CM2bFEbE-B7IN2oYH.js +1 -0
- package/dist/assets/{VendorsAccountsSection-BYkKSsB8-BmGLfX_G.js → VendorsAccountsSection-Cr_m8Jyi-CiH59Azu.js} +2 -2
- package/dist/assets/{VerifyDevice-DxoL8hYf-Cowpahhc.js → VerifyDevice-DrXK_7gG-CEX4QcR9.js} +7 -7
- package/dist/assets/{VideoPlayer-ByXKIag5-BZsoWnFe.js → VideoPlayer-BZe4PqnR-CX1XPKSp.js} +2 -2
- package/dist/assets/{VideoPopup-DybLGmZL-CNsVI5bc.js → VideoPopup-BaEQAfak-DFKT4R55.js} +3 -3
- package/dist/assets/{WarningsDrawerPage-Ddp3wpvG-CdbbY6NF.js → WarningsDrawerPage-COJ1hjAD-BEWCjyIu.js} +7 -7
- package/dist/assets/{ZeniAccountDetailPage-C-B9h3wI-CKYwhajY.js → ZeniAccountDetailPage-Chx3JWsc-DUW0nJwl.js} +24 -24
- package/dist/assets/{ZeniAccountListViewPage-CWvKejM--BPGukJA_.js → ZeniAccountListViewPage-6RhsoQzy-B1q4otvI.js} +11 -11
- package/dist/assets/{ZeniAccountNavBarPieces-xyI5r3gJ-CbIslzwK.js → ZeniAccountNavBarPieces-10K_Qgxx-DnALebZP.js} +3 -3
- package/dist/assets/{ZeniAccountPromoPage-ClU5aJ3_-4ixwSQil.js → ZeniAccountPromoPage-ClXA4h8f-BJADOlI6.js} +16 -16
- package/dist/assets/{ZeniAccountSetupPage-BF6_J9le-DCR58vNJ.js → ZeniAccountSetupPage-7YlBF0nq-BMd9Jfil.js} +4 -4
- package/dist/assets/{ZeniCopyright-CyBZnbZa-D5SmAZYL.js → ZeniCopyright-k2F7p5Nn-CWJt4f_H.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-QODQj6J3-nB7ivh3S.js → ZeniTransferAmountSlider-CJY_ei3T-BQBKQlY-.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-l6e6C-pa.js → add-to-wallet-DgdBD8_G-CNvnwL2z.js} +1 -1
- package/dist/assets/{analytics-DGcxWyl6.js → analytics-rms9goNI.js} +1 -1
- package/dist/assets/{analyticsHelper-BcBQi1qY.js → analyticsHelper-DTNFmelW.js} +1 -1
- package/dist/assets/{analyticsHelper-HEUQhbuJ-Cq2Mtjgc.js → analyticsHelper-e2zBYls0-DsW-gRIg.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-C0A9x354.js → arrow-south-east-round-PEovUgvH-DpZb0ICZ.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-CC0rbz99.js → auto-transfer-rule-mbafm5D3-CBISKKCi.js} +1 -1
- package/dist/assets/{chartTypes-CnipzTeX-DGSU_TZ0.js → chartTypes-D0t0a86R-VgxTrMCK.js} +1 -1
- package/dist/assets/{commonDimensions-DmFc7WqO-CxyyXmLy.js → commonDimensions-BwCds81U-kEodPKRG.js} +1 -1
- package/dist/assets/{constants-jbgzJYdx.js → constants-C3kp1fkP.js} +1 -1
- package/dist/assets/{core-BMaLzXUJ.js → core-B_30foAD.js} +1 -1
- package/dist/assets/{dash.all.min-DmpFQIVa.js → dash.all.min-3-z_MPR8.js} +1 -1
- package/dist/assets/{detailCommon-x-UFksNz-DKaz3zHe.js → detailCommon-CFEglqRw-DcI3Dm8c.js} +6 -6
- package/dist/assets/{downloadPdf-D1grj9oX-Bei5Wpqc.js → downloadPdf-BfjQscZh-CeCugFTI.js} +1 -1
- package/dist/assets/{empty-CxyNypVD.js → empty-BB-5X2tp.js} +1 -1
- package/dist/assets/{empty-DJguQx7A.js → empty-DyZfcN1I.js} +1 -1
- package/dist/assets/epic-CXeU0a14.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-ZuOwWA2g.js → gift-box-Cmt9OgIZ-tVleHIYS.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-CR5EZc8Z.js → graphic-no-data-l-DU4J8fDt-CYR0rF_u.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-BhBXhGOx.js → graphic-no-data-net-burn-l-CzmycA0m-DI-E_991.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-DiPOUMao.js → handshake-BPg58FML-DRFlkqA2.js} +1 -1
- package/dist/assets/{index-CQmr12-Z.js → index-4xstgUx1.js} +1 -1
- package/dist/assets/{index-C3zM8gb6.js → index-BCh0qUkM.js} +1 -1
- package/dist/assets/{index-rJQoaAfw.js → index-BR9aIv1A.js} +2758 -2774
- package/dist/assets/{index-tuFs6sMC.js → index-BhfvNbOl.js} +1 -1
- package/dist/assets/{index-DKka6liW.js → index-BoyomC_-.js} +1 -1
- package/dist/assets/{index-Dw_2FdYw.js → index-DVfmIUIY.js} +1 -1
- package/dist/assets/{index-DPwk4vO3.js → index-DgHTMbc3.js} +1 -1
- package/dist/assets/{lexical-CyZM9SwL.js → lexical-CcL2Fd1i.js} +1 -1
- package/dist/assets/{liveblocks-CohL7dW6.js → liveblocks-B8f0lmpe.js} +1 -1
- package/dist/assets/{lottie-XKgYVRq1.js → lottie-CbICbNKh.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-D-j3xrlE-C3TmZv3p.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-SPabSQrM-Cf3ilJGA.js → mapSectionWithAcOnlyToTreeNode-D84rlDgo-CA3ifSFr.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode--_h7d27O-sxGNKTOK.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BwS2KbWd-CAuCdcVv.js → mapTimeframeBalancesToTreeNode-BqoG_HF--CRhmAO8j.js} +1 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DPb6o33r-DFBVfNq3.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CCAWuSrJ-B5KhCzdx.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DAB0kK09-CTBKyUYq.js} +1 -1
- package/dist/assets/{mui-KNfEk2A1.js → mui-C7Q1opAD.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-BLbwsJjf.js → page-detail-CWX5S47F-DfEuZBUZ.js} +1 -1
- package/dist/assets/{panelSelectedMixin-CzfD5-Zs-PdsDXPWw.js → panelSelectedMixin-CzfD5-Zs-Udxivyx_.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-_DAtDxCX.js → radio-default-CiSgisfh-VWYNvRzB.js} +1 -1
- package/dist/assets/{react-DOhUJ6O2.js → react-B1skuV78.js} +1 -1
- package/dist/assets/{react-KKmCM6TX.js → react-C5VDu1Xe.js} +2 -2
- package/dist/assets/{react-CPz-xjGo.js → react-CEhgfqKO.js} +2 -2
- package/dist/assets/{react-H0CMmi2N.js → react-D-QPbFx5.js} +1 -1
- package/dist/assets/{react-Cbh1mkS2.js → react-DODYMrDc.js} +1 -1
- package/dist/assets/{react-wx6Np1L0.js → react-OE6vDDlS.js} +1 -1
- package/dist/assets/{react-CX71OnYA.js → react-gaSEjZmU.js} +1 -1
- package/dist/assets/{react-CfuDRhRn.js → react-zf2AM5gr.js} +1 -1
- package/dist/assets/{recharts-D8Mh9GJw.js → recharts-v_b66Qfi.js} +1 -1
- package/dist/assets/{sentry-CGE1ab0x.js → sentry-BwoJfpTa.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-BeHXxYmi.js → shield-DOlUxcFf-DlZ9ml05.js} +1 -1
- package/dist/assets/toCOABalancesWithID-mNZ5ym9S-BQfS02g5.js +1 -0
- package/dist/assets/{toChartData-VTidOIL7-CTZNeqK0.js → toChartData-BVSCRQYT-CU2W4nbR.js} +1 -1
- package/dist/assets/{uploadAttachment-CwSRD9la-Dwn2_OC8.js → uploadAttachment-D3ybtHtR-D84dG_-j.js} +30 -30
- package/dist/assets/{uploadReceipts-Dge0cNF1-COPT6pnG.js → uploadReceipts-Dge0cNF1-C6WyXewN.js} +1 -1
- package/dist/assets/{url-D3fzoRiq.js → url-BcaeVwpg.js} +1 -1
- package/dist/assets/{url-CxS4k21H.js → url-o9j2r9Zq.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-YmFx62lI.js → useLongPress-GCK2COYQ-CM12epgA.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-lvUUHuIi.js → usp-line-BBd1wKwW-Cyu4xp0r.js} +1 -1
- package/dist/assets/{utils-Co3Y654K.js → utils-C75CTJHa.js} +1 -1
- package/dist/assets/{zeni-epic-state-CiJSQQSe.js → zeni-epic-state-Deo9yJpd.js} +17 -17
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/AccountInfoPage-jlXCF7Gn-p294yilG.js +0 -18
- package/dist/assets/AddAddressForCardDrawer-BIjROWAw-BSYp9XYN.js +0 -6
- package/dist/assets/ApprovalRulesSettingsPage-91Tg_EpH-BzKB_HwN.js +0 -47
- package/dist/assets/BillingSettingsPage-Djx3EUQO-2EyCLMZp.js +0 -44
- package/dist/assets/BoxItem-ClRdlCWM-B_aqSV-L.js +0 -53
- package/dist/assets/BusinessVerificationPage-Dzp7gFwH-iwUmX4wV.js +0 -138
- package/dist/assets/ChargeCardPromoPage-DxNPvbeh-CTzLEbbH.js +0 -222
- package/dist/assets/CompanyOfficerDetailsSection-wa4YnlL--Bvat7gA-.js +0 -331
- package/dist/assets/CompanyPassportPage-B8LoE1o9-B6zE-V-E.js +0 -417
- package/dist/assets/ConfettiBurst-BAIozwVU-BMA4g7cW.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-Btl2A6Cw-CdJnPywR.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-CQN8EEU--ChBu6uTX.js +0 -66
- package/dist/assets/CustomerOnboardingPage-B77cjZbE-Do4tQjfo.js +0 -107
- package/dist/assets/DepositAccTransactionListPage-W9xt6kxv-BUhaUskS.js +0 -66
- package/dist/assets/EditPeoplePage-D7TQFFBG-Djz1uJLh.js +0 -55
- package/dist/assets/InternationalWireVerificationPage-CWBpTNA9-9aWL0J3i.js +0 -65
- package/dist/assets/InvitePeoplePage-CljSsdaM-DHNLTMCH.js +0 -12
- package/dist/assets/LabeledCountryMultiSelectField-Ds0vvyNd-ypZKY9co.js +0 -237
- package/dist/assets/LabeledDocumentField-b5xujqjK-HTjOeiZT.js +0 -41
- package/dist/assets/LabeledMultiSelectField-CEoszkBN-B4_Me-4T.js +0 -223
- package/dist/assets/MagicLinkACHDetailsPage-DJEu5rMd-BJeKMJK9.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage--0yYTzva-BnphHyQr.js +0 -1
- package/dist/assets/MyPendingActivationChargeCardListPage-Dz1U6l9--DwLxZlPN.js +0 -6
- package/dist/assets/PaymentAccountSetupBillingAddressSection-B6nTWyOD-gY1zpkFD.js +0 -107
- package/dist/assets/RoleWithToolTip-BWdD1HmA-BCpJ5d2U.js +0 -22
- package/dist/assets/SignInScreen-BOrZAIYm.js +0 -1
- package/dist/assets/StatementItem-9DHoMBjx-DlzvIjc2.js +0 -31
- package/dist/assets/StatementsPage-CdOlg2R0-CFHx0zSi.js +0 -58
- package/dist/assets/VendorACHDetailsPage-CP2mHGE7-CG1YPLHx.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-JzRuqiHJ-DYQH4bJe.js +0 -1
- package/dist/assets/commonTypes-CU0qY6Px-ZdnVolMx.js +0 -1
- package/dist/assets/epic-DJmh-RNR.js +0 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-gyu3qs1Z-SebMrCb0.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-D_rRYkys-BvhCp_uR.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-8JwIYBnd-DXtmYfY7.js +0 -1
- package/dist/assets/toCOABalancesWithID-BcVCEfwr-D-kim1rY.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as oe,a9 as Oa,cF as _a,V as r,aP as je,
|
|
1
|
+
import{J as oe,a9 as Oa,cF as _a,V as r,aP as je,jn as Da,b$ as Ra,ac as za,aR as Fa,o as a,y as C,F as le,bx as Ua,b7 as Na,R as be,a as na,C as qa,c as Ea,p as ie,Z as Ma,ci as ka,cS as fe,eo as Ba,u as d,bT as Va,b1 as Z,cY as me,d0 as oa,jo as Ha,jp as Wa,cZ as Ga,e as Te,jq as Ie,cI as Ae,gc as Oe,f0 as xe,b as de,eY as he,g8 as ca,ai as _e,aN as Ja,gX as Ya,am as Ka,gY as Za}from"./index-BR9aIv1A.js";import{a as E}from"./sentry-BwoJfpTa.js";import{n as l}from"./mui-C7Q1opAD.js";import{Y as ua}from"./LabeledUserSingleSelectWithSubtitlesField-CnK0wLL0-CdsEapB3.js";import{bd as Xa}from"./zeni-epic-state-Deo9yJpd.js";import{T as pa}from"./RoleWithToolTip-D74SWfZd-B2mOCrt1.js";import"./liveblocks-B8f0lmpe.js";import"./core-B_30foAD.js";import"./recharts-v_b66Qfi.js";import"./lottie-CbICbNKh.js";import"./analytics-rms9goNI.js";import"./lexical-CcL2Fd1i.js";import"./utils-C75CTJHa.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]="28846069-115a-4e21-a3e8-ec580ad45e5b",e._sentryDebugIdIdentifier="sentry-dbid-28846069-115a-4e21-a3e8-ec580ad45e5b")}catch{}})();const ge=e=>{const{common:i,spendManagement:{chargeCard:{issueCard:t}}}=le.getLocalizedStrings();switch(e){case"monthly":return t.frequencySubLabels.monthly;case"quarterly":return t.frequencySubLabels.quarterly;case"weekly":return t.frequencySubLabels.weekly;case"yearly":return t.frequencySubLabels.yearly;default:return i.strings.empty}},Qa=["creditCard","debitCard"],ke=e=>Xa(e,Qa),u=(e,i)=>`${e}.${i}`,{commonSetUp:{businessVerification:{addressPlaceholder:Be,customAddressPlaceholder:er}},spendManagement:{chargeCard:{issueCard:N}}}=le.getLocalizedStrings(),k={largeLabelWidth:new C(120,120,200),labelMarginRight:new C(d[3],d[4]),labelMarginBottom:new C(d[2],d[0]),infoLabelMarginTop:new C(d[1],d[0]),radioLabelPaddingLeftRight:new C(d[2],d[3]),radioLabelPaddingLeft:new C(d[0],d[3]),radioLabelPaddingRight:new C(10,d[3])},ar={infoLabel:new be("smallRegular","smallRegular")},rr="creditCard.physicalCard.amount",ir="creditCard.physicalCard.cardName",dr="creditCard.physicalCard.user",lr="creditCard.physicalCard.frequency",te="creditCard.physicalCard.addressType",tr=({lineData:e,issueCardSectionId:i,limit:t,creditLimitFrequency:m,activeChargeCardCount:v,allRoles:f,allAccountingClasses:D,companyAddress:b,customAddress:T,userAddress:A,userList:o,maxPhysicalChargeCardPerUser:S,openAddAddressDrawerHandler:g})=>{const s=oe(),q=Te(),{getValues:B}=fe(),$=k.largeLabelWidth.value(s),V=()=>{g(e.lineId,"creditCard")},c=(h,F)=>r.jsx(nr,{isOptionSelected:F,children:ge(h)}),n=e.creditCard.physicalCard.addressType,x=e.creditCard.physicalCard.amount,L=Ie(t.amount),I=x!=null&&x>t.amount,z=I?N.amountExceedError.replace("_amount_",L):void 0,j=e.creditCard.physicalCard.user,O=j.allUsers.find(h=>h.userId===j.selectedUser),G=O?.userId,X=G!=null?A[G]:void 0,p=h=>{let F=v[h]?.physicalCardCount??0;return B().lineInfo.forEach(y=>{y.creditCard.cardType==="business_physical_credit_card"&&y.creditCard.physicalCard.user.selectedUser===h&&(F+=1)}),F>=S};return r.jsxs(r.Fragment,{children:[r.jsx(ua,{label:{label:N.cardholderLabel,width:$},userSingleSelectWithSubTitlesField:{name:u(i,dr),placeholderLabel:N.usersPlaceholder,value:{allUsers:o,selectedUser:e.creditCard.physicalCard.user.selectedUser},registerOptions:{required:!0,validate:h=>h?.selectedUser?.length>0},valueToSubtitle:h=>{const F=f.find(R=>R.userId===h),y=[];return F?.accountingClassIDs.forEach(R=>{const K=D.find(De=>De.classId===R);K!=null&&K.className&&y.push(K.className)}),y},additionalLabelInfo:N.additionalInfoPhysical,showOnlyAvatar:!0,showAvatarAndSubtitles:!1,isOptionDisabled:p,disabledOptionHint:N.cardLimitWarning,bigMarginRightForSmallScreens:!0,optionStyles:{maxHeight:a.sp10,minHeight:a.sp6,height:"max-content"}},style:{width:"100%",paddingLeft:k.labelMarginBottom.value(s)}}),r.jsx(we,{}),r.jsx(Ae,{label:{label:N.cardNameLabel,width:$},style:{width:"auto",paddingLeft:k.labelMarginBottom.value(s)},text:{type:"text",name:u(i,ir),defaultValue:e.creditCard.physicalCard.cardName,placeholder:N.cardNamePlaceholder,options:{required:!0,validate:h=>h!=null}}}),r.jsx(we,{}),r.jsx(Oe,{label:{label:N.amountLabel,width:$},showAdditionalInfoLabel:I,additionalInfoLabel:z,formattedTextField:{type:"number",name:u(i,rr),defaultValue:e.creditCard.physicalCard.amount,placeholder:N.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:h=>!!h&&h>0&&h<=t.amount},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},isFieldError:I,style:{width:"auto",paddingLeft:k.labelMarginBottom.value(s)}}),r.jsx(we,{}),r.jsx(xe,{isDisabled:"readonly",label:{label:N.frequencyLabel,width:$,style:{marginBottom:k.labelMarginBottom.valuePx(s),marginRight:k.labelMarginRight.valuePx(s)}},style:{width:"100%",paddingLeft:k.labelMarginBottom.valuePx(s)},infoLabelStyle:{...de.smallRegular.cssObject,textAlign:"right",paddingRight:a.sp3,marginTop:k.infoLabelMarginTop.valuePx(s),color:q.colors.hero},valueToAdditionalLabel:h=>ge(h),singleSelectPickerField:{name:u(i,lr),placeholder:N.frequencyPlaceholder,style:{position:"relative"},capitalizeOptions:!0,showSubLabelsInSingleValue:!1,defaultValue:{selectedOption:e.creditCard.physicalCard.frequency.selectedOption,allOptions:m.map(h=>({label:h.name,value:h.code}))},valueToSubLabels:(h,F)=>c(h,F),textAlignment:"right",registerOptions:{required:!0,validate:h=>h!=null&&!!h.selectedOption}}}),r.jsx(we,{}),r.jsxs(or,{windowSize:s,children:[r.jsxs(pr,{windowSize:s,children:[r.jsx(me,{label:N.address.shippingAddressLabel,htmlFor:u(i,te),style:{marginLeft:a.sp4,marginRight:k.labelMarginRight.valuePx(s),marginTop:a.sp2,width:s==="small"?"auto":$}}),r.jsx(cr,{windowSize:s,children:r.jsxs(hr,{isDisabled:O==null,children:[X!=null&&r.jsx(Z,{isContainerClickable:!0,label:{label:N.address.personal},isDisabled:O==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeftRight.value(s),paddingRight:k.radioLabelPaddingRight.value(s),width:"fit-content"},radioField:{name:u(i,te),id:`${u(i,te)}.${N.address.personal}`,value:"card_holder_personal_address",radioSize:"small",registerOptions:{required:!0}}}),r.jsx(Z,{isContainerClickable:!0,label:{label:N.address.company},isDisabled:O==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeft.value(s),paddingRight:k.radioLabelPaddingRight.value(s),width:"fit-content"},radioField:{name:u(i,te),id:`${u(i,te)}.${N.address.company}`,value:"company_address",radioSize:"small",registerOptions:{required:!0}}}),r.jsx(Z,{isContainerClickable:!0,label:{label:N.address.custom},isDisabled:O==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeft.value(s),paddingRight:k.radioLabelPaddingLeftRight.value(s),width:"fit-content"},radioField:{name:u(i,te),id:`${u(i,te)}.${N.address.custom}`,value:"custom_address",radioSize:"small",registerOptions:{required:!0}}})]})})]}),r.jsx(ur,{windowSize:s,children:O?.user!=null&&n!=null&&r.jsx(sr,{children:n==="card_holder_personal_address"?r.jsxs(r.Fragment,{children:[r.jsx(he,{name:"personal_address_value_field",defaultValue:X,isDisabled:"readonly",placeholder:Be,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1}}),r.jsx(Ve,{windowSize:s,children:N.address.personalAddressText.replace("_name_",O.user.firstName)})]}):n==="company_address"?r.jsx(he,{name:"company_address_value_field",defaultValue:b,isDisabled:"readonly",placeholder:Be,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1}}):r.jsxs(r.Fragment,{children:[r.jsx(he,{name:"custom_address_value_field",defaultValue:T[e.lineId],placeholder:er,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1},onClick:V}),r.jsx(Ve,{windowSize:s,children:N.address.customAddressText})]})})})]})]})},sr=l.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -78,7 +78,7 @@ import{J as oe,a9 as Oa,cF as _a,V as r,aP as je,jq as Da,b$ as Ra,ac as za,aR a
|
|
|
78
78
|
&:hover {
|
|
79
79
|
fill: ${e=>e.theme.colors.primary};
|
|
80
80
|
}
|
|
81
|
-
`,{spendManagement:{chargeCard:{issueCard:
|
|
81
|
+
`,{spendManagement:{chargeCard:{issueCard:J}}}=le.getLocalizedStrings(),ee={largeLabelWidth:new C(120,120,200),labelMarginRight:new C(d[3],d[4]),largeLabelMarginRight:new C(d[2],12),labelMarginBottom:new C(d[2],d[0]),infoLabelMarginTop:new C(d[1],d[0])},mr={infoLabel:new be("smallRegular","smallRegular")},gr="debitCard.virtualCard.amount",br="debitCard.virtualCard.cardName",He="debitCard.virtualCard.users",Cr="debitCard.virtualCard.frequency",yr="debitCard.virtualCard.connectedAccount",fr=({lineData:e,issueCardSectionId:i,cardHolderCandidates:t,creditLimitFrequency:m,allRoles:v,depositAccounts:f,allAccountingClasses:D,activeDebitCardCount:b,maxVirtualDebitCardPerUser:T})=>{const A=Te(),o=oe(),{getValues:S}=fe(),g=ee.largeLabelWidth.value(o),s=e.debitCard.virtualCard.amount,q=f.find(c=>c.id===e.debitCard.virtualCard.connectedAccount.selectedOption)?.cardLimits.dailyCardTransactionLimit.amount,B=s!=null&&q!=null&&s>q,$=B?J.amountExceedDebitCardError.replace("_amount_",Ie(q)):void 0,V=c=>{let n=0;const x=e.debitCard.virtualCard.connectedAccount.selectedOption;return x!=null&&b?.[x]?.[c]!=null&&(n=b[x][c].virtualCardCount),S().lineInfo.forEach(L=>{L.debitCard.cardType==="business_virtual_debit_card"&&L.debitCard.virtualCard.users.selectedUsers.forEach(I=>{I.userId===c&&(n+=1)})}),n>=T};return r.jsxs(r.Fragment,{children:[r.jsx(Ge,{label:{label:J.connectedAccountLabel,width:g,style:{marginLeft:a.sp4,marginRight:ee.largeLabelMarginRight.value(o),marginTop:a.sp2,width:g}},style:{width:"auto"},singleSelectPickerField:{name:u(i,yr),placeholder:J.selectAccountPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(c,n)=>ha(f,c,n),valueToSubLabels:(c,n)=>Pe(f,c,n),defaultValue:{selectedOption:e.debitCard.virtualCard.connectedAccount.selectedOption,allOptions:f.map(c=>({label:c.accountName,value:c.id}))},isOptionRemovable:!1,textAlignment:"right",registerOptions:{required:!0,validate:c=>c!=null&&!!c.selectedOption}}}),r.jsx($e,{}),r.jsxs(Ir,{windowSize:o,children:[r.jsx(me,{label:J.cardholdersLabel,htmlFor:u(i,He),style:{marginLeft:a.sp4,marginRight:ee.labelMarginRight.value(o),marginTop:a.sp2,width:g}}),r.jsxs(Tr,{windowSize:o,children:[r.jsx(ca,{hideEmailTooltip:!0,shouldHaveBackgroundColor:!1,showBackgroundColorIfHasAnySelectedOption:!1,placeholderLabel:J.usersPlaceholder,name:u(i,He),value:{allUsers:t,selectedUsers:e.debitCard.virtualCard.users.selectedUsers,allNonUsers:[],selectedNonUsers:[]},registerOptions:{required:!0,validate:c=>c?.selectedUsers?.length>0},valueToSubtitle:c=>{const n=v.find(L=>L.userId===c),x=[];return n!=null&&(x.push(r.jsx(pa,{roles:n.userRoles})),n.accountingClassIDs.forEach(L=>{const I=D.find(z=>z.classId===L);I!=null&&I.className&&x.push(I.className)})),x},disableCurrentOption:V,disabledOptionHint:J.cardLimitWarning,customStyleConfig:{placeholder:()=>({margin:a.sp0}),input:(c,{selectProps:n})=>({display:n.menuIsOpen===!1&&e.debitCard.virtualCard.users.selectedUsers.length>0&&o!=="small"?"none":"unset",width:o==="small"&&e.debitCard.virtualCard.users.selectedUsers.length>0?"100%":`calc(100% - ${a.sp5})`,padding:e.debitCard.virtualCard.users.selectedUsers.length===0?`${a.sp0} ${a.sp3}`:a.sp0,...de.standardRegular.cssObject,height:a.sp4,zIndex:0,position:e.debitCard.virtualCard.users.selectedUsers.length===0||o==="small"&&n.menuIsOpen===!1?"absolute":"unset",left:a.sp0,">input":{...de.smallBold.cssObject,height:"100%",cursor:"pointer"}})}}),r.jsx(Pr,{size:o,children:J.additionalInfoVirtual})]})]}),r.jsx($e,{}),r.jsx(Ae,{label:{label:J.cardNameLabel,width:g},style:{width:"auto",paddingLeft:ee.labelMarginBottom.value(o)},text:{type:"text",name:u(i,br),defaultValue:e.debitCard.virtualCard.cardName,placeholder:J.cardNamePlaceholder,options:{required:!0,validate:c=>c!=null}}}),r.jsx($e,{}),r.jsx(Oe,{label:{label:J.amountLabel,width:g},showAdditionalInfoLabel:B,additionalInfoLabel:$,formattedTextField:{type:"number",name:u(i,gr),defaultValue:e.debitCard.virtualCard.amount,placeholder:J.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:c=>q!=null?!!c&&c>0&&c<=q:!!c&&c>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto",paddingLeft:ee.labelMarginBottom.value(o)},isFieldError:B}),r.jsx($e,{}),r.jsx(Sr,{size:o,children:r.jsx(Ge,{isDisabled:"readonly",label:{label:J.frequencyLabel,width:g,style:{marginLeft:a.sp0,marginBottom:ee.labelMarginBottom.valuePx(o),marginRight:ee.labelMarginRight.valuePx(o)}},style:{width:"100%",padding:a.sp0,display:o==="small"?"flex":"inherit"},infoLabelStyle:{...de.smallRegular.cssObject,textAlign:"right",paddingRight:a.sp3,marginTop:ee.infoLabelMarginTop.valuePx(o),color:A.colors.hero},valueToAdditionalLabel:c=>ge(c),singleSelectPickerField:{name:u(i,Cr),placeholder:J.frequencyPlaceholder,style:{position:"relative"},capitalizeOptions:!0,showSubLabelsInSingleValue:!1,defaultValue:{selectedOption:e.debitCard.virtualCard.frequency.selectedOption,allOptions:m.map(c=>({label:c.name,value:c.code}))},valueToSubLabels:(c,n)=>Pe(f,c,n),textAlignment:"right",registerOptions:{required:!0,validate:c=>c!=null&&!!c.selectedOption}}})})]})},ha=(e,i,t)=>{if(i==="")return r.jsx(Lr,{});const m=e.find(f=>f.id===i),v=e.findIndex(f=>f.id===i);return m!=null?r.jsx(wr,{isOptionSelected:t,children:r.jsx($r,{color:Ya(v)})}):null},Pe=(e,i,t)=>{if(!i)return null;const m=e.find(v=>v.id===i);return t===!0?r.jsx(xr,{children:m?.maskedAccountNumber}):r.jsxs(jr,{className:"option-sublabel",children:[r.jsx(We,{children:m?.maskedAccountNumber}),m?.accountBalance?.available?r.jsx(vr,{}):null,m?.accountBalance?.available?r.jsx(We,{children:Ja("0,0[.]00",m.accountBalance.available)}):null]})},xr=l.span`
|
|
82
82
|
margin-left: ${a.sp2};
|
|
83
83
|
`,We=l.div``,vr=l.div`
|
|
84
84
|
width: ${a.sp1};
|
|
@@ -91,7 +91,7 @@ import{J as oe,a9 as Oa,cF as _a,V as r,aP as je,jq as Da,b$ as Ra,ac as za,aR a
|
|
|
91
91
|
width: ${e=>e.isOptionSelected?a.sp4:a.sp5};
|
|
92
92
|
height: ${e=>e.isOptionSelected?a.sp4:a.sp5};
|
|
93
93
|
margin-right: ${a.sp2};
|
|
94
|
-
`,$r=l(
|
|
94
|
+
`,$r=l(Za)`
|
|
95
95
|
min-width: inherit;
|
|
96
96
|
width: inherit;
|
|
97
97
|
height: inherit;
|
|
@@ -113,7 +113,7 @@ import{J as oe,a9 as Oa,cF as _a,V as r,aP as je,jq as Da,b$ as Ra,ac as za,aR a
|
|
|
113
113
|
border-bottom-left-radius: inherit;
|
|
114
114
|
border-bottom-right-radius: inherit;
|
|
115
115
|
}
|
|
116
|
-
`,jr=l(
|
|
116
|
+
`,jr=l(Ka)`
|
|
117
117
|
color: ${e=>e.theme.colors.grey1};
|
|
118
118
|
display: flex;
|
|
119
119
|
align-items: center;
|
|
@@ -175,7 +175,7 @@ import{J as oe,a9 as Oa,cF as _a,V as r,aP as je,jq as Da,b$ as Ra,ac as za,aR a
|
|
|
175
175
|
background-color: ${e=>e.theme.colors.background};
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
|
-
`,{commonSetUp:{businessVerification:{addressPlaceholder:
|
|
178
|
+
`,{commonSetUp:{businessVerification:{addressPlaceholder:Je,customAddressPlaceholder:Ar}},spendManagement:{chargeCard:{issueCard:U}}}=le.getLocalizedStrings(),M={largeLabelWidth:new C(120,120,200),labelMarginRight:new C(d[3],d[4]),largeLabelMarginRight:new C(d[2],12),labelMarginBottom:new C(d[2],d[0]),infoLabelMarginTop:new C(d[1],d[0]),radioLabelPaddingLeftRight:new C(d[2],d[3]),radioLabelPaddingLeft:new C(d[0],d[3]),radioLabelPaddingRight:new C(10,d[3])},Or={infoLabel:new be("smallRegular","smallRegular")},_r="debitCard.physicalCard.amount",Dr="debitCard.physicalCard.cardName",Rr="debitCard.physicalCard.user",zr="debitCard.physicalCard.frequency",se="debitCard.physicalCard.addressType",Fr="debitCard.physicalCard.connectedAccount",Ur=({lineData:e,issueCardSectionId:i,creditLimitFrequency:t,activeDebitCardCount:m,allRoles:v,depositAccounts:f,allAccountingClasses:D,companyAddress:b,customAddress:T,userAddress:A,userList:o,maxPhysicalDebitCardPerUser:S,openAddAddressDrawerHandler:g})=>{const s=oe(),q=Te(),{getValues:B}=fe(),$=M.largeLabelWidth.value(s),V=()=>{g(e.lineId,"debitCard")},c=e.debitCard.physicalCard.amount,n=f.find(p=>p.id===e.debitCard.physicalCard.connectedAccount.selectedOption)?.cardLimits.dailyCardTransactionLimit.amount,x=c!=null&&n!=null&&c>n,L=x?U.amountExceedDebitCardError.replace("_amount_",Ie(n)):void 0,I=e.debitCard.physicalCard.addressType,z=e.debitCard.physicalCard.user,j=z.allUsers.find(p=>p.userId===z.selectedUser),O=j?.userId,G=O!=null?A[O]:void 0,X=p=>{let h=0;const F=e.debitCard.physicalCard.connectedAccount.selectedOption;return F!=null&&m?.[F]?.[p]!=null&&(h=m[F][p].physicalCardCount),B().lineInfo.forEach(y=>{y.debitCard.cardType==="business_physical_debit_card"&&y.debitCard.physicalCard.user.selectedUser===p&&(h+=1)}),h>=S};return r.jsxs(r.Fragment,{children:[r.jsx(qr,{label:{label:U.connectedAccountLabel,width:$,style:{marginLeft:a.sp4,marginRight:M.largeLabelMarginRight.value(s),marginTop:a.sp2,width:$}},style:{width:"auto"},singleSelectPickerField:{name:u(i,Fr),placeholder:U.selectAccountPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(p,h)=>ha(f,p,h),valueToSubLabels:(p,h)=>Pe(f,p,h),defaultValue:{selectedOption:e.debitCard.physicalCard.connectedAccount.selectedOption,allOptions:f.map(p=>({label:p.accountName,value:p.id}))},textAlignment:"right",isOptionRemovable:!1,registerOptions:{required:!0,validate:p=>p!=null&&!!p.selectedOption}}}),r.jsx(ye,{}),r.jsx(ua,{label:{label:U.cardholderLabel,width:$},userSingleSelectWithSubTitlesField:{name:u(i,Rr),placeholderLabel:U.usersPlaceholder,value:{allUsers:o,selectedUser:e.debitCard.physicalCard.user.selectedUser},registerOptions:{required:!0,validate:p=>p?.selectedUser?.length>0},valueToSubtitle:p=>{const h=v.find(y=>y.userId===p),F=[];return h?.accountingClassIDs.forEach(y=>{const R=D.find(K=>K.classId===y);R!=null&&R.className&&F.push(R.className)}),F},additionalLabelInfo:U.additionalInfoPhysical,showOnlyAvatar:!0,showAvatarAndSubtitles:!1,isOptionDisabled:X,disabledOptionHint:U.cardLimitWarning,bigMarginRightForSmallScreens:!0,optionStyles:{maxHeight:a.sp10,minHeight:a.sp6,height:"max-content"}},style:{width:"auto",paddingLeft:M.labelMarginBottom.value(s)}}),r.jsx(ye,{}),r.jsx(Ae,{label:{label:U.cardNameLabel,width:$},style:{width:"auto",paddingLeft:M.labelMarginBottom.value(s)},text:{type:"text",name:u(i,Dr),defaultValue:e.debitCard.physicalCard.cardName,placeholder:U.cardNamePlaceholder,options:{required:!0,validate:p=>p!=null}}}),r.jsx(ye,{}),r.jsx(Oe,{label:{label:U.amountLabel,width:$},showAdditionalInfoLabel:x,additionalInfoLabel:L,formattedTextField:{type:"number",name:u(i,_r),defaultValue:e.debitCard.physicalCard.amount,placeholder:U.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:p=>n!=null?!!p&&p>0&&p<=n:!!p&&p>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto",paddingLeft:M.labelMarginBottom.value(s)},isFieldError:x}),r.jsx(ye,{}),r.jsx(xe,{isDisabled:"readonly",label:{label:U.frequencyLabel,width:$,style:{marginBottom:M.labelMarginBottom.valuePx(s),marginRight:M.labelMarginRight.valuePx(s)}},style:{width:"auto",paddingLeft:M.labelMarginBottom.valuePx(s)},infoLabelStyle:{...de.smallRegular.cssObject,textAlign:"right",paddingRight:a.sp3,marginTop:M.infoLabelMarginTop.valuePx(s),color:q.colors.hero},valueToAdditionalLabel:p=>ge(p),singleSelectPickerField:{name:u(i,zr),placeholder:U.frequencyPlaceholder,style:{position:"relative"},capitalizeOptions:!0,showSubLabelsInSingleValue:!1,defaultValue:{selectedOption:e.debitCard.physicalCard.frequency.selectedOption,allOptions:t.map(p=>({label:p.name,value:p.code}))},valueToSubLabels:(p,h)=>Pe(f,p,h),textAlignment:"right",registerOptions:{required:!0,validate:p=>p!=null&&!!p.selectedOption}}}),r.jsx(ye,{}),r.jsxs(Er,{windowSize:s,children:[r.jsxs(Br,{windowSize:s,children:[r.jsx(me,{label:U.address.shippingAddressLabel,htmlFor:u(i,se),style:{marginLeft:a.sp4,marginRight:M.labelMarginRight.valuePx(s),marginTop:a.sp2,width:s==="small"?"auto":$}}),r.jsx(Mr,{windowSize:s,children:r.jsxs(Vr,{isDisabled:j==null,children:[G!=null&&r.jsx(Z,{isContainerClickable:!0,label:{label:U.address.personal},isDisabled:j==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:M.radioLabelPaddingLeftRight.value(s),paddingRight:M.radioLabelPaddingRight.value(s),width:"fit-content"},radioField:{name:u(i,se),id:`${u(i,se)}.${U.address.personal}`,value:"card_holder_personal_address",radioSize:"small",registerOptions:{required:!0}}}),r.jsx(Z,{isContainerClickable:!0,label:{label:U.address.company},isDisabled:j==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:M.radioLabelPaddingLeft.value(s),paddingRight:M.radioLabelPaddingRight.value(s),width:"fit-content"},radioField:{name:u(i,se),id:`${u(i,se)}.${U.address.company}`,value:"company_address",radioSize:"small",registerOptions:{required:!0}}}),r.jsx(Z,{isContainerClickable:!0,label:{label:U.address.custom},isDisabled:j==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:M.radioLabelPaddingLeft.value(s),paddingRight:M.radioLabelPaddingLeftRight.value(s),width:"fit-content"},radioField:{name:u(i,se),id:`${u(i,se)}.${U.address.custom}`,value:"custom_address",radioSize:"small",registerOptions:{required:!0}}})]})})]}),r.jsx(kr,{windowSize:s,children:j?.user!=null&&I!=null&&r.jsx(Nr,{children:I==="card_holder_personal_address"?r.jsxs(r.Fragment,{children:[r.jsx(he,{name:"personal_address_value_field",defaultValue:G,isDisabled:"readonly",placeholder:Je,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1}}),r.jsx(Ye,{windowSize:s,children:U.address.personalAddressText.replace("_name_",j.user.firstName)})]}):I==="company_address"?r.jsx(he,{name:"company_address_value_field",defaultValue:b,isDisabled:"readonly",placeholder:Je,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1}}):r.jsxs(r.Fragment,{children:[r.jsx(he,{name:"custom_address_value_field",defaultValue:T[e.lineId],placeholder:Ar,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1},onClick:V}),r.jsx(Ye,{windowSize:s,children:U.address.customAddressText})]})})})]})]})},Nr=l.div`
|
|
179
179
|
display: flex;
|
|
180
180
|
flex-direction: column;
|
|
181
181
|
width: 100%;
|
|
@@ -184,7 +184,7 @@ import{J as oe,a9 as Oa,cF as _a,V as r,aP as je,jq as Da,b$ as Ra,ac as za,aR a
|
|
|
184
184
|
`,qr=l(xe)`
|
|
185
185
|
border-radius: ${a.sp2};
|
|
186
186
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
187
|
-
`,
|
|
187
|
+
`,Ye=l(_e)`
|
|
188
188
|
display: flex;
|
|
189
189
|
color: ${e=>e.theme.colors.hero};
|
|
190
190
|
padding-right: 12px;
|
|
@@ -256,7 +256,7 @@ import{J as oe,a9 as Oa,cF as _a,V as r,aP as je,jq as Da,b$ as Ra,ac as za,aR a
|
|
|
256
256
|
&:hover {
|
|
257
257
|
fill: ${e=>e.theme.colors.primary};
|
|
258
258
|
}
|
|
259
|
-
`,{spendManagement:{chargeCard:{issueCard:Q}}}=le.getLocalizedStrings(),ae={largeLabelWidth:new C(120,120,200),labelMarginRight:new C(d[3],d[4]),labelMarginBottom:new C(d[2],d[0]),infoLabelMarginTop:new C(d[1],d[0])},Hr={infoLabel:new be("smallRegular","smallRegular")},Wr="creditCard.virtualCard.amount",Gr="creditCard.virtualCard.cardName",
|
|
259
|
+
`,{spendManagement:{chargeCard:{issueCard:Q}}}=le.getLocalizedStrings(),ae={largeLabelWidth:new C(120,120,200),labelMarginRight:new C(d[3],d[4]),labelMarginBottom:new C(d[2],d[0]),infoLabelMarginTop:new C(d[1],d[0])},Hr={infoLabel:new be("smallRegular","smallRegular")},Wr="creditCard.virtualCard.amount",Gr="creditCard.virtualCard.cardName",Ke="creditCard.virtualCard.users",Jr="creditCard.virtualCard.frequency",Yr=({lineData:e,issueCardSectionId:i,cardHolderCandidates:t,limit:m,creditLimitFrequency:v,allRoles:f,allAccountingClasses:D,activeChargeCardCount:b,maxVirtualChargeCardPerUser:T})=>{const A=Te(),o=oe(),{getValues:S}=fe(),g=ae.largeLabelWidth.value(o),s=(n,x)=>r.jsx(Zr,{isOptionSelected:x,children:ge(n)}),q=e.creditCard.virtualCard.amount,B=Ie(m.amount),$=q!=null&&q>m.amount,V=$?Q.amountExceedError.replace("_amount_",B):void 0,c=n=>{let x=b[n]?.virtualCardCount??0;return S().lineInfo.forEach(L=>{L.creditCard.cardType==="business_virtual_credit_card"&&L.creditCard.virtualCard.users.selectedUsers.forEach(I=>{I.userId===n&&(x+=1)})}),x>=T};return r.jsxs(r.Fragment,{children:[r.jsxs(ai,{windowSize:o,children:[r.jsx(me,{label:Q.cardholdersLabel,htmlFor:u(i,Ke),style:{marginLeft:a.sp4,marginRight:ae.labelMarginRight.value(o),marginTop:a.sp2,width:g}}),r.jsxs(Qr,{windowSize:o,children:[r.jsx(ca,{hideEmailTooltip:!0,shouldHaveBackgroundColor:!1,showBackgroundColorIfHasAnySelectedOption:!1,placeholderLabel:Q.usersPlaceholder,name:u(i,Ke),value:{allUsers:t,selectedUsers:e.creditCard.virtualCard.users.selectedUsers,allNonUsers:[],selectedNonUsers:[]},registerOptions:{required:!0,validate:n=>n?.selectedUsers?.length>0},valueToSubtitle:n=>{const x=f.find(I=>I.userId===n),L=[];return x!=null&&(L.push(r.jsx(pa,{roles:x.userRoles})),x.accountingClassIDs.forEach(I=>{const z=D.find(j=>j.classId===I);z!=null&&z.className&&L.push(z.className)})),L},disableCurrentOption:c,disabledOptionHint:Q.cardLimitWarning,customStyleConfig:{placeholder:()=>({margin:a.sp0}),input:(n,{selectProps:x})=>({display:x.menuIsOpen===!1&&e.creditCard.virtualCard.users.selectedUsers.length>0&&o!=="small"?"none":"unset",width:o==="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,...de.standardRegular.cssObject,height:a.sp4,position:e.creditCard.virtualCard.users.selectedUsers.length===0||o==="small"&&x.menuIsOpen===!1?"absolute":"unset",left:a.sp0,">input":{...de.smallBold.cssObject,height:"100%",cursor:"pointer"}})}}),r.jsx(Xr,{size:o,children:Q.additionalInfoVirtual})]})]}),r.jsx(Fe,{}),r.jsx(Ae,{label:{label:Q.cardNameLabel,width:g},style:{width:"auto",paddingLeft:ae.labelMarginBottom.value(o)},text:{type:"text",name:u(i,Gr),defaultValue:e.creditCard.virtualCard.cardName,placeholder:Q.cardNamePlaceholder,options:{required:!0,validate:n=>n!=null}}}),r.jsx(Fe,{}),r.jsx(Oe,{label:{label:Q.amountLabel,width:g},showAdditionalInfoLabel:$,additionalInfoLabel:V,formattedTextField:{type:"number",name:u(i,Wr),defaultValue:e.creditCard.virtualCard.amount,placeholder:Q.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:n=>!!n&&n>0&&n<=m.amount},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto",paddingLeft:ae.labelMarginBottom.value(o)},isFieldError:$}),r.jsx(Fe,{}),r.jsx(Kr,{size:o,children:r.jsx(ei,{isDisabled:"readonly",label:{label:Q.frequencyLabel,width:g,style:{marginLeft:a.sp0,marginBottom:ae.labelMarginBottom.valuePx(o),marginRight:ae.labelMarginRight.valuePx(o)}},style:{width:"100%",padding:a.sp0,display:o==="small"?"flex":"inherit"},infoLabelStyle:{...de.smallRegular.cssObject,textAlign:"right",paddingRight:a.sp3,marginTop:ae.infoLabelMarginTop.valuePx(o),color:A.colors.hero},valueToAdditionalLabel:n=>ge(n),singleSelectPickerField:{name:u(i,Jr),placeholder:Q.frequencyPlaceholder,style:{position:"relative"},capitalizeOptions:!0,showSubLabelsInSingleValue:!1,defaultValue:{selectedOption:e.creditCard.virtualCard.frequency.selectedOption,allOptions:v.map(n=>({label:n.name,value:n.code}))},valueToSubLabels:(n,x)=>s(n,x),textAlignment:"right",registerOptions:{required:!0,validate:n=>n!=null&&!!n.selectedOption}}})})]})},Kr=l.div`
|
|
260
260
|
display: flex;
|
|
261
261
|
flex-direction: row;
|
|
262
262
|
padding: ${a.sp2};
|
|
@@ -267,9 +267,9 @@ import{J as oe,a9 as Oa,cF as _a,V as r,aP as je,jq as Da,b$ as Ra,ac as za,aR a
|
|
|
267
267
|
border-bottom-left-radius: inherit;
|
|
268
268
|
border-bottom-right-radius: inherit;
|
|
269
269
|
}
|
|
270
|
-
`,
|
|
270
|
+
`,Zr=l(_e)`
|
|
271
271
|
color: ${e=>e.isOptionSelected?e.theme.colors.primary:e.theme.colors.grey1};
|
|
272
|
-
`,
|
|
272
|
+
`,Xr=l.label`
|
|
273
273
|
color: ${e=>e.theme.colors.hero};
|
|
274
274
|
width: 100%;
|
|
275
275
|
${e=>`${Hr.infoLabel.style(e.size)}`};
|
|
@@ -326,12 +326,12 @@ import{J as oe,a9 as Oa,cF as _a,V as r,aP as je,jq as Da,b$ as Ra,ac as za,aR a
|
|
|
326
326
|
background-color: ${e=>e.theme.colors.background};
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
|
-
`,
|
|
329
|
+
`,Y={containerPaddingBottom:new C(d[3],d[4]),sectionTitleContainerPadding:new C(d[2],d[3]),largeLabelWidth:new C(120,120,200),labelPaddingLeft:new C(d[3],d[4]),radioLabelPaddingLeft:new C(d[4],d[4]),radioLabelPaddingRight:new C(d[2],d[3]),labelPaddingRight:new C(d[4],d[4]),firstItemMarginTop:new C(d[4],d[2]),paddingLeft:new C(d[3],d[5])},{spendManagement:{chargeCard:{issueCard:W}}}=le.getLocalizedStrings(),ri=e=>{const{lineData:i,issueCardSectionId:t,cardHolderCandidates:m,userList:v,limit:f,creditLimitFrequency:D,allRoles:b,allAccountingClasses:T,hasMultipleLineItems:A,depositAccounts:o,isIssuePhysicalCardEnabled:S,isIssuePhysicalDebitCardEnabled:g,isDebitCardFeatureEnabled:s,isChargeCardFeatureEnabled:q,isChargeCardSetupEnabled:B,isDebitCardSetupEnabled:$,lineIndex:V,customAddress:c,userAddress:n,onRemoveIssueCardLine:x,companyAddress:L,maxPhysicalChargeCardPerUser:I,maxVirtualChargeCardPerUser:z,maxPhysicalDebitCardPerUser:j,maxVirtualDebitCardPerUser:O,cardsSectionRef:G,openAddAddressDrawerHandler:X,clearTentativeNameForLine:p,activeChargeCardCount:h,activeDebitCardCount:F}=e,y=oe(),R=Y.largeLabelWidth.value(y);return r.jsxs(di,{windowSize:y,ref:G,className:"cards-item",children:[A&&r.jsxs(si,{windowSize:y,children:[r.jsx(ni,{windowSize:y,children:`${W.card} ${V+1}`}),r.jsx(oi,{className:"deleteIconWrapper",windowSize:y,"data-testid":je("delete-icon",i.lineId),onClick:()=>{p?.(i.lineId??"1"),x(V)},children:r.jsx(Va,{enterDelay:600,title:W.deleteCard,placement:"left",children:r.jsx(ci,{})})})]}),r.jsxs(li,{showTopMargin:!A,windowSize:y,children:[s&&$&&q&&B?r.jsxs(r.Fragment,{children:[r.jsxs(ii,{children:[r.jsx(Z,{isContainerClickable:!0,label:{label:W.creditCard},style:{padding:`${a.sp3} ${a.sp0}`,paddingLeft:Y.labelPaddingLeft.value(y),borderTopLeftRadius:"inherit"},showOutline:!0,radioField:{name:u(t,"chargeCardType"),id:`${u(t,"chargeCardType")}.creditCard`,value:"credit_card",radioSize:"small"}}),r.jsx(ti,{}),r.jsx(Z,{isContainerClickable:!0,label:{label:W.debitCard},style:{padding:`${a.sp3} ${a.sp0}`,paddingLeft:Y.labelPaddingLeft.value(y),borderTopRightRadius:"inherit"},showOutline:!0,radioField:{name:u(t,"chargeCardType"),id:`${u(t,"chargeCardType")}.debitCard`,value:"debit_card",radioSize:"small"}})]}),r.jsx(Ue,{})]}):null,i.chargeCardType==="credit_card"?r.jsxs(r.Fragment,{children:[r.jsxs(Xe,{size:y,isDebitCardSetupEnabled:$,isDebitCardFeatureEnabled:s,children:[r.jsx(me,{label:W.type,htmlFor:u(t,"creditCard.cardType"),style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:Y.radioLabelPaddingLeft.value(y),paddingRight:Y.radioLabelPaddingRight.value(y),width:"fit-content"}}),r.jsxs(Ze,{labelWidth:R,children:[r.jsx(Z,{label:{label:W.virtualCard},style:{width:"auto"},radioField:{name:u(t,"creditCard.cardType"),id:`${u(t,"creditCard.cardType")}.${W.virtualCard}`,value:"business_virtual_credit_card",style:{height:a.sp3,width:a.sp3,opacity:S?1:0},radioSize:"small"}}),S&&r.jsx(Z,{label:{label:W.physicalCard},style:{width:"auto",paddingLeft:Y.paddingLeft.valuePx(y)},radioField:{name:u(t,"creditCard.cardType"),id:`${u(t,"creditCard.cardType")}.${W.physicalCard}`,value:"business_physical_credit_card",style:{height:a.sp3,width:a.sp3},radioSize:"small"}})]})]}),r.jsx(Ue,{}),i.creditCard.cardType==="business_physical_credit_card"?r.jsx(tr,{lineData:i,issueCardSectionId:`${t}`,limit:f,creditLimitFrequency:D,companyAddress:L,openAddAddressDrawerHandler:X,customAddress:c,userAddress:n,activeChargeCardCount:h,userList:v,allRoles:b,allAccountingClasses:T,maxPhysicalChargeCardPerUser:I}):r.jsx(Yr,{lineData:i,issueCardSectionId:`${t}`,cardHolderCandidates:m,limit:f,creditLimitFrequency:D,allRoles:b,allAccountingClasses:T,activeChargeCardCount:h,maxVirtualChargeCardPerUser:z})]}):null,i.chargeCardType==="debit_card"?r.jsxs(r.Fragment,{children:[r.jsxs(Xe,{size:y,isDebitCardSetupEnabled:$,isDebitCardFeatureEnabled:s,children:[r.jsx(me,{label:W.type,htmlFor:u(t,"debitCard.cardType"),style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:Y.radioLabelPaddingLeft.value(y),paddingRight:Y.radioLabelPaddingRight.value(y),width:"fit-content"}}),r.jsxs(Ze,{labelWidth:R,children:[r.jsx(Z,{label:{label:W.virtualCard},style:{width:"auto"},radioField:{name:u(t,"debitCard.cardType"),id:`${u(t,"debitCard.cardType")}.${W.virtualCard}`,value:"business_virtual_debit_card",style:{height:a.sp3,width:a.sp3,opacity:g?1:0},radioSize:"small"}}),g&&r.jsx(Z,{label:{label:W.physicalCard},style:{width:"auto",paddingLeft:Y.paddingLeft.valuePx(y)},radioField:{name:u(t,"debitCard.cardType"),id:`${u(t,"debitCard.cardType")}.${W.physicalCard}`,value:"business_physical_debit_card",style:{height:a.sp3,width:a.sp3},radioSize:"small"}})]})]}),r.jsx(Ue,{}),i.debitCard.cardType==="business_physical_debit_card"?r.jsx(Ur,{lineData:i,issueCardSectionId:`${t}`,creditLimitFrequency:D,companyAddress:L,openAddAddressDrawerHandler:X,customAddress:c,userAddress:n,depositAccounts:o,activeDebitCardCount:F,userList:v,allRoles:b,allAccountingClasses:T,maxPhysicalDebitCardPerUser:j}):r.jsx(fr,{lineData:i,issueCardSectionId:`${t}`,cardHolderCandidates:m,depositAccounts:o,creditLimitFrequency:D,allRoles:b,allAccountingClasses:T,activeDebitCardCount:F,maxVirtualDebitCardPerUser:O})]}):null]})]})},ii=l.div`
|
|
330
330
|
display: flex;
|
|
331
331
|
flex-direction: row;
|
|
332
332
|
border-top-left-radius: inherit;
|
|
333
333
|
border-top-right-radius: inherit;
|
|
334
|
-
`,
|
|
334
|
+
`,Ze=l.div`
|
|
335
335
|
display: flex;
|
|
336
336
|
flex-direction: row;
|
|
337
337
|
width: ${e=>`calc(100% - ${e.labelWidth}px)`};
|
|
@@ -343,7 +343,7 @@ import{J as oe,a9 as Oa,cF as _a,V as r,aP as je,jq as Da,b$ as Ra,ac as za,aR a
|
|
|
343
343
|
`,di=l.div`
|
|
344
344
|
display: flex;
|
|
345
345
|
flex-direction: column;
|
|
346
|
-
padding-bottom: ${e=>
|
|
346
|
+
padding-bottom: ${e=>Y.containerPaddingBottom.valuePx(e.windowSize)};
|
|
347
347
|
.deleteIconWrapper {
|
|
348
348
|
${e=>e.windowSize==="small"&&" display: block; "}
|
|
349
349
|
}
|
|
@@ -359,7 +359,7 @@ import{J as oe,a9 as Oa,cF as _a,V as r,aP as je,jq as Da,b$ as Ra,ac as za,aR a
|
|
|
359
359
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
360
360
|
box-shadow: ${e=>`${a.sp0} 1px 2px ${a.sp0} ${e.theme.colors.issueChargeCardBackgroundShadow}`};
|
|
361
361
|
border-radius: ${a.sp2};
|
|
362
|
-
margin-top: ${e=>e.showTopMargin?
|
|
362
|
+
margin-top: ${e=>e.showTopMargin?Y.firstItemMarginTop.valuePx(e.windowSize):a.sp0};
|
|
363
363
|
`,ti=l.div`
|
|
364
364
|
background-color: ${e=>e.theme.colors.grey3};
|
|
365
365
|
min-width: 1px;
|
|
@@ -370,13 +370,13 @@ import{J as oe,a9 as Oa,cF as _a,V as r,aP as je,jq as Da,b$ as Ra,ac as za,aR a
|
|
|
370
370
|
background-color: ${e=>e.theme.colors.grey3};
|
|
371
371
|
min-height: 1px;
|
|
372
372
|
max-height: 1px;
|
|
373
|
-
`,
|
|
373
|
+
`,Xe=l.div`
|
|
374
374
|
display: flex;
|
|
375
375
|
flex-direction: row;
|
|
376
376
|
align-items: flex-start;
|
|
377
377
|
background-color: ${e=>e.theme.colors.grey5};
|
|
378
378
|
min-height: ${a.sp6};
|
|
379
|
-
padding-right: ${e=>
|
|
379
|
+
padding-right: ${e=>Y.labelPaddingRight.valuePx(e.size)};
|
|
380
380
|
padding-top: ${a.sp2};
|
|
381
381
|
padding-bottom: ${a.sp2};
|
|
382
382
|
align-items: center;
|
|
@@ -391,7 +391,7 @@ import{J as oe,a9 as Oa,cF as _a,V as r,aP as je,jq as Da,b$ as Ra,ac as za,aR a
|
|
|
391
391
|
flex-direction: row;
|
|
392
392
|
justify-content: space-between;
|
|
393
393
|
align-items: center;
|
|
394
|
-
padding: ${e=>`${
|
|
394
|
+
padding: ${e=>`${Y.sectionTitleContainerPadding.valuePx(e.windowSize)} ${a.sp0}`};
|
|
395
395
|
`,ni=l(Wa)`
|
|
396
396
|
color: ${e=>e.theme.colors.primary};
|
|
397
397
|
`,oi=l.div`
|
|
@@ -407,7 +407,7 @@ import{J as oe,a9 as Oa,cF as _a,V as r,aP as je,jq as Da,b$ as Ra,ac as za,aR a
|
|
|
407
407
|
width: ${a.sp3};
|
|
408
408
|
height: ${a.sp3};
|
|
409
409
|
cursor: pointer;
|
|
410
|
-
`,Le={addCardButtonMarginBottom:new C(d[3],d[4]),addCardButtonMarginTop:new C(d[2],d[0]),addCardButtonPaddingTopBottom:new C(d[2],d[2]),addCardButtonPaddingLeftRight:new C(d[3],d[4])},ui={title:new be("standardMedium","standardMedium")},pi=({issueChargeCards:e,issueCardSectionId:i,cardHolderCandidates:t,userList:m,limit:v,creditLimitFrequency:f,allRoles:D,allAccountingClasses:b,isIssuePhysicalCardEnabled:T,isIssuePhysicalDebitCardEnabled:A,isDebitCardFeatureEnabled:o,isChargeCardFeatureEnabled:S,isChargeCardSetupEnabled:g,isDebitCardSetupEnabled:s,defaultCardType:q,getInitialLineFormData:B,clearTentativeNameForLine:$,companyAddress:V,containerRef:c,cardsSectionRef:n,openAddAddressDrawerHandler:x})=>{const{control:L,watch:I,setValue:z}=fe(),{fields:j}=Ba({name:i,control:L}),O=I(i,j),G=Math.max(...Object.keys(e.localData??{}).map(y=>Number(y)),0),
|
|
410
|
+
`,Le={addCardButtonMarginBottom:new C(d[3],d[4]),addCardButtonMarginTop:new C(d[2],d[0]),addCardButtonPaddingTopBottom:new C(d[2],d[2]),addCardButtonPaddingLeftRight:new C(d[3],d[4])},ui={title:new be("standardMedium","standardMedium")},pi=({issueChargeCards:e,issueCardSectionId:i,cardHolderCandidates:t,userList:m,limit:v,creditLimitFrequency:f,allRoles:D,allAccountingClasses:b,isIssuePhysicalCardEnabled:T,isIssuePhysicalDebitCardEnabled:A,isDebitCardFeatureEnabled:o,isChargeCardFeatureEnabled:S,isChargeCardSetupEnabled:g,isDebitCardSetupEnabled:s,defaultCardType:q,getInitialLineFormData:B,clearTentativeNameForLine:$,companyAddress:V,containerRef:c,cardsSectionRef:n,openAddAddressDrawerHandler:x})=>{const{control:L,watch:I,setValue:z}=fe(),{fields:j}=Ba({name:i,control:L}),O=I(i,j),G=Math.max(...Object.keys(e.localData??{}).map(y=>Number(y)),0),X=()=>{const y=O[O.length-1],R=B(O.length,Number(y.lineId)>G?String(Number(y.lineId)+1):String(G+1),t,f,m,e.depositAccounts,S,o,g,s,V,q);z(i,[...O,R]),setTimeout(()=>{Ha(n.current,c.current)},50)},p=y=>{z(i,O.filter((R,K)=>K!==y))},h=oe(),{spendManagement:{chargeCard:{issueCard:F}}}=le.getLocalizedStrings();return r.jsxs(hi,{ref:c,children:[O.map((y,R)=>r.jsx(ri,{lineIndex:R,lineData:y,issueCardSectionId:`${i}.${R}`,cardHolderCandidates:t,userList:m,limit:v,creditLimitFrequency:f,allRoles:D,allAccountingClasses:b,hasMultipleLineItems:O.length>1,clearTentativeNameForLine:$,onRemoveIssueCardLine:p,companyAddress:V,cardsSectionRef:n,openAddAddressDrawerHandler:x,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:T,isIssuePhysicalDebitCardEnabled:A,isDebitCardFeatureEnabled:o,isChargeCardFeatureEnabled:S,isChargeCardSetupEnabled:g,isDebitCardSetupEnabled:s},R)),r.jsxs(mi,{windowSize:h,onClick:()=>{X()},"data-testid":je("add-card-button"),children:[r.jsx(bi,{}),r.jsx(gi,{windowSize:h,children:F.addCard})]})]})},hi=l.div`
|
|
411
411
|
display: flex;
|
|
412
412
|
flex-direction: column;
|
|
413
413
|
`,mi=l.div`
|
|
@@ -433,7 +433,7 @@ import{J as oe,a9 as Oa,cF as _a,V as r,aP as je,jq as Da,b$ as Ra,ac as za,aR a
|
|
|
433
433
|
margin-right: ${a.sp2};
|
|
434
434
|
width: ${a.sp3};
|
|
435
435
|
height: ${a.sp3};
|
|
436
|
-
`,Ci="user",Qe="addressType",ea="physicalCard",aa="virtualCard",ma="lineInfo",ra="issueCardDetailPage",yi=100,ia=e=>`${e}_form`,{common:re,spendManagement:{chargeCard:{issueCard:Se}}}=le.getLocalizedStrings(),ga=e=>e!=null?{amount:e,currencyCode:re.currency.currencyCode,currencySymbol:re.currency.currencySymbol}:void 0,da=(e,i=!1)=>{const t={userIds:e.users.selectedUsers.map(m=>m.userId),cardName:e.cardName,amount:ga(e.amount),frequency:e.frequency.selectedOption};return i?{...t,connectedAccountId:e.connectedAccount.selectedOption}:t},la=(e,i=!1)=>{const t={userId:e.user.selectedUser,cardName:e.cardName,amount:ga(e.amount),frequency:e.frequency.selectedOption,addressType:e.addressType,addressId:e.addressId};return i?{...t,connectedAccountId:e.connectedAccount.selectedOption}:t},ne={containerPaddingLeft:new C(d[4],d[6],d[8]),containerPaddingRight:new C(d[4],d[6],d[8]),navbarHeight:new C(44,d[9]),closeIconMarginRight:new C(d[4],d[8]),rightSectionWidth:new C(d[12],58),footerTopPadding:new C(d[3],10)},fi={title:new be("standardMedium","largeSemiBold")},
|
|
436
|
+
`,Ci="user",Qe="addressType",ea="physicalCard",aa="virtualCard",ma="lineInfo",ra="issueCardDetailPage",yi=100,ia=e=>`${e}_form`,{common:re,spendManagement:{chargeCard:{issueCard:Se}}}=le.getLocalizedStrings(),ga=e=>e!=null?{amount:e,currencyCode:re.currency.currencyCode,currencySymbol:re.currency.currencySymbol}:void 0,da=(e,i=!1)=>{const t={userIds:e.users.selectedUsers.map(m=>m.userId),cardName:e.cardName,amount:ga(e.amount),frequency:e.frequency.selectedOption};return i?{...t,connectedAccountId:e.connectedAccount.selectedOption}:t},la=(e,i=!1)=>{const t={userId:e.user.selectedUser,cardName:e.cardName,amount:ga(e.amount),frequency:e.frequency.selectedOption,addressType:e.addressType,addressId:e.addressId};return i?{...t,connectedAccountId:e.connectedAccount.selectedOption}:t},ne={containerPaddingLeft:new C(d[4],d[6],d[8]),containerPaddingRight:new C(d[4],d[6],d[8]),navbarHeight:new C(44,d[9]),closeIconMarginRight:new C(d[4],d[8]),rightSectionWidth:new C(d[12],58),footerTopPadding:new C(d[3],10)},fi={title:new be("standardMedium","largeSemiBold")},Ki=({issueChargeCards:e,cardHolderCandidates:i,userList:t,companyName:m,allRoles:v,allAccountingClasses:f,isIssuePhysicalCardEnabled:D,isIssuePhysicalDebitCardEnabled:b,isDebitCardFeatureEnabled:T,isChargeCardFeatureEnabled:A,isDebitCardSetupEnabled:o,isChargeCardSetupEnabled:S,signedInUser:g,defaultCardType:s,onSaveChangesToLocalStore:q,onIssueCardClick:B,onDismissClick:$,resetCustomAddressByLineID:V,handleZeniLogoClick:c,openAddAddressDrawerHandler:n,clearTentativeNameForLine:x})=>{const{chargeCardConfig:{creditLimitFrequency:L},creditAccount:{limit:I},companyAddress:z}=e,j=oe(),O=E.useRef(null),G=E.useRef(null),[X,p]=E.useState(!0),[h,F]=E.useState(!0),y=E.useRef(null),R=E.useRef(null),[K,De]=E.useState(0),[Re,ya]=E.useState(0),[ve,fa]=E.useState(0),[xa,va]=E.useState(0),[wa,$a]=E.useState(e.localData);E.useEffect(()=>{const w=new IntersectionObserver(H=>{H.forEach(ce=>{ce.target===O.current&&p(ce.isIntersecting),ce.target===G.current&&F(ce.isIntersecting)})},{threshold:.1}),P=O.current,_=G.current;return P&&w.observe(P),_&&w.observe(_),()=>{P&&w.unobserve(P),_&&w.unobserve(_)}},[]);const Ce=Oa({mode:"all",reValidateMode:"onChange",defaultValues:E.useMemo(()=>sa(e.localData,i,L,t,e.depositAccounts,A,T,S,o,z,s),[e,i,L,t,A,T,S,o,z,s]),values:E.useMemo(()=>sa(e.localData,i,L,t,e.depositAccounts,A,T,S,o,z,s),[e.localData,e.depositAccounts,i,L,t,A,T,S,o,z,s])}),{isValid:La}=Ce.formState,Ne=w=>w.map(P=>({lineId:P.lineId,chargeCardType:P.chargeCardType,creditCard:{cardType:P.creditCard.cardType,virtualCard:da(P.creditCard[aa]),physicalCard:la(P.creditCard[ea])},debitCard:{cardType:P.debitCard.cardType,virtualCard:da(P.debitCard[aa],!0),physicalCard:la(P.debitCard[ea],!0)}})),Sa=async(w,P)=>{if(w!=null){const{lineInfo:_}=P,H=Number(w.split(".")[1]);if(w.includes("cardName")||w.includes("amount"))return;if(w.includes("physicalCard.user")){const ue=ke(w.split(".")[2]);_[H][ue].physicalCard.addressType=void 0,_[H].creditCard.physicalCard.addressId=void 0;const pe=_[H].lineId;e.customAddress[pe]?.addressId!=null&&V(pe,ue)}if(w.includes("physicalCard.addressType")){const ue=ke(w.split(".")[2]),pe=_[H][ue].physicalCard;if(pe[Qe]==="card_holder_personal_address"){const Me=pe[Ci].selectedUser;if(Me!=null){const Aa=e.userAddress[Me];_[H][ue].physicalCard.addressId=Aa.addressId}}else pe[Qe]==="company_address"&&(_[H][ue].physicalCard.addressId=z?.addressId)}const ce=Ne(_);q(ce)}};E.useEffect(()=>{const w=Ce.watch((P,{name:_})=>{_!=null&&P!=null&&_a(()=>Sa(_,P))});return()=>{w.unsubscribe()}});const ja=Ce.handleSubmit(()=>{if(La){const{lineInfo:w}=Ce.getValues(),P=Ne(w);q(P),B()}}),Pa=e.issueCardStatus.error?.message??re.strings.empty,Ta=e.issueCardStatus.error?.title??re.strings.empty,ze=E.useCallback(()=>{De(R.current?.scrollTop??0),Math.abs(K-Re)>yi&&ya(K),document.querySelectorAll(".cards-item").forEach((w,P)=>{const _=w.getBoundingClientRect();_.top>=0&&_.bottom<=window.innerHeight&&fa(P),_.top<window.innerHeight&&_.bottom>0&&va(P)})},[K,Re]);E.useEffect(()=>{const w=R.current;return w?.addEventListener("scroll",ze),()=>{w?.removeEventListener("scroll",ze)}},[ze,R]);const qe=e.localData;E.useEffect(()=>{if(ve!==null){const w=Math.max(0,ve-2),P=ve+1,_=qe.slice(w,P);$a(_)}},[ve,xa,qe]);const Ia=((w,P,_)=>w.length===0?[{cardId:"1",cardType:Ca(A,P,S,o,_)==="debit_card"?"business_virtual_debit_card":"business_virtual_credit_card",cardUUID:"1",limit:{amount:0,currencyCode:re.currency.currencyCode,currencySymbol:re.currency.currencySymbol}}]:w.map(H=>({cardId:H.lineId,cardType:H.chargeCardType==="credit_card"?H.creditCard.cardType:H.debitCard.cardType,cardUUID:H.lineId,limit:{amount:0,currencyCode:re.currency.currencyCode,currencySymbol:re.currency.currencySymbol}})))(wa,T,s),Ee=!(X&&h)||j==="small";return r.jsxs($i,{windowSize:j,children:[j!=="small"?r.jsxs(vi,{children:[r.jsxs(Oi,{children:[r.jsx(_i,{onClick:c,"data-testid":je("issue-card-nav-bar-zeni-logo")}),r.jsxs(Di,{showContent:g?.userEmailDomain==="zeni.ai",children:[r.jsx(Ri,{}),r.jsx(zi,{children:m})]})]}),r.jsx(Da,{cardArrProp:Ia,insertFromTop:K<Re,containerScale:1.2})]}):null,r.jsxs(wi,{windowSize:j,children:[r.jsxs(Si,{windowSize:j,shouldShowTitle:Ee,children:[Ee&&r.jsx(Li,{windowSize:j,children:Se.title}),r.jsx(ji,{windowSize:j,onClick:$,"data-testid":je("issue-card-nav-bar-close")})]}),r.jsxs(xi,{windowSize:j,ref:R,children:[j!=="small"?r.jsx(Pi,{ref:O,children:Se.title}):null,e.issueCardStatus.fetchState==="Error"?r.jsxs(Ti,{children:[r.jsx(Ai,{}),r.jsxs(Ii,{children:[r.jsx(ta,{style:{fontWeight:Ra.medium},children:Ta}),r.jsx(ta,{children:Pa})]})]}):null,r.jsx(za,{...Ce,children:r.jsx("form",{id:ia(ra),onSubmit:ja,children:r.jsx(pi,{issueChargeCards:e,issueCardSectionId:ma,cardHolderCandidates:i,userList:t,limit:I,creditLimitFrequency:L,allRoles:v,allAccountingClasses:f,getInitialLineFormData:ba,clearTentativeNameForLine:x,companyAddress:z,containerRef:R,cardsSectionRef:y,openAddAddressDrawerHandler:n,isIssuePhysicalCardEnabled:D,isIssuePhysicalDebitCardEnabled:b,isDebitCardFeatureEnabled:T,isChargeCardFeatureEnabled:A,isChargeCardSetupEnabled:S,isDebitCardSetupEnabled:o,defaultCardType:s})})})]}),r.jsx(Fa,{style:{zIndex:1,padding:ne.footerTopPadding.valuePx(j)},formId:ia(ra),helperStyle:{paddingTop:a.sp0,paddingBottom:a.sp0},primaryBtn:{label:Se.primaryBtnText,isLoading:e.issueCardStatus.fetchState==="In-Progress",style:{minWidth:110}},cancelBtn:{label:Se.secondaryBtnText,onClick:$,style:{minWidth:110}},separatorStyle:{marginRight:a.sp4}})]})]})},xi=l.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%;
|
|
@@ -529,4 +529,4 @@ import{J as oe,a9 as Oa,cF as _a,V as r,aP as je,jq as Da,b$ as Ra,ac as za,aR a
|
|
|
529
529
|
background-color: ${e=>e.theme.colors.hero};
|
|
530
530
|
`,zi=l(Na)`
|
|
531
531
|
color: ${e=>e.theme.colors.primary};
|
|
532
|
-
`,Fi=(e,i,t,m,v,f,D)=>({lineIndex:i,lineId:e.lineId??String(i+1),chargeCardType:e.chargeCardType,creditCard:{cardType:e.creditCard.cardType,virtualCard:{cardName:e.creditCard.virtualCard?.cardName??"",amount:e.creditCard.virtualCard?.amount?.amount??void 0,users:{allUsers:t,selectedUsers:t.filter(b=>e.creditCard.virtualCard?.userIds.includes(b.userId)),allNonUsers:[],selectedNonUsers:[]},frequency:{allOptions:m.map(b=>({label:b.name,value:b.code})),selectedOption:e.creditCard.virtualCard?.frequency}},physicalCard:{cardName:e.creditCard.physicalCard?.cardName??"",amount:e.creditCard.physicalCard?.amount?.amount??void 0,user:{allUsers:v,selectedUser:e.creditCard.physicalCard.userId},frequency:{allOptions:m.map(b=>({label:b.name,value:b.code})),selectedOption:e.creditCard.physicalCard?.frequency},addressType:e.creditCard.physicalCard?.addressType,addressId:e.creditCard.physicalCard?.addressId??D?.addressId}},debitCard:{cardType:e.debitCard.cardType,virtualCard:{cardName:e.debitCard.virtualCard?.cardName??"",amount:e.debitCard.virtualCard?.amount?.amount??void 0,users:{allUsers:t,selectedUsers:t.filter(b=>e.debitCard.virtualCard?.userIds.includes(b.userId)),allNonUsers:[],selectedNonUsers:[]},connectedAccount:{allOptions:f.map(b=>({label:b.accountName,value:b.id})),selectedOption:e.debitCard.virtualCard.connectedAccountId},frequency:{allOptions:m.map(b=>({label:b.name,value:b.code})),selectedOption:e.debitCard.virtualCard?.frequency}},physicalCard:{cardName:e.debitCard.physicalCard?.cardName??"",amount:e.debitCard.physicalCard?.amount?.amount??void 0,user:{allUsers:v,selectedUser:e.debitCard.physicalCard.userId},connectedAccount:{allOptions:f.map(b=>({label:b.accountName,value:b.id})),selectedOption:e.debitCard.physicalCard.connectedAccountId},frequency:{allOptions:m.map(b=>({label:b.name,value:b.code})),selectedOption:e.debitCard.physicalCard?.frequency},addressType:e.debitCard.physicalCard?.addressType,addressId:e.debitCard.physicalCard?.addressId??D?.addressId}}}),ba=(e,i,t,m,v,f,D,b,T,A,o,S)=>({lineIndex:e,lineId:i,chargeCardType:Ca(D,b,T,A,S),creditCard:{cardType:"business_virtual_credit_card",physicalCard:{cardName:"",amount:void 0,user:{allUsers:v,selectedUser:void 0},frequency:{allOptions:m.map(g=>({label:g.name,value:g.code})),selectedOption:"monthly"},addressType:void 0,addressId:o?.addressId},virtualCard:{cardName:"",amount:void 0,users:{allUsers:t,selectedUsers:[],allNonUsers:[],selectedNonUsers:[]},frequency:{allOptions:m.map(g=>({label:g.name,value:g.code})),selectedOption:"monthly"}}},debitCard:{cardType:"business_virtual_debit_card",physicalCard:{cardName:"",amount:void 0,user:{allUsers:v,selectedUser:void 0},frequency:{allOptions:m.map(g=>({label:g.name,value:g.code})),selectedOption:"monthly"},addressType:void 0,addressId:o?.addressId,connectedAccount:{allOptions:f.map(g=>({label:g.accountName,value:g.id})),selectedOption:f.length===1?f[0].id:void 0}},virtualCard:{cardName:"",amount:void 0,users:{allUsers:t,selectedUsers:[],allNonUsers:[],selectedNonUsers:[]},frequency:{allOptions:m.map(g=>({label:g.name,value:g.code})),selectedOption:"monthly"},connectedAccount:{allOptions:f.map(g=>({label:g.accountName,value:g.id})),selectedOption:f.length===1?f[0].id:void 0}}}}),Ca=(e,i,t,m,v)=>{if(v!=null){if(i&&m&&v==="debitCard")return"debit_card";if(e&&t&&v==="creditCard")return"credit_card"}return i&&m&&(!e||!t)?"debit_card":"credit_card"},sa=(e,i,t,m,v,f,D,b,T,A,o)=>{const S=[];return Object.values(e).forEach((g,s)=>{g?.lineId!=null&&S.push(Fi(g,s,i,t,m,v,A))}),S.length===0&&S.push(ba(0,"1",i,t,m,v,f,D,b,T,A,o)),{[ma]:S}};export{
|
|
532
|
+
`,Fi=(e,i,t,m,v,f,D)=>({lineIndex:i,lineId:e.lineId??String(i+1),chargeCardType:e.chargeCardType,creditCard:{cardType:e.creditCard.cardType,virtualCard:{cardName:e.creditCard.virtualCard?.cardName??"",amount:e.creditCard.virtualCard?.amount?.amount??void 0,users:{allUsers:t,selectedUsers:t.filter(b=>e.creditCard.virtualCard?.userIds.includes(b.userId)),allNonUsers:[],selectedNonUsers:[]},frequency:{allOptions:m.map(b=>({label:b.name,value:b.code})),selectedOption:e.creditCard.virtualCard?.frequency}},physicalCard:{cardName:e.creditCard.physicalCard?.cardName??"",amount:e.creditCard.physicalCard?.amount?.amount??void 0,user:{allUsers:v,selectedUser:e.creditCard.physicalCard.userId},frequency:{allOptions:m.map(b=>({label:b.name,value:b.code})),selectedOption:e.creditCard.physicalCard?.frequency},addressType:e.creditCard.physicalCard?.addressType,addressId:e.creditCard.physicalCard?.addressId??D?.addressId}},debitCard:{cardType:e.debitCard.cardType,virtualCard:{cardName:e.debitCard.virtualCard?.cardName??"",amount:e.debitCard.virtualCard?.amount?.amount??void 0,users:{allUsers:t,selectedUsers:t.filter(b=>e.debitCard.virtualCard?.userIds.includes(b.userId)),allNonUsers:[],selectedNonUsers:[]},connectedAccount:{allOptions:f.map(b=>({label:b.accountName,value:b.id})),selectedOption:e.debitCard.virtualCard.connectedAccountId},frequency:{allOptions:m.map(b=>({label:b.name,value:b.code})),selectedOption:e.debitCard.virtualCard?.frequency}},physicalCard:{cardName:e.debitCard.physicalCard?.cardName??"",amount:e.debitCard.physicalCard?.amount?.amount??void 0,user:{allUsers:v,selectedUser:e.debitCard.physicalCard.userId},connectedAccount:{allOptions:f.map(b=>({label:b.accountName,value:b.id})),selectedOption:e.debitCard.physicalCard.connectedAccountId},frequency:{allOptions:m.map(b=>({label:b.name,value:b.code})),selectedOption:e.debitCard.physicalCard?.frequency},addressType:e.debitCard.physicalCard?.addressType,addressId:e.debitCard.physicalCard?.addressId??D?.addressId}}}),ba=(e,i,t,m,v,f,D,b,T,A,o,S)=>({lineIndex:e,lineId:i,chargeCardType:Ca(D,b,T,A,S),creditCard:{cardType:"business_virtual_credit_card",physicalCard:{cardName:"",amount:void 0,user:{allUsers:v,selectedUser:void 0},frequency:{allOptions:m.map(g=>({label:g.name,value:g.code})),selectedOption:"monthly"},addressType:void 0,addressId:o?.addressId},virtualCard:{cardName:"",amount:void 0,users:{allUsers:t,selectedUsers:[],allNonUsers:[],selectedNonUsers:[]},frequency:{allOptions:m.map(g=>({label:g.name,value:g.code})),selectedOption:"monthly"}}},debitCard:{cardType:"business_virtual_debit_card",physicalCard:{cardName:"",amount:void 0,user:{allUsers:v,selectedUser:void 0},frequency:{allOptions:m.map(g=>({label:g.name,value:g.code})),selectedOption:"monthly"},addressType:void 0,addressId:o?.addressId,connectedAccount:{allOptions:f.map(g=>({label:g.accountName,value:g.id})),selectedOption:f.length===1?f[0].id:void 0}},virtualCard:{cardName:"",amount:void 0,users:{allUsers:t,selectedUsers:[],allNonUsers:[],selectedNonUsers:[]},frequency:{allOptions:m.map(g=>({label:g.name,value:g.code})),selectedOption:"monthly"},connectedAccount:{allOptions:f.map(g=>({label:g.accountName,value:g.id})),selectedOption:f.length===1?f[0].id:void 0}}}}),Ca=(e,i,t,m,v)=>{if(v!=null){if(i&&m&&v==="debitCard")return"debit_card";if(e&&t&&v==="creditCard")return"credit_card"}return i&&m&&(!e||!t)?"debit_card":"credit_card"},sa=(e,i,t,m,v,f,D,b,T,A,o)=>{const S=[];return Object.values(e).forEach((g,s)=>{g?.lineId!=null&&S.push(Fi(g,s,i,t,m,v,A))}),S.length===0&&S.push(ba(0,"1",i,t,m,v,f,D,b,T,A,o)),{[ma]:S}};export{Ki as default,ba as getInitialLineFormData,ia as uniqueFormName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as u,V as n,
|
|
1
|
+
import{J as u,V as n,cY as h,y as o,eV as b,u as t,R as f}from"./index-BR9aIv1A.js";import{n as r}from"./mui-C7Q1opAD.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]="7d949fa0-8d67-474a-b26f-a6be82117c20",e._sentryDebugIdIdentifier="sentry-dbid-7d949fa0-8d67-474a-b26f-a6be82117c20")}catch{}})();const i={width:new o(343,580,726),height:new o(t[6],t[6]),controlMinHeight:new o(t[4],t[4]),paddingTopBottom:new o(t[2],t[2]),marginRight:new o(t[2],t[2]),labelMarginLeft:new o(t[3],t[4]),labelMarginRight:new o(t[3],t[4]),labelMarginTop:new o(t[2],t[2])},c={infoLabel:new f("extraSmallRegular","smallRegular")};function $({isDisabled:e,label:a,additionalInfoLabel:d,addressValue:s,isOptional:g,style:p}){const l=u();return n.jsxs(y,{size:l,style:p,isDisabled:e!=null,children:[n.jsxs(x,{children:[n.jsx(h,{isOptional:g,isDisabled:e,label:a.label,style:{marginLeft:i.labelMarginLeft.value(l),marginRight:i.labelMarginRight.value(l),marginTop:i.labelMarginTop.value(l),width:a.width??"auto"}}),n.jsx(b,{...s,isDisabled:e,style:{minHeight:i.controlMinHeight.value(l),paddingTop:i.paddingTopBottom.valuePx(l),paddingBottom:i.paddingTopBottom.valuePx(l),maxWidth:a.width!=null?`calc(100% - ${a.width}px)`:"auto",display:"flex",flexGrow:1,...s.style}})]}),d?n.jsx(m,{size:l,children:d}):null]})}const m=r.label`
|
|
2
2
|
color: ${e=>e.theme.colors.grey1};
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: row;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as x,
|
|
1
|
+
import{J as x,cS as y,c_ as w,V as d,cY as v,y as l,eY as $,aP as T,F as z,p as g,u as i,R as B}from"./index-BR9aIv1A.js";import{n as s}from"./mui-C7Q1opAD.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]="e9258df4-96ef-4c80-8a4c-ab467653b462",e._sentryDebugIdIdentifier="sentry-dbid-e9258df4-96ef-4c80-8a4c-ab467653b462")}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])},D={infoLabel:new B("extraSmallRegular","smallRegular")},R=z.getLocalizedStrings();function H({isDisabled:e,label:o,addressValueField:r,additionalInfoLabel:h,showAdditionalInfoLabel:b=!1,style:f,hasHoverBorder:p,isOptional:u}){const a=x(),{formState:{errors:c}}=y(),n=w(c,r.name),m=n?h:R.commonSetUp.businessVerification.addressAdditionInfo;return d.jsxs(I,{size:a,style:f,isDisabled:e!=null,isError:n,hasHoverBorder:p??!0,"data-testid":T("labeled-address-value-field",r.name),children:[d.jsx(v,{isDisabled:e,isOptional:u,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(L,{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||n)&&d.jsx(M,{size:a,isError:n,children:m})]})]})}const I=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: flex-start;
|
|
@@ -30,16 +30,16 @@ import{J as x,cJ as y,ev as w,V as d,cO as v,y as a,e_ as $,aP as D,F as T,p as
|
|
|
30
30
|
background-color: ${e=>e.isDisabled===!0?e.theme.colors.grey5:e.isError?g.importantLight:e.theme.colors.background};
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
`,
|
|
33
|
+
`,L=s.div`
|
|
34
34
|
display: flex;
|
|
35
35
|
flex-direction: column;
|
|
36
36
|
width: ${e=>e.labelWidth!=null?`calc(100% - ${e.labelWidth}px)`:"auto"};
|
|
37
37
|
align-items: flex-end;
|
|
38
38
|
flex-grow: 1;
|
|
39
|
-
`,
|
|
39
|
+
`,M=s.label`
|
|
40
40
|
display: flex;
|
|
41
41
|
color: ${e=>e.isError?g.important:e.theme.colors.grey1};
|
|
42
|
-
${e=>`${
|
|
42
|
+
${e=>`${D.infoLabel.style(e.size)}`};
|
|
43
43
|
padding-right: 12px;
|
|
44
44
|
text-align: right;
|
|
45
45
|
`;export{H as C};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as a,V as i,
|
|
1
|
+
import{J as a,V as i,eL as o,cY as n,o as s,aP as r,y as c}from"./index-BR9aIv1A.js";import{c as b,n as f}from"./mui-C7Q1opAD.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]="62d2f8eb-c910-4ffc-9e51-7550bcaa8905",e._sentryDebugIdIdentifier="sentry-dbid-62d2f8eb-c910-4ffc-9e51-7550bcaa8905")}catch{}})();const y={width:new c(343,580,726)};function p({label:e,checkBoxField:l,style:t}){const d=a();return i.jsxs(h,{size:d,style:t,isDisabled:l.isDisabled,"data-testid":r(l.name,"labeled-check-box-field"),isSelected:l.defaultChecked??!1,children:[i.jsx(o,{...l,style:{...l.style}}),i.jsx(n,{isDisabled:l.isDisabled,label:e.label,labelStyle:e.style,htmlFor:l.name,style:{display:"flex",flex:1,minHeight:s.sp4,marginLeft:s.sp2,width:e.width,backgroundColor:"inherit",...e.style}})]})}const h=f.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
flex-direction: row;
|
|
@@ -13,4 +13,4 @@ import{J as a,V as i,eM as o,cO as n,o as s,aP as r,y as c}from"./index-rJQoaAfw
|
|
|
13
13
|
cursor: ${e=>e.isDisabled==="disabled"?"not-allowed":"pointer"};
|
|
14
14
|
pointer-events: ${e=>e.isDisabled==="disabled"||e.isDisabled==="readonly"?"none":"initial"};
|
|
15
15
|
}
|
|
16
|
-
`;export{
|
|
16
|
+
`;export{p as u};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as W,
|
|
1
|
+
import{J as W,cS as F,c_ as R,V as t,cY as H,y as x,aP as I,p as u,u as s,c$ as G,o as i,R as J,e as Q,F as X,eT as Y,B as q,dm as A,ct as K,bI as S,d0 as U,dN as Z,b as k,bG as ee,C as le}from"./index-BR9aIv1A.js";import{n as a}from"./mui-C7Q1opAD.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]="35b9b764-db2c-49b2-a290-bd8eed348e60",e._sentryDebugIdIdentifier="sentry-dbid-35b9b764-db2c-49b2-a290-bd8eed348e60")}catch{}})();const te=({allValues:e,selectedValue:r,name:o,onSelectedValueChanged:n,isDisabled:d,placeholder:h,isOptionRemovable:w=!0,addIconInCreateLabel:b,getLabelForId:m,tagProperties:f,hasError:j,style:c})=>{const y=Q(),$=Se(e,m),C=X.getLocalizedStrings().dropDowns,O=$.sort((l,p)=>l.label.localeCompare(p.label)),v=r!=null&&r?z(r,m):void 0,P={container:l=>({...l,width:"100%",...c}),menu:l=>({...l,backgroundColor:y.colors.grey5,borderRadius:i.sp1,boxShadow:`${i.sp0} 2px ${i.sp2} ${y.colors.dropShadowHover}`,border:`1px solid ${y.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${i.sp0} ${i.sp0} ${i.sp0}`,overflow:"hidden"}),menuList:l=>({...l,borderRadius:i.sp1}),input:(l,{selectProps:p})=>({...l,":after":{width:p.inputValue.length>0?i.sp0:"unset"}})},E=l=>t.jsxs(fe,{children:[t.jsx(me,{children:t.jsx(U,{fill:"currentColor",height:i.sp3,width:i.sp3})}),t.jsx(xe,{children:`${C.createOption} "${l}"`})]}),T=l=>{const{menuIsOpen:p,isFocused:D,isDisabled:L,selectProps:_}=l,{value:B}=_;return t.jsx(se,{menuIsOpen:p,isFocused:D,isDisabled:L,selectedValue:B,hasError:j,"data-testid":I("creatable-single-select-control",o),children:t.jsx(S.Control,{...l,className:"select-control",children:l.children})})},M=l=>t.jsx($e,{children:t.jsxs(S.SingleValue,{...l,children:[l.selectProps.menuIsOpen===!1&&f!=null&&f.isTagShownForOption(l.data.value)===!0&&t.jsx(we,{children:t.jsx(ye,{style:f.style,children:f.tagName})}),l.children]})}),N=l=>{const{selectProps:p}=l,{placeholder:D,value:L}=p;return t.jsx(S.Input,{...l,autoComplete:"new-password",placeholder:L==null?D:void 0,"data-testid":I("creatable-single-select-input",o),children:l.children})};return t.jsx(Y,{isMulti:!1,onCreateOption:l=>{const p=q(l);n(p)},onChange:l=>{w!==!1&&l?.value!=null&&v?.value===l.value?n(void 0):n(l?.value)},formatCreateLabel:l=>b===!0?E(l):`${C.otherOption} ${l}`,tabSelectsValue:!1,openMenuOnFocus:!0,"data-testid":I("creatable-single-select",o),classNamePrefix:"creatable-single-select-field",createOptionPosition:"last",allowCreateWhileLoading:!0,controlShouldRenderValue:!0,placeholder:h,menuPlacement:"auto",maxMenuHeight:288,defaultValue:v,value:v,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:T,Option:ae,Input:N,SingleValue:M,ValueContainer:ie,DropdownIndicator:ve,IndicatorSeparator:Ie,ClearIndicator:je,Placeholder:oe,MenuList:re},hideSelectedOptions:!1,styles:P,options:O,isClearable:!0,isSearchable:!0,isDisabled:d!=null},A())},ie=e=>t.jsx(S.ValueContainer,{...e,className:"select-value-container",children:e.children}),re=e=>{const{options:r,children:o,maxHeight:n,getValue:d}=e,[h]=d(),w=r.indexOf(h)*40;return t.jsx(K,{height:o.length>7?n:o.length*40,width:"100%",itemCount:o.length,itemSize:()=>40,initialScrollOffset:w,children:({index:b,style:m})=>t.jsx(pe,{style:m,children:o[b]})})},oe=()=>null,ae=e=>{const{isSelected:r,isDisabled:o,isFocused:n,data:d}=e,h=typeof d.label=="string"?d.label:d.value;return t.jsx(ne,{isFocused:n,isSelected:r,isDisabled:o,children:t.jsx(S.Option,{...e,className:"select-option",children:t.jsxs(de,{"data-testid":I("creatable-single-select-option",h),children:[t.jsx(he,{children:t.jsx(ce,{isSelected:r,isDisabled:o,children:e.label})}),r?t.jsxs(ue,{children:[t.jsx(ge,{className:"right-tick-icon"}),t.jsx(be,{className:"close-tick-icon"})]}):null]})})})},se=a.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
background-color: ${e=>e.theme.colors.grey5};
|
|
4
4
|
cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
|
|
@@ -141,19 +141,19 @@ import{J as W,cJ as F,ev as z,V as t,cO as H,y as x,aP as I,p as u,u as s,o as i
|
|
|
141
141
|
align-items: center;
|
|
142
142
|
padding: 3px 6px;
|
|
143
143
|
margin-right: ${i.sp2};
|
|
144
|
-
|
|
144
|
+
`,ye=a(Z)`
|
|
145
145
|
color: ${u.neutralGrey5Light};
|
|
146
146
|
border-radius: ${i.sp2};
|
|
147
147
|
padding: 3px 6px;
|
|
148
148
|
margin-left: 12px;
|
|
149
149
|
letter-spacing: 0.04em;
|
|
150
|
-
|
|
150
|
+
`,$e=a.div`
|
|
151
151
|
display: flex;
|
|
152
152
|
flex-direction: row;
|
|
153
153
|
justify-content: inherit;
|
|
154
154
|
align-items: center;
|
|
155
155
|
width: 100%;
|
|
156
|
-
`,ve=()=>null,Ie=()=>null,je=()=>null,Se=(e,r)=>e.map(o=>
|
|
156
|
+
`,ve=()=>null,Ie=()=>null,je=()=>null,Se=(e,r)=>e.map(o=>z(o,r)),z=(e,r)=>({value:e,label:r!==void 0?r(e):e}),Ce=({name:e,registerOptions:r,defaultValue:o,placeholder:n,isDisabled:d,style:h,addIconInCreateLabel:w,isOptionRemovable:b,tagProperties:m,onSelectChange:f,getLabelForId:j})=>{const{control:c,formState:{errors:y}}=F(),$=R(y,e??"");return t.jsx(G,{name:e,control:c,defaultValue:o,"data-testid":I("creatable-single-select-field",e),rules:r,render:({field:{value:C,onChange:O}})=>t.jsx(t.Fragment,{children:t.jsx(te,{onSelectedValueChanged:v=>{f?.(v??""),O({allOptions:o.allOptions,selectedOption:v})},placeholder:n,style:h,isDisabled:d,selectedValue:C.selectedOption,allValues:o.allOptions,addIconInCreateLabel:w,isOptionRemovable:b,getLabelForId:j,tagProperties:m,hasError:$,name:e})})})},g={width:new x(343,580,726),height:new x(s[6],s[6]),controlHeight:new x(s[6],s[6]),paddingTopBottom:new x(s[2],s[2]),marginRight:new x(s[2],s[2]),labelMarginLeft:new x(s[3],s[4]),labelMarginRight:new x(s[3],s[4]),labelMarginTop:new x(s[2],s[2])},Oe={infoLabel:new J("extraSmallRegular","smallRegular")};function Fe({isDisabled:e,label:r,creatableSingleSelectField:o,style:n,additionalInfoLabel:d,errorInfoLabel:h,isOptionRemovable:w,addIconInCreateLabel:b,additionalInfoTextColor:m,onSelectChange:f,getLabelForId:j}){const c=W(),{formState:{errors:y}}=F(),$=R(y,o.name??"");return t.jsxs(De,{size:c,style:n,isDisabled:e!=null,hasError:$,"data-testid":I("labeled-creatable-single-select-field",o.name),children:[t.jsx(H,{isDisabled:e,label:r.label,htmlFor:o.name,style:{marginLeft:g.labelMarginLeft.value(c),marginRight:g.labelMarginRight.value(c),marginTop:g.labelMarginTop.value(c),width:r.width??"auto"}}),t.jsxs(Le,{labelWidth:r.width,children:[t.jsx(Ce,{...o,isDisabled:e,style:{display:"flex",flexGrow:1,maxWidth:r.width!==null&&b===!1?`calc(100% - ${r.width}px)`:"auto",height:g.controlHeight.value(c)},onSelectChange:f,isOptionRemovable:w,addIconInCreateLabel:b,getLabelForId:j}),t.jsx(V,{size:c,additionalInfoTextColor:m,children:d}),$&&t.jsx(V,{size:c,hasError:$,children:h})]})]})}const De=a.div`
|
|
157
157
|
display: flex;
|
|
158
158
|
flex-direction: row;
|
|
159
159
|
align-items: flex-start;
|
|
@@ -195,10 +195,6 @@ import{J as W,cJ as F,ev as z,V as t,cO as H,y as x,aP as I,p as u,u as s,o as i
|
|
|
195
195
|
justify-content: flex-end;
|
|
196
196
|
flex-direction: column;
|
|
197
197
|
position: relative;
|
|
198
|
-
|
|
199
|
-
.creatable-single-select-field__menu {
|
|
200
|
-
margin-top: ${i.sp1} !important;
|
|
201
|
-
}
|
|
202
198
|
`,V=a.label`
|
|
203
199
|
color: ${e=>e.hasError===!0?u.important:e.additionalInfoTextColor!=null?e.additionalInfoTextColor:e.theme.colors.grey1};
|
|
204
200
|
width: auto;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import{J as U,cS as W,c_ as g,V as r,cY as j,y as l,eU as _,F as k,aP as N,u as i,o,p as O,R as A}from"./index-BR9aIv1A.js";import{n as d}from"./mui-C7Q1opAD.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]="5223ce5b-e414-4f35-b69c-37a4abfb7a3d",e._sentryDebugIdIdentifier="sentry-dbid-5223ce5b-e414-4f35-b69c-37a4abfb7a3d")}catch{}})();const a={width:new l(343,580,726),height:new l(i[6],i[6]),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])},J={infoLabel:new A("extraSmallRegular","smallRegular")};function H({label:e,isDisabled:t,isOptional:p,style:u,file:b,name:n,registerOptions:c,additionalInfoLabel:f,acceptableTypes:y,sizeLimit:w,filemetadataPayload:x,deleteFileStatusById:$,updateFileStatusById:z,filesEndPoint:P,authParams:F,hasError:S=!1,placeholderText:E,showPhotoPicker:v,useMobileCam:D,showUploadSuccessAnimation:I,showWebCamPopUpCloseIcon:T,updateFilesEntity:R,onDeleteFile:B,onEditFileName:L,onFileSizeError:M}){const s=U(),{formState:{errors:h}}=W(),m=g(h,n),C=g(h,`${n}.fileName`);return r.jsxs(V,{size:s,style:u,isDisabled:t!=null,"data-testid":N("document-field",n),children:[r.jsx(j,{isDisabled:t,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(Y,{labelWidth:e.width,size:s,children:[r.jsx(_,{name:n,filesEndPoint:P,authParams:F,registerOptions:c,file:b,sizeLimit:w,acceptableTypes:y,isDisabled:t==="disabled"||t==="readonly",filemetadataPayload:x,deleteFileStatusById:$,updateFileStatusById:z,hasError:S,updateFilesEntity:R,onFileSizeError:M,onDeleteFile:B,onEditFileName:L,placeholderText:E,showPhotoPicker:v,useMobileCam:D,showWebCamPopUpCloseIcon:T,showUploadSuccessAnimation:I}),m&&r.jsx(q,{size:s,isError:m,children:C&&b!=null?k.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:f})]})]})}const V=d.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: ${e=>e.size==="small"?"column":"row"};
|
|
4
|
+
align-items: flex-start;
|
|
5
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
6
|
+
width: ${e=>a.width.valuePx(e.size)};
|
|
7
|
+
min-height: ${e=>a.height.valuePx(e.size)};
|
|
8
|
+
padding-right: ${e=>a.marginRight.valuePx(e.size)};
|
|
9
|
+
padding-top: ${e=>a.paddingTopBottom.valuePx(e.size)};
|
|
10
|
+
padding-bottom: ${e=>a.paddingTopBottom.valuePx(e.size)};
|
|
11
|
+
|
|
12
|
+
:first-of-type {
|
|
13
|
+
border-top-left-radius: inherit;
|
|
14
|
+
border-top-right-radius: inherit;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
:last-of-type {
|
|
18
|
+
border-bottom-left-radius: inherit;
|
|
19
|
+
border-bottom-right-radius: inherit;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&:hover {
|
|
23
|
+
z-index: 1;
|
|
24
|
+
outline: 1px solid
|
|
25
|
+
${e=>e.isDisabled===!0?e.theme.colors.grey3:e.theme.colors.primary};
|
|
26
|
+
}
|
|
27
|
+
`,Y=d.div`
|
|
28
|
+
display: flex;
|
|
29
|
+
flex-direction: column;
|
|
30
|
+
width: ${e=>e.size==="small"?"100%":e.labelWidth!=null?`calc(100% - ${e.labelWidth}px)`:"auto"};
|
|
31
|
+
padding: ${e=>e.size==="small"?`${o.sp1} ${o.sp2} ${o.sp0} ${o.sp3}`:o.sp0};
|
|
32
|
+
box-sizing: ${e=>e.size==="small"?"border-box":"inherit"};
|
|
33
|
+
align-items: flex-end;
|
|
34
|
+
flex-grow: 1;
|
|
35
|
+
`,q=d.label`
|
|
36
|
+
display: flex;
|
|
37
|
+
color: ${e=>e.isError?O.important:e.theme.colors.grey1};
|
|
38
|
+
${e=>`${J.infoLabel.style(e.size)}`};
|
|
39
|
+
padding-right: ${o.sp3};
|
|
40
|
+
text-align: right;
|
|
41
|
+
`;export{H as Y};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as
|
|
1
|
+
import{J as V,e as C,cS as h,c_ as T,V as r,o,c$ as _,bR as F,b as J,gg as O,p as s,R as P,bG as A}from"./index-BR9aIv1A.js";import{n as i}from"./mui-C7Q1opAD.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]="c14e619f-c6c3-462b-9bc4-9a87a4d96909",e._sentryDebugIdIdentifier="sentry-dbid-c14e619f-c6c3-462b-9bc4-9a87a4d96909")}catch{}})();const G={infoLabel:new P("extraSmallRegular","smallRegular")};function K({isDisabled:e,label:a,formattedText:t,dropdownStyle:f,style:m,additionalInfoLabel:y,showAdditionalInfoLabel:w=!0,isSaveError:d=!1,showTickIcon:x,showErrorInfoLabel:$,errorInfoLabel:L,registerOptions:D,defaultValue:p,isSelectDisabled:k,menuPlacement:v,name:S,placeholderLabel:j}){const n=V(),g=C(),{formState:{errors:E}}=h(),c=T(E,t.name),{control:I}=h(),z=l=>typeof l=="string"?l.toLocaleUpperCase():l.toString().toLocaleUpperCase();return r.jsxs(M,{size:n,style:m,isDisabled:e!=null,isError:c||d,children:[r.jsx(N,{windowSize:n,style:{width:a?.width??"auto",marginRight:o.sp2},children:r.jsx(W,{style:{width:"auto",...f},children:r.jsx(_,{name:S,control:I,defaultValue:p.dropDownValue,rules:D,render:({field:{value:l,onChange:R}})=>r.jsx(F,{pickerValues:p.dropDownList.map(u=>u.code),valueToLabel:z,selectedValue:l??void 0,isDisabled:e!=null||k,onPickerSelectionChanged:u=>{R(u)},menuPlacement:v,titleTextStyle:J.standardRegular,titleColor:g.colors.hero,valueOpacity:1,backgroundColor:g.colors.grey5,placeholder:j})})})}),r.jsxs(U,{children:[r.jsx(O,{...t,style:t.style,isDisabled:t.isDisabled,isMasked:!0}),(w||c||d)&&r.jsxs(b,{size:n,isError:c||d,children:[x===!0?r.jsx(B,{children:r.jsx(H,{})}):null,y]}),$===!0&&r.jsx(b,{size:n,isError:!0,children:L})]})]})}const M=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as f,V as
|
|
1
|
+
import{J as f,V as o,cY as p,y as l,aP as g,u as t,o as a,al as u,R as c}from"./index-BR9aIv1A.js";import{n as d}from"./mui-C7Q1opAD.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]="06a19234-7b73-41f0-9e6f-fca2916eada6",e._sentryDebugIdIdentifier="sentry-dbid-06a19234-7b73-41f0-9e6f-fca2916eada6")}catch{}})();const i={width:new l(343,580,726),height:new l(t[6],t[6]),paddingTopBottom:new l(t[2],t[2]),marginRight:new l(t[2],t[2]),labelMarginLeft:new l(t[3],t[4]),labelMarginRight:new l(t[3],t[4]),labelMarginTop:new l(t[2],t[2])},y={infoLabel:new c("extraSmallRegular","smallRegular")};function z({label:e,value:r,additionalInfoLabel:s,style:h,infoLabelStyle:b}){const n=f();return o.jsxs(m,{size:n,style:h,"data-testid":g("labeled-text",e.label),children:[o.jsx(p,{label:e.label,style:{marginLeft:i.labelMarginLeft.value(n),marginRight:i.labelMarginRight.value(n),marginTop:i.labelMarginTop.value(n),width:e.width??"auto"}}),o.jsxs(x,{labelWidth:e.width,children:[o.jsx(w,{"data-testid":g("labeled-text-input",e.label),children:r}),s!=null?o.jsx($,{size:n,style:b,children:s}):null]})]})}const m=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: flex-start;
|
|
@@ -16,7 +16,7 @@ import{J as f,V as d,cO as p,y as l,aP as g,u as t,o as a,al as u,a as c}from"./
|
|
|
16
16
|
border-bottom-left-radius: inherit;
|
|
17
17
|
border-bottom-right-radius: inherit;
|
|
18
18
|
}
|
|
19
|
-
`,w=
|
|
19
|
+
`,w=d(u)`
|
|
20
20
|
display: flex;
|
|
21
21
|
border-width: ${a.sp0};
|
|
22
22
|
outline-width: ${a.sp0};
|
|
@@ -29,9 +29,9 @@ import{J as f,V as d,cO as p,y as l,aP as g,u as t,o as a,al as u,a as c}from"./
|
|
|
29
29
|
justify-content: flex-end;
|
|
30
30
|
margin-top: ${a.sp2};
|
|
31
31
|
margin-bottom: ${a.sp2};
|
|
32
|
-
`,x=
|
|
32
|
+
`,x=d.label`
|
|
33
33
|
width: ${e=>e.labelWidth!=null?`calc(100% - ${e.labelWidth}px)`:"100%"};
|
|
34
|
-
`,$=
|
|
34
|
+
`,$=d.label`
|
|
35
35
|
width: 100%;
|
|
36
36
|
display: flex;
|
|
37
37
|
justify-content: flex-end;
|
|
@@ -39,4 +39,4 @@ import{J as f,V as d,cO as p,y as l,aP as g,u as t,o as a,al as u,a as c}from"./
|
|
|
39
39
|
${e=>`${y.infoLabel.style(e.size)}`};
|
|
40
40
|
padding-right: ${a.sp3};
|
|
41
41
|
text-align: right;
|
|
42
|
-
`;export{
|
|
42
|
+
`;export{z as S};
|