@zeniai/web-cockpit-ui 1.14.72-dev-betaSK01 → 1.14.73-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-BZFkcCOG-WfBPHoUX.js → ACHDetailsPage-FHBR2PCA-DLva-SPh.js} +2 -2
- package/dist/assets/{AIPerformancePage-DtNLjoUW-CinUSJg2.js → AIPerformancePage-CiYLvD6Z-bHSk8bLC.js} +124 -124
- package/dist/assets/AccountInfoPage-B0uMPZhx-BIQF2gH2.js +18 -0
- package/dist/assets/{AccountInfoPageContent-B8GKrtCm-10kK72ec.js → AccountInfoPageContent-CdgOtpop-AHRejHe6.js} +13 -13
- package/dist/assets/AccountLockedInfoModal-DnQEp6tD-BW8Fp--s.js +59 -0
- package/dist/assets/AccountReconDetailsDrawerPage-BxjUNX_b-C4CXpIA8.js +239 -0
- package/dist/assets/AccountRow-C6z4Ft3r-BFimoTCg.js +298 -0
- package/dist/assets/AccountsPromoCardStack-BS-HxQ5z-BoaDvf04.js +207 -0
- package/dist/assets/{AddAddressForCardDrawer-Lm7cn4kq-DzFp-OyN.js → AddAddressForCardDrawer-qa7RqzlX-DAOW06gk.js} +2 -2
- package/dist/assets/{AddToWalletPage-nSq-9dQy-D56Hf4hb.js → AddToWalletPage-DNjsPMFK-r8gZ63eR.js} +22 -22
- package/dist/assets/AgingReportsPage-Dmgvzu2b-DiSOGn-n.js +79 -0
- package/dist/assets/AllUserItems-BBC-qn-o-D2MAzw4F.js +192 -0
- package/dist/assets/ApAgingDetailPage-YWdtNxkt-5BxHOM_M.js +46 -0
- package/dist/assets/{AppBasePage-Br0WbQRY-BAK8zLlg.js → AppBasePage-BnA8ceAD-BvanHCQt.js} +5 -5
- package/dist/assets/AppDrawerContent-DKHWPZQW-CEAxNC9t.js +91 -0
- package/dist/assets/ApprovalRulesSettingsPage-D4Vz_gLv-DJSQNR5P.js +47 -0
- package/dist/assets/ArAgingChart-CuHk_U2p-D7juYPVe.js +24 -0
- package/dist/assets/{ArAgingDetailPage-BlV3iJeW-D0lCDh_0.js → ArAgingDetailPage-H77B2AWo-DYwzxBIW.js} +3 -3
- package/dist/assets/{AttachmentView-DhluaeAV-DsM43aN0.js → AttachmentView-D1SPuem6-CmH4xHN2.js} +9 -9
- package/dist/assets/{BankAccountSection-GDEQdiGL-CmBLlIS1.js → BankAccountSection-ByfDYmEM-WCmaTn1f.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-Di_BsiJC-_Ul1tNJQ.js → BankAccountWarningSection-BTCdQgZV-Bb72qOHU.js} +9 -9
- package/dist/assets/BankConnectionsSettingsPage-L62aMW_s-Ce_PfdvA.js +425 -0
- package/dist/assets/BillDetailPage-BBQJpRTI-D0MlJ03G.js +266 -0
- package/dist/assets/{BillPayApprovalRuleDetailPage-BzyTn4mC-DxDRXjZW.js → BillPayApprovalRuleDetailPage-ByLLupWf-BGMDsIwH.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-DDJ-LxQz-B-4hhNoy.js → BillPayApprovalRulesPage-D4d-6Jnf-CF6fIJls.js} +7 -7
- package/dist/assets/BillPayPromoPage-CPGYF3vl-DVnbNH0W.js +84 -0
- package/dist/assets/BillPaySetUpPage-CeciDq-c-NzaXshML.js +42 -0
- package/dist/assets/BillingSettingsPage-DknUlTgB-CcR7ugmH.js +44 -0
- package/dist/assets/BillsBulkReviewDrawerPage-BIjlRcX--CZ4DepwQ.js +1 -0
- package/dist/assets/{BoxItem-COIjjFrn-CYZK_lth.js → BoxItem-D4K0YgBP-Bm_px4kT.js} +4 -4
- package/dist/assets/BusinessVerificationPage-CWioKmMC--fpYbOGK.js +138 -0
- package/dist/assets/{CardNumberSubText-CmhH95Ff-D70_vfvB.js → CardNumberSubText-C_03r_B--CXrhgc3z.js} +1 -1
- package/dist/assets/{CashbackDetailPage-BPLjvuA3-D2AlurqK.js → CashbackDetailPage-BaImXBc2-BqUQeIYw.js} +56 -56
- package/dist/assets/{ChargeCardDetailPage-qOu4cPGd-CMQ9x73T.js → ChargeCardDetailPage-Ba7cRz0p-DYtlHHMF.js} +214 -214
- package/dist/assets/ChargeCardListPage-BTH_OAht-CJvC6mTi.js +406 -0
- package/dist/assets/{ChargeCardListTable-BGWV4zJl-CcT6S7FA.js → ChargeCardListTable-DpRWVPmZ-CcrBBELQ.js} +54 -54
- package/dist/assets/ChargeCardPromoPage-B3bc_Qcj-DVNboRNz.js +222 -0
- package/dist/assets/ChargeCardSetupPage-3-7oaikG-BYx_BUtm.js +36 -0
- package/dist/assets/{ChargeCardStatementsPage-CJgUrcLz-BY-SWhAj.js → ChargeCardStatementsPage-3HMKClyw-mCs_-TXo.js} +4 -4
- package/dist/assets/ChargeCardUtils-Cx6ntaue-CziTslau.js +1 -0
- package/dist/assets/{ChaseOverlay-BC_4vwtb-BQqHx8M-.js → ChaseOverlay-1PyDzocW-DV1roPs3.js} +8 -8
- package/dist/assets/{CheckDepositDrawerPage-CDo5E13X-CKNKZDF1.js → CheckDepositDrawerPage-DTADpJQC-sqk-xG07.js} +20 -20
- package/dist/assets/CollapsableReportTable-rEGCWPrN-DiziLVLU.js +2932 -0
- package/dist/assets/CompanyOfficerDetailsSection-Dpe50aqM-B1Sor9Us.js +260 -0
- package/dist/assets/{CompanyPassportCard-D3F01eJL-BhEJq4YF.js → CompanyPassportCard-l9sgkbw_-BXrIXjOn.js} +3 -3
- package/dist/assets/CompanyPassportPage-DQPGAnFq-DsQ6naIu.js +574 -0
- package/dist/assets/CompleteProfile-DJBScNev-5kVXmwEh.js +52 -0
- package/dist/assets/{ConfettiBurst--HIHB7Os-S4QyIwiq.js → ConfettiBurst-DukumtTx-CSzALiwF.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-D9jmSrKr-DpdjBsSE.js → CreateOrEditVendorPage-C39AEROO-Df_MDMmD.js} +11 -11
- package/dist/assets/CreditCardPaymentDrawerPage-D8VUjeG2-Nczpa7J9.js +224 -0
- package/dist/assets/{CreditCardPaymentPlgSection-8ZShMO31-COciJwfu.js → CreditCardPaymentPlgSection-L8WvXQsE-Dx-X3Ggn.js} +10 -10
- package/dist/assets/{CurrencySelectField-nhg_dhDw-nZHVWMo0.js → CurrencySelectField-yIymL1et-BBkhU934.js} +6 -6
- package/dist/assets/{CustomerOnboardingActivationPage-CoGvz7Kd-1Tt5lNh3.js → CustomerOnboardingActivationPage-BKBFtr-o-B3t33ZLt.js} +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-BwRlnH01-Di0CtCSz.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DUGRKWtN-ClKlbRH6.js → CustomerOnboardingDetailPageSkeleton-BsnPvucg-BEvywTxp.js} +13 -13
- package/dist/assets/{CustomerOnboardingNoStepsPage-Cc5frP29-Pt9D5fwX.js → CustomerOnboardingNoStepsPage-Db1DFgQR-DfT9hNRl.js} +2 -2
- package/dist/assets/CustomerOnboardingPage-BoF4bXiW-CKAc0RQX.js +107 -0
- package/dist/assets/CustomerOnboardingProductSuitePage-BdGFZtH3-DLLnRFgg.js +202 -0
- package/dist/assets/{Dashboard-D6Ba5oj0-C5iZr7Dc.js → Dashboard-hADP7IBB-Bk1vjezx.js} +262 -262
- package/dist/assets/DashboardReportPage-BwTchCvy-O2bBIky3.js +371 -0
- package/dist/assets/{DashboardSidebarBackgroundAnimation-Locz2zHR-Bhgpjfq-.js → DashboardSidebarBackgroundAnimation-B-w4cVMW-BWggpu2o.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-B0BGwVqF-Cwta5ei3.js → DepositAccTransactionItem-BMkCcz-U-g-iJ8Z3m.js} +4 -4
- package/dist/assets/DepositAccTransactionListPage-D6h0mu0p-Cba8Z-zG.js +66 -0
- package/dist/assets/DomesticWireDetailsPage-DQG9O9kV-DkLiQ_AK.js +21 -0
- package/dist/assets/DownloadOverlay-mXe-oklf-DPD6fOSt.js +439 -0
- package/dist/assets/{DrawerPage-BRD6cE6J-1UMYAHb7.js → DrawerPage-DSbF_bCc-BOfcYWDU.js} +13 -13
- package/dist/assets/EditPeoplePage-DnE5ud-m-STxMbpu_.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-CtHzBFwx-CcMSn1Z9.js +865 -0
- package/dist/assets/EntityDetailPage-CSR_wxIn-C3ytfDma.js +18 -0
- package/dist/assets/{EntitySummarySection-BRt1kPDf-DQbEIQFx.js → EntitySummarySection-BP9sqkp_-C8j67E3x.js} +28 -28
- package/dist/assets/{ExpenseAutomationOverviewPage-vUkGameq-CHnaqssF.js → ExpenseAutomationOverviewPage-C-ZrFIVW-LPRP5OZt.js} +50 -50
- package/dist/assets/ExpenseAutomationPage-BEhjUkgs-DU0Mp3Bk.js +1650 -0
- package/dist/assets/ExpressPayPage-C9rqylRE-fd6R9yCg.js +168 -0
- package/dist/assets/{FeaturePreviewPage-CQN2xThT-DJXN60Ac.js → FeaturePreviewPage-BcRRbP7e-DlhiW3MZ.js} +3 -3
- package/dist/assets/{FollowStepsSection-DdwEVWhG-yjJ5FRCa.js → FollowStepsSection-B3Kyt5j4-CgmrU6eD.js} +7 -7
- package/dist/assets/GlobalReviewListPage-Bz-YyIK8-B-UTCvpv.js +291 -0
- package/dist/assets/HelpButton-38HaKgFL-BugYIsvp.js +28 -0
- package/dist/assets/{InformationCardStack-Cw7c9Pnd-BX2LTL8l.js → InformationCardStack-BY26HFGi-BLGIbInA.js} +4 -4
- package/dist/assets/InsightsCardStack-BI7iTuQ_-DQl2fOce.js +79 -0
- package/dist/assets/{InsightsSection-JIKb9lz3-Hi0aN8hq.js → InsightsSection-AQ5yTmGG-DS0VgX7W.js} +3 -3
- package/dist/assets/{IntegrationsSettingsPage-h4pel2yK-CxqwarZy.js → IntegrationsSettingsPage-BEAFHjYf-d2P0RMG5.js} +8 -8
- package/dist/assets/{InternationalWireSwiftDetailsPage-C2SnHEV1-CzlIxaS1.js → InternationalWireSwiftDetailsPage-DNvv8jLc-dT-poZdm.js} +16 -16
- package/dist/assets/{InternationalWireVerificationPage-Dk11ztF7-BCCRbUea.js → InternationalWireVerificationPage-BdUXxMgU-DhF9zfHu.js} +27 -27
- package/dist/assets/{InviteFormPage-CrtH0cSG-eVIYbN0r.js → InviteFormPage-CY-8DzRS-Bfynw6ME.js} +16 -16
- package/dist/assets/{InvitePageListView-DUoopPip-D5qrm4ww.js → InvitePageListView-DXjKBR4k-Np2jy73K.js} +164 -164
- package/dist/assets/InvitePeoplePage-CIafIgkR-BdmOchmq.js +12 -0
- package/dist/assets/InvoiceUploadSection-cXNOY5jR-DGuQgS61.js +140 -0
- package/dist/assets/{IssueChargeCardPage-D6DCohbK-BMG4Ljit.js → IssueChargeCardPage-DN1zD_YI-i_-kvzIl.js} +1 -1
- package/dist/assets/{LabeledAddressValue-C3R0DSjj-CpxXKm9c.js → LabeledAddressValue-Bk3vXfZU-CU4YMzA1.js} +1 -1
- package/dist/assets/LabeledAddressValueField-6MpVMde--DXTq8JS8.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-zwoLFM1n-B44wDW2V.js → LabeledControlledCheckBoxField-BjYGaRbt-BGdAOJoA.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-BhaeopJt-tsmH64cn.js → LabeledCreatableSingleSelectField-9q4Lqszf-Csk7xXRk.js} +7 -7
- package/dist/assets/LabeledDocumentField-CAWaftIF-CSQ4X3Cr.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-brzU_fnp-hUkbh0bF.js → LabeledDropDownFormattedTextField-WbohTHp8-Bsf-e-tx.js} +5 -5
- package/dist/assets/{LabeledText-BESSkt5Z-CPDVK04g.js → LabeledText-B3JYr4tU-laTDcIhJ.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-vEIvvd-n-DaWgPr9f.js → LabeledUserSingleSelectWithSubtitlesField-DHOsMX6S-5w6248s9.js} +18 -18
- package/dist/assets/{LabeledZeniRolesDropDownField-BXTCN4j2-CLEMt0Ht.js → LabeledZeniRolesDropDownField-DcUdbKa4-fYq87dcd.js} +34 -34
- package/dist/assets/LinkJETransactionPage-B1XJOlhU-DdWugwxQ.js +98 -0
- package/dist/assets/{LockCardPage-DYfgK11k-BFAZ4k7o.js → LockCardPage-B-EvOmPO-B73f-ypE.js} +66 -66
- package/dist/assets/LowBalancePopup-BoFHsW5A-B3QtlbXZ.js +34 -0
- package/dist/assets/{MagicLinkACHDetailsPage-CLXcRbZ--B-X6oebP.js → MagicLinkACHDetailsPage-D5-czDfb-D9jHfcHK.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-CZlZr96w-DllJxuHV.js → MagicLinkDomesticWireDetailsPage-DxtWixFB-79ayjypJ.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-DhPjvv0o-BIaiGIsd.js → MagicLinkInternationalWireDetailsPage-kmj9pdzN-DnNURYN2.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-Bh2nlLPN-6rfZopUb.js → MagicLinkSuccessPage-BPzk03R8-SXgLVDgR.js} +3 -3
- package/dist/assets/MagicLinkTitleSection-CgS4ZMfb-BI5Lq2SW.js +17 -0
- package/dist/assets/{MailingDetailsSection-9RwlQxVG-_UrE81Sw.js → MailingDetailsSection-BktKZ2Nr-DyWKpOiG.js} +2 -2
- package/dist/assets/{MeetingCalenderPopup-BxV_UIXP-BXGtVHle.js → MeetingCalenderPopup-2tPtQeqB-QatkmFKh.js} +4 -4
- package/dist/assets/{Menu-B6iTf2H7-Cu2Vb11u.js → Menu-CV1BBSGW-DKOqAYYS.js} +2 -2
- package/dist/assets/MyBankConnectionsSettingsPage-CMyrZ4nS-BheEjXSF.js +110 -0
- package/dist/assets/MyPendingActivationChargeCardListPage-DuOoKlPP-thKNb-ry.js +6 -0
- package/dist/assets/MyProfileSettingsPage-CA-5gU5k-BFEIvdNu.js +85 -0
- package/dist/assets/{NavBarWithPicker-CKh_HMfV-i4ObGPrS.js → NavBarWithPicker-DuazRsm7-BXAVo-zX.js} +4 -4
- package/dist/assets/{NavigationArrow-XZmJpDrE-DolsLofY.js → NavigationArrow-DnZuPnXh-BOLYjEri.js} +2 -2
- package/dist/assets/{NavigationDots-BxPgEW_p-Cjr25BX_.js → NavigationDots-DarWlthl-CEtLiSj-.js} +3 -3
- package/dist/assets/{NewGlobalMerchantPage-CQzrDe0S-K2NUXsKS.js → NewGlobalMerchantPage-C5zI88lM-DBDRlSHQ.js} +35 -35
- package/dist/assets/{NoDataChart-5E72SElf-3CnLxisw.js → NoDataChart-Dwrv5FXT-BktYGhJl.js} +4 -4
- package/dist/assets/{NoDataTable-BwHbkm3l-VTHrTfOq.js → NoDataTable-BT9VQUID-B1zJzLW9.js} +2 -2
- package/dist/assets/{NotFoundPage-6udaksBZ-DUgTbMe0.js → NotFoundPage-BpVYjIy9-CAwSGm4b.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-DkYmxMgg-BVRECpS0.js → NotificationSettingsPage-Br1VS7sj-D72VzMEy.js} +32 -32
- package/dist/assets/{NotificationsListConfig-FGxLgO1o-C0kfEx8A.js → NotificationsListConfig-COCJ7xUp-B665e_3O.js} +1 -1
- package/dist/assets/NotificationsPage-CtIcIo4T-DuWbZv_Q.js +685 -0
- package/dist/assets/{OpExByVendorPage-CM0RluUk-PZB-G7xm.js → OpExByVendorPage-CTdChrGD-CvW5Vepn.js} +6 -6
- package/dist/assets/{OverlayContainerPage-BKHs_4eI-CSsJiY_P.js → OverlayContainerPage-CU1AAMcq-ai6w2Y-V.js} +2 -2
- package/dist/assets/PandLWithForecastPage-DVhAvUAV-CoqLEkYS.js +107 -0
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-DQ82eP9Q-Cwm2aoR2.js → PaymentAccountSetupBillingAddressSection-Cqk9_T2U-B2k-ZLJe.js} +9 -9
- package/dist/assets/{PeoplePage-CB3T3u_F-BR69e4ui.js → PeoplePage-BR4qd-jm-CBOJNYwE.js} +95 -95
- package/dist/assets/{PortfolioAllocationFormPage-CZkJD6tu-1mutznS7.js → PortfolioAllocationFormPage-T83_xyer-BkoO9beS.js} +13 -13
- package/dist/assets/{PortfolioDetails-D4yT8r35-BZAutCbg.js → PortfolioDetails-6ElQWU58-ByHc7XYH.js} +35 -35
- package/dist/assets/{ProductsCarousel-CR7_rk0K-CKMGS-I4.js → ProductsCarousel-CijsxgpU-C19z6U57.js} +10 -10
- package/dist/assets/{PromoBaseCards-BAPolzxE-DjUVr5kX.js → PromoBaseCards-BWsv2pTB-B6b592gJ.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-D3eazhj7-DCdAj667.js → QBOConnectionDialog-ChKHWoK7-CSeEHm2_.js} +7 -7
- package/dist/assets/{QBOSetupSection-Cjjhm_Ee-CX61tnWs.js → QBOSetupSection-C4gt0qc8-DTKMvJ4_.js} +12 -12
- package/dist/assets/ReimbursementApprovalRuleDetailPage-BwgWdSTd-NVamJEor.js +26 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-GSzJGSuy-DOLnlfRe.js → ReimbursementApprovalRulesPage-C2asBtuf-DT1aAQsK.js} +12 -12
- package/dist/assets/ReimbursementDetailPage-DS1ewUKC-CVEFgQmR.js +314 -0
- package/dist/assets/ReimbursementPromoPage-5OaQjA8F-DErLTtUx.js +84 -0
- package/dist/assets/ReimbursementSetUpPage-Bl8jzyRg-3jDcWgfT.js +140 -0
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-DIesC2GA-CmjN--dc.js +1 -0
- package/dist/assets/{ReloadCard-Dpoxd9nE-_RGkkZLm.js → ReloadCard-0q5pQ13T-CKzHIqK2.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-Ci-WKrCO-D0sA8766.js → ReportTableViewSelector-C0SiD_xG-BLDdaXUR.js} +29 -29
- package/dist/assets/ReportsPage-GTIPR29D-BtSUMj6k.js +121 -0
- package/dist/assets/{RevenueChart-CXMBT3cr-BigDcfmP.js → RevenueChart-C099OBIz-BCjETeYD.js} +29 -29
- package/dist/assets/ReviewDetailsPage-Dj29qJWr-znzq99Zm.js +290 -0
- package/dist/assets/{ReviewOverlay-C6Kx7Hfm-Aab2M4el.js → ReviewOverlay-OPfHsiEH-DYnwxQBa.js} +13 -13
- package/dist/assets/{RoleWithToolTip-BqI6M0x_-3Pz3ZAbU.js → RoleWithToolTip-CnJMJF5X-DPQwf2SV.js} +2 -2
- package/dist/assets/ScheduleDetailsFixedAssetsPage-BojehSaf-CqIP5z2b.js +37 -0
- package/dist/assets/ScheduleDetailsPage-aZbK93Nq-BFB854u3.js +37 -0
- package/dist/assets/ScheduleSequenceTable-By6Dky2k-cVt4Itnj.js +324 -0
- package/dist/assets/ScreenRoutes-m-9CX7nW.js +206 -0
- package/dist/assets/SetUpAccountSection-B_VtQMHv-v5HWkW-2.js +378 -0
- package/dist/assets/{SetUpDefaultSection-Bm1eZSgT-9DFPAVat.js → SetUpDefaultSection-CR4EJd0L-DR8b1nlJ.js} +15 -15
- package/dist/assets/{SignIn-BlISBvt5-BSeULTEW.js → SignIn-DlL4Ve5C-CS2k0j8x.js} +28 -28
- package/dist/assets/SignInScreen-82F821nF.js +1 -0
- package/dist/assets/SpendManagementListViewPage-hcbJnpe0-Dx5Mkywb.js +123 -0
- package/dist/assets/SpendManagementPerTabPage-CZMtZLLG-BwL9QJKu.js +754 -0
- package/dist/assets/SpendManagementSection-v3VQ4WLv-BgJcZL_k.js +230 -0
- package/dist/assets/SpendMgmtSetupAccountSection-BstM92cv-D_s447NX.js +206 -0
- package/dist/assets/{StatementItem-BVIVLdDn-DWQxeT2X.js → StatementItem-DHN42swg-QQn_8xP5.js} +2 -2
- package/dist/assets/StatementsPage-BuWUMrMJ-ClESyfR5.js +58 -0
- package/dist/assets/{StatusSwitcher-aAizq1mr-c-jcIGD9.js → StatusSwitcher-BQIZqQby-CwGTf6Yt.js} +2 -2
- package/dist/assets/{SubTabSwitcher-COrYJ6CW-BIZF-iNv.js → SubTabSwitcher-BwULcWpV-KD7oZVm0.js} +1 -1
- package/dist/assets/{SummaryCard-Dv0dWKBw-CGu-GHYa.js → SummaryCard-sp4k0Xek-DgWj-oz4.js} +1 -1
- package/dist/assets/TaskManagementPage-N2Egdy4r-qGkYEZ7q.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-ifkHfqEg-VY1vzvIS.js → TimeRangeSwitcher-BbGr7Bdf-CGee3poJ.js} +3 -3
- package/dist/assets/{TimeframeSwitcher-BP-PxO5g-DxTIS9PI.js → TimeframeSwitcher-CqP9hXqB-r5frPdgi.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-DH-PfsTQ-D7U0L-cV.js → TimeframeSwitcherWithToggle-C-Nxe_F8-C62_HCuz.js} +1 -1
- package/dist/assets/{TopExCard-Bam-Q4MV-BsP_HKjG.js → TopExCard-CLw0PDAU-BbYnCf3a.js} +5 -5
- package/dist/assets/{TopExDetailPage-P0Twt5zZ-CoHp8hDQ.js → TopExDetailPage-GLquKOoy-kMqzF42L.js} +12 -12
- package/dist/assets/TransactionDetailPage-cTLfJiHb-1yZP6Zin.js +912 -0
- package/dist/assets/TransactionList-SkjGKFn_-BwaaUL7x.js +147 -0
- package/dist/assets/TransactionListBig-B4CiUxir-C15l10qy.js +284 -0
- package/dist/assets/{TransactionListPage-D4GJ6i3l-yaso0Nlb.js → TransactionListPage-eiEKrfCB-CXZ0iEN3.js} +3 -3
- package/dist/assets/{TransactionVendorDetailPage-CuFHbm8c-kFca8x3E.js → TransactionVendorDetailPage-CySokm3L-BpHJwA9m.js} +5 -5
- package/dist/assets/{TransferDrawerPage-GD2I8ptj-CANT8JC_.js → TransferDrawerPage-BSv0D4Zs-BT9NFCI4.js} +27 -27
- package/dist/assets/TreasuryOverviewPage-C5hIMuk--DxAuBNvx.js +708 -0
- package/dist/assets/{TreasuryPromoPage-DW1f8_q1-CkWefV3r.js → TreasuryPromoPage-DSJHOwhj-BeQhN-a8.js} +6 -6
- package/dist/assets/{TreasurySetupPage-53k6ARHC-DuoYqIOy.js → TreasurySetupPage-B_EmY_UY-DAaCNRGd.js} +5 -5
- package/dist/assets/{TreasuryStatementsPage-pIshKNaR--8vN-IgR.js → TreasuryStatementsPage-BrZVJwAL-Bs1LrL-1.js} +5 -5
- package/dist/assets/{TreasuryTaxLetterPage-B3PkB1al-CkqZdxpj.js → TreasuryTaxLetterPage-DsmLrBId-CRVnttNh.js} +5 -5
- package/dist/assets/TreasuryTransferOrReviewPage-WB0pVkO6-BWBLW8Tp.js +576 -0
- package/dist/assets/TrendChart-CWR5JV7S-Bu3AQa_8.js +16 -0
- package/dist/assets/{TrendWithTransactions-mI_El5D1-DUVZm_U-.js → TrendWithTransactions-D9x71aZs-CM8kaEfz.js} +4 -4
- package/dist/assets/{UncategorizedAccountsMappingPage-LQeq8Gdv-BNgZRg4x.js → UncategorizedAccountsMappingPage-Tx1NEXyX-DoWK8o5r.js} +47 -47
- package/dist/assets/{UnitIntegrationPage-XOWqGHla-BIoTpmZ_.js → UnitIntegrationPage-aTpJwSQj-BYrPkyiL.js} +11 -11
- package/dist/assets/UploadAdditionalDocumentOverlay-BVMdCZ9e-BITtYlPW.js +38 -0
- package/dist/assets/Vendor2FAPopup-BtVySDI--nsMiWnZu.js +1 -0
- package/dist/assets/{VendorACHDetailsPage-CswCvAFH-DqnJleBx.js → VendorACHDetailsPage-Cx9VUYTN-CUP3Cq5s.js} +1 -1
- package/dist/assets/VendorDetailPage-BTBlddyH-Bc_YJfHo.js +257 -0
- package/dist/assets/{VendorDomesticWireDetailsPage-DxrSjlTR-GbXdyYXP.js → VendorDomesticWireDetailsPage-DIQg-f5b-Bwf6L3re.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-q1gQ8keD-GKQT7vTw.js → VendorFiling1099EditablePage-CZzpO5dU-BLT7WxiF.js} +32 -32
- package/dist/assets/VendorFirstReviewPage-_Bf2O8Hk-B9tTYmRJ.js +730 -0
- package/dist/assets/VendorInternationalWireDetailsPage-DmM691ao-Dzdr5mG2.js +152 -0
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-W0s1zQNC-eVlfJ9f_.js → VendorInternationalWireSwiftDetailsPage-CmfDU583-Dk7aONaM.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-C13Z2HN9-DvGRJwYY.js → VendorsAccountsSection-VX_qjrvm-R24t7Q7V.js} +4 -4
- package/dist/assets/VerifyDevice-pndtId1R-C8OsQHlo.js +112 -0
- package/dist/assets/{VideoPlayer-ByyqUuhG-CcmvFcG0.js → VideoPlayer-Cv2VluI6-D2yBmBgw.js} +1 -1
- package/dist/assets/{VideoPopup-DJrQQTPq-BZRShVLd.js → VideoPopup-DwltINTO-0GPyihNZ.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-B3Ht3VnM-C_aFzWZK.js → WarningsDrawerPage-I6fXTo8V-B0kNeHBS.js} +5 -5
- package/dist/assets/ZeniAccountDetailPage-BhqYqyk--DeI4__gE.js +300 -0
- package/dist/assets/{ZeniAccountListViewPage-q_v2FogF-wW_PUJNB.js → ZeniAccountListViewPage-M7S_ZBj4-94TU34gP.js} +12 -12
- package/dist/assets/ZeniAccountNavBarPieces-Crjx7iNX-DK8JxCJS.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-CzncR6vK-CoCFGvia.js → ZeniAccountPromoPage-rK7P_Dpk-DmoLuwn8.js} +21 -21
- package/dist/assets/{ZeniAccountSetupPage-TcdzEL_V-CPTq7KjK.js → ZeniAccountSetupPage-B8yrjDVW-gPUnEzAZ.js} +1 -1
- package/dist/assets/{ZeniCopyright-B7Q6IUGC-DjtbTVnp.js → ZeniCopyright-BDsnkVlH-C00Fssys.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-Dmf5xxv4-D-BoRJmd.js → ZeniTransferAmountSlider-BCVTdEWO-p69HMFsD.js} +3 -3
- package/dist/assets/{analyticsHelper-L-FpsGLH.js → analyticsHelper-CS2u9ax9.js} +1 -1
- package/dist/assets/analyticsHelper-D8CGsPLU-DJI9oEaD.js +1 -0
- package/dist/assets/{chartTypes-DCvOVjlS-CF3jsUNb.js → chartTypes-DLnePN0T-B_54UqyM.js} +1 -1
- package/dist/assets/{commonDimensions-C32v1F7H-C9uaBJ8J.js → commonDimensions-CWOH4KIa-zIW9i9kk.js} +1 -1
- package/dist/assets/{detailCommon-CRAGrqoO-5xMc7u9M.js → detailCommon-COLWOJB--3sJPi-qA.js} +8 -8
- package/dist/assets/downloadPdf-DmVZhHLH-D1xNlFUJ.js +1 -0
- package/dist/assets/{index-kF4u7Flm.js → index-MAXVX6UR.js} +2202 -2025
- package/dist/assets/{lodash-B66NTFTY.js → lodash-D52QloPU.js} +6 -6
- package/dist/assets/{mapLoadingInProgressToTreeNode-CRwG2DSD-CLLcsBiK.js → mapLoadingInProgressToTreeNode-DzagCSPK-Df3QAuQq.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-C9O-C2dp-4sjxXlit.js → mapSectionWithAcOnlyToTreeNode-gKc2xWyG-DTjSgiEj.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-5aJk-sLn-CeZutbYy.js → mapSpacerToTreeNode-toSXbVwB-B0PNlKW1.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CnviLujI-rcfKFEh1.js → mapTimeframeBalancesToTreeNode-D0Bib2dl-Cgs41-OD.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-Cv4d4PqE-BmreU2CJ.js → mapTimeframeBalancesToTreeNode-D63QAMZm-BDtNdJWW.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BaGM4krW-CkRgUU-m.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BuAL-Z9U-Ceeq3tsz.js} +1 -1
- package/dist/assets/redux-CEhZD0hA.js +12 -0
- package/dist/assets/{toCOABalancesWithID-B3yVGPrV-Dj01dEre.js → toCOABalancesWithID-D-AHYPZY-Bomk_rrT.js} +1 -1
- package/dist/assets/toChartData-BIN4xqGz-BcU_F8Ix.js +1 -0
- package/dist/assets/{treasuryColorHelper-13LJ_xhk-5-aGYtqD.js → treasuryColorHelper--7Rf6Fm8-BdEMhZbj.js} +1 -1
- package/dist/assets/{uploadAttachment-DVy2pZeJ-DL6B1oGY.js → uploadAttachment-DwI0nG8D-VCODDzfq.js} +23 -23
- package/dist/assets/{uploadReceipts-Dp1dvCjf-BQPyxtgi.js → uploadReceipts-9DTOr0BG-pwNYcimh.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +6 -9
- package/dist/assets/AccountInfoPage-D-E_-WpE-DJyb7x4k.js +0 -18
- package/dist/assets/AccountLockedInfoModal-BD7Nb81U-ZCs8qzoa.js +0 -59
- package/dist/assets/AccountReconDetailsDrawerPage-D-_ME0pV-BuvZZBZ-.js +0 -239
- package/dist/assets/AccountRow-Be3LIHO--BjLJB43L.js +0 -298
- package/dist/assets/AccountsPromoCardStack-CdBwPVgI-CkQ7kJh8.js +0 -207
- package/dist/assets/AgingReportsPage-L0zQxwCf-D3sUJmot.js +0 -79
- package/dist/assets/AllUserItems-CvwaOEhu-DISgj-9d.js +0 -192
- package/dist/assets/ApAgingDetailPage-B_78aSEv-DLL7XkHo.js +0 -46
- package/dist/assets/AppDrawerContent-BZODvVvi-DQ-V9QL0.js +0 -91
- package/dist/assets/ApprovalRulesSettingsPage-Dxd7A3hZ-CRTSWRxG.js +0 -47
- package/dist/assets/ArAgingChart-BezVy1Sm-ClcQ64wd.js +0 -24
- package/dist/assets/BankConnectionsSettingsPage-D5hI4xtm-ik9FJnty.js +0 -425
- package/dist/assets/BillDetailPage-CDAh8Jtl-wk3WJY1W.js +0 -266
- package/dist/assets/BillPayPromoPage-B2YcxWc9-ChjVVUdj.js +0 -84
- package/dist/assets/BillPaySetUpPage-oJvoWpFu-ZQ44J65y.js +0 -42
- package/dist/assets/BillingSettingsPage-BRsKYzT5-C1YZEc97.js +0 -44
- package/dist/assets/BillsBulkReviewDrawerPage-B7tORIok-09a60H-u.js +0 -1
- package/dist/assets/BusinessVerificationPage-Nw_fedst-Ce7UF4J6.js +0 -138
- package/dist/assets/ChargeCardListPage-v5hH98Wi-BhiUhdgm.js +0 -406
- package/dist/assets/ChargeCardPromoPage-CPEaGOL3-CiA1pNTj.js +0 -222
- package/dist/assets/ChargeCardSetupPage-G5Rn0o6y-Bqw8Kqbv.js +0 -36
- package/dist/assets/ChargeCardUtils-BRgkrCTs-Bo37IpfS.js +0 -1
- package/dist/assets/CollapsableReportTable-7iAngywY-BhPujiYA.js +0 -2932
- package/dist/assets/CompanyOfficerDetailsSection-CJKyxEnf-B2MTqDnr.js +0 -260
- package/dist/assets/CompanyPassportPage-BQoEcPJr-CLTXsXdq.js +0 -574
- package/dist/assets/CompleteProfile-D5e9TQgy-B3NCfzYL.js +0 -52
- package/dist/assets/CreditCardPaymentDrawerPage-DXeq4z9l-C-tETdxW.js +0 -224
- package/dist/assets/CustomerOnboardingContainerPage-CZRkKPDD-CdqN8qku.js +0 -1
- package/dist/assets/CustomerOnboardingPage-zBqp9QN6-BMM-roBm.js +0 -107
- package/dist/assets/CustomerOnboardingProductSuitePage-BbJ4oiCI-DgRG1l8f.js +0 -202
- package/dist/assets/DashboardReportPage-DTMbYOWH-B0H-UpGg.js +0 -371
- package/dist/assets/DepositAccTransactionListPage-CcO673ZL-D1h5XemH.js +0 -66
- package/dist/assets/DomesticWireDetailsPage-D5hbPNCt-Bhq4tM9b.js +0 -21
- package/dist/assets/DownloadOverlay-DRcasKoB-BTfb8tZj.js +0 -439
- package/dist/assets/EditPeoplePage-Zzo62if7-Clw_H_tG.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-D59OJdZ1-DgdwTZwz.js +0 -865
- package/dist/assets/EntityDetailPage-CzlzOW8n-CjIrlTQm.js +0 -18
- package/dist/assets/ExpenseAutomationPage-Cm_IiRlb-DxIRsn8B.js +0 -1650
- package/dist/assets/ExpressPayPage-DdQiFzDu-CXe6diRB.js +0 -168
- package/dist/assets/GlobalReviewListPage-DHn2Uk8R-Dz5cpAt1.js +0 -291
- package/dist/assets/HelpButton-BNMy-6ce-CVlMGZqS.js +0 -28
- package/dist/assets/InsightsCardStack-CaMZiCnn-DLt2ZmbV.js +0 -79
- package/dist/assets/InvitePeoplePage-C3ecL8XJ-olYxQVFB.js +0 -12
- package/dist/assets/InvoiceUploadSection-DoR834b4-CjFOCIIZ.js +0 -140
- package/dist/assets/LabeledAddressValueField-YP7bXlgZ-D9-PqJNp.js +0 -45
- package/dist/assets/LabeledDocumentField-ED03S2kQ-BGespvxP.js +0 -41
- package/dist/assets/LinkJETransactionPage-_ROjxBMO-C6IEO3Ec.js +0 -98
- package/dist/assets/LowBalancePopup-CZDcHxyW-BSR036zV.js +0 -34
- package/dist/assets/MagicLinkTitleSection-Cn1v72Rs-Dx0fyRw5.js +0 -17
- package/dist/assets/MyBankConnectionsSettingsPage-IPPiH6jv-uU5Nku5W.js +0 -110
- package/dist/assets/MyPendingActivationChargeCardListPage-BTGb1yIE-yyVAdXqO.js +0 -6
- package/dist/assets/MyProfileSettingsPage-BRK5nWg2-BCkp79gR.js +0 -85
- package/dist/assets/NotificationsPage-C7lSAnUb-CEUwTZM_.js +0 -685
- package/dist/assets/PandLWithForecastPage-W4jlNjml-8wxKAhbo.js +0 -107
- package/dist/assets/ReimbursementApprovalRuleDetailPage-eidNY097-DDLdjGbX.js +0 -26
- package/dist/assets/ReimbursementDetailPage-AvqEBxbz-ByJDRCe5.js +0 -314
- package/dist/assets/ReimbursementPromoPage-PshodHUZ-CEBQKb7P.js +0 -84
- package/dist/assets/ReimbursementSetUpPage-6P4FT-UC-BMbaH1eU.js +0 -140
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-Cas6GzVp-CEJlVV08.js +0 -1
- package/dist/assets/ReportsPage-C7zirS74-oNrbhh6a.js +0 -121
- package/dist/assets/ReviewDetailsPage-ClsyL5-w-rKSUEvaS.js +0 -290
- package/dist/assets/ScheduleDetailsFixedAssetsPage-zFyJPVpN-Dm8QVj-0.js +0 -37
- package/dist/assets/ScheduleDetailsPage-BftjSvA7-D97uCI5t.js +0 -37
- package/dist/assets/ScheduleSequenceTable-lTN7r0p4-BmAjQVGV.js +0 -324
- package/dist/assets/ScreenRoutes-Du6t5Ig_.js +0 -206
- package/dist/assets/SetUpAccountSection-Bnbi8X23-7-Jadv9H.js +0 -378
- package/dist/assets/SignInScreen-BN2xWnU-.js +0 -1
- package/dist/assets/SpendManagementListViewPage-ChNp8dgm-ByNxcaX6.js +0 -123
- package/dist/assets/SpendManagementPerTabPage-D-bOr2-6-C5z49u7s.js +0 -754
- package/dist/assets/SpendManagementSection-kucZgC-H-Cqflt6S1.js +0 -230
- package/dist/assets/SpendMgmtSetupAccountSection-de7hEmtE-9bAK-YlL.js +0 -206
- package/dist/assets/StatementsPage-KnLUSJbm-DVR36Ge4.js +0 -58
- package/dist/assets/TaskManagementPage-CPLyyK1Y-BZe-OFxL.js +0 -508
- package/dist/assets/TransactionDetailPage-D1Z1f-DD-BPMl_wDr.js +0 -912
- package/dist/assets/TransactionList-BzJEbOV9-0ST5sY1-.js +0 -147
- package/dist/assets/TransactionListBig-u4SJBZTE-BlGBIBoN.js +0 -284
- package/dist/assets/TreasuryOverviewPage-DySunaqy-Du5jK6WV.js +0 -708
- package/dist/assets/TreasuryTransferOrReviewPage-Dzq-FxSM-DKViGoiZ.js +0 -576
- package/dist/assets/TrendChart-B_5D-Zud-Cw_zgD-R.js +0 -16
- package/dist/assets/UploadAdditionalDocumentOverlay-DhXRLBEg-BNMbNbJQ.js +0 -38
- package/dist/assets/Vendor2FAPopup-BfqIHZBb-DUpQFrOM.js +0 -1
- package/dist/assets/VendorDetailPage-CEX7xMIN-D29fVYfj.js +0 -257
- package/dist/assets/VendorFirstReviewPage-D9ogNmAK-DwoL9x7s.js +0 -730
- package/dist/assets/VendorInternationalWireDetailsPage-Ct689KuY-N7HCxAFy.js +0 -152
- package/dist/assets/VerifyDevice-C27gEWkZ-BrEq9dHz.js +0 -112
- package/dist/assets/ZeniAccountDetailPage-egmysAfI-CX7srLCt.js +0 -300
- package/dist/assets/ZeniAccountNavBarPieces-HNIht0FM-azEwN9c2.js +0 -14
- package/dist/assets/addSubtractPeriod-CFvkmqm8.js +0 -1
- package/dist/assets/analyticsHelper-or1KkBWk-CU2Z2CeD.js +0 -1
- package/dist/assets/downloadPdf-D7p3yKmg-DrJJdcEl.js +0 -1
- package/dist/assets/redux-D-TY61DZ.js +0 -12
- package/dist/assets/toChartData-DEW0iT7T-DaQT4Adc.js +0 -1
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import{cr as rt,q as B,j as e,b3 as nt,aM as u,dz as st,O as y,dA as lt,dt,dB as ct,o as a,h as Z,cH as mt,y as U,l as m,P as ft,am as j,u as b,ai as xt,dC as W,df as K,aN as _,an as ut}from"./index-MAXVX6UR.js";import{b as g,n as s,w as ht}from"./vendor-Bs1fkIUX.js";import{g as G}from"./BoxItem-D4K0YgBP-Bm_px4kT.js";import{o as E}from"./commonDimensions-CWOH4KIa-zIW9i9kk.js";const F=t=>t?24:125,pt={containerPaddingBottom:new U(b[9],b[8])},V=s.div`
|
|
2
|
+
box-sizing: border-box;
|
|
3
|
+
display: flex;
|
|
4
|
+
flex: 1 1 auto;
|
|
5
|
+
flex-direction: row;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
align-items: flex-end;
|
|
8
|
+
height: ${t=>F(t.isLoadNextItem)}px;
|
|
9
|
+
color: ${t=>t.theme.colors.grey1};
|
|
10
|
+
&:hover {
|
|
11
|
+
color: ${t=>t.theme.colors.champion};
|
|
12
|
+
}
|
|
13
|
+
padding-top: ${t=>t.isLoadNextItem?0:45}px;
|
|
14
|
+
padding-bottom: ${t=>pt.containerPaddingBottom.valuePx(t.windowSize)};
|
|
15
|
+
`,gt=s(j)`
|
|
16
|
+
display: flex;
|
|
17
|
+
cursor: pointer;
|
|
18
|
+
`;function R({firstMonthOfFY:t,isLoadNextItem:o,isLoading:d,timePeriod:i,fixedTimePeriod:r,timeframe:f,doLoadMoreTransactions:x}){let l=i;if(o)if(r!=null){const w=m.addPeriod(i.endDate.startOf("month"),t,r.numberOfPeriods,r.timeframe);l={startDate:l.endDate.add(1,"day"),endDate:w}}else{const w=m.addPeriod(i.endDate.startOf("month"),t,1,f),{startOfTimeframeFY:k,endOfTimeframeFY:Y}=m.getStartOfAndEndOfTimeframeForFY(w,t,f);l={startDate:k,endDate:Y}}else if(r!=null)l={startDate:m.subtractPeriod(i.startDate.startOf("month"),t,r.numberOfPeriods,r.timeframe),endDate:i.startDate.subtract(1,"day")};else{const w=m.subtractPeriod(i.startDate.startOf("month"),t,1,f),{startOfTimeframeFY:k,endOfTimeframeFY:Y}=m.getStartOfAndEndOfTimeframeForFY(w,t,f);l={startDate:k,endDate:Y}}const n=y.getLocalizedStrings();let h="";r==null?f==="month"?h=`${o===!0?n.transactionList.loadNextMonthPrefix:n.transactionList.loadPreviousMonthPrefix} (${m.formatZeniDate(l.startDate,n.dateFormat.visual.MMMYYYYFormat,t)})`:f==="quarter"?h=`${o===!0?n.transactionList.loadNextQuarterPrefix:n.transactionList.loadPreviousQuarterPrefix} (${n.transactionList.quarterPrefix}${m.formatZeniDate(l.startDate,n.dateFormat.visual.QYYYYformat,t)})`:h=`${o===!0?n.transactionList.loadNextYearPrefix:n.transactionList.loadPreviousYearPrefix} (${m.formatZeniDate(l.startDate,n.dateFormat.visual.YYYYformat,t)})`:h=`${o===!0?n.transactionList.loadNextMonthPrefix:n.transactionList.loadPreviousPrefix} ${r.numberOfPeriods} ${n.transactionList.monthsSuffix} - (${m.formatZeniDate(l.startDate,n.dateFormat.visual.MMMYYYYFormat,t)} - ${m.formatZeniDate(l.endDate,n.dateFormat.visual.MMMYYYYFormat,t)})`;const M=B();return d===!0?e.jsx(V,{windowSize:M,isLoadNextItem:o,children:e.jsx(ft,{size:"Small",start:!0})}):e.jsx(V,{windowSize:M,isLoadNextItem:o,children:e.jsx(gt,{"data-testid":u("load-more-transactions",h),onClick:()=>{x?.(l,f)},children:h})})}R.displayName="LoadMoreTransactions";const{common:{strings:{empty:q}}}=y.getLocalizedStrings(),bt=s(ut)`
|
|
19
|
+
display: -webkit-box;
|
|
20
|
+
-webkit-box-orient: vertical;
|
|
21
|
+
-webkit-line-clamp: 1;
|
|
22
|
+
margin-left: ${a.sp3};
|
|
23
|
+
padding: 1px 6px;
|
|
24
|
+
border: 1px solid ${t=>t.theme.colors.grey2};
|
|
25
|
+
border-radius: ${a.sp1};
|
|
26
|
+
color: ${t=>t.theme.colors.grey1};
|
|
27
|
+
min-width: max-content;
|
|
28
|
+
`,wt=s.div`
|
|
29
|
+
display: flex;
|
|
30
|
+
padding: ${a.sp3} ${a.sp4};
|
|
31
|
+
flex-direction: row;
|
|
32
|
+
width: 100%;
|
|
33
|
+
`,$t=s.div`
|
|
34
|
+
display: flex;
|
|
35
|
+
justify-content: space-between;
|
|
36
|
+
align-items: center;
|
|
37
|
+
width: 100%;
|
|
38
|
+
`,vt=s(j)`
|
|
39
|
+
display: -webkit-box;
|
|
40
|
+
-webkit-box-orient: vertical;
|
|
41
|
+
-webkit-line-clamp: 1;
|
|
42
|
+
margin-left: ${a.sp3};
|
|
43
|
+
max-height: ${a.sp11};
|
|
44
|
+
text-overflow: ellipsis;
|
|
45
|
+
word-break: break-word;
|
|
46
|
+
text-align: left;
|
|
47
|
+
overflow: hidden;
|
|
48
|
+
`,yt=s(j)`
|
|
49
|
+
display: -webkit-box;
|
|
50
|
+
-webkit-box-orient: vertical;
|
|
51
|
+
-webkit-line-clamp: 1;
|
|
52
|
+
margin-left: ${a.sp3};
|
|
53
|
+
text-align: right;
|
|
54
|
+
width: ${t=>E.amountWidth.valuePx(t.windowSize)};
|
|
55
|
+
`,jt=s.div`
|
|
56
|
+
display: flex;
|
|
57
|
+
`;function kt({transaction:t,onItemClick:o}){const{description:d,typeName:i,amount:r,logo:f,vendorId:x}=t,l=m.isVendorTransaction(t)&&x==null;return e.jsxs(wt,{onClick:()=>o?.(t),"data-testid":u("transaction-item-medium",t.id),children:[e.jsx(W,{photoUrl:l===!1?f?.toString()??q:q,styles:{width:a.sp4,height:a.sp4,borderRadius:a.sp0},placeholder:{width:b[4],height:b[4]},fallbackAvatar:e.jsx(jt,{children:e.jsx(K,{name:d,size:a.sp4})})}),e.jsxs($t,{children:[e.jsx(vt,{children:d}),i!=null?e.jsx(bt,{className:"tag",children:i}):null]}),e.jsx(yt,{children:_("0,0.00",r)})]})}function Yt({data:t,boxType:o,onItemClick:d}){const i=m.toTransactionTypeStrict(t.type)==null,r=e.jsx(kt,{transaction:t,onItemClick:i?void 0:d});return e.jsx(G,{content:r,boxType:o,isDisabled:i})}const{common:{strings:{empty:Q}}}=y.getLocalizedStrings(),Lt=s.div`
|
|
58
|
+
display: flex;
|
|
59
|
+
padding: ${a.sp3} ${a.sp4};
|
|
60
|
+
flex-direction: row;
|
|
61
|
+
width: 100%;
|
|
62
|
+
`,Mt=s.div`
|
|
63
|
+
width: 100%;
|
|
64
|
+
`,Pt=s(j)`
|
|
65
|
+
display: -webkit-box;
|
|
66
|
+
-webkit-box-orient: vertical;
|
|
67
|
+
-webkit-line-clamp: 1;
|
|
68
|
+
margin-left: ${a.sp3};
|
|
69
|
+
max-height: ${a.sp11};
|
|
70
|
+
text-overflow: ellipsis;
|
|
71
|
+
word-break: break-word;
|
|
72
|
+
text-align: left;
|
|
73
|
+
overflow: hidden;
|
|
74
|
+
`,St=s(j)`
|
|
75
|
+
display: -webkit-box;
|
|
76
|
+
-webkit-box-orient: vertical;
|
|
77
|
+
-webkit-line-clamp: 1;
|
|
78
|
+
margin-left: ${a.sp3};
|
|
79
|
+
text-align: right;
|
|
80
|
+
width: ${t=>E.amountWidth.valuePx(t.windowSize)};
|
|
81
|
+
`,Dt=s.div`
|
|
82
|
+
display: flex;
|
|
83
|
+
`;function Ft({transaction:t,onItemClick:o}){const{description:d,amount:i,logo:r,vendorId:f}=t,x=m.isVendorTransaction(t)&&f==null;return e.jsxs(Lt,{onClick:()=>o?.(t),"data-testid":u("transaction-item-small",t.id),children:[e.jsx(W,{photoUrl:x===!1?r?.toString()??Q:Q,styles:{width:a.sp4,height:a.sp4,borderRadius:a.sp0},placeholder:{width:b[4],height:b[4]},fallbackAvatar:e.jsx(Dt,{children:e.jsx(K,{name:d,size:a.sp4})})}),e.jsx(Mt,{children:e.jsx(Pt,{children:d})}),e.jsx(St,{children:_("0,0.00",i)})]})}function Tt({data:t,boxType:o,onItemClick:d}){const i=m.toTransactionTypeStrict(t.type)==null,r=e.jsx(Ft,{transaction:t,onItemClick:i?void 0:d});return e.jsx(G,{content:r,boxType:o,isDisabled:i})}function zt(t){return B()==="small"?e.jsx(Tt,{...t}):e.jsx(Yt,{...t})}const It=s.div`
|
|
84
|
+
display: flex;
|
|
85
|
+
flex: 1 1 auto;
|
|
86
|
+
flex-direction: column;
|
|
87
|
+
box-shadow: ${t=>`${a.sp0} 2px ${a.sp1} ${t.theme.colors.dropShadowNormal}`};
|
|
88
|
+
border-radius: ${a.sp2};
|
|
89
|
+
background-color: ${t=>t.theme.colors.grey5};
|
|
90
|
+
`,Ot=s(xt)`
|
|
91
|
+
display: flex;
|
|
92
|
+
height: 21px;
|
|
93
|
+
margin-bottom: ${a.sp2};
|
|
94
|
+
margin-top: ${a.sp3};
|
|
95
|
+
color: ${t=>t.theme.colors.grey1};
|
|
96
|
+
`,Ct=s.div`
|
|
97
|
+
display: flex;
|
|
98
|
+
flex-direction: column;
|
|
99
|
+
width: 100%;
|
|
100
|
+
`,Nt=(t,o)=>o.length===1?"roundedBox":t===0?"topRoundedBox":t===o.length-1?"bottomRoundedBox":"box",Rt=t=>t*E.transactionItemHeight+45;function Bt({date:t,transactions:o,onItemClick:d}){const{dateFormat:i}=y.getLocalizedStrings();return e.jsxs(Ct,{"data-testid":u("transactions-group"),children:[e.jsx(Ot,{children:m.dateNow().year()===t.year()?t.format(i.visual.MMMDFormat):t.format(i.visual.MMMDCommaYYYYformat)}),e.jsx(It,{children:o.map((r,f)=>e.jsx(zt,{data:r,boxType:Nt(f,o),onItemClick:x=>{d?.(x)},"data-testid":u("transaction-item",r.id)},r.id))})]})}const Et=ht.memo(Bt),{dateFormat:Ht}=y.getLocalizedStrings();function At(t){const o=st(t,i=>i.date.format(Ht.visual.MMMDCommaYYYYformat)),d=lt(o,i=>i.length>0);return dt(d,i=>({date:i[0].date,transactions:ct(i,r=>r.updateTime,"desc")}))}const v=y.getLocalizedStrings(),Zt={listItemMargin:new U(b[3],b[8])},Vt=s.div`
|
|
101
|
+
display: flex;
|
|
102
|
+
flex: 1 1 auto;
|
|
103
|
+
width: 99.9%;
|
|
104
|
+
`,D=s.div`
|
|
105
|
+
margin: ${t=>`${a.sp0} ${Zt.listItemMargin.valuePx(t.windowSize)}`};
|
|
106
|
+
`,qt=s.div`
|
|
107
|
+
min-height: ${a.sp8};
|
|
108
|
+
`,Qt=s.div`
|
|
109
|
+
display: flex;
|
|
110
|
+
height: 100%;
|
|
111
|
+
flex: 1 1 auto;
|
|
112
|
+
flex-direction: row;
|
|
113
|
+
justify-content: center;
|
|
114
|
+
align-items: flex-end;
|
|
115
|
+
`,Ut=s(j)`
|
|
116
|
+
display: flex;
|
|
117
|
+
color: ${t=>t.theme.colors.grey2};
|
|
118
|
+
`,Wt=s(mt)`
|
|
119
|
+
scrollbar-width: thin;
|
|
120
|
+
scrollbar-color: transparent transparent;
|
|
121
|
+
&::-webkit-scrollbar {
|
|
122
|
+
width: ${a.sp2};
|
|
123
|
+
height: ${a.sp0};
|
|
124
|
+
background-color: transparent;
|
|
125
|
+
}
|
|
126
|
+
&::-webkit-scrollbar-track {
|
|
127
|
+
box-shadow: inset 0 0 2px ${Z.scrollbarBoxShadow};
|
|
128
|
+
-webkit-box-shadow: inset 0 0 2px ${Z.scrollbarBoxShadow};
|
|
129
|
+
background-color: transparent;
|
|
130
|
+
}
|
|
131
|
+
&::-webkit-scrollbar-thumb {
|
|
132
|
+
background-color: transparent;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
&:hover {
|
|
136
|
+
scrollbar-color: ${t=>t.theme.colors.grey1} transparent;
|
|
137
|
+
&::-webkit-scrollbar {
|
|
138
|
+
width: ${a.sp2};
|
|
139
|
+
height: ${a.sp0};
|
|
140
|
+
background-color: transparent;
|
|
141
|
+
}
|
|
142
|
+
&::-webkit-scrollbar-thumb {
|
|
143
|
+
background-color: ${t=>t.theme.colors.grey1};
|
|
144
|
+
border-radius: 2px;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
`,te=g.forwardRef(function({firstMonthOfFY:t,timeframe:o,timePeriod:d,transactions:i,isFirstLotLoading:r,currentScrollYOffset:f,componentName:x,showLoadNext:l,showLoadPrevious:n,onTransactionItemClick:h,trackPerformance:M=!0,onTransactionListScroll:w,onListInnerElementHeightChanged:k},Y){const P=g.useMemo(()=>At(i),[i]),T=g.createRef(),[z,J]=g.useState(!1);g.useEffect(()=>{T.current?.resetAfterIndex(0)},[i,T]);const X=Y,L=g.useRef(null),[tt,et]=g.useState(void 0);g.useEffect(()=>{!z&&r===!1&&J(!0)},[r,z]),rt({componentName:x,enabled:M&&z});const it=()=>{if(L!=null&&typeof L=="object"&&L.current){const c=L.current;c!=null&&c.clientHeight>0&&c.clientHeight!=tt&&(et(c.clientHeight),k?.(c.clientHeight))}},I=P.length===0,H=n!=null,O=l!=null,C=P.length+(l!=null?1:0)+(n!=null?1:0)+(I===!0?1:0),A=c=>O===!0?c-1:c,S=B(),at=({index:c,style:$})=>{if(O===!0&&c===0)return e.jsx("div",{style:{...$},children:e.jsx(D,{windowSize:S,"data-testid":u("transaction-list","list-item-load-more"),children:e.jsx(R,{firstMonthOfFY:t,isLoadNextItem:!0,isLoading:l?.isLoading==!0,timePeriod:d,timeframe:o,fixedTimePeriod:l?.fixedTimePeriod,doLoadMoreTransactions:(p,N)=>{l?.onLoadNextClick?.(p,N)}})})});if(H===!0&&c===C-1)return e.jsx("div",{style:{...$},children:e.jsx(D,{windowSize:S,"data-testid":u("transaction-list","list-item-load-previous"),children:e.jsx(R,{firstMonthOfFY:t,isLoadNextItem:!1,isLoading:n?.isLoading==!0,timePeriod:d,fixedTimePeriod:n?.fixedTimePeriod,timeframe:o,doLoadMoreTransactions:(p,N)=>{n?.onLoadPreviousClick?.(p,N)}})})});if(I===!1){const p=P[A(c)];return e.jsx("div",{style:{...$},children:e.jsxs(D,{windowSize:S,children:[e.jsx(Et,{date:p.date,transactions:p.transactions,onItemClick:h}),n==null?e.jsx(qt,{}):null]})})}else return e.jsx("div",{style:{...$},children:e.jsx(Qt,{children:e.jsx(D,{windowSize:S,"data-testid":u("transaction-list","transactions-list-empty"),children:e.jsx(Ut,{children:Kt(d,l?.isLoading==!0||n?.isLoading==!0)})})})})},ot=c=>O===!0&&c===0?F(!0):H===!0&&c===C-1?F(!1):I===!1?Rt(P[A(c)].transactions.length):F(!1);return e.jsx(Vt,{children:e.jsx(nt,{children:({height:c,width:$})=>e.jsx(Wt,{"data-testid":u("transaction-list"),ref:T,height:c,width:$,innerRef:L,outerRef:X,onItemsRendered:it,itemCount:C,itemSize:ot,onScroll:({scrollOffset:p})=>{w?.(p)},initialScrollOffset:f??0,children:at})})})}),Kt=(t,o)=>o===!0?v.transactionList.fetching:t.startDate.isSame(t.endDate,"month")?`${v.transactionList.noTransactionsFoundForPrefix} (${t.startDate.format(v.dateFormat.visual.MMMYYFormat)})`:`${v.transactionList.noTransactionsFoundForPeriodPrefix} (${t.startDate.format(v.dateFormat.visual.MMMYYFormat)} - ${t.endDate.format(v.dateFormat.visual.MMMYYFormat)})`;export{te as f};
|
|
@@ -0,0 +1,284 @@
|
|
|
1
|
+
import{y as a,q as L,ax as W,aD as ie,aX as ne,l as D,j as t,aM as x,b3 as re,O as w,u as n,C as ae,h as B,o,b as j,H as q,bu as se,bv as le,ai as de,ar as ce,aN as me,bw as pe,ap as he,P as ue,n as Z,B as G,bx as Q,aS as ee}from"./index-MAXVX6UR.js";import{b as N,n as i,w as f,i as ge}from"./vendor-Bs1fkIUX.js";import{Y as xe,c as we}from"./AccountsPromoCardStack-BS-HxQ5z-BoaDvf04.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./SummaryCard-sp4k0Xek-DgWj-oz4.js";import"./ReloadCard-0q5pQ13T-CKzHIqK2.js";import"./NavigationArrow-DnZuPnXh-BOLYjEri.js";import"./NavigationDots-DarWlthl-CEtLiSj-.js";const $e={textContainer:new j("extraSmallRegular","smallRegular")},be=i.div`
|
|
2
|
+
color: ${e=>e.theme.colors.hero};
|
|
3
|
+
cursor: default;
|
|
4
|
+
`,ye=i.div`
|
|
5
|
+
color: ${B.important};
|
|
6
|
+
opacity: 1;
|
|
7
|
+
cursor: default;
|
|
8
|
+
`,K=i.span`
|
|
9
|
+
top: -2px;
|
|
10
|
+
position: relative;
|
|
11
|
+
color: ${e=>e.theme.colors.grey1};
|
|
12
|
+
${e=>`${$e.textContainer.style(e.windowSize)}`};
|
|
13
|
+
`,ve=i(Q)`
|
|
14
|
+
width: ${o.sp3};
|
|
15
|
+
height: ${o.sp3};
|
|
16
|
+
margin-right: 6px;
|
|
17
|
+
color: ${e=>e.theme.colors.hero};
|
|
18
|
+
visibility: hidden;
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
`,Se=i(Q)`
|
|
21
|
+
width: ${o.sp3};
|
|
22
|
+
height: ${o.sp3};
|
|
23
|
+
margin-right: 6px;
|
|
24
|
+
color: ${B.important};
|
|
25
|
+
visibility: hidden;
|
|
26
|
+
cursor: pointer;
|
|
27
|
+
`,ze=i.div`
|
|
28
|
+
border: 1px solid ${e=>e.theme.colors.grey5};
|
|
29
|
+
cursor: default;
|
|
30
|
+
padding: ${o.sp1} ${o.sp0} ${o.sp3};
|
|
31
|
+
z-index: 1;
|
|
32
|
+
position: absolute;
|
|
33
|
+
background: ${e=>e.theme.colors.grey5};
|
|
34
|
+
box-shadow: ${e=>`${o.sp0} 2px ${o.sp2} ${e.theme.colors.dropShadowNormal}`};
|
|
35
|
+
text-align: left;
|
|
36
|
+
border-radius: ${o.sp1};
|
|
37
|
+
width: 270px;
|
|
38
|
+
right: 5%;
|
|
39
|
+
`,V=i.div`
|
|
40
|
+
padding: 10px 12px 12px ${o.sp0};
|
|
41
|
+
background: ${e=>e.checked?e.theme.colors.grey3:"transparent"};
|
|
42
|
+
& input {
|
|
43
|
+
width: ${o.sp3} !important;
|
|
44
|
+
height: ${o.sp3};
|
|
45
|
+
background: transparent;
|
|
46
|
+
border: solid 1px ${e=>e.theme.colors.grey1};
|
|
47
|
+
border-radius: 50%;
|
|
48
|
+
cursor: pointer;
|
|
49
|
+
background-clip: content-box;
|
|
50
|
+
-webkit-appearance: none;
|
|
51
|
+
-moz-appearance: none;
|
|
52
|
+
appearance: none;
|
|
53
|
+
margin: ${o.sp2} ${o.sp2} ${o.sp0} ${o.sp2};
|
|
54
|
+
}
|
|
55
|
+
& input[type="radio"]:checked {
|
|
56
|
+
content: "";
|
|
57
|
+
padding: 3px;
|
|
58
|
+
border: solid 1px ${e=>e.theme.colors.primary};
|
|
59
|
+
background-color: ${e=>e.theme.colors.primary};
|
|
60
|
+
}
|
|
61
|
+
`,fe=i.div`
|
|
62
|
+
display: flex;
|
|
63
|
+
flex-wrap: wrap;
|
|
64
|
+
box-sizing: border-box;
|
|
65
|
+
align-items: center;
|
|
66
|
+
justify-content: center;
|
|
67
|
+
width: 100%;
|
|
68
|
+
`,Ce=i.div`
|
|
69
|
+
width: ${o.sp5};
|
|
70
|
+
height: 29px;
|
|
71
|
+
margin-right: 2px;
|
|
72
|
+
border-radius: ${o.sp1};
|
|
73
|
+
color: ${e=>e.isSelectedDate?e.theme.colors.grey5:e.theme.colors.hero};
|
|
74
|
+
cursor: pointer;
|
|
75
|
+
align-items: center;
|
|
76
|
+
display: flex;
|
|
77
|
+
justify-content: center;
|
|
78
|
+
background: ${e=>e.isSelectedDate?e.theme.colors.primary:""};
|
|
79
|
+
&:hover {
|
|
80
|
+
background: ${e=>e.isSelectedDate?e.theme.colors.primary:e.theme.colors.grey2};
|
|
81
|
+
}
|
|
82
|
+
`,ke=i(ee)`
|
|
83
|
+
text-align: center;
|
|
84
|
+
`,J=i(ee)`
|
|
85
|
+
top: -2px;
|
|
86
|
+
position: relative;
|
|
87
|
+
cursor: pointer;
|
|
88
|
+
`,je=i.div`
|
|
89
|
+
border-top: 1px solid ${e=>e.theme.colors.grey4};
|
|
90
|
+
padding-top: ${o.sp3};
|
|
91
|
+
display: flex;
|
|
92
|
+
justify-content: center;
|
|
93
|
+
`,Pe=i.span`
|
|
94
|
+
width: 20px;
|
|
95
|
+
margin: ${o.sp0} 6px;
|
|
96
|
+
display: inline-block;
|
|
97
|
+
background: ${e=>e.theme.colors.background};
|
|
98
|
+
text-align: center;
|
|
99
|
+
border-radius: ${o.sp1};
|
|
100
|
+
`;function Ae({accountDetails:e,analytics:y,isZeniUser:p,onSetAccountsStatementDate:C}){const c=w.getLocalizedStrings().statementCloseDay.dropdown.option1,h=w.getLocalizedStrings().statementCloseDay.dropdown.option2,[P,v]=f.useState(!1),r=e.statementCloseDay,[b,$]=f.useState(r!=="LAST_DAY_OF_THE_MONTH"?c:h),[g,m]=f.useState(r!=="LAST_DAY_OF_THE_MONTH"?r:void 0),[E,T]=f.useState(!1),_=f.useRef(r),H=W();f.useEffect(()=>{_.current!==r&&T(!1)},[r]);const R=s=>{D.hasAdminLevelAccess(H.loggedInUserRole??[])&&(s.stopPropagation(),s.preventDefault(),v(!0),y.trackCardStatementCloseDate(G.Event.cardStatementCloseDateClicked,e.accountId,e.accountName,"Card Balance",""))},F=s=>{const d=["th","st","nd","rd"],Y=s%100;return s+(d[(Y-20)%10]||d[Y]||d[0])};let k="";r!==void 0&&(r==="LAST_DAY_OF_THE_MONTH"?k=w.getLocalizedStrings().statementCloseDay.ordinalText.lastDate:k=`${w.getLocalizedStrings().statementCloseDay.ordinalText.prefix} ${F(r)} ${w.getLocalizedStrings().statementCloseDay.ordinalText.suffix}`);const I=s=>{const d=s.target.value;d===h&&m(void 0),$(d)},u=(s,d)=>{s.stopPropagation(),m(d),$(c)},S=()=>{m(void 0),$(h)},U=()=>{const s=e.accountId,d=g??"LAST_DAY_OF_THE_MONTH";r!==d&&(T(!0),C?.(s,d)),v(!1),y.trackCardStatementCloseDate(G.Event.cardStatementCloseDateSaved,e.accountId,e.accountName,"Card Balance",g!==void 0?`${g}`:"End")},te=()=>t.jsxs(J,{children:[w.getLocalizedStrings().statementCloseDay.pickDate.prefix,t.jsx(Pe,{children:g??" - "}),w.getLocalizedStrings().statementCloseDay.pickDate.suffix]}),oe=()=>t.jsxs(ze,{role:"presentation","data-testid":x("statement-close-day-section"),onClick:s=>{s.stopPropagation()},children:[t.jsxs(V,{checked:b===c,children:[t.jsx("input",{type:"radio",name:"statementCloseDay",id:c,value:c,onChange:I,checked:b===c,style:{width:"100%"},"data-testid":x("statement-close-day-input")}),te(),t.jsx(fe,{children:Array.from({length:28},(s,d)=>d+1).map(s=>t.jsx(Ce,{isSelectedDate:s===g,"data-testid":x("statement-close-day-text"),onClick:d=>u(d,s),children:t.jsx(ke,{children:s})},s))})]}),t.jsxs(V,{checked:b===h,children:[t.jsx("input",{type:"radio",name:"statementCloseDay",id:h,value:h,onChange:I,checked:b===h,style:{width:"100%"},"data-testid":x("statement-close-day-input-last-day")}),t.jsx(J,{onClick:()=>S(),children:w.getLocalizedStrings().statementCloseDay.lastDate.text})]}),t.jsxs(je,{children:[t.jsx(Z,{size:"small",variant:"secondary",label:"Cancel",onClick:()=>{v(!1)},style:{marginRight:o.sp3},"data-testid":x("statement-close-day-button-secondary")}),t.jsx(Z,{size:"small",variant:"primary",label:"Save",onClick:U,disabled:g==null&&b!==h,"data-testid":x("statement-close-day-button-primary")})]})]}),O=L();return t.jsx(he,{onClickAway:()=>v(!1),children:t.jsxs("div",{onClick:R,"data-testid":x("statement-close-day-modal"),children:[E?t.jsx(ue,{size:"Small",start:!0}):k?t.jsxs(be,{"data-testid":x("edit-statement-close-day"),children:[t.jsx(ve,{}),t.jsx(K,{className:"statementCloseDayText",windowSize:O,children:k})]}):D.hasAdminLevelAccess(H.loggedInUserRole??[])&&p===!0?t.jsxs(ye,{"data-testid":x("add-statement-close-day"),children:[t.jsx(Se,{}),t.jsx(K,{className:"statementCloseDayText",windowSize:O,children:w.getLocalizedStrings().statementCloseDay.statement})]}):"",P?oe():""]})})}const De=new a(n[9],98),z={contentContainerPadding:new a(n[3],n[4]),minItemHeight:new a(n[9],96),imageHeight:new a(n[5],n[7]),imageWidth:new a(n[5],n[7]),amountWrapperWidth:new a(100,230),titleLeftMargin:new a(n[2],n[3])},Be={textContainer:new j("standardMedium","largeMedium")},Te=i.div`
|
|
101
|
+
display: flex;
|
|
102
|
+
width: 100%;
|
|
103
|
+
`,He=i.div`
|
|
104
|
+
cursor: ${e=>e.isClickEnabled===!0?"pointer":null};
|
|
105
|
+
display: flex;
|
|
106
|
+
flex-direction: row;
|
|
107
|
+
flex: 1 1 auto;
|
|
108
|
+
width: 100%;
|
|
109
|
+
min-height: ${e=>z.minItemHeight.valuePx(e.windowSize)};
|
|
110
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
111
|
+
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
112
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
113
|
+
border-radius: ${o.sp2};
|
|
114
|
+
color: ${e=>e.theme.colors.hero};
|
|
115
|
+
&:hover {
|
|
116
|
+
border-color: ${e=>e.isClickEnabled?e.theme.colors.champion:e.theme.colors.grey3};
|
|
117
|
+
color: ${e=>e.isClickEnabled?e.theme.colors.champion:e.theme.colors.hero};
|
|
118
|
+
${e=>e.showEditStatementIcon?ge`
|
|
119
|
+
.statementCloseDayText {
|
|
120
|
+
color: ${e.theme.colors.primary};
|
|
121
|
+
cursor: pointer;
|
|
122
|
+
}
|
|
123
|
+
& svg {
|
|
124
|
+
visibility: visible;
|
|
125
|
+
}
|
|
126
|
+
`:""}
|
|
127
|
+
}
|
|
128
|
+
`,Re=i.div`
|
|
129
|
+
display: flex;
|
|
130
|
+
padding: ${e=>z.contentContainerPadding.valuePx(e.windowSize)};
|
|
131
|
+
width: 100%;
|
|
132
|
+
`,Ie=i.div`
|
|
133
|
+
display: flex;
|
|
134
|
+
align-items: center;
|
|
135
|
+
width: calc(
|
|
136
|
+
100% - ${e=>z.amountWrapperWidth.valuePx(e.windowSize)}
|
|
137
|
+
);
|
|
138
|
+
max-width: calc(
|
|
139
|
+
100% - ${e=>z.amountWrapperWidth.valuePx(e.windowSize)}
|
|
140
|
+
);
|
|
141
|
+
${e=>`${Be.textContainer.style(e.windowSize)}`};
|
|
142
|
+
`,Le=i.img`
|
|
143
|
+
width: ${e=>z.imageWidth.valuePx(e.windowSize)};
|
|
144
|
+
height: ${e=>z.imageHeight.valuePx(e.windowSize)};
|
|
145
|
+
object-fit: contain;
|
|
146
|
+
`,Me=i.div`
|
|
147
|
+
margin: ${e=>`${o.sp0} ${o.sp0} ${o.sp0} ${z.titleLeftMargin.valuePx(e.windowSize)}`};
|
|
148
|
+
overflow: hidden;
|
|
149
|
+
text-align: left;
|
|
150
|
+
min-height: ${o.sp5};
|
|
151
|
+
max-height: 52px;
|
|
152
|
+
white-space: initial;
|
|
153
|
+
word-wrap: break-word;
|
|
154
|
+
`,Ee=i.div`
|
|
155
|
+
width: ${e=>z.amountWrapperWidth.valuePx(e.windowSize)};
|
|
156
|
+
display: flex;
|
|
157
|
+
align-items: flex-end;
|
|
158
|
+
flex-direction: column;
|
|
159
|
+
justify-content: center;
|
|
160
|
+
`,_e=i(pe)``;function Fe({data:e,showStatementSection:y,analytics:p,isZeniUser:C,onItemClick:c,onSetAccountsStatementDate:h}){const{key:P,title:v,amount:r,logoUri:b}=e,$=W(),g=$.loggedInUserRole!=null&&!D.hasInvestorBankerLevelAccess($.loggedInUserRole),m=L();return t.jsx(Te,{windowSize:m,children:t.jsx(He,{"data-testid":x("transaction-list-item-big",e.title),windowSize:m,showEditStatementIcon:D.hasAdminLevelAccess($.loggedInUserRole??[])&&C===!0,isClickEnabled:g,onClick:()=>g===!0?c?.(P,e.source):null,children:t.jsxs(Re,{windowSize:m,children:[t.jsxs(Ie,{windowSize:m,children:[t.jsx(Le,{windowSize:m,src:b,loading:"lazy"}),t.jsx(Me,{windowSize:m,children:v})]}),t.jsxs(Ee,{windowSize:m,children:[t.jsx(_e,{children:me("0,0",r)}),y&&m!=="small"&&t.jsx(Ae,{accountDetails:e.source,isZeniUser:C,onSetAccountsStatementDate:h,analytics:p})]})]})})})}const Ue=f.memo(Fe),A=w.getLocalizedStrings().zeniAccountsPromoCard,l={marginTop:new a(n[6],n[8]),marginBottom:new a(n[3],n[4]),itemPaddingBottom:new a(n[3],n[4]),maxWidth:new a(100,67),sectionTitleHeight:new a(83,110),promoBannerPadding:new a(n[3],n[4]),promoBannerMarginBottom:new a(n[3],n[4]),promoBannerGap:new a(n[1],n[3]),promoHighlightContainerMaxHeight:new a(30,ae.h5Regular.lineHeightValue),promoButtonBorderRadius:new a(n[1],n[2]),promoButtonPaddingVertical:new a(2,6),promoButtonPaddingHorizontal:new a(n[1],n[3]),promoFooterPositionBottom:new a(n[3],n[1]),promoFooterPositionRight:new a(n[3],n[4]),promoFooterMarginTop:new a(0,n[2])},M={textContainer:new j("largeMedium","h6Medium"),promoText:new j("extraSmallRegular","standardRegular"),promoHighlightText:new j("extraLargeRegular","h5Regular"),promoButtonText:new j("extraSmallMedium","smallRegular")},X=8,Ne=i.div`
|
|
161
|
+
display: flex;
|
|
162
|
+
flex: 1 1 auto;
|
|
163
|
+
flex-direction: column;
|
|
164
|
+
align-items: center;
|
|
165
|
+
width: 100%;
|
|
166
|
+
height: ${e=>l.sectionTitleHeight.value(e.windowSize)+e.listHeight}px;
|
|
167
|
+
max-width: ${e=>l.maxWidth.value(e.windowSize)}%;
|
|
168
|
+
`,We=i.div`
|
|
169
|
+
margin: ${e=>`${l.marginTop.valuePx(e.windowSize)} ${o.sp0} ${l.marginBottom.valuePx(e.windowSize)} ${o.sp0}`};
|
|
170
|
+
|
|
171
|
+
width: 100%;
|
|
172
|
+
`,Oe=i.div`
|
|
173
|
+
flex: 1 1 auto;
|
|
174
|
+
width: 99.9%;
|
|
175
|
+
`,Ye=i.div`
|
|
176
|
+
display: flex;
|
|
177
|
+
flex-direction: column;
|
|
178
|
+
gap: ${o.sp2};
|
|
179
|
+
align-items: flex-start;
|
|
180
|
+
${e=>`${M.textContainer.style(e.windowSize)}`};
|
|
181
|
+
`,Ze=i(de)`
|
|
182
|
+
display: -webkit-box;
|
|
183
|
+
-webkit-box-orient: vertical;
|
|
184
|
+
-webkit-line-clamp: 1;
|
|
185
|
+
overflow: hidden;
|
|
186
|
+
color: ${e=>e.theme.colors.hero};
|
|
187
|
+
text-align: left;
|
|
188
|
+
`,Ge=i(ce)`
|
|
189
|
+
display: flex;
|
|
190
|
+
color: ${e=>e.theme.colors.primary};
|
|
191
|
+
text-align: right;
|
|
192
|
+
`,Ke=i.div`
|
|
193
|
+
display: flex;
|
|
194
|
+
justify-content: center;
|
|
195
|
+
`,Ve=i.div`
|
|
196
|
+
width: 100%;
|
|
197
|
+
`,Je=i(le)`
|
|
198
|
+
scrollbar-width: thin;
|
|
199
|
+
scrollbar-color: transparent transparent;
|
|
200
|
+
&::-webkit-scrollbar {
|
|
201
|
+
width: ${X}px;
|
|
202
|
+
height: ${o.sp0};
|
|
203
|
+
background-color: transparent;
|
|
204
|
+
}
|
|
205
|
+
&::-webkit-scrollbar-track {
|
|
206
|
+
box-shadow: inset 0 0 2px ${B.scrollbarBoxShadow};
|
|
207
|
+
-webkit-box-shadow: inset 0 0 2px ${B.scrollbarBoxShadow};
|
|
208
|
+
background-color: transparent;
|
|
209
|
+
}
|
|
210
|
+
&::-webkit-scrollbar-thumb {
|
|
211
|
+
background-color: transparent;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
&:hover {
|
|
215
|
+
scrollbar-color: ${e=>e.theme.colors.grey1} transparent;
|
|
216
|
+
&::-webkit-scrollbar {
|
|
217
|
+
width: ${X}px;
|
|
218
|
+
height: ${o.sp0};
|
|
219
|
+
background-color: transparent;
|
|
220
|
+
}
|
|
221
|
+
&::-webkit-scrollbar-thumb {
|
|
222
|
+
background-color: ${e=>e.theme.colors.grey1};
|
|
223
|
+
border-radius: 2px;
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
`,Xe=i.div`
|
|
227
|
+
position: relative;
|
|
228
|
+
padding: ${e=>l.promoBannerPadding.valuePx(e.size)};
|
|
229
|
+
background-color: ${e=>e.theme.colors.zeniAccountsPromoBackgroundColor};
|
|
230
|
+
border: 1px solid ${B.brandColorJade};
|
|
231
|
+
border-radius: ${o.sp2};
|
|
232
|
+
width: ${e=>e.width}px;
|
|
233
|
+
display: flex;
|
|
234
|
+
justify-content: space-between;
|
|
235
|
+
align-items: center;
|
|
236
|
+
box-sizing: border-box;
|
|
237
|
+
margin-bottom: ${e=>l.promoBannerMarginBottom.valuePx(e.size)};
|
|
238
|
+
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
239
|
+
`,qe=i.div`
|
|
240
|
+
display: flex;
|
|
241
|
+
flex-direction: ${e=>e.size==="small"?"column":"row"};
|
|
242
|
+
align-items: ${e=>e.size==="small"?"flex-start":"center"};
|
|
243
|
+
gap: ${e=>l.promoBannerGap.valuePx(e.size)};
|
|
244
|
+
`,Qe=i(q)`
|
|
245
|
+
${e=>`${M.promoText.style(e.size)}`};
|
|
246
|
+
color: ${e=>e.theme.colors.zeniAccountsPromoDetailTextColor};
|
|
247
|
+
`,et=i.div`
|
|
248
|
+
display: flex;
|
|
249
|
+
max-height: ${e=>l.promoHighlightContainerMaxHeight.valuePx(e.size)};
|
|
250
|
+
overflow: hidden;
|
|
251
|
+
.card-highlight-text {
|
|
252
|
+
${e=>`${M.promoHighlightText.style(e.size)}`};
|
|
253
|
+
color: ${e=>e.theme.colors.zeniAccountsPromoButtonColor};
|
|
254
|
+
}
|
|
255
|
+
.card-highlight-text-stack {
|
|
256
|
+
max-height: ${e=>l.promoHighlightContainerMaxHeight.valuePx(e.size)};
|
|
257
|
+
}
|
|
258
|
+
`,tt=i.div`
|
|
259
|
+
border: 1px solid
|
|
260
|
+
${e=>e.theme.colors.zeniAccountsPromoButtonColor};
|
|
261
|
+
border-radius: ${e=>l.promoButtonBorderRadius.valuePx(e.size)};
|
|
262
|
+
background: ${e=>e.theme.colors.zeniAccountsPromoButtonColor};
|
|
263
|
+
cursor: pointer;
|
|
264
|
+
display: flex;
|
|
265
|
+
padding: ${e=>`${l.promoButtonPaddingVertical.valuePx(e.size)} ${l.promoButtonPaddingHorizontal.valuePx(e.size)}`};
|
|
266
|
+
justify-content: space-around;
|
|
267
|
+
align-items: center;
|
|
268
|
+
align-self: ${e=>e.size==="small"?"flex-start":"center"};
|
|
269
|
+
&:hover {
|
|
270
|
+
background: ${e=>e.theme.colors.zeniAccountsPromoButtonHoverColor};
|
|
271
|
+
border: 1px solid
|
|
272
|
+
${e=>e.theme.colors.zeniAccountsPromoButtonHoverColor};
|
|
273
|
+
}
|
|
274
|
+
`,ot=i(q)`
|
|
275
|
+
${e=>`${M.promoButtonText.style(e.size)}`};
|
|
276
|
+
color: ${e=>e.theme.colors.zeniAccountsPromoButtonTextColor};
|
|
277
|
+
`,it=i(se)`
|
|
278
|
+
color: ${e=>e.theme.colors.zeniAccountsPromoButtonColor};
|
|
279
|
+
margin-top: ${e=>l.promoFooterMarginTop.valuePx(e.size)};
|
|
280
|
+
text-align: start;
|
|
281
|
+
position: absolute;
|
|
282
|
+
bottom: ${e=>l.promoFooterPositionBottom.valuePx(e.size)};
|
|
283
|
+
right: ${e=>l.promoFooterPositionRight.valuePx(e.size)};
|
|
284
|
+
`,nt=({sectionTitle:e,totalFormatted:y})=>{const p=L();return t.jsx(We,{windowSize:p,children:t.jsxs(Ye,{windowSize:p,children:[t.jsx(Ze,{children:e}),t.jsx(Ge,{children:y})]})})};function bt({sectionTitle:e,analytics:y,transactionArray:p,isZeniUser:C,zeniAccountsPromoCardReport:c,onItemClick:h,onSetAccountsStatementDate:P,onPromoCardBtnClick:v}){const r=L(),b=N.createRef(),[$,g]=N.useState(0),m=W(),E=ie(p,function(u,S){return u+(S.amount?.amount??0)},0),T=p.length>0?p[0].amount?.currencySymbol:"",_=ne("0,0",E,T),H=({index:u,style:S})=>t.jsx("div",{style:{...S},children:t.jsx(Ke,{children:t.jsx(Ve,{windowSize:r,children:t.jsx(Ue,{data:p[u],showStatementSection:e===w.getLocalizedStrings().balanceCard.cardBalanceSectionTitle,isZeniUser:C,analytics:y,onItemClick:h,onSetAccountsStatementDate:P})})})}),R=N.useRef(null),F=()=>{const u=R.current;u!=null&&u.clientHeight>0&&u.clientHeight!=$&&g(u.clientHeight)},k=()=>{v?.(c?.depositAccountId??"")},I=D.hasZeniAccountsAdminLevelAccess(m.loggedInUserRoleMap);return t.jsxs(Ne,{windowSize:r,listHeight:$,"data-testid":x("transaction-list-big"),children:[t.jsx(nt,{sectionTitle:e,totalFormatted:_}),t.jsx(Oe,{children:t.jsx(re,{children:({height:u,width:S})=>t.jsxs(t.Fragment,{children:[c?.isShowDepositAccountsPromo===!0?t.jsxs(Xe,{width:S,size:r,children:[t.jsxs(qe,{size:r,children:[t.jsx(Qe,{size:r,children:A.keepInterest.prefixCashBalance}),t.jsx(et,{size:r,children:xe("keepInterest",we(c.maxPossibleInterest??0))})]}),t.jsx(tt,{onClick:k,size:r,children:t.jsx(ot,{size:r,children:I?c.depositAccountId!=null?A.button:A.signUp:A.learnMore})}),t.jsx(it,{size:r,children:A.keepInterest.footer.replace(/<interest>/,c.maxAnnualPercentageYield.toString())})]}):null,t.jsx(Je,{ref:b,height:u,width:S,style:{overflow:"unset"},itemCount:p.length,itemSize:De.value(r)+l.itemPaddingBottom.value(r),onItemsRendered:F,itemKey:U=>p[U].key,innerRef:R,children:H})]})})})]})}export{bt as default,l as dimensions};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{c as M,bD as R,bE as z,j as o,aM as u,bF as G,P as X,bG as _,o as n,am as q}from"./index-MAXVX6UR.js";import{b as r,n as l}from"./vendor-Bs1fkIUX.js";import{f as H}from"./TransactionList-SkjGKFn_-BwaaUL7x.js";import{t as J}from"./page-detail-CWX5S47F-lMo0MYzU.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./BoxItem-D4K0YgBP-Bm_px4kT.js";import"./commonDimensions-CWOH4KIa-zIW9i9kk.js";const K=l.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
height: 100vh;
|
|
@@ -21,7 +21,7 @@ import{x as R,dB as z,dC as M,j as o,cF as u,dD as X,Y as _,dE as q,o as n,cd as
|
|
|
21
21
|
flex-direction: row;
|
|
22
22
|
justify-content: center;
|
|
23
23
|
align-items: center;
|
|
24
|
-
`,V=l(
|
|
24
|
+
`,V=l(q)`
|
|
25
25
|
color: ${t=>t.theme.colors.hero};
|
|
26
26
|
text-align: center;
|
|
27
27
|
`,W=l(J)`
|
|
@@ -32,4 +32,4 @@ import{x as R,dB as z,dC as M,j as o,cF as u,dD as X,Y as _,dE as q,o as n,cd as
|
|
|
32
32
|
&:hover {
|
|
33
33
|
color: ${t=>t.theme.colors.primary};
|
|
34
34
|
}
|
|
35
|
-
`;function
|
|
35
|
+
`;function mt({title:t,subTitle:v,firstMonthOfFY:L,timeframe:c,timePeriod:a,useFixedPeriod:p,dataAvailableForPeriod:g,report:e,currentScrollYOffset:b,showStatementPageIcon:C=!1,onTimePeriodChange:x,onTransactionItemClick:T,onTransactionListScroll:y,onBackClick:w,onStatementPageIconClick:D,referrerType:F}){const[d,S]=r.useState(!0),[f,P]=r.useState(!1),[m,$]=r.useState(!1),I=M();r.useEffect(()=>{e.transactions.length>0?S(!1):S(f===!1&&m===!1?e.fetchState==="In-Progress"||e.fetchState==="Not-Started":!1)},[e,d,f,m]);const N=R(),j=z(F),Y=`${j===""?N:j}.transactions.list`,E=a.startDate.isAfter(g.startDate,c)?{isLoading:f&&(e.fetchState==="In-Progress"||e.fetchState==="Not-Started"),fixedTimePeriod:p,onLoadPreviousClick:(s,i)=>{$(!1),P(!0),x?.(s,a,i)}}:void 0,B=a.endDate.isBefore(g.endDate,c)?{isLoading:m&&(e.fetchState==="In-Progress"||e.fetchState==="Not-Started"),fixedTimePeriod:p,onLoadNextClick:(s,i)=>{P(!1),$(!0),x?.(s,a,i)}}:void 0;let k=null;C&&(k=o.jsx(W,{onClick:D}));const h=r.useRef(null);function O(s,i,A){_({category:`${Y}.transaction-list.react.profiler`,message:`${s} (${i}) took ${A}ms`,level:"info"})}return o.jsx(r.Profiler,{id:"TransactionListPage",onRender:O,children:o.jsxs(K,{"data-testid":u("transaction-list-page",t),children:[o.jsx(G,{source:"TransactionListPage","data-testid":u("transaction-list-page-nav-bar"),title:t,onBackClick:w,backgroundColor:I.colors.grey4,rightSideComponent:k,scrollableContent:h.current!=null?h:void 0}),o.jsxs(Q,{"data-testid":u("transaction-list",t),children:[o.jsx(V,{children:v}),d===!1?o.jsx(H,{ref:h,firstMonthOfFY:L,timeframe:c,timePeriod:a,transactions:e.transactions,isFirstLotLoading:d,currentScrollYOffset:b,onTransactionItemClick:T,onTransactionListScroll:y,showLoadPrevious:E,showLoadNext:B,componentName:"report.transactions.list"}):o.jsx(U,{children:o.jsx(X,{size:"ExtraLarge",start:!0})})]})]})})}export{mt as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as
|
|
1
|
+
import{q as H,O as M,j as o,P as B,aM as D,aQ as W,o as a,y as g,A as _,b as Q,dh as U,aa as G,hc as k,hd as F,he as R,cS as J,ad as K,u as r,c as X,cV as Y,gT as z,hj as Z,b6 as ee,hn as oe,ho as te}from"./index-MAXVX6UR.js";import{b as j,n as d}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const L=(e,c)=>`${e}.${c}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=M.getLocalizedStrings().transactionDetail.vendorDetails,i=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:c,selectedClassId:p,selectedOwnerId:t,selectedVendorName:m,allAccounts:h,allClasses:C,allOwners:b,sectionId:v,isDisabled:u,accountsHierarchyList:f,classHierarchyList:x})=>{const l=H(),y=X(),$=N.labelWidth.value(l),P=N.controlWidth.value(l),I=n=>h.filter(O=>O.accountId===n)[0]?.coaId??"",s=n=>C.filter(O=>O.classId===n)[0]?.accountingClassNumber??"",S=n=>{const O=h.find(q=>q.accountId===n)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(re,{"data-testid":D("vendor-details-section",v),children:[o.jsx(se,{children:i.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(Y,{label:{label:i.vendorDetails.vendorName,width:$},text:{type:"text",name:L(v,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:m,autoComplete:"off",options:{required:!0}},isSaveError:c,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(v,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:n=>I(n),defaultValue:{selectedOption:e,allOptions:F(f)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u,disableCurrentOption:S,zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(v,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:n=>s(n),defaultValue:{selectedOption:p,allOptions:k(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u}),b!=null?o.jsx(Z,{label:{label:i.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:L(v,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:R(b),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:P}):null]})]})},re=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
padding-top: ${a.sp3};
|
|
@@ -20,7 +20,7 @@ import{q as A,O as H,j as o,Y as B,cF as D,cK as W,o as a,y as g,A as _,b as G,f
|
|
|
20
20
|
background-color: ${e=>e.theme.colors.grey3};
|
|
21
21
|
min-height: 1px;
|
|
22
22
|
max-height: 1px;
|
|
23
|
-
`,V="vendorDetails",de=({id:e,allAccounts:c,allClasses:
|
|
23
|
+
`,V="vendorDetails",de=({id:e,allAccounts:c,allClasses:p,allOwners:t,selectedVendor:m,formLocalData:h,isDisabled:C,onSaveVendor:b,saveVendorDetailLocalData:v,accountsHierarchyList:u,classHierarchyList:f})=>{const x=G({mode:"all",reValidateMode:"onChange",defaultValues:ce(u,f,t,h)}),[l,y]=j.useState(!1),$=s=>{s.preventDefault(),x.getValues().vendorDetails.vendorName!==""&&l===!1&&b?.()},P=(s,S)=>{const n=ue(s,void 0);v?.(n)},I=async(s,S)=>{(s.includes("vendorName")||s.includes("vendorOwner")||s.includes("vendorClass")||s.includes("vendorCategory"))&&(P(S),l===!0&&s.includes("vendorName")&&y(!1))};return j.useEffect(()=>{const s=x.watch((S,{name:n})=>{n!=null&&S!=null&&J(()=>I(n,S))});return()=>{s.unsubscribe()}}),j.useEffect(()=>{m.saveStatus.fetchState==="Error"&&m.saveStatus.error?.code===409&&y(!0)},[m.saveStatus]),o.jsx(K,{...x,children:o.jsx("form",{id:e,onSubmit:$,children:o.jsx(ne,{sectionId:V,selectedVendorDetails:m,isSaveError:l,selectedAccountId:h?.vendorCategory,selectedClassId:h?.vendorClass,selectedOwnerId:h?.vendorOwner,allAccounts:c??[],allClasses:p??[],selectedVendorName:h?.vendorName,allOwners:t,isDisabled:C,accountsHierarchyList:u,classHierarchyList:f})})})},ce=(e,c,p,t)=>({[V]:{vendorName:t?.vendorName??"",vendorOwner:{allOptions:R(p),selectedOption:t?.vendorOwner},vendorCategory:{allOptions:F(e),selectedOption:t?.vendorCategory},vendorClass:{allOptions:k(c),selectedOption:t?.vendorClass}}});function ue(e,c,p){const t=e?.[V];return{vendorCategory:t.vendorCategory.selectedOption,vendorClass:t.vendorClass.selectedOption,vendorId:c,vendorName:t.vendorName,vendorOwner:t.vendorOwner?.selectedOption}}const w={containerPaddingLeft:new g(r[3],r[3],r[6]),containerPaddingRight:new g(r[3],r[3],r[8]),containerMarginTop:new g(r[2],r[2],r[4]),navbarContainerPaddingTop:new g(r[3],r[3]),navbarContainerPaddingBottom:new g(r[3],r[3]),SectionTitleMarginTop:new g(0,r[3])},T={sectionTitle:new Q("h6Regular","h5Medium"),sectionTitleLineHeight:new g(30,40)},he=d.div`
|
|
24
24
|
display: flex;
|
|
25
25
|
flex: 1 1 auto;
|
|
26
26
|
min-height: 100%;
|
|
@@ -28,7 +28,7 @@ import{q as A,O as H,j as o,Y as B,cF as D,cK as W,o as a,y as g,A as _,b as G,f
|
|
|
28
28
|
flex-direction: column;
|
|
29
29
|
background-color: ${e=>e.theme.colors.grey5};
|
|
30
30
|
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
31
|
-
`,
|
|
31
|
+
`,pe=d.div`
|
|
32
32
|
margin-top: ${e=>w.containerMarginTop.valuePx(e.windowSize)};
|
|
33
33
|
padding-left: ${e=>w.containerPaddingLeft.valuePx(e.windowSize)};
|
|
34
34
|
padding-right: ${e=>w.containerPaddingRight.valuePx(e.windowSize)};
|
|
@@ -69,7 +69,7 @@ import{q as A,O as H,j as o,Y as B,cF as D,cK as W,o as a,y as g,A as _,b as G,f
|
|
|
69
69
|
&:hover {
|
|
70
70
|
color: ${e=>e.theme.colors.primary};
|
|
71
71
|
}
|
|
72
|
-
`,xe=d(
|
|
72
|
+
`,xe=d(U)`
|
|
73
73
|
display: flex;
|
|
74
74
|
width: 100%;
|
|
75
75
|
color: ${e=>e.theme.colors.primary};
|
|
@@ -77,4 +77,4 @@ import{q as A,O as H,j as o,Y as B,cF as D,cK as W,o as a,y as g,A as _,b as G,f
|
|
|
77
77
|
${e=>`${T.sectionTitle.style(e.windowSize)}`};
|
|
78
78
|
margin-left: ${e=>e.windowSize==="small"?a.sp3:0};
|
|
79
79
|
line-height: ${e=>T.sectionTitleLineHeight.valuePx(e.windowSize)};
|
|
80
|
-
`,
|
|
80
|
+
`,E="vendorDetailPage",A=e=>`${e}_form`,Pe=({vendorDetailView:e,onSaveSuccess:c,onCancelClick:p,onSaveVendor:t,saveVendorDetailLocalData:m})=>{const{editVendorState:h,newVendorState:C,accountsHierarchyList:b,classHierarchyList:v}=e,u=H(),{footer:f,newVendor:x}=M.getLocalizedStrings().transactionDetail.vendorDetails.createVendor,l=Object.assign({},h??C);if(j.useEffect(()=>{l?.saveStatus?.fetchState==="Completed"&&c?.()},[l]),e.fetchState==="Not-Started"||e.fetchState==="In-Progress")return o.jsx(ve,{children:o.jsx(B,{size:"ExtraLarge",start:!0})});const y=l.saveStatus?.fetchState==="In-Progress";return o.jsxs(he,{windowSize:u,"data-testid":D("transaction-vendor-detail-page"),children:[o.jsxs(me,{windowSize:u,children:[o.jsx(we,{children:o.jsx(fe,{onClick:p,"data-testid":D("close-icon")})}),o.jsx(xe,{windowSize:u,children:x})]}),o.jsx(ge,{children:o.jsx(pe,{windowSize:u,"data-testid":D("vendor-detail-page-form"),children:o.jsx(de,{id:A(E),allAccounts:e.accountList.accounts,allClasses:e.classList.classes,allOwners:e.ownerList,selectedVendor:l,formLocalData:l.vendorDetailLocalData,onSaveVendor:t,saveVendorDetailLocalData:m,accountsHierarchyList:b,classHierarchyList:v})})}),o.jsx(W,{formId:A(E),primaryBtn:{label:f.save,isLoading:y},cancelBtn:{label:f.cancel,shouldResetOnCancel:!0,onClick:p}})]})};export{Pe as default,A as formUniqueName};
|