@zeniai/web-components 3.16.58 → 3.16.59
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/ACHDetailsPage-BEo97ilK.cjs +21 -0
- package/dist/ACHDetailsPage-DNP57aM2.js +160 -0
- package/dist/AIPerformancePage-C1vr53bD.cjs +530 -0
- package/dist/AIPerformancePage-CLOfGirj.js +1333 -0
- package/dist/AccountInfoPage-C1rC_WuG.cjs +18 -0
- package/dist/AccountInfoPage-HMMPj3Jx.js +78 -0
- package/dist/AccountInfoPageContent-Cd14TE_h.js +428 -0
- package/dist/AccountInfoPageContent-hn2MYNer.cjs +149 -0
- package/dist/AccountLockedInfoModal-B7hfTh4H.js +125 -0
- package/dist/AccountLockedInfoModal-J19Qt25u.cjs +59 -0
- package/dist/AccountReconDetailsDrawerPage-Byo1Sc5P.cjs +239 -0
- package/dist/AccountReconDetailsDrawerPage-CpIoAKZm.js +686 -0
- package/dist/AccountRow--0vvwKWj.js +1012 -0
- package/dist/AccountRow-uaJbDNdq.cjs +298 -0
- package/dist/AccountsPromoCardStack-DK8u3wBU.cjs +207 -0
- package/dist/AccountsPromoCardStack-x-0Az8Y_.js +664 -0
- package/dist/AddAddressForCardDrawer-CIl9IIcd.cjs +6 -0
- package/dist/AddAddressForCardDrawer-vYqo1v2K.js +82 -0
- package/dist/AddToWalletPage-B8Be5pV4.js +643 -0
- package/dist/AddToWalletPage-nKnPKmj7.cjs +344 -0
- package/dist/AgingReportsPage-3-UUJIa0.js +827 -0
- package/dist/AgingReportsPage-C62x5QEP.cjs +79 -0
- package/dist/AllUserItems-CAH3DoJL.js +979 -0
- package/dist/AllUserItems-CzJEYPgF.cjs +192 -0
- package/dist/ApAgingDetailPage-BoIGWS7F.js +239 -0
- package/dist/ApAgingDetailPage-DhyX4hHY.cjs +46 -0
- package/dist/AppBasePage-7PUC70TA.js +120 -0
- package/dist/AppBasePage-CqowM90K.cjs +71 -0
- package/dist/AppDrawerContent-DcIx8bbM.cjs +91 -0
- package/dist/AppDrawerContent-DqL4m8ko.js +375 -0
- package/dist/ApprovalRulesSettingsPage-BX2fg62T.cjs +47 -0
- package/dist/ApprovalRulesSettingsPage-Dp-0kFUU.js +146 -0
- package/dist/ArAgingChart-Bwl02-yM.js +529 -0
- package/dist/ArAgingChart-CstQHzLh.cjs +24 -0
- package/dist/ArAgingDetailPage-D5imSRTy.js +243 -0
- package/dist/ArAgingDetailPage-DodFnsi_.cjs +46 -0
- package/dist/AttachmentView-BXh_tU2-.js +260 -0
- package/dist/AttachmentView-Bw-iaeNo.cjs +101 -0
- package/dist/BankAccountSection-CUxk0Njy.js +398 -0
- package/dist/BankAccountSection-xQGgxcWW.cjs +79 -0
- package/dist/BankAccountWarningSection-BdaOg4id.js +110 -0
- package/dist/BankAccountWarningSection-DFfjR3WI.cjs +51 -0
- package/dist/BankConnectionsSettingsPage-DE6_s8CU.js +1695 -0
- package/dist/BankConnectionsSettingsPage-p7apksj2.cjs +425 -0
- package/dist/BillDetailPage-BRBS1Ys9.cjs +266 -0
- package/dist/BillDetailPage-O-vInRiu.js +1798 -0
- package/dist/BillPayApprovalRuleDetailPage-DnYBk87Q.cjs +27 -0
- package/dist/BillPayApprovalRuleDetailPage-HnZdnCGb.js +247 -0
- package/dist/BillPayApprovalRulesPage-CmiNCNNQ.cjs +235 -0
- package/dist/BillPayApprovalRulesPage-CzWGbZRY.js +415 -0
- package/dist/BillPayPromoPage-BRR7cN2u.js +293 -0
- package/dist/BillPayPromoPage-DqTVnxly.cjs +84 -0
- package/dist/BillPaySetUpPage-CKCq6jOJ.js +412 -0
- package/dist/BillPaySetUpPage-Ca7oMPxk.cjs +42 -0
- package/dist/BillingSettingsPage-C7NZo_V6.cjs +44 -0
- package/dist/BillingSettingsPage-DgLDuVI-.js +336 -0
- package/dist/BillsBulkReviewDrawerPage-CiOxuxlP.cjs +1 -0
- package/dist/BillsBulkReviewDrawerPage-WyyQGDCw.js +216 -0
- package/dist/BoxItem-C7GdiQFJ.cjs +53 -0
- package/dist/BoxItem-DVm9tmFC.js +118 -0
- package/dist/BusinessVerificationPage-BGT99Bj0.cjs +138 -0
- package/dist/BusinessVerificationPage-qgc9RAdT.js +717 -0
- package/dist/BusyIndication-BDpprqeH.cjs +9 -0
- package/dist/BusyIndication-DE9NSMoT.js +19 -0
- package/dist/CardNumberSubText-DRJY8qrD.cjs +21 -0
- package/dist/CardNumberSubText-_t2SN7Aq.js +59 -0
- package/dist/CashbackDetailPage-Bxv8BEGS.js +824 -0
- package/dist/CashbackDetailPage-CuKgkT7Z.cjs +285 -0
- package/dist/ChargeCardDetailPage-BceKsQ0F.cjs +1462 -0
- package/dist/ChargeCardDetailPage-DhMjZ9GD.js +5454 -0
- package/dist/ChargeCardListPage-CQuzWoRr.cjs +406 -0
- package/dist/ChargeCardListPage-CiLjIfsk.js +1775 -0
- package/dist/ChargeCardListTable-7Lojy4cl.js +2872 -0
- package/dist/ChargeCardListTable-Dj5_o23r.cjs +711 -0
- package/dist/ChargeCardPromoPage-COGptAUM.cjs +222 -0
- package/dist/ChargeCardPromoPage-DqIn9Bf_.js +806 -0
- package/dist/ChargeCardSetupPage-DjY98K9Z.cjs +36 -0
- package/dist/ChargeCardSetupPage-otYi1yA_.js +362 -0
- package/dist/ChargeCardStatementsPage-BYEK3t_E.js +243 -0
- package/dist/ChargeCardStatementsPage-ZLjsV5hK.cjs +60 -0
- package/dist/ChargeCardUtils-Bfvw9nbm.js +102 -0
- package/dist/ChargeCardUtils-CB7C88_V.cjs +1 -0
- package/dist/ChaseOverlay-COS1KOyZ.js +402 -0
- package/dist/ChaseOverlay-Doy7O03W.cjs +170 -0
- package/dist/CheckDepositDrawerPage-C-WCI0o8.cjs +206 -0
- package/dist/CheckDepositDrawerPage-ClyUqBZL.js +726 -0
- package/dist/CollapsableReportTable-7QojazIG.js +11758 -0
- package/dist/CollapsableReportTable-C7I0XK1s.cjs +2932 -0
- package/dist/CompanyOfficerDetailsSection-DCcJ2qFk.js +1633 -0
- package/dist/CompanyOfficerDetailsSection-DNjg7qF2.cjs +260 -0
- package/dist/CompanyPassportCard-BsEL9Qbu.js +146 -0
- package/dist/CompanyPassportCard-DdYDNaW9.cjs +42 -0
- package/dist/CompanyPassportPage-BfTg63IR.js +2160 -0
- package/dist/CompanyPassportPage-Cn1T7rpK.cjs +574 -0
- package/dist/CompleteProfile-DVoUDRsl.js +301 -0
- package/dist/CompleteProfile-DiEzpxfm.cjs +52 -0
- package/dist/ConfettiBurst-Bkpvc1sT.js +37 -0
- package/dist/ConfettiBurst-DnJw_vVP.cjs +1 -0
- package/dist/CreateOrEditVendorPage-CNhxP9X8.js +755 -0
- package/dist/CreateOrEditVendorPage-btc1IFcl.cjs +281 -0
- package/dist/CreditCardPaymentDrawerPage-3iLV02Xb.cjs +224 -0
- package/dist/CreditCardPaymentDrawerPage-DFKMaKZe.js +1171 -0
- package/dist/CreditCardPaymentPlgSection-B0SfyRlf.js +196 -0
- package/dist/CreditCardPaymentPlgSection-CbAVUTrP.cjs +78 -0
- package/dist/CurrencySelectField-S5PM00pv.js +348 -0
- package/dist/CurrencySelectField-UuS00K6a.cjs +139 -0
- package/dist/CustomerOnboardingActivationPage-BjwtalDM.js +143 -0
- package/dist/CustomerOnboardingActivationPage-Co8CA_sx.cjs +88 -0
- package/dist/CustomerOnboardingContainerPage-CB4kgvEy.js +7 -0
- package/dist/CustomerOnboardingContainerPage-CfoMCJxA.cjs +1 -0
- package/dist/CustomerOnboardingDetailPageSkeleton-BKx0TrZ6.cjs +162 -0
- package/dist/CustomerOnboardingDetailPageSkeleton-CSbZAXs2.js +434 -0
- package/dist/CustomerOnboardingNoStepsPage-B4QyzUYh.js +425 -0
- package/dist/CustomerOnboardingNoStepsPage-BbA3dzsZ.cjs +66 -0
- package/dist/CustomerOnboardingPage-C5iLtRHE.cjs +107 -0
- package/dist/CustomerOnboardingPage-CM-Q6yvG.js +1060 -0
- package/dist/CustomerOnboardingProductSuitePage-Dl4T0H6a.js +349 -0
- package/dist/CustomerOnboardingProductSuitePage-Qw5Dm7JJ.cjs +202 -0
- package/dist/Dashboard-ClgU71aR.cjs +1551 -0
- package/dist/Dashboard-D02sGwYq.js +5531 -0
- package/dist/DashboardReportPage-5LYR2zIS.cjs +371 -0
- package/dist/DashboardReportPage-QCOFKP8U.js +2536 -0
- package/dist/DashboardSidebarBackgroundAnimation-BAyvZkF0.cjs +12 -0
- package/dist/DashboardSidebarBackgroundAnimation-CQsnT96s.js +50 -0
- package/dist/DepositAccTransactionItem-BJNrptnG.cjs +76 -0
- package/dist/DepositAccTransactionItem-qRBfPcMD.js +112 -0
- package/dist/DepositAccTransactionListPage-CeovhH1l.js +152 -0
- package/dist/DepositAccTransactionListPage-oOf5gg2_.cjs +66 -0
- package/dist/DomesticWireDetailsPage-BZQuStFf.cjs +21 -0
- package/dist/DomesticWireDetailsPage-DduEhZVG.js +189 -0
- package/dist/DownloadOverlay-C6Ah7-ZW.cjs +439 -0
- package/dist/DownloadOverlay-uhQUTW5Z.js +2148 -0
- package/dist/DrawerPage-Bk1G48-1.js +208 -0
- package/dist/DrawerPage-C6PjIyuU.cjs +118 -0
- package/dist/EditPeoplePage-BU8a9Pl9.js +392 -0
- package/dist/EditPeoplePage-CSTfPfg5.cjs +55 -0
- package/dist/EditReimbursementDetailPage-Dr4muXo4.js +4554 -0
- package/dist/EditReimbursementDetailPage-DwLQ570z.cjs +865 -0
- package/dist/EmptySearchResults-CROLr-eu.cjs +46 -0
- package/dist/EmptySearchResults-e_-1j-fc.js +70 -0
- package/dist/EntityDetailPage-BaWFKh1G.js +82 -0
- package/dist/EntityDetailPage-CnGNJ_Hn.cjs +18 -0
- package/dist/EntitySummarySection-Cb77Gcp4.js +530 -0
- package/dist/EntitySummarySection-DO5bfG35.cjs +149 -0
- package/dist/ExpenseAutomationOverviewPage-DHiSADWy.cjs +281 -0
- package/dist/ExpenseAutomationOverviewPage-DjtW5UbS.js +806 -0
- package/dist/ExpenseAutomationPage-BZO6Vfdq.cjs +1650 -0
- package/dist/ExpenseAutomationPage-DcHGcUEF.js +11519 -0
- package/dist/ExpressPayPage-BzT_iqhs.cjs +168 -0
- package/dist/ExpressPayPage-Du52gXoX.js +1136 -0
- package/dist/FeaturePreviewPage-CdJphJp1.js +114 -0
- package/dist/FeaturePreviewPage-CuTV5huh.cjs +11 -0
- package/dist/FollowStepsSection-BblS-2Ei.cjs +390 -0
- package/dist/FollowStepsSection-CIN1H3o1.js +1313 -0
- package/dist/GlobalReviewListPage-BdAb1jkl.cjs +291 -0
- package/dist/GlobalReviewListPage-C6nyBLPA.js +1674 -0
- package/dist/HelpButton-C_1x_77I.cjs +28 -0
- package/dist/HelpButton-Dr-rtdg3.js +81 -0
- package/dist/InformationCardStack-37NswA85.cjs +31 -0
- package/dist/InformationCardStack-Di_RjvJU.js +219 -0
- package/dist/InsightsCardStack-CvMA8cRy.cjs +79 -0
- package/dist/InsightsCardStack-WlLXqJcd.js +305 -0
- package/dist/InsightsSection-CUO0KkJa.js +97 -0
- package/dist/InsightsSection-DWbNn2M2.cjs +27 -0
- package/dist/IntegrationsSettingsPage-DkXmxj8T.js +137 -0
- package/dist/IntegrationsSettingsPage-vpxbwQId.cjs +57 -0
- package/dist/InternationalWireSwiftDetailsPage-BXF9FcYj.js +753 -0
- package/dist/InternationalWireSwiftDetailsPage-CEZmtUsZ.cjs +171 -0
- package/dist/InternationalWireVerificationPage-CsuXTZAY.js +877 -0
- package/dist/InternationalWireVerificationPage-D9W9Eqiw.cjs +292 -0
- package/dist/InviteFormPage-cPLrVHhl.js +873 -0
- package/dist/InviteFormPage-u7FHlDA0.cjs +312 -0
- package/dist/InvitePageListView-CrI1IGSD.js +1764 -0
- package/dist/InvitePageListView-Ki8W3BPl.cjs +739 -0
- package/dist/InvitePeoplePage-CSagTrzW.js +286 -0
- package/dist/InvitePeoplePage-DG8clp3i.cjs +12 -0
- package/dist/InvoiceUploadSection-BnS4UFIQ.cjs +140 -0
- package/dist/InvoiceUploadSection-Bs6UaHAj.js +465 -0
- package/dist/IssueChargeCardPage-CX2rwmT5.js +2875 -0
- package/dist/IssueChargeCardPage-DZaHfY4P.cjs +532 -0
- package/dist/LabeledAddressValue-BL6a5BII.js +115 -0
- package/dist/LabeledAddressValue-DLVs6f5A.cjs +49 -0
- package/dist/LabeledAddressValueField-DIJVd-Io.cjs +45 -0
- package/dist/LabeledAddressValueField-wxazJRGx.js +130 -0
- package/dist/LabeledControlledCheckBoxField-B4AsvFnE.js +73 -0
- package/dist/LabeledControlledCheckBoxField-DajfmZhw.cjs +16 -0
- package/dist/LabeledCreatableSingleSelectField-7vRkAqwf.js +515 -0
- package/dist/LabeledCreatableSingleSelectField-Bcfh_mKz.cjs +204 -0
- package/dist/LabeledDocumentField-87MiCp0c.cjs +41 -0
- package/dist/LabeledDocumentField-CQJiBw6T.js +147 -0
- package/dist/LabeledDropDownFormattedTextField-C4TWmbdG.cjs +59 -0
- package/dist/LabeledDropDownFormattedTextField-DVpl5xDS.js +163 -0
- package/dist/LabeledEmailInputField-CtJQf8tx.cjs +182 -0
- package/dist/LabeledEmailInputField-Uj2xHCrZ.js +425 -0
- package/dist/LabeledItemWithButton-9R0Bwsx3.cjs +21 -0
- package/dist/LabeledItemWithButton-tfloQvvf.js +74 -0
- package/dist/LabeledNameField-B67sI7y6.js +293 -0
- package/dist/LabeledNameField-ChlvQIsy.cjs +141 -0
- package/dist/LabeledSingleSelectField-C_ntvPdl.cjs +136 -0
- package/dist/LabeledSingleSelectField-Cq649DD8.js +372 -0
- package/dist/LabeledSingleSelectWithoutClearableField-BE5iMqMq.js +103 -0
- package/dist/LabeledSingleSelectWithoutClearableField-Be75SyPY.cjs +38 -0
- package/dist/LabeledText-Bh0yT3Im.js +103 -0
- package/dist/LabeledText-CetuWWG2.cjs +42 -0
- package/dist/LabeledUserSingleSelectWithSubtitlesField-BTpZf2r0.cjs +229 -0
- package/dist/LabeledUserSingleSelectWithSubtitlesField-BUnYKsCe.js +572 -0
- package/dist/LabeledZeniRolesDropDownField-CUbpyzxe.cjs +297 -0
- package/dist/LabeledZeniRolesDropDownField-DDI--owW.js +975 -0
- package/dist/LinkJETransactionPage-CMf4nNJV.cjs +98 -0
- package/dist/LinkJETransactionPage-CwWxFQ2H.js +406 -0
- package/dist/LockCardPage-CJkV6ysY.js +2033 -0
- package/dist/LockCardPage-CnFpLHcT.cjs +623 -0
- package/dist/LowBalancePopup-D71Zsfq0.js +219 -0
- package/dist/LowBalancePopup-b_fcJ4bU.cjs +34 -0
- package/dist/MagicLinkACHDetailsPage-BJhcJDWh.js +39 -0
- package/dist/MagicLinkACHDetailsPage-DlIWn26O.cjs +1 -0
- package/dist/MagicLinkDomesticWireDetailsPage-CVw_s4RE.js +44 -0
- package/dist/MagicLinkDomesticWireDetailsPage-CiykbZqx.cjs +1 -0
- package/dist/MagicLinkInternationalWireDetailsPage-CjXTMBwh.cjs +1 -0
- package/dist/MagicLinkInternationalWireDetailsPage-YJcoCRGa.js +43 -0
- package/dist/MagicLinkSuccessPage-BGQ2yb5u.cjs +31 -0
- package/dist/MagicLinkSuccessPage-CYWtLwIi.js +59 -0
- package/dist/MagicLinkTitleSection-BjIwLeeS.cjs +17 -0
- package/dist/MagicLinkTitleSection-CBJhLYep.js +40 -0
- package/dist/MailingDetailsSection-BnSv8UD7.cjs +21 -0
- package/dist/MailingDetailsSection-DORVqAiE.js +74 -0
- package/dist/MatchingOperatorDropdown-2r1-WApd.cjs +130 -0
- package/dist/MatchingOperatorDropdown-CuP3izig.js +572 -0
- package/dist/MeetingCalenderPopup-CElWT9gw.cjs +26 -0
- package/dist/MeetingCalenderPopup-D0VbYngz.js +60 -0
- package/dist/Menu-C2bmCJaJ.cjs +17 -0
- package/dist/Menu-zzMDzWAx.js +110 -0
- package/dist/MoreMenuButton-Cu9Vq1cF.cjs +167 -0
- package/dist/MoreMenuButton-j8o88LNj.js +569 -0
- package/dist/MyBankConnectionsSettingsPage-Bjlg2GLG.cjs +110 -0
- package/dist/MyBankConnectionsSettingsPage-ihy6zUnu.js +297 -0
- package/dist/MyPendingActivationChargeCardListPage-KVNKIYXZ.cjs +6 -0
- package/dist/MyPendingActivationChargeCardListPage-vhfeCKov.js +168 -0
- package/dist/MyProfileSettingsPage-LliAM6Io.cjs +85 -0
- package/dist/MyProfileSettingsPage-lp4IKo27.js +641 -0
- package/dist/NavBarWithPicker-B-nXHFOK.cjs +30 -0
- package/dist/NavBarWithPicker-COuFs35P.js +106 -0
- package/dist/NavigationArrow--lHvj0n6.js +88 -0
- package/dist/NavigationArrow-DKjPevsQ.cjs +47 -0
- package/dist/NavigationDots-BZkc9AGT.cjs +15 -0
- package/dist/NavigationDots-BqJZIX4o.js +44 -0
- package/dist/NewGlobalMerchantPage-DA_fIGYM.js +543 -0
- package/dist/NewGlobalMerchantPage-fH-vJ_7h.cjs +160 -0
- package/dist/NoDataChart-DQvJUV6l.cjs +26 -0
- package/dist/NoDataChart-DSOEISJ1.js +58 -0
- package/dist/NoDataTable-Cb-pM2ds.cjs +8 -0
- package/dist/NoDataTable-DhVmw5ma.js +27 -0
- package/dist/NotFoundPage-B4bGryhw.js +71 -0
- package/dist/NotFoundPage-CDDD-Cq-.cjs +46 -0
- package/dist/NotificationSettingsPage-BNDN7etH.cjs +163 -0
- package/dist/NotificationSettingsPage-gCBu3j55.js +541 -0
- package/dist/NotificationsListConfig-CFuZyckc.cjs +1 -0
- package/dist/NotificationsListConfig-DLgtrP5h.js +10 -0
- package/dist/NotificationsPage-BH59e9mI.cjs +685 -0
- package/dist/NotificationsPage-BXy1enuF.js +2664 -0
- package/dist/OpExByVendorPage-Bb3vL3sf.js +1057 -0
- package/dist/OpExByVendorPage-mc0TG2rp.cjs +100 -0
- package/dist/PandLWithForecastPage-BDKfDyMO.cjs +107 -0
- package/dist/PandLWithForecastPage-BQt32zZJ.js +563 -0
- package/dist/PaymentAccountSetupBillingAddressSection-Cx2jy54e.js +623 -0
- package/dist/PaymentAccountSetupBillingAddressSection-FuImHr5D.cjs +106 -0
- package/dist/PeoplePage-BWG9sQ9v.js +1994 -0
- package/dist/PeoplePage-DBVP8BPo.cjs +675 -0
- package/dist/PortfolioAllocationFormPage-BJAPIxWv.js +440 -0
- package/dist/PortfolioAllocationFormPage-BlF2AiOI.cjs +207 -0
- package/dist/PortfolioDetails-D17YTTH_.cjs +218 -0
- package/dist/PortfolioDetails-DoI4pTD_.js +653 -0
- package/dist/ProductsCarousel--4YS9Dw9.cjs +142 -0
- package/dist/ProductsCarousel-DGGfz4_a.js +309 -0
- package/dist/PromoBaseCards-DxDHh6Sf.js +356 -0
- package/dist/PromoBaseCards-nzcLRite.cjs +218 -0
- package/dist/QBOConnectionDialog-CBbLFCLO.js +115 -0
- package/dist/QBOConnectionDialog-DlepQiKS.cjs +51 -0
- package/dist/QBOSetupSection-Amt4gGZ2.cjs +79 -0
- package/dist/QBOSetupSection-BD6x-nzK.js +167 -0
- package/dist/ReimbursementApprovalRuleDetailPage-BmvV8Ifw.js +247 -0
- package/dist/ReimbursementApprovalRuleDetailPage-Cd7Qppbk.cjs +26 -0
- package/dist/ReimbursementApprovalRulesPage-CnOuFzeO.js +410 -0
- package/dist/ReimbursementApprovalRulesPage-CteNPSW4.cjs +237 -0
- package/dist/ReimbursementDetailPage-BXapYqz_.cjs +314 -0
- package/dist/ReimbursementDetailPage-Dw6j2ZcJ.js +1514 -0
- package/dist/ReimbursementPromoPage-D5kcdc4w.cjs +84 -0
- package/dist/ReimbursementPromoPage-DzxGbcjy.js +364 -0
- package/dist/ReimbursementSetUpPage-BoDK6DOm.js +666 -0
- package/dist/ReimbursementSetUpPage-Cf7thXI_.cjs +140 -0
- package/dist/ReimbursementsBulkReviewDrawerPage-CoSscNbH.js +204 -0
- package/dist/ReimbursementsBulkReviewDrawerPage-caXdQ28x.cjs +1 -0
- package/dist/ReloadCard-BPCFd809.js +137 -0
- package/dist/ReloadCard-S31OPfbP.cjs +26 -0
- package/dist/ReloadContainer-Bw9Y9GTI.cjs +596 -0
- package/dist/ReloadContainer-DJL6_H0g.js +2144 -0
- package/dist/ReportTableViewSelector-BnLGR9VK.js +679 -0
- package/dist/ReportTableViewSelector-CTSgeyXo.cjs +150 -0
- package/dist/ReportsPage-BPb-sDjn.js +1315 -0
- package/dist/ReportsPage-D2JL1rGz.cjs +121 -0
- package/dist/RevenueChart-VBlwx_Xj.cjs +280 -0
- package/dist/RevenueChart-zxxx05sN.js +2239 -0
- package/dist/ReviewDetailsPage-DRkQGY23.cjs +290 -0
- package/dist/ReviewDetailsPage-DZLJPIgR.js +1073 -0
- package/dist/ReviewOverlay-CeUJaPXl.cjs +152 -0
- package/dist/ReviewOverlay-NJ6nGY7h.js +299 -0
- package/dist/RoleWithToolTip-CbteBKK0.js +72 -0
- package/dist/RoleWithToolTip-CcjryMTO.cjs +22 -0
- package/dist/ScheduleDetailsFixedAssetsPage-BZGnk8Pd.cjs +37 -0
- package/dist/ScheduleDetailsFixedAssetsPage-CI0cSsHZ.js +806 -0
- package/dist/ScheduleDetailsPage-Ddy-F0Ld.cjs +37 -0
- package/dist/ScheduleDetailsPage-Dvz-N1Ef.js +726 -0
- package/dist/ScheduleSequenceTable-BGGdcgmd.cjs +324 -0
- package/dist/ScheduleSequenceTable-BXVk4s8I.js +1261 -0
- package/dist/SetUpAccountSection-B7sLVdL8.cjs +378 -0
- package/dist/SetUpAccountSection-CTYEuPmn.js +1470 -0
- package/dist/SetUpDefaultSection-BB2XcbWg.cjs +187 -0
- package/dist/SetUpDefaultSection-BGTFeT8O.js +537 -0
- package/dist/SignIn-BzlAjXTD.cjs +448 -0
- package/dist/SignIn-LLAeWUoT.js +1075 -0
- package/dist/SpendManagementListViewPage-DGHbkukl.cjs +122 -0
- package/dist/SpendManagementListViewPage-jG_WgFpn.js +627 -0
- package/dist/SpendManagementPerTabPage-Bz41RGIx.js +2735 -0
- package/dist/SpendManagementPerTabPage-DXvFQbzC.cjs +754 -0
- package/dist/SpendManagementSection-Bi0PeVEf.cjs +230 -0
- package/dist/SpendManagementSection-DTeMqeYV.js +1043 -0
- package/dist/SpendMgmtSetupAccountSection-0On1Y1Z-.cjs +206 -0
- package/dist/SpendMgmtSetupAccountSection-D85QuYJt.js +875 -0
- package/dist/StatementItem-0LlFQezQ.cjs +31 -0
- package/dist/StatementItem-BSATXHJB.js +81 -0
- package/dist/StatementsPage-CK0_LKHx.cjs +58 -0
- package/dist/StatementsPage-Cilcvkfh.js +130 -0
- package/dist/StatusSwitcher-BaLsxdNP.js +319 -0
- package/dist/StatusSwitcher-C0hUpDId.cjs +120 -0
- package/dist/SubTabSwitcher-DiWzpaqA.cjs +58 -0
- package/dist/SubTabSwitcher-WdDGXrOI.js +113 -0
- package/dist/SuccessAnimation-CejWNZlf.cjs +13 -0
- package/dist/SuccessAnimation-CkVCld0W.js +52 -0
- package/dist/SummaryCard-C2itijQz.js +25 -0
- package/dist/SummaryCard-ek_0DfjP.cjs +1 -0
- package/dist/TaskDetailPage-D67uUHKh.js +2533 -0
- package/dist/TaskDetailPage-DrGLXHJi.cjs +775 -0
- package/dist/TaskListRow-DU9iHbXi.js +1950 -0
- package/dist/TaskListRow-tMTSj36X.cjs +556 -0
- package/dist/TaskManagementPage-BHXqK1l0.cjs +508 -0
- package/dist/TaskManagementPage-BbqI__cp.js +1935 -0
- package/dist/TimeRangeSwitcher-Cf_BfhIm.js +265 -0
- package/dist/TimeRangeSwitcher-rNrXGznV.cjs +64 -0
- package/dist/TimeframeSwitcher-BgQMeovr.cjs +31 -0
- package/dist/TimeframeSwitcher-CruyaJut.js +103 -0
- package/dist/TimeframeSwitcherWithToggle--q8jSb5I.cjs +31 -0
- package/dist/TimeframeSwitcherWithToggle-DO4ep62x.js +157 -0
- package/dist/TopExCard-C9JrrCoo.cjs +38 -0
- package/dist/TopExCard-XUn6sL9W.js +568 -0
- package/dist/TopExDetailPage-CWoayFBt.js +318 -0
- package/dist/TopExDetailPage-CYFSQW1F.cjs +132 -0
- package/dist/TransactionDetailPage-CLoh1qtl.cjs +912 -0
- package/dist/TransactionDetailPage-CrNH7YTo.js +5238 -0
- package/dist/TransactionList-CCtB6a1k.cjs +147 -0
- package/dist/TransactionList-pGKuZF_E.js +558 -0
- package/dist/TransactionListBig-CxLeO-_u.cjs +284 -0
- package/dist/TransactionListBig-DFEV7UDV.js +658 -0
- package/dist/TransactionListPage-BfcHgtxo.cjs +35 -0
- package/dist/TransactionListPage-Bfx7EBZK.js +144 -0
- package/dist/TransactionVendorDetailPage-BBJskI5a.js +425 -0
- package/dist/TransactionVendorDetailPage-DvtCt4Yo.cjs +80 -0
- package/dist/TransferDrawerPage-BVz68MYN.cjs +362 -0
- package/dist/TransferDrawerPage-COAWCKKv.js +1435 -0
- package/dist/TreasuryOverviewPage-Dstradlf.js +1890 -0
- package/dist/TreasuryOverviewPage-M4qvV8Tc.cjs +708 -0
- package/dist/TreasuryPromoPage-BAF_6DTP.js +1123 -0
- package/dist/TreasuryPromoPage-Cv02vsjf.cjs +505 -0
- package/dist/TreasurySetupPage-GKIrYAOs.cjs +144 -0
- package/dist/TreasurySetupPage-ULbvKCHi.js +683 -0
- package/dist/TreasuryStatementsPage-CsSdyNxT.cjs +58 -0
- package/dist/TreasuryStatementsPage-tYACEzfr.js +131 -0
- package/dist/TreasuryTaxLetterPage-Dt1CvZvI.cjs +58 -0
- package/dist/TreasuryTaxLetterPage-y9VGn6Kd.js +131 -0
- package/dist/TreasuryTransferOrReviewPage-1R-Tpf0D.js +1938 -0
- package/dist/TreasuryTransferOrReviewPage-B6vOEy4Z.cjs +576 -0
- package/dist/TrendChart-DU8aYk6T.js +333 -0
- package/dist/TrendChart-E037E8Sm.cjs +16 -0
- package/dist/TrendWithTransactions-7Bl8sLmX.js +346 -0
- package/dist/TrendWithTransactions-COEMgzjk.cjs +116 -0
- package/dist/UncategorizedAccountsMappingPage-DNoP1JA_.cjs +244 -0
- package/dist/UncategorizedAccountsMappingPage-Gr1qc8i-.js +1160 -0
- package/dist/UnitIntegrationPage-CwC_1hL5.js +405 -0
- package/dist/UnitIntegrationPage-DHeYGxyy.cjs +67 -0
- package/dist/UploadAdditionalDocumentOverlay-D6NTN28s.cjs +38 -0
- package/dist/UploadAdditionalDocumentOverlay-hYNltxtK.js +211 -0
- package/dist/Vendor2FAPopup-BZTBxggE.js +69 -0
- package/dist/Vendor2FAPopup-CboUB1Yq.cjs +1 -0
- package/dist/VendorACHDetailsPage-Ch-iIpUC.js +43 -0
- package/dist/VendorACHDetailsPage-DWup_Yfx.cjs +1 -0
- package/dist/VendorDetailPage-D0U4JmIB.cjs +257 -0
- package/dist/VendorDetailPage-ohiZDwm-.js +1236 -0
- package/dist/VendorDomesticWireDetailsPage-8TmwvhKP.js +53 -0
- package/dist/VendorDomesticWireDetailsPage-BdWmI-1L.cjs +1 -0
- package/dist/VendorFiling1099EditablePage-CieDOQl4.cjs +175 -0
- package/dist/VendorFiling1099EditablePage-yFiavbUf.js +842 -0
- package/dist/VendorFirstReviewPage-D162DM_H.cjs +730 -0
- package/dist/VendorFirstReviewPage-dj4aCCN9.js +2748 -0
- package/dist/VendorInternationalWireDetailsPage-BsEC40k6.cjs +152 -0
- package/dist/VendorInternationalWireDetailsPage-ByXcCXv_.js +968 -0
- package/dist/VendorInternationalWireSwiftDetailsPage-DAyNEbsl.js +52 -0
- package/dist/VendorInternationalWireSwiftDetailsPage-D_FeSLc6.cjs +1 -0
- package/dist/VendorsAccountsSection-CF5VCuSE.cjs +68 -0
- package/dist/VendorsAccountsSection-DnSGha16.js +279 -0
- package/dist/VerifyDevice-BBBULKLB.js +298 -0
- package/dist/VerifyDevice-DBAJTT65.cjs +112 -0
- package/dist/VideoPlayer-C0i41Zuk.js +169 -0
- package/dist/VideoPlayer-nH8zeCc1.cjs +77 -0
- package/dist/VideoPopup-D-eHiM3t.cjs +31 -0
- package/dist/VideoPopup-Jj9p1HIu.js +60 -0
- package/dist/WarningsDrawerPage-BMglXlqN.cjs +92 -0
- package/dist/WarningsDrawerPage-CdCU2j59.js +228 -0
- package/dist/ZeniAccountDetailPage--hfhm0SL.cjs +300 -0
- package/dist/ZeniAccountDetailPage-Bju_R-ik.js +907 -0
- package/dist/ZeniAccountListViewPage-BkGm4uW-.cjs +441 -0
- package/dist/ZeniAccountListViewPage-jL8A4qyH.js +1078 -0
- package/dist/ZeniAccountNavBarPieces-D5v6ICqj.cjs +14 -0
- package/dist/ZeniAccountNavBarPieces-De_UZBsT.js +89 -0
- package/dist/ZeniAccountPromoPage-BT4O2PFO.cjs +184 -0
- package/dist/ZeniAccountPromoPage-CIcSDObv.js +523 -0
- package/dist/ZeniAccountSetupPage-CTUxFM_9.cjs +36 -0
- package/dist/ZeniAccountSetupPage-CTbzpjJj.js +312 -0
- package/dist/ZeniAvatar-CfGwbIAo.js +34 -0
- package/dist/ZeniAvatar-DR370GKR.cjs +13 -0
- package/dist/ZeniCopyright-CsyT3oTp.cjs +1 -0
- package/dist/ZeniCopyright-DB0JLj9H.js +9 -0
- package/dist/ZeniDatePicker-CLBSGU1T.js +386 -0
- package/dist/ZeniDatePicker-DLkrgUcv.cjs +187 -0
- package/dist/ZeniTransferAmountSlider-CzC9Jgg_.cjs +63 -0
- package/dist/ZeniTransferAmountSlider-DJVsS5eH.js +215 -0
- package/dist/analyticsHelper-Cm-ieQCq.js +65 -0
- package/dist/analyticsHelper-eSaooQLT.cjs +1 -0
- package/dist/appLocale.d.ts +1 -0
- package/dist/calculateSize-D9bWsV0S.js +22 -0
- package/dist/calculateSize-JQjOs-Ys.cjs +1 -0
- package/dist/chartTypes-C3qbw_H8.cjs +1 -0
- package/dist/chartTypes-EwvhwNDm.js +47 -0
- package/dist/cockpit.cjs.js +2 -2
- package/dist/cockpit.esm.js +15 -15
- package/dist/common-P-zqICCd.js +22 -0
- package/dist/common-anZLuF6s.cjs +1 -0
- package/dist/commonDimensions-BZCGGQoy.js +13 -0
- package/dist/commonDimensions-ChaEEy8U.cjs +1 -0
- package/dist/components/common/BusyIndication.d.ts +3 -1
- package/dist/components/expenseAutomation/MonthCloseTrend.d.ts +5 -0
- package/dist/components/expenseAutomation/MonthEndCloseTrendChart.d.ts +6 -0
- package/dist/detailCommon-CePHDqGt.cjs +38 -0
- package/dist/detailCommon-DDswqmik.js +124 -0
- package/dist/downloadPdf-BKS6cGeO.cjs +1 -0
- package/dist/downloadPdf-CciwIsfm.js +32 -0
- package/dist/index-C93Jm_tC.cjs +19250 -0
- package/dist/index-CkG1pP2v.js +85996 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/mapLoadingInProgressToTreeNode-CbGIZpqG.js +25 -0
- package/dist/mapLoadingInProgressToTreeNode-zHRgvCcv.cjs +1 -0
- package/dist/mapSectionWithAcOnlyToTreeNode-BSJ9JaWZ.cjs +1 -0
- package/dist/mapSectionWithAcOnlyToTreeNode-CciNEekz.js +388 -0
- package/dist/mapSpacerToTreeNode-Bha59c0i.cjs +1 -0
- package/dist/mapSpacerToTreeNode-CaxnaiNo.js +25 -0
- package/dist/mapTimeframeBalancesToTreeNode-BQP1hd_I.cjs +1 -0
- package/dist/mapTimeframeBalancesToTreeNode-CCF4BUu8.js +24 -0
- package/dist/mapTimeframeBalancesToTreeNode-CWIj_WPE.js +24 -0
- package/dist/mapTimeframeBalancesToTreeNode-GboWgVal.cjs +1 -0
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-DIdt2SII.cjs +1 -0
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-di2rIbe4.js +32 -0
- package/dist/sectionColor-D31ybK_J.js +32 -0
- package/dist/sectionColor-bkkiHf3U.cjs +1 -0
- package/dist/strings/strings-en-in.d.ts +1 -0
- package/dist/strings/strings.d.ts +1 -0
- package/dist/toCOABalancesWithID-C9VOXlrh.js +8 -0
- package/dist/toCOABalancesWithID-PaTfgsvr.cjs +1 -0
- package/dist/toChartData-BLq2H3bZ.js +76 -0
- package/dist/toChartData-BNL0Wva0.cjs +1 -0
- package/dist/treasuryColorHelper-D0_0sxVf.js +60 -0
- package/dist/treasuryColorHelper-u-yekl1o.cjs +1 -0
- package/dist/uploadAttachment-DZ1gmEEw.cjs +286 -0
- package/dist/uploadAttachment-yuvL3wSZ.js +952 -0
- package/dist/zeniDatePicker.helpers-DskTst-5.js +14 -0
- package/dist/zeniDatePicker.helpers-dhvlvXzW.cjs +1 -0
- package/package.json +1 -1
- package/dist/ACHDetailsPage-Bpkfz5qK.cjs +0 -21
- package/dist/ACHDetailsPage-QDzzKICK.js +0 -160
- package/dist/AIPerformancePage-BopG--xi.js +0 -1333
- package/dist/AIPerformancePage-ZX1qQEyv.cjs +0 -530
- package/dist/AccountInfoPage-CGwKj4Jj.cjs +0 -18
- package/dist/AccountInfoPage-CWftt4Nq.js +0 -78
- package/dist/AccountInfoPageContent-CprUx1nY.js +0 -428
- package/dist/AccountInfoPageContent-D9GAqc4q.cjs +0 -149
- package/dist/AccountLockedInfoModal-Buj4BtP9.js +0 -125
- package/dist/AccountLockedInfoModal-C41TE8Xp.cjs +0 -59
- package/dist/AccountReconDetailsDrawerPage-CLk8igm9.js +0 -686
- package/dist/AccountReconDetailsDrawerPage-CuUY9vkM.cjs +0 -239
- package/dist/AccountRow-D-3kJUtu.js +0 -1012
- package/dist/AccountRow-DGju_eMX.cjs +0 -298
- package/dist/AccountsPromoCardStack-3Lo_Fs-Z.cjs +0 -207
- package/dist/AccountsPromoCardStack-K4_Dr3P6.js +0 -664
- package/dist/AddAddressForCardDrawer-1mIQO1_5.js +0 -82
- package/dist/AddAddressForCardDrawer-BNoaew0b.cjs +0 -6
- package/dist/AddToWalletPage-BTWmwdmW.js +0 -643
- package/dist/AddToWalletPage-DeUOV_iz.cjs +0 -344
- package/dist/AgingReportsPage-C1W1ufQG.js +0 -827
- package/dist/AgingReportsPage-gQ6IAT2q.cjs +0 -79
- package/dist/AllUserItems-DyRsKPTY.js +0 -979
- package/dist/AllUserItems-cexNzpP3.cjs +0 -192
- package/dist/ApAgingDetailPage-NJmKkZ5_.js +0 -239
- package/dist/ApAgingDetailPage-o8qwjPzE.cjs +0 -46
- package/dist/AppBasePage-BfwdW6Fn.js +0 -120
- package/dist/AppBasePage-GIGbFGH-.cjs +0 -71
- package/dist/AppDrawerContent-BeYP1N9E.js +0 -375
- package/dist/AppDrawerContent-sZ69zFLd.cjs +0 -91
- package/dist/ApprovalRulesSettingsPage-B3pPYRnN.js +0 -146
- package/dist/ApprovalRulesSettingsPage-bcdrHWI1.cjs +0 -47
- package/dist/ArAgingChart-CWChcOfp.js +0 -529
- package/dist/ArAgingChart-DIySgHso.cjs +0 -24
- package/dist/ArAgingDetailPage-B8YXh29R.cjs +0 -46
- package/dist/ArAgingDetailPage-FLjzgYvP.js +0 -243
- package/dist/AttachmentView-B6KJzQzi.js +0 -260
- package/dist/AttachmentView-D_gYNDqh.cjs +0 -101
- package/dist/BankAccountSection-jcQ-XL8G.cjs +0 -79
- package/dist/BankAccountSection-xFi5FA6H.js +0 -398
- package/dist/BankAccountWarningSection-CPgwDS3f.cjs +0 -51
- package/dist/BankAccountWarningSection-s4VG2O0j.js +0 -110
- package/dist/BankConnectionsSettingsPage-B8WARChB.js +0 -1695
- package/dist/BankConnectionsSettingsPage-Dm4Cq2Jz.cjs +0 -425
- package/dist/BillDetailPage-Cq0yQzhd.cjs +0 -266
- package/dist/BillDetailPage-qHkfSMxt.js +0 -1798
- package/dist/BillPayApprovalRuleDetailPage-B9kJKZe3.cjs +0 -27
- package/dist/BillPayApprovalRuleDetailPage-CHai9Uku.js +0 -247
- package/dist/BillPayApprovalRulesPage-C4116XBp.cjs +0 -235
- package/dist/BillPayApprovalRulesPage-CzNpBPn0.js +0 -415
- package/dist/BillPayPromoPage-CZeMTDJl.cjs +0 -84
- package/dist/BillPayPromoPage-vbSKSK3u.js +0 -293
- package/dist/BillPaySetUpPage-Bjey5b5Z.cjs +0 -42
- package/dist/BillPaySetUpPage-gTvxA4wv.js +0 -412
- package/dist/BillingSettingsPage-D7VmTNsu.js +0 -336
- package/dist/BillingSettingsPage-DJ2UYf_f.cjs +0 -44
- package/dist/BillsBulkReviewDrawerPage-Bxz8PMxy.js +0 -216
- package/dist/BillsBulkReviewDrawerPage-C99vgjmm.cjs +0 -1
- package/dist/BoxItem-26HmF9y2.js +0 -118
- package/dist/BoxItem-C5DfGHrU.cjs +0 -53
- package/dist/BusinessVerificationPage-C4VmrWrv.js +0 -717
- package/dist/BusinessVerificationPage-Ccqzeb1j.cjs +0 -138
- package/dist/BusyIndication-B6HBHqON.js +0 -18
- package/dist/BusyIndication-o_8NK8r2.cjs +0 -9
- package/dist/CardNumberSubText-B9YfTY1s.cjs +0 -21
- package/dist/CardNumberSubText-BBP8w82n.js +0 -59
- package/dist/CashbackDetailPage-Cqs1YDof.js +0 -824
- package/dist/CashbackDetailPage-DbQd0qYW.cjs +0 -285
- package/dist/ChargeCardDetailPage-CF00A5TO.cjs +0 -1462
- package/dist/ChargeCardDetailPage-CuNvLiON.js +0 -5454
- package/dist/ChargeCardListPage-BY4wrXZ7.js +0 -1775
- package/dist/ChargeCardListPage-DJgISxJG.cjs +0 -406
- package/dist/ChargeCardListTable-Cjlgmld0.cjs +0 -711
- package/dist/ChargeCardListTable-yUBw0282.js +0 -2872
- package/dist/ChargeCardPromoPage-BPBfq8Yt.js +0 -806
- package/dist/ChargeCardPromoPage-HvSNelIA.cjs +0 -222
- package/dist/ChargeCardSetupPage-CX3bvaOU.cjs +0 -36
- package/dist/ChargeCardSetupPage-DKp06UYL.js +0 -362
- package/dist/ChargeCardStatementsPage-BLBbUqV6.js +0 -243
- package/dist/ChargeCardStatementsPage-BlP77S41.cjs +0 -60
- package/dist/ChargeCardUtils-Cg7CqKTq.js +0 -102
- package/dist/ChargeCardUtils-pWDpbWFM.cjs +0 -1
- package/dist/ChaseOverlay-DUXKHhv1.js +0 -402
- package/dist/ChaseOverlay-js_cBZGt.cjs +0 -170
- package/dist/CheckDepositDrawerPage-B5Z6mzpv.cjs +0 -206
- package/dist/CheckDepositDrawerPage-DrjqsSlu.js +0 -726
- package/dist/CollapsableReportTable-Cv77M8yG.js +0 -11758
- package/dist/CollapsableReportTable-DbA6Cfyq.cjs +0 -2932
- package/dist/CompanyOfficerDetailsSection-BxzfUsIC.js +0 -1633
- package/dist/CompanyOfficerDetailsSection-DxVcjnC_.cjs +0 -260
- package/dist/CompanyPassportCard-Bd5MJata.js +0 -146
- package/dist/CompanyPassportCard-BzFbGBXK.cjs +0 -42
- package/dist/CompanyPassportPage-BIwkqQ0n.cjs +0 -574
- package/dist/CompanyPassportPage-CW-r5DJX.js +0 -2160
- package/dist/CompleteProfile-CR8YrILd.cjs +0 -52
- package/dist/CompleteProfile-DuhltwY3.js +0 -301
- package/dist/ConfettiBurst-DALgAJry.js +0 -37
- package/dist/ConfettiBurst-isu6Nygr.cjs +0 -1
- package/dist/CreateOrEditVendorPage-BnYd0QXM.cjs +0 -281
- package/dist/CreateOrEditVendorPage-C93gLvH5.js +0 -755
- package/dist/CreditCardPaymentDrawerPage-Bjsi2-sY.js +0 -1171
- package/dist/CreditCardPaymentDrawerPage-CJUlF9rY.cjs +0 -224
- package/dist/CreditCardPaymentPlgSection-Bg9lbYsJ.cjs +0 -78
- package/dist/CreditCardPaymentPlgSection-ClyIb1-5.js +0 -196
- package/dist/CurrencySelectField-CMjTteKh.js +0 -348
- package/dist/CurrencySelectField-Ch0e9RVG.cjs +0 -139
- package/dist/CustomerOnboardingActivationPage-CiDaAxga.cjs +0 -88
- package/dist/CustomerOnboardingActivationPage-DlilMU_M.js +0 -143
- package/dist/CustomerOnboardingContainerPage-C9HpGqjf.cjs +0 -1
- package/dist/CustomerOnboardingContainerPage-ILTnHzkH.js +0 -7
- package/dist/CustomerOnboardingDetailPageSkeleton-Cjh_1BJ4.cjs +0 -162
- package/dist/CustomerOnboardingDetailPageSkeleton-DNPIYhqe.js +0 -434
- package/dist/CustomerOnboardingNoStepsPage-BRrZpsti.cjs +0 -66
- package/dist/CustomerOnboardingNoStepsPage-D6D5-kTy.js +0 -425
- package/dist/CustomerOnboardingPage-DmnKQxVD.cjs +0 -107
- package/dist/CustomerOnboardingPage-ioHthgAr.js +0 -1060
- package/dist/CustomerOnboardingProductSuitePage-4G7Xn8UV.cjs +0 -202
- package/dist/CustomerOnboardingProductSuitePage-CZJNSYi6.js +0 -349
- package/dist/Dashboard-NPOUrUpJ.cjs +0 -1551
- package/dist/Dashboard-ysPmvnHw.js +0 -5531
- package/dist/DashboardReportPage-BrLoSNst.js +0 -2536
- package/dist/DashboardReportPage-BuktLPg5.cjs +0 -371
- package/dist/DashboardSidebarBackgroundAnimation-CZ1_dP6v.js +0 -50
- package/dist/DashboardSidebarBackgroundAnimation-pzbD3a1p.cjs +0 -12
- package/dist/DepositAccTransactionItem-CwuaZZAm.cjs +0 -76
- package/dist/DepositAccTransactionItem-DoL3R22-.js +0 -112
- package/dist/DepositAccTransactionListPage-DSQK1SNd.cjs +0 -66
- package/dist/DepositAccTransactionListPage-X1YVdx6v.js +0 -152
- package/dist/DomesticWireDetailsPage-BGEaa0K7.js +0 -189
- package/dist/DomesticWireDetailsPage-zH_QtT-E.cjs +0 -21
- package/dist/DownloadOverlay-BENGCWcK.cjs +0 -439
- package/dist/DownloadOverlay-BYUiJJlO.js +0 -2148
- package/dist/DrawerPage-BQl00LQB.cjs +0 -118
- package/dist/DrawerPage-BbTns9_G.js +0 -208
- package/dist/EditPeoplePage-CDu3ALZu.js +0 -392
- package/dist/EditPeoplePage-b-KanQWD.cjs +0 -55
- package/dist/EditReimbursementDetailPage-9QGyjLZ_.js +0 -4554
- package/dist/EditReimbursementDetailPage-BjwzB9wf.cjs +0 -865
- package/dist/EmptySearchResults-CddMJjdL.js +0 -70
- package/dist/EmptySearchResults-Csh-SNa-.cjs +0 -46
- package/dist/EntityDetailPage-DGnuGw3k.cjs +0 -18
- package/dist/EntityDetailPage-XsmNxh7g.js +0 -82
- package/dist/EntitySummarySection-CXX5WMFp.js +0 -530
- package/dist/EntitySummarySection-DRA485AT.cjs +0 -149
- package/dist/ExpenseAutomationOverviewPage-B_bz_R5R.js +0 -792
- package/dist/ExpenseAutomationOverviewPage-CRXcAt0X.cjs +0 -281
- package/dist/ExpenseAutomationPage-B9Cpt6Vm.cjs +0 -1650
- package/dist/ExpenseAutomationPage-Bczz-X7Z.js +0 -11519
- package/dist/ExpressPayPage-B480-D5T.js +0 -1136
- package/dist/ExpressPayPage-DZ6_iRYH.cjs +0 -168
- package/dist/FeaturePreviewPage-BIN7zYoJ.cjs +0 -11
- package/dist/FeaturePreviewPage-DTUGJwSj.js +0 -114
- package/dist/FollowStepsSection-BU8uCS2V.js +0 -1313
- package/dist/FollowStepsSection-BWne-dPL.cjs +0 -390
- package/dist/GlobalReviewListPage-BMbSdNmR.cjs +0 -291
- package/dist/GlobalReviewListPage-CyT-Zpyl.js +0 -1674
- package/dist/HelpButton-BHNeN5Kp.cjs +0 -28
- package/dist/HelpButton-CS52VNbL.js +0 -81
- package/dist/InformationCardStack-CFM7r6xC.cjs +0 -31
- package/dist/InformationCardStack-CNyrogly.js +0 -219
- package/dist/InsightsCardStack-D56MfGyv.js +0 -305
- package/dist/InsightsCardStack-DOZfDZm_.cjs +0 -79
- package/dist/InsightsSection-5BWisbKm.js +0 -97
- package/dist/InsightsSection-D16axBrr.cjs +0 -27
- package/dist/IntegrationsSettingsPage-DHhBtefe.cjs +0 -57
- package/dist/IntegrationsSettingsPage-gHWjwsv_.js +0 -137
- package/dist/InternationalWireSwiftDetailsPage-BlUC1zQp.cjs +0 -171
- package/dist/InternationalWireSwiftDetailsPage-CwM5mJ3U.js +0 -753
- package/dist/InternationalWireVerificationPage-CM_7UnET.js +0 -877
- package/dist/InternationalWireVerificationPage-DfhAhKnf.cjs +0 -292
- package/dist/InviteFormPage-BAmsddso.cjs +0 -312
- package/dist/InviteFormPage-Dgvzk5ag.js +0 -873
- package/dist/InvitePageListView-BC7V7PMN.cjs +0 -739
- package/dist/InvitePageListView-Ds9m0YpS.js +0 -1764
- package/dist/InvitePeoplePage-C3PiRGmz.cjs +0 -12
- package/dist/InvitePeoplePage-CrJbhKn6.js +0 -286
- package/dist/InvoiceUploadSection-CHn_AwF9.cjs +0 -140
- package/dist/InvoiceUploadSection-GG67d0Yh.js +0 -465
- package/dist/IssueChargeCardPage-BDvMOIER.cjs +0 -532
- package/dist/IssueChargeCardPage-D2V_ZQNp.js +0 -2875
- package/dist/LabeledAddressValue-BlCb-Khf.js +0 -115
- package/dist/LabeledAddressValue-POsyh-lh.cjs +0 -49
- package/dist/LabeledAddressValueField-BytR94aq.cjs +0 -45
- package/dist/LabeledAddressValueField-CdTA8VxW.js +0 -130
- package/dist/LabeledControlledCheckBoxField-5UN_hw02.js +0 -73
- package/dist/LabeledControlledCheckBoxField-DryG7WYk.cjs +0 -16
- package/dist/LabeledCreatableSingleSelectField-BH0kmyqH.cjs +0 -204
- package/dist/LabeledCreatableSingleSelectField-CoX4tsOe.js +0 -515
- package/dist/LabeledDocumentField-DxjaUyR4.js +0 -147
- package/dist/LabeledDocumentField-UwFjMjic.cjs +0 -41
- package/dist/LabeledDropDownFormattedTextField--q8Ky74H.cjs +0 -59
- package/dist/LabeledDropDownFormattedTextField-CX__ZbdY.js +0 -163
- package/dist/LabeledEmailInputField-C43GeyAq.js +0 -425
- package/dist/LabeledEmailInputField-CTdVu2lA.cjs +0 -182
- package/dist/LabeledItemWithButton-BeHKxWWa.cjs +0 -21
- package/dist/LabeledItemWithButton-CP0zD5TX.js +0 -74
- package/dist/LabeledNameField-DNadLDcX.cjs +0 -141
- package/dist/LabeledNameField-DfQmAIjk.js +0 -293
- package/dist/LabeledSingleSelectField-CJHQoBpx.cjs +0 -136
- package/dist/LabeledSingleSelectField-CdHYh2S7.js +0 -372
- package/dist/LabeledSingleSelectWithoutClearableField-Cw6duNkw.js +0 -103
- package/dist/LabeledSingleSelectWithoutClearableField-UZm25T9B.cjs +0 -38
- package/dist/LabeledText-BdvtZ-Gt.js +0 -103
- package/dist/LabeledText-Db6xg_z0.cjs +0 -42
- package/dist/LabeledUserSingleSelectWithSubtitlesField-CBNruJGv.js +0 -572
- package/dist/LabeledUserSingleSelectWithSubtitlesField-D_aItWXn.cjs +0 -229
- package/dist/LabeledZeniRolesDropDownField-CuBIWaND.cjs +0 -297
- package/dist/LabeledZeniRolesDropDownField-Zkbz7gcz.js +0 -975
- package/dist/LinkJETransactionPage-C8RxEA1c.cjs +0 -98
- package/dist/LinkJETransactionPage-OSJhWVFG.js +0 -406
- package/dist/LockCardPage-BSMD4QZC.js +0 -2033
- package/dist/LockCardPage-Dtkk3jYi.cjs +0 -623
- package/dist/LowBalancePopup-6SA3bToe.cjs +0 -34
- package/dist/LowBalancePopup-CeiSu04S.js +0 -219
- package/dist/MagicLinkACHDetailsPage-Cb8OcKI8.cjs +0 -1
- package/dist/MagicLinkACHDetailsPage-DKqRE7G2.js +0 -39
- package/dist/MagicLinkDomesticWireDetailsPage-CQrracQK.cjs +0 -1
- package/dist/MagicLinkDomesticWireDetailsPage-DEBVdcTd.js +0 -44
- package/dist/MagicLinkInternationalWireDetailsPage-CDIa0x2o.js +0 -43
- package/dist/MagicLinkInternationalWireDetailsPage-C_w9r9JO.cjs +0 -1
- package/dist/MagicLinkSuccessPage-BbYJr_7N.js +0 -59
- package/dist/MagicLinkSuccessPage-CX_6mcWI.cjs +0 -31
- package/dist/MagicLinkTitleSection-B3T7sQQA.cjs +0 -17
- package/dist/MagicLinkTitleSection-yNdunH5L.js +0 -40
- package/dist/MailingDetailsSection-CXX6DcZt.js +0 -74
- package/dist/MailingDetailsSection-CgKesI_T.cjs +0 -21
- package/dist/MatchingOperatorDropdown-DOqZxJx4.js +0 -572
- package/dist/MatchingOperatorDropdown-DmYsW0Pb.cjs +0 -130
- package/dist/MeetingCalenderPopup-BA2_LCha.js +0 -60
- package/dist/MeetingCalenderPopup-DzEP-rQW.cjs +0 -26
- package/dist/Menu-BOKwZRV1.js +0 -110
- package/dist/Menu-Cnrj9vtv.cjs +0 -17
- package/dist/MoreMenuButton-5EKDRTY1.js +0 -569
- package/dist/MoreMenuButton-CtLQVZNN.cjs +0 -167
- package/dist/MyBankConnectionsSettingsPage-BtcJuXkw.js +0 -297
- package/dist/MyBankConnectionsSettingsPage-CCYGzfMj.cjs +0 -110
- package/dist/MyPendingActivationChargeCardListPage--RwvWJca.cjs +0 -6
- package/dist/MyPendingActivationChargeCardListPage-BOIRit5A.js +0 -168
- package/dist/MyProfileSettingsPage-Df4J9bHd.cjs +0 -85
- package/dist/MyProfileSettingsPage-UGWCBrpm.js +0 -641
- package/dist/NavBarWithPicker-BlhZcWRZ.js +0 -106
- package/dist/NavBarWithPicker-CUHUYPrt.cjs +0 -30
- package/dist/NavigationArrow-CgA3hpT8.cjs +0 -47
- package/dist/NavigationArrow-DTZaOGjc.js +0 -88
- package/dist/NavigationDots-4MFKUR5_.js +0 -44
- package/dist/NavigationDots-A7sPLSua.cjs +0 -15
- package/dist/NewGlobalMerchantPage-BI7QCkvj.js +0 -543
- package/dist/NewGlobalMerchantPage-Q5lTGc5G.cjs +0 -160
- package/dist/NoDataChart--QHasmF7.cjs +0 -26
- package/dist/NoDataChart-BpPxMNR5.js +0 -58
- package/dist/NoDataTable-1-Sm8GcO.js +0 -27
- package/dist/NoDataTable-BQuXxVfA.cjs +0 -8
- package/dist/NotFoundPage-BVH9R0k7.cjs +0 -46
- package/dist/NotFoundPage-DQ_vlx9f.js +0 -71
- package/dist/NotificationSettingsPage-CPZ0APKb.cjs +0 -163
- package/dist/NotificationSettingsPage-CgBM3Ute.js +0 -541
- package/dist/NotificationsListConfig-C0mCph_x.cjs +0 -1
- package/dist/NotificationsListConfig-CeC87vrt.js +0 -10
- package/dist/NotificationsPage-BYB6t2mH.cjs +0 -685
- package/dist/NotificationsPage-Ca3sb87p.js +0 -2664
- package/dist/OpExByVendorPage-ChVtGdAq.js +0 -1057
- package/dist/OpExByVendorPage-_I8cDnbV.cjs +0 -100
- package/dist/PandLWithForecastPage-D2hx8Mtw.js +0 -563
- package/dist/PandLWithForecastPage-KVCGhEtk.cjs +0 -107
- package/dist/PaymentAccountSetupBillingAddressSection-Cfs67ZwK.cjs +0 -106
- package/dist/PaymentAccountSetupBillingAddressSection-LtHq0xED.js +0 -623
- package/dist/PeoplePage-CVUhJDD8.cjs +0 -675
- package/dist/PeoplePage-VrNi9Rzu.js +0 -1994
- package/dist/PortfolioAllocationFormPage-7ssUobbe.cjs +0 -207
- package/dist/PortfolioAllocationFormPage-CzY_IcKK.js +0 -440
- package/dist/PortfolioDetails-C0X_9-VC.js +0 -653
- package/dist/PortfolioDetails-DvQXpmEK.cjs +0 -218
- package/dist/ProductsCarousel-B1SZ636k.cjs +0 -142
- package/dist/ProductsCarousel-DLMoQmWB.js +0 -309
- package/dist/PromoBaseCards-Dd0D_n4U.cjs +0 -218
- package/dist/PromoBaseCards-j0WGP6Xu.js +0 -356
- package/dist/QBOConnectionDialog-D3bHeTed.cjs +0 -51
- package/dist/QBOConnectionDialog-DKE-SzMr.js +0 -115
- package/dist/QBOSetupSection-BKVtL8at.cjs +0 -79
- package/dist/QBOSetupSection-DPoNi-iN.js +0 -167
- package/dist/ReimbursementApprovalRuleDetailPage-D1atZmCL.cjs +0 -26
- package/dist/ReimbursementApprovalRuleDetailPage-DPB2mSZp.js +0 -247
- package/dist/ReimbursementApprovalRulesPage-DLLxMC5o.cjs +0 -237
- package/dist/ReimbursementApprovalRulesPage-Dulyuelx.js +0 -410
- package/dist/ReimbursementDetailPage-D5hGgpN3.cjs +0 -314
- package/dist/ReimbursementDetailPage-mETHWdFq.js +0 -1514
- package/dist/ReimbursementPromoPage-4XgtF7Ud.cjs +0 -84
- package/dist/ReimbursementPromoPage-XDDpDySs.js +0 -364
- package/dist/ReimbursementSetUpPage-DaynARIl.cjs +0 -140
- package/dist/ReimbursementSetUpPage-rgrZk6CZ.js +0 -666
- package/dist/ReimbursementsBulkReviewDrawerPage-BmtoWsZr.js +0 -204
- package/dist/ReimbursementsBulkReviewDrawerPage-tGEoao6Z.cjs +0 -1
- package/dist/ReloadCard-BLStcfeu.js +0 -137
- package/dist/ReloadCard-D9hYX9Y1.cjs +0 -26
- package/dist/ReloadContainer-9EOuIzdZ.cjs +0 -596
- package/dist/ReloadContainer-vCIs53ep.js +0 -2144
- package/dist/ReportTableViewSelector-BCp1xHiD.js +0 -679
- package/dist/ReportTableViewSelector-DOk9YDb2.cjs +0 -150
- package/dist/ReportsPage-DZtR-1pr.cjs +0 -121
- package/dist/ReportsPage-Dby1m0XY.js +0 -1315
- package/dist/RevenueChart-BsJZsge4.js +0 -2239
- package/dist/RevenueChart-DcEuzXC5.cjs +0 -280
- package/dist/ReviewDetailsPage-ClDpdkz3.js +0 -1073
- package/dist/ReviewDetailsPage-DtxsByWF.cjs +0 -290
- package/dist/ReviewOverlay-CXSSPmz1.js +0 -299
- package/dist/ReviewOverlay-DpMTxorb.cjs +0 -152
- package/dist/RoleWithToolTip-DQmtMPP4.js +0 -72
- package/dist/RoleWithToolTip-we17DDm7.cjs +0 -22
- package/dist/ScheduleDetailsFixedAssetsPage-C8TcSUjK.cjs +0 -37
- package/dist/ScheduleDetailsFixedAssetsPage-CiTa5vcc.js +0 -806
- package/dist/ScheduleDetailsPage-D6bIAFIC.js +0 -726
- package/dist/ScheduleDetailsPage-e13YUZbs.cjs +0 -37
- package/dist/ScheduleSequenceTable-CcbVnBe8.cjs +0 -324
- package/dist/ScheduleSequenceTable-Cj6ZPKAg.js +0 -1261
- package/dist/SetUpAccountSection-6uY4EUtr.cjs +0 -378
- package/dist/SetUpAccountSection-BgQcXIv-.js +0 -1470
- package/dist/SetUpDefaultSection-Ctk1p37V.js +0 -537
- package/dist/SetUpDefaultSection-jyGJFZqv.cjs +0 -187
- package/dist/SignIn-BRWCRlBK.cjs +0 -448
- package/dist/SignIn-BhV5FyVe.js +0 -1075
- package/dist/SpendManagementListViewPage-C6sdivwH.js +0 -627
- package/dist/SpendManagementListViewPage-DYEwNGO7.cjs +0 -122
- package/dist/SpendManagementPerTabPage-BUpkpZ1N.cjs +0 -754
- package/dist/SpendManagementPerTabPage-DsfcUUzC.js +0 -2735
- package/dist/SpendManagementSection-Cf9l0xlE.js +0 -1043
- package/dist/SpendManagementSection-DDFf0F3L.cjs +0 -230
- package/dist/SpendMgmtSetupAccountSection-D8YXH_gD.js +0 -875
- package/dist/SpendMgmtSetupAccountSection-Jnx_Q5pQ.cjs +0 -206
- package/dist/StatementItem-CYAw64yS.cjs +0 -31
- package/dist/StatementItem-DybZFQ3e.js +0 -81
- package/dist/StatementsPage-BRwBKrG0.cjs +0 -58
- package/dist/StatementsPage-CvZRJI7A.js +0 -130
- package/dist/StatusSwitcher-CNmbPwlB.cjs +0 -120
- package/dist/StatusSwitcher-DGZ1Uwek.js +0 -319
- package/dist/SubTabSwitcher-CRUrl3vj.cjs +0 -58
- package/dist/SubTabSwitcher-DpjkYQ80.js +0 -113
- package/dist/SuccessAnimation-B1UfEc0-.cjs +0 -13
- package/dist/SuccessAnimation-DipRo05B.js +0 -52
- package/dist/SummaryCard-1s6yFicJ.cjs +0 -1
- package/dist/SummaryCard-Cz-MErs6.js +0 -25
- package/dist/TaskDetailPage-1FZgvkwb.js +0 -2533
- package/dist/TaskDetailPage-C_JsAp2y.cjs +0 -775
- package/dist/TaskListRow-Cas0zuqB.cjs +0 -556
- package/dist/TaskListRow-CoV-XPcU.js +0 -1950
- package/dist/TaskManagementPage-DW-AftKK.cjs +0 -508
- package/dist/TaskManagementPage-Mh-WsJIk.js +0 -1935
- package/dist/TimeRangeSwitcher-BpDndcjG.js +0 -265
- package/dist/TimeRangeSwitcher-Dt1bFYq0.cjs +0 -64
- package/dist/TimeframeSwitcher-Cj6Afzvx.cjs +0 -31
- package/dist/TimeframeSwitcher-Wk4Mh8i7.js +0 -103
- package/dist/TimeframeSwitcherWithToggle-DvFL_d5w.js +0 -157
- package/dist/TimeframeSwitcherWithToggle-OUlzKkT6.cjs +0 -31
- package/dist/TopExCard-BgZQ3mZP.js +0 -568
- package/dist/TopExCard-D102JRdC.cjs +0 -38
- package/dist/TopExDetailPage-CpYrrctz.cjs +0 -132
- package/dist/TopExDetailPage-DEaZ8Pzw.js +0 -318
- package/dist/TransactionDetailPage-1kXHcUI8.cjs +0 -912
- package/dist/TransactionDetailPage-DLDwO-u7.js +0 -5238
- package/dist/TransactionList-BTAZv0j9.js +0 -558
- package/dist/TransactionList-CAPP-LtK.cjs +0 -147
- package/dist/TransactionListBig-BTouJOuP.js +0 -658
- package/dist/TransactionListBig-D83RDTF6.cjs +0 -284
- package/dist/TransactionListPage-Bz2BAhoZ.js +0 -144
- package/dist/TransactionListPage-CTl2z253.cjs +0 -35
- package/dist/TransactionVendorDetailPage-BEFDmYNa.cjs +0 -80
- package/dist/TransactionVendorDetailPage-MzbhPIyE.js +0 -425
- package/dist/TransferDrawerPage-BI-fiMas.cjs +0 -362
- package/dist/TransferDrawerPage-HanQXxbk.js +0 -1435
- package/dist/TreasuryOverviewPage-CeBfgTzW.cjs +0 -708
- package/dist/TreasuryOverviewPage-DNgmzsUm.js +0 -1890
- package/dist/TreasuryPromoPage-BMRXsVkZ.js +0 -1123
- package/dist/TreasuryPromoPage-D3VquweK.cjs +0 -505
- package/dist/TreasurySetupPage-DppSG2Yr.js +0 -683
- package/dist/TreasurySetupPage-R8nPk7-v.cjs +0 -144
- package/dist/TreasuryStatementsPage-CHavphVh.js +0 -131
- package/dist/TreasuryStatementsPage-vpWNB-7T.cjs +0 -58
- package/dist/TreasuryTaxLetterPage-BdBRLuZa.cjs +0 -58
- package/dist/TreasuryTaxLetterPage-CeATD3t3.js +0 -131
- package/dist/TreasuryTransferOrReviewPage-C7aeroH8.js +0 -1938
- package/dist/TreasuryTransferOrReviewPage-CqzRn8Er.cjs +0 -576
- package/dist/TrendChart-CoKw4URX.cjs +0 -16
- package/dist/TrendChart-D_H6EWg1.js +0 -333
- package/dist/TrendWithTransactions-C0yEuud1.cjs +0 -116
- package/dist/TrendWithTransactions-D1lVn3mb.js +0 -346
- package/dist/UncategorizedAccountsMappingPage-CC7GnA9H.js +0 -1160
- package/dist/UncategorizedAccountsMappingPage-Co75X0fZ.cjs +0 -244
- package/dist/UnitIntegrationPage-DSVW9-EJ.cjs +0 -67
- package/dist/UnitIntegrationPage-DtVgxT_b.js +0 -405
- package/dist/UploadAdditionalDocumentOverlay-CIWhg0TD.cjs +0 -38
- package/dist/UploadAdditionalDocumentOverlay-D4Bf-WCJ.js +0 -211
- package/dist/Vendor2FAPopup-D-TMnrII.cjs +0 -1
- package/dist/Vendor2FAPopup-DF-jf6nm.js +0 -69
- package/dist/VendorACHDetailsPage-CwXis5sF.cjs +0 -1
- package/dist/VendorACHDetailsPage-D5Ioc1Sq.js +0 -43
- package/dist/VendorDetailPage-C0LguFtb.js +0 -1236
- package/dist/VendorDetailPage-CezoxE58.cjs +0 -257
- package/dist/VendorDomesticWireDetailsPage-BIjvPfOf.js +0 -53
- package/dist/VendorDomesticWireDetailsPage-DgEgEACA.cjs +0 -1
- package/dist/VendorFiling1099EditablePage-08VT6tjt.js +0 -842
- package/dist/VendorFiling1099EditablePage-C5164QSY.cjs +0 -175
- package/dist/VendorFirstReviewPage-lffLBv6I.cjs +0 -730
- package/dist/VendorFirstReviewPage-ypw-NcrV.js +0 -2748
- package/dist/VendorInternationalWireDetailsPage-BZqmk92F.cjs +0 -152
- package/dist/VendorInternationalWireDetailsPage-Dmqq1z46.js +0 -968
- package/dist/VendorInternationalWireSwiftDetailsPage-CALwLVfv.js +0 -52
- package/dist/VendorInternationalWireSwiftDetailsPage-CjcP_78D.cjs +0 -1
- package/dist/VendorsAccountsSection-BjNUWi7f.cjs +0 -68
- package/dist/VendorsAccountsSection-PnA8jQt7.js +0 -279
- package/dist/VerifyDevice-BL4ZQkRI.cjs +0 -112
- package/dist/VerifyDevice-DBbQ_asN.js +0 -298
- package/dist/VideoPlayer-BCSGsJQw.cjs +0 -77
- package/dist/VideoPlayer-C0cgmcR_.js +0 -169
- package/dist/VideoPopup-BaFS6f_6.cjs +0 -31
- package/dist/VideoPopup-Cryxb-uq.js +0 -60
- package/dist/WarningsDrawerPage-CGPnyi1Z.js +0 -228
- package/dist/WarningsDrawerPage-DXRqH5i9.cjs +0 -92
- package/dist/ZeniAccountDetailPage-CMS8qLTE.js +0 -907
- package/dist/ZeniAccountDetailPage-D6qRSiOW.cjs +0 -300
- package/dist/ZeniAccountListViewPage-CCpf21Ya.js +0 -1078
- package/dist/ZeniAccountListViewPage-oxuB3w_h.cjs +0 -441
- package/dist/ZeniAccountNavBarPieces-C-Wm8wPx.js +0 -89
- package/dist/ZeniAccountNavBarPieces-DODs3diw.cjs +0 -14
- package/dist/ZeniAccountPromoPage-Ck4O5zv1.js +0 -523
- package/dist/ZeniAccountPromoPage-DSikrfUy.cjs +0 -184
- package/dist/ZeniAccountSetupPage-D4Tl5iF1.cjs +0 -36
- package/dist/ZeniAccountSetupPage-DQZqCavw.js +0 -312
- package/dist/ZeniAvatar-CsbO6Fsi.cjs +0 -13
- package/dist/ZeniAvatar-DNkRho20.js +0 -34
- package/dist/ZeniCopyright-CfRnTYyw.js +0 -9
- package/dist/ZeniCopyright-jHGBPLOF.cjs +0 -1
- package/dist/ZeniDatePicker-Bld4B12i.js +0 -386
- package/dist/ZeniDatePicker-DvdO239L.cjs +0 -187
- package/dist/ZeniTransferAmountSlider-CsHddcmu.cjs +0 -63
- package/dist/ZeniTransferAmountSlider-y7LtciJZ.js +0 -215
- package/dist/analyticsHelper-CXfJpcjq.js +0 -65
- package/dist/analyticsHelper-D5H1SWce.cjs +0 -1
- package/dist/calculateSize-B8dS_SHU.cjs +0 -1
- package/dist/calculateSize-Bwj3Mnzv.js +0 -22
- package/dist/chartTypes-G-ujtKHz.cjs +0 -1
- package/dist/chartTypes-PJ3nKIrp.js +0 -47
- package/dist/common-BgtnyfTd.js +0 -22
- package/dist/common-BrcVyjGF.cjs +0 -1
- package/dist/commonDimensions-DNbZpRz1.cjs +0 -1
- package/dist/commonDimensions-Dq9jBNpY.js +0 -13
- package/dist/components/expenseAutomation/MonthEndCloseTrend.d.ts +0 -6
- package/dist/detailCommon-OLFvvGzF.js +0 -124
- package/dist/detailCommon-ZiVLrnuT.cjs +0 -38
- package/dist/downloadPdf-BImlmMaU.js +0 -32
- package/dist/downloadPdf-CMCmtCLd.cjs +0 -1
- package/dist/index-C-vae5Od.js +0 -85994
- package/dist/index-XelTzqEp.cjs +0 -19250
- package/dist/mapLoadingInProgressToTreeNode-B7RPP8h4.cjs +0 -1
- package/dist/mapLoadingInProgressToTreeNode-C_xRYLPb.js +0 -25
- package/dist/mapSectionWithAcOnlyToTreeNode-DSM3qese.cjs +0 -1
- package/dist/mapSectionWithAcOnlyToTreeNode-lBGQuFGy.js +0 -388
- package/dist/mapSpacerToTreeNode-Bu1h3Cjn.cjs +0 -1
- package/dist/mapSpacerToTreeNode-CcmaBCFm.js +0 -25
- package/dist/mapTimeframeBalancesToTreeNode-Cp0VF3Zh.cjs +0 -1
- package/dist/mapTimeframeBalancesToTreeNode-DR-I1CFN.cjs +0 -1
- package/dist/mapTimeframeBalancesToTreeNode-DZUkt15k.js +0 -24
- package/dist/mapTimeframeBalancesToTreeNode-DhkSauy9.js +0 -24
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-CUKo8hFK.js +0 -32
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-zmrlz1vg.cjs +0 -1
- package/dist/sectionColor-BLN3u2m_.js +0 -32
- package/dist/sectionColor-DVp0quB5.cjs +0 -1
- package/dist/toCOABalancesWithID-D8RMDxhO.cjs +0 -1
- package/dist/toCOABalancesWithID-DLsfXuPX.js +0 -8
- package/dist/toChartData-DGElv2S8.cjs +0 -1
- package/dist/toChartData-wKMh4Pl4.js +0 -76
- package/dist/treasuryColorHelper-BBRWB0k_.js +0 -60
- package/dist/treasuryColorHelper-D18WBqLG.cjs +0 -1
- package/dist/uploadAttachment-BDQTJx1-.js +0 -952
- package/dist/uploadAttachment-BDWkabyV.cjs +0 -286
- package/dist/zeniDatePicker.helpers-BqHWQxNG.js +0 -14
- package/dist/zeniDatePicker.helpers-D_28-dsB.cjs +0 -1
|
@@ -0,0 +1,532 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./vendor-.pnpm-BW93Fnli.cjs"),U=require("react"),l=require("@emotion/styled"),e=require("./index-C93Jm_tC.cjs"),qe=require("./LabeledUserSingleSelectWithSubtitlesField-BTpZf2r0.cjs"),nt=require("@zeniai/client-epic-state"),He=require("./RoleWithToolTip-CcjryMTO.cjs"),de=t=>{const{common:a,spendManagement:{chargeCard:{issueCard:d}}}=e.appLocale.getLocalizedStrings();switch(t){case"monthly":return d.frequencySubLabels.monthly;case"quarterly":return d.frequencySubLabels.quarterly;case"weekly":return d.frequencySubLabels.weekly;case"yearly":return d.frequencySubLabels.yearly;default:return a.strings.empty}},ct=["creditCard","debitCard"],$e=t=>nt.stringToUnion(t,ct),h=(t,a)=>`${t}.${a}`,{commonSetUp:{businessVerification:{addressPlaceholder:we,customAddressPlaceholder:pt}},spendManagement:{chargeCard:{issueCard:A}}}=e.appLocale.getLocalizedStrings(),M={largeLabelWidth:new e.ResponsiveSized(120,120,200),labelMarginRight:new e.ResponsiveSized(e.sp[3],e.sp[4]),labelMarginBottom:new e.ResponsiveSized(e.sp[2],e.sp[0]),infoLabelMarginTop:new e.ResponsiveSized(e.sp[1],e.sp[0]),radioLabelPaddingLeftRight:new e.ResponsiveSized(e.sp[2],e.sp[3]),radioLabelPaddingLeft:new e.ResponsiveSized(e.sp[0],e.sp[3]),radioLabelPaddingRight:new e.ResponsiveSized(10,e.sp[3]),labeledFieldPaddingLeft:new e.ResponsiveSized(e.sp[3],e.sp[0]),labeledFieldPaddingRight:new e.ResponsiveSized(e.sp[3],e.sp[2]),labeledFieldPaddingBottom:new e.ResponsiveSized(e.sp[3],e.sp[2])},ut={infoLabel:new e.ResponsiveSizedStyle("smallRegular","smallRegular")},mt="creditCard.physicalCard.amount",ht="creditCard.physicalCard.cardName",xt="creditCard.physicalCard.user",gt="creditCard.physicalCard.frequency",te="creditCard.physicalCard.addressType",bt=({lineData:t,issueCardSectionId:a,limit:d,creditLimitFrequency:x,activeChargeCardCount:f,allRoles:g,allAccountingClasses:E,companyAddress:m,customAddress:j,userAddress:$,userList:n,maxPhysicalChargeCardPerUser:P,openAddAddressDrawerHandler:c})=>{const o=e.useWindowSizeContext(),W=r.useTheme(),{getValues:O}=r.useFormContext(),y=M.largeLabelWidth.value(o),k=()=>{c(t.lineId,"creditCard")},N=(i,u)=>r.jsxRuntimeExports.jsx(yt,{isOptionSelected:u,children:de(i)}),s=t.creditCard.physicalCard.addressType,p=t.creditCard.physicalCard.amount,L=e.currencyAmountCompactFormatter(d.amount),S=p!=null&&p>d.amount,b=S?A.amountExceedError.replace("_amount_",L):void 0,w=t.creditCard.physicalCard.user,T=w.allUsers.find(i=>i.userId===w.selectedUser),G=T?.userId,D=G!=null?$[G]:void 0,J=i=>{let u=f[i]?.physicalCardCount??0;return O().lineInfo.forEach(_=>{_.creditCard.cardType==="business_physical_credit_card"&&_.creditCard.physicalCard.user.selectedUser===i&&(u+=1)}),u>=P};return r.jsxRuntimeExports.jsxs(r.jsxRuntimeExports.Fragment,{children:[r.jsxRuntimeExports.jsx(qe.LabeledUserSingleSelectWithSubtitlesField,{label:{label:A.cardholderLabel,width:y},userSingleSelectWithSubTitlesField:{name:h(a,xt),placeholderLabel:A.usersPlaceholder,value:{allUsers:n,selectedUser:t.creditCard.physicalCard.user.selectedUser},registerOptions:{required:!0,validate:i=>i?.selectedUser?.length>0},valueToSubtitle:i=>{const u=g.find(_=>_.userId===i),R=[];return u?.accountingClassIDs.forEach(_=>{const Z=E.find(ee=>ee.classId===_);Z!=null&&Z.className&&R.push(Z.className)}),R},additionalLabelInfo:A.additionalInfoPhysical,showOnlyAvatar:!0,showAvatarAndSubtitles:!1,isOptionDisabled:J,disabledOptionHint:A.cardLimitWarning,bigMarginRightForSmallScreens:!0,optionStyles:{maxHeight:e.Space.sp10,minHeight:e.Space.sp6,height:"max-content"}},style:{width:"100%",paddingLeft:M.labelMarginBottom.value(o)}}),r.jsxRuntimeExports.jsx(pe,{}),r.jsxRuntimeExports.jsx(e.LabeledTextField,{label:{label:A.cardNameLabel,width:y},style:{width:"auto",paddingLeft:M.labelMarginBottom.value(o)},text:{type:"text",name:h(a,ht),defaultValue:t.creditCard.physicalCard.cardName,placeholder:A.cardNamePlaceholder,options:{required:!0,validate:i=>i!=null}}}),r.jsxRuntimeExports.jsx(pe,{}),r.jsxRuntimeExports.jsx(e.LabeledFormattedTextField,{label:{label:A.amountLabel,width:y},showAdditionalInfoLabel:S,additionalInfoLabel:b,formattedTextField:{type:"number",name:h(a,mt),defaultValue:t.creditCard.physicalCard.amount,placeholder:A.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:i=>!!i&&i>0&&i<=d.amount},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},isFieldError:S,style:{width:"auto",paddingLeft:M.labelMarginBottom.value(o)}}),r.jsxRuntimeExports.jsx(pe,{}),r.jsxRuntimeExports.jsx(e.LabeledSingleSelectPickerField,{isDisabled:"readonly",label:{label:A.frequencyLabel,width:y,style:{marginBottom:M.labelMarginBottom.valuePx(o),marginRight:M.labelMarginRight.valuePx(o)}},style:{width:"100%",paddingLeft:M.labelMarginBottom.valuePx(o)},infoLabelStyle:{...e.textStyles.smallRegular.cssObject,textAlign:"right",paddingRight:e.Space.sp3,marginTop:M.infoLabelMarginTop.valuePx(o),color:W.colors.hero},valueToAdditionalLabel:i=>de(i),singleSelectPickerField:{name:h(a,gt),placeholder:A.frequencyPlaceholder,style:{position:"relative"},capitalizeOptions:!0,showSubLabelsInSingleValue:!1,defaultValue:{selectedOption:t.creditCard.physicalCard.frequency.selectedOption,allOptions:x.map(i=>({label:i.name,value:i.code}))},valueToSubLabels:(i,u)=>N(i,u),textAlignment:"right",registerOptions:{required:!0,validate:i=>i!=null&&!!i.selectedOption}}}),r.jsxRuntimeExports.jsx(pe,{}),r.jsxRuntimeExports.jsxs(St,{windowSize:o,children:[r.jsxRuntimeExports.jsxs(Ct,{windowSize:o,children:[r.jsxRuntimeExports.jsx(e.Label,{label:A.address.shippingAddressLabel,htmlFor:h(a,te),style:{marginLeft:e.Space.sp4,marginRight:M.labelMarginRight.valuePx(o),marginTop:e.Space.sp2,width:o==="small"?"auto":y}}),r.jsxRuntimeExports.jsx(vt,{windowSize:o,children:r.jsxRuntimeExports.jsxs(jt,{isDisabled:T==null,children:[D!=null&&r.jsxRuntimeExports.jsx(e.LabeledRadioField,{isContainerClickable:!0,label:{label:A.address.personal},isDisabled:T==null?"disabled":void 0,style:{padding:`${e.Space.sp2} ${e.Space.sp0}`,paddingLeft:M.radioLabelPaddingLeftRight.value(o),paddingRight:M.radioLabelPaddingRight.value(o),width:"fit-content"},radioField:{name:h(a,te),id:`${h(a,te)}.${A.address.personal}`,value:"card_holder_personal_address",radioSize:"small",registerOptions:{required:!0}}}),r.jsxRuntimeExports.jsx(e.LabeledRadioField,{isContainerClickable:!0,label:{label:A.address.company},isDisabled:T==null?"disabled":void 0,style:{padding:`${e.Space.sp2} ${e.Space.sp0}`,paddingLeft:M.radioLabelPaddingLeft.value(o),paddingRight:M.radioLabelPaddingRight.value(o),width:"fit-content"},radioField:{name:h(a,te),id:`${h(a,te)}.${A.address.company}`,value:"company_address",radioSize:"small",registerOptions:{required:!0}}}),r.jsxRuntimeExports.jsx(e.LabeledRadioField,{isContainerClickable:!0,label:{label:A.address.custom},isDisabled:T==null?"disabled":void 0,style:{padding:`${e.Space.sp2} ${e.Space.sp0}`,paddingLeft:M.radioLabelPaddingLeft.value(o),paddingRight:M.radioLabelPaddingLeftRight.value(o),width:"fit-content"},radioField:{name:h(a,te),id:`${h(a,te)}.${A.address.custom}`,value:"custom_address",radioSize:"small",registerOptions:{required:!0}}})]})})]}),r.jsxRuntimeExports.jsx(Rt,{windowSize:o,children:T?.user!=null&&s!=null&&r.jsxRuntimeExports.jsx(ft,{children:s==="card_holder_personal_address"?r.jsxRuntimeExports.jsxs(r.jsxRuntimeExports.Fragment,{children:[r.jsxRuntimeExports.jsx(e.AddressValueField,{name:"personal_address_value_field",defaultValue:D,isDisabled:"readonly",placeholder:we,style:{minHeight:e.Space.sp4,paddingTop:e.Space.sp2,paddingBottom:e.Space.sp2,width:"100%",display:"flex",flexGrow:1}}),r.jsxRuntimeExports.jsx(Le,{windowSize:o,children:A.address.personalAddressText.replace("_name_",T.user.firstName)})]}):s==="company_address"?r.jsxRuntimeExports.jsx(e.AddressValueField,{name:"company_address_value_field",defaultValue:m,isDisabled:"readonly",placeholder:we,style:{minHeight:e.Space.sp4,paddingTop:e.Space.sp2,paddingBottom:e.Space.sp2,width:"100%",display:"flex",flexGrow:1}}):r.jsxRuntimeExports.jsxs(r.jsxRuntimeExports.Fragment,{children:[r.jsxRuntimeExports.jsx(e.AddressValueField,{name:"custom_address_value_field",defaultValue:j[t.lineId],placeholder:pt,style:{minHeight:e.Space.sp4,paddingTop:e.Space.sp2,paddingBottom:e.Space.sp2,width:"100%",display:"flex",flexGrow:1},onClick:k}),r.jsxRuntimeExports.jsx(Le,{windowSize:o,children:A.address.customAddressText})]})})})]})]})},ft=l.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
width: 100%;
|
|
5
|
+
align-items: flex-end;
|
|
6
|
+
flex-grow: 1;
|
|
7
|
+
`,Le=l(e.SmallRegular)`
|
|
8
|
+
display: flex;
|
|
9
|
+
color: ${t=>t.theme.colors.hero};
|
|
10
|
+
padding-right: 12px;
|
|
11
|
+
text-align: right;
|
|
12
|
+
${t=>`${ut.infoLabel.style(t.windowSize)}`};
|
|
13
|
+
`,yt=l(e.SmallRegular)`
|
|
14
|
+
color: ${t=>t.isOptionSelected?t.theme.colors.primary:t.theme.colors.grey1};
|
|
15
|
+
`,pe=l.div`
|
|
16
|
+
display: flex;
|
|
17
|
+
flex: 1;
|
|
18
|
+
background-color: ${t=>t.theme.colors.grey3};
|
|
19
|
+
min-height: 1px;
|
|
20
|
+
max-height: 1px;
|
|
21
|
+
`,St=l.div`
|
|
22
|
+
display: flex;
|
|
23
|
+
flex-direction: column;
|
|
24
|
+
align-items: flex-end;
|
|
25
|
+
background-color: ${t=>t.theme.colors.grey5};
|
|
26
|
+
min-height: ${e.Space.sp6};
|
|
27
|
+
padding-right: ${e.Space.sp2};
|
|
28
|
+
padding-top: ${e.Space.sp2};
|
|
29
|
+
padding-bottom: ${e.Space.sp2};
|
|
30
|
+
|
|
31
|
+
&:focus-within {
|
|
32
|
+
border-color: ${t=>t.theme.colors.primary};
|
|
33
|
+
color: ${t=>t.theme.colors.primary};
|
|
34
|
+
z-index: 2;
|
|
35
|
+
outline: 1px solid ${t=>t.theme.colors.primary};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
:first-of-type {
|
|
39
|
+
border-top-left-radius: inherit;
|
|
40
|
+
border-top-right-radius: inherit;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
:last-of-type {
|
|
44
|
+
border-bottom-left-radius: inherit;
|
|
45
|
+
border-bottom-right-radius: inherit;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&:hover {
|
|
49
|
+
z-index: 1;
|
|
50
|
+
outline: 1px solid ${t=>t.theme.colors.primary};
|
|
51
|
+
.user-multi-select-field__control {
|
|
52
|
+
background-color: ${t=>t.theme.colors.background};
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
`,vt=l.div`
|
|
56
|
+
flex-grow: 1;
|
|
57
|
+
display: flex;
|
|
58
|
+
width: ${t=>t.windowSize==="small"?"auto":`calc(100% - ${M.largeLabelWidth.valuePx(t.windowSize)})`};
|
|
59
|
+
align-items: center;
|
|
60
|
+
justify-content: flex-end;
|
|
61
|
+
padding-right: ${t=>M.labelMarginBottom.valuePx(t.windowSize)};
|
|
62
|
+
`,Rt=l.div`
|
|
63
|
+
display: flex;
|
|
64
|
+
flex-direction: column;
|
|
65
|
+
text-align: right;
|
|
66
|
+
color: ${t=>t.theme.colors.primary};
|
|
67
|
+
padding-left: ${e.Space.sp4};
|
|
68
|
+
width: 100%;
|
|
69
|
+
`,Ct=l.div`
|
|
70
|
+
color: ${t=>t.theme.colors.primary};
|
|
71
|
+
width: 100%;
|
|
72
|
+
display: flex;
|
|
73
|
+
flex-direction: ${t=>t.windowSize==="small"?"column":"row"};
|
|
74
|
+
`,jt=l.div`
|
|
75
|
+
width: 100%;
|
|
76
|
+
display: flex;
|
|
77
|
+
justify-content: flex-end;
|
|
78
|
+
&:hover {
|
|
79
|
+
fill: ${t=>t.theme.colors.primary};
|
|
80
|
+
}
|
|
81
|
+
`,{spendManagement:{chargeCard:{issueCard:q}}}=e.appLocale.getLocalizedStrings(),Y={largeLabelWidth:new e.ResponsiveSized(120,120,200),labelMarginRight:new e.ResponsiveSized(e.sp[3],e.sp[4]),largeLabelMarginRight:new e.ResponsiveSized(e.sp[2],12),labelMarginBottom:new e.ResponsiveSized(e.sp[2],e.sp[0]),infoLabelMarginTop:new e.ResponsiveSized(e.sp[1],e.sp[0])},$t={infoLabel:new e.ResponsiveSizedStyle("smallRegular","smallRegular")},wt="debitCard.virtualCard.amount",Lt="debitCard.virtualCard.cardName",Ee="debitCard.virtualCard.users",Et="debitCard.virtualCard.frequency",Tt="debitCard.virtualCard.connectedAccount",Pt=({lineData:t,issueCardSectionId:a,cardHolderCandidates:d,creditLimitFrequency:x,allRoles:f,depositAccounts:g,allAccountingClasses:E,activeDebitCardCount:m,maxVirtualDebitCardPerUser:j})=>{const $=r.useTheme(),n=e.useWindowSizeContext(),{getValues:P}=r.useFormContext(),c=Y.largeLabelWidth.value(n),o=t.debitCard.virtualCard.amount,O=g.find(s=>s.id===t.debitCard.virtualCard.connectedAccount.selectedOption)?.cardLimits.dailyCardTransactionLimit.amount,y=o!=null&&O!=null&&o>O,k=y?q.amountExceedDebitCardError.replace("_amount_",e.currencyAmountCompactFormatter(O)):void 0,N=s=>{let p=0;const L=t.debitCard.virtualCard.connectedAccount.selectedOption;return L!=null&&m?.[L]?.[s]!=null&&(p=m[L][s].virtualCardCount),P().lineInfo.forEach(b=>{b.debitCard.cardType==="business_virtual_debit_card"&&b.debitCard.virtualCard.users.selectedUsers.forEach(w=>{w.userId===s&&(p+=1)})}),p>=j};return r.jsxRuntimeExports.jsxs(r.jsxRuntimeExports.Fragment,{children:[r.jsxRuntimeExports.jsx(Pe,{label:{label:q.connectedAccountLabel,width:c,style:{marginLeft:e.Space.sp4,marginRight:Y.largeLabelMarginRight.value(n),marginTop:e.Space.sp2,width:c}},style:{width:"auto"},singleSelectPickerField:{name:h(a,Tt),placeholder:q.selectAccountPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,p)=>Ge(g,s,p),valueToSubLabels:(s,p)=>xe(g,s,p),defaultValue:{selectedOption:t.debitCard.virtualCard.connectedAccount.selectedOption,allOptions:g.map(s=>({label:s.accountName,value:s.id}))},isOptionRemovable:!1,textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}}),r.jsxRuntimeExports.jsx(ue,{}),r.jsxRuntimeExports.jsxs(Nt,{windowSize:n,children:[r.jsxRuntimeExports.jsx(e.Label,{label:q.cardholdersLabel,htmlFor:h(a,Ee),style:{marginLeft:e.Space.sp4,marginRight:Y.labelMarginRight.value(n),marginTop:e.Space.sp2,width:c}}),r.jsxRuntimeExports.jsxs(Mt,{windowSize:n,children:[r.jsxRuntimeExports.jsx(e.UserMultiSelectField,{hideEmailTooltip:!0,shouldHaveBackgroundColor:!1,showBackgroundColorIfHasAnySelectedOption:!1,placeholderLabel:q.usersPlaceholder,name:h(a,Ee),value:{allUsers:d,selectedUsers:t.debitCard.virtualCard.users.selectedUsers,allNonUsers:[],selectedNonUsers:[]},registerOptions:{required:!0,validate:s=>s?.selectedUsers?.length>0},valueToSubtitle:s=>{const p=f.find(S=>S.userId===s),L=[];return p!=null&&(L.push(r.jsxRuntimeExports.jsx(He.RoleWithToolTip,{roles:p.userRoles})),p.accountingClassIDs.forEach(S=>{const b=E.find(w=>w.classId===S);b!=null&&b.className&&L.push(b.className)})),L},disableCurrentOption:N,disabledOptionHint:q.cardLimitWarning,customStyleConfig:{placeholder:()=>({margin:e.Space.sp0}),input:(s,{selectProps:p})=>({display:p.menuIsOpen===!1&&t.debitCard.virtualCard.users.selectedUsers.length>0&&n!=="small"?"none":"unset",width:n==="small"&&t.debitCard.virtualCard.users.selectedUsers.length>0?"100%":`calc(100% - ${e.Space.sp5})`,padding:t.debitCard.virtualCard.users.selectedUsers.length===0?`${e.Space.sp0} ${e.Space.sp3}`:e.Space.sp0,...e.textStyles.standardRegular.cssObject,height:e.Space.sp4,zIndex:0,position:t.debitCard.virtualCard.users.selectedUsers.length===0||n==="small"&&p.menuIsOpen===!1?"absolute":"unset",left:e.Space.sp0,">input":{...e.textStyles.smallBold.cssObject,height:"100%",cursor:"pointer"}})}}),r.jsxRuntimeExports.jsx(Bt,{size:n,children:q.additionalInfoVirtual})]})]}),r.jsxRuntimeExports.jsx(ue,{}),r.jsxRuntimeExports.jsx(e.LabeledTextField,{label:{label:q.cardNameLabel,width:c},style:{width:"auto",paddingLeft:Y.labelMarginBottom.value(n)},text:{type:"text",name:h(a,Lt),defaultValue:t.debitCard.virtualCard.cardName,placeholder:q.cardNamePlaceholder,options:{required:!0,validate:s=>s!=null}}}),r.jsxRuntimeExports.jsx(ue,{}),r.jsxRuntimeExports.jsx(e.LabeledFormattedTextField,{label:{label:q.amountLabel,width:c},showAdditionalInfoLabel:y,additionalInfoLabel:k,formattedTextField:{type:"number",name:h(a,wt),defaultValue:t.debitCard.virtualCard.amount,placeholder:q.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:s=>O!=null?!!s&&s>0&&s<=O:!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto",paddingLeft:Y.labelMarginBottom.value(n)},isFieldError:y}),r.jsxRuntimeExports.jsx(ue,{}),r.jsxRuntimeExports.jsx(_t,{size:n,children:r.jsxRuntimeExports.jsx(Pe,{isDisabled:"readonly",label:{label:q.frequencyLabel,width:c,style:{marginLeft:e.Space.sp0,marginBottom:Y.labelMarginBottom.valuePx(n),marginRight:Y.labelMarginRight.valuePx(n)}},style:{width:"100%",padding:e.Space.sp0,display:n==="small"?"flex":"inherit"},infoLabelStyle:{...e.textStyles.smallRegular.cssObject,textAlign:"right",paddingRight:e.Space.sp3,marginTop:Y.infoLabelMarginTop.valuePx(n),color:$.colors.hero},valueToAdditionalLabel:s=>de(s),singleSelectPickerField:{name:h(a,Et),placeholder:q.frequencyPlaceholder,style:{position:"relative"},capitalizeOptions:!0,showSubLabelsInSingleValue:!1,defaultValue:{selectedOption:t.debitCard.virtualCard.frequency.selectedOption,allOptions:x.map(s=>({label:s.name,value:s.code}))},valueToSubLabels:(s,p)=>xe(g,s,p),textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})]})},Ge=(t,a,d)=>{if(a==="")return r.jsxRuntimeExports.jsx(Ft,{});const x=t.find(g=>g.id===a),f=t.findIndex(g=>g.id===a);return x!=null?r.jsxRuntimeExports.jsx(Ot,{isOptionSelected:d,children:r.jsxRuntimeExports.jsx(At,{color:e.getAccountsColorMappingFromIndex(f)})}):null},xe=(t,a,d)=>{if(!a)return null;const x=t.find(f=>f.id===a);return d===!0?r.jsxRuntimeExports.jsx(It,{children:x?.maskedAccountNumber}):r.jsxRuntimeExports.jsxs(Ut,{className:"option-sublabel",children:[r.jsxRuntimeExports.jsx(Te,{children:x?.maskedAccountNumber}),x?.accountBalance?.available?r.jsxRuntimeExports.jsx(zt,{}):null,x?.accountBalance?.available?r.jsxRuntimeExports.jsx(Te,{children:e.amountToString("0,0[.]00",x.accountBalance.available)}):null]})},It=l.span`
|
|
82
|
+
margin-left: ${e.Space.sp2};
|
|
83
|
+
`,Te=l.div``,zt=l.div`
|
|
84
|
+
width: ${e.Space.sp1};
|
|
85
|
+
height: ${e.Space.sp1};
|
|
86
|
+
min-width: ${e.Space.sp1};
|
|
87
|
+
background-color: ${t=>t.theme.colors.grey1};
|
|
88
|
+
border-radius: 50%;
|
|
89
|
+
`,Ot=l.div`
|
|
90
|
+
min-width: ${t=>t.isOptionSelected?e.Space.sp4:e.Space.sp5};
|
|
91
|
+
width: ${t=>t.isOptionSelected?e.Space.sp4:e.Space.sp5};
|
|
92
|
+
height: ${t=>t.isOptionSelected?e.Space.sp4:e.Space.sp5};
|
|
93
|
+
margin-right: ${e.Space.sp2};
|
|
94
|
+
`,At=l(e.SvgZeniBrandCheckingAcc)`
|
|
95
|
+
min-width: inherit;
|
|
96
|
+
width: inherit;
|
|
97
|
+
height: inherit;
|
|
98
|
+
`,Ft=l(e.SvgAddRound)`
|
|
99
|
+
min-width: ${e.Space.sp4};
|
|
100
|
+
width: ${e.Space.sp4};
|
|
101
|
+
height: ${e.Space.sp4};
|
|
102
|
+
margin-right: 12px;
|
|
103
|
+
margin-left: ${e.Space.sp1};
|
|
104
|
+
color: ${t=>t.theme.colors.hero};
|
|
105
|
+
`,_t=l.div`
|
|
106
|
+
display: flex;
|
|
107
|
+
flex-direction: row;
|
|
108
|
+
padding: ${e.Space.sp2};
|
|
109
|
+
padding-left: ${e.Space.sp4};
|
|
110
|
+
justify-content: space-between;
|
|
111
|
+
color: ${t=>t.theme.colors.hero};
|
|
112
|
+
:last-of-type {
|
|
113
|
+
border-bottom-left-radius: inherit;
|
|
114
|
+
border-bottom-right-radius: inherit;
|
|
115
|
+
}
|
|
116
|
+
`,Ut=l(e.ExtraSmallRegular)`
|
|
117
|
+
color: ${t=>t.theme.colors.grey1};
|
|
118
|
+
display: flex;
|
|
119
|
+
align-items: center;
|
|
120
|
+
gap: ${e.Space.sp2};
|
|
121
|
+
`,Bt=l.label`
|
|
122
|
+
color: ${t=>t.theme.colors.hero};
|
|
123
|
+
width: 100%;
|
|
124
|
+
${t=>`${$t.infoLabel.style(t.size)}`};
|
|
125
|
+
padding-right: ${e.Space.sp3};
|
|
126
|
+
text-align: right;
|
|
127
|
+
white-space: pre-line;
|
|
128
|
+
`,ue=l.div`
|
|
129
|
+
display: flex;
|
|
130
|
+
flex: 1;
|
|
131
|
+
background-color: ${t=>t.theme.colors.grey3};
|
|
132
|
+
min-height: 1px;
|
|
133
|
+
max-height: 1px;
|
|
134
|
+
`,Mt=l.div`
|
|
135
|
+
flex-grow: 1;
|
|
136
|
+
display: flex;
|
|
137
|
+
flex-direction: column;
|
|
138
|
+
width: ${t=>`calc(100% - ${Y.largeLabelWidth.valuePx(t.windowSize)})`};
|
|
139
|
+
align-items: flex-end;
|
|
140
|
+
flex-grow: 1;
|
|
141
|
+
`,Pe=l(e.LabeledSingleSelectPickerField)`
|
|
142
|
+
border-radius: ${e.Space.sp2};
|
|
143
|
+
border: 1px solid ${t=>t.theme.colors.grey3};
|
|
144
|
+
`,Nt=l.div`
|
|
145
|
+
display: flex;
|
|
146
|
+
flex-direction: row;
|
|
147
|
+
align-items: flex-start;
|
|
148
|
+
background-color: ${t=>t.theme.colors.grey5};
|
|
149
|
+
min-height: ${e.Space.sp6};
|
|
150
|
+
padding-right: ${e.Space.sp2};
|
|
151
|
+
padding-top: ${e.Space.sp2};
|
|
152
|
+
padding-bottom: ${e.Space.sp2};
|
|
153
|
+
|
|
154
|
+
&:focus-within {
|
|
155
|
+
border-color: ${t=>t.theme.colors.primary};
|
|
156
|
+
color: ${t=>t.theme.colors.primary};
|
|
157
|
+
z-index: 2;
|
|
158
|
+
outline: 1px solid ${t=>t.theme.colors.primary};
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
:first-of-type {
|
|
162
|
+
border-top-left-radius: inherit;
|
|
163
|
+
border-top-right-radius: inherit;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
:last-of-type {
|
|
167
|
+
border-bottom-left-radius: inherit;
|
|
168
|
+
border-bottom-right-radius: inherit;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
&:hover {
|
|
172
|
+
z-index: 1;
|
|
173
|
+
outline: 1px solid ${t=>t.theme.colors.primary};
|
|
174
|
+
.user-multi-select-field__control {
|
|
175
|
+
background-color: ${t=>t.theme.colors.background};
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
`,{commonSetUp:{businessVerification:{addressPlaceholder:Ie,customAddressPlaceholder:kt}},spendManagement:{chargeCard:{issueCard:z}}}=e.appLocale.getLocalizedStrings(),B={largeLabelWidth:new e.ResponsiveSized(120,120,200),labelMarginRight:new e.ResponsiveSized(e.sp[3],e.sp[4]),largeLabelMarginRight:new e.ResponsiveSized(e.sp[2],12),labelMarginBottom:new e.ResponsiveSized(e.sp[2],e.sp[0]),infoLabelMarginTop:new e.ResponsiveSized(e.sp[1],e.sp[0]),radioLabelPaddingLeftRight:new e.ResponsiveSized(e.sp[2],e.sp[3]),radioLabelPaddingLeft:new e.ResponsiveSized(e.sp[0],e.sp[3]),radioLabelPaddingRight:new e.ResponsiveSized(10,e.sp[3]),labeledFieldPaddingLeft:new e.ResponsiveSized(e.sp[3],e.sp[0]),labeledFieldPaddingRight:new e.ResponsiveSized(e.sp[3],e.sp[2]),labeledFieldPaddingBottom:new e.ResponsiveSized(e.sp[3],e.sp[2])},Vt={infoLabel:new e.ResponsiveSizedStyle("smallRegular","smallRegular")},Wt="debitCard.physicalCard.amount",qt="debitCard.physicalCard.cardName",Ht="debitCard.physicalCard.user",Gt="debitCard.physicalCard.frequency",re="debitCard.physicalCard.addressType",Zt="debitCard.physicalCard.connectedAccount",Dt=({lineData:t,issueCardSectionId:a,creditLimitFrequency:d,activeDebitCardCount:x,allRoles:f,depositAccounts:g,allAccountingClasses:E,companyAddress:m,customAddress:j,userAddress:$,userList:n,maxPhysicalDebitCardPerUser:P,openAddAddressDrawerHandler:c})=>{const o=e.useWindowSizeContext(),W=r.useTheme(),{getValues:O}=r.useFormContext(),y=B.largeLabelWidth.value(o),k=()=>{c(t.lineId,"debitCard")},N=t.debitCard.physicalCard.amount,p=g.find(i=>i.id===t.debitCard.physicalCard.connectedAccount.selectedOption)?.cardLimits.dailyCardTransactionLimit.amount,L=N!=null&&p!=null&&N>p,S=L?z.amountExceedDebitCardError.replace("_amount_",e.currencyAmountCompactFormatter(p)):void 0,b=t.debitCard.physicalCard.addressType,w=t.debitCard.physicalCard.user,T=w.allUsers.find(i=>i.userId===w.selectedUser),G=T?.userId,D=G!=null?$[G]:void 0,J=i=>{let u=0;const R=t.debitCard.physicalCard.connectedAccount.selectedOption;return R!=null&&x?.[R]?.[i]!=null&&(u=x[R][i].physicalCardCount),O().lineInfo.forEach(Z=>{Z.debitCard.cardType==="business_physical_debit_card"&&Z.debitCard.physicalCard.user.selectedUser===i&&(u+=1)}),u>=P};return r.jsxRuntimeExports.jsxs(r.jsxRuntimeExports.Fragment,{children:[r.jsxRuntimeExports.jsx(Xt,{label:{label:z.connectedAccountLabel,width:y,style:{marginLeft:e.Space.sp4,marginRight:B.largeLabelMarginRight.value(o),marginTop:e.Space.sp2,width:y}},style:{width:"auto"},singleSelectPickerField:{name:h(a,Zt),placeholder:z.selectAccountPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(i,u)=>Ge(g,i,u),valueToSubLabels:(i,u)=>xe(g,i,u),defaultValue:{selectedOption:t.debitCard.physicalCard.connectedAccount.selectedOption,allOptions:g.map(i=>({label:i.accountName,value:i.id}))},textAlignment:"right",isOptionRemovable:!1,registerOptions:{required:!0,validate:i=>i!=null&&!!i.selectedOption}}}),r.jsxRuntimeExports.jsx(ne,{}),r.jsxRuntimeExports.jsx(qe.LabeledUserSingleSelectWithSubtitlesField,{label:{label:z.cardholderLabel,width:y},userSingleSelectWithSubTitlesField:{name:h(a,Ht),placeholderLabel:z.usersPlaceholder,value:{allUsers:n,selectedUser:t.debitCard.physicalCard.user.selectedUser},registerOptions:{required:!0,validate:i=>i?.selectedUser?.length>0},valueToSubtitle:i=>{const u=f.find(_=>_.userId===i),R=[];return u?.accountingClassIDs.forEach(_=>{const Z=E.find(ee=>ee.classId===_);Z!=null&&Z.className&&R.push(Z.className)}),R},additionalLabelInfo:z.additionalInfoPhysical,showOnlyAvatar:!0,showAvatarAndSubtitles:!1,isOptionDisabled:J,disabledOptionHint:z.cardLimitWarning,bigMarginRightForSmallScreens:!0,optionStyles:{maxHeight:e.Space.sp10,minHeight:e.Space.sp6,height:"max-content"}},style:{width:"auto",paddingLeft:B.labelMarginBottom.value(o)}}),r.jsxRuntimeExports.jsx(ne,{}),r.jsxRuntimeExports.jsx(e.LabeledTextField,{label:{label:z.cardNameLabel,width:y},style:{width:"auto",paddingLeft:B.labelMarginBottom.value(o)},text:{type:"text",name:h(a,qt),defaultValue:t.debitCard.physicalCard.cardName,placeholder:z.cardNamePlaceholder,options:{required:!0,validate:i=>i!=null}}}),r.jsxRuntimeExports.jsx(ne,{}),r.jsxRuntimeExports.jsx(e.LabeledFormattedTextField,{label:{label:z.amountLabel,width:y},showAdditionalInfoLabel:L,additionalInfoLabel:S,formattedTextField:{type:"number",name:h(a,Wt),defaultValue:t.debitCard.physicalCard.amount,placeholder:z.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:i=>p!=null?!!i&&i>0&&i<=p:!!i&&i>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto",paddingLeft:B.labelMarginBottom.value(o)},isFieldError:L}),r.jsxRuntimeExports.jsx(ne,{}),r.jsxRuntimeExports.jsx(e.LabeledSingleSelectPickerField,{isDisabled:"readonly",label:{label:z.frequencyLabel,width:y,style:{marginBottom:B.labelMarginBottom.valuePx(o),marginRight:B.labelMarginRight.valuePx(o)}},style:{width:"auto",paddingLeft:B.labelMarginBottom.valuePx(o)},infoLabelStyle:{...e.textStyles.smallRegular.cssObject,textAlign:"right",paddingRight:e.Space.sp3,marginTop:B.infoLabelMarginTop.valuePx(o),color:W.colors.hero},valueToAdditionalLabel:i=>de(i),singleSelectPickerField:{name:h(a,Gt),placeholder:z.frequencyPlaceholder,style:{position:"relative"},capitalizeOptions:!0,showSubLabelsInSingleValue:!1,defaultValue:{selectedOption:t.debitCard.physicalCard.frequency.selectedOption,allOptions:d.map(i=>({label:i.name,value:i.code}))},valueToSubLabels:(i,u)=>xe(g,i,u),textAlignment:"right",registerOptions:{required:!0,validate:i=>i!=null&&!!i.selectedOption}}}),r.jsxRuntimeExports.jsx(ne,{}),r.jsxRuntimeExports.jsxs(Yt,{windowSize:o,children:[r.jsxRuntimeExports.jsxs(er,{windowSize:o,children:[r.jsxRuntimeExports.jsx(e.Label,{label:z.address.shippingAddressLabel,htmlFor:h(a,re),style:{marginLeft:e.Space.sp4,marginRight:B.labelMarginRight.valuePx(o),marginTop:e.Space.sp2,width:o==="small"?"auto":y}}),r.jsxRuntimeExports.jsx(Kt,{windowSize:o,children:r.jsxRuntimeExports.jsxs(tr,{isDisabled:T==null,children:[D!=null&&r.jsxRuntimeExports.jsx(e.LabeledRadioField,{isContainerClickable:!0,label:{label:z.address.personal},isDisabled:T==null?"disabled":void 0,style:{padding:`${e.Space.sp2} ${e.Space.sp0}`,paddingLeft:B.radioLabelPaddingLeftRight.value(o),paddingRight:B.radioLabelPaddingRight.value(o),width:"fit-content"},radioField:{name:h(a,re),id:`${h(a,re)}.${z.address.personal}`,value:"card_holder_personal_address",radioSize:"small",registerOptions:{required:!0}}}),r.jsxRuntimeExports.jsx(e.LabeledRadioField,{isContainerClickable:!0,label:{label:z.address.company},isDisabled:T==null?"disabled":void 0,style:{padding:`${e.Space.sp2} ${e.Space.sp0}`,paddingLeft:B.radioLabelPaddingLeft.value(o),paddingRight:B.radioLabelPaddingRight.value(o),width:"fit-content"},radioField:{name:h(a,re),id:`${h(a,re)}.${z.address.company}`,value:"company_address",radioSize:"small",registerOptions:{required:!0}}}),r.jsxRuntimeExports.jsx(e.LabeledRadioField,{isContainerClickable:!0,label:{label:z.address.custom},isDisabled:T==null?"disabled":void 0,style:{padding:`${e.Space.sp2} ${e.Space.sp0}`,paddingLeft:B.radioLabelPaddingLeft.value(o),paddingRight:B.radioLabelPaddingLeftRight.value(o),width:"fit-content"},radioField:{name:h(a,re),id:`${h(a,re)}.${z.address.custom}`,value:"custom_address",radioSize:"small",registerOptions:{required:!0}}})]})})]}),r.jsxRuntimeExports.jsx(Qt,{windowSize:o,children:T?.user!=null&&b!=null&&r.jsxRuntimeExports.jsx(Jt,{children:b==="card_holder_personal_address"?r.jsxRuntimeExports.jsxs(r.jsxRuntimeExports.Fragment,{children:[r.jsxRuntimeExports.jsx(e.AddressValueField,{name:"personal_address_value_field",defaultValue:D,isDisabled:"readonly",placeholder:Ie,style:{minHeight:e.Space.sp4,paddingTop:e.Space.sp2,paddingBottom:e.Space.sp2,width:"100%",display:"flex",flexGrow:1}}),r.jsxRuntimeExports.jsx(ze,{windowSize:o,children:z.address.personalAddressText.replace("_name_",T.user.firstName)})]}):b==="company_address"?r.jsxRuntimeExports.jsx(e.AddressValueField,{name:"company_address_value_field",defaultValue:m,isDisabled:"readonly",placeholder:Ie,style:{minHeight:e.Space.sp4,paddingTop:e.Space.sp2,paddingBottom:e.Space.sp2,width:"100%",display:"flex",flexGrow:1}}):r.jsxRuntimeExports.jsxs(r.jsxRuntimeExports.Fragment,{children:[r.jsxRuntimeExports.jsx(e.AddressValueField,{name:"custom_address_value_field",defaultValue:j[t.lineId],placeholder:kt,style:{minHeight:e.Space.sp4,paddingTop:e.Space.sp2,paddingBottom:e.Space.sp2,width:"100%",display:"flex",flexGrow:1},onClick:k}),r.jsxRuntimeExports.jsx(ze,{windowSize:o,children:z.address.customAddressText})]})})})]})]})},Jt=l.div`
|
|
179
|
+
display: flex;
|
|
180
|
+
flex-direction: column;
|
|
181
|
+
width: 100%;
|
|
182
|
+
align-items: flex-end;
|
|
183
|
+
flex-grow: 1;
|
|
184
|
+
`,Xt=l(e.LabeledSingleSelectPickerField)`
|
|
185
|
+
border-radius: ${e.Space.sp2};
|
|
186
|
+
border: 1px solid ${t=>t.theme.colors.grey3};
|
|
187
|
+
`,ze=l(e.SmallRegular)`
|
|
188
|
+
display: flex;
|
|
189
|
+
color: ${t=>t.theme.colors.hero};
|
|
190
|
+
padding-right: 12px;
|
|
191
|
+
text-align: right;
|
|
192
|
+
${t=>`${Vt.infoLabel.style(t.windowSize)}`};
|
|
193
|
+
`,ne=l.div`
|
|
194
|
+
display: flex;
|
|
195
|
+
flex: 1;
|
|
196
|
+
background-color: ${t=>t.theme.colors.grey3};
|
|
197
|
+
min-height: 1px;
|
|
198
|
+
max-height: 1px;
|
|
199
|
+
`,Yt=l.div`
|
|
200
|
+
display: flex;
|
|
201
|
+
flex-direction: column;
|
|
202
|
+
align-items: flex-end;
|
|
203
|
+
background-color: ${t=>t.theme.colors.grey5};
|
|
204
|
+
min-height: ${e.Space.sp6};
|
|
205
|
+
padding-right: ${e.Space.sp2};
|
|
206
|
+
padding-top: ${e.Space.sp2};
|
|
207
|
+
padding-bottom: ${e.Space.sp2};
|
|
208
|
+
|
|
209
|
+
&:focus-within {
|
|
210
|
+
border-color: ${t=>t.theme.colors.primary};
|
|
211
|
+
color: ${t=>t.theme.colors.primary};
|
|
212
|
+
z-index: 2;
|
|
213
|
+
outline: 1px solid ${t=>t.theme.colors.primary};
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
:first-of-type {
|
|
217
|
+
border-top-left-radius: inherit;
|
|
218
|
+
border-top-right-radius: inherit;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
:last-of-type {
|
|
222
|
+
border-bottom-left-radius: inherit;
|
|
223
|
+
border-bottom-right-radius: inherit;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
&:hover {
|
|
227
|
+
z-index: 1;
|
|
228
|
+
outline: 1px solid ${t=>t.theme.colors.primary};
|
|
229
|
+
.user-multi-select-field__control {
|
|
230
|
+
background-color: ${t=>t.theme.colors.background};
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
`,Kt=l.div`
|
|
234
|
+
flex-grow: 1;
|
|
235
|
+
display: flex;
|
|
236
|
+
width: ${t=>t.windowSize==="small"?"auto":`calc(100% - ${B.largeLabelWidth.valuePx(t.windowSize)})`};
|
|
237
|
+
align-items: center;
|
|
238
|
+
justify-content: flex-end;
|
|
239
|
+
padding-right: ${t=>B.labelMarginBottom.valuePx(t.windowSize)};
|
|
240
|
+
`,Qt=l.div`
|
|
241
|
+
display: flex;
|
|
242
|
+
flex-direction: column;
|
|
243
|
+
text-align: right;
|
|
244
|
+
color: ${t=>t.theme.colors.primary};
|
|
245
|
+
padding-left: ${e.Space.sp4};
|
|
246
|
+
width: 100%;
|
|
247
|
+
`,er=l.div`
|
|
248
|
+
color: ${t=>t.theme.colors.primary};
|
|
249
|
+
width: 100%;
|
|
250
|
+
display: flex;
|
|
251
|
+
flex-direction: ${t=>t.windowSize==="small"?"column":"row"};
|
|
252
|
+
`,tr=l.div`
|
|
253
|
+
width: 100%;
|
|
254
|
+
display: flex;
|
|
255
|
+
justify-content: flex-end;
|
|
256
|
+
&:hover {
|
|
257
|
+
fill: ${t=>t.theme.colors.primary};
|
|
258
|
+
}
|
|
259
|
+
`,{spendManagement:{chargeCard:{issueCard:X}}}=e.appLocale.getLocalizedStrings(),K={largeLabelWidth:new e.ResponsiveSized(120,120,200),labelMarginRight:new e.ResponsiveSized(e.sp[3],e.sp[4]),labelMarginBottom:new e.ResponsiveSized(e.sp[2],e.sp[0]),infoLabelMarginTop:new e.ResponsiveSized(e.sp[1],e.sp[0])},rr={infoLabel:new e.ResponsiveSizedStyle("smallRegular","smallRegular")},ar="creditCard.virtualCard.amount",sr="creditCard.virtualCard.cardName",Oe="creditCard.virtualCard.users",ir="creditCard.virtualCard.frequency",lr=({lineData:t,issueCardSectionId:a,cardHolderCandidates:d,limit:x,creditLimitFrequency:f,allRoles:g,allAccountingClasses:E,activeChargeCardCount:m,maxVirtualChargeCardPerUser:j})=>{const $=r.useTheme(),n=e.useWindowSizeContext(),{getValues:P}=r.useFormContext(),c=K.largeLabelWidth.value(n),o=(s,p)=>r.jsxRuntimeExports.jsx(or,{isOptionSelected:p,children:de(s)}),W=t.creditCard.virtualCard.amount,O=e.currencyAmountCompactFormatter(x.amount),y=W!=null&&W>x.amount,k=y?X.amountExceedError.replace("_amount_",O):void 0,N=s=>{let p=m[s]?.virtualCardCount??0;return P().lineInfo.forEach(S=>{S.creditCard.cardType==="business_virtual_credit_card"&&S.creditCard.virtualCard.users.selectedUsers.forEach(b=>{b.userId===s&&(p+=1)})}),p>=j};return r.jsxRuntimeExports.jsxs(r.jsxRuntimeExports.Fragment,{children:[r.jsxRuntimeExports.jsxs(ur,{windowSize:n,children:[r.jsxRuntimeExports.jsx(e.Label,{label:X.cardholdersLabel,htmlFor:h(a,Oe),style:{marginLeft:e.Space.sp4,marginRight:K.labelMarginRight.value(n),marginTop:e.Space.sp2,width:c}}),r.jsxRuntimeExports.jsxs(cr,{windowSize:n,children:[r.jsxRuntimeExports.jsx(e.UserMultiSelectField,{hideEmailTooltip:!0,shouldHaveBackgroundColor:!1,showBackgroundColorIfHasAnySelectedOption:!1,placeholderLabel:X.usersPlaceholder,name:h(a,Oe),value:{allUsers:d,selectedUsers:t.creditCard.virtualCard.users.selectedUsers,allNonUsers:[],selectedNonUsers:[]},registerOptions:{required:!0,validate:s=>s?.selectedUsers?.length>0},valueToSubtitle:s=>{const p=g.find(S=>S.userId===s),L=[];return p!=null&&(L.push(r.jsxRuntimeExports.jsx(He.RoleWithToolTip,{roles:p.userRoles})),p.accountingClassIDs.forEach(S=>{const b=E.find(w=>w.classId===S);b!=null&&b.className&&L.push(b.className)})),L},disableCurrentOption:N,disabledOptionHint:X.cardLimitWarning,customStyleConfig:{placeholder:()=>({margin:e.Space.sp0}),input:(s,{selectProps:p})=>({display:p.menuIsOpen===!1&&t.creditCard.virtualCard.users.selectedUsers.length>0&&n!=="small"?"none":"unset",width:n==="small"&&t.creditCard.virtualCard.users.selectedUsers.length>0?"100%":`calc(100% - ${e.Space.sp5})`,padding:t.creditCard.virtualCard.users.selectedUsers.length===0?`${e.Space.sp0} ${e.Space.sp3}`:e.Space.sp0,...e.textStyles.standardRegular.cssObject,height:e.Space.sp4,position:t.creditCard.virtualCard.users.selectedUsers.length===0||n==="small"&&p.menuIsOpen===!1?"absolute":"unset",left:e.Space.sp0,">input":{...e.textStyles.smallBold.cssObject,height:"100%",cursor:"pointer"}})}}),r.jsxRuntimeExports.jsx(nr,{size:n,children:X.additionalInfoVirtual})]})]}),r.jsxRuntimeExports.jsx(fe,{}),r.jsxRuntimeExports.jsx(e.LabeledTextField,{label:{label:X.cardNameLabel,width:c},style:{width:"auto",paddingLeft:K.labelMarginBottom.value(n)},text:{type:"text",name:h(a,sr),defaultValue:t.creditCard.virtualCard.cardName,placeholder:X.cardNamePlaceholder,options:{required:!0,validate:s=>s!=null}}}),r.jsxRuntimeExports.jsx(fe,{}),r.jsxRuntimeExports.jsx(e.LabeledFormattedTextField,{label:{label:X.amountLabel,width:c},showAdditionalInfoLabel:y,additionalInfoLabel:k,formattedTextField:{type:"number",name:h(a,ar),defaultValue:t.creditCard.virtualCard.amount,placeholder:X.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0&&s<=x.amount},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto",paddingLeft:K.labelMarginBottom.value(n)},isFieldError:y}),r.jsxRuntimeExports.jsx(fe,{}),r.jsxRuntimeExports.jsx(dr,{size:n,children:r.jsxRuntimeExports.jsx(pr,{isDisabled:"readonly",label:{label:X.frequencyLabel,width:c,style:{marginLeft:e.Space.sp0,marginBottom:K.labelMarginBottom.valuePx(n),marginRight:K.labelMarginRight.valuePx(n)}},style:{width:"100%",padding:e.Space.sp0,display:n==="small"?"flex":"inherit"},infoLabelStyle:{...e.textStyles.smallRegular.cssObject,textAlign:"right",paddingRight:e.Space.sp3,marginTop:K.infoLabelMarginTop.valuePx(n),color:$.colors.hero},valueToAdditionalLabel:s=>de(s),singleSelectPickerField:{name:h(a,ir),placeholder:X.frequencyPlaceholder,style:{position:"relative"},capitalizeOptions:!0,showSubLabelsInSingleValue:!1,defaultValue:{selectedOption:t.creditCard.virtualCard.frequency.selectedOption,allOptions:f.map(s=>({label:s.name,value:s.code}))},valueToSubLabels:(s,p)=>o(s,p),textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})]})},dr=l.div`
|
|
260
|
+
display: flex;
|
|
261
|
+
flex-direction: row;
|
|
262
|
+
padding: ${e.Space.sp2};
|
|
263
|
+
padding-left: ${e.Space.sp4};
|
|
264
|
+
justify-content: space-between;
|
|
265
|
+
color: ${t=>t.theme.colors.hero};
|
|
266
|
+
:last-of-type {
|
|
267
|
+
border-bottom-left-radius: inherit;
|
|
268
|
+
border-bottom-right-radius: inherit;
|
|
269
|
+
}
|
|
270
|
+
`,or=l(e.SmallRegular)`
|
|
271
|
+
color: ${t=>t.isOptionSelected?t.theme.colors.primary:t.theme.colors.grey1};
|
|
272
|
+
`,nr=l.label`
|
|
273
|
+
color: ${t=>t.theme.colors.hero};
|
|
274
|
+
width: 100%;
|
|
275
|
+
${t=>`${rr.infoLabel.style(t.size)}`};
|
|
276
|
+
padding-right: ${e.Space.sp3};
|
|
277
|
+
text-align: right;
|
|
278
|
+
white-space: pre-line;
|
|
279
|
+
`,fe=l.div`
|
|
280
|
+
display: flex;
|
|
281
|
+
flex: 1;
|
|
282
|
+
background-color: ${t=>t.theme.colors.grey3};
|
|
283
|
+
min-height: 1px;
|
|
284
|
+
max-height: 1px;
|
|
285
|
+
`,cr=l.div`
|
|
286
|
+
flex-grow: 1;
|
|
287
|
+
display: flex;
|
|
288
|
+
flex-direction: column;
|
|
289
|
+
width: ${t=>`calc(100% - ${K.largeLabelWidth.valuePx(t.windowSize)})`};
|
|
290
|
+
align-items: flex-end;
|
|
291
|
+
flex-grow: 1;
|
|
292
|
+
`,pr=l(e.LabeledSingleSelectPickerField)`
|
|
293
|
+
border-radius: ${e.Space.sp2};
|
|
294
|
+
border: 1px solid ${t=>t.theme.colors.grey3};
|
|
295
|
+
`,ur=l.div`
|
|
296
|
+
display: flex;
|
|
297
|
+
flex-direction: row;
|
|
298
|
+
align-items: flex-start;
|
|
299
|
+
background-color: ${t=>t.theme.colors.grey5};
|
|
300
|
+
min-height: ${e.Space.sp6};
|
|
301
|
+
padding-right: ${e.Space.sp2};
|
|
302
|
+
padding-top: ${e.Space.sp2};
|
|
303
|
+
padding-bottom: ${e.Space.sp2};
|
|
304
|
+
|
|
305
|
+
&:focus-within {
|
|
306
|
+
border-color: ${t=>t.theme.colors.primary};
|
|
307
|
+
color: ${t=>t.theme.colors.primary};
|
|
308
|
+
z-index: 2;
|
|
309
|
+
outline: 1px solid ${t=>t.theme.colors.primary};
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
:first-of-type {
|
|
313
|
+
border-top-left-radius: inherit;
|
|
314
|
+
border-top-right-radius: inherit;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
:last-of-type {
|
|
318
|
+
border-bottom-left-radius: inherit;
|
|
319
|
+
border-bottom-right-radius: inherit;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
&:hover {
|
|
323
|
+
z-index: 1;
|
|
324
|
+
outline: 1px solid ${t=>t.theme.colors.primary};
|
|
325
|
+
.user-multi-select-field__control {
|
|
326
|
+
background-color: ${t=>t.theme.colors.background};
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
`,H={containerPaddingBottom:new e.ResponsiveSized(e.sp[3],e.sp[4]),sectionTitleContainerPadding:new e.ResponsiveSized(e.sp[2],e.sp[3]),largeLabelWidth:new e.ResponsiveSized(120,120,200),labelPaddingLeft:new e.ResponsiveSized(e.sp[3],e.sp[4]),radioLabelPaddingLeft:new e.ResponsiveSized(e.sp[4],e.sp[4]),radioLabelPaddingRight:new e.ResponsiveSized(e.sp[2],e.sp[3]),labelPaddingRight:new e.ResponsiveSized(e.sp[4],e.sp[4]),firstItemMarginTop:new e.ResponsiveSized(e.sp[4],e.sp[2]),paddingLeft:new e.ResponsiveSized(e.sp[3],e.sp[5])},{spendManagement:{chargeCard:{issueCard:V}}}=e.appLocale.getLocalizedStrings(),mr=t=>{const{lineData:a,issueCardSectionId:d,cardHolderCandidates:x,userList:f,limit:g,creditLimitFrequency:E,allRoles:m,allAccountingClasses:j,hasMultipleLineItems:$,depositAccounts:n,isIssuePhysicalCardEnabled:P,isDebitCardFeatureEnabled:c,isChargeCardFeatureEnabled:o,isChargeCardSetupEnabled:W,isDebitCardSetupEnabled:O,lineIndex:y,customAddress:k,userAddress:N,onRemoveIssueCardLine:s,companyAddress:p,maxPhysicalChargeCardPerUser:L,maxVirtualChargeCardPerUser:S,maxPhysicalDebitCardPerUser:b,maxVirtualDebitCardPerUser:w,cardsSectionRef:T,openAddAddressDrawerHandler:G,clearTentativeNameForLine:D,activeChargeCardCount:J,activeDebitCardCount:i}=t,u=e.useWindowSizeContext(),R=H.largeLabelWidth.value(u);return r.jsxRuntimeExports.jsxs(xr,{windowSize:u,ref:T,className:"cards-item",children:[$&&r.jsxRuntimeExports.jsxs(fr,{windowSize:u,children:[r.jsxRuntimeExports.jsx(yr,{windowSize:u,children:`${V.card} ${y+1}`}),r.jsxRuntimeExports.jsx(Sr,{className:"deleteIconWrapper",windowSize:u,"data-testid":e.generateDataTestId("delete-icon",a.lineId),onClick:()=>{D?.(a.lineId??"1"),s(y)},children:r.jsxRuntimeExports.jsx(e.Tooltip,{enterDelay:600,title:V.deleteCard,placement:"left",children:r.jsxRuntimeExports.jsx(vr,{})})})]}),r.jsxRuntimeExports.jsxs(gr,{showTopMargin:!$,windowSize:u,children:[c&&O&&o&&W?r.jsxRuntimeExports.jsxs(r.jsxRuntimeExports.Fragment,{children:[r.jsxRuntimeExports.jsxs(hr,{children:[r.jsxRuntimeExports.jsx(e.LabeledRadioField,{isContainerClickable:!0,label:{label:V.creditCard},style:{padding:`${e.Space.sp3} ${e.Space.sp0}`,paddingLeft:H.labelPaddingLeft.value(u),borderTopLeftRadius:"inherit"},showOutline:!0,radioField:{name:h(d,"chargeCardType"),id:`${h(d,"chargeCardType")}.creditCard`,value:"credit_card",radioSize:"small"}}),r.jsxRuntimeExports.jsx(br,{}),r.jsxRuntimeExports.jsx(e.LabeledRadioField,{isContainerClickable:!0,label:{label:V.debitCard},style:{padding:`${e.Space.sp3} ${e.Space.sp0}`,paddingLeft:H.labelPaddingLeft.value(u),borderTopRightRadius:"inherit"},showOutline:!0,radioField:{name:h(d,"chargeCardType"),id:`${h(d,"chargeCardType")}.debitCard`,value:"debit_card",radioSize:"small"}})]}),r.jsxRuntimeExports.jsx(ye,{})]}):null,a.chargeCardType==="credit_card"?r.jsxRuntimeExports.jsxs(r.jsxRuntimeExports.Fragment,{children:[r.jsxRuntimeExports.jsxs(Fe,{size:u,isDebitCardSetupEnabled:O,isDebitCardFeatureEnabled:c,children:[r.jsxRuntimeExports.jsx(e.Label,{label:V.type,htmlFor:h(d,"creditCard.cardType"),style:{padding:`${e.Space.sp2} ${e.Space.sp0}`,paddingLeft:H.radioLabelPaddingLeft.value(u),paddingRight:H.radioLabelPaddingRight.value(u),width:"fit-content"}}),r.jsxRuntimeExports.jsxs(Ae,{labelWidth:R,children:[r.jsxRuntimeExports.jsx(e.LabeledRadioField,{label:{label:V.virtualCard},style:{width:"auto"},radioField:{name:h(d,"creditCard.cardType"),id:`${h(d,"creditCard.cardType")}.${V.virtualCard}`,value:"business_virtual_credit_card",style:{height:e.Space.sp3,width:e.Space.sp3,opacity:P?1:0},radioSize:"small"}}),P&&r.jsxRuntimeExports.jsx(e.LabeledRadioField,{label:{label:V.physicalCard},style:{width:"auto",paddingLeft:H.paddingLeft.valuePx(u)},radioField:{name:h(d,"creditCard.cardType"),id:`${h(d,"creditCard.cardType")}.${V.physicalCard}`,value:"business_physical_credit_card",style:{height:e.Space.sp3,width:e.Space.sp3},radioSize:"small"}})]})]}),r.jsxRuntimeExports.jsx(ye,{}),a.creditCard.cardType==="business_physical_credit_card"?r.jsxRuntimeExports.jsx(bt,{lineData:a,issueCardSectionId:`${d}`,limit:g,creditLimitFrequency:E,companyAddress:p,openAddAddressDrawerHandler:G,customAddress:k,userAddress:N,activeChargeCardCount:J,userList:f,allRoles:m,allAccountingClasses:j,maxPhysicalChargeCardPerUser:L}):r.jsxRuntimeExports.jsx(lr,{lineData:a,issueCardSectionId:`${d}`,cardHolderCandidates:x,limit:g,creditLimitFrequency:E,allRoles:m,allAccountingClasses:j,activeChargeCardCount:J,maxVirtualChargeCardPerUser:S})]}):null,a.chargeCardType==="debit_card"?r.jsxRuntimeExports.jsxs(r.jsxRuntimeExports.Fragment,{children:[r.jsxRuntimeExports.jsxs(Fe,{size:u,isDebitCardSetupEnabled:O,isDebitCardFeatureEnabled:c,children:[r.jsxRuntimeExports.jsx(e.Label,{label:V.type,htmlFor:h(d,"debitCard.cardType"),style:{padding:`${e.Space.sp2} ${e.Space.sp0}`,paddingLeft:H.radioLabelPaddingLeft.value(u),paddingRight:H.radioLabelPaddingRight.value(u),width:"fit-content"}}),r.jsxRuntimeExports.jsxs(Ae,{labelWidth:R,children:[r.jsxRuntimeExports.jsx(e.LabeledRadioField,{label:{label:V.virtualCard},style:{width:"auto"},radioField:{name:h(d,"debitCard.cardType"),id:`${h(d,"debitCard.cardType")}.${V.virtualCard}`,value:"business_virtual_debit_card",style:{height:e.Space.sp3,width:e.Space.sp3,opacity:1},radioSize:"small"}}),r.jsxRuntimeExports.jsx(e.LabeledRadioField,{label:{label:V.physicalCard},style:{width:"auto",paddingLeft:H.paddingLeft.valuePx(u)},radioField:{name:h(d,"debitCard.cardType"),id:`${h(d,"debitCard.cardType")}.${V.physicalCard}`,value:"business_physical_debit_card",style:{height:e.Space.sp3,width:e.Space.sp3},radioSize:"small"}})]})]}),r.jsxRuntimeExports.jsx(ye,{}),a.debitCard.cardType==="business_physical_debit_card"?r.jsxRuntimeExports.jsx(Dt,{lineData:a,issueCardSectionId:`${d}`,creditLimitFrequency:E,companyAddress:p,openAddAddressDrawerHandler:G,customAddress:k,userAddress:N,depositAccounts:n,activeDebitCardCount:i,userList:f,allRoles:m,allAccountingClasses:j,maxPhysicalDebitCardPerUser:b}):r.jsxRuntimeExports.jsx(Pt,{lineData:a,issueCardSectionId:`${d}`,cardHolderCandidates:x,depositAccounts:n,creditLimitFrequency:E,allRoles:m,allAccountingClasses:j,activeDebitCardCount:i,maxVirtualDebitCardPerUser:w})]}):null]})]})},hr=l.div`
|
|
330
|
+
display: flex;
|
|
331
|
+
flex-direction: row;
|
|
332
|
+
border-top-left-radius: inherit;
|
|
333
|
+
border-top-right-radius: inherit;
|
|
334
|
+
`,Ae=l.div`
|
|
335
|
+
display: flex;
|
|
336
|
+
flex-direction: row;
|
|
337
|
+
width: ${t=>`calc(100% - ${t.labelWidth}px)`};
|
|
338
|
+
align-items: flex-end;
|
|
339
|
+
justify-content: flex-end;
|
|
340
|
+
flex-grow: 1;
|
|
341
|
+
height: ${e.Space.sp6};
|
|
342
|
+
align-items: center;
|
|
343
|
+
`,xr=l.div`
|
|
344
|
+
display: flex;
|
|
345
|
+
flex-direction: column;
|
|
346
|
+
padding-bottom: ${t=>H.containerPaddingBottom.valuePx(t.windowSize)};
|
|
347
|
+
.deleteIconWrapper {
|
|
348
|
+
${t=>t.windowSize==="small"&&" display: block; "}
|
|
349
|
+
}
|
|
350
|
+
&:hover {
|
|
351
|
+
.deleteIconWrapper {
|
|
352
|
+
display: block;
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
`,gr=l.div`
|
|
356
|
+
display: flex;
|
|
357
|
+
flex-direction: column;
|
|
358
|
+
background-color: ${t=>t.theme.colors.grey5};
|
|
359
|
+
border: 1px solid ${t=>t.theme.colors.grey3};
|
|
360
|
+
box-shadow: ${t=>`${e.Space.sp0} 1px 2px ${e.Space.sp0} ${t.theme.colors.issueChargeCardBackgroundShadow}`};
|
|
361
|
+
border-radius: ${e.Space.sp2};
|
|
362
|
+
margin-top: ${t=>t.showTopMargin?H.firstItemMarginTop.valuePx(t.windowSize):e.Space.sp0};
|
|
363
|
+
`,br=l.div`
|
|
364
|
+
background-color: ${t=>t.theme.colors.grey3};
|
|
365
|
+
min-width: 1px;
|
|
366
|
+
max-width: 1px;
|
|
367
|
+
`,ye=l.div`
|
|
368
|
+
display: flex;
|
|
369
|
+
flex: 1;
|
|
370
|
+
background-color: ${t=>t.theme.colors.grey3};
|
|
371
|
+
min-height: 1px;
|
|
372
|
+
max-height: 1px;
|
|
373
|
+
`,Fe=l.div`
|
|
374
|
+
display: flex;
|
|
375
|
+
flex-direction: row;
|
|
376
|
+
align-items: flex-start;
|
|
377
|
+
background-color: ${t=>t.theme.colors.grey5};
|
|
378
|
+
min-height: ${e.Space.sp6};
|
|
379
|
+
padding-right: ${t=>H.labelPaddingRight.valuePx(t.size)};
|
|
380
|
+
padding-top: ${e.Space.sp2};
|
|
381
|
+
padding-bottom: ${e.Space.sp2};
|
|
382
|
+
align-items: center;
|
|
383
|
+
border-top-left-radius: ${t=>t.isDebitCardFeatureEnabled&&t.isDebitCardSetupEnabled?"unset":"inherit"};
|
|
384
|
+
border-top-right-radius: ${t=>t.isDebitCardFeatureEnabled&&t.isDebitCardSetupEnabled?"unset":"inherit"};
|
|
385
|
+
&:hover {
|
|
386
|
+
z-index: 1;
|
|
387
|
+
outline: 1px solid ${t=>t.theme.colors.primary};
|
|
388
|
+
}
|
|
389
|
+
`,fr=l.div`
|
|
390
|
+
display: flex;
|
|
391
|
+
flex-direction: row;
|
|
392
|
+
justify-content: space-between;
|
|
393
|
+
align-items: center;
|
|
394
|
+
padding: ${t=>`${H.sectionTitleContainerPadding.valuePx(t.windowSize)} ${e.Space.sp0}`};
|
|
395
|
+
`,yr=l(e.LargeBold)`
|
|
396
|
+
color: ${t=>t.theme.colors.primary};
|
|
397
|
+
`,Sr=l.div`
|
|
398
|
+
width: ${e.Space.sp3};
|
|
399
|
+
height: ${e.Space.sp3};
|
|
400
|
+
cursor: pointer;
|
|
401
|
+
display: none;
|
|
402
|
+
color: ${t=>t.theme.colors.hero};
|
|
403
|
+
&:hover {
|
|
404
|
+
color: ${e.Colors.important};
|
|
405
|
+
}
|
|
406
|
+
`,vr=l(e.SvgDelete)`
|
|
407
|
+
width: ${e.Space.sp3};
|
|
408
|
+
height: ${e.Space.sp3};
|
|
409
|
+
cursor: pointer;
|
|
410
|
+
`,me={marginTop:new e.ResponsiveSized(e.sp[3],e.sp[4]),addCardButtonMarginBottom:new e.ResponsiveSized(e.sp[3],e.sp[4]),addCardButtonMarginTop:new e.ResponsiveSized(e.sp[2],e.sp[0]),addCardButtonPaddingTopBottom:new e.ResponsiveSized(e.sp[2],e.sp[2]),addCardButtonPaddingLeftRight:new e.ResponsiveSized(e.sp[3],e.sp[4])},Rr={title:new e.ResponsiveSizedStyle("standardMedium","standardMedium")},Cr=({issueChargeCards:t,issueCardSectionId:a,cardHolderCandidates:d,userList:x,limit:f,creditLimitFrequency:g,allRoles:E,allAccountingClasses:m,isIssuePhysicalCardEnabled:j,isDebitCardFeatureEnabled:$,isChargeCardFeatureEnabled:n,isChargeCardSetupEnabled:P,isDebitCardSetupEnabled:c,defaultCardType:o,getInitialLineFormData:W,clearTentativeNameForLine:O,companyAddress:y,containerRef:k,cardsSectionRef:N,openAddAddressDrawerHandler:s})=>{const{control:p,watch:L,setValue:S}=r.useFormContext(),{fields:b}=r.useFieldArray({name:a,control:p}),w=L(a,b),T=Math.max(...Object.keys(t.localData??{}).map(u=>Number(u)),0),G=()=>{const u=w[w.length-1],R=W(w.length,Number(u.lineId)>T?String(Number(u.lineId)+1):String(T+1),d,g,x,t.depositAccounts,n,$,P,c,y,o);S(a,[...w,R]),setTimeout(()=>{e.scrollContainerToTargetAdjusted(N.current,k.current)},50)},D=u=>{S(a,w.filter((R,_)=>_!==u))},J=e.useWindowSizeContext(),{spendManagement:{chargeCard:{issueCard:i}}}=e.appLocale.getLocalizedStrings();return r.jsxRuntimeExports.jsxs(jr,{ref:k,children:[w.map((u,R)=>r.jsxRuntimeExports.jsx(mr,{lineIndex:R,lineData:u,issueCardSectionId:`${a}.${R}`,cardHolderCandidates:d,userList:x,limit:f,creditLimitFrequency:g,allRoles:E,allAccountingClasses:m,hasMultipleLineItems:w.length>1,clearTentativeNameForLine:O,onRemoveIssueCardLine:D,companyAddress:y,cardsSectionRef:N,openAddAddressDrawerHandler:s,depositAccounts:t.depositAccounts,customAddress:t.customAddress,userAddress:t.userAddress,activeChargeCardCount:t.activeChargeCardCount,activeDebitCardCount:t.activeDebitCardCountByDepositAccountId,maxPhysicalChargeCardPerUser:t.chargeCardConfig.creditTerm.maxPhysicalChargeCardPerUser,maxVirtualChargeCardPerUser:t.chargeCardConfig.creditTerm.maxVirtualChargeCardPerUser,maxVirtualDebitCardPerUser:t.chargeCardConfig.creditTerm.maxVirtualDebitCardPerUser,maxPhysicalDebitCardPerUser:t.chargeCardConfig.creditTerm.maxPhysicalDebitCardPerUser,isIssuePhysicalCardEnabled:j,isDebitCardFeatureEnabled:$,isChargeCardFeatureEnabled:n,isChargeCardSetupEnabled:P,isDebitCardSetupEnabled:c},R)),r.jsxRuntimeExports.jsxs($r,{windowSize:J,onClick:()=>{G()},"data-testid":e.generateDataTestId("add-card-button"),children:[r.jsxRuntimeExports.jsx(Lr,{}),r.jsxRuntimeExports.jsx(wr,{windowSize:J,children:i.addCard})]})]})},jr=l.div`
|
|
411
|
+
display: flex;
|
|
412
|
+
flex-direction: column;
|
|
413
|
+
`,$r=l.div`
|
|
414
|
+
padding: ${t=>`${me.addCardButtonPaddingTopBottom.valuePx(t.windowSize)} ${me.addCardButtonPaddingLeftRight.valuePx(t.windowSize)}`};
|
|
415
|
+
display: flex;
|
|
416
|
+
align-items: center;
|
|
417
|
+
justify-content: center;
|
|
418
|
+
border: 1px solid
|
|
419
|
+
${t=>t.hasError===!0?e.Colors.important:t.theme.colors.grey1};
|
|
420
|
+
border-radius: ${e.Space.sp2};
|
|
421
|
+
color: ${t=>t.hasError===!0?e.Colors.important:t.theme.colors.primary};
|
|
422
|
+
cursor: pointer;
|
|
423
|
+
&:hover {
|
|
424
|
+
border: 1px solid
|
|
425
|
+
${t=>t.hasError===!0?e.Colors.important:t.theme.colors.primary};
|
|
426
|
+
}
|
|
427
|
+
margin-bottom: ${t=>me.addCardButtonMarginBottom.valuePx(t.windowSize)};
|
|
428
|
+
margin-top: ${t=>me.addCardButtonMarginTop.valuePx(t.windowSize)};
|
|
429
|
+
`,wr=l(e.StyledText)`
|
|
430
|
+
${t=>`${Rr.title.style(t.windowSize)}`};
|
|
431
|
+
color: inherit;
|
|
432
|
+
`,Lr=l(e.SvgAddRound)`
|
|
433
|
+
margin-right: ${e.Space.sp2};
|
|
434
|
+
width: ${e.Space.sp3};
|
|
435
|
+
height: ${e.Space.sp3};
|
|
436
|
+
`,Er="user",_e="addressType",Ue="physicalCard",Be="virtualCard",Ze="lineInfo",Me="issueCardDetailPage",Tr=100,Se=t=>`${t}_form`,{common:Q,spendManagement:{chargeCard:{issueCard:he}}}=e.appLocale.getLocalizedStrings(),De=t=>t!=null?{amount:t,currencyCode:Q.currency.currencyCode,currencySymbol:Q.currency.currencySymbol}:void 0,Ne=(t,a=!1)=>{const d={userIds:t.users.selectedUsers.map(x=>x.userId),cardName:t.cardName,amount:De(t.amount),frequency:t.frequency.selectedOption};return a?{...d,connectedAccountId:t.connectedAccount.selectedOption}:d},ke=(t,a=!1)=>{const d={userId:t.user.selectedUser,cardName:t.cardName,amount:De(t.amount),frequency:t.frequency.selectedOption,addressType:t.addressType,addressId:t.addressId};return a?{...d,connectedAccountId:t.connectedAccount.selectedOption}:d},ae={containerPaddingLeft:new e.ResponsiveSized(e.sp[4],e.sp[6],e.sp[8]),containerPaddingRight:new e.ResponsiveSized(e.sp[4],e.sp[6],e.sp[8]),navbarHeight:new e.ResponsiveSized(44,e.sp[9]),navBarContainerPaddingXaxis:new e.ResponsiveSized(10,e.sp[4]),closeIconMarginRight:new e.ResponsiveSized(e.sp[4],e.sp[8]),rightSectionWidth:new e.ResponsiveSized(e.sp[12],58),footerTopPadding:new e.ResponsiveSized(e.sp[3],10)},Pr={title:new e.ResponsiveSizedStyle("standardMedium","largeSemiBold")},Ir=({issueChargeCards:t,cardHolderCandidates:a,userList:d,companyName:x,allRoles:f,allAccountingClasses:g,isIssuePhysicalCardEnabled:E,isDebitCardFeatureEnabled:m,isChargeCardFeatureEnabled:j,isDebitCardSetupEnabled:$,isChargeCardSetupEnabled:n,signedInUser:P,defaultCardType:c,onSaveChangesToLocalStore:o,onIssueCardClick:W,onDismissClick:O,resetCustomAddressByLineID:y,handleZeniLogoClick:k,openAddAddressDrawerHandler:N,clearTentativeNameForLine:s})=>{const{chargeCardConfig:{creditLimitFrequency:p},creditAccount:{limit:L},companyAddress:S}=t,b=e.useWindowSizeContext(),w=U.useRef(null),T=U.useRef(null),[G,D]=U.useState(!0),[J,i]=U.useState(!0),u=U.useRef(null),R=U.useRef(null),[_,Z]=U.useState(0),[ee,Xe]=U.useState(0),[ce,Ye]=U.useState(0),[Ke,Qe]=U.useState(0),[et,tt]=U.useState(t.localData);U.useEffect(()=>{const v=new IntersectionObserver(F=>{F.forEach(se=>{se.target===w.current&&D(se.isIntersecting),se.target===T.current&&i(se.isIntersecting)})},{threshold:.1}),C=w.current,I=T.current;return C&&v.observe(C),I&&v.observe(I),()=>{C&&v.unobserve(C),I&&v.unobserve(I)}},[]);const oe=r.useForm({mode:"all",reValidateMode:"onChange",defaultValues:U.useMemo(()=>We(t.localData,a,p,d,t.depositAccounts,j,m,n,$,S,c),[t,a,p,d,j,m,n,$,S,c]),values:U.useMemo(()=>We(t.localData,a,p,d,t.depositAccounts,j,m,n,$,S,c),[t.localData,t.depositAccounts,a,p,d,j,m,n,$,S,c])}),{isValid:rt}=oe.formState,Re=v=>v.map(C=>({lineId:C.lineId,chargeCardType:C.chargeCardType,creditCard:{cardType:C.creditCard.cardType,virtualCard:Ne(C.creditCard[Be]),physicalCard:ke(C.creditCard[Ue])},debitCard:{cardType:C.debitCard.cardType,virtualCard:Ne(C.debitCard[Be],!0),physicalCard:ke(C.debitCard[Ue],!0)}})),at=async(v,C)=>{if(v!=null){const{lineInfo:I}=C,F=Number(v.split(".")[1]);if(v.includes("cardName")||v.includes("amount"))return;if(v.includes("physicalCard.user")){const ie=$e(v.split(".")[2]);I[F][ie].physicalCard.addressType=void 0,I[F].creditCard.physicalCard.addressId=void 0;const le=I[F].lineId;t.customAddress[le]?.addressId!=null&&y(le,ie)}if(v.includes("physicalCard.addressType")){const ie=$e(v.split(".")[2]),le=I[F][ie].physicalCard;if(le[_e]==="card_holder_personal_address"){const be=le[Er].selectedUser;if(be!=null){const ot=t.userAddress[be];I[F][ie].physicalCard.addressId=ot.addressId}}else le[_e]==="company_address"&&(I[F][ie].physicalCard.addressId=S?.addressId)}const se=Re(I);o(se)}};U.useEffect(()=>{const v=oe.watch((C,{name:I})=>{I!=null&&C!=null&&r.defer(()=>at(I,C))});return()=>{v.unsubscribe()}});const st=oe.handleSubmit(()=>{if(rt){const{lineInfo:v}=oe.getValues(),C=Re(v);o(C),W()}}),it=t.issueCardStatus.error?.message??Q.strings.empty,lt=t.issueCardStatus.error?.title??Q.strings.empty,ge=U.useCallback(()=>{Z(R.current?.scrollTop??0),Math.abs(_-ee)>Tr&&Xe(_),document.querySelectorAll(".cards-item").forEach((C,I)=>{const F=C.getBoundingClientRect();F.top>=0&&F.bottom<=window.innerHeight&&Ye(I),F.top<window.innerHeight&&F.bottom>0&&Qe(I)})},[_,ee]);U.useEffect(()=>{const v=R.current;return v?.addEventListener("scroll",ge),()=>{v?.removeEventListener("scroll",ge)}},[ge,R]);const Ce=t.localData;U.useEffect(()=>{if(ce!==null){const v=Math.max(0,ce-2),C=ce+1,I=Ce.slice(v,C);tt(I)}},[ce,Ke,Ce]);const dt=((v,C,I)=>v.length===0?[{cardId:"1",cardType:Je(j,C,n,$,I)==="debit_card"?"business_virtual_debit_card":"business_virtual_credit_card",cardUUID:"1",limit:{amount:0,currencyCode:Q.currency.currencyCode,currencySymbol:Q.currency.currencySymbol}}]:v.map(F=>({cardId:F.lineId,cardType:F.chargeCardType==="credit_card"?F.creditCard.cardType:F.debitCard.cardType,cardUUID:F.lineId,limit:{amount:0,currencyCode:Q.currency.currencyCode,currencySymbol:Q.currency.currencySymbol}})))(et,m,c),je=!(G&&J)||b==="small";return r.jsxRuntimeExports.jsxs(Fr,{windowSize:b,children:[b!=="small"?r.jsxRuntimeExports.jsxs(Or,{children:[r.jsxRuntimeExports.jsxs(Wr,{children:[r.jsxRuntimeExports.jsx(qr,{onClick:k,"data-testid":e.generateDataTestId("issue-card-nav-bar-zeni-logo")}),r.jsxRuntimeExports.jsxs(Hr,{showContent:P?.userEmailDomain==="zeni.ai",children:[r.jsxRuntimeExports.jsx(Gr,{}),r.jsxRuntimeExports.jsx(Zr,{children:x})]})]}),r.jsxRuntimeExports.jsx(e.MemoAnimatedCardStack,{cardArrProp:dt,insertFromTop:_<ee,containerScale:1.2})]}):null,r.jsxRuntimeExports.jsxs(Ar,{windowSize:b,children:[r.jsxRuntimeExports.jsxs(Ur,{windowSize:b,shouldShowTitle:je,children:[je&&r.jsxRuntimeExports.jsx(_r,{windowSize:b,children:he.title}),r.jsxRuntimeExports.jsx(Br,{windowSize:b,onClick:O,"data-testid":e.generateDataTestId("issue-card-nav-bar-close")})]}),r.jsxRuntimeExports.jsxs(zr,{windowSize:b,ref:R,children:[b!=="small"?r.jsxRuntimeExports.jsx(Mr,{ref:w,children:he.title}):null,t.issueCardStatus.fetchState==="Error"?r.jsxRuntimeExports.jsxs(Nr,{children:[r.jsxRuntimeExports.jsx(Vr,{}),r.jsxRuntimeExports.jsxs(kr,{children:[r.jsxRuntimeExports.jsx(Ve,{style:{fontWeight:e.FontWeight.medium},children:lt}),r.jsxRuntimeExports.jsx(Ve,{children:it})]})]}):null,r.jsxRuntimeExports.jsx(r.FormProvider,{...oe,children:r.jsxRuntimeExports.jsx("form",{id:Se(Me),onSubmit:st,children:r.jsxRuntimeExports.jsx(Cr,{issueChargeCards:t,issueCardSectionId:Ze,cardHolderCandidates:a,userList:d,limit:L,creditLimitFrequency:p,allRoles:f,allAccountingClasses:g,getInitialLineFormData:ve,clearTentativeNameForLine:s,companyAddress:S,containerRef:R,cardsSectionRef:u,openAddAddressDrawerHandler:N,isIssuePhysicalCardEnabled:E,isDebitCardFeatureEnabled:m,isChargeCardFeatureEnabled:j,isChargeCardSetupEnabled:n,isDebitCardSetupEnabled:$,defaultCardType:c})})})]}),r.jsxRuntimeExports.jsx(e.Footer,{style:{zIndex:1,padding:ae.footerTopPadding.valuePx(b)},formId:Se(Me),helperStyle:{paddingTop:e.Space.sp0,paddingBottom:e.Space.sp0},primaryBtn:{label:he.primaryBtnText,isLoading:t.issueCardStatus.fetchState==="In-Progress",style:{minWidth:110}},cancelBtn:{label:he.secondaryBtnText,onClick:O,style:{minWidth:110}},separatorStyle:{marginRight:e.Space.sp4}})]})]})},zr=l.div`
|
|
437
|
+
padding-left: ${t=>ae.containerPaddingLeft.valuePx(t.windowSize)};
|
|
438
|
+
padding-right: ${t=>ae.containerPaddingRight.valuePx(t.windowSize)};
|
|
439
|
+
height: 100%;
|
|
440
|
+
overflow-y: auto;
|
|
441
|
+
`,Or=l.div`
|
|
442
|
+
display: flex;
|
|
443
|
+
flex-direction: column;
|
|
444
|
+
height: 100%;
|
|
445
|
+
overflow: hidden;
|
|
446
|
+
width: 42%;
|
|
447
|
+
background-color: ${t=>t.theme.colors.background};
|
|
448
|
+
margin-top: unset;
|
|
449
|
+
`,Ar=l.div`
|
|
450
|
+
background-color: ${t=>t.theme.colors.grey4};
|
|
451
|
+
display: flex;
|
|
452
|
+
flex-direction: column;
|
|
453
|
+
width: ${t=>ae.rightSectionWidth.valuePercentage(t.windowSize)};
|
|
454
|
+
overflow: auto;
|
|
455
|
+
box-shadow: ${t=>`${e.Space.sp0} 2px ${e.Space.sp1} ${t.theme.colors.dropShadowNormal}`};
|
|
456
|
+
`,Fr=l.div`
|
|
457
|
+
display: flex;
|
|
458
|
+
height: 100vh;
|
|
459
|
+
flex-direction: row;
|
|
460
|
+
width: 100vw;
|
|
461
|
+
overflow-y: scroll;
|
|
462
|
+
`,_r=l(e.StyledText)`
|
|
463
|
+
${t=>`${Pr.title.style(t.windowSize)}`};
|
|
464
|
+
color: ${t=>t.theme.colors.primary};
|
|
465
|
+
padding-left: ${t=>ae.containerPaddingLeft.valuePx(t.windowSize)};
|
|
466
|
+
`,Ur=l.div`
|
|
467
|
+
position: sticky;
|
|
468
|
+
display: flex;
|
|
469
|
+
justify-content: ${t=>t.shouldShowTitle?"space-between":"flex-end"};
|
|
470
|
+
align-items: center;
|
|
471
|
+
width: 100%;
|
|
472
|
+
min-height: ${t=>ae.navbarHeight.valuePx(t.windowSize)};
|
|
473
|
+
top: ${e.Space.sp0};
|
|
474
|
+
z-index: 2;
|
|
475
|
+
background-color: ${t=>t.theme.colors.grey4};
|
|
476
|
+
`,Br=l(e.SvgClose)`
|
|
477
|
+
cursor: pointer;
|
|
478
|
+
color: ${t=>t.theme.colors.hero};
|
|
479
|
+
width: ${e.Space.sp4};
|
|
480
|
+
height: ${e.Space.sp4};
|
|
481
|
+
min-height: ${e.Space.sp4};
|
|
482
|
+
margin-right: ${t=>ae.closeIconMarginRight.valuePx(t.windowSize)};
|
|
483
|
+
&:hover {
|
|
484
|
+
color: ${t=>t.theme.colors.primary};
|
|
485
|
+
}
|
|
486
|
+
padding: 0;
|
|
487
|
+
`,Mr=l(e.H5Regular)`
|
|
488
|
+
color: ${t=>t.theme.colors.primary};
|
|
489
|
+
margin-top: ${e.Space.sp3};
|
|
490
|
+
margin-bottom: ${e.Space.sp3};
|
|
491
|
+
`,Nr=l.div`
|
|
492
|
+
background-color: ${e.Colors.alertLight};
|
|
493
|
+
border: 1px solid ${e.Colors.brandColorGoldDark};
|
|
494
|
+
border-radius: ${e.Space.sp2};
|
|
495
|
+
display: flex;
|
|
496
|
+
gap: ${e.Space.sp2};
|
|
497
|
+
padding: ${e.Space.sp3} ${e.Space.sp4};
|
|
498
|
+
margin-bottom: ${e.Space.sp2};
|
|
499
|
+
`,kr=l.div`
|
|
500
|
+
display: flex;
|
|
501
|
+
flex-direction: column;
|
|
502
|
+
`,Ve=l(e.StandardMedium)`
|
|
503
|
+
color: ${e.Colors.brandColorGoldDark};
|
|
504
|
+
`,Vr=l(e.SvgHighImportanceFilled)`
|
|
505
|
+
min-width: ${e.Space.sp4};
|
|
506
|
+
min-height: ${e.Space.sp4};
|
|
507
|
+
width: ${e.Space.sp4};
|
|
508
|
+
height: ${e.Space.sp4};
|
|
509
|
+
color: ${e.Colors.brandColorGoldDark};
|
|
510
|
+
`,Wr=l.div`
|
|
511
|
+
margin-bottom: ${e.Space.sp3};
|
|
512
|
+
margin-top: ${e.Space.sp3};
|
|
513
|
+
margin-left: ${e.Space.sp8};
|
|
514
|
+
position: relative;
|
|
515
|
+
display: flex;
|
|
516
|
+
align-items: center;
|
|
517
|
+
`,qr=l(e.SvgZeniIconOnly)`
|
|
518
|
+
width: ${e.Space.sp4};
|
|
519
|
+
height: ${e.Space.sp4};
|
|
520
|
+
cursor: pointer;
|
|
521
|
+
color: ${t=>t.theme.colors.brandColorJade};
|
|
522
|
+
`,Hr=l.div`
|
|
523
|
+
display: ${t=>t.showContent?"flex":"none"};
|
|
524
|
+
align-items: center;
|
|
525
|
+
`,Gr=l.div`
|
|
526
|
+
width: 1px;
|
|
527
|
+
height: ${e.Space.sp3};
|
|
528
|
+
margin: ${e.Space.sp0} ${e.Space.sp3};
|
|
529
|
+
background-color: ${t=>t.theme.colors.hero};
|
|
530
|
+
`,Zr=l(e.LargeSemiBold)`
|
|
531
|
+
color: ${t=>t.theme.colors.primary};
|
|
532
|
+
`,Dr=(t,a,d,x,f,g,E)=>({lineIndex:a,lineId:t.lineId??String(a+1),chargeCardType:t.chargeCardType,creditCard:{cardType:t.creditCard.cardType,virtualCard:{cardName:t.creditCard.virtualCard?.cardName??"",amount:t.creditCard.virtualCard?.amount?.amount??void 0,users:{allUsers:d,selectedUsers:d.filter(m=>t.creditCard.virtualCard?.userIds.includes(m.userId)),allNonUsers:[],selectedNonUsers:[]},frequency:{allOptions:x.map(m=>({label:m.name,value:m.code})),selectedOption:t.creditCard.virtualCard?.frequency}},physicalCard:{cardName:t.creditCard.physicalCard?.cardName??"",amount:t.creditCard.physicalCard?.amount?.amount??void 0,user:{allUsers:f,selectedUser:t.creditCard.physicalCard.userId},frequency:{allOptions:x.map(m=>({label:m.name,value:m.code})),selectedOption:t.creditCard.physicalCard?.frequency},addressType:t.creditCard.physicalCard?.addressType,addressId:t.creditCard.physicalCard?.addressId??E?.addressId}},debitCard:{cardType:t.debitCard.cardType,virtualCard:{cardName:t.debitCard.virtualCard?.cardName??"",amount:t.debitCard.virtualCard?.amount?.amount??void 0,users:{allUsers:d,selectedUsers:d.filter(m=>t.debitCard.virtualCard?.userIds.includes(m.userId)),allNonUsers:[],selectedNonUsers:[]},connectedAccount:{allOptions:g.map(m=>({label:m.accountName,value:m.id})),selectedOption:t.debitCard.virtualCard.connectedAccountId},frequency:{allOptions:x.map(m=>({label:m.name,value:m.code})),selectedOption:t.debitCard.virtualCard?.frequency}},physicalCard:{cardName:t.debitCard.physicalCard?.cardName??"",amount:t.debitCard.physicalCard?.amount?.amount??void 0,user:{allUsers:f,selectedUser:t.debitCard.physicalCard.userId},connectedAccount:{allOptions:g.map(m=>({label:m.accountName,value:m.id})),selectedOption:t.debitCard.physicalCard.connectedAccountId},frequency:{allOptions:x.map(m=>({label:m.name,value:m.code})),selectedOption:t.debitCard.physicalCard?.frequency},addressType:t.debitCard.physicalCard?.addressType,addressId:t.debitCard.physicalCard?.addressId??E?.addressId}}}),ve=(t,a,d,x,f,g,E,m,j,$,n,P)=>({lineIndex:t,lineId:a,chargeCardType:Je(E,m,j,$,P),creditCard:{cardType:"business_virtual_credit_card",physicalCard:{cardName:"",amount:void 0,user:{allUsers:f,selectedUser:void 0},frequency:{allOptions:x.map(c=>({label:c.name,value:c.code})),selectedOption:"monthly"},addressType:void 0,addressId:n?.addressId},virtualCard:{cardName:"",amount:void 0,users:{allUsers:d,selectedUsers:[],allNonUsers:[],selectedNonUsers:[]},frequency:{allOptions:x.map(c=>({label:c.name,value:c.code})),selectedOption:"monthly"}}},debitCard:{cardType:"business_virtual_debit_card",physicalCard:{cardName:"",amount:void 0,user:{allUsers:f,selectedUser:void 0},frequency:{allOptions:x.map(c=>({label:c.name,value:c.code})),selectedOption:"monthly"},addressType:void 0,addressId:n?.addressId,connectedAccount:{allOptions:g.map(c=>({label:c.accountName,value:c.id})),selectedOption:g.length===1?g[0].id:void 0}},virtualCard:{cardName:"",amount:void 0,users:{allUsers:d,selectedUsers:[],allNonUsers:[],selectedNonUsers:[]},frequency:{allOptions:x.map(c=>({label:c.name,value:c.code})),selectedOption:"monthly"},connectedAccount:{allOptions:g.map(c=>({label:c.accountName,value:c.id})),selectedOption:g.length===1?g[0].id:void 0}}}}),Je=(t,a,d,x,f)=>{if(f!=null){if(a&&x&&f==="debitCard")return"debit_card";if(t&&d&&f==="creditCard")return"credit_card"}return a&&x&&(!t||!d)?"debit_card":"credit_card"},We=(t,a,d,x,f,g,E,m,j,$,n)=>{const P=[];return Object.values(t).forEach((c,o)=>{c?.lineId!=null&&P.push(Dr(c,o,a,d,x,f,$))}),P.length===0&&P.push(ve(0,"1",a,d,x,f,g,E,m,j,$,n)),{[Ze]:P}};exports.default=Ir;exports.getInitialLineFormData=ve;exports.uniqueFormName=Se;
|