@zeniai/web-cockpit-ui 1.15.68-qa → 2.0.0-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/Preview-C3kztGrG.js +1 -0
- package/dist/assets/ScreenRoutes-5hC3wQD-.js +179 -0
- package/dist/assets/SignInScreen-Bw3kDJOY.js +1 -0
- package/dist/assets/{analytics-dIF_tB7z.js → analytics-Ci62SVC6.js} +15 -15
- package/dist/assets/analyticsHelper-DvZ4fRLz.js +1 -0
- package/dist/assets/{core-BkNBJTfZ.js → core-CrJ0HRkP.js} +2 -2
- package/dist/assets/{dash.all.min-DCp0srRm.js → dash.all.min-BC3O3eK3.js} +1 -1
- package/dist/assets/{empty-BEbp_utR.js → empty-DCdjTxMk.js} +1 -1
- package/dist/assets/{index-_FLNHZ7a.js → empty-DewRN75u.js} +1 -1
- package/dist/assets/epic-ButtTfPO.js +2 -0
- package/dist/assets/{index-DfsiX1oL.js → index-BHVDlT_9.js} +1 -1
- package/dist/assets/{index-Bg7enq0w.js → index-BIzFhK6B.js} +1 -1
- package/dist/assets/index-BnSSVzJm.js +1 -0
- package/dist/assets/index-C1011MmK.js +2 -0
- package/dist/assets/index-CS2xkLsB.js +1 -0
- package/dist/assets/index-DrEiJ4Wx.js +1 -0
- package/dist/assets/index-Obh2uEoj.js +75311 -0
- package/dist/assets/{lexical--yBvDuds.js → lexical-Y1MbDrft.js} +1 -1
- package/dist/assets/{liveblocks-CkHat3gw.js → liveblocks-CH5Ytl_r.js} +1 -1
- package/dist/assets/{lottie-CiNEXYTH.js → lottie-jJKhsKLZ.js} +2 -2
- package/dist/assets/{mui-CKa4KRJ2.js → mui-DzLLS9Rs.js} +2 -2
- package/dist/assets/{react-DFgw9ha_.js → react-9Kj1B1wt.js} +2 -2
- package/dist/assets/{react-Bh7KrkxH.js → react-BLe964tg.js} +3 -3
- package/dist/assets/{react-BJmIi--Z.js → react-CNU9DWBw.js} +1 -1
- package/dist/assets/{react-DXNdEWzL.js → react-C_qk_SxL.js} +2 -2
- package/dist/assets/{react-BLv4IrTZ.js → react-CdND5srH.js} +2 -2
- package/dist/assets/{react--zdVa7jE.js → react-D1VJKwtS.js} +2 -2
- package/dist/assets/{react-BTFNn9Bg.js → react-D1lzTawy.js} +2 -2
- package/dist/assets/{react-CWTkMrjw.js → react-DRO7qhGA.js} +4 -4
- package/dist/assets/{recharts-Bm8U4EbE.js → recharts-DE-kxplH.js} +25 -25
- package/dist/assets/{sentry-D1ATZ09m.js → sentry-SNkBC2Al.js} +2 -2
- package/dist/assets/{url-BieQVYgF.js → url-C9VCVVAZ.js} +1 -1
- package/dist/assets/url-h1qG-NI4.js +1 -0
- package/dist/assets/{utils-CYPfyH0l.js → utils-CpsqBQqv.js} +1 -1
- package/dist/assets/zeni-epic-state-B7yJI5lR.js +14 -0
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-B5qIuZya-DreI9ztK.js +0 -21
- package/dist/assets/AIPerformancePage-BHB45mP--dlHEfggg.js +0 -539
- package/dist/assets/AccountInfoPage-Cd5xYT1g-7Z-4ZVo7.js +0 -18
- package/dist/assets/AccountInfoPageContent-CJ7ycVIK-r5lMwlUU.js +0 -149
- package/dist/assets/AccountLockedInfoModal-Dox7IuAX-BheVgwP8.js +0 -59
- package/dist/assets/AccountReconDetailsDrawerPage-Bqty08m0-iROkMwT2.js +0 -239
- package/dist/assets/AccountRow-D1cjRJJD-BE-H4Wf8.js +0 -298
- package/dist/assets/AccountsPromoCardStack-Bs3naJHM-D3JqjCfa.js +0 -207
- package/dist/assets/AddAddressForCardDrawer-DZkBMJfp-BdtXe-OU.js +0 -6
- package/dist/assets/AddToWalletPage-CyRfqVDB-BusuwTiS.js +0 -344
- package/dist/assets/AgingReportsPage-xBFff3BM-B3EJ2mJD.js +0 -79
- package/dist/assets/AllUserItems-BJf6WPDo-Cm756gtk.js +0 -192
- package/dist/assets/ApAgingDetailPage-CjBrPyi8-E5jF8UEr.js +0 -46
- package/dist/assets/AppBasePage-CqDm-hnV-Yjdz7-aJ.js +0 -71
- package/dist/assets/AppDrawerContent-CVVWj66i-DG2NhbZY.js +0 -92
- package/dist/assets/ApprovalRulesSettingsPage-Cckd2uVA-B8rzMPKx.js +0 -47
- package/dist/assets/ArAgingChart-CBsqOd-4-C09lN8GR.js +0 -24
- package/dist/assets/ArAgingDetailPage-i7JObt60-CWbqCyje.js +0 -46
- package/dist/assets/AttachmentView-CzC4skJ3-Bu4UD669.js +0 -101
- package/dist/assets/BalancesInsightWithToolTip-B6umvmgL-Cw_3AGL_.js +0 -38
- package/dist/assets/BankAccountSection-Di4sF52j-ZCgNUGht.js +0 -79
- package/dist/assets/BankAccountWarningSection-Cled-2cR-DVb4w8SQ.js +0 -51
- package/dist/assets/BankConnectionsSettingsPage-Ccnzq7st-Di6begXg.js +0 -425
- package/dist/assets/BillDetailPage-XXOwBfO1-DQjZ5T4Z.js +0 -266
- package/dist/assets/BillPayApprovalRuleDetailPage-DFZ0csaT-Cw2FQFD_.js +0 -27
- package/dist/assets/BillPayApprovalRulesPage-COCypDcS-PzGr2X65.js +0 -241
- package/dist/assets/BillPayPromoPage-DOE2YIqC-QS14J4gh.js +0 -84
- package/dist/assets/BillPaySetUpPage-BCJbZDsV-D07Mdr-N.js +0 -42
- package/dist/assets/BillingSettingsPage-iImtlEmO-EXL61nIT.js +0 -44
- package/dist/assets/BillsBulkReviewDrawerPage-B11GWM_0-ByV-VNjF.js +0 -1
- package/dist/assets/BoxItem-Bxa1M4QU-nzwL598W.js +0 -53
- package/dist/assets/BusinessVerificationPage-DSuJFoW1-DaafE5oZ.js +0 -138
- package/dist/assets/CardNumberSubText-_ZZbaz_k-0NwREFmO.js +0 -21
- package/dist/assets/CashbackDetailPage-DAZXitLt-cAPq1-x_.js +0 -285
- package/dist/assets/ChargeCardDetailPage-B1VIpASk-Glkm02eC.js +0 -1467
- package/dist/assets/ChargeCardListPage-BOBepN-x-yGCwOFru.js +0 -412
- package/dist/assets/ChargeCardListTable-YznzSsJo-6gqezgiN.js +0 -711
- package/dist/assets/ChargeCardPaymentHistoryPage--jOwsMla-Cb2-K9Pq.js +0 -565
- package/dist/assets/ChargeCardPromoPage-DIfakIOK-B_qlACus.js +0 -222
- package/dist/assets/ChargeCardSetupPage-0bpVkeJs-CYImhK0W.js +0 -36
- package/dist/assets/ChargeCardStatementsPage-ChWyQlw6-D0jTdagl.js +0 -60
- package/dist/assets/CheckDepositDrawerPage-BS7hnyZn-CWAiXfSS.js +0 -206
- package/dist/assets/CollapsableReportTable-DNfFkAts-C8dmIdO0.js +0 -2982
- package/dist/assets/CompanyOfficerDetailsSection-CrOIN4IW-CNi04YQI.js +0 -331
- package/dist/assets/CompanyPassportCard-CkzYFTrp-Pimw3mP5.js +0 -42
- package/dist/assets/CompanyPassportPage-FE6yli6h-B4PxDpsu.js +0 -417
- package/dist/assets/CompleteProfile-Cb8i1XgZ-BXOZoOlD.js +0 -52
- package/dist/assets/ConfettiBurst-BZCXEGYA-Do0yS2i8.js +0 -1
- package/dist/assets/ConstrainedInnerElement-CgdnMeoA-BpHBKVR8.js +0 -5
- package/dist/assets/CreateOrEditVendorPage-CzpSgxbO-BN8HspAj.js +0 -281
- package/dist/assets/CreditCardPaymentDrawerPage-c_q0MsSO-Cr-gCtRh.js +0 -227
- package/dist/assets/CurrencySelectField-BAh7SHrG-CgfY-43B.js +0 -139
- package/dist/assets/CustomerOnboardingActivationPage-f3Aa6E5r-CCEOw9fE.js +0 -88
- package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-F5PScDkh.js +0 -1
- package/dist/assets/CustomerOnboardingDetailPageSkeleton-DYuiWn8s-DPEjcBhY.js +0 -162
- package/dist/assets/CustomerOnboardingNoStepsPage-Bh_F0-oC-ClcKQXcB.js +0 -66
- package/dist/assets/CustomerOnboardingPage-B9hSO88_-BDyRpdiM.js +0 -107
- package/dist/assets/CustomerOnboardingProductSuitePage-CG0HKCpQ-C0roMOz5.js +0 -202
- package/dist/assets/Dashboard-BJ_oIHab-BMBptBWK.js +0 -1611
- package/dist/assets/DashboardReportPage-BemzMw2e-DuF-tyyh.js +0 -371
- package/dist/assets/DashboardSidebarBackgroundAnimation-BtA5oEGG-cLLo-Xa2.js +0 -12
- package/dist/assets/DepositAccTransactionItem-CyFi1P_L-t2UvwHYc.js +0 -76
- package/dist/assets/DepositAccTransactionListPage-DvBRRUdZ-mvagG3Fg.js +0 -66
- package/dist/assets/DomesticWireDetailsPage-DCDo3aHI-B8T0Sqy1.js +0 -21
- package/dist/assets/DownloadOverlay-D_lL1sPW-D5tf77PN.js +0 -439
- package/dist/assets/DrawerPage-DesxXhZk-BY9Jhte8.js +0 -118
- package/dist/assets/EditPeoplePage-QvPy_Six-B-aFxB6M.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-C0ZDkboO-CaUwb4y0.js +0 -865
- package/dist/assets/EntityDetailPage-l7nXIsyF-CUi-kmqG.js +0 -18
- package/dist/assets/EntitySummarySection-BwX0a4JL-BqwAGuNV.js +0 -151
- package/dist/assets/ExpenseAutomationOverviewPage-EdyHjbff-DCBv2K-u.js +0 -281
- package/dist/assets/ExpenseAutomationPage-DA22Qofw-CiNaHcxf.js +0 -3001
- package/dist/assets/ExpressPayPage-EMP6inpX-DZlGHAds.js +0 -168
- package/dist/assets/FeaturePreviewPage-SYJm-3aR-xFnEerKU.js +0 -11
- package/dist/assets/FollowStepsSection-BxESVqJD-DxFAH_h3.js +0 -390
- package/dist/assets/GlobalReviewListPage-D5_ACa-q-BMMI2ntm.js +0 -291
- package/dist/assets/InformationCardStack-B_qQUEYD-CQ0SbwAa.js +0 -31
- package/dist/assets/InsightsCardStack-BsQzoVzj-CjyRghi5.js +0 -79
- package/dist/assets/InsightsSection-B6CNlTNH-B1LSgGwc.js +0 -27
- package/dist/assets/IntegrationsSettingsPage-DP6fAccq-v6tkG7JS.js +0 -57
- package/dist/assets/InternationalWireSwiftDetailsPage-VdG7bDZi-BblPxkFu.js +0 -171
- package/dist/assets/InternationalWireVerificationPage-COC6lZml-oCEJi0X3.js +0 -65
- package/dist/assets/InviteFormPage-DN02jRy5-nGjvuxdk.js +0 -312
- package/dist/assets/InvitePageListView-CP4K9tJi-DR1QifKE.js +0 -739
- package/dist/assets/InvitePeoplePage-VTM6kM1u-DP5iUCV3.js +0 -12
- package/dist/assets/InvoiceUploadSection-it-ZYl1N-D-oO7O3y.js +0 -140
- package/dist/assets/IssueChargeCardPage-CVfuvGey-EGKoaj6m.js +0 -532
- package/dist/assets/LabeledAddressValue-DDrQcHIE-CsDSYeJm.js +0 -49
- package/dist/assets/LabeledAddressValueField-BgWwd5Gw-C6Sd84JD.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-CcPO1k23-CZG4Ni3I.js +0 -16
- package/dist/assets/LabeledCountryMultiSelectField-BYYjzwUG-ClkVAIH6.js +0 -237
- package/dist/assets/LabeledCreatableSingleSelectField-CISYMojq-DIFCt9eo.js +0 -208
- package/dist/assets/LabeledDocumentField-C_bcFxdY-CtjexOgx.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-ScGGCap8-B5wH8nK9.js +0 -59
- package/dist/assets/LabeledText-C8Y7EOsX-kS2nKxle.js +0 -42
- package/dist/assets/LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-D8iTWuxp.js +0 -229
- package/dist/assets/LabeledZeniRolesDropDownField-BZtreVpj-D8mq_P_F.js +0 -297
- package/dist/assets/LinkJETransactionPage-CKq4oiX9-CzwuDv7K.js +0 -98
- package/dist/assets/LockCardPage-CZENNby7-DHuKzK_P.js +0 -623
- package/dist/assets/LowBalancePopup-1727S1ri-CLn_owQa.js +0 -34
- package/dist/assets/MagicLinkACHDetailsPage-BSOlSfNu-CQCLG-kg.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-D1DTPo0E-C49U7WGq.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-D_wo_2nm-BLRkR6HU.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-QMkZgQLG-B9vDVHgU.js +0 -31
- package/dist/assets/MagicLinkTitleSection-CARU1oLQ-BjGULf6o.js +0 -17
- package/dist/assets/MailingDetailsSection-ByOPaJ05-9VPv0fgJ.js +0 -21
- package/dist/assets/MyBankConnectionsSettingsPage-BdgIIhL1-C8HdioWO.js +0 -110
- package/dist/assets/MyPendingActivationChargeCardListPage-CX38bDdq-Dtvvpc2s.js +0 -6
- package/dist/assets/MyProfileSettingsPage-DYu0Fx6I-BrcNb6gY.js +0 -85
- package/dist/assets/NavBarWithPicker-CGGEvLwe-DMufk1Tl.js +0 -30
- package/dist/assets/NavigationArrow-CTNkKUtV-BeKuQdbg.js +0 -47
- package/dist/assets/NavigationDots-Dvce3gHt-BEZo75Mq.js +0 -15
- package/dist/assets/NewGlobalMerchantPage-D_f7z47T-DPDxycDd.js +0 -160
- package/dist/assets/NoDataChart-CrKeqWSr-O1hAzQpH.js +0 -26
- package/dist/assets/NoDataTable-4vPXmPYF-D5e99E2i.js +0 -8
- package/dist/assets/NotFoundPage-BLWPU1wU-BS5U-4en.js +0 -46
- package/dist/assets/NotificationSettingsPage-CDiDLX3A-BTUmGwwX.js +0 -163
- package/dist/assets/NotificationsListConfig-B5pDa4cJ-BrlsFoGd.js +0 -1
- package/dist/assets/NotificationsPage-Ccl7Dny1-CDeyLmel.js +0 -685
- package/dist/assets/OpExByVendorPage-spd-nKV4-DymWDKxZ.js +0 -100
- package/dist/assets/OverlayContainerPage-BG9y5C0t-DHbkSpdr.js +0 -11
- package/dist/assets/PandLWithForecastPage-TSoe4Z7F-DVvQDzF4.js +0 -123
- package/dist/assets/PaymentAccountSetupBillingAddressSection-9ma8SpIa-B61gEeKv.js +0 -107
- package/dist/assets/PeoplePage-b5_I0qOw-CcyzZTOx.js +0 -727
- package/dist/assets/Preview-jSjyb8Wz.js +0 -1
- package/dist/assets/ProductsCarousel-C3M0ocdF-Bt8auSak.js +0 -142
- package/dist/assets/PromoBaseCards-BOGJI2ws-D_mJTIMJ.js +0 -218
- package/dist/assets/QBOConnectionDialog-CmpnnuzP-SYvDug7J.js +0 -51
- package/dist/assets/QBOSetupSection-DjnN9dgv-65xgGpej.js +0 -79
- package/dist/assets/ReimbursementApprovalRuleDetailPage-D5NXjrO9-CK4k2_1U.js +0 -32
- package/dist/assets/ReimbursementApprovalRulesPage-BsCTIqUJ-kxyvDxFF.js +0 -243
- package/dist/assets/ReimbursementDetailPage-BbyxE2uL-DHKJBXjf.js +0 -314
- package/dist/assets/ReimbursementPromoPage-CyEgwqcf-DhHbMt9Y.js +0 -84
- package/dist/assets/ReimbursementSetUpPage-RETPkEQd-7NuS22jg.js +0 -140
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-DnmYl0FM-DRTY5Qrt.js +0 -1
- package/dist/assets/ReloadCard-Bdoo0XiI-De2qYvVJ.js +0 -26
- package/dist/assets/ReportTableViewSelector-Bc1K7mU_-WcN_bkH8.js +0 -151
- package/dist/assets/ReportsPage-BOTHMLWh-CbxRi3Bl.js +0 -269
- package/dist/assets/RevenueChart-DvyZ3aO7-DJIWRApB.js +0 -280
- package/dist/assets/ReviewDetailsPage-BIMg1n2e-Y9hISS-B.js +0 -290
- package/dist/assets/ReviewOverlay-CxwoiOLC-K4xuFYJf.js +0 -152
- package/dist/assets/RoleWithToolTip-Ct3_VuDM-CutV0VSI.js +0 -22
- package/dist/assets/ScheduleDetailsFixedAssetsPage-DiL5Dozk-Dsn_tV_Z.js +0 -37
- package/dist/assets/ScheduleDetailsPage-5FWpLRtd-BkiM-YWE.js +0 -37
- package/dist/assets/ScheduleSequenceTable-R3-PsXES-BzlTpl5i.js +0 -326
- package/dist/assets/ScreenRoutes-CkrPqzsb.js +0 -179
- package/dist/assets/SetUpAccountSection-CctbMmoK-BOF6_9cx.js +0 -378
- package/dist/assets/SignIn-CmgmnRm4-BCJZcyou.js +0 -491
- package/dist/assets/SignInScreen-DSAx5H2X.js +0 -1
- package/dist/assets/SpendManagementListViewPage-CFUxCqkU-CL-5c7Md.js +0 -134
- package/dist/assets/SpendManagementPerTabPage-C-kqNTci-C7N-eI_F.js +0 -754
- package/dist/assets/SpendManagementSection-CIz4nE_w-DEEvDlQ3.js +0 -246
- package/dist/assets/StatementItem-vVtoBN2w-DNhjpRXd.js +0 -31
- package/dist/assets/StatementsPage-As5WOnMR-BGDHNVov.js +0 -58
- package/dist/assets/StatusSwitcher-Bv-ozN6U-DR2exS0w.js +0 -120
- package/dist/assets/SubTabSwitcher-D7QeM6nb-CrqFxDEj.js +0 -58
- package/dist/assets/SummaryCard-C2qoTsAY--GDNjG_3.js +0 -1
- package/dist/assets/TaskManagementPage-BJwp32Ph-DTf-Iv_K.js +0 -508
- package/dist/assets/TimeRangeSwitcher-D00bDDhP-C0DMxgEQ.js +0 -64
- package/dist/assets/TimeframeSwitcher-DA99HdHt-b8QZxwPR.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-DyggDIQj-CT6U2a1r.js +0 -53
- package/dist/assets/TopExCard-Z1WabZ8c-B1L2Pds0.js +0 -38
- package/dist/assets/TopExDetailPage-CzHG4f9E-dWSLA4Ws.js +0 -132
- package/dist/assets/TransactionActivityLogPage-CGKnjNfU-Bl38wH2t.js +0 -195
- package/dist/assets/TransactionDetailPage-1-mLOWSz-BmpQvtBx.js +0 -903
- package/dist/assets/TransactionList-BB-xoIGm-Cr5Fw4zn.js +0 -153
- package/dist/assets/TransactionListBig-C5Sf5Xh--slDI8IwT.js +0 -284
- package/dist/assets/TransactionListPage-Cj7h1Ros-rJMcmK0n.js +0 -35
- package/dist/assets/TransactionVendorDetailPage-SsrSOk3O-SPbpEcQG.js +0 -80
- package/dist/assets/TransferDrawerPage-BvKZ7vHF-ByA-FuC8.js +0 -362
- package/dist/assets/TreasuryOverviewPage-DwvjMR4_-BtzvJmQX.js +0 -725
- package/dist/assets/TreasuryPromoPage-CtTFvSQW-CrQtFUyL.js +0 -505
- package/dist/assets/TreasuryStatementsPage-Catz8shX-By_rJK-C.js +0 -58
- package/dist/assets/TreasuryTaxLetterPage-D8hzCL5o-CCKZ7rcr.js +0 -58
- package/dist/assets/TrendChart-Bnp4Pcdf-CogbW3Ev.js +0 -16
- package/dist/assets/TrendWithTransactions-3D1FvM8G-BT6LIECo.js +0 -116
- package/dist/assets/UncategorizedAccountsMappingPage-DbyY-dYB-COgBKAub.js +0 -244
- package/dist/assets/UnitIntegrationPage-CTzme1te-BGDWnIqI.js +0 -67
- package/dist/assets/UploadAdditionalDocumentOverlay-Wl4Spdpn-DBxdytXh.js +0 -38
- package/dist/assets/Vendor2FAPopup-D0zYKkIv-BWyhVU6Z.js +0 -1
- package/dist/assets/VendorACHDetailsPage-YYX9aQdw-BkRCrsJP.js +0 -1
- package/dist/assets/VendorDetailPage-Br9wIOnI-FU56y_vG.js +0 -257
- package/dist/assets/VendorDomesticWireDetailsPage-BpPgQRHI-CaZ8t3RD.js +0 -1
- package/dist/assets/VendorFiling1099EditablePage-himC7iD3-CNVSOTkz.js +0 -175
- package/dist/assets/VendorFirstReviewPage-BbknTCBD-YVpApymJ.js +0 -730
- package/dist/assets/VendorInternationalWireDetailsPage-CS595Xgc-VsCdYKTp.js +0 -152
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-yhTjWXvw-Cl8K_joJ.js +0 -1
- package/dist/assets/VendorsAccountsSection-CgSJu8wq-Bnudq5ZH.js +0 -68
- package/dist/assets/VerifyDevice-Dvf0JsNN-CH5zYch6.js +0 -112
- package/dist/assets/VideoPlayer-VAzOGCDL-CPK9tgJc.js +0 -78
- package/dist/assets/VideoPopup-BqvZ-XIh-CCnmTOxs.js +0 -31
- package/dist/assets/WarningsDrawerPage-DeNonoNp-pgJgLpVF.js +0 -92
- package/dist/assets/ZeniAccountDetailPage-GcwTJdB8-BXRXRlQ6.js +0 -300
- package/dist/assets/ZeniAccountListViewPage-CdwO0Duy-DQagrsIQ.js +0 -443
- package/dist/assets/ZeniAccountNavBarPieces-BrSIfL36-7mzjBV6X.js +0 -33
- package/dist/assets/ZeniAccountPromoPage-JrcedQYB-YtGWtBwn.js +0 -184
- package/dist/assets/ZeniAccountSetupPage-TKBfbgzJ-B1EzSk8V.js +0 -36
- package/dist/assets/ZeniCopyright-DglqrTpl-Dk0MIlLg.js +0 -1
- package/dist/assets/ZeniTransferAmountSlider-BcaZZuAw-DowL9stJ.js +0 -63
- package/dist/assets/add-to-wallet-DgdBD8_G-ClJS_e0H.js +0 -1
- package/dist/assets/agingReportHelper-ovKP-qSS-Cx4Hdid-.js +0 -1
- package/dist/assets/analyticsHelper-CAYdbjhS-BBrtDo0R.js +0 -1
- package/dist/assets/analyticsHelper-CQyCjSZv.js +0 -1
- package/dist/assets/arrow-south-east-round-PEovUgvH-C2Qodq1b.js +0 -1
- package/dist/assets/auto-transfer-rule-mbafm5D3-z7CMhaGd.js +0 -1
- package/dist/assets/chartTypes-CD3vrBsI-C2xnw0_m.js +0 -1
- package/dist/assets/commonDimensions-Oz1tdAcx-CViekSs7.js +0 -1
- package/dist/assets/commonTypes-5tEXwrX4-BpOxVdsm.js +0 -1
- package/dist/assets/constants-Cjq8462k.js +0 -1
- package/dist/assets/downloadPdf-Dsuxeias-B5CmpDNO.js +0 -1
- package/dist/assets/empty-DXsQa3BK.js +0 -1
- package/dist/assets/epic-D0G0YyT9.js +0 -2
- package/dist/assets/getReferrerType-DjPOy76W-DRP5VHem.js +0 -1
- package/dist/assets/gift-box-Cmt9OgIZ-BCH7CZB4.js +0 -1
- package/dist/assets/graphic-no-data-l-DU4J8fDt-B59LiiVb.js +0 -1
- package/dist/assets/graphic-no-data-net-burn-l-CzmycA0m-Dk2SOx10.js +0 -1
- package/dist/assets/handshake-BPg58FML-3EjHIdOv.js +0 -1
- package/dist/assets/helper-Ckm10Uko-SWsdfsKK.js +0 -223
- package/dist/assets/index-AibcVs8o.js +0 -29875
- package/dist/assets/index-BM0Ejlih.js +0 -1
- package/dist/assets/index-DqeGHA9K.js +0 -39
- package/dist/assets/index-yG2R--DD.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-jcHEi-mv-CCY61uLN.js +0 -1
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-Cgyt68f3-7Y3MpMNp.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-XgUp1xUb-BXu-xYLf.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Bre8FfBF-DaPlbkW0.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DOyCX6ij-BCb0OomK.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-DijZZ4CV.js +0 -1
- package/dist/assets/page-detail-CWX5S47F-CUPaau1_.js +0 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-DRgQ-H7_.js +0 -3
- package/dist/assets/radio-default-CiSgisfh-bweL_OSo.js +0 -1
- package/dist/assets/shield-DOlUxcFf-BxvxIq2Q.js +0 -1
- package/dist/assets/toCOABalancesWithID-aLNB35t7-B5cVmT7y.js +0 -1
- package/dist/assets/toChartData-DUL6vnzJ-CXX2Xql8.js +0 -1
- package/dist/assets/types-DyvtCprH-NFPm5TaG.js +0 -1
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-BQXsf36U.js +0 -1
- package/dist/assets/uploadAttachment-Ck4wivBR-4yLuS05P.js +0 -286
- package/dist/assets/uploadReceipts-CIgkuVpu-YZo_087y.js +0 -1
- package/dist/assets/url-Ds5jgdy8.js +0 -1
- package/dist/assets/useLongPress-GCK2COYQ-BWFeH6rN.js +0 -1
- package/dist/assets/usp-line-BBd1wKwW-Ec0FXEcE.js +0 -1
- package/dist/assets/zeni-epic-state-n9DAAepz.js +0 -14
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
import{cl as ft,e as R,V as e,b5 as xt,ac as f,dr as ut,ds as ht,dl as pt,dt as gt,o as a,d as _,cC as bt,O as k,x as G,L as wt,an as j,u as b,ak as $t,du as yt,dv as J,dc as K,aQ as tt,ao as vt}from"./index-AibcVs8o.js";import{a as h,P as kt}from"./sentry-D1ATZ09m.js";import{n as l,c as jt}from"./mui-CKa4KRJ2.js";import{a as Yt}from"./ConstrainedInnerElement-CgdnMeoA-BpHBKVR8.js";import{FY as A,FZ as W,F_ as X,F$ as M,bh as Lt,Gg as et,bE as it}from"./zeni-epic-state-n9DAAepz.js";import{g as at}from"./BoxItem-Bxa1M4QU-nzwL598W.js";import{t as Mt}from"./panelSelectedMixin-Cddsb26L-DRgQ-H7_.js";import{o as B}from"./commonDimensions-Oz1tdAcx-CViekSs7.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="fe6549b5-a00c-4884-a66a-96f98891a16e",t._sentryDebugIdIdentifier="sentry-dbid-fe6549b5-a00c-4884-a66a-96f98891a16e")}catch{}})();const F=t=>t?24:125,Pt={containerPaddingBottom:new G(b[9],b[8])},q=l.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
|
-
`,St=l(j)`
|
|
16
|
-
display: flex;
|
|
17
|
-
cursor: pointer;
|
|
18
|
-
`;function E({firstMonthOfFY:t,isLoadNextItem:i,isLoading:m,timePeriod:r,fixedTimePeriod:s,timeframe:d,doLoadMoreTransactions:u}){let n=r;if(i)if(s!=null){const w=A(r.endDate.startOf("month"),t,s.numberOfPeriods,s.timeframe);n={startDate:n.endDate.add(1,"day"),endDate:w}}else{const w=A(r.endDate.startOf("month"),t,1,d),{startOfTimeframeFY:Y,endOfTimeframeFY:p}=W(w,t,d);n={startDate:Y,endDate:p}}else if(s!=null)n={startDate:X(r.startDate.startOf("month"),t,s.numberOfPeriods,s.timeframe),endDate:r.startDate.subtract(1,"day")};else{const w=X(r.startDate.startOf("month"),t,1,d),{startOfTimeframeFY:Y,endOfTimeframeFY:p}=W(w,t,d);n={startDate:Y,endDate:p}}const o=k.getLocalizedStrings();let x="";s==null?d==="month"?x=`${i===!0?o.transactionList.loadNextMonthPrefix:o.transactionList.loadPreviousMonthPrefix} (${M(n.startDate,o.dateFormat.visual.MMMYYYYFormat,t)})`:d==="quarter"?x=`${i===!0?o.transactionList.loadNextQuarterPrefix:o.transactionList.loadPreviousQuarterPrefix} (${o.transactionList.quarterPrefix}${M(n.startDate,o.dateFormat.visual.QYYYYformat,t)})`:x=`${i===!0?o.transactionList.loadNextYearPrefix:o.transactionList.loadPreviousYearPrefix} (${M(n.startDate,o.dateFormat.visual.YYYYformat,t)})`:x=`${i===!0?o.transactionList.loadNextMonthPrefix:o.transactionList.loadPreviousPrefix} ${s.numberOfPeriods} ${o.transactionList.monthsSuffix} - (${M(n.startDate,o.dateFormat.visual.MMMYYYYFormat,t)} - ${M(n.endDate,o.dateFormat.visual.MMMYYYYFormat,t)})`;const $=R(),D=s!=null?`${i?"next":"previous"}-fixed-months`:`${i?"next":"previous"}-${d}`;return m===!0?e.jsx(q,{windowSize:$,isLoadNextItem:i,children:e.jsx(wt,{size:"Small",start:!0})}):e.jsx(q,{windowSize:$,isLoadNextItem:i,children:e.jsx(St,{"data-testid":f("load-more-transactions",D),onClick:()=>{u?.(n,d)},children:x})})}E.displayName="LoadMoreTransactions";const{common:{strings:{empty:U}}}=k.getLocalizedStrings(),Ft=l(vt)`
|
|
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
|
-
`,Dt=l.div`
|
|
29
|
-
display: flex;
|
|
30
|
-
padding: ${a.sp3} ${a.sp4};
|
|
31
|
-
flex-direction: row;
|
|
32
|
-
width: 100%;
|
|
33
|
-
`,It=l.div`
|
|
34
|
-
display: flex;
|
|
35
|
-
justify-content: space-between;
|
|
36
|
-
align-items: center;
|
|
37
|
-
width: 100%;
|
|
38
|
-
`,Tt=l(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
|
-
`,Ct=l(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=>B.amountWidth.valuePx(t.windowSize)};
|
|
55
|
-
`,Ot=l.div`
|
|
56
|
-
display: flex;
|
|
57
|
-
`,zt=l.div`
|
|
58
|
-
${t=>t.isPanelSelected===!0&&jt`
|
|
59
|
-
> div {
|
|
60
|
-
${Mt(t.theme)}
|
|
61
|
-
}
|
|
62
|
-
`}
|
|
63
|
-
`;function Nt({transaction:t,onItemClick:i,isQuickViewMode:m,itemIndex:r}){const{description:s,typeName:d,amount:u,logo:n,vendorId:o}=t,x=String(r),$=it(t)&&o==null;return e.jsxs(Dt,{onClick:()=>i?.(t),"data-testid":f("transaction-item-medium",x),children:[e.jsx(J,{photoUrl:$===!1?n?.toString()??U:U,styles:{width:a.sp4,height:a.sp4,borderRadius:a.sp0},placeholder:{width:b[4],height:b[4]},fallbackAvatar:e.jsx(Ot,{children:e.jsx(K,{name:s,size:a.sp4})})}),e.jsxs(It,{children:[e.jsx(Tt,{"data-testid":f("transaction-item-name",x),children:s}),d!=null&&m!==!0?e.jsx(Ft,{className:"tag","data-testid":f("transaction-item-tag",x),children:d}):null]}),e.jsx(Ct,{"data-testid":f("transaction-item-amount",x),children:tt("0,0.00",u)})]})}function Et({data:t,boxType:i,onItemClick:m,itemIndex:r=0}){const{isQuickViewMode:s,selectedTransactionId:d}=yt(),u=d!=null&&d===t.id,n=et(t.type)==null,o=e.jsx(Nt,{transaction:t,onItemClick:n?void 0:m,isQuickViewMode:s,itemIndex:r});return e.jsx(zt,{isPanelSelected:u,children:e.jsx(at,{content:o,boxType:i,isDisabled:n})})}const{common:{strings:{empty:Z}}}=k.getLocalizedStrings(),Rt=l.div`
|
|
64
|
-
display: flex;
|
|
65
|
-
padding: ${a.sp3} ${a.sp4};
|
|
66
|
-
flex-direction: row;
|
|
67
|
-
width: 100%;
|
|
68
|
-
`,Bt=l.div`
|
|
69
|
-
width: 100%;
|
|
70
|
-
`,Ht=l(j)`
|
|
71
|
-
display: -webkit-box;
|
|
72
|
-
-webkit-box-orient: vertical;
|
|
73
|
-
-webkit-line-clamp: 1;
|
|
74
|
-
margin-left: ${a.sp3};
|
|
75
|
-
max-height: ${a.sp11};
|
|
76
|
-
text-overflow: ellipsis;
|
|
77
|
-
word-break: break-word;
|
|
78
|
-
text-align: left;
|
|
79
|
-
overflow: hidden;
|
|
80
|
-
`,Qt=l(j)`
|
|
81
|
-
display: -webkit-box;
|
|
82
|
-
-webkit-box-orient: vertical;
|
|
83
|
-
-webkit-line-clamp: 1;
|
|
84
|
-
margin-left: ${a.sp3};
|
|
85
|
-
text-align: right;
|
|
86
|
-
width: ${t=>B.amountWidth.valuePx(t.windowSize)};
|
|
87
|
-
`,Vt=l.div`
|
|
88
|
-
display: flex;
|
|
89
|
-
`;function _t({transaction:t,onItemClick:i,itemIndex:m}){const{description:r,amount:s,logo:d,vendorId:u}=t,n=String(m),o=it(t)&&u==null;return e.jsxs(Rt,{onClick:()=>i?.(t),"data-testid":f("transaction-item-small",n),children:[e.jsx(J,{photoUrl:o===!1?d?.toString()??Z:Z,styles:{width:a.sp4,height:a.sp4,borderRadius:a.sp0},placeholder:{width:b[4],height:b[4]},fallbackAvatar:e.jsx(Vt,{children:e.jsx(K,{name:r,size:a.sp4})})}),e.jsx(Bt,{children:e.jsx(Ht,{"data-testid":f("transaction-item-name",n),children:r})}),e.jsx(Qt,{"data-testid":f("transaction-item-amount",n),children:tt("0,0.00",s)})]})}function At({data:t,boxType:i,onItemClick:m,itemIndex:r=0}){const s=et(t.type)==null,d=e.jsx(_t,{transaction:t,onItemClick:s?void 0:m,itemIndex:r});return e.jsx(at,{content:d,boxType:i,isDisabled:s})}function Wt(t){return R()==="small"?e.jsx(At,{...t}):e.jsx(Et,{...t})}const Xt=l.div`
|
|
90
|
-
display: flex;
|
|
91
|
-
flex: 1 1 auto;
|
|
92
|
-
flex-direction: column;
|
|
93
|
-
box-shadow: ${t=>`${a.sp0} 2px ${a.sp1} ${t.theme.colors.dropShadowNormal}`};
|
|
94
|
-
border-radius: ${a.sp2};
|
|
95
|
-
background-color: ${t=>t.theme.colors.grey5};
|
|
96
|
-
`,qt=l($t)`
|
|
97
|
-
display: flex;
|
|
98
|
-
height: 21px;
|
|
99
|
-
margin-bottom: ${a.sp2};
|
|
100
|
-
margin-top: ${a.sp3};
|
|
101
|
-
color: ${t=>t.theme.colors.grey1};
|
|
102
|
-
`,Ut=l.div`
|
|
103
|
-
display: flex;
|
|
104
|
-
flex-direction: column;
|
|
105
|
-
width: 100%;
|
|
106
|
-
`,Zt=(t,i)=>i.length===1?"roundedBox":t===0?"topRoundedBox":t===i.length-1?"bottomRoundedBox":"box",Gt=t=>t*B.transactionItemHeight+45;function Jt({date:t,transactions:i,onItemClick:m}){const{dateFormat:r}=k.getLocalizedStrings();return e.jsxs(Ut,{"data-testid":f("transactions-group"),children:[e.jsx(qt,{"data-testid":f("transactions-group-date-label",t.format(r.analytics.YYYYDashMMDashDDFormat)),children:Lt().year()===t.year()?t.format(r.visual.MMMDFormat):t.format(r.visual.MMMDCommaYYYYformat)}),e.jsx(Xt,{"data-testid":f("transactions-group-items"),children:i.map((s,d)=>e.jsx(Wt,{data:s,boxType:Zt(d,i),itemIndex:d,onItemClick:u=>{m?.(u)},"data-testid":f("transaction-item",String(d))},s.id))})]})}const Kt=kt.memo(Jt),{dateFormat:te}=k.getLocalizedStrings();function ee(t){const i=ut(t,r=>r.date.format(te.visual.MMMDCommaYYYYformat)),m=ht(i,r=>r.length>0);return pt(m,r=>({date:r[0].date,transactions:gt(r,s=>s.updateTime,"desc")}))}const v=k.getLocalizedStrings(),ie={listItemMargin:new G(b[3],b[8])},ae=l.div`
|
|
107
|
-
display: flex;
|
|
108
|
-
flex: 1 1 auto;
|
|
109
|
-
width: 99.9%;
|
|
110
|
-
`,S=l.div`
|
|
111
|
-
margin: ${t=>`${a.sp0} ${ie.listItemMargin.valuePx(t.windowSize)}`};
|
|
112
|
-
`,re=l.div`
|
|
113
|
-
min-height: ${a.sp8};
|
|
114
|
-
`,oe=l.div`
|
|
115
|
-
display: flex;
|
|
116
|
-
height: 100%;
|
|
117
|
-
flex: 1 1 auto;
|
|
118
|
-
flex-direction: row;
|
|
119
|
-
justify-content: center;
|
|
120
|
-
align-items: flex-end;
|
|
121
|
-
`,se=l(j)`
|
|
122
|
-
display: flex;
|
|
123
|
-
color: ${t=>t.theme.colors.grey2};
|
|
124
|
-
`,ne=l(bt)`
|
|
125
|
-
scrollbar-width: thin;
|
|
126
|
-
scrollbar-color: transparent transparent;
|
|
127
|
-
&::-webkit-scrollbar {
|
|
128
|
-
width: ${a.sp2};
|
|
129
|
-
height: ${a.sp0};
|
|
130
|
-
background-color: transparent;
|
|
131
|
-
}
|
|
132
|
-
&::-webkit-scrollbar-track {
|
|
133
|
-
box-shadow: inset 0 0 2px ${_.scrollbarBoxShadow};
|
|
134
|
-
-webkit-box-shadow: inset 0 0 2px ${_.scrollbarBoxShadow};
|
|
135
|
-
background-color: transparent;
|
|
136
|
-
}
|
|
137
|
-
&::-webkit-scrollbar-thumb {
|
|
138
|
-
background-color: transparent;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
&:hover {
|
|
142
|
-
scrollbar-color: ${t=>t.theme.colors.grey1} transparent;
|
|
143
|
-
&::-webkit-scrollbar {
|
|
144
|
-
width: ${a.sp2};
|
|
145
|
-
height: ${a.sp0};
|
|
146
|
-
background-color: transparent;
|
|
147
|
-
}
|
|
148
|
-
&::-webkit-scrollbar-thumb {
|
|
149
|
-
background-color: ${t=>t.theme.colors.grey1};
|
|
150
|
-
border-radius: 2px;
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
`,ge=h.forwardRef(function({firstMonthOfFY:t,timeframe:i,timePeriod:m,transactions:r,isFirstLotLoading:s,currentScrollYOffset:d,componentName:u,showLoadNext:n,showLoadPrevious:o,onTransactionItemClick:x,trackPerformance:$=!0,onTransactionListScroll:D,onListInnerElementHeightChanged:w},Y){const p=h.useMemo(()=>ee(r),[r]),I=h.createRef(),[T,rt]=h.useState(!1);h.useEffect(()=>{I.current?.resetAfterIndex(0)},[r,I]);const ot=Y,L=h.useRef(null),[st,nt]=h.useState(void 0);h.useEffect(()=>{!T&&s===!1&&rt(!0)},[s,T]),ft({componentName:u,enabled:$&&T});const dt=()=>{if(L!=null&&typeof L=="object"&&L.current){const c=L.current;c!=null&&c.clientHeight>0&&c.clientHeight!=st&&(nt(c.clientHeight),w?.(c.clientHeight))}},H=h.useRef(x);H.current=x;const lt=h.useCallback((...c)=>{H.current?.(...c)},[]),C=p.length===0,Q=o!=null,O=n!=null,z=p.length+(n!=null?1:0)+(o!=null?1:0)+(C===!0?1:0),V=c=>O===!0?c-1:c,P=R(),ct=({index:c,style:y})=>{if(O===!0&&c===0)return e.jsx("div",{style:{...y},children:e.jsx(S,{windowSize:P,"data-testid":f("transaction-list","list-item-load-more"),children:e.jsx(E,{firstMonthOfFY:t,isLoadNextItem:!0,isLoading:n?.isLoading==!0,timePeriod:m,timeframe:i,fixedTimePeriod:n?.fixedTimePeriod,doLoadMoreTransactions:(g,N)=>{n?.onLoadNextClick?.(g,N)}})})});if(Q===!0&&c===z-1)return e.jsx("div",{style:{...y},children:e.jsx(S,{windowSize:P,"data-testid":f("transaction-list","list-item-load-previous"),children:e.jsx(E,{firstMonthOfFY:t,isLoadNextItem:!1,isLoading:o?.isLoading==!0,timePeriod:m,fixedTimePeriod:o?.fixedTimePeriod,timeframe:i,doLoadMoreTransactions:(g,N)=>{o?.onLoadPreviousClick?.(g,N)}})})});if(C===!1){const g=p[V(c)];return e.jsx("div",{style:{...y},children:e.jsxs(S,{windowSize:P,children:[e.jsx(Kt,{date:g.date,transactions:g.transactions,onItemClick:lt}),o==null?e.jsx(re,{}):null]})})}else return e.jsx("div",{style:{...y},children:e.jsx(oe,{children:e.jsx(S,{windowSize:P,"data-testid":f("transaction-list","transactions-list-empty"),children:e.jsx(se,{children:de(m,n?.isLoading==!0||o?.isLoading==!0)})})})})},mt=c=>O===!0&&c===0?F(!0):Q===!0&&c===z-1?F(!1):C===!1?Gt(p[V(c)].transactions.length):F(!1);return e.jsx(ae,{children:e.jsx(xt,{children:({height:c,width:y})=>e.jsx(ne,{"data-testid":f("transaction-list"),ref:I,height:c,width:y,innerElementType:Yt,innerRef:L,outerRef:ot,onItemsRendered:dt,itemCount:z,itemSize:mt,onScroll:({scrollOffset:g})=>{D?.(g)},initialScrollOffset:d??0,children:ct})})})}),de=(t,i)=>i===!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{ge as D};
|
|
@@ -1,284 +0,0 @@
|
|
|
1
|
-
import{x as a,e as R,ay as V,aH as ie,a_ as ne,V as t,b5 as re,ac as w,u as n,w as ae,d as A,o,N as j,M as ee,O as $,bs as se,bt as le,ak as de,as as ce,aQ as me,bu as pe,aq as he,L as ue,K as G,bv as te,a as q,aV as oe}from"./index-AibcVs8o.js";import{a as T,P as C}from"./sentry-D1ATZ09m.js";import{n as i,c as ge}from"./mui-CKa4KRJ2.js";import{FC as xe,bg as we,bC as O}from"./zeni-epic-state-n9DAAepz.js";import{G as $e,c as be}from"./AccountsPromoCardStack-Bs3naJHM-D3JqjCfa.js";import{a as ye}from"./ConstrainedInnerElement-CgdnMeoA-BpHBKVR8.js";import"./liveblocks-CkHat3gw.js";import"./core-BkNBJTfZ.js";import"./recharts-Bm8U4EbE.js";import"./lottie-CiNEXYTH.js";import"./analytics-dIF_tB7z.js";import"./lexical--yBvDuds.js";import"./utils-CYPfyH0l.js";import"./SummaryCard-C2qoTsAY--GDNjG_3.js";import"./ReloadCard-Bdoo0XiI-De2qYvVJ.js";import"./NavigationArrow-CTNkKUtV-BeKuQdbg.js";import"./NavigationDots-Dvce3gHt-BEZo75Mq.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="fe13d9b7-af57-40ad-b771-f456cf469fb9",e._sentryDebugIdIdentifier="sentry-dbid-fe13d9b7-af57-40ad-b771-f456cf469fb9")}catch{}})();const fe={textContainer:new j("extraSmallRegular","smallRegular")},ve=i.div`
|
|
2
|
-
color: ${e=>e.theme.colors.hero};
|
|
3
|
-
cursor: default;
|
|
4
|
-
`,Se=i.div`
|
|
5
|
-
color: ${A.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=>`${fe.textContainer.style(e.windowSize)}`};
|
|
13
|
-
`,ze=i(te)`
|
|
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
|
-
`,Ce=i(te)`
|
|
21
|
-
width: ${o.sp3};
|
|
22
|
-
height: ${o.sp3};
|
|
23
|
-
margin-right: 6px;
|
|
24
|
-
color: ${A.important};
|
|
25
|
-
visibility: hidden;
|
|
26
|
-
cursor: pointer;
|
|
27
|
-
`,ke=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
|
-
`,Q=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
|
-
`,je=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
|
-
`,Pe=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
|
-
`,De=i(oe)`
|
|
83
|
-
text-align: center;
|
|
84
|
-
`,J=i(oe)`
|
|
85
|
-
top: -2px;
|
|
86
|
-
position: relative;
|
|
87
|
-
cursor: pointer;
|
|
88
|
-
`,Te=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
|
-
`,Be=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:g,isZeniUser:c,onSetAccountsStatementDate:k}){const m=$.getLocalizedStrings().statementCloseDay.dropdown.option1,u=$.getLocalizedStrings().statementCloseDay.dropdown.option2,[P,f]=C.useState(!1),r=e.statementCloseDay,[y,b]=C.useState(r!=="LAST_DAY_OF_THE_MONTH"?m:u),[x,p]=C.useState(r!=="LAST_DAY_OF_THE_MONTH"?r:void 0),[M,H]=C.useState(!1),_=C.useRef(r),D=V();C.useEffect(()=>{_.current!==r&&H(!1)},[r]);const E=s=>{O(D.loggedInUserRole??[])&&(s.stopPropagation(),s.preventDefault(),f(!0),g.trackCardStatementCloseDate(G.Event.cardStatementCloseDateClicked,e.accountId,e.accountName,"Card Balance",""))},F=s=>{const d=["th","st","nd","rd"],Z=s%100;return s+(d[(Z-20)%10]||d[Z]||d[0])};let z="";r!==void 0&&(r==="LAST_DAY_OF_THE_MONTH"?z=$.getLocalizedStrings().statementCloseDay.ordinalText.lastDate:z=`${$.getLocalizedStrings().statementCloseDay.ordinalText.prefix} ${F(r)} ${$.getLocalizedStrings().statementCloseDay.ordinalText.suffix}`);const I=s=>{const d=s.target.value;d===u&&p(void 0),b(d)},N=(s,d)=>{s.stopPropagation(),p(d),b(m)},U=()=>{p(void 0),b(u)},h=()=>{const s=e.accountId,d=x??"LAST_DAY_OF_THE_MONTH";r!==d&&(H(!0),k?.(s,d)),f(!1),g.trackCardStatementCloseDate(G.Event.cardStatementCloseDateSaved,e.accountId,e.accountName,"Card Balance",x!==void 0?`${x}`:"End")},v=()=>t.jsxs(J,{children:[$.getLocalizedStrings().statementCloseDay.pickDate.prefix,t.jsx(Be,{children:x??" - "}),$.getLocalizedStrings().statementCloseDay.pickDate.suffix]}),W=()=>t.jsxs(ke,{role:"presentation","data-testid":w("statement-close-day-section"),onClick:s=>{s.stopPropagation()},children:[t.jsxs(Q,{checked:y===m,children:[t.jsx("input",{type:"radio",name:"statementCloseDay",id:m,value:m,onChange:I,checked:y===m,style:{width:"100%"},"data-testid":w("statement-close-day-input")}),v(),t.jsx(je,{children:Array.from({length:28},(s,d)=>d+1).map(s=>t.jsx(Pe,{isSelectedDate:s===x,"data-testid":w("statement-close-day-text"),onClick:d=>N(d,s),children:t.jsx(De,{children:s})},s))})]}),t.jsxs(Q,{checked:y===u,children:[t.jsx("input",{type:"radio",name:"statementCloseDay",id:u,value:u,onChange:I,checked:y===u,style:{width:"100%"},"data-testid":w("statement-close-day-input-last-day")}),t.jsx(J,{onClick:()=>U(),children:$.getLocalizedStrings().statementCloseDay.lastDate.text})]}),t.jsxs(Te,{children:[t.jsx(q,{size:"small",variant:"secondary",label:"Cancel",onClick:()=>{f(!1)},style:{marginRight:o.sp3},"data-testid":w("statement-close-day-button-secondary")}),t.jsx(q,{size:"small",variant:"primary",label:"Save",onClick:h,disabled:x==null&&y!==u,"data-testid":w("statement-close-day-button-primary")})]})]}),Y=R();return t.jsx(he,{onClickAway:()=>f(!1),children:t.jsxs("div",{onClick:E,"data-testid":w("statement-close-day-modal"),children:[M?t.jsx(ue,{size:"Small",start:!0}):z?t.jsxs(ve,{"data-testid":w("edit-statement-close-day"),children:[t.jsx(ze,{}),t.jsx(K,{className:"statementCloseDayText",windowSize:Y,children:z})]}):O(D.loggedInUserRole??[])&&c===!0?t.jsxs(Se,{"data-testid":w("add-statement-close-day"),children:[t.jsx(Ce,{}),t.jsx(K,{className:"statementCloseDayText",windowSize:Y,children:$.getLocalizedStrings().statementCloseDay.statement})]}):"",P?W():""]})})}const He=new a(n[9],98),S={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])},Ie={textContainer:new j("standardMedium","largeMedium")},Re=i.div`
|
|
101
|
-
display: flex;
|
|
102
|
-
width: 100%;
|
|
103
|
-
`,Le=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=>S.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
|
-
`,Me=i.div`
|
|
129
|
-
display: flex;
|
|
130
|
-
padding: ${e=>S.contentContainerPadding.valuePx(e.windowSize)};
|
|
131
|
-
width: 100%;
|
|
132
|
-
`,_e=i.div`
|
|
133
|
-
display: flex;
|
|
134
|
-
align-items: center;
|
|
135
|
-
width: calc(
|
|
136
|
-
100% - ${e=>S.amountWrapperWidth.valuePx(e.windowSize)}
|
|
137
|
-
);
|
|
138
|
-
max-width: calc(
|
|
139
|
-
100% - ${e=>S.amountWrapperWidth.valuePx(e.windowSize)}
|
|
140
|
-
);
|
|
141
|
-
${e=>`${Ie.textContainer.style(e.windowSize)}`};
|
|
142
|
-
`,Ee=i.img`
|
|
143
|
-
width: ${e=>S.imageWidth.valuePx(e.windowSize)};
|
|
144
|
-
height: ${e=>S.imageHeight.valuePx(e.windowSize)};
|
|
145
|
-
object-fit: contain;
|
|
146
|
-
`,Fe=i.div`
|
|
147
|
-
margin: ${e=>`${o.sp0} ${o.sp0} ${o.sp0} ${S.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
|
-
`,Ne=i.div`
|
|
155
|
-
width: ${e=>S.amountWrapperWidth.valuePx(e.windowSize)};
|
|
156
|
-
display: flex;
|
|
157
|
-
align-items: flex-end;
|
|
158
|
-
flex-direction: column;
|
|
159
|
-
justify-content: center;
|
|
160
|
-
`,Ue=i(pe)``;function We({data:e,showStatementSection:g,analytics:c,isZeniUser:k,onItemClick:m,onSetAccountsStatementDate:u}){const{key:P,title:f,amount:r,logoUri:y}=e,b=V(),x=b.loggedInUserRole!=null&&!we(b.loggedInUserRole),p=R();return t.jsx(Re,{windowSize:p,children:t.jsx(Le,{"data-testid":w("transaction-list-item-big",e.title),windowSize:p,showEditStatementIcon:O(b.loggedInUserRole??[])&&k===!0,isClickEnabled:x,onClick:()=>x===!0?m?.(P,e.source):null,children:t.jsxs(Me,{windowSize:p,children:[t.jsxs(_e,{windowSize:p,children:[t.jsx(Ee,{windowSize:p,src:y,loading:"lazy"}),t.jsx(Fe,{windowSize:p,children:f})]}),t.jsxs(Ne,{windowSize:p,children:[t.jsx(Ue,{children:me("0,0",r)}),g&&p!=="small"&&t.jsx(Ae,{accountDetails:e.source,isZeniUser:k,onSetAccountsStatementDate:u,analytics:c})]})]})})})}const Oe=C.memo(We),B=$.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])},L={textContainer:new j("largeMedium","h6Medium"),promoText:new j("extraSmallRegular","standardRegular"),promoHighlightText:new j("extraLargeRegular","h5Regular"),promoButtonText:new j("extraSmallMedium","smallRegular")},X=8,Ve=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
|
-
`,Ye=i.div`
|
|
169
|
-
margin: ${e=>`${l.marginTop.valuePx(e.windowSize)} ${o.sp0} ${l.marginBottom.valuePx(e.windowSize)} ${o.sp0}`};
|
|
170
|
-
|
|
171
|
-
width: 100%;
|
|
172
|
-
`,Ze=i.div`
|
|
173
|
-
flex: 1 1 auto;
|
|
174
|
-
width: 99.9%;
|
|
175
|
-
`,Ge=i.div`
|
|
176
|
-
display: flex;
|
|
177
|
-
flex-direction: column;
|
|
178
|
-
gap: ${o.sp2};
|
|
179
|
-
align-items: flex-start;
|
|
180
|
-
${e=>`${L.textContainer.style(e.windowSize)}`};
|
|
181
|
-
`,qe=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
|
-
`,Ke=i(ce)`
|
|
189
|
-
display: flex;
|
|
190
|
-
color: ${e=>e.theme.colors.primary};
|
|
191
|
-
text-align: right;
|
|
192
|
-
`,Qe=i.div`
|
|
193
|
-
display: flex;
|
|
194
|
-
justify-content: center;
|
|
195
|
-
`,Je=i.div`
|
|
196
|
-
width: 100%;
|
|
197
|
-
`,Xe=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 ${A.scrollbarBoxShadow};
|
|
207
|
-
-webkit-box-shadow: inset 0 0 2px ${A.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
|
-
`,et=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 ${A.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
|
-
`,tt=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
|
-
`,ot=i(ee)`
|
|
245
|
-
${e=>`${L.promoText.style(e.size)}`};
|
|
246
|
-
color: ${e=>e.theme.colors.zeniAccountsPromoDetailTextColor};
|
|
247
|
-
`,it=i.div`
|
|
248
|
-
display: flex;
|
|
249
|
-
max-height: ${e=>l.promoHighlightContainerMaxHeight.valuePx(e.size)};
|
|
250
|
-
overflow: hidden;
|
|
251
|
-
.card-highlight-text {
|
|
252
|
-
${e=>`${L.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
|
-
`,nt=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
|
-
`,rt=i(ee)`
|
|
275
|
-
${e=>`${L.promoButtonText.style(e.size)}`};
|
|
276
|
-
color: ${e=>e.theme.colors.zeniAccountsPromoButtonTextColor};
|
|
277
|
-
`,at=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
|
-
`,st=({sectionTitle:e,totalFormatted:g})=>{const c=R();return t.jsx(Ye,{windowSize:c,children:t.jsxs(Ge,{windowSize:c,children:[t.jsx(qe,{children:e}),t.jsx(Ke,{children:g})]})})};function Ct({sectionTitle:e,analytics:g,transactionArray:c,isZeniUser:k,zeniAccountsPromoCardReport:m,onItemClick:u,onSetAccountsStatementDate:P,onPromoCardBtnClick:f}){const r=R(),y=T.createRef(),[b,x]=T.useState(0),p=V(),M=ie(c,function(h,v){return h+(v.amount?.amount??0)},0),H=c.length>0?c[0].amount?.currencySymbol:"",_=ne("0,0",M,H),D=T.useRef(u);D.current=u;const E=T.useCallback((...h)=>{D.current?.(...h)},[]),F=({index:h,style:v})=>t.jsx("div",{style:{...v},children:t.jsx(Qe,{children:t.jsx(Je,{windowSize:r,children:t.jsx(Oe,{data:c[h],showStatementSection:e===$.getLocalizedStrings().balanceCard.cardBalanceSectionTitle,isZeniUser:k,analytics:g,onItemClick:E,onSetAccountsStatementDate:P})})})}),z=T.useRef(null),I=()=>{const h=z.current;h!=null&&h.clientHeight>0&&h.clientHeight!=b&&x(h.clientHeight)},N=()=>{f?.(m?.depositAccountId??"")},U=xe(p.loggedInUserRoleMap);return t.jsxs(Ve,{windowSize:r,listHeight:b,"data-testid":w("transaction-list-big"),children:[t.jsx(st,{sectionTitle:e,totalFormatted:_}),t.jsx(Ze,{children:t.jsx(re,{children:({height:h,width:v})=>t.jsxs(t.Fragment,{children:[m?.isShowDepositAccountsPromo===!0?t.jsxs(et,{width:v,size:r,children:[t.jsxs(tt,{size:r,children:[t.jsx(ot,{size:r,children:B.keepInterest.prefixCashBalance}),t.jsx(it,{size:r,children:$e("keepInterest",be(m.maxPossibleInterest??0))})]}),t.jsx(nt,{onClick:N,size:r,children:t.jsx(rt,{size:r,children:U?m.depositAccountId!=null?B.button:B.signUp:B.learnMore})}),t.jsx(at,{size:r,children:B.keepInterest.footer.replace(/<interest>/,m.maxAnnualPercentageYield.toString())})]}):null,t.jsx(Xe,{ref:y,height:h,width:v,style:{overflow:"unset"},innerElementType:ye,itemCount:c.length,itemSize:He.value(r)+l.itemPaddingBottom.value(r),onItemsRendered:I,itemKey:W=>c[W].key,innerRef:z,children:F})]})})})]})}export{Ct as default,l as dimensions};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import{g as M,bB as R,bC as q,V as t,bD as J,L as K,ac as h,bE as Q,o as s,an as U}from"./index-AibcVs8o.js";import{a as r,n as G}from"./sentry-D1ATZ09m.js";import{n as l}from"./mui-CKa4KRJ2.js";import{D as H}from"./TransactionList-BB-xoIGm-Cr5Fw4zn.js";import{t as W}from"./page-detail-CWX5S47F-CUPaau1_.js";import"./liveblocks-CkHat3gw.js";import"./core-BkNBJTfZ.js";import"./recharts-Bm8U4EbE.js";import"./zeni-epic-state-n9DAAepz.js";import"./lottie-CiNEXYTH.js";import"./analytics-dIF_tB7z.js";import"./lexical--yBvDuds.js";import"./utils-CYPfyH0l.js";import"./ConstrainedInnerElement-CgdnMeoA-BpHBKVR8.js";import"./BoxItem-Bxa1M4QU-nzwL598W.js";import"./commonDimensions-Oz1tdAcx-CViekSs7.js";import"./panelSelectedMixin-Cddsb26L-DRgQ-H7_.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="4bc8547a-a354-46ad-8b1b-a760e02f1f37",e._sentryDebugIdIdentifier="sentry-dbid-4bc8547a-a354-46ad-8b1b-a760e02f1f37")}catch{}})();const X=l.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex: 1 1 auto;
|
|
4
|
-
min-height: 0;
|
|
5
|
-
width: 100%;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
8
|
-
box-shadow: ${e=>`${s.sp0} 2px ${s.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
9
|
-
`,Z=l.div`
|
|
10
|
-
display: flex;
|
|
11
|
-
flex: 1 1 auto;
|
|
12
|
-
flex-direction: column;
|
|
13
|
-
justify-content: center;
|
|
14
|
-
align-items: center;
|
|
15
|
-
margin: ${s.sp0};
|
|
16
|
-
`,ee=l.div`
|
|
17
|
-
display: flex;
|
|
18
|
-
flex: 1 1 auto;
|
|
19
|
-
height: 100%;
|
|
20
|
-
width: 100%;
|
|
21
|
-
flex-direction: row;
|
|
22
|
-
justify-content: center;
|
|
23
|
-
align-items: center;
|
|
24
|
-
`,te=l(U)`
|
|
25
|
-
color: ${e=>e.theme.colors.hero};
|
|
26
|
-
text-align: center;
|
|
27
|
-
`,oe=l(W)`
|
|
28
|
-
height: ${s.sp4};
|
|
29
|
-
width: ${s.sp4};
|
|
30
|
-
color: ${e=>e.theme.colors.hero};
|
|
31
|
-
cursor: pointer;
|
|
32
|
-
&:hover {
|
|
33
|
-
color: ${e=>e.theme.colors.primary};
|
|
34
|
-
}
|
|
35
|
-
`;function Se({title:e,subTitle:c,firstMonthOfFY:g,timeframe:d,timePeriod:a,useFixedPeriod:x,dataAvailableForPeriod:b,report:o,currentScrollYOffset:L,showStatementPageIcon:v=!1,onTimePeriodChange:y,onTransactionItemClick:k,onTransactionListScroll:I,onBackClick:T,onStatementPageIconClick:j,panelContent:D,referrerType:F,sidePanelIsFullView:E,sidePanelIsOpen:N}){const[f,S]=r.useState(!0),[m,P]=r.useState(!1),[u,$]=r.useState(!1),O=M();r.useEffect(()=>{o.transactions.length>0?S(!1):S(m===!1&&u===!1?o.fetchState==="In-Progress"||o.fetchState==="Not-Started":!1)},[o,f,m,u]);const B=R(),w=q(F),V=`${w===""?B:w}.transactions.list`,Y=a.startDate.isAfter(b.startDate,d)?{isLoading:m&&(o.fetchState==="In-Progress"||o.fetchState==="Not-Started"),fixedTimePeriod:x,onLoadPreviousClick:(i,n)=>{$(!1),P(!0),y?.(i,a,n)}}:void 0,_=a.endDate.isBefore(b.endDate,d)?{isLoading:u&&(o.fetchState==="In-Progress"||o.fetchState==="Not-Started"),fixedTimePeriod:x,onLoadNextClick:(i,n)=>{P(!1),$(!0),y?.(i,a,n)}}:void 0;let C=null;v&&(C=t.jsx(oe,{onClick:j}));const p=r.useRef(null);function A(i,n,z){G({category:`${V}.transaction-list.react.profiler`,message:`${i} (${n}) took ${z}ms`,level:"info"})}return t.jsx(r.Profiler,{id:"TransactionListPage",onRender:A,children:t.jsx(J,{isOpen:N??!1,isFullView:E??!1,panelContent:D,headerContent:t.jsx(Q,{source:"TransactionListPage","data-testid":h("transaction-list-page-nav-bar"),title:e,onBackClick:T,backgroundColor:O.colors.grey4,rightSideComponent:C,scrollableContent:p.current!=null?p:void 0}),listContent:t.jsx(X,{"data-testid":h("transaction-list-page",e),children:t.jsxs(Z,{"data-testid":h("transaction-list",e),children:[t.jsx(te,{children:c}),f===!1?t.jsx(H,{ref:p,firstMonthOfFY:g,timeframe:d,timePeriod:a,transactions:o.transactions,isFirstLotLoading:f,currentScrollYOffset:L,onTransactionItemClick:k,onTransactionListScroll:I,showLoadPrevious:Y,showLoadNext:_,componentName:"report.transactions.list"}):t.jsx(ee,{children:t.jsx(K,{size:"ExtraLarge",start:!0})})]})})})})}export{Se as default};
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import{e as H,O as k,V as o,L as R,ac as L,aT as W,o as a,x as g,b as _,N as Q,de as U,aa as Z,cQ as G,ae as J,u as r,ht as B,hu as F,hv as M,g as K,cV as X,gZ as N,hw as Y,b9 as ee,hA as oe,hB as te}from"./index-AibcVs8o.js";import{a as I}from"./sentry-D1ATZ09m.js";import{n as c}from"./mui-CKa4KRJ2.js";import"./liveblocks-CkHat3gw.js";import"./core-BkNBJTfZ.js";import"./recharts-Bm8U4EbE.js";import"./zeni-epic-state-n9DAAepz.js";import"./lottie-CiNEXYTH.js";import"./analytics-dIF_tB7z.js";import"./lexical--yBvDuds.js";import"./utils-CYPfyH0l.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7a5896cd-566a-42ff-a4b3-720332174ac7",e._sentryDebugIdIdentifier="sentry-dbid-7a5896cd-566a-42ff-a4b3-720332174ac7")}catch{}})();const D=(e,n)=>`${e}.${n}`,z={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=k.getLocalizedStrings().transactionDetail.vendorDetails,d=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:n,selectedClassId:p,selectedOwnerId:t,selectedVendorName:f,allAccounts:h,allClasses:C,allOwners:S,sectionId:v,isDisabled:u,accountsHierarchyList:m,classHierarchyList:x})=>{const i=H(),y=K(),$=z.labelWidth.value(i),j=z.controlWidth.value(i),V=s=>h.filter(O=>O.accountId===s)[0]?.coaId??"",l=s=>C.filter(O=>O.classId===s)[0]?.accountingClassNumber??"",b=s=>{const O=h.find(q=>q.accountId===s)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(se,{"data-testid":L("vendor-details-section",v),children:[o.jsx(re,{children:d.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(X,{label:{label:d.vendorDetails.vendorName,width:$},text:{type:"text",name:D(v,"vendorName"),placeholder:d.placeholders.vendor,defaultValue:f,autoComplete:"off",options:{required:!0}},isSaveError:n,showAdditionalInfoLabel:!1,additionalInfoLabel:d.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(N,{isLoading:!1,label:{label:d.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:D(v,"vendorCategory"),placeholder:d.placeholders.category,valueToInfo:s=>V(s),defaultValue:{selectedOption:e,allOptions:F(m)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u,disableCurrentOption:b,zIndexOnFocus:!0,additionalLabelInfo:d.vendorDetails.vendorCategoryAdditionText}),o.jsx(N,{isLoading:!1,label:{label:d.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:D(v,"vendorClass"),placeholder:d.placeholders.class,valueToInfo:s=>l(s),defaultValue:{selectedOption:p,allOptions:B(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:d.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u}),S!=null?o.jsx(Y,{label:{label:d.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:D(v,"vendorOwner"),placeholder:d.placeholders.owner,defaultValue:{allOptions:M(S),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},se=c.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
padding-top: ${a.sp3};
|
|
5
|
-
padding-bottom: ${a.sp3};
|
|
6
|
-
`,re=c(ee)`
|
|
7
|
-
color: ${e=>e.theme.colors.primary};
|
|
8
|
-
margin-bottom: ${a.sp3};
|
|
9
|
-
margin-right: ${a.sp6};
|
|
10
|
-
`,le=c.div`
|
|
11
|
-
display: flex;
|
|
12
|
-
flex-direction: column;
|
|
13
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
14
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
15
|
-
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
16
|
-
border-radius: ${a.sp2};
|
|
17
|
-
`,ie=c.div`
|
|
18
|
-
display: flex;
|
|
19
|
-
flex: 1;
|
|
20
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
21
|
-
min-height: 1px;
|
|
22
|
-
max-height: 1px;
|
|
23
|
-
`,P="vendorDetails",de=({id:e,allAccounts:n,allClasses:p,allOwners:t,selectedVendor:f,formLocalData:h,isDisabled:C,onSaveVendor:S,saveVendorDetailLocalData:v,accountsHierarchyList:u,classHierarchyList:m})=>{const x=Z({mode:"all",reValidateMode:"onChange",defaultValues:ce(u,m,t,h)}),[i,y]=I.useState(!1),$=l=>{l.preventDefault(),x.getValues().vendorDetails.vendorName!==""&&i===!1&&S?.()},j=(l,b)=>{const s=ue(l,void 0);v?.(s)},V=async(l,b)=>{(l.includes("vendorName")||l.includes("vendorOwner")||l.includes("vendorClass")||l.includes("vendorCategory"))&&(j(b),i===!0&&l.includes("vendorName")&&y(!1))};return I.useEffect(()=>{const l=x.watch((b,{name:s})=>{s!=null&&b!=null&&G(()=>V(s,b))});return()=>{l.unsubscribe()}}),I.useEffect(()=>{f.saveStatus.fetchState==="Error"&&f.saveStatus.error?.code===409&&y(!0)},[f.saveStatus]),o.jsx(J,{...x,children:o.jsx("form",{id:e,onSubmit:$,children:o.jsx(ne,{sectionId:P,selectedVendorDetails:f,isSaveError:i,selectedAccountId:h?.vendorCategory,selectedClassId:h?.vendorClass,selectedOwnerId:h?.vendorOwner,allAccounts:n??[],allClasses:p??[],selectedVendorName:h?.vendorName,allOwners:t,isDisabled:C,accountsHierarchyList:u,classHierarchyList:m})})})},ce=(e,n,p,t)=>({[P]:{vendorName:t?.vendorName??"",vendorOwner:{allOptions:M(p),selectedOption:t?.vendorOwner},vendorCategory:{allOptions:F(e),selectedOption:t?.vendorCategory},vendorClass:{allOptions:B(n),selectedOption:t?.vendorClass}}});function ue(e,n,p){const t=e?.[P];return{vendorCategory:t.vendorCategory.selectedOption,vendorClass:t.vendorClass.selectedOption,vendorId:n,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)},pe=c.div`
|
|
24
|
-
display: flex;
|
|
25
|
-
flex: 1 1 auto;
|
|
26
|
-
min-height: 100%;
|
|
27
|
-
width: 100%;
|
|
28
|
-
flex-direction: column;
|
|
29
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
30
|
-
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
31
|
-
`,he=c.div`
|
|
32
|
-
margin-top: ${e=>w.containerMarginTop.valuePx(e.windowSize)};
|
|
33
|
-
padding-left: ${e=>w.containerPaddingLeft.valuePx(e.windowSize)};
|
|
34
|
-
padding-right: ${e=>w.containerPaddingRight.valuePx(e.windowSize)};
|
|
35
|
-
`,ve=c.div`
|
|
36
|
-
display: flex;
|
|
37
|
-
flex: 1 1 auto;
|
|
38
|
-
height: 100vh;
|
|
39
|
-
width: 100%;
|
|
40
|
-
flex-direction: row;
|
|
41
|
-
justify-content: center;
|
|
42
|
-
align-items: center;
|
|
43
|
-
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
44
|
-
`,ge=c.div`
|
|
45
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
46
|
-
flex: 1;
|
|
47
|
-
`,fe=c.div`
|
|
48
|
-
display: flex;
|
|
49
|
-
flex-direction: column;
|
|
50
|
-
align-items: center;
|
|
51
|
-
top: ${a.sp0};
|
|
52
|
-
z-index: 2;
|
|
53
|
-
padding-left: ${e=>w.containerPaddingLeft.valuePx(e.windowSize)};
|
|
54
|
-
padding-right: ${e=>w.containerPaddingRight.valuePx(e.windowSize)};
|
|
55
|
-
padding-top: ${e=>w.navbarContainerPaddingTop.valuePx(e.windowSize)};
|
|
56
|
-
padding-bottom: ${e=>w.navbarContainerPaddingBottom.valuePx(e.windowSize)};
|
|
57
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
58
|
-
`,we=c.div`
|
|
59
|
-
display: flex;
|
|
60
|
-
width: 100%;
|
|
61
|
-
justify-content: flex-end;
|
|
62
|
-
margin-top: 3px;
|
|
63
|
-
margin-bottom: 3px;
|
|
64
|
-
`,me=c(_)`
|
|
65
|
-
cursor: pointer;
|
|
66
|
-
color: ${e=>e.theme.colors.hero};
|
|
67
|
-
width: ${a.sp4};
|
|
68
|
-
height: ${a.sp4};
|
|
69
|
-
&:hover {
|
|
70
|
-
color: ${e=>e.theme.colors.primary};
|
|
71
|
-
}
|
|
72
|
-
`,xe=c(U)`
|
|
73
|
-
display: flex;
|
|
74
|
-
width: 100%;
|
|
75
|
-
color: ${e=>e.theme.colors.primary};
|
|
76
|
-
margin-top: ${e=>w.SectionTitleMarginTop.valuePx(e.windowSize)};
|
|
77
|
-
${e=>`${T.sectionTitle.style(e.windowSize)}`};
|
|
78
|
-
margin-left: ${e=>e.windowSize==="small"?a.sp3:0};
|
|
79
|
-
line-height: ${e=>T.sectionTitleLineHeight.valuePx(e.windowSize)};
|
|
80
|
-
`,E="vendorDetailPage",A=e=>`${e}_form`,Pe=({vendorDetailView:e,onSaveSuccess:n,onCancelClick:p,onSaveVendor:t,saveVendorDetailLocalData:f})=>{const{editVendorState:h,newVendorState:C,accountsHierarchyList:S,classHierarchyList:v}=e,u=H(),{footer:m,newVendor:x}=k.getLocalizedStrings().transactionDetail.vendorDetails.createVendor,i=Object.assign({},h??C);if(I.useEffect(()=>{i?.saveStatus?.fetchState==="Completed"&&n?.()},[i]),e.fetchState==="Not-Started"||e.fetchState==="In-Progress")return o.jsx(ve,{children:o.jsx(R,{size:"ExtraLarge",start:!0})});const y=i.saveStatus?.fetchState==="In-Progress";return o.jsxs(pe,{windowSize:u,"data-testid":L("transaction-vendor-detail-page"),children:[o.jsxs(fe,{windowSize:u,children:[o.jsx(we,{children:o.jsx(me,{onClick:p,"data-testid":L("close-icon")})}),o.jsx(xe,{windowSize:u,children:x})]}),o.jsx(ge,{children:o.jsx(he,{windowSize:u,"data-testid":L("vendor-detail-page-form"),children:o.jsx(de,{id:A(E),allAccounts:e.accountList.accounts,allClasses:e.classList.classes,allOwners:e.ownerList,selectedVendor:i,formLocalData:i.vendorDetailLocalData,onSaveVendor:t,saveVendorDetailLocalData:f,accountsHierarchyList:S,classHierarchyList:v})})}),o.jsx(W,{formId:A(E),primaryBtn:{label:m.save,isLoading:y},cancelBtn:{label:m.cancel,shouldResetOnCancel:!0,onClick:p}})]})};export{Pe as default,A as formUniqueName};
|