@zeniai/web-app-ui 4.14.30-dev → 4.14.31-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-CQdbfxHV-BW88pIYa.js → ACHDetailsPage-CFhoboVe-JodbwPsQ.js} +2 -2
- package/dist/assets/{AIPerformancePage-jyNXVGMj-Bs4Wcfnt.js → AIPerformancePage-DB-fTWME-CgGQsnV1.js} +1 -1
- package/dist/assets/AccountInfoPage-pEEhPqOb-BzcKyQfW.js +18 -0
- package/dist/assets/AccountInfoPageContent-eYEsv7ac-vCK7G4bh.js +149 -0
- package/dist/assets/{AccountLockedInfoModal-EbQpyRJx-DeA2eRRt.js → AccountLockedInfoModal-jYWr_8TD-q_Ikf2Tn.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-CK1QV13E-BSUxm7rf.js → AccountReconDetailsDrawerPage-3Q0EPYhL-BH4of7uu.js} +2 -2
- package/dist/assets/{AccountRow-B3Sz6a-V-GlNhkavB.js → AccountRow-CdgvnPG8-Cz30EYLJ.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-DJtz56-u-D5uyYQuY.js → AccountsPromoCardStack-DHo59LLN-SJuuNn3m.js} +13 -13
- package/dist/assets/{AddAddressForCardDrawer-BDtxj9h6-Xx-rQDHp.js → AddAddressForCardDrawer-BzO1FXUa-Fyg_NOS1.js} +1 -1
- package/dist/assets/{AddToWalletPage-Czepun8f-MGSdB8OM.js → AddToWalletPage-BfXFbHjk-CMzYyYW2.js} +1 -1
- package/dist/assets/{AddressRoutes-CmvRhhab.js → AddressRoutes-B6KyTWyT.js} +1 -1
- package/dist/assets/{AddressScreen-Cb00RwYZ.js → AddressScreen-ZPcySSaO.js} +1 -1
- package/dist/assets/{AgingReportsPage-DzAVDq_i-BP-WG6Wy.js → AgingReportsPage-C1hFq4KH-Zi5GTQ1z.js} +8 -8
- package/dist/assets/{AiCfoScreen-CZVtCrsQ.js → AiCfoScreen-C7jQo3LZ.js} +1 -1
- package/dist/assets/{AllUserItems-BEoRQT-v-9OnCgvS-.js → AllUserItems-B6pnKByY-z-llp8Ld.js} +5 -5
- package/dist/assets/{ApAgingDetailPage-55JdoIHh-kk28-9yG.js → ApAgingDetailPage-CxLVGnpY-BrZpRxc6.js} +8 -8
- package/dist/assets/{AppBasePage-CLye29uw-B08L49eb.js → AppBasePage-DiVxF606-DEIAJtmX.js} +1 -1
- package/dist/assets/{AppDrawerContent-CDawrmfz-DqagnYqP.js → AppDrawerContent-B_EWsf8O-nCzxlMlY.js} +5 -5
- package/dist/assets/{ApprovalRulesSettingsPage-BHUZdWCO-tMTnXaFd.js → ApprovalRulesSettingsPage-HHjDp_NQ-Dk_su188.js} +1 -1
- package/dist/assets/{ArAgingChart-DeL9nNI7-Bj8y0fT6.js → ArAgingChart-Ba4A-i2N-DVKxnxLC.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-CuG65EQs-CXt16x8B.js → ArAgingDetailPage-prgcvsS4-B6KvY1N_.js} +1 -1
- package/dist/assets/{AttachmentView-C5anq6-B-BkQi2I92.js → AttachmentView-SsWJw4A8-CiFA7Mtk.js} +1 -1
- package/dist/assets/{BalancesInsightWithToolTip-1PK_fwhP-BOcx7wZs.js → BalancesInsightWithToolTip-DE6gDjGA-CuriAdQu.js} +4 -4
- package/dist/assets/{BankAccountSection-BUJoSOk8-BG4ByPDH.js → BankAccountSection-B4jmT0lb-D2VaI5gJ.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-BQaoV2yQ-BLOJsai8.js → BankAccountWarningSection-Bz2itMx0-EQdFts4P.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-DRDS5xzS-CGYqJS-4.js → BankConnectionsSettingsPage-BcVk7bTt-CcJ2zW2K.js} +9 -9
- package/dist/assets/{BillDetailPage-CtVVaqTN-BwEQZwAf.js → BillDetailPage-Dkqmi4H1-BFTmBvTz.js} +1 -1
- package/dist/assets/{BillPayApprovalRoutes-DwRul1Fq.js → BillPayApprovalRoutes-CB_WVdNG.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-6GHCsDkX-ClsaXk5H.js → BillPayApprovalRuleDetailPage-Blxlv3pa-NuWc5jPY.js} +4 -4
- package/dist/assets/{BillPayApprovalRulesPage-QKjq-qVP-DTJcefrH.js → BillPayApprovalRulesPage-B_QwggJS-Csxvsi8z.js} +1 -1
- package/dist/assets/{BillPayPromoPage-_n9uoXTN-DW34nsnh.js → BillPayPromoPage-Bx2AXpWe-DWku5Qhm.js} +11 -11
- package/dist/assets/{BillPayRoutes-D22Q6pQL.js → BillPayRoutes-9FjXpkgQ.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-DNYX24VA-DLV9gKNt.js → BillPaySetUpPage-CM7_DkHC-B8MycdyA.js} +1 -1
- package/dist/assets/{BillingSettingsPage-Btv3yiNs-M_OusRvc.js → BillingSettingsPage-DM0OIfxa-B3DQmXkS.js} +3 -3
- package/dist/assets/{BillsBulkReviewDrawerPage-BiLLeGke-Bs5f4SMl.js → BillsBulkReviewDrawerPage-C3xmQ7wz-DgU-ZFK3.js} +1 -1
- package/dist/assets/{BoxItem-Dqp4SNlI-EUjyx5Zm.js → BoxItem-CvCo0wr6-QhJ82HMO.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-_8Wg_S5G-ChiNdD4I.js → BusinessVerificationPage-BAZmkR4a-DKUcO_Rf.js} +3 -3
- package/dist/assets/{BusinessVerificationPageScreen-B_00ICvM.js → BusinessVerificationPageScreen-BKBP5CJh.js} +1 -1
- package/dist/assets/{BusyIndication-BZLVwIo8-6s8wSi7T.js → BusyIndication-Cp8KWKB2-C3oZ8Ini.js} +1 -1
- package/dist/assets/{CardNumberSubText-12zyW5qQ-c22fv1fM.js → CardNumberSubText-DHtSIcZZ-kHFdQu5S.js} +1 -1
- package/dist/assets/{CashbackDetailPage-B8-TDuv8-Dd6aEuJQ.js → CashbackDetailPage-CNS1FA6b-Clcw1gL0.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-Bdz5L2ko-CaBbXfBZ.js → ChargeCardDetailPage-C4NeG7IM-CcgpSGTB.js} +1 -1
- package/dist/assets/{ChargeCardListPage-EuJ1VXck-BU5r2hWM.js → ChargeCardListPage-DNYiWaEf-BZBAcxPe.js} +6 -6
- package/dist/assets/{ChargeCardListTable-SgjwYd8W-EVdaCbR4.js → ChargeCardListTable-DdnyzdFf-D27zGMD0.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage-BC2DkmZT--xdPwk1t.js → ChargeCardPaymentHistoryPage-CXlqzaUt-Cw-q5fHs.js} +10 -10
- package/dist/assets/ChargeCardPromoPage-D4canPX9-B2gMZ94L.js +222 -0
- package/dist/assets/{ChargeCardRoutes-DV8TKacG.js → ChargeCardRoutes-B9ifIaPD.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-ByLoLZE_-DIekUpHc.js → ChargeCardSetupPage-BtikPFOq-B1Q5Q-k4.js} +2 -2
- package/dist/assets/{ChargeCardStatementsPage-C4XdqPO1-BSM3bO35.js → ChargeCardStatementsPage-RepWBbvJ-BeTG3xG9.js} +2 -2
- package/dist/assets/{CheckDepositDrawerPage-D5X61CKc-CyEf-jUu.js → CheckDepositDrawerPage-BCqg3irO-LJQj-9cr.js} +1 -1
- package/dist/assets/{CollapsableReportTable-D7zD4-h0-CdsTnLhf.js → CollapsableReportTable-gy7Ue_fk-xkuj86hA.js} +2 -1
- package/dist/assets/{CompanyOfficerDetailsSection-w86_5FXJ-CDmgqN3N.js → CompanyOfficerDetailsSection-BsCx7q-g-C5hfQprP.js} +11 -11
- package/dist/assets/{CompanyPassportCard-tpE1lXug-CLl-IbcU.js → CompanyPassportCard-BbUWOs1U-Dw1HMrsN.js} +6 -6
- package/dist/assets/{CompanyPassportPage-bND99CJN-D7hjvVvQ.js → CompanyPassportPage-BnP2oA1U-BahIQeuB.js} +1 -1
- package/dist/assets/{CompanyPassportScreen-DR-zdvAJ.js → CompanyPassportScreen-CT9c7lvA.js} +1 -1
- package/dist/assets/{CompleteProfile-B5W07hcs-mOeGRg8M.js → CompleteProfile-TiRsm2Fm-fE1NUszo.js} +1 -1
- package/dist/assets/ConfettiBurst-D7J36hZf-CSVT9V2q.js +1 -0
- package/dist/assets/{ConnectionAuthScreen-D4VaoAIy.js → ConnectionAuthScreen-D6BkdM1l.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-bMF_z_bc.js → ConstrainedInnerElement-CgdnMeoA-vBI13ZbI.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-CrQh8JCh-BX5wTD-m.js → CreateOrEditVendorPage-Dihzr1D5-BUR2QFLa.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-BoVmLCHh-Blea7AvV.js → CreditCardPaymentDrawerPage-CZGzDuxC-BUIdND4_.js} +1 -1
- package/dist/assets/{CurrencySelectField-D2azwi1T-CSrQI1j0.js → CurrencySelectField-BTAmIqPa-rlZjvsTh.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-DxuEGe6X-BPuiwcIL.js → CustomerOnboardingActivationPage-MVI7kqIh-JD8ZqQ1I.js} +3 -3
- package/dist/assets/CustomerOnboardingAuthScreen-DsZqZ3Im.js +1 -0
- package/dist/assets/CustomerOnboardingContainerPage-DV3z4pR--zNlFTkjO.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DRGKainD-Y7JaILNu.js → CustomerOnboardingDetailPageSkeleton-CaI_0pCb-D_9R8ntI.js} +8 -8
- package/dist/assets/CustomerOnboardingNoStepsPage-CO_c2COV-CTf7zsp5.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-BXZSl2im-DDrc-wX_.js → CustomerOnboardingPage-BF0vuYaJ-DB-M7FrJ.js} +16 -16
- package/dist/assets/{CustomerOnboardingProductSuitePage-BJmYX0kI-C3qX-GBN.js → CustomerOnboardingProductSuitePage-BGFdLX1i-C8cOT0zx.js} +3 -3
- package/dist/assets/{CustomerOnboardingRoutes-DqfIHwc7.js → CustomerOnboardingRoutes-BiogvBuq.js} +1 -1
- package/dist/assets/{Dashboard-yhqyXPbZ-CPcltsfF.js → Dashboard-Qjedd4r--CRbsfODt.js} +26 -26
- package/dist/assets/{DashboardReportPage-BG4StCjY-CzFGaujV.js → DashboardReportPage-Deith_ON-D8fEi8Zc.js} +1 -1
- package/dist/assets/{DashboardRoutes-Bawz4pw0.js → DashboardRoutes-BQeGUCAH.js} +1 -1
- package/dist/assets/DashboardSidebarBackgroundAnimation-C7DfUDio-C16c7XTp.js +12 -0
- package/dist/assets/{DefaultTenantHome-B10KVon4.js → DefaultTenantHome-DDgedZUJ.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-5ZEPnNxa-3AfijWCl.js → DepositAccTransactionItem-7kYotKov-QpJvWZ45.js} +7 -7
- package/dist/assets/{DepositAccTransactionListPage-BR8d0Kun-DVyGTLJU.js → DepositAccTransactionListPage-Bop4Uj5w-oeif2Id9.js} +3 -3
- package/dist/assets/{DomesticWireDetailScreen-CMEoUywc.js → DomesticWireDetailScreen-6HCK_7TE.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-wGIWvhgQ-CmjPpsLr.js → DomesticWireDetailsPage-_TyXsqEx-BYHoiTtM.js} +4 -4
- package/dist/assets/{DownloadOverlay-SLvxfa6B-CQ7BxjF9.js → DownloadOverlay-Cmd727bN-C-PzxP5F.js} +14 -14
- package/dist/assets/{DrawerPage-CFdTV10k-BenpSUGv.js → DrawerPage-DmGwfnGp-soZmQNN_.js} +1 -1
- package/dist/assets/{DrawerScreen-B7BWNi51.js → DrawerScreen-C_1QezB2.js} +1 -1
- package/dist/assets/{EditPeoplePage-C-Y62PJ0-BgijqRCf.js → EditPeoplePage-YyluIC6R-B0i1VKsb.js} +5 -5
- package/dist/assets/{EditReimbursementDetailPage-BYpXof8e-CdyZTm2g.js → EditReimbursementDetailPage-DeMid2Ko-B5ltV9Cy.js} +14 -14
- package/dist/assets/EntityDetailPage-DPTSSZdS-CPjJOO2E.js +18 -0
- package/dist/assets/{EntityDetailRoutes-nFrPna9t.js → EntityDetailRoutes--mZVfECz.js} +1 -1
- package/dist/assets/{EntitySummarySection-B2uG3-Zh-DoF2hAYB.js → EntitySummarySection-5NbutA8l-DL6jpdFo.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-CrtNuarm-C8tGkYQU.js → ExpenseAutomationOverviewPage-CQ_3WluW-CCAAzH1q.js} +6 -6
- package/dist/assets/{ExpenseAutomationPage-CWPnIMSu-BUnHNcGe.js → ExpenseAutomationPage-VuU4acYd-BNMHy7wa.js} +1 -1
- package/dist/assets/{ExpenseAutomationRoutes-DxRmXEnL.js → ExpenseAutomationRoutes-DyeVLVvz.js} +1 -1
- package/dist/assets/{ExpressPayPage-CsI_DUc6-BKAOKKa9.js → ExpressPayPage-DhoNmyC2-BM7D8t94.js} +10 -10
- package/dist/assets/{FeaturePreviewPage-B67a68N9-BPSn99tM.js → FeaturePreviewPage-GSwhPxgP-CknFQRpv.js} +1 -1
- package/dist/assets/{FeaturePreviewScreen-D_cOMPjM.js → FeaturePreviewScreen-DcXxWeeZ.js} +1 -1
- package/dist/assets/{FollowStepsSection-CgjzMm02-DPMc3VYJ.js → FollowStepsSection-DaueHRo4-R5WhFSRV.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-CIfK-0rd-F3X4MQ4k.js → GlobalReviewListPage-DG7_1HOT-BY_P61_d.js} +1 -1
- package/dist/assets/{InformationCardStack-qKld10kr-IVC5wYc5.js → InformationCardStack-zc-BxR7F-Dc1qaC3e.js} +1 -1
- package/dist/assets/{InsightsCardStack-Bbh77o6f-Dr_8r9pW.js → InsightsCardStack-DxCA5sFh-BcClR9fT.js} +5 -5
- package/dist/assets/{InsightsSection-DgfCOO4F-rd7xZxVI.js → InsightsSection-BdFG3j3R-D7JeFV31.js} +7 -7
- package/dist/assets/{IntegrationsSettingsPage-BRQFeOLt-2BecY83T.js → IntegrationsSettingsPage-CaiL3kqS-BK30afn3.js} +3 -3
- package/dist/assets/{InternationalWireSwiftDetailsPage-DPemNncS-Datvi8oR.js → InternationalWireSwiftDetailsPage-BrQVSzeS-BpNTGybF.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-BOxXfIY5-D1lMmBlP.js → InternationalWireVerificationPage-NaLnhW9C-xEbEY4G_.js} +10 -10
- package/dist/assets/{InviteFormPage-BbbPCdh--Cb0-_CQ6.js → InviteFormPage-fjqv2l7h-CN7vzCNz.js} +1 -1
- package/dist/assets/{InvitePageListView-DqfrAulo-BtCqgsIl.js → InvitePageListView-CQecQhxr-D7nG5RDJ.js} +1 -1
- package/dist/assets/{InvitePeoplePage-CgTpZp4M-CYe0nmg8.js → InvitePeoplePage-DAEBuOnk-etA_btSE.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-DZOzTShz-BFwyUvOT.js → InvoiceUploadSection-58l6ePuH-DGEZcLC_.js} +8 -8
- package/dist/assets/{IssueChargeCardPage-x6dLcd-P-D7R8buXv.js → IssueChargeCardPage-Bkxqsgax-BZ-SKXi3.js} +8 -8
- package/dist/assets/{LabeledAddressValue-CY4Fn72d-VdKSkT_l.js → LabeledAddressValue-CZfFV97h-Bb57sB9z.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-D47ofJFV-CGqdgTnp.js → LabeledAddressValueField-D66XOhMx-DAzGEgKS.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-C_c8Rs-i-Cz1fNsx_.js → LabeledControlledCheckBoxField-BtnsqE4D-pO3EStbM.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-vRw9drBe-Bw1loTny.js → LabeledCountryMultiSelectField-kopByxLB-CVmx734o.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-CdF97ljM-DTrzefeb.js → LabeledCreatableSingleSelectField-B6An-cwq-ZwV4dPE-.js} +1 -1
- package/dist/assets/{LabeledDocumentField-Dn25Ru1C-CLM-i9xW.js → LabeledDocumentField-D_ZD8JTn-EgNCcbbj.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-C2sZjA-q-Bkuc_5w_.js → LabeledDropDownFormattedTextField-CJ7ncCzH-yHUhBReW.js} +1 -1
- package/dist/assets/{LabeledEmailInputField-DzAdekQn-BkQ7kdJx.js → LabeledEmailInputField-CSfzMDYO-Ccf6Bxv0.js} +1 -1
- package/dist/assets/{LabeledNameField-Dxx0xwMv-DBRkdNqp.js → LabeledNameField-DZJXGYR9-C9Z5T7ep.js} +1 -1
- package/dist/assets/{LabeledSingleSelectField-EO8TA_z_-C26qdLJU.js → LabeledSingleSelectField-D_LoOMiZ-CAsbCcep.js} +1 -1
- package/dist/assets/{LabeledText-Bo7B-LrF-DECCi3EJ.js → LabeledText-A1h_ionS-CcjmiFmI.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DD11_Map-ZtH1v-68.js → LabeledUserSingleSelectWithSubtitlesField-IYaUvqgY-EIyuSMIG.js} +4 -4
- package/dist/assets/{LabeledZeniRolesDropDownField-BJ99uBt1-DGvakh0f.js → LabeledZeniRolesDropDownField-DmynBXbJ-DglcXxDL.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-BiDoUKQW-xgKDBdnj.js → LinkJETransactionPage-D6-fL4a6-DlR8vjGO.js} +13 -13
- package/dist/assets/{LockCardPage-B1QOSByp-BfsUhZIZ.js → LockCardPage-BDlnh_zf-64lzFlF5.js} +10 -10
- package/dist/assets/{LowBalancePopup-Bl_PaIUx-yOClgIGf.js → LowBalancePopup-CBPl_udd-Nqllub28.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-eq8wlXQr-DwBTA9or.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BcNOhJgL-M9e4wRPN.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-Df8XYlkg-BKUO0J46.js +1 -0
- package/dist/assets/{MagicLinkRoutes-B-WHuq25.js → MagicLinkRoutes-B4rSGEA5.js} +1 -1
- package/dist/assets/{MagicLinkSignInScreen-BBwmXYDm.js → MagicLinkSignInScreen-DL54w9kv.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-CuL-7CWN-C2vVBJ4S.js → MagicLinkSuccessPage-Cl461HWp-DrFI3SFX.js} +6 -6
- package/dist/assets/{MagicLinkTitleSection-RYhrN820-BbeWYlVu.js → MagicLinkTitleSection-DoIMYrRv-BmkYYs3S.js} +1 -1
- package/dist/assets/MailingDetailsSection-NdwWGQ88-M0GYvrro.js +21 -0
- package/dist/assets/{MobileAppDrawer-CTcTm5tx.js → MobileAppDrawer-D4KAg1N8.js} +1 -1
- package/dist/assets/{MoreMenuButton-5MZl4h9B-BympoCwa.js → MoreMenuButton-CkkW1atP-BhjeSlOV.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-CBw6kNsm-DlddyW1w.js → MyBankConnectionsSettingsPage-BU6TBzI1-D2Qaudqr.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-BC4YjZtP-DfpXnRCt.js → MyPendingActivationChargeCardListPage-DcunCDU6-NjjjBd7F.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-DZ5M2BUN-CQ7zk2gg.js → MyProfileSettingsPage-DF7ahyXE-BjXkIrz2.js} +1 -1
- package/dist/assets/{NavBarWithPicker-C6FiaLu5-BVvTIBUE.js → NavBarWithPicker-D2v1fhLS-CH1wdNXM.js} +1 -1
- package/dist/assets/{NavigationArrow-BnAgR0wH-BYYktF7B.js → NavigationArrow-CWUL-6kN-DVve579d.js} +1 -1
- package/dist/assets/{NavigationDots-WUDG_g8M-CSwlLBTM.js → NavigationDots-c-XSrFzE-eujVKwdH.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-gAsCusVw-CA6lhup4.js → NewGlobalMerchantPage-FGEO68I8-XZyzhNzP.js} +1 -1
- package/dist/assets/{NoDataChart-BBYUjdKn-CaszePO0.js → NoDataChart-DJhSgtLu-BSak9fMr.js} +1 -1
- package/dist/assets/{NoDataTable-D3750d25-CC_2gGkK.js → NoDataTable-BZiwo2qK-Cb8q0aH6.js} +1 -1
- package/dist/assets/{NotFoundPage-C4D8Rn9E--AJk-xer.js → NotFoundPage-BN5unYX8-CqJlv_oy.js} +3 -3
- package/dist/assets/{NotFoundScreen-SRDW4_mE.js → NotFoundScreen-DxyQKnff.js} +1 -1
- package/dist/assets/{NotificationRoutes-BSrkx0LD.js → NotificationRoutes-DqG-dvkw.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-CD-t91ia-DJoX_UtT.js → NotificationSettingsPage-d8kHDj0M-Beqgksyi.js} +1 -1
- package/dist/assets/{NotificationsListConfig-C7JSE-eQ-DyT-ZhYk.js → NotificationsListConfig-ThKLok_w-B2H6cGPA.js} +1 -1
- package/dist/assets/{NotificationsPage-Be1v8niA-BlgDo9nE.js → NotificationsPage-Uvu6XESA-B1Rgn8VW.js} +1 -1
- package/dist/assets/{OpExByVendorPage-D1f1lQbs-BnyzfFJz.js → OpExByVendorPage-QyqRkD2_-D5R40Gs5.js} +5 -5
- package/dist/assets/{OverlayContainerPage-BG9y5C0t-DTorHW75.js → OverlayContainerPage-BG9y5C0t-C7rxXRm5.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DIYb7BWp-B3vKwRhN.js → PandLWithForecastPage-DJ2v5qbE-BEs_yDo8.js} +2 -2
- package/dist/assets/{PandLWithForecastRoutes-CsL0r0I3.js → PandLWithForecastRoutes-CRImnf0E.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-tGkjxbjY-CHrQD7Oe.js → PaymentAccountSetupBillingAddressSection-q5z8XZFC-DgyJWqIO.js} +6 -6
- package/dist/assets/{PeoplePage-xwAOX4Jk-BnzId5aB.js → PeoplePage-C5ZdpVyR-DYtjpv4S.js} +1 -1
- package/dist/assets/{PeopleRoutes-D-yY-A49.js → PeopleRoutes-BODLG-b6.js} +1 -1
- package/dist/assets/{PerformanceRoutes-DUxeAB_T.js → PerformanceRoutes-BqLOjKSO.js} +1 -1
- package/dist/assets/{Preview-k4ohm46R.js → Preview-C2UYzTeJ.js} +1 -1
- package/dist/assets/{ProductsCarousel-OHbYasaa-Bps9QCYO.js → ProductsCarousel-CXjLTOLy-BLUY71s0.js} +1 -1
- package/dist/assets/{PromoBaseCards-B_0dccCZ-BeKRkhdX.js → PromoBaseCards-CN9uZfG4-BbNgX9Bb.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-5ItNvdCA-D1LNYclF.js → QBOConnectionDialog-CXSi1Pd9-dALyjXGw.js} +2 -2
- package/dist/assets/{QBOConnectionScreen-BDwso3KZ.js → QBOConnectionScreen-Ac9DU04j.js} +1 -1
- package/dist/assets/{QBOSetupSection-CHZgQppe-Fu_QXCEh.js → QBOSetupSection-BrtLMvEP-DHfwqwJo.js} +3 -3
- package/dist/assets/{ReferralListScreen-DPkRtA1r.js → ReferralListScreen-BaUv0jQW.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRoutes-DyX9YlA9.js → ReimbursementApprovalRoutes-B3As-zjk.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CqZT111l-Th1QLQg3.js → ReimbursementApprovalRuleDetailPage-CS1BQ7pL-DnepdUba.js} +6 -6
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-BR6Wdj2J.js → ReimbursementApprovalRuleDetailScreen-gUYecGxU.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BzTe2nqd-DFHyb7gY.js → ReimbursementApprovalRulesPage-aLRkhkZB-BEmJZKcM.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-DM650uCR-BZojPp4W.js → ReimbursementDetailPage-Dr5BTvEq-mnlxt9h1.js} +7 -7
- package/dist/assets/{ReimbursementPromoPage-CitTg9s4-C6Ht-4dW.js → ReimbursementPromoPage-C5Z0mVhQ-nERw0M4a.js} +10 -10
- package/dist/assets/{ReimbursementRoutes-C4Yz_jbS.js → ReimbursementRoutes-vASJxFJ_.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-qphyaCoX-CvNz9jXQ.js → ReimbursementSetUpPage-CXhOBErm-CR6Shq7r.js} +5 -5
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CCJvQKip-BQLPbz53.js → ReimbursementsBulkReviewDrawerPage-CA0n0mau-Dwnq8e4l.js} +1 -1
- package/dist/assets/{ReloadCard-DMNbI6QE-C1j_tgy-.js → ReloadCard-Bjp8ygC2-fExG7Dij.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-CUG4hVI9-Bjuyu4DH.js → ReportTableViewSelector-DTk1dNWC-tS3w4hoK.js} +5 -5
- package/dist/assets/{ReportsPage-nuM-ub1p-CKOT47VZ.js → ReportsPage-DrjOGopt-CEvm9-2-.js} +4 -4
- package/dist/assets/{ReportsRoutes-DohAZqsL.js → ReportsRoutes-DYYeCY0N.js} +1 -1
- package/dist/assets/{RevenueChart-BL5Wb2UT-JQVA4c7e.js → RevenueChart-CqGvXDr4-BYM89H6k.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-CUolLJ6s-I5bNk9-1.js → ReviewDetailsPage-CWBP7FBN-D5XTlGGP.js} +17 -17
- package/dist/assets/{ReviewOverlay-A1OYNSqG-DCeKL3J7.js → ReviewOverlay-Cxkp85Kw-DWi1LLwl.js} +1 -1
- package/dist/assets/{RewardsRoutes-BjB7FD9l.js → RewardsRoutes-BcQjimjg.js} +1 -1
- package/dist/assets/{RoleWithToolTip-VOllzDDB-BXr_ucO6.js → RoleWithToolTip-CqLxmtj6-BxFgYmxI.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-By3U1RYU-Dut2stb8.js → ScheduleDetailsFixedAssetsPage-CYvlB3Nf-BjmGalLA.js} +3 -3
- package/dist/assets/{ScheduleDetailsPage-ButJHPUw-XhuUVDsI.js → ScheduleDetailsPage-CZXJ15tN-Cvz9LjHh.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-Dv831gVJ-OIQZXWKl.js → ScheduleSequenceTable-DNPID_7F-Dpy7XGsr.js} +14 -14
- package/dist/assets/{ScreenRoutes-B6WQ9uqs.js → ScreenRoutes-DMiG7sGl.js} +2 -2
- package/dist/assets/{SetUpAccountSection-BcNG0nDh-C2x0keC_.js → SetUpAccountSection-_WPR-q2V-D1in60I8.js} +1 -1
- package/dist/assets/{SettingsRoutes-U8aLQkxi.js → SettingsRoutes-Cq0IT0xM.js} +1 -1
- package/dist/assets/{SetupPagesScreen-KLzrKq5d.js → SetupPagesScreen-By_64UnM.js} +1 -1
- package/dist/assets/{SignIn-D80UITQm-CVsAto0V.js → SignIn-CDEsZw_T-CdZG3KKx.js} +7 -7
- package/dist/assets/{SignInScreen-g1CD9jiJ.js → SignInScreen-BbMIUMVO.js} +1 -1
- package/dist/assets/{SignOutScreen-Cclrjb6Y.js → SignOutScreen-D0CN7EZM.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-DSG6Son_-3Woa8ZKL.js → SpendManagementListViewPage-MOCWuROI-B6XDQZbP.js} +8 -8
- package/dist/assets/{SpendManagementPerTabPage-DiSu0RS1-Dj2U_5YO.js → SpendManagementPerTabPage-BeK0SCeE-uu94FLdi.js} +1 -1
- package/dist/assets/{SpendManagementSection-BXU3RGG8-BwEQ7fN8.js → SpendManagementSection-DZFPfKNi-a6NNMz0d.js} +14 -14
- package/dist/assets/StatementItem-DjvU5wiI-BbvkEOCR.js +31 -0
- package/dist/assets/{StatementsPage-Ck1xzA0w-CdWUN6DK.js → StatementsPage-DYLp_e7W-DQJFRbex.js} +1 -1
- package/dist/assets/{StatusSwitcher-_Cs3CzJl-D1XlTHt5.js → StatusSwitcher-jxaonB4S-BRWCrppB.js} +1 -1
- package/dist/assets/{SubTabSwitcher-D3ltE_yc-Ry1ed6uf.js → SubTabSwitcher-CudjNlsi-B0ZvqQ02.js} +1 -1
- package/dist/assets/SuccessAnimation-DE_x1Zz_-CSRw6QzL.js +13 -0
- package/dist/assets/SummaryCard-DPOhBmkr-Bkvd2_eX.js +1 -0
- package/dist/assets/{TaskDetailPage-CJKga1vr-ciDskCCR.js → TaskDetailPage-CXexRKAY-PJYd8Hc8.js} +1 -1
- package/dist/assets/{TaskListScreen-ksTObC06.js → TaskListScreen-D5r5oVZW.js} +1 -1
- package/dist/assets/{TaskManagementPage-BMwMSG1j-D-VvypFm.js → TaskManagementPage-CTMoHv0R-DqoYVk-e.js} +28 -28
- package/dist/assets/{TaskRoutes-C_cjp_9o.js → TaskRoutes-ByOGwdlB.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-B1Wx03tG-Br6TSwpo.js → TimeRangeSwitcher-SqY2MHGs-vaeYYQAs.js} +2 -2
- package/dist/assets/{TimeframeSwitcher-Dmtsdwi9-Ce3iuH6w.js → TimeframeSwitcher-BlJ2fuHy-C0bwk8vS.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-P5CfgTUd-DXOPf3Bj.js → TimeframeSwitcherWithToggle-Dgc1odUH-6AO25YrU.js} +2 -2
- package/dist/assets/{TopExCard-DQkr9Xhh-CEMSG53J.js → TopExCard-CG8YLsYe-Dhi0dyPE.js} +1 -1
- package/dist/assets/{TopExDetailPage-5Di6WUfV-hilBOr7-.js → TopExDetailPage-TvYCbzSP-CwBViHGc.js} +5 -5
- package/dist/assets/{TransactionActivityLogPage-R9LoW4DL-C_Mhlr8m.js → TransactionActivityLogPage-BL3vEAdU-CS7vD3qG.js} +1 -1
- package/dist/assets/{TransactionDetailPage-B-blHtkn-CbeGtCIa.js → TransactionDetailPage-DUouBL0o-BaXoqvey.js} +32 -32
- package/dist/assets/{TransactionDetailRoutes-CG9Ya3UI.js → TransactionDetailRoutes-B-UBtWLp.js} +1 -1
- package/dist/assets/{TransactionDetailScreen-DG1rRYuu.js → TransactionDetailScreen-B7XWRVbF.js} +1 -1
- package/dist/assets/{TransactionList-FQvTXSzy-oI0UZGJM.js → TransactionList-B16NONME-CRFiM4VM.js} +9 -9
- package/dist/assets/{TransactionListBig-CNDw7zRw-DTLpPxaS.js → TransactionListBig-CItPbTRV-UNSverIa.js} +1 -1
- package/dist/assets/TransactionListPage-DNecYY8M-BHlckINI.js +35 -0
- package/dist/assets/{TransactionListRoutes-BbWNwfVS.js → TransactionListRoutes-CMu9kV3q.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-Ch2UUF1f-DGdjSa3g.js → TransactionVendorDetailPage-DpqisXN8-D2bHcxtn.js} +1 -1
- package/dist/assets/{TransferDrawerPage-C1Ly_xKj-DX3atlS9.js → TransferDrawerPage-Dsmbswu0-uDwjyCTF.js} +21 -21
- package/dist/assets/{TreasuryOverviewPage-Zt5w8zfp-CedvlZd9.js → TreasuryOverviewPage-BcRpcYmB-OKQJLbcE.js} +21 -21
- package/dist/assets/{TreasuryPromoPage-BsP73kf7-etf9xlFS.js → TreasuryPromoPage-DOO_OMRa-8BGrxptq.js} +14 -14
- package/dist/assets/{TreasuryRoutes-CuQ3uJ15.js → TreasuryRoutes-Cb-myn_k.js} +1 -1
- package/dist/assets/TreasuryStatementsPage-A_U7bEy5-CYr3tH5Z.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-tHkQvX2V-pYxXn6xj.js → TreasuryTaxLetterPage-BsJn-BgX-D1G4s_HP.js} +3 -3
- package/dist/assets/TrendChart-GMMat-NG-DkIjx5iX.js +16 -0
- package/dist/assets/{TrendWithTransactions-DP1jZL1i-2bOe0VtV.js → TrendWithTransactions-CrA4opNV-BCS_tNQW.js} +7 -7
- package/dist/assets/{UncategorizedAccountsMappingPage-4mHyt2P6-BwcucbSK.js → UncategorizedAccountsMappingPage-CrzbFGOi-7c9nQkHm.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-BymmWe1G-DFsBuiFb.js → UnitIntegrationPage-XZY6zJa7-Bog6bLZs.js} +3 -3
- package/dist/assets/{UploadAdditionalDocumentOverlay-DUO2ZoU--ozi0LNFT.js → UploadAdditionalDocumentOverlay-eqwSLigx-Cfv8NRXy.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-8kpMx5RI-CGazITGN.js → Vendor2FAPopup-BHDivuPB-CB8oiip3.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-DJ4Crnr0-ChbQ_fot.js +1 -0
- package/dist/assets/{VendorDetailPage-C-JJfR0u-DCJ_f7dN.js → VendorDetailPage-DEu-yS8w-BHxBRvla.js} +7 -7
- package/dist/assets/VendorDomesticWireDetailsPage-WFcOmpiN-0MxyPK7N.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-B4vFgSwb-DDTykyPn.js → VendorFiling1099EditablePage-C461SzO0-Cw1duzzR.js} +6 -6
- package/dist/assets/{VendorFirstReviewPage-CUwdrbjH-DPvTVvHI.js → VendorFirstReviewPage-klbCHS04-yDjeltgT.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-BzP1zqhw-CAXXQP5N.js → VendorInternationalWireDetailsPage-DY0V-VbO-BJcPP-gp.js} +1 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-B8sx02I_-CFJY5gem.js +1 -0
- package/dist/assets/{VendorsAccountsSection-Drue-Lvz-DQRReXtk.js → VendorsAccountsSection-Cqcr-ArD-BIHA7sqx.js} +1 -1
- package/dist/assets/{VendorsRoutes-Buw6G1yr.js → VendorsRoutes-CgJOnYMS.js} +1 -1
- package/dist/assets/{VerifyDevice-B_NNzkjT-BkggAu3P.js → VerifyDevice-Dhu5iywf-CpE-kgrB.js} +9 -9
- package/dist/assets/{VideoPlayer-Bc4tAd79-Crbsq9LQ.js → VideoPlayer-ZGjx_Hp7-BHgQYkml.js} +1 -1
- package/dist/assets/VideoPopup-R3u0N_if-SR7jlWFi.js +31 -0
- package/dist/assets/{WiseConfirmationScreen-CEIT9jMF.js → WiseConfirmationScreen-BTkxegx5.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-BW6G2voE-DBU5fQds.js → ZeniAccountDetailPage-DQB7sXU9-ZmSVhLSw.js} +12 -12
- package/dist/assets/{ZeniAccountListViewPage-gNszI2XV-BLZmP_oZ.js → ZeniAccountListViewPage-BwXKgf6g-Ctizh7he.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-BP1IxZ18-ABeEpX-y.js → ZeniAccountNavBarPieces-CHUTFAWG-BmLRxXwk.js} +4 -4
- package/dist/assets/{ZeniAccountPromoPage-LsZxIdX9-D62PvtLZ.js → ZeniAccountPromoPage-BkfJuMNV-Ckl9m4pN.js} +1 -1
- package/dist/assets/{ZeniAccountRoutes-Bp_1In61.js → ZeniAccountRoutes-D71bZRux.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-BExQA9Cz-D04LOVK1.js → ZeniAccountSetupPage-C3drM4Zs-B_sQz9qJ.js} +1 -1
- package/dist/assets/{ZeniAccountStatementScreen-6LzJoR1o.js → ZeniAccountStatementScreen-BI6AQKJr.js} +1 -1
- package/dist/assets/{ZeniAvatar-5wP6sb3W-CKgtWCng.js → ZeniAvatar-C38T0-5--BSN8GGLN.js} +1 -1
- package/dist/assets/{ZeniCopyright-CMjFbDBQ-So_Gi_8l.js → ZeniCopyright-CznSgVJF-B8RRSTgM.js} +1 -1
- package/dist/assets/{ZeniDatePicker-C_YQpGe--CXBBhIwN.js → ZeniDatePicker-Bw9RlgoL-BmT27weB.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-CIu35Xz9-BCHS6-b-.js → ZeniTransferAmountSlider-C77DEl-C-CruP3RMa.js} +1 -1
- package/dist/assets/{accountMappingHelper-Ctd7yuH3.js → accountMappingHelper-B1SwIfFo.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-q_ZatOIu.js → add-to-wallet-DgdBD8_G-2vbkyqzY.js} +1 -1
- package/dist/assets/{analytics-Ci5SIN4_.js → analytics-Qgv3Fhaa.js} +1 -1
- package/dist/assets/{analyticsHelper-CG-L3dO7-WIHh4rd-.js → analyticsHelper-Bh8o1v3y-DbxZaMDt.js} +1 -1
- package/dist/assets/{analyticsHelper-CBcY8lmv.js → analyticsHelper-BtB7CtC3.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-BXAmISmi.js → arrow-south-east-round-PEovUgvH-CHgaZ-yo.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-Qtr813uy.js → auto-transfer-rule-mbafm5D3-BdBsn5Ol.js} +1 -1
- package/dist/assets/{avatar-Dz7aEm3d-lVrrjTFE.js → avatar-Dz7aEm3d-CxU8IzEu.js} +1 -1
- package/dist/assets/{bank-letter-BOcVjN6J-a5lcVCZG.js → bank-letter-BOcVjN6J-DhC6VHDB.js} +1 -1
- package/dist/assets/{calculateSize-CAxK0dN_-6AyeRPo8.js → calculateSize-QoQyn_Ku-BQL_mWcG.js} +1 -1
- package/dist/assets/{chartTypes-_AEkJ5Cg-CVupoc41.js → chartTypes-C14YY2Rq--XZc2xV6.js} +1 -1
- package/dist/assets/{clock-CJkylEKt-CBVPxBka.js → clock-CJkylEKt-BBrb7jeK.js} +1 -1
- package/dist/assets/common-Cu5K0AJk-Cxd55kqL.js +1 -0
- package/dist/assets/{commonDimensions-_Dpm4Anv-BHT-EeW2.js → commonDimensions-CVpc-NCw-CA0m656N.js} +1 -1
- package/dist/assets/{commonTypes-C64XobC6-BTobasZR.js → commonTypes-Ec-PxfpT-DzRDGsuT.js} +1 -1
- package/dist/assets/{core-oEkj6b51.js → core-CaikJZHD.js} +1 -1
- package/dist/assets/{dash.all.min-DZu0W7MW.js → dash.all.min-CteFsaah.js} +1 -1
- package/dist/assets/{decodeURIComponentSafe-AFO0vA4L.js → decodeURIComponentSafe-DcEFJStp.js} +1 -1
- package/dist/assets/{dnd-DwLm2ZWc.js → dnd-CzsffKNn.js} +1 -1
- package/dist/assets/{dollar-round-D18u7nlm-BxzwYsJa.js → dollar-round-D18u7nlm-BF4Thvjs.js} +1 -1
- package/dist/assets/{downloadPdf-BAZhe2iR-C4ju3Lqh.js → downloadPdf-BuPJ6cfr-Bn04BzVs.js} +1 -1
- package/dist/assets/{empty-fwRWXj2G.js → empty-B5B-FKq1.js} +1 -1
- package/dist/assets/{empty-CpgB6ACX.js → empty-CTO6rJhq.js} +1 -1
- package/dist/assets/{epic-qeTSmk29.js → epic-DtTDCbBB.js} +1 -1
- package/dist/assets/{filter-cZIFUNvj-Cn5LR_-W.js → filter-cZIFUNvj-CWbeOwgA.js} +1 -1
- package/dist/assets/{getLocaleForTenant-DZi5Q22y.js → getLocaleForTenant-dwEXf4rX.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-CByaMYJG.js → gift-box-Cmt9OgIZ-BfzCBGHZ.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-bzI3_a8w.js → graphic-no-data-l-DU4J8fDt-DEuKmvBU.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CaA33M1d.js → graphic-no-data-net-burn-l-CzmycA0m-CIA_wKU3.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-BxWewJRH.js → handshake-BPg58FML-Z_I5plJl.js} +1 -1
- package/dist/assets/{helper-D3UIpXq7-DCH1HBMI.js → helper-AgH8nJln-BDBxe9FK.js} +1 -1
- package/dist/assets/{hyperlink-DQyCeXx2-Dt5l5kWs.js → hyperlink-DQyCeXx2-Bwqrw7ES.js} +1 -1
- package/dist/assets/{index-Cpbn6-TN.js → index-B7wRNic7.js} +1 -1
- package/dist/assets/{index-DRNExedw.js → index-B9eknY8q.js} +1 -1
- package/dist/assets/{index-B5c5iTId.js → index-B9myuWEH.js} +1 -1
- package/dist/assets/{index-BE_133so.js → index-BL34svil.js} +1 -1
- package/dist/assets/{index-CjBlNHKF.js → index-CLf01Vy8.js} +1 -1
- package/dist/assets/{index-BHAcVHeH.js → index-CuxRoVvZ.js} +2726 -2726
- package/dist/assets/{lexical-BLFyyXBr.js → lexical-CXNTSpM4.js} +1 -1
- package/dist/assets/{liveblocks-Ia5FU_Xu.js → liveblocks--AdozwCz.js} +1 -1
- package/dist/assets/{lottie-DEK510sX.js → lottie-D86WIi_0.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-C_DjhqLk-Ct7OsbEi.js → mapLoadingInProgressToTreeNode-DTyQHWMc-tj_AEx0m.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BLsSfpaF-B_J7hTEH.js → mapSectionWithAcOnlyToTreeNode-D7pjBGp6-bV4CDhWS.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-Cd4FCXAf-9PB61B4X.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode--FHVcIix-D7muHBWz.js → mapTimeframeBalancesToTreeNode-Drhl_lnP-DCqw81Fp.js} +1 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-UsawmMLa-CPc-fd5T.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-D45Dn747-DMQQGP6s.js → mapTimeframeHeaderLoadingInProgressToTreeNode-B-aNuSSK-BaY2mTy_.js} +1 -1
- package/dist/assets/{media-player-uto_Jl5G.js → media-player-OnsEq_AY.js} +2 -2
- package/dist/assets/{money-2cg1MuG4-BmcWx6In.js → money-2cg1MuG4-CfgKOIyt.js} +1 -1
- package/dist/assets/{mui-Cni6P-fz.js → mui-G2MlMTlr.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-B9qcUnuN.js → page-detail-CWX5S47F-CWJ8fnGp.js} +1 -1
- package/dist/assets/{page-summary-D7_VQHwN-ZSqDN0WI.js → page-summary-D7_VQHwN-CaK_VLEF.js} +1 -1
- package/dist/assets/{panelSelectedMixin-Cddsb26L-BCo5ICo2.js → panelSelectedMixin-Cddsb26L-XfdQwEMM.js} +1 -1
- package/dist/assets/{pathToGoBack-BpMzEQ5A.js → pathToGoBack-Dh6AhADv.js} +1 -1
- package/dist/assets/{pdf-CTJ16aEe.js → pdf-DwfifS04.js} +3 -3
- package/dist/assets/{pdf-lib-BZoHbIry.js → pdf-lib-CuGtb6jg.js} +1 -1
- package/dist/assets/{plaid-B2vW8NaN.js → plaid-CcxzSXZd.js} +1 -1
- package/dist/assets/{pusher-DFtcQaPW.js → pusher-BNSVRSP_.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh--JwnmKdf.js → radio-default-CiSgisfh-CF7OSKL1.js} +1 -1
- package/dist/assets/{react-C70tWLg5.js → react-BEcxr4nX.js} +1 -1
- package/dist/assets/{react-cn6O__9s.js → react-BUDcsgZo.js} +1 -1
- package/dist/assets/{react-DZ1_qQub.js → react-C0Whd_8a.js} +1 -1
- package/dist/assets/{react-B0u9lmTz.js → react-Chqt_ss-.js} +1 -1
- package/dist/assets/{react-DKkpOD3_.js → react-Cobj-_wp.js} +3 -3
- package/dist/assets/{react-Cohr3oKl.js → react-DOvM9ag3.js} +1 -1
- package/dist/assets/{react-BxE_BeY2.js → react-V3TERlfD.js} +1 -1
- package/dist/assets/{react-jjkPSe6Z.js → react-WpjiT9jD.js} +1 -1
- package/dist/assets/{recharts-LlOU9oLm.js → recharts-3tylCZU1.js} +1 -1
- package/dist/assets/{routePaths-WWdcktge.js → routePaths-CkO80-xL.js} +1 -1
- package/dist/assets/{sentry-CY6wsJT-.js → sentry-Cm8I7E9J.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-CGZqPLdL.js → shield-DOlUxcFf-tt-dORuJ.js} +1 -1
- package/dist/assets/{spend-limit-D6SyboD4-DAZsY_K2.js → spend-limit-D6SyboD4-d-tIWfnn.js} +1 -1
- package/dist/assets/toCOABalancesWithID-wh35N3no-D_L2t0iR.js +1 -0
- package/dist/assets/{toChartData-BODe4y2V-CHAJ4Jnp.js → toChartData-G5y-N82I-CpDZEMyX.js} +1 -1
- package/dist/assets/{transaction-placeholder-CpOwZAMG-B7lzeBRq.js → transaction-placeholder-CpOwZAMG-CXIruzlf.js} +1 -1
- package/dist/assets/{undo-b_3XZ5CX-okXLDguZ.js → undo-b_3XZ5CX-5VNbpbUY.js} +1 -1
- package/dist/assets/{unlock-BPWn2I5L-BcwMx3a4.js → unlock-BPWn2I5L-8UNw8MhM.js} +1 -1
- package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-BLqHMVJK.js → upload-reimbursement-receipt-O2N8vcO7-BhCuFTsT.js} +1 -1
- package/dist/assets/{uploadAttachment-Dbumcc_g-LXlwbhth.js → uploadAttachment-RbkIBMGO-DWkpV7gc.js} +1 -1
- package/dist/assets/{uploadReceipts-CIgkuVpu-FU2oOS1s.js → uploadReceipts-CIgkuVpu-BxCHb2mc.js} +1 -1
- package/dist/assets/{url-Cv3aJ--T.js → url-BMzuxPwA.js} +1 -1
- package/dist/assets/{url-B5kkbwRv.js → url-CvhemPUG.js} +1 -1
- package/dist/assets/{useDeviceId-BWAR3Wtl.js → useDeviceId-BzlY8kf5.js} +1 -1
- package/dist/assets/{useInitialThreadRequest-DTIHWJqF.js → useInitialThreadRequest-CtiCksTW.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-BX_5sahW.js → useLongPress-GCK2COYQ-BgmUYGJ7.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-CuU9mWQv.js → usp-line-BBd1wKwW-BqojtCEK.js} +1 -1
- package/dist/assets/{utils-ChLimP28.js → utils-BhOlvYO8.js} +1 -1
- package/dist/assets/{withTransactionSidePanel-X05Jc0ej.js → withTransactionSidePanel-DXYKCsTM.js} +1 -1
- package/dist/assets/{zeni-epic-state-cFF_NqwA.js → zeni-epic-state-lC5X-sam.js} +7 -7
- package/dist/assets/{zeni-icon-only-jOM3nMPU.js → zeni-icon-only-DZ6h0uLr.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/AccountInfoPage-CiPtog_o-B4btRIXv.js +0 -18
- package/dist/assets/AccountInfoPageContent-Bj0kaRHv-CjMeZGo_.js +0 -149
- package/dist/assets/ChargeCardPromoPage-C-z0xtuN-qFHF_adM.js +0 -222
- package/dist/assets/ConfettiBurst-C0DFgWJj-DC0n_rE6.js +0 -1
- package/dist/assets/CustomerOnboardingAuthScreen-DLH-rYdF.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-DS0-65s7-CeH0I7wN.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-C--jDBQq-BgvTeh9S.js +0 -66
- package/dist/assets/DashboardSidebarBackgroundAnimation-DsWKmIXY-BuOmk2Nk.js +0 -12
- package/dist/assets/EntityDetailPage-CgDHg6g5-B_vQblwz.js +0 -18
- package/dist/assets/MagicLinkACHDetailsPage-l76_Y3sO-DBz5GRKZ.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-D_z_Q-jz-DriIOIxl.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-D276lsq_-ColrMYZA.js +0 -1
- package/dist/assets/MailingDetailsSection-D9_I-DTk-Cdb1WRS_.js +0 -21
- package/dist/assets/StatementItem-B1M65xN--D_j2q7nS.js +0 -31
- package/dist/assets/SuccessAnimation-RuQd1S4B-C9QgxngQ.js +0 -13
- package/dist/assets/SummaryCard-buadhnmc-COTvxgGf.js +0 -1
- package/dist/assets/TransactionListPage-BkZLtwmQ-DzH0F7Wk.js +0 -35
- package/dist/assets/TreasuryStatementsPage-DhXESeOi-uJElEPeD.js +0 -58
- package/dist/assets/TrendChart-B7Pox_TQ-7BkibFBY.js +0 -16
- package/dist/assets/VendorACHDetailsPage-BODHiiUQ-DmAQiimf.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-CVfEcUFJ-8ddL7pEj.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-Dgz0TPoZ-CYv9JR1l.js +0 -1
- package/dist/assets/VideoPopup-BYo5bzpU-BthyvsgQ.js +0 -31
- package/dist/assets/common-B74Sb4iG-Ba1Dna3Q.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-Dq4CasLR-BKZfs44u.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-BP0iF3Of-BZXMdjjY.js +0 -1
- package/dist/assets/toCOABalancesWithID-CuxwOBs0-D4IOrabU.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as N,e as j,V as o,a_ as Ie,gm as A,k as _e,m as s,O as y,o as r,a5 as C,a as K,w as T,bV as Te,x as h,d as _,M,l as V,f as k,aj as Me,u as Y,aA as J,gq as q,C as S,D as Be,bl as Oe,bd as We,ab as De,n as ue,H as B,
|
|
1
|
+
import{y as N,e as j,V as o,a_ as Ie,gm as A,k as _e,m as s,O as y,o as r,a5 as C,a as K,w as T,bV as Te,x as h,d as _,M,l as V,f as k,aj as Me,u as Y,aA as J,gq as q,C as S,D as Be,bl as Oe,bd as We,ab as De,n as ue,H as B,t as Ee,c2 as xe,at as Ne,gy as Q,ib as Ae,b_ as Ve,iN as we,L as fe,bG as $e,fS as v,P as He,iO as ye,bH as be}from"./index-CuxRoVvZ.js";import{a as w}from"./sentry-Cm8I7E9J.js";import{n as i}from"./mui-G2MlMTlr.js";import{C as ve}from"./gift-box-Cmt9OgIZ-BfzCBGHZ.js";import{m as Fe}from"./BusyIndication-Cp8KWKB2-C3oZ8Ini.js";import{f as Ke}from"./calculateSize-QoQyn_Ku-BQL_mWcG.js";import{GE as ee,GF as $,GG as z}from"./zeni-epic-state-lC5X-sam.js";import{y as Ge}from"./MoreMenuButton-CkkW1atP-BhjeSlOV.js";import"./pdf-DwfifS04.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";import"./bank-letter-BOcVjN6J-DhC6VHDB.js";import"./spend-limit-D6SyboD4-d-tIWfnn.js";import"./dollar-round-D18u7nlm-BF4Thvjs.js";import"./money-2cg1MuG4-CfgKOIyt.js";import"./page-summary-D7_VQHwN-CaK_VLEF.js";import"./transaction-placeholder-CpOwZAMG-CXIruzlf.js";import"./unlock-BPWn2I5L-8UNw8MhM.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]="3048e0ed-530e-426c-beb8-59169fd62552",e._sentryDebugIdIdentifier="sentry-dbid-3048e0ed-530e-426c-beb8-59169fd62552")}catch{}})();const je=(e,t)=>{w.useEffect(()=>{const n=e.current;if(window.IntersectionObserver==null)return;const c=new IntersectionObserver(([a])=>{t&&t(a.isIntersecting)},{root:null,rootMargin:r.sp0,threshold:.1});return n&&c.observe(n),()=>{n&&c.unobserve(n)}})},Ye={pageTitleMarginLeft:new h(s[4],s[6])},Je=i.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
width: 100%;
|
|
4
4
|
display: flex;
|
package/dist/assets/{InvitePeoplePage-CgTpZp4M-CYe0nmg8.js → InvitePeoplePage-DAEBuOnk-etA_btSE.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as ee,fl as ne,y as le,T as te,m as g,V as c,gd as oe,A as ie,b as se,a9 as re,o as ae,x as Z,c0 as N,fo as V,fp as W,fq as M,O as de,c2 as ce}from"./index-
|
|
1
|
+
import{e as ee,fl as ne,y as le,T as te,m as g,V as c,gd as oe,A as ie,b as se,a9 as re,o as ae,x as Z,c0 as N,fo as V,fp as W,fq as M,O as de,c2 as ce}from"./index-CuxRoVvZ.js";import{a as R}from"./sentry-Cm8I7E9J.js";import{n as G}from"./mui-G2MlMTlr.js";import{G0 as ue,bt as me}from"./zeni-epic-state-lC5X-sam.js";import{f as pe}from"./AllUserItems-B6pnKByY-z-llp8Ld.js";import"./pdf-DwfifS04.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";import"./LabeledEmailInputField-CSfzMDYO-Ccf6Bxv0.js";import"./LabeledZeniRolesDropDownField-DmynBXbJ-DglcXxDL.js";import"./RoleWithToolTip-CqLxmtj6-BxFgYmxI.js";import"./LabeledUserSingleSelectWithSubtitlesField-IYaUvqgY-EIyuSMIG.js";import"./avatar-Dz7aEm3d-CxU8IzEu.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="92144226-4ce9-4390-b27c-11538733e0b3",e._sentryDebugIdIdentifier="sentry-dbid-92144226-4ce9-4390-b27c-11538733e0b3")}catch{}})();const _={containerPaddingLeft:new Z(g[3],g[6],g[8]),containerPaddingRight:new Z(g[3],g[6],g[8]),buttonWidth:new Z(85,85)},Q="editPeoplePage",I="userItems",p=de.getLocalizedStrings().peoplePage,Ze=({peopleDetails:e,managersList:n,classList:f,controllersList:$,mode:l,isZeniTenant:x,onPeopleLocalDataUpdated:C,onCloseClick:O,onSaveClick:r,isReimbursementDisabled:w,isZeniAccountsDisabled:t,isChargeCardDisabled:j,isTreasuryDisabled:B,isBankingOnlyTenant:v,isCardsOnlyTenant:y,isLiteRoleDisabled:k})=>{const u=ee(),[Y,H]=R.useState(-1),[q,T]=R.useState(""),E=R.useRef(null),z=R.useMemo(()=>ne(w,t,j,v,y,k,B),[w,t,j,v,y,k,B]),J=le(),a=te({mode:"onBlur",reValidateMode:"onChange",defaultValues:F(e.people,l,z,n,f,v,y),values:F(e.people,l,z,n,f,v,y)}),K=a.handleSubmit(()=>{X()?r():console.warn("Invite People form error")}),X=()=>{const o=a.getValues();let i=!0;return o.userItems.forEach((L,P)=>{const{role:S,nonZeniRole:b,department:D,manager:d}=L;if(l==="zeni_only")S?.selectedOptions==null&&(a.setError(`${I}.${P}.role`,{type:"required"}),i=!1);else{const m=b?.userRole.selectedRole;(m!=null&&b!=null?b.productsByUserRole[m].map(s=>s.selectedOption).filter(s=>s!=null):[]).length<1&&(a.setError(`${I}.${P}.nonZeniRole.userRole.selectedRole`,{type:"required"}),i=!1),D?.selectedOption==null&&m!=="investor_or_banker"&&!v&&!y&&(a.setError(`${I}.${P}.department`,{type:"required"}),i=!1),d?.selectedUser==null&&m!=="investor_or_banker"&&(a.setError(`${I}.${P}.manager`,{type:"required"}),i=!1)}}),i};return R.useEffect(()=>{const o=a.watch((i,{name:L})=>{L!=null&&i!=null&&(async(P,S)=>{const b=[],{userItems:D}=S;D.forEach(d=>{let m={};if(l==="zeni_only")m={email:d.email,role:[d.role?.selectedOptions]};else{const s=d.nonZeniRole?.userRole.selectedRole;let h=[];s==="admin"||s==="investor_or_banker"?h.push(s):h=s!=null?(d.nonZeniRole?.productsByUserRole[s]??[]).map(U=>ue(U.selectedOption?.value)).filter(U=>U!=null):[],s==="employee"&&h.length===0&&(h=["reimbursements_user"]);const A=me(h);m={email:d.email,role:h,departmentId:A?void 0:d.department?.selectedOption?.value,managerId:A?void 0:d.manager?.selectedUser}}b.push(m)}),C(b)})(0,i)});return()=>{o.unsubscribe()}}),R.useEffect(()=>{const o=E.current,i=()=>{u!=="small"&&(o&&o?.scrollTop>g[9]?T(l==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):T(""))};return u==="small"?T(l==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):o&&o?.scrollTop<=g[9]&&T(""),o&&o.addEventListener("scroll",i),()=>{o&&o.removeEventListener("scroll",i)}},[l,q,u]),c.jsxs(c.Fragment,{children:[c.jsx(oe,{title:q,backgroundColor:J.colors.grey4,style:{zIndex:4},onCloseClick:O,isTitleAlignLeft:u==="small"}),c.jsxs(ge,{"data-testid":se("invite-people-container"),windowSize:u,ref:E,children:[u!=="small"?c.jsx(fe,{children:l==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title}):null,c.jsx(ie,{...a,children:c.jsx("form",{id:`${Q}_form`,onSubmit:K,children:c.jsx(pe,{control:a.control,sectionId:I,deleteConfirmationIndex:Y,updateDeleteConfirmationIndex:H,mode:l,isZeniTenant:x,classList:f,managersList:n,controllersList:$,isBankingOnlyTenant:v,isCardsOnlyTenant:y,customerRoleOptions:z,isEdit:!1})})})]}),c.jsx(re,{formId:`${Q}_form`,primaryBtn:{label:p.invitePage.invite,style:{width:_.buttonWidth.value(u)},isLoading:e.invitePersonState.fetchState==="In-Progress",isDisabled:e.invitePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:p.invitePage.cancel,style:{width:_.buttonWidth.value(u)},shouldResetOnCancel:!1,onClick:O},separatorStyle:{marginRight:ae.sp4}})]})},F=(e,n,f,$,l,x,C)=>{const O=[{userIndex:0,email:[],role:n==="zeni_only"?{allOptions:N.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:n==="off"?{userRole:{selectedRole:e[0]?.role.length>0?M(e[0].role):void 0,allRootRole:W(x,C)},productsByUserRole:V(e[0]?.role??[],f)}:void 0,department:void 0,manager:void 0}];return{[I]:e.length>0?e.map((r,w)=>({userIndex:w,email:r.email,role:n==="zeni_only"?{allOptions:N.roles,selectedOptions:r.role}:void 0,nonZeniRole:n==="off"?{userRole:{selectedRole:r.role.length>0?M(r.role):void 0,allRootRole:W(x,C)},productsByUserRole:V(r.role,f)}:void 0,department:{allOptions:l.map(t=>({label:t.fullyQualifiedAccountingClassName??"",value:t.classId,hoverText:t.accountingClassNumber})),selectedOption:l.map(t=>({label:t.fullyQualifiedAccountingClassName??"",value:t.classId,hoverText:t.accountingClassNumber})).find(t=>t.value===r.departmentId)},manager:{allUsers:$,selectedUser:r.managerId}})):O}},je=(e,n)=>`${e}.${n}`,ge=G.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as ae,e as se,O as
|
|
1
|
+
import{y as ae,e as se,O as W,V as t,L as G,o as i,f as d,x as j,fX as je,fY as ze,b as O,bR as Le,bS as Ee,bT as Te,t as Pe,at as de,m as g,w as ie,M as Be,n as Ae,C as ce,fZ as Ie}from"./index-CuxRoVvZ.js";import{a as o}from"./sentry-Cm8I7E9J.js";import{n as l}from"./mui-G2MlMTlr.js";import Re from"./AttachmentView-SsWJw4A8-CiFA7Mtk.js";import{l as De}from"./uploadReceipts-CIgkuVpu-BxCHb2mc.js";import{t as He}from"./upload-reimbursement-receipt-O2N8vcO7-BhCuFTsT.js";import"./pdf-DwfifS04.js";import"./zeni-epic-state-lC5X-sam.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},x=new e.Error().stack;x&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[x]="277e11f9-3100-4816-a9c2-e04e4d85280f",e._sentryDebugIdIdentifier="sentry-dbid-277e11f9-3100-4816-a9c2-e04e4d85280f")}catch{}})();const w={memoPaddingTopBottomRight:new j(12,g[3]),billReceiptSize:new j(60,g[10]),rootContainerPaddingTop:new j(g[3],62),rootContainerPaddingRight:new j(g[3],g[6]),rootContainerPaddingBottom:new j(g[5],g[9]),rootContainerPaddingLeft:new j(g[3],g[8])},le=l(Be)`
|
|
2
2
|
color: ${e=>e.isPlaceholderText===!0?e.theme.colors.grey1:e.theme.colors.hero};
|
|
3
3
|
white-space: pre-wrap;
|
|
4
4
|
text-align: center;
|
|
@@ -95,10 +95,10 @@ import{y as ae,e as se,O as G,V as t,L as N,o as i,f as d,x as j,fX as je,fY as
|
|
|
95
95
|
align-content: center;
|
|
96
96
|
align-items: center;
|
|
97
97
|
margin-top: ${i.sp3};
|
|
98
|
-
`,
|
|
98
|
+
`,Ne=l(ce)`
|
|
99
99
|
color: ${e=>e.windowSize==="small"&&e.themeContext.mode==="light"?e.theme.colors.primary:d.primaryDark};
|
|
100
100
|
margin-right: ${i.sp3};
|
|
101
|
-
`,
|
|
101
|
+
`,We=l.div`
|
|
102
102
|
color: ${e=>e.windowSize==="small"&&e.themeContext.mode==="light"?e.theme.colors.primary:d.primaryDark};
|
|
103
103
|
padding: ${i.sp1} ${i.sp2};
|
|
104
104
|
border: 1px solid ${e=>e.theme.colors.grey2};
|
|
@@ -114,7 +114,7 @@ import{y as ae,e as se,O as G,V as t,L as N,o as i,f as d,x as j,fX as je,fY as
|
|
|
114
114
|
margin: ${i.sp3} 0;
|
|
115
115
|
max-width: 330px;
|
|
116
116
|
text-align: center;
|
|
117
|
-
`,
|
|
117
|
+
`,Ge=l(He)`
|
|
118
118
|
color: ${e=>e.theme.colors.grey1};
|
|
119
119
|
margin-bottom: ${i.sp3};
|
|
120
120
|
`,Oe=l(e=>o.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},o.createElement("mask",{id:"mask0_623_1439",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:-16,width:72,height:88},o.createElement("rect",{y:-16,width:72,height:88,fill:"url(#paint0_linear_623_1439)"})),o.createElement("g",{mask:"url(#mask0_623_1439)"},o.createElement("path",{d:"M24.4551 10.7549C24.8693 10.7549 25.2051 11.0907 25.2051 11.5049V13.6938L28.3834 13.6938C28.7976 13.6938 29.1334 14.0296 29.1334 14.4438C29.1334 14.8581 28.7976 15.1938 28.3834 15.1938H22.4209C21.6794 15.1944 20.9613 15.4529 20.3896 15.925C19.8179 16.3972 19.4282 17.0536 19.2875 17.7816C19.1468 18.5096 19.2638 19.264 19.6184 19.9152C19.973 20.5662 20.543 21.0736 21.2306 21.3505L27.2968 23.7781C28.3078 24.1849 29.1457 24.9308 29.6669 25.8878C30.1881 26.8448 30.36 27.9534 30.1532 29.0234C29.9464 30.0933 29.3738 31.058 28.5335 31.7519C27.6933 32.4458 26.6377 32.8257 25.548 32.8265H25.2051V35.0149C25.2051 35.4292 24.8693 35.7649 24.4551 35.7649C24.0409 35.7649 23.7051 35.4292 23.7051 35.0149V32.8265H19.567C19.1528 32.8265 18.817 32.4907 18.817 32.0765C18.817 31.6623 19.1528 31.3265 19.567 31.3265H24.4327C24.4401 31.3263 24.4476 31.3262 24.4551 31.3262C24.4626 31.3262 24.47 31.3263 24.4775 31.3265H25.5469C26.2884 31.326 27.0066 31.0675 27.5784 30.5953C28.1501 30.1232 28.5398 29.4668 28.6805 28.7387C28.8212 28.0107 28.7042 27.2564 28.3496 26.6052C27.9951 25.9543 27.4253 25.4469 26.7378 25.1701L26.7369 25.1697L20.6712 22.7422C19.6602 22.3355 18.8223 21.5896 18.3011 20.6325C17.7799 19.6755 17.608 18.5669 17.8148 17.497C18.0216 16.427 18.5942 15.4624 19.4345 14.7684C20.2748 14.0745 21.3308 13.6946 22.4206 13.6938H23.7051V11.5049C23.7051 11.0907 24.0409 10.7549 24.4551 10.7549Z",fill:"#A6B0B1"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.0762 2.2644C37.4904 2.2644 37.8262 2.60019 37.8262 3.0144V17.4438C37.8262 18.0243 38.0568 18.581 38.4672 18.9915C38.8777 19.402 39.4344 19.6326 40.0149 19.6326H54.4443C54.8585 19.6326 55.1943 19.9684 55.1943 20.3826C55.1943 20.7968 54.8585 21.1326 54.4443 21.1326H40.0149C39.0366 21.1326 38.0984 20.7439 37.4066 20.0521C36.7148 19.3604 36.3262 18.4221 36.3262 17.4438V3.0144C36.3262 2.60019 36.662 2.2644 37.0762 2.2644Z",fill:"#A6B0B1"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7295 42.2959C17.7295 41.8817 18.0653 41.5459 18.4795 41.5459H42.5621C42.9763 41.5459 43.3121 41.8817 43.3121 42.2959C43.3121 42.7101 42.9763 43.0459 42.5621 43.0459H18.4795C18.0653 43.0459 17.7295 42.7101 17.7295 42.2959Z",fill:"#A6B0B1"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7295 52.2962C17.7295 51.882 18.0653 51.5462 18.4795 51.5462L40.7106 51.5461C41.1248 51.5461 41.4606 51.8819 41.4606 52.2961C41.4606 52.7104 41.1248 53.0461 40.7106 53.0461L18.4795 53.0462C18.0653 53.0462 17.7295 52.7104 17.7295 52.2962Z",fill:"#A6B0B1"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.7295 31.9541C37.7295 31.5399 38.0653 31.2041 38.4795 31.2041H48.1263C48.5406 31.2041 48.8763 31.5399 48.8763 31.9541C48.8763 32.3683 48.5406 32.7041 48.1263 32.7041H38.4795C38.0653 32.7041 37.7295 32.3683 37.7295 31.9541Z",fill:"#A6B0B1"})),o.createElement("rect",{x:40.75,y:40.75,width:30.5,height:30.5,rx:15.25,stroke:"#A6B0B1",strokeWidth:1.5}),o.createElement("path",{d:"M63.1838 60.0608V61.3101C63.1836 61.807 62.9861 62.2834 62.6348 62.6348C62.2835 62.9861 61.807 63.1836 61.3101 63.1837H50.69C50.1931 63.1837 49.7166 62.9863 49.3652 62.635C49.0138 62.2836 48.8164 61.807 48.8164 61.3101V60.0608",stroke:"#A6B0B1",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M55.5502 49.191C55.6639 49.0732 55.8234 49 56 49C56 49 56 49 56 49C56.0071 49 56.0143 49.0001 56.0214 49.0004C56.1742 49.0055 56.3254 49.0664 56.4421 49.1831L61.0135 53.7545C61.2576 53.9986 61.2576 54.3943 61.0135 54.6384C60.7694 54.8824 60.3737 54.8824 60.1296 54.6384L56.625 51.1337V60.7976C56.625 61.1427 56.3452 61.4226 56 61.4226C55.6548 61.4226 55.375 61.1427 55.375 60.7976V51.134L51.8707 54.6384C51.6266 54.8824 51.2308 54.8824 50.9868 54.6384C50.7427 54.3943 50.7427 53.9986 50.9868 53.7545L55.5502 49.191Z",fill:"#A6B0B1"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.8739 3.50002C37.1624 3.49921 37.4482 3.55546 37.7149 3.66552C37.9816 3.77558 38.224 3.93737 38.428 4.14141L54.3387 20.0521C54.7491 20.4624 54.9797 21.0193 54.98 21.5996L54.9696 40.7471H56.4696L56.48 21.5993C56.4798 20.621 56.091 19.6829 55.3992 18.9913L39.4887 3.08083C39.145 2.73695 38.7366 2.46443 38.2871 2.27894C37.838 2.0936 37.3567 1.99881 36.8708 2.00001H12.6888C11.7105 2.00001 10.7722 2.38865 10.0804 3.08043C9.38864 3.77222 9 4.71048 9 5.68881V59.4034C9 60.3817 9.38864 61.32 10.0804 62.0117C10.7722 62.7035 11.7105 63.0922 12.6888 63.0922H42.0703V61.5922H12.6888C12.1083 61.5922 11.5516 61.3615 11.1411 60.9511C10.7306 60.5406 10.5 59.9839 10.5 59.4034V5.68881C10.5 5.1083 10.7306 4.55158 11.1411 4.1411C11.5516 3.73062 12.1083 3.50002 12.6888 3.50002H36.8718L36.8739 3.50002Z",fill:"#A6B0B1"}),o.createElement("defs",null,o.createElement("linearGradient",{id:"paint0_linear_623_1439",x1:36,y1:-16,x2:36,y2:72,gradientUnits:"userSpaceOnUse"},o.createElement("stop",{stopColor:"#C9ABC7",stopOpacity:0}),o.createElement("stop",{offset:1e-4,stopColor:"#C9ABC7"})))))`
|
|
@@ -124,17 +124,17 @@ import{y as ae,e as se,O as G,V as t,L as N,o as i,f as d,x as j,fX as je,fY as
|
|
|
124
124
|
width: ${i.sp7};
|
|
125
125
|
height: ${i.sp7};
|
|
126
126
|
color: ${e=>e.theme.colors.hero};
|
|
127
|
-
`,
|
|
127
|
+
`,N=l(ce)`
|
|
128
128
|
color: ${d.important};
|
|
129
|
-
`,
|
|
129
|
+
`,Je=({type:e="bill",attachmentIdBeingUploaded:x,uploadError:f,uploadErrorMsg:y,showAutofill:m,allowMultiFiles:L=!1,customError:E,dropFilePlaceholder:n,showInfoText:R,showTitlebar:T,pdfTitle:D,openSizeLimitPopup:H,onUploadAttachment:k,uploadStatus:P})=>{const C=ae(),[M,b]=o.useState(!1),v=function(r){r.preventDefault(),r.stopPropagation(),r.type==="dragenter"||r.type==="dragover"?b(!0):r.type==="dragleave"&&M&&b(!1)},p=se(),B=o.useRef(null),S=W.getLocalizedStrings().spendManagement.billPay.billDetails,V=P!=null?P.fetchState=="In-Progress":x;return t.jsxs(Ve,{showTitlebar:T,windowSize:p,type:e,children:[T===!0?t.jsx(qe,{windowSize:p,type:e,children:D}):null,V==1?t.jsx(pe,{children:e==="receipt"?t.jsx(G,{size:"Large",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",padding:"1.5rem",borderRadius:"100%",backgroundColor:`${C.mode==="light"?d.backgroundThemeLight:d.backgroundThemeDark}`,border:`2px solid ${C.mode==="light"?d.neutralGrey3Light:d.neutralGrey3Dark}`,boxShadow:`${i.sp0} 2px ${i.sp1} ${C.mode==="light"?d.dropShadowNormalLight:d.dropShadowNormalDark}`}}):t.jsx(G,{size:"ExtraLarge",start:!0})}):t.jsx(Ye,{windowSize:p,showAutofill:m,type:e,children:t.jsxs(Me,{windowSize:p,onClick:()=>{B.current?.click()},onDragEnter:v,onDragLeave:v,onDragOver:v,onDrop:function(r){if(r.preventDefault(),r.stopPropagation(),b(!1),r.dataTransfer.files.length>0){const c=r.dataTransfer.files;if(L){const a=[],h=[];for(let s=0;s<c.length;s++)a.push(c[s].name),h.push(c[s]);k?.(h,a,"dragdrop")}else{const a=c[0];k?.([a],[a.name],"dragdrop")}}},"data-testid":O("upload-tag",e),children:[t.jsxs(_e,{onDragEnter:v,children:[e==="receipt"?t.jsx(Ge,{width:w.billReceiptSize.valuePx(p),height:w.billReceiptSize.valuePx(p)}):t.jsx(Oe,{width:w.billReceiptSize.valuePx(p),height:w.billReceiptSize.valuePx(p)}),e==="receipt"?t.jsxs(le,{isPlaceholderText:!0,children:[n?.upload!=null?t.jsx(z,{children:n?.upload}):null,n?.single!=null?t.jsx(z,{children:t.jsx(ne,{themeContext:C,children:n?.single})}):null,n?.or!=null?t.jsx(z,{children:n?.or}):null,n?.multiple!=null?t.jsx(z,{children:t.jsx(ne,{themeContext:C,children:n?.multiple})}):null,n?.receipts!=null?t.jsx(z,{children:n?.receipts}):null,n?.receipt!=null?t.jsx(z,{children:n?.receipt}):null]}):e==="w9"?t.jsx(re,{children:S.dropW9}):t.jsx(re,{children:S.dropInvoice}),E!=null&&t.jsx(Z,{children:t.jsx(N,{children:E})}),f&&y==="File size is too large"&&t.jsx(Z,{children:t.jsx(N,{children:S.uploadFileSizeExceedError})}),f&&y!=="File size is too large"&&t.jsx(Z,{children:t.jsx(N,{children:S.uploadError.replace("__type__",e)})})]}),t.jsx(je,{fileRef:B,name:"invoice",onFileChange:r=>{if(r.target.files!=null){const c=r.target.files;if(L){const a=[],h=[];for(let s=0;s<c.length;s++)a.push(c[s].name),h.push(c[s]);k?.(h,a,"dragdrop")}else{const a=c[0];k?.([a],[a.name],"upload")}}},multiple:L,sizeLimit:ze,onFileSizeError:H}),R===!0?t.jsxs(Ue,{children:[t.jsx(Xe,{}),t.jsx(le,{isPlaceholderText:!1,style:{marginLeft:i.sp1},children:S.currencyInfo})]}):null]})})]})},Ye=l.div`
|
|
130
130
|
padding: ${e=>e.type==="w9"?i.sp0:e.windowSize==="small"&&e.showAutofill===!1?i.sp3:i.sp0};
|
|
131
131
|
background-color: ${e=>e.windowSize==="small"?e.theme.colors.grey3:e.theme.colors.grey4};
|
|
132
132
|
height: 100%;
|
|
133
133
|
width: 100%;
|
|
134
134
|
border-radius: ${i.sp2};
|
|
135
|
-
`,
|
|
135
|
+
`,qe=l(de)`
|
|
136
136
|
padding-bottom: ${e=>e.type==="w9"?i.sp0:e.windowSize==="small"?"12px":i.sp3};
|
|
137
137
|
background-color: ${e=>e.windowSize==="small"?e.theme.colors.grey4:e.theme.colors.grey3};
|
|
138
138
|
width: 100%;
|
|
139
139
|
color: ${e=>e.theme.colors.primary};
|
|
140
|
-
`,ut=({uploadInvoiceEndPoint:e,authParams:x,showAutofill:f,allowMultiFiles:y,type:m="bill",customError:L,pdfTitle:E,entityId:n,shouldNotShowAttachment:R,analytics:T,style:D,noAttachmentText:H,dropFilePlaceholder:k,showInfoText:P,showTitlebar:C,showTitlebarIcon:M,file:b,attachmentTitle:v,vendorLegalName:p,onInvoiceUpload:B,onSkipAutofill:S,setFileUploaded:V,updateInvoiceUploadFetchState:r,onReplaceClick:c,onDeleteClick:a,uploadStatus:h,isLoading:s=!1})=>{const X=ae(),A=se(),[he,
|
|
140
|
+
`,ut=({uploadInvoiceEndPoint:e,authParams:x,showAutofill:f,allowMultiFiles:y,type:m="bill",customError:L,pdfTitle:E,entityId:n,shouldNotShowAttachment:R,analytics:T,style:D,noAttachmentText:H,dropFilePlaceholder:k,showInfoText:P,showTitlebar:C,showTitlebarIcon:M,file:b,attachmentTitle:v,vendorLegalName:p,onInvoiceUpload:B,onSkipAutofill:S,setFileUploaded:V,updateInvoiceUploadFetchState:r,onReplaceClick:c,onDeleteClick:a,uploadStatus:h,isLoading:s=!1})=>{const X=ae(),A=se(),[he,J]=o.useState(!1),Y=W.getLocalizedStrings().spendManagement.billPay.billDetails,[me,q]=o.useState(!1),[ue,K]=o.useState(!1),[ge,we]=o.useState(""),[fe,F]=o.useState(!1),[_,Ce]=o.useState({title:"",description:"",primaryButtonText:""});async function Q($,u,I,oe,ye){J(!0),K(!1);const be=y===!0?I:[I[0]],Se=y===!0?oe:[oe[0]],{blobs:$e,names:ke}=await Ie(be,Se);await De(`${$}/1.0/processors/${m}`,u,$e,ke,we).then(ve=>{B?.(ve),q(!0),V?.()}).catch(()=>{K(!0),ye?.("Error")}),J(!1)}o.useEffect(()=>{q(b!=null)},[b]);const ee=$=>{const u=W.getLocalizedStrings().spendManagement.reimbursement.reimbursementDetail;$?(Ce({title:u.uploadLimitTitle,description:u.uploadLimitDescription,primaryButtonText:u.buttons.okay}),F(!0)):F(!1)},xe={onOkClick:()=>{F(!1)}};let te=n!=null||(h!=null?h?.fetchState=="Completed":me);m==="bill"&&R===!0&&(te=!1);const U=m==="bill"?"bill_pay":m==="receipt"?"reimbursement":"w9";return t.jsx(Fe,{showAutofill:f,windowSize:A,style:D,type:m,"data-testid":O("upload-section",U),children:s?t.jsx(pe,{children:t.jsx(G,{size:"ExtraLarge",start:!0})}):t.jsxs(t.Fragment,{children:[fe?t.jsx(Le,{titleComponent:t.jsx(Te,{children:_.title}),descriptionComponent:t.jsx(Ee,{children:_.description}),primaryButtonText:_.primaryButtonText,action:xe}):null,!s&&h?.fetchState!=="In-Progress"&&te?t.jsx(Re,{title:v,type:m,file:b,noAttachmentText:H,showTitlebar:C,showTitlebarIcon:M,pdfTitle:E,onReplaceClick:c,onDeleteClick:a,allowMultiFiles:y,openSizeLimitPopup:ee,onUploadAttachment:($,u)=>{r?.("In-Progress"),Q(e,x,$,u,r)}}):t.jsx(Je,{type:m,uploadError:ue,uploadErrorMsg:ge,attachmentIdBeingUploaded:he,dropFilePlaceholder:k,showInfoText:P,allowMultiFiles:y,customError:L,showTitlebar:C,pdfTitle:E,showAutofill:f,openSizeLimitPopup:ee,uploadStatus:h,onUploadAttachment:($,u,I)=>{T?.trackUploadInvoice(I,U,p),r?.("In-Progress"),Q(e,x,$,u,r)}}),f?t.jsxs(Ze,{windowSize:A,children:[t.jsx(Ne,{windowSize:A,themeContext:X,children:Y.skipAutofillInfo}),t.jsx(We,{windowSize:A,themeContext:X,"data-testid":O("skip-autofill",U),onClick:()=>S?.(!f),children:t.jsx(Pe,{children:Y.skipAutofill})})]}):null]})})};export{Je as AttachmentElement,ut as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as oe,T as Ua,c8 as Fa,V as i,b as Ie,ix as Na,bt as
|
|
1
|
+
import{e as oe,T as Ua,c8 as Fa,V as i,b as Ie,ix as Na,bt as qa,A as Ma,a9 as Ea,o as a,x as b,O as de,aV as ka,ar as Ba,d as Ce,M as pa,a8 as Va,c2 as Ha,f as ie,er as Wa,bH as Ga,cc as xe,dP as Ja,m as t,bn as Ya,al as Y,c6 as ge,cq as ha,iy as Za,iz as Qa,cp as Xa,y as Ae,iA as Oe,cd as _e,fD as De,ex as we,w as re,et as me,fz as ma,C as Re,a5 as Ka,gk as ei,H as ai,gl as ii}from"./index-CuxRoVvZ.js";import{a as E}from"./sentry-Cm8I7E9J.js";import{n as s}from"./mui-G2MlMTlr.js";import{Y as ga}from"./LabeledUserSingleSelectWithSubtitlesField-IYaUvqgY-EIyuSMIG.js";import{br as ri}from"./zeni-epic-state-lC5X-sam.js";import{T as ba}from"./RoleWithToolTip-CqLxmtj6-BxFgYmxI.js";import"./pdf-DwfifS04.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";import"./avatar-Dz7aEm3d-CxU8IzEu.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]="aa62094c-6bf7-44fc-80e8-5a65887cef10",e._sentryDebugIdIdentifier="sentry-dbid-aa62094c-6bf7-44fc-80e8-5a65887cef10")}catch{}})();const be=e=>{const{common:r,spendManagement:{chargeCard:{issueCard:o}}}=de.getLocalizedStrings();switch(e){case"monthly":return o.frequencySubLabels.monthly;case"quarterly":return o.frequencySubLabels.quarterly;case"weekly":return o.frequencySubLabels.weekly;case"yearly":return o.frequencySubLabels.yearly;default:return r.strings.empty}},di=["creditCard","debitCard"],We=e=>ri(e,di),h=(e,r)=>`${e}.${r}`,{commonSetUp:{businessVerification:{addressPlaceholder:Ge,customAddressPlaceholder:li}},spendManagement:{chargeCard:{issueCard:N}}}=de.getLocalizedStrings(),B={largeLabelWidth:new b(120,120,200),labelMarginRight:new b(t[3],t[4]),labelMarginBottom:new b(t[2],t[0]),infoLabelMarginTop:new b(t[1],t[0]),radioLabelPaddingLeftRight:new b(t[2],t[3]),radioLabelPaddingLeft:new b(t[0],t[3]),radioLabelPaddingRight:new b(10,t[3])},ti={infoLabel:new Ce("smallRegular","smallRegular")},te="creditCard.physicalCard.addressType",si=({lineData:e,issueCardSectionId:r,limit:o,creditLimitFrequency:C,activeChargeCardCount:$,allRoles:y,allAccountingClasses:z,companyAddress:_,customAddress:j,userAddress:I,userList:c,maxPhysicalChargeCardPerUser:L,openAddAddressDrawerHandler:g})=>{const n=oe(),m=Ae(),{getValues:U}=xe(),x=B.largeLabelWidth.value(n),d=e.creditCard.physicalCard.addressType,u=e.creditCard.physicalCard.amount,f=Oe(o.amount),w=u!=null&&u>o.amount,p=w?N.amountExceedError.replace("_amount_",f):void 0,V=e.creditCard.physicalCard.user,S=V.allUsers.find(l=>l.userId===V.selectedUser),F=S?.userId,q=F!=null?I[F]:void 0;return i.jsxs(i.Fragment,{children:[i.jsx(ga,{label:{label:N.cardholderLabel,width:x},userSingleSelectWithSubTitlesField:{name:h(r,"creditCard.physicalCard.user"),placeholderLabel:N.usersPlaceholder,value:{allUsers:c,selectedUser:e.creditCard.physicalCard.user.selectedUser},registerOptions:{required:!0,validate:l=>l?.selectedUser?.length>0},valueToSubtitle:l=>{const P=y.find(M=>M.userId===l),D=[];return P?.accountingClassIDs.forEach(M=>{const R=z.find(v=>v.classId===M);R!=null&&R.className&&D.push(R.className)}),D},additionalLabelInfo:N.additionalInfoPhysical,showOnlyAvatar:!0,showAvatarAndSubtitles:!1,isOptionDisabled:l=>{let P=$[l]?.physicalCardCount??0;return U().lineInfo.forEach(D=>{D.creditCard.cardType==="business_physical_credit_card"&&D.creditCard.physicalCard.user.selectedUser===l&&(P+=1)}),P>=L},disabledOptionHint:N.cardLimitWarning,bigMarginRightForSmallScreens:!0,optionStyles:{maxHeight:a.sp10,minHeight:a.sp6,height:"max-content"}},style:{width:"100%",paddingLeft:B.labelMarginBottom.value(n)}}),i.jsx(Le,{}),i.jsx(_e,{label:{label:N.cardNameLabel,width:x},style:{width:"auto",paddingLeft:B.labelMarginBottom.value(n)},text:{type:"text",name:h(r,"creditCard.physicalCard.cardName"),defaultValue:e.creditCard.physicalCard.cardName,placeholder:N.cardNamePlaceholder,options:{required:!0,validate:l=>l!=null}}}),i.jsx(Le,{}),i.jsx(De,{label:{label:N.amountLabel,width:x},showAdditionalInfoLabel:w,additionalInfoLabel:p,formattedTextField:{type:"number",name:h(r,"creditCard.physicalCard.amount"),defaultValue:e.creditCard.physicalCard.amount,placeholder:N.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:l=>!!l&&l>0&&l<=o.amount},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},isFieldError:w,style:{width:"auto",paddingLeft:B.labelMarginBottom.value(n)}}),i.jsx(Le,{}),i.jsx(we,{isDisabled:"readonly",label:{label:N.frequencyLabel,width:x,style:{marginBottom:B.labelMarginBottom.valuePx(n),marginRight:B.labelMarginRight.valuePx(n)}},style:{width:"100%",paddingLeft:B.labelMarginBottom.valuePx(n)},infoLabelStyle:{...re.smallRegular.cssObject,textAlign:"right",paddingRight:a.sp3,marginTop:B.infoLabelMarginTop.valuePx(n),color:m.colors.hero},valueToAdditionalLabel:l=>be(l),singleSelectPickerField:{name:h(r,"creditCard.physicalCard.frequency"),placeholder:N.frequencyPlaceholder,style:{position:"relative"},capitalizeOptions:!0,showSubLabelsInSingleValue:!1,defaultValue:{selectedOption:e.creditCard.physicalCard.frequency.selectedOption,allOptions:C.map(l=>({label:l.name,value:l.code}))},valueToSubLabels:(l,P)=>((D,M)=>i.jsx(oi,{isOptionSelected:M,children:be(D)}))(l,P),textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption}}}),i.jsx(Le,{}),i.jsxs(ci,{windowSize:n,children:[i.jsxs(hi,{windowSize:n,children:[i.jsx(ge,{label:N.address.shippingAddressLabel,htmlFor:h(r,te),style:{marginLeft:a.sp4,marginRight:B.labelMarginRight.valuePx(n),marginTop:a.sp2,width:n==="small"?"auto":x}}),i.jsx(ui,{windowSize:n,children:i.jsxs(mi,{isDisabled:S==null,children:[q!=null&&i.jsx(Y,{isContainerClickable:!0,label:{label:N.address.personal},isDisabled:S==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:B.radioLabelPaddingLeftRight.value(n),paddingRight:B.radioLabelPaddingRight.value(n),width:"fit-content"},radioField:{name:h(r,te),id:`${h(r,te)}.${N.address.personal}`,value:"card_holder_personal_address",radioSize:"small",registerOptions:{required:!0}}}),i.jsx(Y,{isContainerClickable:!0,label:{label:N.address.company},isDisabled:S==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:B.radioLabelPaddingLeft.value(n),paddingRight:B.radioLabelPaddingRight.value(n),width:"fit-content"},radioField:{name:h(r,te),id:`${h(r,te)}.${N.address.company}`,value:"company_address",radioSize:"small",registerOptions:{required:!0}}}),i.jsx(Y,{isContainerClickable:!0,label:{label:N.address.custom},isDisabled:S==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:B.radioLabelPaddingLeft.value(n),paddingRight:B.radioLabelPaddingLeftRight.value(n),width:"fit-content"},radioField:{name:h(r,te),id:`${h(r,te)}.${N.address.custom}`,value:"custom_address",radioSize:"small",registerOptions:{required:!0}}})]})})]}),i.jsx(pi,{windowSize:n,children:S?.user!=null&&d!=null&&i.jsx(ni,{children:d==="card_holder_personal_address"?i.jsxs(i.Fragment,{children:[i.jsx(me,{name:"personal_address_value_field",defaultValue:q,isDisabled:"readonly",placeholder:Ge,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1}}),i.jsx(Je,{windowSize:n,children:N.address.personalAddressText.replace("_name_",S.user.firstName)})]}):d==="company_address"?i.jsx(me,{name:"company_address_value_field",defaultValue:_,isDisabled:"readonly",placeholder:Ge,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1}}):i.jsxs(i.Fragment,{children:[i.jsx(me,{name:"custom_address_value_field",defaultValue:j[e.lineId],placeholder:li,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1},onClick:()=>{g(e.lineId,"creditCard")}}),i.jsx(Je,{windowSize:n,children:N.address.customAddressText})]})})})]})]})},ni=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -175,7 +175,7 @@ import{e as oe,T as Ua,c8 as Fa,V as i,b as Ie,ix as Na,bt as Ma,A as qa,a9 as E
|
|
|
175
175
|
background-color: ${e=>e.theme.colors.background};
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
|
-
`,{commonSetUp:{businessVerification:{addressPlaceholder:Xe,customAddressPlaceholder:Pi}},spendManagement:{chargeCard:{issueCard:O}}}=de.getLocalizedStrings(),k={largeLabelWidth:new b(120,120,200),labelMarginRight:new b(t[3],t[4]),largeLabelMarginRight:new b(t[2],12),labelMarginBottom:new b(t[2],t[0]),infoLabelMarginTop:new b(t[1],t[0]),radioLabelPaddingLeftRight:new b(t[2],t[3]),radioLabelPaddingLeft:new b(t[0],t[3]),radioLabelPaddingRight:new b(10,t[3])},Ii={infoLabel:new Ce("smallRegular","smallRegular")},se="debitCard.physicalCard.addressType",Ti=({lineData:e,issueCardSectionId:r,creditLimitFrequency:o,activeDebitCardCount:C,allRoles:$,depositAccounts:y,allAccountingClasses:z,companyAddress:_,customAddress:j,userAddress:I,userList:c,maxPhysicalDebitCardPerUser:L,openAddAddressDrawerHandler:g})=>{const n=oe(),m=Ae(),{getValues:U}=xe(),x=k.largeLabelWidth.value(n),d=e.debitCard.physicalCard.amount,u=y.find(l=>l.id===e.debitCard.physicalCard.connectedAccount.selectedOption)?.cardLimits.dailyCardTransactionLimit.amount,f=d!=null&&u!=null&&d>u,w=f?O.amountExceedDebitCardError.replace("_amount_",Oe(u)):void 0,p=e.debitCard.physicalCard.addressType,V=e.debitCard.physicalCard.user,S=V.allUsers.find(l=>l.userId===V.selectedUser),F=S?.userId,
|
|
178
|
+
`,{commonSetUp:{businessVerification:{addressPlaceholder:Xe,customAddressPlaceholder:Pi}},spendManagement:{chargeCard:{issueCard:O}}}=de.getLocalizedStrings(),k={largeLabelWidth:new b(120,120,200),labelMarginRight:new b(t[3],t[4]),largeLabelMarginRight:new b(t[2],12),labelMarginBottom:new b(t[2],t[0]),infoLabelMarginTop:new b(t[1],t[0]),radioLabelPaddingLeftRight:new b(t[2],t[3]),radioLabelPaddingLeft:new b(t[0],t[3]),radioLabelPaddingRight:new b(10,t[3])},Ii={infoLabel:new Ce("smallRegular","smallRegular")},se="debitCard.physicalCard.addressType",Ti=({lineData:e,issueCardSectionId:r,creditLimitFrequency:o,activeDebitCardCount:C,allRoles:$,depositAccounts:y,allAccountingClasses:z,companyAddress:_,customAddress:j,userAddress:I,userList:c,maxPhysicalDebitCardPerUser:L,openAddAddressDrawerHandler:g})=>{const n=oe(),m=Ae(),{getValues:U}=xe(),x=k.largeLabelWidth.value(n),d=e.debitCard.physicalCard.amount,u=y.find(l=>l.id===e.debitCard.physicalCard.connectedAccount.selectedOption)?.cardLimits.dailyCardTransactionLimit.amount,f=d!=null&&u!=null&&d>u,w=f?O.amountExceedDebitCardError.replace("_amount_",Oe(u)):void 0,p=e.debitCard.physicalCard.addressType,V=e.debitCard.physicalCard.user,S=V.allUsers.find(l=>l.userId===V.selectedUser),F=S?.userId,q=F!=null?I[F]:void 0;return i.jsxs(i.Fragment,{children:[i.jsx(Oi,{label:{label:O.connectedAccountLabel,width:x,style:{marginLeft:a.sp4,marginRight:k.largeLabelMarginRight.value(n),marginTop:a.sp2,width:x}},style:{width:"auto"},singleSelectPickerField:{name:h(r,"debitCard.physicalCard.connectedAccount"),placeholder:O.selectAccountPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(l,P)=>Ca(y,l,P),valueToSubLabels:(l,P)=>Te(y,l,P),defaultValue:{selectedOption:e.debitCard.physicalCard.connectedAccount.selectedOption,allOptions:y.map(l=>({label:l.accountName,value:l.id}))},textAlignment:"right",isOptionRemovable:!1,registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption}}}),i.jsx(fe,{}),i.jsx(ga,{label:{label:O.cardholderLabel,width:x},userSingleSelectWithSubTitlesField:{name:h(r,"debitCard.physicalCard.user"),placeholderLabel:O.usersPlaceholder,value:{allUsers:c,selectedUser:e.debitCard.physicalCard.user.selectedUser},registerOptions:{required:!0,validate:l=>l?.selectedUser?.length>0},valueToSubtitle:l=>{const P=$.find(M=>M.userId===l),D=[];return P?.accountingClassIDs.forEach(M=>{const R=z.find(v=>v.classId===M);R!=null&&R.className&&D.push(R.className)}),D},additionalLabelInfo:O.additionalInfoPhysical,showOnlyAvatar:!0,showAvatarAndSubtitles:!1,isOptionDisabled:l=>{let P=0;const D=e.debitCard.physicalCard.connectedAccount.selectedOption;return D!=null&&C?.[D]?.[l]!=null&&(P=C[D][l].physicalCardCount),U().lineInfo.forEach(M=>{M.debitCard.cardType==="business_physical_debit_card"&&M.debitCard.physicalCard.user.selectedUser===l&&(P+=1)}),P>=L},disabledOptionHint:O.cardLimitWarning,bigMarginRightForSmallScreens:!0,optionStyles:{maxHeight:a.sp10,minHeight:a.sp6,height:"max-content"}},style:{width:"auto",paddingLeft:k.labelMarginBottom.value(n)}}),i.jsx(fe,{}),i.jsx(_e,{label:{label:O.cardNameLabel,width:x},style:{width:"auto",paddingLeft:k.labelMarginBottom.value(n)},text:{type:"text",name:h(r,"debitCard.physicalCard.cardName"),defaultValue:e.debitCard.physicalCard.cardName,placeholder:O.cardNamePlaceholder,options:{required:!0,validate:l=>l!=null}}}),i.jsx(fe,{}),i.jsx(De,{label:{label:O.amountLabel,width:x},showAdditionalInfoLabel:f,additionalInfoLabel:w,formattedTextField:{type:"number",name:h(r,"debitCard.physicalCard.amount"),defaultValue:e.debitCard.physicalCard.amount,placeholder:O.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:l=>u!=null?!!l&&l>0&&l<=u:!!l&&l>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto",paddingLeft:k.labelMarginBottom.value(n)},isFieldError:f}),i.jsx(fe,{}),i.jsx(we,{isDisabled:"readonly",label:{label:O.frequencyLabel,width:x,style:{marginBottom:k.labelMarginBottom.valuePx(n),marginRight:k.labelMarginRight.valuePx(n)}},style:{width:"auto",paddingLeft:k.labelMarginBottom.valuePx(n)},infoLabelStyle:{...re.smallRegular.cssObject,textAlign:"right",paddingRight:a.sp3,marginTop:k.infoLabelMarginTop.valuePx(n),color:m.colors.hero},valueToAdditionalLabel:l=>be(l),singleSelectPickerField:{name:h(r,"debitCard.physicalCard.frequency"),placeholder:O.frequencyPlaceholder,style:{position:"relative"},capitalizeOptions:!0,showSubLabelsInSingleValue:!1,defaultValue:{selectedOption:e.debitCard.physicalCard.frequency.selectedOption,allOptions:o.map(l=>({label:l.name,value:l.code}))},valueToSubLabels:(l,P)=>Te(y,l,P),textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption}}}),i.jsx(fe,{}),i.jsxs(_i,{windowSize:n,children:[i.jsxs(zi,{windowSize:n,children:[i.jsx(ge,{label:O.address.shippingAddressLabel,htmlFor:h(r,se),style:{marginLeft:a.sp4,marginRight:k.labelMarginRight.valuePx(n),marginTop:a.sp2,width:n==="small"?"auto":x}}),i.jsx(Di,{windowSize:n,children:i.jsxs(Ui,{isDisabled:S==null,children:[q!=null&&i.jsx(Y,{isContainerClickable:!0,label:{label:O.address.personal},isDisabled:S==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeftRight.value(n),paddingRight:k.radioLabelPaddingRight.value(n),width:"fit-content"},radioField:{name:h(r,se),id:`${h(r,se)}.${O.address.personal}`,value:"card_holder_personal_address",radioSize:"small",registerOptions:{required:!0}}}),i.jsx(Y,{isContainerClickable:!0,label:{label:O.address.company},isDisabled:S==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeft.value(n),paddingRight:k.radioLabelPaddingRight.value(n),width:"fit-content"},radioField:{name:h(r,se),id:`${h(r,se)}.${O.address.company}`,value:"company_address",radioSize:"small",registerOptions:{required:!0}}}),i.jsx(Y,{isContainerClickable:!0,label:{label:O.address.custom},isDisabled:S==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeft.value(n),paddingRight:k.radioLabelPaddingLeftRight.value(n),width:"fit-content"},radioField:{name:h(r,se),id:`${h(r,se)}.${O.address.custom}`,value:"custom_address",radioSize:"small",registerOptions:{required:!0}}})]})})]}),i.jsx(Ri,{windowSize:n,children:S?.user!=null&&p!=null&&i.jsx(Ai,{children:p==="card_holder_personal_address"?i.jsxs(i.Fragment,{children:[i.jsx(me,{name:"personal_address_value_field",defaultValue:q,isDisabled:"readonly",placeholder:Xe,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1}}),i.jsx(Ke,{windowSize:n,children:O.address.personalAddressText.replace("_name_",S.user.firstName)})]}):p==="company_address"?i.jsx(me,{name:"company_address_value_field",defaultValue:_,isDisabled:"readonly",placeholder:Xe,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1}}):i.jsxs(i.Fragment,{children:[i.jsx(me,{name:"custom_address_value_field",defaultValue:j[e.lineId],placeholder:Pi,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1},onClick:()=>{g(e.lineId,"debitCard")}}),i.jsx(Ke,{windowSize:n,children:O.address.customAddressText})]})})})]})]})},Ai=s.div`
|
|
179
179
|
display: flex;
|
|
180
180
|
flex-direction: column;
|
|
181
181
|
width: 100%;
|
|
@@ -256,7 +256,7 @@ import{e as oe,T as Ua,c8 as Fa,V as i,b as Ie,ix as Na,bt as Ma,A as qa,a9 as E
|
|
|
256
256
|
&:hover {
|
|
257
257
|
fill: ${e=>e.theme.colors.primary};
|
|
258
258
|
}
|
|
259
|
-
`,{spendManagement:{chargeCard:{issueCard:Z}}}=de.getLocalizedStrings(),ee={largeLabelWidth:new b(120,120,200),labelMarginRight:new b(t[3],t[4]),labelMarginBottom:new b(t[2],t[0]),infoLabelMarginTop:new b(t[1],t[0])},Fi={infoLabel:new Ce("smallRegular","smallRegular")},ea="creditCard.virtualCard.users",Ni=({lineData:e,issueCardSectionId:r,cardHolderCandidates:o,limit:C,creditLimitFrequency:$,allRoles:y,allAccountingClasses:z,activeChargeCardCount:_,maxVirtualChargeCardPerUser:j})=>{const I=Ae(),c=oe(),{getValues:L}=xe(),g=ee.largeLabelWidth.value(c),n=e.creditCard.virtualCard.amount,m=Oe(C.amount),U=n!=null&&n>C.amount,x=U?Z.amountExceedError.replace("_amount_",m):void 0;return i.jsxs(i.Fragment,{children:[i.jsxs(Vi,{windowSize:c,children:[i.jsx(ge,{label:Z.cardholdersLabel,htmlFor:h(r,ea),style:{marginLeft:a.sp4,marginRight:ee.labelMarginRight.value(c),marginTop:a.sp2,width:g}}),i.jsxs(ki,{windowSize:c,children:[i.jsx(ma,{hideEmailTooltip:!0,shouldHaveBackgroundColor:!1,showBackgroundColorIfHasAnySelectedOption:!1,placeholderLabel:Z.usersPlaceholder,name:h(r,ea),value:{allUsers:o,selectedUsers:e.creditCard.virtualCard.users.selectedUsers,allNonUsers:[],selectedNonUsers:[]},registerOptions:{required:!0,validate:d=>d?.selectedUsers?.length>0},valueToSubtitle:d=>{const u=y.find(w=>w.userId===d),f=[];return u!=null&&(f.push(i.jsx(ba,{roles:u.userRoles})),u.accountingClassIDs.forEach(w=>{const p=z.find(V=>V.classId===w);p!=null&&p.className&&f.push(p.className)})),f},disableCurrentOption:d=>{let u=_[d]?.virtualCardCount??0;return L().lineInfo.forEach(f=>{f.creditCard.cardType==="business_virtual_credit_card"&&f.creditCard.virtualCard.users.selectedUsers.forEach(w=>{w.userId===d&&(u+=1)})}),u>=j},disabledOptionHint:Z.cardLimitWarning,customStyleConfig:{placeholder:()=>({margin:a.sp0}),input:(d,{selectProps:u})=>({display:u.menuIsOpen===!1&&e.creditCard.virtualCard.users.selectedUsers.length>0&&c!=="small"?"none":"unset",width:c==="small"&&e.creditCard.virtualCard.users.selectedUsers.length>0?"100%":`calc(100% - ${a.sp5})`,padding:e.creditCard.virtualCard.users.selectedUsers.length===0?`${a.sp0} ${a.sp3}`:a.sp0,...re.standardRegular.cssObject,height:a.sp4,position:e.creditCard.virtualCard.users.selectedUsers.length===0||c==="small"&&u.menuIsOpen===!1?"absolute":"unset",left:a.sp0,">input":{...re.smallBold.cssObject,height:"100%",cursor:"pointer"}})}}),i.jsx(Ei,{size:c,children:Z.additionalInfoVirtual})]})]}),i.jsx(Fe,{}),i.jsx(_e,{label:{label:Z.cardNameLabel,width:g},style:{width:"auto",paddingLeft:ee.labelMarginBottom.value(c)},text:{type:"text",name:h(r,"creditCard.virtualCard.cardName"),defaultValue:e.creditCard.virtualCard.cardName,placeholder:Z.cardNamePlaceholder,options:{required:!0,validate:d=>d!=null}}}),i.jsx(Fe,{}),i.jsx(De,{label:{label:Z.amountLabel,width:g},showAdditionalInfoLabel:U,additionalInfoLabel:x,formattedTextField:{type:"number",name:h(r,"creditCard.virtualCard.amount"),defaultValue:e.creditCard.virtualCard.amount,placeholder:Z.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:d=>!!d&&d>0&&d<=C.amount},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto",paddingLeft:ee.labelMarginBottom.value(c)},isFieldError:U}),i.jsx(Fe,{}),i.jsx(
|
|
259
|
+
`,{spendManagement:{chargeCard:{issueCard:Z}}}=de.getLocalizedStrings(),ee={largeLabelWidth:new b(120,120,200),labelMarginRight:new b(t[3],t[4]),labelMarginBottom:new b(t[2],t[0]),infoLabelMarginTop:new b(t[1],t[0])},Fi={infoLabel:new Ce("smallRegular","smallRegular")},ea="creditCard.virtualCard.users",Ni=({lineData:e,issueCardSectionId:r,cardHolderCandidates:o,limit:C,creditLimitFrequency:$,allRoles:y,allAccountingClasses:z,activeChargeCardCount:_,maxVirtualChargeCardPerUser:j})=>{const I=Ae(),c=oe(),{getValues:L}=xe(),g=ee.largeLabelWidth.value(c),n=e.creditCard.virtualCard.amount,m=Oe(C.amount),U=n!=null&&n>C.amount,x=U?Z.amountExceedError.replace("_amount_",m):void 0;return i.jsxs(i.Fragment,{children:[i.jsxs(Vi,{windowSize:c,children:[i.jsx(ge,{label:Z.cardholdersLabel,htmlFor:h(r,ea),style:{marginLeft:a.sp4,marginRight:ee.labelMarginRight.value(c),marginTop:a.sp2,width:g}}),i.jsxs(ki,{windowSize:c,children:[i.jsx(ma,{hideEmailTooltip:!0,shouldHaveBackgroundColor:!1,showBackgroundColorIfHasAnySelectedOption:!1,placeholderLabel:Z.usersPlaceholder,name:h(r,ea),value:{allUsers:o,selectedUsers:e.creditCard.virtualCard.users.selectedUsers,allNonUsers:[],selectedNonUsers:[]},registerOptions:{required:!0,validate:d=>d?.selectedUsers?.length>0},valueToSubtitle:d=>{const u=y.find(w=>w.userId===d),f=[];return u!=null&&(f.push(i.jsx(ba,{roles:u.userRoles})),u.accountingClassIDs.forEach(w=>{const p=z.find(V=>V.classId===w);p!=null&&p.className&&f.push(p.className)})),f},disableCurrentOption:d=>{let u=_[d]?.virtualCardCount??0;return L().lineInfo.forEach(f=>{f.creditCard.cardType==="business_virtual_credit_card"&&f.creditCard.virtualCard.users.selectedUsers.forEach(w=>{w.userId===d&&(u+=1)})}),u>=j},disabledOptionHint:Z.cardLimitWarning,customStyleConfig:{placeholder:()=>({margin:a.sp0}),input:(d,{selectProps:u})=>({display:u.menuIsOpen===!1&&e.creditCard.virtualCard.users.selectedUsers.length>0&&c!=="small"?"none":"unset",width:c==="small"&&e.creditCard.virtualCard.users.selectedUsers.length>0?"100%":`calc(100% - ${a.sp5})`,padding:e.creditCard.virtualCard.users.selectedUsers.length===0?`${a.sp0} ${a.sp3}`:a.sp0,...re.standardRegular.cssObject,height:a.sp4,position:e.creditCard.virtualCard.users.selectedUsers.length===0||c==="small"&&u.menuIsOpen===!1?"absolute":"unset",left:a.sp0,">input":{...re.smallBold.cssObject,height:"100%",cursor:"pointer"}})}}),i.jsx(Ei,{size:c,children:Z.additionalInfoVirtual})]})]}),i.jsx(Fe,{}),i.jsx(_e,{label:{label:Z.cardNameLabel,width:g},style:{width:"auto",paddingLeft:ee.labelMarginBottom.value(c)},text:{type:"text",name:h(r,"creditCard.virtualCard.cardName"),defaultValue:e.creditCard.virtualCard.cardName,placeholder:Z.cardNamePlaceholder,options:{required:!0,validate:d=>d!=null}}}),i.jsx(Fe,{}),i.jsx(De,{label:{label:Z.amountLabel,width:g},showAdditionalInfoLabel:U,additionalInfoLabel:x,formattedTextField:{type:"number",name:h(r,"creditCard.virtualCard.amount"),defaultValue:e.creditCard.virtualCard.amount,placeholder:Z.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:d=>!!d&&d>0&&d<=C.amount},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto",paddingLeft:ee.labelMarginBottom.value(c)},isFieldError:U}),i.jsx(Fe,{}),i.jsx(qi,{size:c,children:i.jsx(Bi,{isDisabled:"readonly",label:{label:Z.frequencyLabel,width:g,style:{marginLeft:a.sp0,marginBottom:ee.labelMarginBottom.valuePx(c),marginRight:ee.labelMarginRight.valuePx(c)}},style:{width:"100%",padding:a.sp0,display:c==="small"?"flex":"inherit"},infoLabelStyle:{...re.smallRegular.cssObject,textAlign:"right",paddingRight:a.sp3,marginTop:ee.infoLabelMarginTop.valuePx(c),color:I.colors.hero},valueToAdditionalLabel:d=>be(d),singleSelectPickerField:{name:h(r,"creditCard.virtualCard.frequency"),placeholder:Z.frequencyPlaceholder,style:{position:"relative"},capitalizeOptions:!0,showSubLabelsInSingleValue:!1,defaultValue:{selectedOption:e.creditCard.virtualCard.frequency.selectedOption,allOptions:$.map(d=>({label:d.name,value:d.code}))},valueToSubLabels:(d,u)=>((f,w)=>i.jsx(Mi,{isOptionSelected:w,children:be(f)}))(d,u),textAlignment:"right",registerOptions:{required:!0,validate:d=>d!=null&&!!d.selectedOption}}})})]})},qi=s.div`
|
|
260
260
|
display: flex;
|
|
261
261
|
flex-direction: row;
|
|
262
262
|
padding: ${a.sp2};
|
|
@@ -267,7 +267,7 @@ import{e as oe,T as Ua,c8 as Fa,V as i,b as Ie,ix as Na,bt as Ma,A as qa,a9 as E
|
|
|
267
267
|
border-bottom-left-radius: inherit;
|
|
268
268
|
border-bottom-right-radius: inherit;
|
|
269
269
|
}
|
|
270
|
-
`,
|
|
270
|
+
`,Mi=s(Re)`
|
|
271
271
|
color: ${e=>e.isOptionSelected?e.theme.colors.primary:e.theme.colors.grey1};
|
|
272
272
|
`,Ei=s.label`
|
|
273
273
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -326,7 +326,7 @@ import{e as oe,T as Ua,c8 as Fa,V as i,b as Ie,ix as Na,bt as Ma,A as qa,a9 as E
|
|
|
326
326
|
background-color: ${e=>e.theme.colors.background};
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
|
-
`,J={containerPaddingBottom:new b(t[3],t[4]),sectionTitleContainerPadding:new b(t[2],t[3]),largeLabelWidth:new b(120,120,200),labelPaddingLeft:new b(t[3],t[4]),radioLabelPaddingLeft:new b(t[4],t[4]),radioLabelPaddingRight:new b(t[2],t[3]),labelPaddingRight:new b(t[4],t[4]),firstItemMarginTop:new b(t[4],t[2]),paddingLeft:new b(t[3],t[5])},{spendManagement:{chargeCard:{issueCard:W}}}=de.getLocalizedStrings(),Hi=e=>{const{lineData:r,issueCardSectionId:o,cardHolderCandidates:C,userList:$,limit:y,creditLimitFrequency:z,allRoles:_,allAccountingClasses:j,hasMultipleLineItems:I,depositAccounts:c,isIssuePhysicalCardEnabled:L,isIssuePhysicalDebitCardEnabled:g,isDebitCardFeatureEnabled:n,isChargeCardFeatureEnabled:m,isChargeCardSetupEnabled:U,isDebitCardSetupEnabled:x,lineIndex:d,customAddress:u,userAddress:f,onRemoveIssueCardLine:w,companyAddress:p,maxPhysicalChargeCardPerUser:V,maxVirtualChargeCardPerUser:S,maxPhysicalDebitCardPerUser:F,maxVirtualDebitCardPerUser:
|
|
329
|
+
`,J={containerPaddingBottom:new b(t[3],t[4]),sectionTitleContainerPadding:new b(t[2],t[3]),largeLabelWidth:new b(120,120,200),labelPaddingLeft:new b(t[3],t[4]),radioLabelPaddingLeft:new b(t[4],t[4]),radioLabelPaddingRight:new b(t[2],t[3]),labelPaddingRight:new b(t[4],t[4]),firstItemMarginTop:new b(t[4],t[2]),paddingLeft:new b(t[3],t[5])},{spendManagement:{chargeCard:{issueCard:W}}}=de.getLocalizedStrings(),Hi=e=>{const{lineData:r,issueCardSectionId:o,cardHolderCandidates:C,userList:$,limit:y,creditLimitFrequency:z,allRoles:_,allAccountingClasses:j,hasMultipleLineItems:I,depositAccounts:c,isIssuePhysicalCardEnabled:L,isIssuePhysicalDebitCardEnabled:g,isDebitCardFeatureEnabled:n,isChargeCardFeatureEnabled:m,isChargeCardSetupEnabled:U,isDebitCardSetupEnabled:x,lineIndex:d,customAddress:u,userAddress:f,onRemoveIssueCardLine:w,companyAddress:p,maxPhysicalChargeCardPerUser:V,maxVirtualChargeCardPerUser:S,maxPhysicalDebitCardPerUser:F,maxVirtualDebitCardPerUser:q,cardsSectionRef:l,openAddAddressDrawerHandler:P,clearTentativeNameForLine:D,activeChargeCardCount:M,activeDebitCardCount:R}=e,v=oe(),Q=J.largeLabelWidth.value(v);return i.jsxs(Gi,{windowSize:v,ref:l,className:"cards-item",children:[I&&i.jsxs(Zi,{windowSize:v,children:[i.jsx(Qi,{windowSize:v,children:`${W.card} ${d+1}`}),i.jsx(Xi,{className:"deleteIconWrapper",windowSize:v,"data-testid":Ie("delete-icon",r.lineId),onClick:()=>{D?.(r.lineId??"1"),w(d)},children:i.jsx(Ya,{enterDelay:600,title:W.deleteCard,placement:"left",children:i.jsx(Ki,{})})})]}),i.jsxs(Ji,{showTopMargin:!I,windowSize:v,children:[n&&x&&m&&U?i.jsxs(i.Fragment,{children:[i.jsxs(Wi,{children:[i.jsx(Y,{isContainerClickable:!0,label:{label:W.creditCard},style:{padding:`${a.sp3} ${a.sp0}`,paddingLeft:J.labelPaddingLeft.value(v),borderTopLeftRadius:"inherit"},showOutline:!0,radioField:{name:h(o,"chargeCardType"),id:`${h(o,"chargeCardType")}.creditCard`,value:"credit_card",radioSize:"small"}}),i.jsx(Yi,{}),i.jsx(Y,{isContainerClickable:!0,label:{label:W.debitCard},style:{padding:`${a.sp3} ${a.sp0}`,paddingLeft:J.labelPaddingLeft.value(v),borderTopRightRadius:"inherit"},showOutline:!0,radioField:{name:h(o,"chargeCardType"),id:`${h(o,"chargeCardType")}.debitCard`,value:"debit_card",radioSize:"small"}})]}),i.jsx(Ne,{})]}):null,r.chargeCardType==="credit_card"?i.jsxs(i.Fragment,{children:[i.jsxs(ia,{size:v,isDebitCardSetupEnabled:x,isDebitCardFeatureEnabled:n,children:[i.jsx(ge,{label:W.type,htmlFor:h(o,"creditCard.cardType"),style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:J.radioLabelPaddingLeft.value(v),paddingRight:J.radioLabelPaddingRight.value(v),width:"fit-content"}}),i.jsxs(aa,{labelWidth:Q,children:[i.jsx(Y,{label:{label:W.virtualCard},style:{width:"auto"},radioField:{name:h(o,"creditCard.cardType"),id:`${h(o,"creditCard.cardType")}.${W.virtualCard}`,value:"business_virtual_credit_card",style:{height:a.sp3,width:a.sp3,opacity:L?1:0},radioSize:"small"}}),L&&i.jsx(Y,{label:{label:W.physicalCard},style:{width:"auto",paddingLeft:J.paddingLeft.valuePx(v)},radioField:{name:h(o,"creditCard.cardType"),id:`${h(o,"creditCard.cardType")}.${W.physicalCard}`,value:"business_physical_credit_card",style:{height:a.sp3,width:a.sp3},radioSize:"small"}})]})]}),i.jsx(Ne,{}),r.creditCard.cardType==="business_physical_credit_card"?i.jsx(si,{lineData:r,issueCardSectionId:`${o}`,limit:y,creditLimitFrequency:z,companyAddress:p,openAddAddressDrawerHandler:P,customAddress:u,userAddress:f,activeChargeCardCount:M,userList:$,allRoles:_,allAccountingClasses:j,maxPhysicalChargeCardPerUser:V}):i.jsx(Ni,{lineData:r,issueCardSectionId:`${o}`,cardHolderCandidates:C,limit:y,creditLimitFrequency:z,allRoles:_,allAccountingClasses:j,activeChargeCardCount:M,maxVirtualChargeCardPerUser:S})]}):null,r.chargeCardType==="debit_card"?i.jsxs(i.Fragment,{children:[i.jsxs(ia,{size:v,isDebitCardSetupEnabled:x,isDebitCardFeatureEnabled:n,children:[i.jsx(ge,{label:W.type,htmlFor:h(o,"debitCard.cardType"),style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:J.radioLabelPaddingLeft.value(v),paddingRight:J.radioLabelPaddingRight.value(v),width:"fit-content"}}),i.jsxs(aa,{labelWidth:Q,children:[i.jsx(Y,{label:{label:W.virtualCard},style:{width:"auto"},radioField:{name:h(o,"debitCard.cardType"),id:`${h(o,"debitCard.cardType")}.${W.virtualCard}`,value:"business_virtual_debit_card",style:{height:a.sp3,width:a.sp3,opacity:g?1:0},radioSize:"small"}}),g&&i.jsx(Y,{label:{label:W.physicalCard},style:{width:"auto",paddingLeft:J.paddingLeft.valuePx(v)},radioField:{name:h(o,"debitCard.cardType"),id:`${h(o,"debitCard.cardType")}.${W.physicalCard}`,value:"business_physical_debit_card",style:{height:a.sp3,width:a.sp3},radioSize:"small"}})]})]}),i.jsx(Ne,{}),r.debitCard.cardType==="business_physical_debit_card"?i.jsx(Ti,{lineData:r,issueCardSectionId:`${o}`,creditLimitFrequency:z,companyAddress:p,openAddAddressDrawerHandler:P,customAddress:u,userAddress:f,depositAccounts:c,activeDebitCardCount:R,userList:$,allRoles:_,allAccountingClasses:j,maxPhysicalDebitCardPerUser:F}):i.jsx(bi,{lineData:r,issueCardSectionId:`${o}`,cardHolderCandidates:C,depositAccounts:c,creditLimitFrequency:z,allRoles:_,allAccountingClasses:j,activeDebitCardCount:R,maxVirtualDebitCardPerUser:q})]}):null]})]})},Wi=s.div`
|
|
330
330
|
display: flex;
|
|
331
331
|
flex-direction: row;
|
|
332
332
|
border-top-left-radius: inherit;
|
|
@@ -407,7 +407,7 @@ import{e as oe,T as Ua,c8 as Fa,V as i,b as Ie,ix as Na,bt as Ma,A as qa,a9 as E
|
|
|
407
407
|
width: ${a.sp3};
|
|
408
408
|
height: ${a.sp3};
|
|
409
409
|
cursor: pointer;
|
|
410
|
-
`,je={addCardButtonMarginBottom:new b(t[3],t[4]),addCardButtonMarginTop:new b(t[2],t[0]),addCardButtonPaddingTopBottom:new b(t[2],t[2]),addCardButtonPaddingLeftRight:new b(t[3],t[4])},er={title:new Ce("standardMedium","standardMedium")},ar=({issueChargeCards:e,issueCardSectionId:r,cardHolderCandidates:o,userList:C,limit:$,creditLimitFrequency:y,allRoles:z,allAccountingClasses:_,isIssuePhysicalCardEnabled:j,isIssuePhysicalDebitCardEnabled:I,isDebitCardFeatureEnabled:c,isChargeCardFeatureEnabled:L,isChargeCardSetupEnabled:g,isDebitCardSetupEnabled:n,defaultCardType:m,getInitialLineFormData:U,clearTentativeNameForLine:x,companyAddress:d,containerRef:u,cardsSectionRef:f,openAddAddressDrawerHandler:w})=>{const{control:p,watch:V,setValue:S}=xe(),{fields:F}=Ja({name:r,control:p}),
|
|
410
|
+
`,je={addCardButtonMarginBottom:new b(t[3],t[4]),addCardButtonMarginTop:new b(t[2],t[0]),addCardButtonPaddingTopBottom:new b(t[2],t[2]),addCardButtonPaddingLeftRight:new b(t[3],t[4])},er={title:new Ce("standardMedium","standardMedium")},ar=({issueChargeCards:e,issueCardSectionId:r,cardHolderCandidates:o,userList:C,limit:$,creditLimitFrequency:y,allRoles:z,allAccountingClasses:_,isIssuePhysicalCardEnabled:j,isIssuePhysicalDebitCardEnabled:I,isDebitCardFeatureEnabled:c,isChargeCardFeatureEnabled:L,isChargeCardSetupEnabled:g,isDebitCardSetupEnabled:n,defaultCardType:m,getInitialLineFormData:U,clearTentativeNameForLine:x,companyAddress:d,containerRef:u,cardsSectionRef:f,openAddAddressDrawerHandler:w})=>{const{control:p,watch:V,setValue:S}=xe(),{fields:F}=Ja({name:r,control:p}),q=V(r,F),l=Math.max(...Object.keys(e.localData??{}).map(R=>Number(R)),0),P=R=>{S(r,q.filter((v,Q)=>Q!==R))},D=oe(),{spendManagement:{chargeCard:{issueCard:M}}}=de.getLocalizedStrings();return i.jsxs(ir,{ref:u,children:[q.map((R,v)=>i.jsx(Hi,{lineIndex:v,lineData:R,issueCardSectionId:`${r}.${v}`,cardHolderCandidates:o,userList:C,limit:$,creditLimitFrequency:y,allRoles:z,allAccountingClasses:_,hasMultipleLineItems:q.length>1,clearTentativeNameForLine:x,onRemoveIssueCardLine:P,companyAddress:d,cardsSectionRef:f,openAddAddressDrawerHandler:w,depositAccounts:e.depositAccounts,customAddress:e.customAddress,userAddress:e.userAddress,activeChargeCardCount:e.activeChargeCardCount,activeDebitCardCount:e.activeDebitCardCountByDepositAccountId,maxPhysicalChargeCardPerUser:e.chargeCardConfig.creditTerm.maxPhysicalChargeCardPerUser,maxVirtualChargeCardPerUser:e.chargeCardConfig.creditTerm.maxVirtualChargeCardPerUser,maxVirtualDebitCardPerUser:e.chargeCardConfig.creditTerm.maxVirtualDebitCardPerUser,maxPhysicalDebitCardPerUser:e.chargeCardConfig.creditTerm.maxPhysicalDebitCardPerUser,isIssuePhysicalCardEnabled:j,isIssuePhysicalDebitCardEnabled:I,isDebitCardFeatureEnabled:c,isChargeCardFeatureEnabled:L,isChargeCardSetupEnabled:g,isDebitCardSetupEnabled:n},v)),i.jsxs(rr,{windowSize:D,onClick:()=>{(()=>{const R=q[q.length-1],v=U(q.length,Number(R.lineId)>l?String(Number(R.lineId)+1):String(l+1),o,y,C,e.depositAccounts,L,c,g,n,d,m);S(r,[...q,v]),setTimeout(()=>{Za(f.current,u.current)},50)})()},"data-testid":Ie("add-card-button"),children:[i.jsx(lr,{}),i.jsx(dr,{windowSize:D,children:M.addCard})]})]})},ir=s.div`
|
|
411
411
|
display: flex;
|
|
412
412
|
flex-direction: column;
|
|
413
413
|
`,rr=s.div`
|
|
@@ -433,7 +433,7 @@ import{e as oe,T as Ua,c8 as Fa,V as i,b as Ie,ix as Na,bt as Ma,A as qa,a9 as E
|
|
|
433
433
|
margin-right: ${a.sp2};
|
|
434
434
|
width: ${a.sp3};
|
|
435
435
|
height: ${a.sp3};
|
|
436
|
-
`,ra="addressType",da="physicalCard",la="virtualCard",ya="lineInfo",ta="issueCardDetailPage",sa=e=>`${e}_form`,{common:ae,spendManagement:{chargeCard:{issueCard:Pe}}}=de.getLocalizedStrings(),fa=e=>e!=null?{amount:e,currencyCode:ae.currency.currencyCode,currencySymbol:ae.currency.currencySymbol}:void 0,na=(e,r=!1)=>{const o={userIds:e.users.selectedUsers.map(C=>C.userId),cardName:e.cardName,amount:fa(e.amount),frequency:e.frequency.selectedOption};return r?{...o,connectedAccountId:e.connectedAccount.selectedOption}:o},oa=(e,r=!1)=>{const o={userId:e.user.selectedUser,cardName:e.cardName,amount:fa(e.amount),frequency:e.frequency.selectedOption,addressType:e.addressType,addressId:e.addressId};return r?{...o,connectedAccountId:e.connectedAccount.selectedOption}:o},ne={containerPaddingLeft:new b(t[4],t[6],t[8]),containerPaddingRight:new b(t[4],t[6],t[8]),navbarHeight:new b(44,t[9]),closeIconMarginRight:new b(t[4],t[8]),rightSectionWidth:new b(t[12],58),footerTopPadding:new b(t[3],10)},tr={title:new Ce("standardMedium","largeSemiBold")},
|
|
436
|
+
`,ra="addressType",da="physicalCard",la="virtualCard",ya="lineInfo",ta="issueCardDetailPage",sa=e=>`${e}_form`,{common:ae,spendManagement:{chargeCard:{issueCard:Pe}}}=de.getLocalizedStrings(),fa=e=>e!=null?{amount:e,currencyCode:ae.currency.currencyCode,currencySymbol:ae.currency.currencySymbol}:void 0,na=(e,r=!1)=>{const o={userIds:e.users.selectedUsers.map(C=>C.userId),cardName:e.cardName,amount:fa(e.amount),frequency:e.frequency.selectedOption};return r?{...o,connectedAccountId:e.connectedAccount.selectedOption}:o},oa=(e,r=!1)=>{const o={userId:e.user.selectedUser,cardName:e.cardName,amount:fa(e.amount),frequency:e.frequency.selectedOption,addressType:e.addressType,addressId:e.addressId};return r?{...o,connectedAccountId:e.connectedAccount.selectedOption}:o},ne={containerPaddingLeft:new b(t[4],t[6],t[8]),containerPaddingRight:new b(t[4],t[6],t[8]),navbarHeight:new b(44,t[9]),closeIconMarginRight:new b(t[4],t[8]),rightSectionWidth:new b(t[12],58),footerTopPadding:new b(t[3],10)},tr={title:new Ce("standardMedium","largeSemiBold")},qr=({issueChargeCards:e,cardHolderCandidates:r,userList:o,companyName:C,allRoles:$,allAccountingClasses:y,isIssuePhysicalCardEnabled:z,isIssuePhysicalDebitCardEnabled:_,isDebitCardFeatureEnabled:j,isChargeCardFeatureEnabled:I,isDebitCardSetupEnabled:c,isChargeCardSetupEnabled:L,signedInUser:g,defaultCardType:n,onSaveChangesToLocalStore:m,onIssueCardClick:U,onDismissClick:x,resetCustomAddressByLineID:d,handleZeniLogoClick:u,openAddAddressDrawerHandler:f,clearTentativeNameForLine:w})=>{const{chargeCardConfig:{creditLimitFrequency:p},creditAccount:{limit:V},companyAddress:S}=e,F=oe(),q=E.useRef(null),l=E.useRef(null),[P,D]=E.useState(!0),[M,R]=E.useState(!0),v=E.useRef(null),Q=E.useRef(null),[ve,va]=E.useState(0),[ze,$a]=E.useState(0),[$e,La]=E.useState(0),[Sa,ja]=E.useState(0),[Pa,Ia]=E.useState(e.localData);E.useEffect(()=>{const T=new IntersectionObserver(X=>{X.forEach(ce=>{ce.target===q.current&&D(ce.isIntersecting),ce.target===l.current&&R(ce.isIntersecting)})},{threshold:.1}),A=q.current,H=l.current;return A&&T.observe(A),H&&T.observe(H),()=>{A&&T.unobserve(A),H&&T.unobserve(H)}},[]);const ye=Ua({mode:"all",reValidateMode:"onChange",defaultValues:E.useMemo(()=>ua(e.localData,r,p,o,e.depositAccounts,I,j,L,c,S,n),[e,r,p,o,I,j,L,c,S,n]),values:E.useMemo(()=>ua(e.localData,r,p,o,e.depositAccounts,I,j,L,c,S,n),[e.localData,e.depositAccounts,r,p,o,I,j,L,c,S,n])}),{isValid:Ta}=ye.formState,qe=T=>T.map(A=>({lineId:A.lineId,chargeCardType:A.chargeCardType,creditCard:{cardType:A.creditCard.cardType,virtualCard:na(A.creditCard[la]),physicalCard:oa(A.creditCard[da])},debitCard:{cardType:A.debitCard.cardType,virtualCard:na(A.debitCard[la],!0),physicalCard:oa(A.debitCard[da],!0)}}));E.useEffect(()=>{const T=ye.watch((A,{name:H})=>{H!=null&&A!=null&&Fa(()=>(async(X,ce)=>{if(X!=null){const{lineInfo:le}=ce,ue=Number(X.split(".")[1]);if(X.includes("cardName")||X.includes("amount"))return;if(X.includes("physicalCard.user")){const pe=We(X.split(".")[2]);le[ue][pe].physicalCard.addressType=void 0,le[ue].creditCard.physicalCard.addressId=void 0;const he=le[ue].lineId;e.customAddress[he]?.addressId!=null&&d(he,pe)}if(X.includes("physicalCard.addressType")){const pe=We(X.split(".")[2]),he=le[ue][pe].physicalCard;if(he[ra]==="card_holder_personal_address"){const He=he.user.selectedUser;if(He!=null){const za=e.userAddress[He];le[ue][pe].physicalCard.addressId=za.addressId}}else he[ra]==="company_address"&&(le[ue][pe].physicalCard.addressId=S?.addressId)}const Ra=qe(le);m(Ra)}})(H,A))});return()=>{T.unsubscribe()}});const Aa=ye.handleSubmit(()=>{if(Ta){const{lineInfo:T}=ye.getValues(),A=qe(T);m(A),U()}}),Oa=e.issueCardStatus.error?.message??ae.strings.empty,_a=e.issueCardStatus.error?.title??ae.strings.empty,Ue=E.useCallback(()=>{va(Q.current?.scrollTop??0),Math.abs(ve-ze)>100&&$a(ve),document.querySelectorAll(".cards-item").forEach((T,A)=>{const H=T.getBoundingClientRect();H.top>=0&&H.bottom<=window.innerHeight&&La(A),H.top<window.innerHeight&&H.bottom>0&&ja(A)})},[ve,ze]);E.useEffect(()=>{const T=Q.current;return T?.addEventListener("scroll",Ue),()=>{T?.removeEventListener("scroll",Ue)}},[Ue,Q]);const Me=e.localData;E.useEffect(()=>{if($e!==null){const T=Math.max(0,$e-2),A=$e+1,H=Me.slice(T,A);Ia(H)}},[$e,Sa,Me]);const Da=(Be=j,Ve=n,(ke=Pa).length===0?[{cardId:"1",cardType:wa(I,Be,L,c,Ve)==="debit_card"?"business_virtual_debit_card":"business_virtual_credit_card",cardUUID:"1",limit:{amount:0,currencyCode:ae.currency.currencyCode,currencySymbol:ae.currency.currencySymbol}}]:ke.map(T=>({cardId:T.lineId,cardType:T.chargeCardType==="credit_card"?T.creditCard.cardType:T.debitCard.cardType,cardUUID:T.lineId,limit:{amount:0,currencyCode:ae.currency.currencyCode,currencySymbol:ae.currency.currencySymbol}}))),Ee=!(P&&M)||F==="small";var ke,Be,Ve;return i.jsxs(cr,{windowSize:F,children:[F!=="small"?i.jsxs(nr,{children:[i.jsxs(yr,{children:[i.jsx(fr,{onClick:u,"data-testid":Ie("issue-card-nav-bar-zeni-logo")}),i.jsxs(xr,{showContent:g?.userEmailDomain==="zeni.ai",children:[i.jsx(wr,{}),i.jsx(vr,{children:C})]})]}),i.jsx(Na,{cardArrProp:Da,insertFromTop:ve<ze,containerScale:1.2})]}):null,i.jsxs(or,{windowSize:F,children:[i.jsxs(pr,{windowSize:F,shouldShowTitle:Ee,children:[Ee&&i.jsx(ur,{windowSize:F,children:Pe.title}),i.jsx(hr,{windowSize:F,onClick:x,"data-testid":Ie("issue-card-nav-bar-close")})]}),i.jsxs(sr,{windowSize:F,ref:Q,children:[F!=="small"?i.jsx(mr,{ref:q,children:Pe.title}):null,e.issueCardStatus.fetchState==="Error"?i.jsxs(gr,{children:[i.jsx(Cr,{}),i.jsxs(br,{children:[i.jsx(ca,{style:{fontWeight:qa.medium},children:_a}),i.jsx(ca,{children:Oa})]})]}):null,i.jsx(Ma,{...ye,children:i.jsx("form",{id:sa(ta),onSubmit:Aa,children:i.jsx(ar,{issueChargeCards:e,issueCardSectionId:ya,cardHolderCandidates:r,userList:o,limit:V,creditLimitFrequency:p,allRoles:$,allAccountingClasses:y,getInitialLineFormData:xa,clearTentativeNameForLine:w,companyAddress:S,containerRef:Q,cardsSectionRef:v,openAddAddressDrawerHandler:f,isIssuePhysicalCardEnabled:z,isIssuePhysicalDebitCardEnabled:_,isDebitCardFeatureEnabled:j,isChargeCardFeatureEnabled:I,isChargeCardSetupEnabled:L,isDebitCardSetupEnabled:c,defaultCardType:n})})})]}),i.jsx(Ea,{style:{zIndex:1,padding:ne.footerTopPadding.valuePx(F)},formId:sa(ta),helperStyle:{paddingTop:a.sp0,paddingBottom:a.sp0},primaryBtn:{label:Pe.primaryBtnText,isLoading:e.issueCardStatus.fetchState==="In-Progress",style:{minWidth:110}},cancelBtn:{label:Pe.secondaryBtnText,onClick:x,style:{minWidth:110}},separatorStyle:{marginRight:a.sp4}})]})]})},sr=s.div`
|
|
437
437
|
padding-left: ${e=>ne.containerPaddingLeft.valuePx(e.windowSize)};
|
|
438
438
|
padding-right: ${e=>ne.containerPaddingRight.valuePx(e.windowSize)};
|
|
439
439
|
height: 100%;
|
|
@@ -529,4 +529,4 @@ import{e as oe,T as Ua,c8 as Fa,V as i,b as Ie,ix as Na,bt as Ma,A as qa,a9 as E
|
|
|
529
529
|
background-color: ${e=>e.theme.colors.hero};
|
|
530
530
|
`,vr=s(Ba)`
|
|
531
531
|
color: ${e=>e.theme.colors.primary};
|
|
532
|
-
`,xa=(e,r,o,C,$,y,z,_,j,I,c,L)=>({lineIndex:e,lineId:r,chargeCardType:wa(z,_,j,I,L),creditCard:{cardType:"business_virtual_credit_card",physicalCard:{cardName:"",amount:void 0,user:{allUsers:$,selectedUser:void 0},frequency:{allOptions:C.map(g=>({label:g.name,value:g.code})),selectedOption:"monthly"},addressType:void 0,addressId:c?.addressId},virtualCard:{cardName:"",amount:void 0,users:{allUsers:o,selectedUsers:[],allNonUsers:[],selectedNonUsers:[]},frequency:{allOptions:C.map(g=>({label:g.name,value:g.code})),selectedOption:"monthly"}}},debitCard:{cardType:"business_virtual_debit_card",physicalCard:{cardName:"",amount:void 0,user:{allUsers:$,selectedUser:void 0},frequency:{allOptions:C.map(g=>({label:g.name,value:g.code})),selectedOption:"monthly"},addressType:void 0,addressId:c?.addressId,connectedAccount:{allOptions:y.map(g=>({label:g.accountName,value:g.id})),selectedOption:y.length===1?y[0].id:void 0}},virtualCard:{cardName:"",amount:void 0,users:{allUsers:o,selectedUsers:[],allNonUsers:[],selectedNonUsers:[]},frequency:{allOptions:C.map(g=>({label:g.name,value:g.code})),selectedOption:"monthly"},connectedAccount:{allOptions:y.map(g=>({label:g.accountName,value:g.id})),selectedOption:y.length===1?y[0].id:void 0}}}}),wa=(e,r,o,C,$)=>{if($!=null){if(r&&C&&$==="debitCard")return"debit_card";if(e&&o&&$==="creditCard")return"credit_card"}return!r||!C||e&&o?"credit_card":"debit_card"},ua=(e,r,o,C,$,y,z,_,j,I,c)=>{const L=[];return Object.values(e).forEach((g,n)=>{g?.lineId!=null&&L.push(((m,U,x,d,u,f,w)=>({lineIndex:U,lineId:m.lineId??String(U+1),chargeCardType:m.chargeCardType,creditCard:{cardType:m.creditCard.cardType,virtualCard:{cardName:m.creditCard.virtualCard?.cardName??"",amount:m.creditCard.virtualCard?.amount?.amount??void 0,users:{allUsers:x,selectedUsers:x.filter(p=>m.creditCard.virtualCard?.userIds.includes(p.userId)),allNonUsers:[],selectedNonUsers:[]},frequency:{allOptions:d.map(p=>({label:p.name,value:p.code})),selectedOption:m.creditCard.virtualCard?.frequency}},physicalCard:{cardName:m.creditCard.physicalCard?.cardName??"",amount:m.creditCard.physicalCard?.amount?.amount??void 0,user:{allUsers:u,selectedUser:m.creditCard.physicalCard.userId},frequency:{allOptions:d.map(p=>({label:p.name,value:p.code})),selectedOption:m.creditCard.physicalCard?.frequency},addressType:m.creditCard.physicalCard?.addressType,addressId:m.creditCard.physicalCard?.addressId??w?.addressId}},debitCard:{cardType:m.debitCard.cardType,virtualCard:{cardName:m.debitCard.virtualCard?.cardName??"",amount:m.debitCard.virtualCard?.amount?.amount??void 0,users:{allUsers:x,selectedUsers:x.filter(p=>m.debitCard.virtualCard?.userIds.includes(p.userId)),allNonUsers:[],selectedNonUsers:[]},connectedAccount:{allOptions:f.map(p=>({label:p.accountName,value:p.id})),selectedOption:m.debitCard.virtualCard.connectedAccountId},frequency:{allOptions:d.map(p=>({label:p.name,value:p.code})),selectedOption:m.debitCard.virtualCard?.frequency}},physicalCard:{cardName:m.debitCard.physicalCard?.cardName??"",amount:m.debitCard.physicalCard?.amount?.amount??void 0,user:{allUsers:u,selectedUser:m.debitCard.physicalCard.userId},connectedAccount:{allOptions:f.map(p=>({label:p.accountName,value:p.id})),selectedOption:m.debitCard.physicalCard.connectedAccountId},frequency:{allOptions:d.map(p=>({label:p.name,value:p.code})),selectedOption:m.debitCard.physicalCard?.frequency},addressType:m.debitCard.physicalCard?.addressType,addressId:m.debitCard.physicalCard?.addressId??w?.addressId}}}))(g,n,r,o,C,$,I))}),L.length===0&&L.push(xa(0,"1",r,o,C,$,y,z,_,j,I,c)),{[ya]:L}};export{
|
|
532
|
+
`,xa=(e,r,o,C,$,y,z,_,j,I,c,L)=>({lineIndex:e,lineId:r,chargeCardType:wa(z,_,j,I,L),creditCard:{cardType:"business_virtual_credit_card",physicalCard:{cardName:"",amount:void 0,user:{allUsers:$,selectedUser:void 0},frequency:{allOptions:C.map(g=>({label:g.name,value:g.code})),selectedOption:"monthly"},addressType:void 0,addressId:c?.addressId},virtualCard:{cardName:"",amount:void 0,users:{allUsers:o,selectedUsers:[],allNonUsers:[],selectedNonUsers:[]},frequency:{allOptions:C.map(g=>({label:g.name,value:g.code})),selectedOption:"monthly"}}},debitCard:{cardType:"business_virtual_debit_card",physicalCard:{cardName:"",amount:void 0,user:{allUsers:$,selectedUser:void 0},frequency:{allOptions:C.map(g=>({label:g.name,value:g.code})),selectedOption:"monthly"},addressType:void 0,addressId:c?.addressId,connectedAccount:{allOptions:y.map(g=>({label:g.accountName,value:g.id})),selectedOption:y.length===1?y[0].id:void 0}},virtualCard:{cardName:"",amount:void 0,users:{allUsers:o,selectedUsers:[],allNonUsers:[],selectedNonUsers:[]},frequency:{allOptions:C.map(g=>({label:g.name,value:g.code})),selectedOption:"monthly"},connectedAccount:{allOptions:y.map(g=>({label:g.accountName,value:g.id})),selectedOption:y.length===1?y[0].id:void 0}}}}),wa=(e,r,o,C,$)=>{if($!=null){if(r&&C&&$==="debitCard")return"debit_card";if(e&&o&&$==="creditCard")return"credit_card"}return!r||!C||e&&o?"credit_card":"debit_card"},ua=(e,r,o,C,$,y,z,_,j,I,c)=>{const L=[];return Object.values(e).forEach((g,n)=>{g?.lineId!=null&&L.push(((m,U,x,d,u,f,w)=>({lineIndex:U,lineId:m.lineId??String(U+1),chargeCardType:m.chargeCardType,creditCard:{cardType:m.creditCard.cardType,virtualCard:{cardName:m.creditCard.virtualCard?.cardName??"",amount:m.creditCard.virtualCard?.amount?.amount??void 0,users:{allUsers:x,selectedUsers:x.filter(p=>m.creditCard.virtualCard?.userIds.includes(p.userId)),allNonUsers:[],selectedNonUsers:[]},frequency:{allOptions:d.map(p=>({label:p.name,value:p.code})),selectedOption:m.creditCard.virtualCard?.frequency}},physicalCard:{cardName:m.creditCard.physicalCard?.cardName??"",amount:m.creditCard.physicalCard?.amount?.amount??void 0,user:{allUsers:u,selectedUser:m.creditCard.physicalCard.userId},frequency:{allOptions:d.map(p=>({label:p.name,value:p.code})),selectedOption:m.creditCard.physicalCard?.frequency},addressType:m.creditCard.physicalCard?.addressType,addressId:m.creditCard.physicalCard?.addressId??w?.addressId}},debitCard:{cardType:m.debitCard.cardType,virtualCard:{cardName:m.debitCard.virtualCard?.cardName??"",amount:m.debitCard.virtualCard?.amount?.amount??void 0,users:{allUsers:x,selectedUsers:x.filter(p=>m.debitCard.virtualCard?.userIds.includes(p.userId)),allNonUsers:[],selectedNonUsers:[]},connectedAccount:{allOptions:f.map(p=>({label:p.accountName,value:p.id})),selectedOption:m.debitCard.virtualCard.connectedAccountId},frequency:{allOptions:d.map(p=>({label:p.name,value:p.code})),selectedOption:m.debitCard.virtualCard?.frequency}},physicalCard:{cardName:m.debitCard.physicalCard?.cardName??"",amount:m.debitCard.physicalCard?.amount?.amount??void 0,user:{allUsers:u,selectedUser:m.debitCard.physicalCard.userId},connectedAccount:{allOptions:f.map(p=>({label:p.accountName,value:p.id})),selectedOption:m.debitCard.physicalCard.connectedAccountId},frequency:{allOptions:d.map(p=>({label:p.name,value:p.code})),selectedOption:m.debitCard.physicalCard?.frequency},addressType:m.debitCard.physicalCard?.addressType,addressId:m.debitCard.physicalCard?.addressId??w?.addressId}}}))(g,n,r,o,C,$,I))}),L.length===0&&L.push(xa(0,"1",r,o,C,$,y,z,_,j,I,c)),{[ya]:L}};export{qr as default,xa as getInitialLineFormData,sa as uniqueFormName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as h,V as d,c6 as b,x as a,en as u,m as t,d as m}from"./index-
|
|
1
|
+
import{e as h,V as d,c6 as b,x as a,en as u,m as t,d as m}from"./index-CuxRoVvZ.js";import{n as s}from"./mui-G2MlMTlr.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="56bbe8ed-2cbd-4233-9f5e-bb91e961d410",e._sentryDebugIdIdentifier="sentry-dbid-56bbe8ed-2cbd-4233-9f5e-bb91e961d410")}catch{}})();const i={width:new a(343,580,726),height:new a(t[6],t[6]),controlMinHeight:new a(t[4],t[4]),paddingTopBottom:new a(t[2],t[2]),marginRight:new a(t[2],t[2]),labelMarginLeft:new a(t[3],t[4]),labelMarginRight:new a(t[3],t[4]),labelMarginTop:new a(t[2],t[2])},f={infoLabel:new m("extraSmallRegular","smallRegular")};function $({isDisabled:e,label:o,additionalInfoLabel:n,addressValue:r,isOptional:g,style:p}){const l=h();return d.jsxs(y,{size:l,style:p,isDisabled:e!=null,children:[d.jsxs(x,{children:[d.jsx(b,{isOptional:g,isDisabled:e,label:o.label,style:{marginLeft:i.labelMarginLeft.value(l),marginRight:i.labelMarginRight.value(l),marginTop:i.labelMarginTop.value(l),width:o.width??"auto"}}),d.jsx(u,{...r,isDisabled:e,style:{minHeight:i.controlMinHeight.value(l),paddingTop:i.paddingTopBottom.valuePx(l),paddingBottom:i.paddingTopBottom.valuePx(l),maxWidth:o.width!=null?`calc(100% - ${o.width}px)`:"auto",display:"flex",flexGrow:1,...r.style}})]}),n?d.jsx(c,{size:l,children:n}):null]})}const c=s.label`
|
|
2
2
|
color: ${e=>e.theme.colors.grey1};
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: row;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as x,cc as w,dX as y,V as d,c6 as v,x as l,et as $,b as z,O as T,f as g,m as i,d as D}from"./index-
|
|
1
|
+
import{e as x,cc as w,dX as y,V as d,c6 as v,x as l,et as $,b as z,O as T,f as g,m as i,d as D}from"./index-CuxRoVvZ.js";import{n}from"./mui-G2MlMTlr.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="3ee92e8b-450d-45b7-9d5a-4211eb6237c4",e._sentryDebugIdIdentifier="sentry-dbid-3ee92e8b-450d-45b7-9d5a-4211eb6237c4")}catch{}})();const t={width:new l(343,580,726),height:new l(i[6],i[6]),controlMinHeight:new l(i[4],i[4]),paddingTopBottom:new l(i[2],i[2]),marginRight:new l(i[2],i[2]),labelMarginLeft:new l(i[3],i[4]),labelMarginRight:new l(i[3],i[4]),labelMarginTop:new l(i[2],i[2])},B={infoLabel:new D("extraSmallRegular","smallRegular")},L=T.getLocalizedStrings();function j({isDisabled:e,label:o,addressValueField:r,additionalInfoLabel:h,showAdditionalInfoLabel:b=!1,style:p,hasHoverBorder:f,isOptional:m}){const a=x(),{formState:{errors:u}}=w(),s=y(u,r.name),c=s?h:L.commonSetUp.businessVerification.addressAdditionInfo;return d.jsxs(I,{size:a,style:p,isDisabled:e!=null,isError:s,hasHoverBorder:f??!0,"data-testid":z("labeled-address-value-field",r.name),children:[d.jsx(v,{isDisabled:e,isOptional:m,label:o.label,htmlFor:r.name,style:{marginLeft:t.labelMarginLeft.value(a),marginRight:t.labelMarginRight.value(a),marginTop:t.labelMarginTop.value(a),width:o.width??"auto"}}),d.jsxs(M,{labelWidth:o.width,children:[d.jsx($,{...r,isDisabled:e,style:{minHeight:t.controlMinHeight.value(a),paddingTop:t.paddingTopBottom.valuePx(a),paddingBottom:t.paddingTopBottom.valuePx(a),width:"-webkit-fill-available",display:"flex",flexGrow:1,...r.style}}),(b||s)&&d.jsx(P,{size:a,isError:s,children:c})]})]})}const I=n.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: flex-start;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as d,V as i,ed as n,c6 as o,o as l,b as r,x as b}from"./index-
|
|
1
|
+
import{e as d,V as i,ed as n,c6 as o,o as l,b as r,x as b}from"./index-CuxRoVvZ.js";import{c,n as f}from"./mui-G2MlMTlr.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="02efbaa2-54c3-4a52-8a05-326411ca4b16",e._sentryDebugIdIdentifier="sentry-dbid-02efbaa2-54c3-4a52-8a05-326411ca4b16")}catch{}})();const y={width:new b(343,580,726)};function u({label:e,checkBoxField:s,style:a}){const t=d();return i.jsxs(h,{size:t,style:a,isDisabled:s.isDisabled,"data-testid":r(s.name,"labeled-check-box-field"),isSelected:s.defaultChecked??!1,children:[i.jsx(n,{...s,style:{...s.style}}),i.jsx(o,{isDisabled:s.isDisabled,label:e.label,labelStyle:e.style,htmlFor:s.name,style:{display:"flex",flex:1,minHeight:l.sp4,marginLeft:l.sp2,width:e.width,backgroundColor:"inherit",...e.style}})]})}const h=f.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
flex-direction: row;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as z,cc as S,dX as D,V as o,c6 as E,x as u,f as g,o as l,m as t,y as O,e4 as V,b3 as C,d as P,b4 as h,em as T,a8 as N,l as B,w as y,b2 as H}from"./index-
|
|
1
|
+
import{e as z,cc as S,dX as D,V as o,c6 as E,x as u,f as g,o as l,m as t,y as O,e4 as V,b3 as C,d as P,b4 as h,em as T,a8 as N,l as B,w as y,b2 as H}from"./index-CuxRoVvZ.js";import{n as a}from"./mui-G2MlMTlr.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="46e60748-0233-4558-b000-da31134ff94d",e._sentryDebugIdIdentifier="sentry-dbid-46e60748-0233-4558-b000-da31134ff94d")}catch{}})();const A=({name:e,registerOptions:i,defaultValue:r,isDisabled:s,style:m,placeholder:b})=>{const{control:f,formState:{errors:c}}=S(),$=O(),x=D(c,e??""),_=d=>d.map(w=>(n=>({value:n.value,label:n.label}))(w)),L=d=>d.map(w=>(n=>{if(n!=null&&n)return{value:n,label:r.allOptions.find(v=>v.value===n)?.label??n}})(w)),I={container:d=>({...d,width:"100%",...m}),menu:d=>({...d,backgroundColor:$.colors.grey5,borderRadius:l.sp1,boxShadow:`${l.sp0} 2px ${l.sp2} ${$.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:10,width:"100%",margin:0}),menuList:d=>({...d,borderRadius:l.sp1})},F={hasError:x};return o.jsx(V,{name:e,control:f,defaultValue:r,rules:i,render:({field:{onChange:d,onBlur:w,value:n,ref:v}})=>o.jsx(C,{...F,ref:v,isMulti:!0,isSearchable:!0,isClearable:!0,controlShouldRenderValue:!0,placeholder:b,value:L(n.selectedOptions),options:_(n.allOptions),onChange:M=>{d({selectedOptions:M.map(R=>R?.value),allOptions:n.allOptions})},tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"multi-select-field",onBlur:w,menuPlacement:"auto",maxMenuHeight:210,menuShouldScrollIntoView:!1,closeMenuOnSelect:!1,components:{Control:G,Option:Y,Input:q,MultiValue:J,MultiValueLabel:K,MultiValueRemove:Q,ValueContainer:X,DropdownIndicator:ne,IndicatorSeparator:ae,Placeholder:W,ClearIndicator:U},hideSelectedOptions:!1,styles:I,isDisabled:s!=null})})},G=e=>{const{menuIsOpen:i,isFocused:r,isDisabled:s,selectProps:m}=e,{value:b,hasError:f}=m;return o.jsx(Z,{menuIsOpen:i,isFocused:r,isDisabled:s,optionsLen:b.length,hasError:f,children:o.jsx(h.Control,{...e,className:"select-control",children:e.children})})},X=e=>{const{selectProps:i}=e,{value:r}=i;return o.jsxs(h.ValueContainer,{...e,className:"select-value-container",children:[e.children,o.jsx(ee,{className:"selected-options",children:r.map(s=>s.label).join(", ")})]})},q=e=>{const{selectProps:i}=e,{placeholder:r,value:s}=i;return o.jsx(h.Input,{...e,autoComplete:"new-password",placeholder:s.length===0?r:void 0,children:e.children})},J=e=>o.jsx(h.MultiValue,{...e,children:e.children}),K=e=>{const{data:i}=e;return o.jsx(h.MultiValueLabel,{...e,children:i.label})},Q=e=>o.jsx(h.MultiValueRemove,{...e,children:o.jsx(j,{style:{marginTop:"2px"}})}),U=e=>o.jsx(h.ClearIndicator,{...e,children:o.jsx(j,{})}),W=()=>null,Y=e=>{const{isSelected:i,isDisabled:r,isFocused:s}=e;return o.jsx(oe,{isFocused:s,isSelected:i,isDisabled:r,children:o.jsx(h.Option,{...e,className:"select-option",children:o.jsxs(le,{children:[o.jsx(T,{...e.value.length===2?{countryCode2:e.value}:{countryCode3:e.value}}),o.jsx(re,{children:o.jsx(ie,{isSelected:i,isDisabled:r,children:e.label})}),i?o.jsxs(te,{children:[o.jsx(se,{className:"right-tick-icon"}),o.jsx(j,{className:"close-tick-icon"})]}):null]})})})},Z=a.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
background-color: ${e=>e.theme.colors.grey5};
|
|
4
4
|
cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as M,cc as R,dX as F,V as l,c6 as _,x,b as I,f as u,m as s,o as i,e4 as N,d as H,y as W,O as B,ej as G,ek as q,cM as X,bV as A,b4 as S,cq as J,db as K,w as k,b2 as Q,a8 as U}from"./index-
|
|
1
|
+
import{e as M,cc as R,dX as F,V as l,c6 as _,x,b as I,f as u,m as s,o as i,e4 as N,d as H,y as W,O as B,ej as G,ek as q,cM as X,bV as A,b4 as S,cq as J,db as K,w as k,b2 as Q,a8 as U}from"./index-CuxRoVvZ.js";import{n as a}from"./mui-G2MlMTlr.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="3bebc611-483c-4fb0-aa4c-d815b465561d",e._sentryDebugIdIdentifier="sentry-dbid-3bebc611-483c-4fb0-aa4c-d815b465561d")}catch{}})();const Y=({allValues:e,selectedValue:o,name:r,onSelectedValueChanged:n,isDisabled:d,placeholder:p,isOptionRemovable:w=!0,addIconInCreateLabel:b,getLabelForId:m,tagProperties:f,hasError:j,style:c})=>{const $=W(),y=ye(e,m),C=B.getLocalizedStrings().dropDowns,O=y.sort((t,h)=>t.label.localeCompare(h.label)),v=o!=null&&o?P(o,m):void 0,z={container:t=>({...t,width:"100%",...c}),menu:t=>({...t,backgroundColor:$.colors.grey5,borderRadius:i.sp1,boxShadow:`${i.sp0} 2px ${i.sp2} ${$.colors.dropShadowHover}`,border:`1px solid ${$.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${i.sp0} ${i.sp0} ${i.sp0}`,overflow:"hidden"}),menuList:t=>({...t,borderRadius:i.sp1}),input:(t,{selectProps:h})=>({...t,":after":{width:h.inputValue.length>0?i.sp0:"unset"}})};return l.jsx(G,{isMulti:!1,onCreateOption:t=>{const h=q(t);n(h)},onChange:t=>{w!==!1&&t?.value!=null&&v?.value===t.value?n(void 0):n(t?.value)},formatCreateLabel:t=>b===!0?(h=>l.jsxs(ue,{children:[l.jsx(pe,{children:l.jsx(J,{fill:"currentColor",height:i.sp3,width:i.sp3})}),l.jsx(ge,{children:`${C.createOption} "${h}"`})]}))(t):`${C.otherOption} ${t}`,tabSelectsValue:!1,openMenuOnFocus:!0,"data-testid":I("creatable-single-select",r),classNamePrefix:"creatable-single-select-field",createOptionPosition:"last",allowCreateWhileLoading:!0,controlShouldRenderValue:!0,placeholder:p,menuPlacement:"auto",maxMenuHeight:288,defaultValue:v,value:v,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:t=>{const{menuIsOpen:h,isFocused:D,isDisabled:L,selectProps:E}=t,{value:T}=E;return l.jsx(te,{menuIsOpen:h,isFocused:D,isDisabled:L,selectedValue:T,hasError:j,"data-testid":I("creatable-single-select-control",r),children:l.jsx(S.Control,{...t,className:"select-control",children:t.children})})},Option:ie,Input:t=>{const{selectProps:h}=t,{placeholder:D,value:L}=h;return l.jsx(S.Input,{...t,autoComplete:"new-password",placeholder:L==null?D:void 0,"data-testid":I("creatable-single-select-input",r),children:t.children})},SingleValue:t=>l.jsx(fe,{children:l.jsxs(S.SingleValue,{...t,children:[t.selectProps.menuIsOpen===!1&&f!=null&&f.isTagShownForOption(t.data.value)===!0&&l.jsx(be,{children:l.jsx(me,{style:f.style,children:f.tagName})}),t.children]})}),ValueContainer:Z,DropdownIndicator:xe,IndicatorSeparator:we,ClearIndicator:$e,Placeholder:le,MenuList:ee},hideSelectedOptions:!1,styles:z,options:O,isClearable:!0,isSearchable:!0,isDisabled:d!=null},X())},Z=e=>l.jsx(S.ValueContainer,{...e,className:"select-value-container",children:e.children}),ee=e=>{const{options:o,children:r,maxHeight:n,getValue:d}=e,[p]=d(),w=40*o.indexOf(p);return l.jsx(A,{height:r.length>7?n:40*r.length,width:"100%",itemCount:r.length,itemSize:()=>40,initialScrollOffset:w,children:({index:b,style:m})=>l.jsx(ne,{style:m,children:r[b]})})},le=()=>null,ie=e=>{const{isSelected:o,isDisabled:r,isFocused:n,data:d}=e,p=typeof d.label=="string"?d.label:d.value;return l.jsx(oe,{isFocused:n,isSelected:o,isDisabled:r,children:l.jsx(S.Option,{...e,className:"select-option",children:l.jsxs(re,{"data-testid":I("creatable-single-select-option",p),children:[l.jsx(se,{children:l.jsx(ae,{isSelected:o,isDisabled:r,children:e.label})}),o?l.jsxs(de,{children:[l.jsx(ce,{className:"right-tick-icon"}),l.jsx(he,{className:"close-tick-icon"})]}):null]})})})},te=a.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
background-color: ${e=>e.theme.colors.grey5};
|
|
4
4
|
cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as O,cc as U,dX as g,V as r,c6 as W,x as t,el as j,O as N,b as k,m as i,o,f as _,d as A}from"./index-
|
|
1
|
+
import{e as O,cc as U,dX as g,V as r,c6 as W,x as t,el as j,O as N,b as k,m as i,o,f as _,d as A}from"./index-CuxRoVvZ.js";import{n as d}from"./mui-G2MlMTlr.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="49c59354-bb73-469f-a299-edf24d09c4aa",e._sentryDebugIdIdentifier="sentry-dbid-49c59354-bb73-469f-a299-edf24d09c4aa")}catch{}})();const a={width:new t(343,580,726),height:new t(i[6],i[6]),paddingTopBottom:new t(i[2],i[2]),marginRight:new t(i[2],i[2]),labelMarginLeft:new t(i[3],i[4]),labelMarginRight:new t(i[3],i[4]),labelMarginTop:new t(i[2],i[2])},V={infoLabel:new A("extraSmallRegular","smallRegular")};function J({label:e,isDisabled:l,isOptional:p,style:u,file:h,name:n,registerOptions:f,additionalInfoLabel:c,acceptableTypes:y,sizeLimit:x,filemetadataPayload:w,deleteFileStatusById:$,updateFileStatusById:z,filesEndPoint:P,authParams:E,hasError:v=!1,placeholderText:F,showPhotoPicker:I,useMobileCam:S,showUploadSuccessAnimation:T,showWebCamPopUpCloseIcon:D,updateFilesEntity:L,onDeleteFile:M,onEditFileName:R,onFileSizeError:B}){const s=O(),{formState:{errors:m}}=U(),b=g(m,n),C=g(m,`${n}.fileName`);return r.jsxs(q,{size:s,style:u,isDisabled:l!=null,"data-testid":k("document-field",n),children:[r.jsx(W,{isDisabled:l,label:e.label,isOptional:p,style:{marginLeft:a.labelMarginLeft.value(s),marginRight:a.labelMarginRight.value(s),marginTop:a.labelMarginTop.value(s),width:e.width??"auto",...e.style}}),r.jsxs(X,{labelWidth:e.width,size:s,children:[r.jsx(j,{name:n,filesEndPoint:P,authParams:E,registerOptions:f,file:h,sizeLimit:x,acceptableTypes:y,isDisabled:l==="disabled"||l==="readonly",filemetadataPayload:w,deleteFileStatusById:$,updateFileStatusById:z,hasError:v,updateFilesEntity:L,onFileSizeError:B,onDeleteFile:M,onEditFileName:R,placeholderText:F,showPhotoPicker:I,useMobileCam:S,showWebCamPopUpCloseIcon:D,showUploadSuccessAnimation:T}),b&&r.jsx(Y,{size:s,isError:b,children:C&&h!=null?N.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:c})]})]})}const q=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: ${e=>e.size==="small"?"column":"row"};
|
|
4
4
|
align-items: flex-start;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as C,y as V,cc as f,dX as P,V as r,o,e4 as R,bl as _,w as O,fH as U,f as t,d as A,b2 as H}from"./index-
|
|
1
|
+
import{e as C,y as V,cc as f,dX as P,V as r,o,e4 as R,bl as _,w as O,fH as U,f as t,d as A,b2 as H}from"./index-CuxRoVvZ.js";import{n as i}from"./mui-G2MlMTlr.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]="eead089d-fb2e-49a9-9ec5-ae9d20b7f278",e._sentryDebugIdIdentifier="sentry-dbid-eead089d-fb2e-49a9-9ec5-ae9d20b7f278")}catch{}})();const M={infoLabel:new A("extraSmallRegular","smallRegular")};function N({isDisabled:e,label:a,formattedText:l,dropdownStyle:h,style:m,additionalInfoLabel:y,showAdditionalInfoLabel:x=!0,isSaveError:d=!1,showTickIcon:w,showErrorInfoLabel:$,errorInfoLabel:L,registerOptions:D,defaultValue:p,isSelectDisabled:v,menuPlacement:j,name:k,placeholderLabel:E}){const n=C(),u=V(),{formState:{errors:I}}=f(),c=P(I,l.name),{control:S}=f(),T=s=>typeof s=="string"?s.toLocaleUpperCase():s.toString().toLocaleUpperCase();return r.jsxs(X,{size:n,style:m,isDisabled:e!=null,isError:c||d,children:[r.jsx(F,{windowSize:n,style:{width:a?.width??"auto",marginRight:o.sp2},children:r.jsx(G,{style:{width:"auto",...h},children:r.jsx(R,{name:k,control:S,defaultValue:p.dropDownValue,rules:D,render:({field:{value:s,onChange:z}})=>r.jsx(_,{pickerValues:p.dropDownList.map(g=>g.code),valueToLabel:T,selectedValue:s??void 0,isDisabled:e!=null||v,onPickerSelectionChanged:g=>{z(g)},menuPlacement:j,titleTextStyle:O.standardRegular,titleColor:u.colors.hero,valueOpacity:1,backgroundColor:u.colors.grey5,placeholder:E})})})}),r.jsxs(Y,{children:[r.jsx(U,{...l,style:l.style,isDisabled:l.isDisabled,isMasked:!0}),(x||c||d)&&r.jsxs(b,{size:n,isError:c||d,children:[w===!0?r.jsx(q,{children:r.jsx(B,{})}):null,y]}),$===!0&&r.jsx(b,{size:n,isError:!0,children:L})]})]})}const X=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{cc as _,e as T,dX as W,O as K,V as r,e4 as U,eo as q,f as g,o,x as R,l as N,d as X,b2 as B,bv as G,m as C,W as H,au as M,w as J,ep as Q,a8 as P,co as Y,ah as Z}from"./index-
|
|
1
|
+
import{cc as _,e as T,dX as W,O as K,V as r,e4 as U,eo as q,f as g,o,x as R,l as N,d as X,b2 as B,bv as G,m as C,W as H,au as M,w as J,ep as Q,a8 as P,co as Y,ah as Z}from"./index-CuxRoVvZ.js";import{a as E,b as F}from"./sentry-Cm8I7E9J.js";import{n as t}from"./mui-G2MlMTlr.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]="ff783748-121f-4ee6-8a6d-046bb5436827",e._sentryDebugIdIdentifier="sentry-dbid-ff783748-121f-4ee6-8a6d-046bb5436827")}catch{}})();const ee=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
padding: ${o.sp1} ${o.sp2};
|
package/dist/assets/{LabeledNameField-Dxx0xwMv-DBRkdNqp.js → LabeledNameField-DZJXGYR9-C9Z5T7ep.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as F,cc as T,dX as k,eo as N,V as o,c6 as R,x as n,f as a,m as r,k as C,o as d,d as M,w as P,au as W,ep as S}from"./index-
|
|
1
|
+
import{e as F,cc as T,dX as k,eo as N,V as o,c6 as R,x as n,f as a,m as r,k as C,o as d,d as M,w as P,au as W,ep as S}from"./index-CuxRoVvZ.js";import{n as c}from"./mui-G2MlMTlr.js";import{a as _}from"./sentry-Cm8I7E9J.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="40cde576-2e8b-4ed6-8375-6d7f91149db7",e._sentryDebugIdIdentifier="sentry-dbid-40cde576-2e8b-4ed6-8375-6d7f91149db7")}catch{}})();function B({name:e,placeHolder:t,autoComplete:l="off",defaultValue:f,isDisabled:y,showFullNameError:x,style:i,registerOptions:h}){const[b,m]=_.useState(!1),{register:g,getValues:$,formState:{errors:w}}=T(),u=y==="disabled"||y==="readonly",v=Object.assign({},h),j=$(e),E=[j?.firstName,j?.lastName].join(" ").trim(),L=k(w,e)&&N(w,`${e}.firstName`)!=null,D=k(w,e)&&N(w,`${e}.lastName`)!=null,p=!(x===!0&&(L||D))&&b===!1;return o.jsx(C,{onClickAway:()=>u===!1&&m(!1),children:o.jsx(H,{style:i,isDisabled:u,tabIndex:u?void 0:0,onClick:()=>u===!1&&m(!0),children:o.jsxs(o.Fragment,{children:[E.length>0?o.jsx(z,{className:"name-field",isVisible:p,children:E}):o.jsx(z,{className:"name-field name-placeholder",isVisible:p,children:t?.name}),o.jsx(V,{placeholder:t?.firstName,type:void 0,isError:L,style:{...i,maxWidth:"100%"},disabled:u,...g(`${e}.firstName`,v),id:e,defaultValue:f?.firstName,autoComplete:l,isVisible:!p}),p?null:o.jsx(A,{}),o.jsx(V,{placeholder:t?.lastName,type:void 0,isError:D,style:{...i,maxWidth:"100%"},disabled:u,...g(`${e}.lastName`,v),id:e,defaultValue:f?.lastName,autoComplete:l,isVisible:!p})]})})})}const H=c.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
justify-content: flex-end;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as $,V as i,c6 as D,x as h,m as n,cc as C,e4 as S,y as j,b3 as k,o as r,cM as V,b4 as x,b2 as I,a8 as O,w}from"./index-
|
|
1
|
+
import{e as $,V as i,c6 as D,x as h,m as n,cc as C,e4 as S,y as j,b3 as k,o as r,cM as V,b4 as x,b2 as I,a8 as O,w}from"./index-CuxRoVvZ.js";import{n as g}from"./mui-G2MlMTlr.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]="94ab0d6b-34b0-4e30-81a8-0acacd391957",e._sentryDebugIdIdentifier="sentry-dbid-94ab0d6b-34b0-4e30-81a8-0acacd391957")}catch{}})();const R=({allValues:e,selectedValue:l,onSelectedValueChanged:s,isDisabled:a,placeholder:d,style:b,customStyleConfig:p})=>{const c=j(),f=J(e).sort((o,t)=>o.label.localeCompare(t.label)),m=l!=null&&l?v(l):void 0,y={control:(o,t)=>({...o,height:r.sp6,backgroundColor:t.menuIsOpen?c.colors.brandColorGoldDark:c.colors.grey5,":hover":{fill:c.colors.primary,backgroundColor:t.isDisabled?c.colors.grey5:c.colors.background,borderColor:"none"},...p?.control?.(o,t)}),container:(o,t)=>({...o,width:"100%",...b,...p?.container?.(o,t)}),valueContainer:(o,t)=>({...o,margin:`${r.sp0} ${r.sp3}`,justifyContent:t.selectProps.menuIsOpen===!1?"flex-end":"flex-start",...p?.valueContainer?.(o,t)}),menu:(o,t)=>({...o,backgroundColor:c.colors.grey5,borderRadius:r.sp1,boxShadow:`${r.sp0} 2px ${r.sp2} ${c.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:0,...p?.menu?.(o,t)}),menuList:(o,t)=>({...o,borderRadius:0,...p?.menuList?.(o,t)})};return i.jsx(k,{isMulti:!1,onChange:o=>{o?.value!=null&&m?.value===o.value?s(void 0):s(o?.value)},tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"single-select-field",placeholder:d,menuPlacement:"auto",maxMenuHeight:288,defaultValue:m,value:m,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:M,Option:_,Input:z,SingleValue:F,ValueContainer:P,DropdownIndicator:W,IndicatorSeparator:q,ClearIndicator:A,Placeholder:T},hideSelectedOptions:!1,styles:y,options:f,isClearable:!0,isSearchable:!0,isDisabled:a!=null},V())},M=e=>{const{menuIsOpen:l,isFocused:s,isDisabled:a,selectProps:d}=e,{value:b}=d;return i.jsx(N,{menuIsOpen:l,isFocused:s,isDisabled:a,selectedValue:b,children:i.jsx(x.Control,{...e,className:"select-control",children:e.children})})},P=e=>i.jsx(x.ValueContainer,{...e,className:"select-value-container",children:e.children}),z=e=>{const{selectProps:l}=e,{placeholder:s,value:a}=l;return i.jsx(x.Input,{...e,autoComplete:"new-password",placeholder:a==null?s:void 0,children:e.children})},F=e=>i.jsx(x.SingleValue,{...e,children:e.children}),T=()=>null,_=e=>{const{isSelected:l,isDisabled:s,isFocused:a}=e;return i.jsx(L,{isFocused:a,isSelected:l,isDisabled:s,children:i.jsx(x.Option,{...e,className:"select-option",children:i.jsxs(H,{children:[i.jsx(G,{children:i.jsx(B,{isSelected:l,isDisabled:s,children:e.label})}),l?i.jsxs(E,{children:[i.jsx(I,{className:"right-tick-icon",width:r.sp3,height:r.sp3,style:{marginRight:"2px"},color:"currentColor"}),i.jsx(O,{className:"close-tick-icon",width:r.sp3,height:r.sp3,color:"currentColor"})]}):null]})})})},N=g.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as f,V as r,c6 as p,x as l,b as g,m as t,o as a,l as u,d as m}from"./index-
|
|
1
|
+
import{e as f,V as r,c6 as p,x as l,b as g,m as t,o as a,l as u,d as m}from"./index-CuxRoVvZ.js";import{n as o}from"./mui-G2MlMTlr.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="bb3e4fe7-9ae6-4d32-82f0-171fb4d2aae8",e._sentryDebugIdIdentifier="sentry-dbid-bb3e4fe7-9ae6-4d32-82f0-171fb4d2aae8")}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])},c={infoLabel:new m("extraSmallRegular","smallRegular")};function T({label:e,value:d,additionalInfoLabel:s,style:b,infoLabelStyle:h}){const n=f();return r.jsxs(x,{size:n,style:b,"data-testid":g("labeled-text",e.label),children:[r.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"}}),r.jsxs(w,{labelWidth:e.width,children:[r.jsx(y,{"data-testid":g("labeled-text-input",e.label),children:d}),s!=null?r.jsx($,{size:n,style:h,children:s}):null]})]})}const x=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: flex-start;
|