@zeniai/web-cockpit-ui 1.14.12-prod → 1.14.13-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/ACHDetailsPage-DVi_fb5U-BWoXmLUY.js +21 -0
- package/dist/assets/{AIPerformancePage-C459GJxs-DDVbkYhC.js → AIPerformancePage-C-orwzaK-DOCKSZSl.js} +44 -44
- package/dist/assets/{AccountInfoPage-DWqJj9l6-Cbq_B2Gd.js → AccountInfoPage-DvhQOLM6-C0wQ6YRZ.js} +3 -3
- package/dist/assets/{AccountInfoPageContent-Ca328DM4-BoBBm2eT.js → AccountInfoPageContent-B1BJnQNd-Dywp_u_s.js} +18 -18
- package/dist/assets/{AccountReconDetailsDrawerPage-BqIo4mya-8jnme6Tg.js → AccountReconDetailsDrawerPage-C8EtTwZE-BoEh8Ely.js} +13 -13
- package/dist/assets/{AccountRow-Bk3xWobY-B9GPlHQB.js → AccountRow-m3N4T8ro-CB7I5u10.js} +27 -27
- package/dist/assets/{AccountsPromoCardStack-Co90dxxm-DJwvfgg4.js → AccountsPromoCardStack-DGHAcZ7D-BqYytjsB.js} +28 -28
- package/dist/assets/{AddAddressForCardDrawer-XNGsKMvs-CVOvZj44.js → AddAddressForCardDrawer-B_1jj1h7-Cu6_XTQ0.js} +2 -2
- package/dist/assets/{AddToWalletPage-BiQWQXvz-Dja3V_rU.js → AddToWalletPage-DL1Bk4bd-ClBCUS3g.js} +21 -21
- package/dist/assets/{AgingReportsPage-ClR6ctjm-Cfdqgqs-.js → AgingReportsPage-DQ4P7iSR-BaDY7W1-.js} +8 -8
- package/dist/assets/{AllUserItems-RFWkNfw--CjDEoogo.js → AllUserItems-BSWk_1pR-BC2mjTTt.js} +13 -13
- package/dist/assets/{ApAgingDetailPage-F-pd4-We-DEfvotPI.js → ApAgingDetailPage-0i8K1czh-BtF7tRtB.js} +2 -2
- package/dist/assets/{AppBasePage-B9-FGKn--hgna65ij.js → AppBasePage-CV3kU-Ax-HUIuRSgH.js} +7 -7
- package/dist/assets/{AppDrawerContent-C6P8rk3y-Da2OtBCB.js → AppDrawerContent-DA8q-1_m-Ip7rRN25.js} +19 -19
- package/dist/assets/{ApprovalRulesSettingsPage-CPNEEGTF-C0zXmi9a.js → ApprovalRulesSettingsPage-CRlqbhea-CnWEhcBd.js} +7 -7
- package/dist/assets/{ArAgingChart-D9qmMVoC-C7_7BRFM.js → ArAgingChart-CiJNNObG-DOT8YGoK.js} +6 -6
- package/dist/assets/{ArAgingDetailPage-DMuZM6P_-ClopoFOj.js → ArAgingDetailPage-2I9R_J97-CEWBavmC.js} +1 -1
- package/dist/assets/{AttachmentView-B2ZOED0q-ee9lrIw2.js → AttachmentView-D0naVbDk-BMIJVqWj.js} +7 -7
- package/dist/assets/{BankAccountSection-C8G4yj75-DdOLLfNd.js → BankAccountSection-CYYTnOEW-ta40gqBk.js} +6 -6
- package/dist/assets/BankAccountWarningSection--b6oxmO3-bf21H1-K.js +51 -0
- package/dist/assets/{BankConnectionsSettingsPage-B5IQ5w6f-DMsLVdXW.js → BankConnectionsSettingsPage-BzwCu93j-CCEpUgq7.js} +49 -49
- package/dist/assets/{BillDetailPage-B-PMkZ44-bIK6xUHc.js → BillDetailPage-OzI0RkQ_-Bav1HJG-.js} +16 -16
- package/dist/assets/{BillPayApprovalRuleDetailPage-CdLKENJ--RLdpGq9U.js → BillPayApprovalRuleDetailPage-DIQW7KY9-C0xmBCct.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-BueljBn0-Bf7hfEuS.js → BillPayApprovalRulesPage-BMmJ4cuT-CLahxDlm.js} +9 -9
- package/dist/assets/{BillPayPromoPage-WXntEliq-D_QROeBX.js → BillPayPromoPage-CN5LKQzn-T_t_dz_s.js} +8 -8
- package/dist/assets/{BillPaySetUpPage-By7rYetf-CeRSgDq5.js → BillPaySetUpPage-DMKmupPw-CmltaH2A.js} +2 -2
- package/dist/assets/{BillingSettingsPage-D-XtlyVU-Cx-l00Il.js → BillingSettingsPage-Bt_0mrqR-CgkXOlNp.js} +8 -8
- package/dist/assets/{BillsBulkReviewDrawerPage-P8siJ8lO-DdRAIHzS.js → BillsBulkReviewDrawerPage-GFME_IXw-CmxfCt6F.js} +1 -1
- package/dist/assets/{BoxItem-Bcy7IYuZ-BKqgXMbg.js → BoxItem-nvtPdCwS-CiJFmSMj.js} +1 -1
- package/dist/assets/BusinessVerificationPage-_E3jrLwS-D28zK5AA.js +140 -0
- package/dist/assets/{CardNumberSubText-VsMOF0Xv-BXhxDioS.js → CardNumberSubText-DBpF1pjJ-BDHubHrk.js} +1 -1
- package/dist/assets/{CashbackDetailPage-DNbRs50r-DGmDyCg3.js → CashbackDetailPage-DrdbDPXK-BHacfWCb.js} +30 -30
- package/dist/assets/{ChargeCardDetailPage-BSDS8Kqb-U4i4-RaN.js → ChargeCardDetailPage-DvY3CSB4-DTju6vUj.js} +54 -54
- package/dist/assets/{ChargeCardListPage-Bzr8qMC0-IbAzxN57.js → ChargeCardListPage-BE5yGbg8-B5XQaFqy.js} +14 -14
- package/dist/assets/{ChargeCardListTable-CTp6TFBR-CeVbldJj.js → ChargeCardListTable-B-scLCAt-DWKxrdfC.js} +37 -37
- package/dist/assets/ChargeCardPromoPage-2OheDHbA-BAFEqKdK.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-B1wzJjgH-BBhf5rqO.js → ChargeCardSetupPage-FNCK1n4W-DRpaATuu.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-CePfbLPp-iDyGSKYa.js → ChargeCardStatementsPage-1fuIth_h-DUYP62lN.js} +9 -9
- package/dist/assets/{ChargeCardUtils-DC2v2EHU-CC66ls3Y.js → ChargeCardUtils-CErWBcYS-DYGG4Kg0.js} +1 -1
- package/dist/assets/{ChaseOverlay-B-Sx71yo-Thk2BACZ.js → ChaseOverlay-9_ms5LgM-DLbFcFUT.js} +7 -7
- package/dist/assets/CheckDepositDrawerPage-DEFEMwuI-FYtd8ETj.js +206 -0
- package/dist/assets/{CollapsableReportTable-mEqm05fp-CUcsGi4N.js → CollapsableReportTable-DX-FpwE7-MJq_0H8T.js} +59 -59
- package/dist/assets/CompanyOfficerDetailsSection-BEgNqg-b-BZkAjfXP.js +260 -0
- package/dist/assets/{CompanyPassportCard-Ct6tCZqT-5nR77uHb.js → CompanyPassportCard-BZXE3iJL-D0vVN1yd.js} +4 -4
- package/dist/assets/{CompanyPassportPage-D9NQ4bXl-CsJ1uZgg.js → CompanyPassportPage-BYZC3G4H-Dyir7GPA.js} +22 -22
- package/dist/assets/CompleteProfile-mCKLQjGe-D37b51yU.js +52 -0
- package/dist/assets/{ConfettiBurst-DqSwVGBC-BVzEX0ox.js → ConfettiBurst-BEoFHjQ0-BZkigu9v.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-D27A1926-Bj04MSDS.js → CreateOrEditVendorPage-6sohsdle-DulmpRQu.js} +11 -11
- package/dist/assets/{CreditCardPaymentDrawerPage-BI37dSwx-BipcUtpo.js → CreditCardPaymentDrawerPage-6oVDS3D8-BG57VbJ5.js} +21 -21
- package/dist/assets/{CreditCardPaymentPlgSection-CAsn4Ae6-KEtkArBz.js → CreditCardPaymentPlgSection-DX1BieKp-CaB1ZnNz.js} +11 -12
- package/dist/assets/{CurrencySelectField-5uG4FfJ9-8SqcpktO.js → CurrencySelectField-F2P1iCLk-DqZUsNYq.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-Be-GrAiK-B75Mje9v.js → CustomerOnboardingActivationPage-CNJkyjta-BXFLHGd8.js} +8 -8
- package/dist/assets/CustomerOnboardingContainerPage-D6yeERaX-CnXYVWPD.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DhGp71bj-hz8cq6ev.js → CustomerOnboardingDetailPageSkeleton-B_MgUg-5-Bgdn7kSU.js} +12 -12
- package/dist/assets/{CustomerOnboardingNoStepsPage-CdOGTNXC-C9i5EKaE.js → CustomerOnboardingNoStepsPage-B49-4wZk-KyTxoYIy.js} +9 -9
- package/dist/assets/{CustomerOnboardingPage-ClPsywa3-CeQwicZf.js → CustomerOnboardingPage-4FPXG220-Bhtz8R34.js} +7 -7
- package/dist/assets/{CustomerOnboardingProductSuitePage-pnHglqXq-8KyJVU1M.js → CustomerOnboardingProductSuitePage-cJPPvh-5-CdfdHVAA.js} +9 -9
- package/dist/assets/{Dashboard-avtbjFLf-BsfTTLt8.js → Dashboard-BBy_mQ8p-zBP8Z7QF.js} +260 -242
- package/dist/assets/{DashboardReportPage-CqJAu5WP-CSiSRP9H.js → DashboardReportPage-DYttySr4-ICoa42Db.js} +6 -6
- package/dist/assets/{DepositAccTransactionItem-Da0GWYei-DaDMj8eg.js → DepositAccTransactionItem-PNTL0e8v-Bf5t1weD.js} +6 -6
- package/dist/assets/DepositAccTransactionListPage-DUwVnkwy-91dKQsy5.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-DGcVKriv-CAGyxOGA.js → DomesticWireDetailsPage-BhwTfZwI-lG3b6Dqd.js} +1 -1
- package/dist/assets/{DownloadOverlay-BdGiqnp7-DStgGthq.js → DownloadOverlay-CUbv29mo-Cm7YvHGd.js} +21 -21
- package/dist/assets/{DrawerPage-DCfm1BVs-BjLjeoWD.js → DrawerPage-2_QOgQ1m-jFj08QrD.js} +11 -11
- package/dist/assets/EditPeoplePage-CtTYiqg3-C_rRpXUg.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-C-nYgUua-C1qTcfcR.js → EditReimbursementDetailPage-C_jRh7w0-BjxLHuhj.js} +61 -61
- package/dist/assets/{EntityDetailPage-4HX_rHUf-xDLdueS9.js → EntityDetailPage-BhQsnCgQ-BJqshBB_.js} +3 -3
- package/dist/assets/{EntitySummarySection-C9VeOBpT-BTsQfMwI.js → EntitySummarySection-CKkXzM76-JNV3nj4B.js} +12 -12
- package/dist/assets/{ExpenseAutomationOverviewPage-8jTkscWa-bIf05Fhx.js → ExpenseAutomationOverviewPage-ZuB3Aiv2-g-beRD6J.js} +26 -26
- package/dist/assets/{ExpenseAutomationPage-D1wcc9GW-BZm22R7G.js → ExpenseAutomationPage-BUic8zfk-CY9AnIj2.js} +41 -41
- package/dist/assets/{ExpressPayPage-Cj6cvMwQ-BJmICkVH.js → ExpressPayPage-DEkJ_H0W-D2MJYEqV.js} +12 -12
- package/dist/assets/FeaturePreviewPage-CtK7L5vk-zb1RibOL.js +11 -0
- package/dist/assets/{FollowStepsSection-DjfnVH8N-B5jFIUn7.js → FollowStepsSection-CWw764ZM-BMjBkJvU.js} +9 -9
- package/dist/assets/{GlobalReviewListPage-CEOzc0We-D9YAcarq.js → GlobalReviewListPage-CZctHM7r-C-SmU9tc.js} +12 -12
- package/dist/assets/{HelpButton-BdhMFvtG-C54ST6PE.js → HelpButton-Dpx0Yoel-1C4sAmaf.js} +4 -4
- package/dist/assets/{InformationCardStack-DFOumIBr-gjF_ZQhk.js → InformationCardStack-BGpHl4yb-D2VMsFIF.js} +5 -5
- package/dist/assets/InsightsCardStack-BbMJEahw-XjHe58kA.js +79 -0
- package/dist/assets/InsightsSection-CYkuQHcj-B18a-FIC.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-DF-jcHzr-WMJTJEtS.js → IntegrationsSettingsPage-CMjSCRm_-C9xmqHS7.js} +8 -8
- package/dist/assets/{InternationalWireSwiftDetailsPage-BFMqW1oQ-CdCE1RD1.js → InternationalWireSwiftDetailsPage-BTbTUt8U-DHwEWLr_.js} +15 -15
- package/dist/assets/{InternationalWireVerificationPage-Cq7swzrt-C0L5yCuY.js → InternationalWireVerificationPage-DAW2eMTg-BGhWwB2B.js} +22 -22
- package/dist/assets/{InviteFormPage-DXl2sEn9-B2Ez35Mj.js → InviteFormPage-CCbyacPR-DUt2JWiG.js} +20 -20
- package/dist/assets/{InvitePageListView-B5fRPcOg-CjFdA4G8.js → InvitePageListView-mHkALr5o-BpwevZSI.js} +62 -62
- package/dist/assets/InvitePeoplePage-r6PLBiEv-CRU1obhZ.js +12 -0
- package/dist/assets/{InvoiceUploadSection-opkVsXZH-CXWs7XL1.js → InvoiceUploadSection-BsjeicP1-CxRipy2m.js} +41 -41
- package/dist/assets/{IssueChargeCardPage-CZU1qbHO-BdEtPimR.js → IssueChargeCardPage-C3esnkQg-Bt2ncw32.js} +33 -33
- package/dist/assets/{LabeledAddressValue-CCd3y8zQ-BJNbO-Fn.js → LabeledAddressValue-CeeoKoY4-C81fNRY2.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-XuFlx-oK-BMP_E_ys.js → LabeledAddressValueField-B6eeRCSM-BGM6iGCs.js} +3 -3
- package/dist/assets/{LabeledControlledCheckBoxField-CCQn4-_S-C2xp_EVs.js → LabeledControlledCheckBoxField-CK8YBqJ7-dH7h4-c9.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-uQKngCdt-DJ4lsiO3.js → LabeledCreatableSingleSelectField-BSKL8pA3-y22U9yzT.js} +6 -6
- package/dist/assets/LabeledDocumentField-BEyArLK3-Bbt820GM.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-BrUNxsKy-B8W5l8Iz.js → LabeledDropDownFormattedTextField-DikXPnxD-3H5194hi.js} +7 -7
- package/dist/assets/{LabeledText-ByqI7uq0-BqhwXzjW.js → LabeledText-qSjyNZO1-BMO1teu9.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Dg1Lpwl0-D5r53n-D.js → LabeledUserSingleSelectWithSubtitlesField-x87S_Azj-BPP3i4wb.js} +16 -16
- package/dist/assets/{LabeledZeniRolesDropDownField-DZL4GZtE-Bl91YXKB.js → LabeledZeniRolesDropDownField-nm5bG2up-B-C-v8v9.js} +17 -17
- package/dist/assets/{LinkJETransactionPage-CJlBllrr-RkOKGfby.js → LinkJETransactionPage-p7wdZbtp-BamvjpR7.js} +13 -13
- package/dist/assets/{LowBalancePopup-BEvuAR0Z-D9Mm46kU.js → LowBalancePopup-DHk6xd2B-V5eEOh0a.js} +7 -7
- package/dist/assets/{MagicLinkACHDetailsPage-DloX1GWg-BSJJfYX3.js → MagicLinkACHDetailsPage-DRQ8oej8-B79oZw1R.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-DewjvM4v-CjyLi2R0.js → MagicLinkDomesticWireDetailsPage-BxXU9Opg-BdNHmjDj.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-CVhazlxQ-CdUPSdVq.js → MagicLinkInternationalWireDetailsPage-DYN1baIc-DT4ZdIcR.js} +1 -1
- package/dist/assets/MagicLinkSuccessPage-CX3bJ5_B-Bgn3-P2S.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-d1edBt3w-BuhlKpVM.js → MagicLinkTitleSection-K2cZQVzq-CIEidPVy.js} +4 -4
- package/dist/assets/MailingDetailsSection--zHyCquq-Cn3SWfKt.js +21 -0
- package/dist/assets/{MeetingCalenderPopup-MtSyJ1AS-BwRcYCw3.js → MeetingCalenderPopup-DbFlQ8Km-9ZxBnjo6.js} +1 -1
- package/dist/assets/{Menu-BV79l8xf-CT05aLZH.js → Menu-LLL9taEz-CtH4c9eF.js} +2 -2
- package/dist/assets/{MyBankConnectionsSettingsPage-D-xDtURG-a5WJJsgd.js → MyBankConnectionsSettingsPage-BfDsHVZw-aWZVlaCb.js} +15 -15
- package/dist/assets/{MyPendingActivationChargeCardListPage-VEhml0PW-C7lDm9On.js → MyPendingActivationChargeCardListPage-vag56A65-DvFj3aDV.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-DPJ0fJdQ-BVaOzJZE.js → MyProfileSettingsPage-DCKqWh-p-Ca4URKq-.js} +8 -8
- package/dist/assets/NavBarWithPicker-Cvi89wZV-3CVqu6ha.js +30 -0
- package/dist/assets/{NavigationArrow-BwXNdvOg-Bw7XRwN0.js → NavigationArrow-CHmddDC--CUC3t4BZ.js} +2 -2
- package/dist/assets/NavigationDots-1wpj484Z-By9SVfKB.js +15 -0
- package/dist/assets/{NewGlobalMerchantPage-IeE86L-X-C4OUiP9X.js → NewGlobalMerchantPage-B0FywA12-BRuJ6OhE.js} +13 -13
- package/dist/assets/{NoDataChart-C9yfE8vY-D5FBma0Z.js → NoDataChart-D43mhDJW-B9CXfEvp.js} +1 -1
- package/dist/assets/{NoDataTable-DF9QNT4a-DSZJ4vGD.js → NoDataTable-BOfUxs9D-8iqVCaVk.js} +1 -1
- package/dist/assets/{NotFoundPage-DSaizJve-BAhgScCF.js → NotFoundPage-DFioH5Rt-BQR0ORs3.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-DeAeFHmj-CaUz1tWX.js → NotificationSettingsPage-y4g1rAal-BJEuhBam.js} +13 -13
- package/dist/assets/{NotificationsListConfig-DuzDckh--BqtRxON_.js → NotificationsListConfig-sybPesiv-FmaZBisq.js} +1 -1
- package/dist/assets/{NotificationsPage-B7ZC7ezP-DEJagd6q.js → NotificationsPage-C88YOjuY-Ds4zz6jH.js} +31 -32
- package/dist/assets/{OpExByVendorPage-DzODetHf-DB9TWTaj.js → OpExByVendorPage-qBWbJhv9-Cs148Yzz.js} +7 -7
- package/dist/assets/{OverlayContainerPage-GWXnlbZH-CXhqDEmM.js → OverlayContainerPage-Dres4Grh-BoM1wcb9.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-FEi5USqF-Cvmw-ezu.js → PandLWithForecastPage-uiaHrci6-ClUgwvyo.js} +8 -8
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-BbL4x5pQ-CQ4mDWcj.js → PaymentAccountSetupBillingAddressSection-BepDUdA0-DvE7tkJU.js} +11 -11
- package/dist/assets/{PeoplePage-B35T31YZ-DghEF7WY.js → PeoplePage-oF6C1uyM-DLFAgG_p.js} +20 -20
- package/dist/assets/{PortfolioAllocationFormPage-D3FP_MRr-DOEDYQct.js → PortfolioAllocationFormPage-C5O3GLqz-BYzrfMTu.js} +4 -4
- package/dist/assets/{PortfolioDetails-Dtz3YEPu-BMRrMf3q.js → PortfolioDetails-BkGNpmoO-B3KzDtEL.js} +31 -31
- package/dist/assets/{ProductsCarousel-DIlEuuqg-DrIeQsxl.js → ProductsCarousel-C_tmo4EA-BDn6T3LG.js} +6 -6
- package/dist/assets/{PromoBaseCards-DTsaas8S-CPDQ_Ck-.js → PromoBaseCards-Bq5-q2ew-oeM6E2Gs.js} +5 -5
- package/dist/assets/{QBOConnectionDialog-Cvt38cmU-p0xTPV2f.js → QBOConnectionDialog-BXNWjeYB-CT3y8ZPP.js} +9 -9
- package/dist/assets/QBOSetupSection-D3sIWrh1-Dt8ceji3.js +79 -0
- package/dist/assets/ReimbursementApprovalRuleDetailPage-ClgCUbVP-DfTW4OAe.js +26 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-BG8uMxNw-D1uyrGH4.js → ReimbursementApprovalRulesPage-hjja5JFq-1dF9j3jn.js} +8 -8
- package/dist/assets/{ReimbursementDetailPage-Cs7XeZrC-OHz7BSRY.js → ReimbursementDetailPage-sXYC_aoR-CngyEl5D.js} +19 -19
- package/dist/assets/{ReimbursementPromoPage-CKITZNUc-79ijnfiq.js → ReimbursementPromoPage-C9zs7VRV-DY_b0K3o.js} +24 -24
- package/dist/assets/{ReimbursementSetUpPage-DD5P181p-CxWIYZnN.js → ReimbursementSetUpPage-Ban56LOC-Cen4aYhY.js} +11 -11
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-C0eORL7o-iqE8m4Np.js → ReimbursementsBulkReviewDrawerPage-CsRwI-rl-KeeGuW4E.js} +1 -1
- package/dist/assets/{ReloadCard-CZ4IXHy1-Dtuzk5Rl.js → ReloadCard-EBXtqdt5-e0DLVF2o.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-Do0yQJxY-BXH3sbob.js → ReportTableViewSelector-Ae5lGopA-CZicNwDg.js} +10 -10
- package/dist/assets/{ReportsPage-BUi475EG-CQaz0teT.js → ReportsPage-Dh3DhbEK-DCmUMwXx.js} +5 -5
- package/dist/assets/{RevenueChart-DPNqxQ4n-mVhaMXTb.js → RevenueChart-C5qfXMEg-D1BQhist.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-DTCC2C0D-C6Ojy72F.js → ReviewDetailsPage-DjcJd2VM-CMmXdVTb.js} +17 -17
- package/dist/assets/{ReviewOverlay-CPN-RHG--BufZJNs3.js → ReviewOverlay-Dmrea9EK-DOxs4FI1.js} +14 -14
- package/dist/assets/RoleWithToolTip-CqeM8Bh0-BSEMOUZO.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BSz5BdJ4-BcAVniZz.js → ScheduleDetailsFixedAssetsPage-CQGRrdSx-BKHIJc5L.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-DKVlaW9e-ChemaS_v.js → ScheduleDetailsPage-D5OBZ80r-BSViQYwc.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-BhpHoReF-DVT0PeVe.js → ScheduleSequenceTable-fgV8zz4I-B96Fw2cP.js} +49 -49
- package/dist/assets/{ScreenRoutes-CUNOProC.js → ScreenRoutes-Bs8GRIgm.js} +62 -62
- package/dist/assets/{SetUpAccountSection-Blh-Vipv-Ec9w8zf3.js → SetUpAccountSection-4-gtB3I4-CmDUZ7Ps.js} +24 -24
- package/dist/assets/{SetUpDefaultSection-DsyZbNsv-BcyPPYMa.js → SetUpDefaultSection-DSslQOgJ-y5lEHYNN.js} +12 -12
- package/dist/assets/{SignIn-DehOoUba-_IFKRKFV.js → SignIn-CgXxIawW-DSrGSPuV.js} +17 -17
- package/dist/assets/{SignInScreen-BXQkh3gn.js → SignInScreen-DSt7uixJ.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-C23fDDXZ-e5NI-MjJ.js → SpendManagementListViewPage-SkhzkIYZ-CI28gjhv.js} +11 -11
- package/dist/assets/{SpendManagementPerTabPage-Cx0sB3qO-C92A_6wt.js → SpendManagementPerTabPage-CofY1YYQ-C9YpxBTZ.js} +55 -55
- package/dist/assets/{SpendManagementSection-DbZYpbtO-DTrbPW3G.js → SpendManagementSection-DbC93chQ-CmYHf5ne.js} +13 -13
- package/dist/assets/{SpendMgmtSetupAccountSection-BkUIdz9m-ClfpmeIa.js → SpendMgmtSetupAccountSection-_8G7bMAw-CYWZUz0n.js} +22 -22
- package/dist/assets/{StatementItem-BF8L0fc_-DkDCxyQq.js → StatementItem-7ezfuDl--CcU7F4Hj.js} +5 -5
- package/dist/assets/{StatementsPage-96e3ZbSU-BP5FaF_u.js → StatementsPage-C4ziRzkU-Cl2Heiw2.js} +6 -6
- package/dist/assets/{StatusSwitcher-jwpQ49F7-BGzqIV7p.js → StatusSwitcher-0rVfFE-a-CheRZPfP.js} +7 -7
- package/dist/assets/{SubTabSwitcher-B8H6McwL-CAGUZLqm.js → SubTabSwitcher-aoWbkCmT-CaMIdf8x.js} +1 -1
- package/dist/assets/{SummaryCard-Bv4ja9yJ-BQ3Vm3Ml.js → SummaryCard-6V1G-Yln-AkNgJPj0.js} +1 -1
- package/dist/assets/{TaskManagementPage-D7tD4WRl-D829_k0m.js → TaskManagementPage-DjQma5Cr-DLhPVic-.js} +18 -18
- package/dist/assets/{TimeRangeSwitcher-Cr-ObvZ9-BpkXiM1i.js → TimeRangeSwitcher-DeIRg5zY-Bi--_Fx4.js} +5 -5
- package/dist/assets/{TimeframeSwitcher-YkFxZedG-C9WakH79.js → TimeframeSwitcher-Cop4G4gx-DupejW9U.js} +5 -5
- package/dist/assets/TimeframeSwitcherWithToggle-BhoniKOB-DuZjqpvb.js +31 -0
- package/dist/assets/{TopExCard-DtrsuLFD-rsSVK-ay.js → TopExCard-BKirBv7q-BKzGhACE.js} +6 -6
- package/dist/assets/{TopExDetailPage-HMRdJt_a-Cuky-W3B.js → TopExDetailPage-DcVunE8d-BJAugcNm.js} +11 -11
- package/dist/assets/{TransactionDetailPage-CkWEdpTW-BX9Cs2dn.js → TransactionDetailPage-TJf3D0K6-ChXVy1nH.js} +26 -26
- package/dist/assets/{TransactionList-8rOZr8BD-DZQflEIq.js → TransactionList-fn6VXYIJ-XKKmCfLI.js} +4 -4
- package/dist/assets/{TransactionListBig-DGx1qy2c-WusOBIcK.js → TransactionListBig-B_hNDFjS-Bc3M6sby.js} +25 -25
- package/dist/assets/{TransactionListPage-CnbufCaM-Crj6dxSk.js → TransactionListPage-BbXZWbie-DmTuImVR.js} +6 -6
- package/dist/assets/{TransactionVendorDetailPage-UpZX_EgR-Mzs4hwfT.js → TransactionVendorDetailPage-C6qJ5ncL-DRKEGbRL.js} +6 -6
- package/dist/assets/TransferDrawerPage-BtYoqKi--BK8jkNir.js +362 -0
- package/dist/assets/{TreasuryOverviewPage-DoPe6v4O-dHNFdpx5.js → TreasuryOverviewPage-DOV8Hanc-BzuaF_Oy.js} +53 -53
- package/dist/assets/{TreasuryPromoPage-Db20FO_G-DajsAZcT.js → TreasuryPromoPage-C9O7G72q-D0fVcP3x.js} +30 -29
- package/dist/assets/TreasurySetupPage-CNzkkEjw-Dh78QFWy.js +146 -0
- package/dist/assets/{TreasuryStatementsPage-BONCF7O1-C2wksa5Y.js → TreasuryStatementsPage-Ts6D6F-l-CQAmEMl1.js} +5 -5
- package/dist/assets/{TreasuryTaxLetterPage-NCZ0Y4yr-8hmlID6w.js → TreasuryTaxLetterPage-CM93_rS4-CfzYhIka.js} +5 -5
- package/dist/assets/TreasuryTransferOrReviewPage-C8-tbCUQ-DHGOUHuT.js +506 -0
- package/dist/assets/{TrendChart-DQXhBbqy-u2beI5NW.js → TrendChart-BXjPAYgk-DjYRl65V.js} +5 -5
- package/dist/assets/{TrendWithTransactions-Du-a-c_9-Um_fvL6F.js → TrendWithTransactions-BlGX9aVa-DUrKUprM.js} +8 -8
- package/dist/assets/{UncategorizedAccountsMappingPage-mSPC4LpU-DSNIKC_z.js → UncategorizedAccountsMappingPage--PnxDLIj-DgyLI8TV.js} +12 -12
- package/dist/assets/{UnitIntegrationPage-B5O9G4QH-y6cPvP8r.js → UnitIntegrationPage-D5mzaVVL-B87wl-C8.js} +4 -4
- package/dist/assets/{UploadAdditionalDocumentOverlay-CnjzAGYo-CBf_BQlS.js → UploadAdditionalDocumentOverlay-BXS2l5kF-4XXbIdgY.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-CYcCB8tr-CtNb2at2.js → Vendor2FAPopup-jXN-6kcB-WQjywdob.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-C6EuQBcH-DtIAcatA.js → VendorACHDetailsPage-CHfX_7tk-CseZDy3t.js} +1 -1
- package/dist/assets/{VendorDetailPage-CnSXWVCg-BL1omixq.js → VendorDetailPage-CZuQaTCe-00z-DC1U.js} +13 -13
- package/dist/assets/{VendorDomesticWireDetailsPage-CVTkzHFB-BOarRjTv.js → VendorDomesticWireDetailsPage-dBmyAkGL-BzziQHyn.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-TJb9mpk0-qwt68m34.js → VendorFiling1099EditablePage-C6KWbHaM-FdVjec5X.js} +7 -7
- package/dist/assets/{VendorFirstReviewPage-gBLVMddY-3lz9ZyKl.js → VendorFirstReviewPage-DLaCXLH8-Bp3HVWXV.js} +30 -30
- package/dist/assets/{VendorInternationalWireDetailsPage-Bhm7j6HC-C_fJSHjY.js → VendorInternationalWireDetailsPage-DgCH9Rad-DD-YZWBN.js} +10 -10
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-MgN7VFET-JLytJhuc.js → VendorInternationalWireSwiftDetailsPage-CprymE3v-BXc-3kQm.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-Cn-8Yemv-QU3Ugu9k.js → VendorsAccountsSection-CpkfwFDJ-DeHCyl4j.js} +15 -15
- package/dist/assets/VerifyDevice-CSIkEBig-DzQ9uYAN.js +67 -0
- package/dist/assets/{WarningsDrawerPage-Cc_Rty0A-CiWJTjUM.js → WarningsDrawerPage-DeqbJ2Le-CygSrVz8.js} +12 -12
- package/dist/assets/{ZeniAccountDetailPage-BU2TTiDP-Caxfo2QU.js → ZeniAccountDetailPage-kwKoeRAb-yy2D4Oyh.js} +29 -29
- package/dist/assets/{ZeniAccountListViewPage-DbcnkYvX-ai9PY1nW.js → ZeniAccountListViewPage-15LxhIiI-3EkZXZhB.js} +19 -19
- package/dist/assets/ZeniAccountNavBarPieces-C0pq95hS-D_BEJJwy.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-D-5ArrRO-yroK6L0e.js → ZeniAccountPromoPage-DvlAb5YA-BxPQZ-TN.js} +33 -33
- package/dist/assets/{ZeniAccountSetupPage-DXYR0Ipo-69zJLoPG.js → ZeniAccountSetupPage-BjpvTfF5-DJqm4qSs.js} +3 -3
- package/dist/assets/{ZeniCopyright-DPd1ifIT-CsDQSNsH.js → ZeniCopyright-BYJFIZ_X-DJl-W8Ni.js} +1 -1
- package/dist/assets/ZeniTransferAmountSlider-Did4Chpj-CHnHwXGw.js +63 -0
- package/dist/assets/{analyticsHelper-DrNmU0vn-cbtpMVPt.js → analyticsHelper-BRyA7WLX-Ch8yhvbw.js} +1 -1
- package/dist/assets/{analyticsHelper-DYztlfoV.js → analyticsHelper-DEjyvXKA.js} +1 -1
- package/dist/assets/{chartTypes-YTQv3tre-BaZWty8J.js → chartTypes-CWEoqL4g-Bo1GQ9Y0.js} +1 -1
- package/dist/assets/{commonDimensions-BtmBVXgZ-DngS5_m0.js → commonDimensions-UvndzJjv-DkCvzihA.js} +1 -1
- package/dist/assets/{detailCommon-hHyz3hj3-CgkqfxsC.js → detailCommon-C3ymS8dg-BusgYXoD.js} +2 -2
- package/dist/assets/{downloadPdf-CDvgLzWC-C6NI1uz3.js → downloadPdf-CHwWcCR1-BQYdnkG1.js} +1 -1
- package/dist/assets/{index-CVo0uMzO.js → index-DYVNUtTS.js} +4129 -3984
- package/dist/assets/{mapLoadingInProgressToTreeNode-BfoqmoAq-n6edsobL.js → mapLoadingInProgressToTreeNode-BV9ky97n-C6-bn_qJ.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BjtxR9iQ-qzW1C6Un.js → mapSectionWithAcOnlyToTreeNode-WivyN4Y7-DeEMrm9i.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-D8o529OP-C6pXOMvN.js → mapSpacerToTreeNode-AXNRptLX-B0rl0_Lw.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BirMnIzY-C4aRbhHq.js → mapTimeframeBalancesToTreeNode-DUac2vK4-jK2oIVF4.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-NA69l84M-PrspUuQP.js → mapTimeframeBalancesToTreeNode-JTl35sFx-B-SNtaen.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BCqRt8GN-Bw8svqkv.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DtkeOXnf-Dl0F4JWH.js} +1 -1
- package/dist/assets/{play-icon-DyIc5aGx-CIOaxH3w.js → play-icon-HSIOzxQm-DtUz8FwI.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-2jQJLb8S-DW8RIFP8.js → toCOABalancesWithID-CkjYSysY-DF7YtxZI.js} +1 -1
- package/dist/assets/{toChartData-Dsjd8dGe-B64jG2hW.js → toChartData-BhKlnyso-CKLUlraQ.js} +1 -1
- package/dist/assets/{treasuryColorHelper-EG8VpBia-DN3Bvuhd.js → treasuryColorHelper-yIAXBrrM-D_iAl7kS.js} +1 -1
- package/dist/assets/{uploadAttachment-CVUM4FN--B0G4nXtQ.js → uploadAttachment-CWaYLqwb-DAXv_gFj.js} +32 -32
- package/dist/assets/{uploadReceipts-D80JLNY4-CvtBPjYq.js → uploadReceipts-C6Ld_WLK-CscO-OGr.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-BQBpkHfF-BwEQR3Ry.js +0 -21
- package/dist/assets/BankAccountWarningSection-CWXa-X6f-Bo2YdlXb.js +0 -51
- package/dist/assets/BusinessVerificationPage-BoSLJbyU-BJPGiqTw.js +0 -140
- package/dist/assets/ChargeCardPromoPage-dIg8OIlx-I5SeyfVO.js +0 -219
- package/dist/assets/CheckDepositDrawerPage-uABg3PMN-BdzopMYU.js +0 -206
- package/dist/assets/CompanyOfficerDetailsSection-BzYsDrr2-uFzN5DGM.js +0 -232
- package/dist/assets/CompleteProfile-CN_hAW-2-D9tT8MoO.js +0 -36
- package/dist/assets/CustomerOnboardingContainerPage-B9qcJNx5-UVumagoc.js +0 -1
- package/dist/assets/DepositAccTransactionListPage-Db90ITIq-oTkCmI07.js +0 -66
- package/dist/assets/DocumentSecurityBanner-Bxg3ctYZ-39503B9W.js +0 -29
- package/dist/assets/EditPeoplePage-CBPmCcoG-DAdjecZc.js +0 -55
- package/dist/assets/FeaturePreviewPage-BBkfKvIu-CqzyD_TL.js +0 -11
- package/dist/assets/InsightsCardStack-rByhzgji-FDbIdVTC.js +0 -79
- package/dist/assets/InsightsSection-jnWJ877y-CXGce558.js +0 -27
- package/dist/assets/InvitePeoplePage-DvGON1va-BYLNeXQs.js +0 -12
- package/dist/assets/LabeledDocumentField-TFmz23mS-CYnZhFdz.js +0 -41
- package/dist/assets/MagicLinkSuccessPage-dxBSlbub-CRDPtPi_.js +0 -31
- package/dist/assets/MailingDetailsSection-CsK09X11-DZ9sqO1E.js +0 -21
- package/dist/assets/NavBarWithPicker-CuJe05iJ-BuKAIj_v.js +0 -30
- package/dist/assets/NavigationDots-BQfoX9p0-BmnKz8T-.js +0 -14
- package/dist/assets/QBOSetupSection-Dijb03ZX-CFOO-p_z.js +0 -79
- package/dist/assets/ReimbursementApprovalRuleDetailPage-bkJIpwyU-DTXj9skr.js +0 -26
- package/dist/assets/RoleWithToolTip-Bst2IdUy-DaFvOxA_.js +0 -22
- package/dist/assets/TimeframeSwitcherWithToggle-4h9WX4z9-DfbkXFml.js +0 -31
- package/dist/assets/TransferDrawerPage-cUyg27nq-DoY6rZbB.js +0 -362
- package/dist/assets/TreasurySetupPage-BoVhd65r-DAl3tLzo.js +0 -152
- package/dist/assets/TreasuryTransferOrReviewPage-DAmZboLO-qe3kHbZ0.js +0 -506
- package/dist/assets/ZeniAccountNavBarPieces-CeJHAl4O-D-T_tdRo.js +0 -14
- package/dist/assets/ZeniTransferAmountSlider-di46G5TN-D3ij5oCv.js +0 -63
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as R,u as T,
|
|
1
|
+
import{X as R,u as T,ck as p,cs as V,j as r,o,ct as P,bm as J,v as O,fK as A,d as l,J as B,b0 as F}from"./index-DYVNUtTS.js";import{n as i}from"./vendor-CnQcJ2Lu.js";const K={infoLabel:new B("extraSmallRegular","smallRegular")};function Q({isDisabled:e,label:m,formattedText:s,dropdownStyle:b,style:f,additionalInfoLabel:x,showAdditionalInfoLabel:y=!0,isSaveError:n=!1,showTickIcon:w,showErrorInfoLabel:$,errorInfoLabel:L,registerOptions:j,defaultValue:u,isSelectDisabled:k,menuPlacement:v,name:E,placeholderLabel:S}){const a=R(),h=T(),{formState:{errors:D}}=p(),d=V(D,s.name),{control:z}=p(),C=t=>typeof t=="string"?t.toLocaleUpperCase():t.toString().toLocaleUpperCase();return r.jsxs(M,{size:a,style:f,isDisabled:e!=null,isError:d||n,children:[r.jsx(Y,{windowSize:a,style:{width:m?.width??"auto",marginRight:o.sp2},children:r.jsx(G,{style:{width:"auto",...b},children:r.jsx(P,{name:E,control:z,defaultValue:u.dropDownValue,rules:j,render:({field:{value:t,onChange:I}})=>r.jsx(J,{pickerValues:u.dropDownList.map(c=>c.code),valueToLabel:C,selectedValue:t??void 0,isDisabled:e!=null||k,onPickerSelectionChanged:c=>{I(c)},menuPlacement:v,titleTextStyle:O.standardRegular,titleColor:h.colors.hero,valueOpacity:1,backgroundColor:h.colors.grey5,placeholder:S})})})}),r.jsxs(U,{children:[r.jsx(A,{...s,style:s.style,isDisabled:s.isDisabled,isMasked:!0}),(y||d||n)&&r.jsxs(g,{size:a,isError:d||n,children:[w===!0?r.jsx(q,{children:r.jsx(X,{})}):null,x]}),$===!0&&r.jsx(g,{size:a,isError:!0,children:L})]})]})}const M=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: center;
|
|
@@ -33,7 +33,7 @@ import{X as R,u as T,cg as h,co as V,j as r,o,cp as A,bl as O,f as P,fH as F,g a
|
|
|
33
33
|
background-color: ${e=>e.isDisabled===!0?e.theme.colors.grey5:e.isError?l.importantLight:e.theme.colors.background};
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
`,
|
|
36
|
+
`,U=i.div`
|
|
37
37
|
display: flex;
|
|
38
38
|
flex-direction: column;
|
|
39
39
|
align-items: flex-end;
|
|
@@ -41,19 +41,19 @@ import{X as R,u as T,cg as h,co as V,j as r,o,cp as A,bl as O,f as P,fH as F,g a
|
|
|
41
41
|
`,g=i.label`
|
|
42
42
|
display: flex;
|
|
43
43
|
color: ${e=>e.isError?l.important:e.theme.colors.grey1};
|
|
44
|
-
${e=>`${
|
|
44
|
+
${e=>`${K.infoLabel.style(e.size)}`};
|
|
45
45
|
padding-right: ${o.sp3};
|
|
46
46
|
text-align: right;
|
|
47
|
-
`,
|
|
47
|
+
`,q=i.div`
|
|
48
48
|
display: flex;
|
|
49
49
|
margin-right: ${o.sp1};
|
|
50
50
|
align-items: center;
|
|
51
|
-
`,
|
|
51
|
+
`,X=i(F)`
|
|
52
52
|
width: ${o.sp3};
|
|
53
53
|
height: ${o.sp3};
|
|
54
54
|
color: ${l.successDark};
|
|
55
|
-
`,
|
|
55
|
+
`,Y=i.div`
|
|
56
56
|
display: flex;
|
|
57
57
|
width: 100%;
|
|
58
58
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
59
|
-
`,
|
|
59
|
+
`,G=i.div``;export{Q as Y};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as b,j as r
|
|
1
|
+
import{X as b,j as r,$ as s,cq as m,C as l,s as t,o as a,m as u,J as x}from"./index-DYVNUtTS.js";import{n}from"./vendor-CnQcJ2Lu.js";const i={width:new l(343,580,726),height:new l(t[6],t[6]),paddingTopBottom:new l(t[2],t[2]),marginRight:new l(t[2],t[2]),labelMarginLeft:new l(t[3],t[4]),labelMarginRight:new l(t[3],t[4]),labelMarginTop:new l(t[2],t[2])},c={infoLabel:new x("extraSmallRegular","smallRegular")};function z({label:e,value:h,additionalInfoLabel:d,style:g,infoLabelStyle:p}){const o=b();return r.jsxs(f,{size:o,style:g,"data-testid":s("labeled-text",e.label),children:[r.jsx(m,{label:e.label,style:{marginLeft:i.labelMarginLeft.value(o),marginRight:i.labelMarginRight.value(o),marginTop:i.labelMarginTop.value(o),width:e.width??"auto"}}),r.jsxs($,{labelWidth:e.width,children:[r.jsx(w,{"data-testid":s("labeled-text-input",e.label),children:h}),d!=null?r.jsx(y,{size:o,style:p,children:d}):null]})]})}const f=n.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: flex-start;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as
|
|
1
|
+
import{X as M,j as l,$ as Z,cq as me,o as s,C,s as m,ck as K,ct as ge,cs as xe,u as fe,fu as be,B as E,J as we,b3 as H,fv as Q,bT as _,fw as J,b0 as X,d as R,v as q,m as Y,fx as $e,M as ye,w as ve}from"./index-DYVNUtTS.js";import{n as r}from"./vendor-CnQcJ2Lu.js";import{T as je}from"./RoleWithToolTip-CqeM8Bh0-BSEMOUZO.js";const ee={selectContainerMarginHorizontal:new C(m[2],m[3]),marginTop:new C(m[1],m[0])},Se=r(ye)`
|
|
2
2
|
display: flex;
|
|
3
3
|
gap: ${s.sp2};
|
|
4
4
|
align-items: center;
|
|
@@ -39,23 +39,23 @@ import{X as N,j as l,_ as J,cm as me,o as s,C,q as m,cg as K,cp as ge,co as fe,u
|
|
|
39
39
|
width: ${s.sp5};
|
|
40
40
|
border-radius: 50%;
|
|
41
41
|
justify-content: center;
|
|
42
|
-
`,
|
|
42
|
+
`,Te=r.img`
|
|
43
43
|
height: ${s.sp4};
|
|
44
44
|
width: ${s.sp4};
|
|
45
45
|
border-radius: 50%;
|
|
46
46
|
justify-content: center;
|
|
47
47
|
color: ${e=>e.theme.colors.hero};
|
|
48
|
-
`,
|
|
48
|
+
`,N=r.div`
|
|
49
49
|
display: flex;
|
|
50
50
|
flex-direction: row;
|
|
51
51
|
cursor: pointer;
|
|
52
52
|
align-items: center;
|
|
53
53
|
gap: ${s.sp2};
|
|
54
54
|
height: 100%;
|
|
55
|
-
`,
|
|
55
|
+
`,ke=r(N)`
|
|
56
56
|
flex-direction: column;
|
|
57
57
|
gap: ${s.sp0};
|
|
58
|
-
`,
|
|
58
|
+
`,Pe=r.div`
|
|
59
59
|
display: flex;
|
|
60
60
|
align-items: center;
|
|
61
61
|
height: ${s.sp6};
|
|
@@ -89,14 +89,14 @@ import{X as N,j as l,_ as J,cm as me,o as s,C,q as m,cg as K,cp as ge,co as fe,u
|
|
|
89
89
|
box-sizing: border-box;
|
|
90
90
|
align-items: center;
|
|
91
91
|
justify-content: space-between;
|
|
92
|
-
`,Re=r(
|
|
92
|
+
`,Re=r(N)`
|
|
93
93
|
align-items: center;
|
|
94
94
|
gap: ${s.sp2};
|
|
95
95
|
`,F=r.div`
|
|
96
96
|
overflow: hidden;
|
|
97
97
|
text-overflow: ellipsis;
|
|
98
98
|
white-space: nowrap;
|
|
99
|
-
`,
|
|
99
|
+
`,B=r.div``,Ue=r.div`
|
|
100
100
|
width: 100%;
|
|
101
101
|
background-color: ${e=>e.theme.colors.grey5};
|
|
102
102
|
cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
|
|
@@ -133,7 +133,7 @@ import{X as N,j as l,_ as J,cm as me,o as s,C,q as m,cg as K,cp as ge,co as fe,u
|
|
|
133
133
|
border-radius: ${s.sp0};
|
|
134
134
|
margin: ${s.sp0};
|
|
135
135
|
color: ${e=>e.theme.colors.primary};
|
|
136
|
-
${
|
|
136
|
+
${q.standardRegular.css};
|
|
137
137
|
box-sizing: border-box;
|
|
138
138
|
overflow: hidden;
|
|
139
139
|
text-overflow: ellipsis;
|
|
@@ -145,7 +145,7 @@ import{X as N,j as l,_ as J,cm as me,o as s,C,q as m,cg as K,cp as ge,co as fe,u
|
|
|
145
145
|
display: flex;
|
|
146
146
|
width: ${e=>e.menuIsOpen===!1?s.sp0:"100%"};
|
|
147
147
|
position: ${e=>e.isFocused===!1&&e.selectedValue==null?"initial":"absolute"};
|
|
148
|
-
${
|
|
148
|
+
${q.standardRegular.css};
|
|
149
149
|
color: ${e=>e.theme.colors.primary};
|
|
150
150
|
margin: ${s.sp0};
|
|
151
151
|
cursor: inherit;
|
|
@@ -164,15 +164,15 @@ import{X as N,j as l,_ as J,cm as me,o as s,C,q as m,cg as K,cp as ge,co as fe,u
|
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
|
-
`,
|
|
167
|
+
`,Me=r.div`
|
|
168
168
|
width: ${e=>e.windowSize==="small"?"max-content":"100%"};
|
|
169
169
|
display: flex;
|
|
170
170
|
flex-direction: column;
|
|
171
|
-
`,
|
|
171
|
+
`,Ne=r(Q)`
|
|
172
172
|
width: ${s.sp5};
|
|
173
173
|
height: ${s.sp5};
|
|
174
174
|
color: ${e=>e.theme.colors.hero};
|
|
175
|
-
`,
|
|
175
|
+
`,G=r($e)`
|
|
176
176
|
color: ${e=>e.theme.colors.alert};
|
|
177
177
|
text-transform: none;
|
|
178
178
|
border: 1px solid ${e=>e.theme.colors.alert};
|
|
@@ -180,21 +180,21 @@ import{X as N,j as l,_ as J,cm as me,o as s,C,q as m,cg as K,cp as ge,co as fe,u
|
|
|
180
180
|
border-radius: ${s.sp1};
|
|
181
181
|
margin-top: ${({windowSize:e})=>ee.marginTop.valuePx(e)};
|
|
182
182
|
width: fit-content;
|
|
183
|
-
`;function We({allUsers:e,selectedValue:a,showOneOffLabel:n,placeholder:g,isOptionRemovable:v,valueToSubtitle:b,onSelectionChanged:w,name:j,userContainerStyles:
|
|
183
|
+
`;function We({allUsers:e,selectedValue:a,showOneOffLabel:n,placeholder:g,isOptionRemovable:v,valueToSubtitle:b,onSelectionChanged:w,name:j,userContainerStyles:x,optionStyles:T,isValuePlacedAtEnd:I=!0,isDisabled:k,showOnlyAvatar:D=!1,showAvatarAndSubtitles:S=!0,isOptionDisabled:L,disabledOptionHint:$,bigMarginRightForSmallScreens:P=!1}){const{formState:{errors:V}}=K(),z=xe(V,j??""),c=M(),O=[];n!=null&&O.push(n.value),O.push(...e.map(t=>t.userId));const le=t=>{if(n!=null&&n.value===t)return n.label;const i=e.findIndex(o=>o.userId===t);if(i!==-1){const o=e[i];return o.user?.firstName||o.user?.lastName?`${o.user?.firstName} ${o.user?.lastName}`:`${o.user?.email}`}else return""},se=t=>{const i=e.findIndex(o=>o.userId===t);if(i!==-1)return e[i].user},te=t=>{const{menuIsOpen:i,children:o}=t;return l.jsx(Ee,{menuIsOpen:i,isError:z,children:l.jsx(De,{children:o})})},re=({labelDetails:t})=>l.jsxs(Fe,{hasSelectedUser:a===t.value,children:[l.jsxs(Re,{children:[l.jsx(Ne,{}),l.jsx(B,{children:l.jsx(F,{children:t.label})})]}),a===t.value?l.jsx(l.Fragment,{children:l.jsx(X,{width:s.sp3,height:s.sp3})}):null]}),ie=t=>{const{children:i,data:o,selectProps:u}=t,{menuIsOpen:h}=u;if(n!=null&&o?.value===n.value)return l.jsxs(N,{children:[S||D?l.jsx(Q,{style:{height:s.sp4,width:s.sp4}}):null,l.jsx(Ve,{children:n.label})]});const d=e.findIndex(y=>y.userId===o.value),p=e[d],f=b(o.value);return l.jsxs(ke,{children:[l.jsxs(Pe,{menuIsOpen:h,children:[S||D?l.jsx(l.Fragment,{children:p?.user?.photo!=null?l.jsx(Te,{src:p?.user?.photo.href,alt:E.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:y})=>{y.onerror=null,y.src=_},loading:"lazy"}):l.jsx(J,{firstName:p?.user?.firstName??"",lastName:p?.user?.lastName??"",size:`${s.sp4}`,index:d})}):null,l.jsx(F,{children:i})]}),S?l.jsx(W,{subtitleList:f,menuIsOpen:u.menuIsOpen,member:p}):null]})},W=({subtitleList:t,member:i,menuIsOpen:o})=>{const u=t.length;return l.jsxs(Se,{menuIsOpen:o,children:[i!=null?l.jsx(je,{roles:i?.userRole.userRoles}):null,i!=null&&u>0?l.jsx(Ce,{}):null,u>0?t.map((h,d)=>l.jsx(Oe,{children:h},`${h}${d}`)):null]})},oe=t=>{const{data:i,isSelected:o,selectProps:u,value:h}=t,d=!!L?.(h)&&o===!1;if(n!=null&&i?.value===n.value)return l.jsx(re,{labelDetails:n});const p=e.findIndex(A=>A.userId===i.value),f=e[p],y=b(i.value);return l.jsxs(Ie,{style:T,children:[l.jsxs(Le,{isCurrOptionDisabled:d,children:[l.jsx(ze,{children:f?.user?.photo!=null?l.jsx(Ae,{src:f?.user?.photo.href,alt:E.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:A})=>{A.onerror=null,A.src=_},loading:"lazy"}):l.jsx(J,{firstName:f?.user?.firstName??"",lastName:f?.user?.lastName??"",size:`${s.sp5}`,index:p})}),l.jsxs(B,{children:[l.jsx(F,{children:t.label}),l.jsx(W,{menuIsOpen:u.menuIsOpen,subtitleList:y,member:f}),c==="small"&&d&&$!=null?l.jsx(G,{windowSize:c,children:$}):null]})]}),!!o&&l.jsx(l.Fragment,{children:l.jsx(X,{width:s.sp3,height:s.sp3})}),c!=="small"&&d&&$!=null?l.jsx(G,{windowSize:c,children:$}):null]})},ne=t=>{w(t)},ae=()=>null,de=t=>{const{menuIsOpen:i,isFocused:o,isDisabled:u,selectProps:h}=t,{value:d}=h;return l.jsx(Ue,{menuIsOpen:i,isFocused:o,isDisabled:u,selectedValue:d,isError:z,isValuePlacedAtEnd:I,windowSize:c,bigMarginRightForSmallScreens:P,children:l.jsx(H.Control,{...t,className:"select-control",children:t.children})})},ce=t=>l.jsx(H.ValueContainer,{...t,className:"select-value-container",children:t.children}),ue=t=>l.jsx(Me,{windowSize:c,children:t.children}),he=(t,i)=>i&&typeof t.label=="string"?t.label.toLowerCase().includes(i.toLowerCase())||t.data?.data?.email?.toLowerCase().includes(i.toLowerCase()):!0,pe=fe();return l.jsx(be,{placeholder:g??E.getLocalizedStrings().commonSetUp.approval.userSelectPlaceholder,selectedValue:a,pickerValues:O,valueToLabel:le,valueToData:se,backgroundColor:pe.colors.background,onPickerSelectionChanged:ne,OptionComponent:oe,PlaceholderComponent:te,SingleValueComponent:ie,isOptionRemovable:v,containerStyles:x,DropDownIndicatorComponent:ae,ControlComponent:de,classNamePrefix:"single-select-field",ValueContainerComponent:ce,MenuListComponent:ue,menuPosition:c==="small"?"right":"left",isSearchable:!0,isDisabled:k,isOptionDisabled:t=>L?.(t)===!0&&a!==t,filterOption:he})}const He={infoLabel:new we("smallRegular","smallRegular")},_e=({name:e,placeholderLabel:a,registerOptions:n,value:g,valueToSubtitle:v,showOneOffLabel:b,userContainerStyles:w,optionStyles:j,isValuePlacedAtEnd:x,isDisabled:T,additionalLabelInfo:I,isOptionDisabled:k,showOnlyAvatar:D=!1,showAvatarAndSubtitles:S=!0,disabledOptionHint:L,bigMarginRightForSmallScreens:$=!1})=>{const{control:P}=K(),V=M();return l.jsx(ge,{name:e,control:P,defaultValue:g,rules:n,render:({field:{value:z,onChange:c}})=>l.jsxs(Je,{width:w?.width,"data-testid":Z("user-single-select",e),children:[l.jsx(We,{onSelectionChanged:O=>{c({allUsers:g.allUsers,selectedUser:O})},selectedValue:z.selectedUser,valueToSubtitle:v,allUsers:g.allUsers,placeholder:a,name:e,showOneOffLabel:b,userContainerStyles:w,isValuePlacedAtEnd:x,isDisabled:T,isOptionDisabled:k,showAvatarAndSubtitles:S,showOnlyAvatar:D,disabledOptionHint:L,bigMarginRightForSmallScreens:$,optionStyles:j}),I!==null&&l.jsx(Xe,{size:V,children:I})]})})},Je=r.div`
|
|
184
184
|
display: flex;
|
|
185
185
|
flex-direction: column;
|
|
186
186
|
width: ${e=>e.width!=null?e.width:"auto"};
|
|
187
|
-
`,
|
|
187
|
+
`,Xe=r.label`
|
|
188
188
|
color: ${e=>e.theme.colors.hero};
|
|
189
189
|
${e=>`${He.infoLabel.style(e.size)}`};
|
|
190
190
|
text-align: right;
|
|
191
191
|
padding-right: ${s.sp3};
|
|
192
|
-
`,
|
|
192
|
+
`,U={width:new C(343,580,726),labelMarginLeft:new C(m[3],m[4]),labelMarginRight:new C(m[3],m[4])};function Ke({isDisabled:e,label:a,userSingleSelectWithSubTitlesField:n,style:g,showTooltip:v=!1,tooltipTitle:b,toolTipWidth:w,opacity:j=1}){const x=M();return l.jsxs(qe,{size:x,style:g,isDisabled:e!=null,opacity:j,"data-testid":Z("labeled-user-single-select",n.name),children:[l.jsx(me,{isDisabled:e,label:a.label,htmlFor:n.name,style:{marginLeft:U.labelMarginLeft.value(x),marginRight:U.labelMarginRight.value(x),marginTop:s.sp2,width:a.width??"auto"},showTooltip:v,tooltipTitle:b,toolTipWidth:w}),l.jsx(_e,{...n,isDisabled:e,userContainerStyles:{display:"flex",flexGrow:1,...n.showOnlyAvatar===!1&&{minWidth:"unset",maxWidth:"unset"},width:a.width!=null?`calc(100% - ${a.width}px)`:"auto",height:n.value.selectedUser==null||n.value.selectedUser!=null&&n.showOnlyAvatar===!0?s.sp6:s.sp9}})]})}const qe=r.div`
|
|
193
193
|
display: flex;
|
|
194
194
|
flex-direction: row;
|
|
195
195
|
align-items: flex-start;
|
|
196
196
|
background-color: ${e=>e.theme.colors.grey5};
|
|
197
|
-
width: ${e=>
|
|
197
|
+
width: ${e=>U.width.valuePx(e.size)};
|
|
198
198
|
min-height: ${s.sp6};
|
|
199
199
|
padding-right: ${s.sp2};
|
|
200
200
|
padding-top: ${s.sp2};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as M,j as l
|
|
1
|
+
import{X as M,j as l,$ as A,cq as q,C as g,o,s as n,ck as _,ct as G,cs as Q,u as X,v as V,b2 as ie,l as I,B as te,fr as se,fy as ae,V as ne,ah as de,d as z,b3 as B,ap as ce,b0 as pe,c3 as ue,fz as F,bL as K,i as he,w as Y,m as me,M as ge,fj as be,f5 as fe,aS as xe,fk as ye,aC as we,fA as ve}from"./index-DYVNUtTS.js";import{n as d,j as $e,b as k}from"./vendor-CnQcJ2Lu.js";import{T as Re}from"./RoleWithToolTip-CqeM8Bh0-BSEMOUZO.js";const H={grpBtnMarginTopBottom:new g(n[1],n[3]),grpBtnMarginLeftRight:new g(n[0],n[3])},je=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
margin-top: ${e=>H.grpBtnMarginTopBottom.valuePx(e.windowSize)};
|
|
4
4
|
margin-bottom: ${e=>H.grpBtnMarginTopBottom.valuePx(e.windowSize)};
|
|
@@ -31,11 +31,11 @@ import{X as M,j as l,_ as A,cm as K,C as g,o,q as n,cg as _,cp as G,co as q,u as
|
|
|
31
31
|
&:hover {
|
|
32
32
|
color: ${e=>e.theme.colors.primary};
|
|
33
33
|
}
|
|
34
|
-
`,
|
|
34
|
+
`,ze=d.div`
|
|
35
35
|
display: flex;
|
|
36
36
|
flex-direction: column;
|
|
37
37
|
width: 100%;
|
|
38
|
-
`,
|
|
38
|
+
`,De=d.div`
|
|
39
39
|
display: flex;
|
|
40
40
|
flex-direction: column;
|
|
41
41
|
padding-left: ${o.sp4};
|
|
@@ -46,21 +46,21 @@ import{X as M,j as l,_ as A,cm as K,C as g,o,q as n,cg as _,cp as G,co as q,u as
|
|
|
46
46
|
transition:
|
|
47
47
|
visibility 250ms ease-in-out,
|
|
48
48
|
max-height 250ms ease-in-out;
|
|
49
|
-
`,
|
|
49
|
+
`,Pe=d.div`
|
|
50
50
|
display: flex;
|
|
51
51
|
flex-direction: row;
|
|
52
52
|
margin-bottom: ${o.sp3};
|
|
53
53
|
justify-content: space-between;
|
|
54
|
-
`,
|
|
54
|
+
`,Te=d(K)`
|
|
55
55
|
display: flex;
|
|
56
56
|
color: ${e=>e.theme.colors.primary};
|
|
57
57
|
`,Z=d(Y)`
|
|
58
58
|
display: flex;
|
|
59
59
|
color: ${e=>e.theme.colors.hero};
|
|
60
|
-
`,
|
|
60
|
+
`,Oe=d.div`
|
|
61
61
|
display: flex;
|
|
62
62
|
.roleTitle {
|
|
63
|
-
color: ${e=>e.isError?
|
|
63
|
+
color: ${e=>e.isError?z.important:e.theme.colors.hero};
|
|
64
64
|
}
|
|
65
65
|
.roleSubTitle {
|
|
66
66
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -87,7 +87,7 @@ import{X as M,j as l,_ as A,cm as K,C as g,o,q as n,cg as _,cp as G,co as q,u as
|
|
|
87
87
|
`,Be=d.div`
|
|
88
88
|
display: flex;
|
|
89
89
|
flex-direction: column;
|
|
90
|
-
`,Me=d(
|
|
90
|
+
`,Me=d(K)`
|
|
91
91
|
display: flex;
|
|
92
92
|
`,Le=d(Y)`
|
|
93
93
|
display: flex;
|
|
@@ -105,11 +105,11 @@ import{X as M,j as l,_ as A,cm as K,C as g,o,q as n,cg as _,cp as G,co as q,u as
|
|
|
105
105
|
display: flex;
|
|
106
106
|
flex-direction: column;
|
|
107
107
|
padding-left: ${o.sp3};
|
|
108
|
-
`,
|
|
108
|
+
`,Ne=d(ve)`
|
|
109
109
|
width: ${o.sp4};
|
|
110
110
|
height: ${o.sp4};
|
|
111
111
|
color: ${e=>e.theme.colors.hero};
|
|
112
|
-
`,
|
|
112
|
+
`,Ue=d(we)`
|
|
113
113
|
width: ${o.sp4};
|
|
114
114
|
height: ${o.sp4};
|
|
115
115
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -134,8 +134,8 @@ import{X as M,j as l,_ as A,cm as K,C as g,o,q as n,cg as _,cp as G,co as q,u as
|
|
|
134
134
|
flex-direction: column;
|
|
135
135
|
margin-right: ${e=>E.allRolesMarginLeftRight.valuePx(e.windowSize)};
|
|
136
136
|
margin-left: ${e=>E.allRolesMarginLeftRight.valuePx(e.windowSize)};
|
|
137
|
-
color: ${e=>e.theme.mode==="light"?
|
|
138
|
-
`,Je=e=>{switch(e){case"bookkeeping":return l.jsx(
|
|
137
|
+
color: ${e=>e.theme.mode==="light"?z.brandColorOnyx:z.brandColorPearl};
|
|
138
|
+
`,Je=e=>{switch(e){case"bookkeeping":return l.jsx(Ne,{});case"zeni_bill_pay":return l.jsx(Ue,{});case"zeni_reimbursements":return l.jsx(Fe,{});case"zeni_checking":return l.jsx(He,{});case"zeni_cards":return l.jsx(Ae,{});case"zeni_treasury":return l.jsx(We,{});default:return null}},qe=e=>l.jsxs(Be,{children:[l.jsx(Me,{className:"roleTitle",children:F[e].label}),l.jsx(Le,{className:"roleSubTitle",children:F[e].subTitle}),l.jsx(Ve,{className:"roleSuitableFor",children:F[e].roleSuitableFor})]}),Ge=({name:e,isDisabled:s,selectedValue:i,onSelectionChanged:c})=>{const{formState:{errors:p}}=_(),a=Q(p,`${e}.userRole.selectedRole`),f=M(),$=i.productsByUserRole.employee.findIndex(h=>h.productType==="zeni_reimbursements"),b=k.useCallback(h=>{const t=se([h]),C=ae(h),v=ne(i.productsByUserRole[t]),R=v.findIndex(P=>P.productType===C),L=v[R].selectedOption?.value===h;R>-1&&(v[R]={...v[R],selectedOption:L?void 0:v[R].options.filter(P=>P.value===h)[0]});const N={userRole:{selectedRole:t,allRootRole:i.userRole.allRootRole},productsByUserRole:{...i.productsByUserRole,[t]:[...v]}};c(N)},[c,i]),y=i.userRole.selectedRole,u=k.useMemo(()=>y!=null?(i.productsByUserRole[y]??[]).map(h=>I.toUserRoleTypeStrict(h.selectedOption?.value)).filter(h=>h!=null):[],[y,i.productsByUserRole]);k.useEffect(()=>{y==="employee"&&u.length===0&&$>-1&&b("reimbursements_user")},[y,u,$,b]);const x=i.userRole.allRootRole,D=h=>h==="employee"&&i.userRole.selectedRole==="employee";return s==="readonly"?l.jsx(Ze,{windowSize:f,children:l.jsx(Re,{roles:u})}):l.jsx(ze,{children:x.map(h=>l.jsxs(ke,{windowSize:f,children:[l.jsx(Oe,{isError:a,children:l.jsx(de,{isDisabled:s,label:{label:qe(h)},style:{paddingBottom:o.sp4,alignItems:"flex-start"},radioField:{name:`${e}.userRole.selectedRole`,id:`${e}.${h}`,value:h,radioSize:"small",checked:i.userRole.selectedRole===h,style:{marginTop:o.sp1}}})}),l.jsx(De,{windowSize:f,isCollapsed:D(h),roleCount:i.productsByUserRole[h].length,children:i.productsByUserRole[h].map(t=>l.jsxs(Pe,{children:[l.jsxs(Ie,{children:[l.jsx(Ee,{children:t.productType&&Je(t.productType)}),l.jsxs(_e,{children:[l.jsx(Te,{children:t.label}),f==="small"?l.jsx(W,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b}):null,l.jsx(Z,{children:t.subTitleUser}),l.jsx(Z,{children:t.subTitleAdmin})]})]}),f!=="small"?l.jsx(W,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b,isDisabled:s}):null]},t.productType))})]},h))})},Qe=({name:e,defaultValue:s,isDisabled:i,registerOptions:c})=>{const{control:p}=_();return l.jsx(G,{name:e,control:p,defaultValue:s,rules:c,render:({field:{onChange:a,value:f}})=>{const $=f;return l.jsx(Ge,{onSelectionChanged:b=>{a(b)},selectedValue:$,name:e,isDisabled:i})}})},S={width:new g(343,580,726),height:new g(n[6],n[6]),paddingTopBottom:new g(n[2],n[2]),labelPaddingLeft:new g(n[3],n[4]),labelPaddingRight:new g(n[3],n[4]),labelPaddingTop:new g(n[2],n[2]),labelPaddingBottom:new g(n[2],n[3])};function bo({isDisabled:e,label:s,rolesDropDownField:i,style:c}){const p=M();return l.jsxs(Xe,{size:p,style:c,isDisabled:e!=null,children:[l.jsx(q,{isDisabled:e,label:s.label,htmlFor:i.name,style:{paddingLeft:S.labelPaddingLeft.value(p),paddingRight:S.labelPaddingRight.value(p),paddingTop:S.labelPaddingTop.value(p),paddingBottom:S.labelPaddingBottom.value(p)}}),l.jsx(Qe,{...i,isDisabled:e})]})}const Xe=d.div`
|
|
139
139
|
display: flex;
|
|
140
140
|
flex-direction: ${e=>e.isDisabled?"row":"column"};
|
|
141
141
|
align-items: ${e=>e.isDisabled?"center":"flex-start"};
|
|
@@ -169,7 +169,7 @@ import{X as M,j as l,_ as A,cm as K,C as g,o,q as n,cg as _,cp as G,co as q,u as
|
|
|
169
169
|
border-color: inherit;
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
|
-
`;function
|
|
172
|
+
`;function Ke({onSelectionChanged:e,forZeniUser:s,selectedRoles:i,allRoles:c,disable:p=!1,isMulti:a=!1,clearSelectedRole:f,style:$,name:b,isValuePlacedAtEnd:y=!0}){const[u,x]=k.useState(),{formState:{errors:D}}=_(),h=Q(D,b??"");k.useEffect(()=>{const r=c.filter(m=>i!=null&&i.includes(m.value));x(a?r:r[0])},[i]),k.useEffect(()=>{f===!0&&a===!1&&x(void 0)},[f]);const t=X(),C=M(),v=JSON.parse(JSON.stringify(c));if(i!=null&&s){if(!i.includes("admin")){const r=v.findIndex(m=>m.value==="admin");v.splice(r,1)}if(!i.includes("bookkeeping_admin")){const r=v.findIndex(m=>m.value==="bookkeeping_admin");v.splice(r,1)}}const R=t.colors.grey5,L=V.smallRegular.cssObject,N=L,P=u?.length>3,ee={control:r=>({...r,backgroundColor:"inherit",boxShadow:R,border:"none",cursor:"pointer",":hover":{backgroundColor:"inherit"},flexWrap:"nowrap",marginTop:"unset"}),container:r=>({...r,fill:t.colors.hero,":hover":{fill:t.colors.primary},width:"100%",...$}),valueContainer:r=>({...r,flexWrap:P?"wrap":"nowrap",width:C==="small"||!a?"auto":"263px",paddingTop:"unset",cursor:"pointer",...N,overflow:"visible",minWidth:"auto",paddingLeft:o.sp0,paddingRight:o.sp0,display:"flex",justifyContent:"flex-start",fill:t.colors.hero,":hover":{">div>div":{fill:t.colors.primary,color:t.colors.primary}},">div:last-of-type":{span:{display:"none"}}}),singleValue:(r,m)=>({...r,color:m.selectProps.menuIsOpen===!0?t.colors.primary:t.colors.hero,maxWidth:"auto",overflow:"auto",":hover":{color:t.colors.primary},marginLeft:o.sp0,position:"inherit",transform:"none",top:o.sp0,marginRight:o.sp0,padding:o.sp0,...V.standardRegular.cssObject}),multiValue:(r,m)=>({...r,margin:0,minWidth:void 0,backgroundColor:void 0,color:m.selectProps.menuIsOpen===!0?t.colors.primary:t.colors.hero,":hover":{color:t.colors.primary},">div":{borderRadius:o.sp0,padding:o.sp0,borderLeftStyle:"solid",borderWidth:o.sp0,borderColor:t.colors.grey1,color:"unset"}}),menu:r=>({...r,backgroundColor:R,boxShadow:`${o.sp0} 2px ${o.sp2} ${t.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",width:C==="small"?"230px":"100%",right:C==="small"?o.sp0:"unset",borderRadius:o.sp1,margin:o.sp0,border:C==="small"?`1px solid ${t.colors.grey3}`:"unset"}),menuList:r=>({...r,maxHeight:"240px"}),option:(r,{isSelected:m,isDisabled:O,data:T})=>{const w=I.isNonZeniRole(T.value)&&s===!0,U=J(m,w,T.value,t);return{...r,height:w?44:40,padding:w?o.sp0:`${o.sp2} 12px`,marginTop:w?o.sp1:"unset",whiteSpace:"unset",display:"flex",alignItems:"center",opacity:1,...L,color:U,cursor:O?"not-allowed":"pointer",backgroundColor:m&&!w?t.colors.background:"transparent",">div":{backgroundColor:m?t.colors.background:"transparent"},borderTop:w||T.value==="delete"?`1px solid ${t.colors.background}`:"none","& label":{paddingRight:"10px"},"svg:nth-of-type(2)":{display:"none"},":hover":{color:J(!0,w,T.value,t),backgroundColor:m&&!w?t.colors.background:w?"transparent":t.colors.background,">div":{backgroundColor:t.colors.background},"svg:nth-of-type(1)":{display:w||s===!1?"inline-block":"none"},"svg:nth-of-type(2)":{display:w?"none":"inline-block"}},">div>div>div:first-of-type":{display:"flex"}}},indicatorsContainer:r=>({...r,alignItems:a?"flex-start":"center",paddingTop:P||!a?"unset":"5px"}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({paddingTop:a?o.sp1:"2px",svg:{marginLeft:a&&u?.length>0?"unset":"6px"}})},oe=r=>{const{isSelected:m}=r;return k.createElement(B.Option,{...r,key:r.data.value},l.jsxs(ao,{role:r.data.value,forZeniUser:s,children:[l.jsx(ce,{children:r.data.label}),!!m&&l.jsxs("div",{children:[l.jsx(pe,{width:o.sp3,height:o.sp3}),s===!0?l.jsx(ue,{width:o.sp3,height:o.sp3}):null]})]}))},le=r=>{const m=[];a&&r.forEach(O=>{m.push(O.value)}),e(a?m:r.value)},re=r=>{const{menuIsOpen:m,isFocused:O,isDisabled:T,selectProps:w}=r,{value:U}=w;return l.jsx(co,{menuIsOpen:m,isFocused:O,isDisabled:T,selectedValue:U,isError:h,isValuePlacedAtEnd:y,windowSize:C,children:l.jsx(B.Control,{...r,className:"select-control",children:r.children})})};return l.jsx(ie,{isMulti:a,menuPlacement:"auto",minMenuHeight:250,menuShouldScrollIntoView:!1,defaultValue:u,value:u,closeMenuOnSelect:!0,options:v,isDisabled:p,hideSelectedOptions:!1,onChange:r=>{le(r)},isClearable:!1,isSearchable:!0,components:{Control:re,DropdownIndicator:oo,Option:oe,MultiValueRemove:lo,IndicatorSeparator:ro,MultiValueLabel:io,ValueContainer:to,Placeholder:eo,Input:Ye},styles:ee,theme:r=>({...r,colors:{...r.colors,primary:R}}),placeholder:te.getLocalizedStrings().peoplePage.dropdownPlaceHolderText,isOptionDisabled:r=>s===!1&&r.enabled===!1||s===!0&&I.isNonZeniRole(r.value),classNamePrefix:"zeniRolesDropDown"})}const Ye=e=>{const{selectProps:s}=e,{placeholder:i,value:c,isMulti:p}=s;return l.jsx(B.Input,{...e,autoComplete:"new-password",placeholder:p===!0&&c?.length===0||c==null?i:void 0,children:e.children})},eo=()=>null,J=(e,s,i,c)=>e&&!s&&i!=="delete"?c.colors.primary:s?c.colors.grey1:i==="delete"?z.important:c.colors.hero,oo=()=>null,lo=()=>null,ro=()=>null,io=({children:e,data:s,...i})=>l.jsx(B.MultiValueLabel,{...i,children:l.jsxs(so,{children:[e,l.jsx(no,{className:"seperator",children:","})]})}),to=({children:e,...s})=>l.jsx(B.ValueContainer,{...s,className:"select-value-container",children:e}),so=d(me)`
|
|
173
173
|
padding: ${o.sp0} 2px;
|
|
174
174
|
max-width: 104px;
|
|
175
175
|
white-space: nowrap;
|
|
@@ -189,7 +189,7 @@ import{X as M,j as l,_ as A,cm as K,C as g,o,q as n,cg as _,cp as G,co as q,u as
|
|
|
189
189
|
.select-control {
|
|
190
190
|
border: none;
|
|
191
191
|
height: ${e=>e.windowSize==="small"?"auto":o.sp6};
|
|
192
|
-
background-color: ${e=>e.menuIsOpen&&e.isValuePlacedAtEnd===!0?e.theme.colors.background:e.isError===!0?
|
|
192
|
+
background-color: ${e=>e.menuIsOpen&&e.isValuePlacedAtEnd===!0?e.theme.colors.background:e.isError===!0?z.importantLight:e.theme.colors.grey5};
|
|
193
193
|
box-shadow: none;
|
|
194
194
|
&:hover {
|
|
195
195
|
fill: ${e=>e.theme.colors.primary};
|
|
@@ -247,18 +247,18 @@ import{X as M,j as l,_ as A,cm as K,C as g,o,q as n,cg as _,cp as G,co as q,u as
|
|
|
247
247
|
visibility: visible;
|
|
248
248
|
}
|
|
249
249
|
::placeholder {
|
|
250
|
-
color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?
|
|
250
|
+
color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?z.important:e.theme.colors.grey1};
|
|
251
251
|
}
|
|
252
252
|
}
|
|
253
253
|
}
|
|
254
254
|
.placeholder-container {
|
|
255
|
-
color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?
|
|
255
|
+
color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?z.important:e.theme.colors.grey1};
|
|
256
256
|
}
|
|
257
257
|
> div:nth-last-of-type(2) .seperator {
|
|
258
258
|
visibility: hidden;
|
|
259
259
|
}
|
|
260
260
|
}
|
|
261
|
-
`,po=({name:e,forZeniUser:s,registerOptions:i,defaultValue:c,isDisabled:p,isMulti:a,style:f,onSelectionChanged:$,isValuePlacedAtEnd:b=!0})=>{const{control:y}=_();return l.jsx(G,{name:e,control:y,defaultValue:c,rules:i,render:({field:{value:u,onChange:x}})=>l.jsx(
|
|
261
|
+
`,po=({name:e,forZeniUser:s,registerOptions:i,defaultValue:c,isDisabled:p,isMulti:a,style:f,onSelectionChanged:$,isValuePlacedAtEnd:b=!0})=>{const{control:y}=_();return l.jsx(G,{name:e,control:y,defaultValue:c,rules:i,render:({field:{value:u,onChange:x}})=>l.jsx(Ke,{onSelectionChanged:D=>{x({allOptions:c.allOptions,selectedOptions:D}),$?.(D)},forZeniUser:s,selectedRoles:u.selectedOptions,disable:p,isMulti:a,name:e,style:f,allRoles:c.allOptions,isValuePlacedAtEnd:b})})},j={width:new g(343,580,726),height:new g(n[6],n[6]),controlHeight:new g(n[6],n[6]),paddingTopBottom:new g(n[2],n[2]),marginRight:new g(n[2],n[2]),labelMarginLeft:new g(n[3],n[4]),labelMarginRight:new g(n[3],n[4]),labelMarginTop:new g(n[2],n[2])};function fo({isDisabled:e,label:s,zeniRolesDropDownField:i,style:c}){const p=M();return l.jsxs(uo,{size:p,style:c,isDisabled:e!=null,"data-testid":A("labeled-zeni-roles-dropdown-field",i.name),children:[l.jsx(q,{isDisabled:e,label:s.label,htmlFor:i.name,style:{marginLeft:j.labelMarginLeft.value(p),marginRight:j.labelMarginRight.value(p),marginTop:j.labelMarginTop.value(p),width:s.width??"auto"}}),l.jsx(po,{...i,isDisabled:e==="disabled"||e==="readonly",style:{display:"flex",flexGrow:1,width:s.width!=null?`calc(100% - ${s.width}px)`:"auto",height:p==="small"?"auto":o.sp6,minHeight:j.controlHeight.value(p)}})]})}const uo=d.div`
|
|
262
262
|
display: flex;
|
|
263
263
|
flex-direction: row;
|
|
264
264
|
align-items: flex-start;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as
|
|
1
|
+
import{X as W,a2 as ue,l as C,a as pe,c7 as me,i7 as P,hU as L,B as Q,c8 as he,j as a,F as ge,fB as xe,a4 as fe,o as t,C as m,k as be,a3 as je,ca as R,i8 as ye,d as Ce,v as I,aB as we,s as r}from"./index-DYVNUtTS.js";import{b as V,n as i}from"./vendor-CnQcJ2Lu.js";import Se from"./TransactionDetailPage-TJf3D0K6-ChXVy1nH.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./LabeledControlledCheckBoxField-CK8YBqJ7-dH7h4-c9.js";import"./TrendWithTransactions-BlGX9aVa-DUrKUprM.js";import"./TrendChart-BXjPAYgk-DjYRl65V.js";import"./chartTypes-CWEoqL4g-Bo1GQ9Y0.js";import"./toCOABalancesWithID-CkjYSysY-DF7YtxZI.js";import"./toChartData-BhKlnyso-CKLUlraQ.js";import"./NoDataChart-D43mhDJW-B9CXfEvp.js";import"./InsightsSection-CYkuQHcj-B18a-FIC.js";import"./NavigationDots-1wpj484Z-By9SVfKB.js";import"./TransactionList-fn6VXYIJ-XKKmCfLI.js";import"./BoxItem-nvtPdCwS-CiJFmSMj.js";import"./commonDimensions-UvndzJjv-DkCvzihA.js";import"./uploadAttachment-CWaYLqwb-DAXv_gFj.js";import"./radio-default-CiSgisfh-ub7QGXr8.js";const O={labelWidth:new m(120,145,160)},$e=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -12,14 +12,14 @@ import{X as H,a2 as ue,l as C,a as pe,c3 as me,i3 as P,hQ as L,M as W,c4 as he,j
|
|
|
12
12
|
`,De=i.div`
|
|
13
13
|
color: ${e=>e.theme.colors.primary};
|
|
14
14
|
margin: ${t.sp3} ${t.sp1};
|
|
15
|
-
${
|
|
15
|
+
${I.largeMedium.css};
|
|
16
16
|
`,ke=i.div`
|
|
17
17
|
display: flex;
|
|
18
18
|
flex: 1;
|
|
19
19
|
background-color: ${e=>e.theme.colors.grey3};
|
|
20
20
|
min-height: 1px;
|
|
21
21
|
max-height: 1px;
|
|
22
|
-
`,J=(e,l)=>`${e}.${l}`;function Ee({sectionId:e,jePostingDate:l,qboURL:
|
|
22
|
+
`,J=(e,l)=>`${e}.${l}`;function Ee({sectionId:e,jePostingDate:l,qboURL:n,isJELoading:s}){const u=Q.getLocalizedStrings(),{dateFormat:w,jeSchedules:{scheduleDetails:{linkJE:o,scheduleDetailsSection:S}}}=u,h=l.format(w.visual.MMMDCommaYYYYformat),g=W();return a.jsxs($e,{children:[a.jsx(De,{windowSize:g,children:S.header}),a.jsxs(ve,{children:[a.jsx(R,{label:{label:o.jePostingDate,width:O.labelWidth.value(g)},style:{width:"auto"},text:{type:"text",name:J(e,"jePostingDate"),placeholder:o.jeLinkURLPlaceholder,defaultValue:h,autoComplete:"new-password"},isDisabled:"disabled"}),a.jsx(ke,{}),a.jsx(R,{label:{label:o.jeLink,width:O.labelWidth.value(g)},style:{width:"auto"},text:{type:"url",name:J(e,"qboURL"),placeholder:o.jeLinkURLPlaceholder,defaultValue:n?.toString()??"",autoComplete:"new-password",style:{color:Ce.link},options:{pattern:ye}},isDisabled:s?"disabled":void 0})]})]})}const b={containerPaddingLeft:new m(r[3],r[3],r[6]),containerPaddingRight:new m(r[3],r[3],r[8]),navbarContainerPaddingTop:new m(r[2],r[3]),navbarContainerPaddingBottom:new m(r[4],r[5]),emptyScheduleHeight:new m(88,88)},M="linkJETransactionPage",G="linkJETransaction",X=Q.getLocalizedStrings(),{common:{footer:Y},dateFormat:Pe}=X,ut=({analytics:e,scheduleTab:l,jeScheduledTransaction:n,localData:s,saveStatus:u,isCOTEnabled:w,transactionDetail:o,firstMonthOfFY:S,qboAppUrl:h,authParams:g,isDisabled:Z,controllerUserDetails:A,isVendorBulkUpdateOnTransactionEnabled:K,onUpdateLocalData:ee,onBackClick:U,onCancelClick:te,onSaveClick:ae,onFetchTransactionClick:ne})=>{const p=W(),T=ue(u),j=C.getQBOUrlForLink(h.toString(),s.jeLink),$=C.getFirstControllerEmail(A.controllers),v=C.getFirstControllerId(A.controllerUserIds),B=()=>{const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryLinkCanceled({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),te()},x=pe({mode:"all",reValidateMode:"onChange",resetOptions:{keepDirtyValues:!0,keepErrors:!0},defaultValues:_(s,h),values:_(s,h)}),oe=()=>{ae()},ie=async d=>{ee(d)};V.useEffect(()=>{const d=x.watch((c,{name:ce})=>{ce!=null&&c!=null&&me(()=>ie(c))});return()=>{d.unsubscribe()}}),V.useEffect(()=>{if(u==="Completed"&&T==="In-Progress"){const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryLinkedSaved({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),U()}},[u,T,U]);const{common:{strings:{empty:N}},jeSchedules:{scheduleDetails:{linkJE:f}}}=X,le=()=>{if(s.jeLink?.transactionDetailID!=null){const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryQBOFetched({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),ne(s.jeLink.transactionDetailID)}},se=o!=null&&o.fetchState==="In-Progress",re=o!=null&&o.fetchState==="Error",D=o!=null&&o.fetchState==="Completed",de=o==null||o.fetchState==="Not-Started",z=s.jeLink.type==="recommended",F=he(x.formState.dirtyFields),k=x.formState.isValid,y=D&&F&&k||D&&z&&k,E=F&&k;return a.jsxs(Le,{children:[a.jsxs(Ae,{windowSize:p,children:[a.jsx(ze,{windowSize:p,children:f.linkJE}),a.jsx(Be,{children:a.jsx(Ne,{onClick:B})})]}),a.jsxs(Ie,{children:[a.jsx(Ue,{windowSize:p,children:a.jsx(ge,{...x,children:a.jsx("form",{id:q(M),onSubmit:x.handleSubmit(oe),children:a.jsx(Ee,{jePostingDate:s.postingDate,sectionId:G,qboURL:j,isJELoading:o?.fetchState==="In-Progress"})})})}),z?a.jsxs(Re,{windowSize:p,children:[a.jsx(Ve,{})," ",f.zeniRecommendation]}):null,D?a.jsx(Te,{children:a.jsx(Se,{isCOTEnabled:w,transactionDetail:o,firstMonthOfFY:S,transactionAttachmentEndpointToDownload:N,transactionAttachmentsEndpointToFetch:N,attachmentUploadEndpoint:"",authParams:g,isDisabled:Z??"readonly",isNavBarVisible:!1,containerStyles:{boxShadow:"none",backgroundColor:"inherit"},headerStyles:{boxShadow:"none",backgroundColor:"inherit"},autoCompleteData:{entityAutoCompleteView:{customer:[],vendor:[],fetchState:"Not-Started"}},isVendorBulkUpdateOnTransactionEnabled:K,onDeleteAttachment:()=>{},autoCompleteActions:{onAutoCompleteInputChange:()=>null,onCancelAutoComplete:()=>null,onAutoCompleteEntity:()=>null,onLoadOptions:()=>null},onUploadAttachmentAttachment:()=>null,enableBackClickOnSave:!0,saveLatestSelectedEntity:()=>null,updateVendorBulkRecommendationsFetchStatus:()=>null,setIsVendorUpdateAllChecked:()=>null})}):null,a.jsxs(Fe,{children:[re?a.jsx(H,{windowSize:p,children:f.transactionFetchError}):null,de?a.jsx(H,{windowSize:p,children:f.jeDetails}):null]}),se?a.jsx(xe,{fetchState:o?.fetchState}):null]}),y||E?a.jsx(fe,{formId:y?q(M):void 0,primaryBtn:{onClick:E&&!y?le:void 0,label:E&&!y?f.fetchJE:Y.save,isLoading:u==="In-Progress",isDisabled:u==="In-Progress"||o?.fetchState==="In-Progress"||o?.fetchState==="Error"},cancelBtn:{label:Y.cancel,shouldResetOnCancel:!0,onClick:B}}):null]})},q=e=>`${e}_form`,_=(e,l)=>({[G]:{qboURL:C.getQBOUrlForLink(l.toString(),e.jeLink),jePostingDate:e.postingDate.format(Pe.visual.MMMDCommaYYYYformat)}}),Le=i.div`
|
|
23
23
|
display: flex;
|
|
24
24
|
flex: 1 1 auto;
|
|
25
25
|
width: 100%;
|
|
@@ -28,10 +28,10 @@ import{X as H,a2 as ue,l as C,a as pe,c3 as me,i3 as P,hQ as L,M as W,c4 as he,j
|
|
|
28
28
|
justify-content: flex-start;
|
|
29
29
|
background-color: ${e=>e.theme.colors.grey4};
|
|
30
30
|
box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
31
|
-
`,
|
|
31
|
+
`,Ie=i.div`
|
|
32
32
|
padding: ${t.sp0} ${t.sp8};
|
|
33
33
|
flex-grow: 1;
|
|
34
|
-
`,
|
|
34
|
+
`,Ae=i.div`
|
|
35
35
|
display: flex;
|
|
36
36
|
align-items: center;
|
|
37
37
|
top: ${t.sp0};
|
|
@@ -48,12 +48,12 @@ import{X as H,a2 as ue,l as C,a as pe,c3 as me,i3 as P,hQ as L,M as W,c4 as he,j
|
|
|
48
48
|
flex: 1;
|
|
49
49
|
margin-bottom: ${t.sp12};
|
|
50
50
|
background-color: inherit;
|
|
51
|
-
`,
|
|
51
|
+
`,Be=i.div`
|
|
52
52
|
display: flex;
|
|
53
53
|
justify-content: flex-end;
|
|
54
54
|
align-items: center;
|
|
55
55
|
padding: ${t.sp3} ${t.sp0};
|
|
56
|
-
`,
|
|
56
|
+
`,Ne=i(je)`
|
|
57
57
|
cursor: pointer;
|
|
58
58
|
color: ${e=>e.theme.colors.hero};
|
|
59
59
|
width: ${t.sp4};
|
|
@@ -61,14 +61,14 @@ import{X as H,a2 as ue,l as C,a as pe,c3 as me,i3 as P,hQ as L,M as W,c4 as he,j
|
|
|
61
61
|
&:hover {
|
|
62
62
|
color: ${e=>e.theme.colors.primary};
|
|
63
63
|
}
|
|
64
|
-
`,
|
|
64
|
+
`,ze=i(be)`
|
|
65
65
|
display: flex;
|
|
66
66
|
width: 100%;
|
|
67
67
|
flex-grow: 1;
|
|
68
68
|
color: ${e=>e.theme.colors.primary};
|
|
69
69
|
margin: auto;
|
|
70
70
|
justify-content: center;
|
|
71
|
-
`,
|
|
71
|
+
`,H=i.div`
|
|
72
72
|
height: ${e=>b.emptyScheduleHeight.valuePx(e.windowSize)};
|
|
73
73
|
display: flex;
|
|
74
74
|
align-items: center;
|
|
@@ -78,11 +78,11 @@ import{X as H,a2 as ue,l as C,a as pe,c3 as me,i3 as P,hQ as L,M as W,c4 as he,j
|
|
|
78
78
|
background-color: ${e=>e.theme.colors.background};
|
|
79
79
|
color: ${e=>e.theme.colors.hero};
|
|
80
80
|
margin: ${t.sp3} ${t.sp1};
|
|
81
|
-
${
|
|
82
|
-
`,
|
|
81
|
+
${I.standardRegular.css};
|
|
82
|
+
`,Fe=i.div`
|
|
83
83
|
flex-grow: 1;
|
|
84
84
|
width: 100%;
|
|
85
|
-
`,
|
|
85
|
+
`,Re=i.div`
|
|
86
86
|
display: flex;
|
|
87
87
|
align-items: center;
|
|
88
88
|
gap: ${t.sp1};
|
|
@@ -91,7 +91,7 @@ import{X as H,a2 as ue,l as C,a as pe,c3 as me,i3 as P,hQ as L,M as W,c4 as he,j
|
|
|
91
91
|
color: ${e=>e.theme.colors.hero};
|
|
92
92
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
93
93
|
margin: ${t.sp3} ${t.sp1};
|
|
94
|
-
${
|
|
94
|
+
${I.standardRegular.css};
|
|
95
95
|
`,Ve=i(we)`
|
|
96
96
|
width: ${t.sp3};
|
|
97
97
|
height: ${t.sp3};
|
package/dist/assets/{LowBalancePopup-BEvuAR0Z-D9Mm46kU.js → LowBalancePopup-DHk6xd2B-V5eEOh0a.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{B,X as T,a as z,l as s,j as a,F as A,bS as F,cd as R,C as m,cg as W,o as e,bV as E,s as u,ap as U,a7 as N,bq as V}from"./index-DYVNUtTS.js";import{n as r}from"./vendor-CnQcJ2Lu.js";const d={labelWidth:new m(152,176,176),paddingBottom:new m(u[3],u[2]),width:new m(300,420,420),paddingRight:new m(u[4],u[3])},Y=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${t=>t.theme.colors.grey5};
|
|
@@ -6,13 +6,13 @@ import{M,X as R,a as T,l as s,j as a,F as W,bO as S,c9 as z,C as m,cc as A,o as
|
|
|
6
6
|
box-shadow: ${t=>`${e.sp0} 2px ${e.sp1} ${t.theme.colors.dropShadowNormal}`};
|
|
7
7
|
border-radius: ${e.sp2};
|
|
8
8
|
margin: ${t=>t.windowSize==="small"?`${e.sp5} ${e.sp3} ${e.sp6} ${e.sp3}`:`${e.sp5} ${e.sp8} ${e.sp6} ${e.sp8}`};
|
|
9
|
-
`,
|
|
9
|
+
`,q=r.div`
|
|
10
10
|
display: flex;
|
|
11
11
|
flex: 1;
|
|
12
12
|
background-color: ${t=>t.theme.colors.grey3};
|
|
13
13
|
min-height: 1px;
|
|
14
14
|
max-height: 1px;
|
|
15
|
-
`;function X({saveDetailsFetchState:t,paymentData:i,onProceedForMarkAsPaid:h,onCancel:y}){const{spendManagement:{billPay:{billDetails:{paymentOutsideZeni:g,paymentDate:f,cancel:n}}},dateFormat:{visual:x,analytics:b}}=
|
|
15
|
+
`;function X({saveDetailsFetchState:t,paymentData:i,onProceedForMarkAsPaid:h,onCancel:y}){const{spendManagement:{billPay:{billDetails:{paymentOutsideZeni:g,paymentDate:f,cancel:n}}},dateFormat:{visual:x,analytics:b}}=B.getLocalizedStrings(),{popUpTitle:w,paymentModeLabel:C,markAsPaid:v,defaultDateInfo:M,paymentModeOptions:$,selectDate:j,selectMethod:P}=g,l=T(),D="payment-outside-zeni-form",p="paymentMode",c="paymentDate",k=z({mode:"all",values:{[p]:{selectedOption:i?.paymentMode,allOptions:$.map(o=>o.value)},[c]:i?.paymentDate?.toDate()}}),O=k.handleSubmit(o=>{h({paymentDate:o[c]!=null?s.zeniDate(o[c].toString()):s.zeniDate(s.dateNow().startOf("month").format(b.YYYYDashMMDashDDFormat).toString()),paymentMode:o[p]?.selectedOption!=null?s.toOutsideZeniPaymentModeType(o[p]?.selectedOption):"other"})}),I=o=>$.find(L=>L.value===o)?.label??"";return a.jsx(A,{...k,children:a.jsx("form",{id:D,onSubmit:O,children:a.jsx(F,{formId:D,titleComponent:a.jsx(E,{children:w}),primaryButtonText:v,primaryButtonWidth:128,secondaryButtonWidth:128,secondaryButtonText:n,isLoading:t==="In-Progress",isDisabled:t==="In-Progress",isEditPopup:!0,shouldClickAway:t!=="In-Progress",action:{onOkClick:()=>null,onCancelClick:y},children:a.jsxs(Y,{windowSize:l,children:[a.jsx(R,{label:{label:C,width:d.labelWidth.value(l)},style:{width:d.width.valuePx(l)},singleSelectField:{singleSelect:{getLabelForId:I,showTickMark:!1,alwaysShowEyeTooltip:!1,name:p,placeholder:P,showValueEyeIcon:!1,showEyeIconOnSelect:!1},defaultValue:{selectedOption:i?.paymentMode,allOptions:$?.map(o=>o.value)??[]}},isFunctional:!0}),a.jsx(q,{}),a.jsx(W,{label:{label:f,width:d.labelWidth.value(l)},style:{paddingBottom:d.paddingBottom.valuePx(l),width:d.width.valuePx(l),borderRadius:e.sp0},additionalPaymentInfoLabel:M,additionalPaymentInfoLabelStyle:{borderBottomRightRadius:e.sp2,borderBottomLeftRadius:e.sp2,paddingTop:e.sp1,paddingBottom:e.sp1,paddingLeft:e.sp3,paddingRight:d.paddingRight.valuePx(l),textAlign:"left"},dateField:{name:c,placeholder:j,defaultValue:i?.paymentDate,dateFormat:x.defaultInput,maxDate:s.dateNow(),minDate:s.zeniDate("01 Jan 1900"),autoComplete:"off"}})]})})})})}const Q=({withdrawFrom:t,paymentDate:i,onOkClick:h,onCancelClick:y,onClickAway:g})=>{const{dateFormat:f,spendManagement:{billPay:n},common:{strings:x}}=B.getLocalizedStrings();if(t!=null&&i!=null){const b=`${t?.label} ${t?.maskedAccountNumber}`,w=a.jsx(G,{children:a.jsxs(J,{children:[a.jsx(S,{children:b}),n.insufficientFunds.popUp.hasLowBalance,x.space,n.insufficientFunds.popUp.addMoney,a.jsx(S,{children:i?.format(f.visual.MMMDFormat)}),n.insufficientFunds.popUp.avoidFailure]})});return a.jsx(F,{titleComponent:a.jsx(Z,{children:n.insufficientFunds.popUp.title}),primaryButtonText:n.billDetails.buttons.approveAnyways,secondaryButtonText:n.billDetails.editBill,containerStyle:{maxWidth:474},descriptionComponent:w,action:{onOkClick:h,onCancelClick:y,onClickAway:g},secondaryButtonWidth:166,primaryButtonWidth:"auto",showLine:!1,buttonSeparatorStyle:{width:e.sp3},buttonContainerStyle:{paddingBottom:e.sp6}})}},G=r.div`
|
|
16
16
|
display: flex;
|
|
17
17
|
flex-direction: column;
|
|
18
18
|
align-items: center;
|
|
@@ -21,14 +21,14 @@ import{M,X as R,a as T,l as s,j as a,F as W,bO as S,c9 as z,C as m,cc as A,o as
|
|
|
21
21
|
padding-right: ${e.sp7};
|
|
22
22
|
margin-top: ${e.sp3};
|
|
23
23
|
white-space: pre-line;
|
|
24
|
-
`,
|
|
24
|
+
`,J=r(U)`
|
|
25
25
|
color: ${t=>t.theme.colors.hero};
|
|
26
|
-
`,
|
|
26
|
+
`,S=r(N)`
|
|
27
27
|
color: ${t=>t.theme.colors.primary};
|
|
28
|
-
`,
|
|
28
|
+
`,Z=r(V)`
|
|
29
29
|
margin-top: ${e.sp6};
|
|
30
30
|
padding-left: ${e.sp8};
|
|
31
31
|
padding-right: ${e.sp8};
|
|
32
32
|
color: ${t=>t.theme.colors.primary};
|
|
33
33
|
word-break: break-word;
|
|
34
|
-
`;export{
|
|
34
|
+
`;export{Q as o,X as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as l}from"./index-
|
|
1
|
+
import{j as l}from"./index-DYVNUtTS.js";import{f as y}from"./ACHDetailsPage-DVi_fb5U-BWoXmLUY.js";import"./mui-C5LQ0bMa.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection--b6oxmO3-bf21H1-K.js";import"./MagicLinkTitleSection-K2cZQVzq-CIEidPVy.js";import"./BankAccountSection-CYYTnOEW-ta40gqBk.js";const j=({magicLinkViewState:t,magicLinkBankAccountDetails:a,onSaveHandler:e,onACHDetailsUpdated:o,onFetchBankName:n,isDisabled:i,companyName:r})=>{const{fetchState:m,error:c,bankNameByRouting:p,bankAccountToCreate:s,fetchBankNameByRoutingStatus:u}=a,{currencySymbol:k,amount:f}=t;return l.jsx(y,{bankAccountToCreate:s,bankAccountCreationState:{fetchState:m,error:c},bankNameByRouting:p,fetchBankNameByRoutingStatus:u,onSaveHandler:e,onACHDetailsUpdated:o,onFetchBankName:n,isDisabled:i,companyName:r,isMagicLink:!0,currencySymbol:k,amount:f})};export{j as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as S}from"./index-
|
|
1
|
+
import{j as S}from"./index-DYVNUtTS.js";import{y as b}from"./DomesticWireDetailsPage-BhwTfZwI-lG3b6Dqd.js";import"./mui-C5LQ0bMa.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountSection-CYYTnOEW-ta40gqBk.js";import"./MagicLinkTitleSection-K2cZQVzq-CIEidPVy.js";import"./BankAccountWarningSection--b6oxmO3-bf21H1-K.js";import"./MailingDetailsSection--zHyCquq-Cn3SWfKt.js";import"./LabeledAddressValueField-B6eeRCSM-BGM6iGCs.js";const F=({magicLinkViewState:t,magicLinkBankAccountDetails:e,mailingAddressDetails:a,isDisabled:o,companyName:r,onSaveHandler:i,onWireDetailsUpdated:n,onFetchBankName:m,onAddressClick:s})=>{const{fetchState:c,error:d,bankNameByRouting:p,bankAccountToCreate:u,fetchBankNameByRoutingStatus:k}=e,{currencySymbol:l,amount:y}=t;return S.jsx(b,{bankAccountToCreate:u,bankAccountCreationState:{fetchState:c,error:d},bankNameByRouting:p,addressToEdit:a,addressType:"vendor_address",fetchBankNameByRoutingStatus:k,isDisabled:o,onSaveHandler:i,onWireDetailsUpdated:n,onAddressClick:s,onFetchBankName:m,companyName:r,isMagicLink:!0,currencySymbol:l,amount:y})};export{F as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as B}from"./index-
|
|
1
|
+
import{j as B}from"./index-DYVNUtTS.js";import{f as S}from"./InternationalWireSwiftDetailsPage-BTbTUt8U-DHwEWLr_.js";import"./mui-C5LQ0bMa.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection--b6oxmO3-bf21H1-K.js";import"./MailingDetailsSection--zHyCquq-Cn3SWfKt.js";import"./LabeledAddressValueField-B6eeRCSM-BGM6iGCs.js";import"./MagicLinkTitleSection-K2cZQVzq-CIEidPVy.js";const L=({magicLinkViewState:t,magicLinkBankAccountDetails:a,mailingAddressDetails:e,isDisabled:n,companyName:i,onSaveHandler:o,onBankDetailsUpdated:r,onFetchBankNameBySwift:m,onAddressClick:s})=>{const{internationalBankAccountCreateStatus:c,internationalBankAccountToCreate:d,fetchBankNameBySwiftStatus:p,bankNameBySwift:k}=a,{currencySymbol:l,amount:u}=t;return B.jsx(S,{bankAccountToCreate:d,bankAccountCreationState:c,bankNameBySwift:k,addressToEdit:e,addressType:"vendor_address",fetchBankNameBySwiftStatus:p,isDisabled:n,onSaveHandler:o,onBankDetailsUpdated:r,onAddressClick:s,onFetchBankNameBySwift:m,companyName:i,isMagicLink:!0,currencySymbol:l,amount:u})};export{L as default};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import{ac as r,B as n,j as t,ak as l,o,c,c4 as a,k as p}from"./index-DYVNUtTS.js";import{n as i}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const M=()=>{const[e]=r("Confetti"),s=n.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen;return e!=null?t.jsxs(m,{children:[t.jsx(l,{loop:!1,play:!0,segments:[100,299],animationData:e,style:{position:"absolute"},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}),t.jsx(u,{children:t.jsx(x,{})}),t.jsxs(d,{children:[t.jsx(g,{children:s.successTitle}),t.jsx(h,{children:s.successNote})]})]}):null},m=i.div`
|
|
2
|
+
z-index: 999;
|
|
3
|
+
height: 100vh;
|
|
4
|
+
width: 100%;
|
|
5
|
+
background-color: ${e=>e.theme.colors.background};
|
|
6
|
+
position: relative;
|
|
7
|
+
display: flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
`,d=i.div`
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
align-items: center;
|
|
14
|
+
justify-content: center;
|
|
15
|
+
opacity: 80%;
|
|
16
|
+
margin: 0 ${o.sp4};
|
|
17
|
+
`,g=i(a)`
|
|
18
|
+
color: ${e=>e.theme.colors.primary};
|
|
19
|
+
text-align: center;
|
|
20
|
+
`,h=i(p)`
|
|
21
|
+
color: ${e=>e.theme.colors.hero};
|
|
22
|
+
text-align: center;
|
|
23
|
+
`,u=i.div`
|
|
24
|
+
position: absolute;
|
|
25
|
+
top: ${o.sp5};
|
|
26
|
+
left: ${o.sp5};
|
|
27
|
+
background-color: ${e=>e.theme.colors.background};
|
|
28
|
+
`,x=i(c)`
|
|
29
|
+
color: ${e=>e.theme.colors.primary};
|
|
30
|
+
height: ${o.sp4};
|
|
31
|
+
`;export{M as default};
|