@zeniai/web-cockpit-ui 1.15.11-dev → 1.15.12-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-CR6ypd9o-CPuvu8Ya.js → ACHDetailsPage-BY65AQjO-Cl2Tlmft.js} +3 -3
- package/dist/assets/{AIPerformancePage-C1OU9y7O-Cy2fQhSN.js → AIPerformancePage-B0a7EX_p-BepCOVvT.js} +17 -17
- package/dist/assets/AccountInfoPage-DUYpaV3v-CL9yEZEk.js +18 -0
- package/dist/assets/{AccountInfoPageContent-CrSVf_Od-DxUVjtpH.js → AccountInfoPageContent-BsSGhNw9-Bhg40nPQ.js} +13 -13
- package/dist/assets/{AccountLockedInfoModal-DNU_J1FV-BrQt7SPM.js → AccountLockedInfoModal-uPOYP0OH-gMh9hb_c.js} +3 -3
- package/dist/assets/{AccountReconDetailsDrawerPage-DghCIWni-WUADgsvH.js → AccountReconDetailsDrawerPage-BgPmbG_g-9wGOY4BN.js} +6 -6
- package/dist/assets/{AccountRow-CYv0Uw-I-DQCZ-Htb.js → AccountRow-B9ZIzZy7-C9nPv4rY.js} +22 -22
- package/dist/assets/{AccountsPromoCardStack-BANu3wYt-CQ0iVQrx.js → AccountsPromoCardStack-BLcpWU3T-CV6K5Y9x.js} +8 -8
- package/dist/assets/AddAddressForCardDrawer-B1oucxyM-I6biD8O7.js +6 -0
- package/dist/assets/{AddToWalletPage-C8keLYK6-Bn2sefuz.js → AddToWalletPage-B1GVnxRf-CndQH9vq.js} +7 -7
- package/dist/assets/{AgingReportsPage-L84_Ka8x-B6lkNbiG.js → AgingReportsPage-Bpp4te8m-HodwoOcT.js} +3 -3
- package/dist/assets/{AllUserItems-Duwm6ypi-CNUX4dOE.js → AllUserItems-CzugF5fn-8WnbDsqH.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-MH7SN7mP-D7GEtWSd.js → ApAgingDetailPage-CyUQeZY0-DHH2Dilv.js} +4 -4
- package/dist/assets/{AppBasePage-DpK4Drat-Bt4q9XbU.js → AppBasePage-Di7hObbX-uZJvqLhK.js} +6 -6
- package/dist/assets/{AppDrawerContent-CR_WXwBz-CFNPiFQp.js → AppDrawerContent-KdrUuifo-DcEK8qwb.js} +5 -5
- package/dist/assets/{ApprovalRulesSettingsPage-DD2E4NU5-DpHAD8Ti.js → ApprovalRulesSettingsPage-BRIgTh7x-CF-Pagn9.js} +1 -1
- package/dist/assets/{ArAgingChart-q1DoAAzl-IMdyrhPv.js → ArAgingChart-DeE5uhiT-BcI5cuvH.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-BKqFTdkz-kMEm6GPZ.js → ArAgingDetailPage-CFiIUBWl-BXhWrXr_.js} +2 -2
- package/dist/assets/{AttachmentView-CwbFyo5O-DSfNvuAU.js → AttachmentView-CfacSLcU-gwYezuYM.js} +7 -7
- package/dist/assets/{BankAccountSection-DNYhcdas-Ddz8QKzl.js → BankAccountSection-Bm8vdxFd-DKKdvH8R.js} +6 -6
- package/dist/assets/{BankAccountWarningSection-B6AIe7nT-BcHAPM_q.js → BankAccountWarningSection-M3w6kP33-ChP5wvhC.js} +13 -13
- package/dist/assets/{BankConnectionsSettingsPage-BQSAz9yS-R3TufSTo.js → BankConnectionsSettingsPage-Dfrp0CKz-Dc4Qac0T.js} +9 -9
- package/dist/assets/{BillDetailPage-CJMkS2TO-CUCvdJLF.js → BillDetailPage-BA1D1bO3-Ofkt6QPd.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-CWCmHWbz-BO-G290w.js → BillPayApprovalRuleDetailPage-DR8YzZt1-CQcbdF34.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-0_wlhyx9-CKOGyW5d.js → BillPayApprovalRulesPage-CfZ4aSPM-C6nI7yKc.js} +11 -11
- package/dist/assets/{BillPayPromoPage-CKOYCq5V-C6OfnMF1.js → BillPayPromoPage-CP9Nvd2Q-CSZ8mSrV.js} +4 -4
- package/dist/assets/{BillPaySetUpPage-Dibv-FD4-kIfalP85.js → BillPaySetUpPage-BwEONKu_-DARv5ESb.js} +6 -6
- package/dist/assets/{BillingSettingsPage-CG9gklV0-CGGGPaut.js → BillingSettingsPage-DicGyWCt-DwbmjVcE.js} +6 -6
- package/dist/assets/{BillsBulkReviewDrawerPage-Cgof7dpG-BwYBq9-d.js → BillsBulkReviewDrawerPage-fS3-YEdi-DKZKHDla.js} +1 -1
- package/dist/assets/{BoxItem-DD7d5_ky-D2d9aLr-.js → BoxItem-Cr0Y9YBV-C2AawtqJ.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-KfKed7nf-Bzkiryv0.js → BusinessVerificationPage-CvL9cdJm-Drj-tMQU.js} +3 -3
- package/dist/assets/CardNumberSubText-CXBKzGK5-CCtn2y_n.js +21 -0
- package/dist/assets/{CashbackDetailPage-D1ejnH4R-BltiUdCI.js → CashbackDetailPage-DOdPOiws-CAJxdhJ3.js} +11 -11
- package/dist/assets/{ChargeCardDetailPage-Cvs-BEKp-Bqa3oM5k.js → ChargeCardDetailPage-DfhAyysD-Cgd92Yem.js} +1 -1
- package/dist/assets/{ChargeCardListPage-CW0WF8w6-DBIJI8Xw.js → ChargeCardListPage-Bnnu4TVk-DFZAYaNm.js} +20 -20
- package/dist/assets/{ChargeCardListTable-43l6tEOp-BbcKoGZ2.js → ChargeCardListTable-D7zGM8uo-70otSDDQ.js} +40 -40
- package/dist/assets/{ChargeCardPaymentHistoryPage-fpQhp74g-BLq-AFt8.js → ChargeCardPaymentHistoryPage-U00GbINt-BIwIfF30.js} +13 -13
- package/dist/assets/ChargeCardPromoPage-BpBiwjfr-DWB9eQGN.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-CFR2KfLW-Bj3pYNfL.js → ChargeCardSetupPage-Duj6901M-CIASuReJ.js} +4 -4
- package/dist/assets/{ChargeCardStatementsPage-BMYUlzTk-CZ02SfTF.js → ChargeCardStatementsPage-IkU86L31-ClrDQTtP.js} +4 -4
- package/dist/assets/{CheckDepositDrawerPage-BXWeeMR7-BYN5c48i.js → CheckDepositDrawerPage-fHeTkRJF-CdLdCkIH.js} +13 -13
- package/dist/assets/{CollapsableReportTable-CZJ_4MUf-TH_6P-Y_.js → CollapsableReportTable-DUo-9gOh-B_gwOhYJ.js} +32 -32
- package/dist/assets/{CompanyOfficerDetailsSection-b2itwQOK-DbOlSBag.js → CompanyOfficerDetailsSection-DzDZe6MU-DWguMF6d.js} +10 -10
- package/dist/assets/{CompanyPassportCard-C5C3AykH-DcHAKmoT.js → CompanyPassportCard-BwiwJ82k-WRVY9XX8.js} +4 -4
- package/dist/assets/{CompanyPassportPage-D9zWgLlj-CWyCqrqW.js → CompanyPassportPage-Bz3rzG9k-e3d2ccIM.js} +15 -15
- package/dist/assets/{CompleteProfile-CMnTwbXr-DZqd8rFQ.js → CompleteProfile-CRXV-nNq-DpRL426l.js} +2 -2
- package/dist/assets/ConfettiBurst-CapRdPno-Dlg4XvfD.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-CthcMxEa-PQhPjSjB.js → CreateOrEditVendorPage-BjPotKnf-De1W0m4N.js} +12 -12
- package/dist/assets/{CreditCardPaymentDrawerPage-LD349Ert-C4Wbd8yP.js → CreditCardPaymentDrawerPage-BTZ2Lph6-DMwCUXwV.js} +13 -13
- package/dist/assets/{CurrencySelectField-iXGB-cNy-BRjQHy5W.js → CurrencySelectField-DY0HeU0G-CSYPXeIb.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-BuZrVCRr-DQvZbF43.js → CustomerOnboardingActivationPage-BIKXkkcY-IFMHYYO1.js} +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-DZfFYnVw-BG6Jz35S.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-L4WssPjU-BL2-a44j.js → CustomerOnboardingDetailPageSkeleton-DYiAmFsM-C0-Ot9Uw.js} +9 -9
- package/dist/assets/{CustomerOnboardingNoStepsPage-Bqv6vbYJ-B4xhs9JC.js → CustomerOnboardingNoStepsPage-gssFllMT-DT9hupvU.js} +9 -9
- package/dist/assets/{CustomerOnboardingPage-D7YVlzdy-GqcXPa-d.js → CustomerOnboardingPage-CBJHj8BH-KUidrPxI.js} +6 -6
- package/dist/assets/{CustomerOnboardingProductSuitePage-DLzC-lxj-pVKJNYgp.js → CustomerOnboardingProductSuitePage-2V3vSjB8-BYRuju-o.js} +12 -12
- package/dist/assets/{Dashboard-BgpeTLE--ZF2wZzkh.js → Dashboard-BVvkfPf9-hp4sQi7A.js} +1 -1
- package/dist/assets/{DashboardReportPage-DJtJdsj5-D0j90p2O.js → DashboardReportPage-DHQ79h9V-C3FgTbgA.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-CL6vWi6p-DaXPDfmE.js → DashboardSidebarBackgroundAnimation-B8Q-YA_s-DLXiBeQj.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-B8Kledeo-BlVCqg6w.js → DepositAccTransactionItem-DZnqI7IQ-DR0NgZ86.js} +2 -2
- package/dist/assets/{DepositAccTransactionListPage-DYBIAd7n-gVv7-TK3.js → DepositAccTransactionListPage-BMNdp-3Q-CyOUea8P.js} +4 -4
- package/dist/assets/{DomesticWireDetailsPage-Bm-bfxSa-rYZYhMWI.js → DomesticWireDetailsPage-CCP6xoW_-BlmZjbpt.js} +1 -1
- package/dist/assets/{DownloadOverlay-CAfyh0W2-BJk2KPOA.js → DownloadOverlay-B2bK30rG-B-m5Mv2I.js} +18 -18
- package/dist/assets/{DrawerPage-DUeVKq0Q-DB8bkP9s.js → DrawerPage-BRJDrBlv-D28-uO54.js} +8 -8
- package/dist/assets/{EditPeoplePage-dVrpOcc1-DgbweCi9.js → EditPeoplePage-I8E1Rs3x-DbyrgA_C.js} +6 -6
- package/dist/assets/{EditReimbursementDetailPage-xWwm-k8T-Hs0cdO6C.js → EditReimbursementDetailPage-C7BPmFMR-DTPMhwLH.js} +19 -19
- package/dist/assets/EntityDetailPage-BraBJ2k1-Wq1E4JPl.js +18 -0
- package/dist/assets/{EntitySummarySection-CTU-YsQl-CSwZth_c.js → EntitySummarySection-DPmL3Bnf-CHA6TrKp.js} +5 -5
- package/dist/assets/{ExpenseAutomationOverviewPage-DCbcWM84-DHrtqP9f.js → ExpenseAutomationOverviewPage-CDaO_5Vj-gZyomnai.js} +12 -12
- package/dist/assets/{ExpenseAutomationPage-DbFQ6EeA-C0i_UBmZ.js → ExpenseAutomationPage-DUenmMQD-Yh_8CeIf.js} +59 -59
- package/dist/assets/{ExpressPayPage-DMLKT4Nf-6YIrNvk0.js → ExpressPayPage-DxO1mXNE-DeRja-sm.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-DFsZRRmZ-KGYTIegX.js → FeaturePreviewPage-BWPNZcYs-CdJLxzVS.js} +1 -1
- package/dist/assets/{FollowStepsSection-DkBj9-hs-mJdSbXed.js → FollowStepsSection-DhVGeocZ-Ddk_z58q.js} +6 -6
- package/dist/assets/{GlobalReviewListPage-D1fbfssG-CByDE9EN.js → GlobalReviewListPage-8eiQXg7N-pPWYTyKl.js} +5 -5
- package/dist/assets/{InformationCardStack-CBsOTiOc-CgAe3fDD.js → InformationCardStack-CHVjIv01-Y1Eih__r.js} +2 -2
- package/dist/assets/{InsightsCardStack-BEpCIgoE-Bd7MJjyH.js → InsightsCardStack-x_tohY2Z-DNptH2Sv.js} +2 -2
- package/dist/assets/{InsightsSection-DcKb1p5B-QoDxUPcZ.js → InsightsSection-D7g00fg7-Bl1k6KMG.js} +2 -2
- package/dist/assets/{IntegrationsSettingsPage-CMEV5P0b-3g_v4D8X.js → IntegrationsSettingsPage-DVRtPRi9-ig1iJJpM.js} +10 -10
- package/dist/assets/{InternationalWireSwiftDetailsPage-Bukfo0LC-DGIPKWPe.js → InternationalWireSwiftDetailsPage-DnWbUuiD-CIWMoecY.js} +11 -11
- package/dist/assets/{InternationalWireVerificationPage-nZvCemaM-DntrzxyD.js → InternationalWireVerificationPage-CHvUYgd8-B9TQJM22.js} +3 -3
- package/dist/assets/{InviteFormPage-BpgeFttq-BbrTw2ZL.js → InviteFormPage-Cw0TIkwc-D0dTmTLg.js} +25 -25
- package/dist/assets/{InvitePageListView-B6wJomGk-pTRfOIaC.js → InvitePageListView-B4gEzFp2-1aqNeIHc.js} +19 -19
- package/dist/assets/{InvitePeoplePage-BArRXjlz-BHQlwXvg.js → InvitePeoplePage-Bnsqv_IY-DhNBoZS8.js} +5 -5
- package/dist/assets/{InvoiceUploadSection-CTqSftrm-CyVrgEkl.js → InvoiceUploadSection-CW4hHmAi-DKFSw8te.js} +20 -20
- package/dist/assets/{IssueChargeCardPage-DYG5IXrC-D-2m3p9R.js → IssueChargeCardPage-sM826Uvu-DMhbp0aa.js} +21 -21
- package/dist/assets/{LabeledAddressValue-D09c5wJR-784mespz.js → LabeledAddressValue-AuzW29LK-99vdzqZR.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-Cac2YPpN-Ba7qdzlE.js → LabeledAddressValueField-C_KatgTA-ByiPbJgm.js} +1 -1
- package/dist/assets/LabeledControlledCheckBoxField-CEd7DSmU-mOU-S2fp.js +16 -0
- package/dist/assets/{LabeledCountryMultiSelectField-DdqOGBwp-DSHkYk9h.js → LabeledCountryMultiSelectField-CffMX6f1-C44H-4q3.js} +12 -12
- package/dist/assets/{LabeledCreatableSingleSelectField-K0xUavli-THytCXMe.js → LabeledCreatableSingleSelectField-CoS6DIi_-DTDCa09f.js} +2 -2
- package/dist/assets/LabeledDocumentField-CVBhbPHv-9665D02s.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-Dms9ziRv-CJQkVxrk.js → LabeledDropDownFormattedTextField-CNru68eT-GPSUv36b.js} +5 -5
- package/dist/assets/{LabeledMultiSelectField-X5GGPnfG-0qUfOlj0.js → LabeledMultiSelectField-CTqXa2Rh-Cxu9DNT8.js} +1 -1
- package/dist/assets/{LabeledText-BJrI_PVT-oE-g3K8U.js → LabeledText-Da0Yn6u8-CFgd90E4.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BmMN3W3F-BzPJ9P_-.js → LabeledUserSingleSelectWithSubtitlesField-CE332GjA-BafYQ_Pm.js} +9 -9
- package/dist/assets/{LabeledZeniRolesDropDownField-PsaKyCCY-EbSrXIJy.js → LabeledZeniRolesDropDownField-DU4-ho4X-DQBIg45w.js} +7 -7
- package/dist/assets/{LinkJETransactionPage-BDIpw0zn-B_cGLw9N.js → LinkJETransactionPage-Dx4OE1-O-HLvvvZHd.js} +9 -9
- package/dist/assets/{LockCardPage-ChGk6VJX-BzQI96FY.js → LockCardPage-B3P6wcK_-Ckpg2eew.js} +23 -23
- package/dist/assets/{LowBalancePopup-Bv3kKmAV-DSB2Ymlf.js → LowBalancePopup-Dp1vEYQQ-DIw_NRSy.js} +5 -5
- package/dist/assets/MagicLinkACHDetailsPage-BeRQFYX3-CrMUHXPB.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-C1DDZC2_-CWTR8m-D.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DyDp04Vn-UtoyLAup.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-ySlQc8oV-BspPWH9Z.js → MagicLinkSuccessPage-Iva17nX0-DhK2jGAZ.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-C_OYT1do-NbVFRCAZ.js → MagicLinkTitleSection-B726bP_P-CoT1ZO_f.js} +1 -1
- package/dist/assets/MailingDetailsSection-IQJY4Yl0-C_b76P8R.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-CxaXh1Aj-CwKK_h51.js → MyBankConnectionsSettingsPage-Ad6xGN08-JjXBlik9.js} +6 -6
- package/dist/assets/{MyPendingActivationChargeCardListPage-B9mNbLDd-Db1Atl2l.js → MyPendingActivationChargeCardListPage-BYZ61huS-YKZjMs5X.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-DDERIXlZ-CjalvgMv.js → MyProfileSettingsPage-bEru4GQJ-Cj303JTH.js} +6 -6
- package/dist/assets/{NavBarWithPicker-BJ_8PHPv-B6R9nMuM.js → NavBarWithPicker-BAKrtv3g-BXBcsUFZ.js} +4 -4
- package/dist/assets/{NavigationArrow-9HOMBxoh-CWFuMeOE.js → NavigationArrow-CKvBs9-h-DGD1r2EE.js} +1 -1
- package/dist/assets/{NavigationDots-DPf5iy8f-DNlf5jCf.js → NavigationDots-BdcVrwsL-D_WEvn6f.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-1MfUlwkA-Dx3DZ-ZO.js → NewGlobalMerchantPage-Cx38uQAS-BBICE4OG.js} +7 -7
- package/dist/assets/{NoDataChart-CDHiYyiO-DHWgty-U.js → NoDataChart-BbyxZE2g-CtN5BYbf.js} +2 -2
- package/dist/assets/{NoDataTable-BoAJZxdS-ClNYPP1-.js → NoDataTable-BNZWGvtm-S9Fe9Ovx.js} +1 -1
- package/dist/assets/{NotFoundPage-C-EoeDss-DqOvJ6YN.js → NotFoundPage-CssnEz-k-ccXdF3op.js} +7 -7
- package/dist/assets/{NotificationSettingsPage-BfFNx-vu-Byo7BJZr.js → NotificationSettingsPage-DmgxnO9I-BH2rOJH7.js} +15 -15
- package/dist/assets/{NotificationsListConfig-CBQwRqMo-DVBdjTys.js → NotificationsListConfig-DdMKLqFI-DwvXMwFg.js} +1 -1
- package/dist/assets/{NotificationsPage-BPfRskWZ-_QOFXGgt.js → NotificationsPage-B9XIE39J-CejudHUF.js} +12 -12
- package/dist/assets/{OpExByVendorPage-BLI8h8LP-PGQ9bnDo.js → OpExByVendorPage-5wnFvYXt-D6A9jnRY.js} +4 -4
- package/dist/assets/{OverlayContainerPage-IDTUbuAC-B16J5Isr.js → OverlayContainerPage-IDTUbuAC-dv-sDcTQ.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DvT1WQdL-CPylI6Uc.js → PandLWithForecastPage-CrtKdSaD-CYng6puq.js} +7 -7
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-CyfKYJV3-CnunCi1o.js → PaymentAccountSetupBillingAddressSection-CQki5l4P-CuMomXeK.js} +9 -9
- package/dist/assets/{PeoplePage-BHfn-oLF-CGOapKvG.js → PeoplePage-BCjxJl1y-JBCpiTMQ.js} +10 -10
- package/dist/assets/{Preview-B9tjpKKL.js → Preview-DMKZka6j.js} +1 -1
- package/dist/assets/{ProductsCarousel-ChWN6HhX-DEhcI5NW.js → ProductsCarousel-BYvlY6Jl-BJ6Pqq3q.js} +1 -1
- package/dist/assets/{PromoBaseCards-BWpqciJW-DEw7mp3r.js → PromoBaseCards-6vRaZnUg-CBqkAept.js} +12 -12
- package/dist/assets/{QBOConnectionDialog-D9wVm2ga-jv2cIUQM.js → QBOConnectionDialog-C-v9bhUW-CtiRv4Zj.js} +2 -2
- package/dist/assets/{QBOSetupSection-CR7JQ_H9-CokKwnfI.js → QBOSetupSection-DPhwp1AB-DxJDpMHr.js} +11 -11
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-RTvnT_vl-D0AOYl_B.js → ReimbursementApprovalRuleDetailPage-Crz8RArL-DQzyot-2.js} +2 -2
- package/dist/assets/{ReimbursementApprovalRulesPage-Dbs4lLSo-5JjLiWWQ.js → ReimbursementApprovalRulesPage-CHrPVveg-DDlyKkun.js} +13 -13
- package/dist/assets/{ReimbursementDetailPage-COF-QqKR-BLj9_Zcn.js → ReimbursementDetailPage-BlfifQuc-DXXQTfQu.js} +8 -8
- package/dist/assets/{ReimbursementPromoPage-DSHynwPv-CMfUTDoh.js → ReimbursementPromoPage-B6rhhOye-CmIRL-Wr.js} +12 -12
- package/dist/assets/{ReimbursementSetUpPage-CafAtAVr-BdH5_Uu6.js → ReimbursementSetUpPage-BQwRjKZ5-CWVOKlly.js} +7 -7
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-Cz8keUEO-C42JglzT.js → ReimbursementsBulkReviewDrawerPage-BTaFn0Mh-DXx1vhRK.js} +1 -1
- package/dist/assets/{ReloadCard-Bf1jxC4B-CjPHohhm.js → ReloadCard-DETUOoLJ-Dww2RtAQ.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-DOQm7O9r-DcS436ql.js → ReportTableViewSelector-DSDclygb-CPmwPKtZ.js} +29 -29
- package/dist/assets/{ReportsPage-Deg59aYB-VaMTaqOC.js → ReportsPage-BrmMmYET-qm3o80ge.js} +4 -4
- package/dist/assets/{RevenueChart-C1RR_51e-Bn1LRvSc.js → RevenueChart-B711QWTX-ztc9NA65.js} +17 -17
- package/dist/assets/{ReviewDetailsPage-D3bqGZYb-DmpMCAqo.js → ReviewDetailsPage-Bkw0FfE--BL2mmyys.js} +52 -52
- package/dist/assets/{ReviewOverlay-CKB9LulM-CUNk2W-s.js → ReviewOverlay-CkB3Z8hH-CX5FMXRQ.js} +11 -11
- package/dist/assets/{RoleWithToolTip-BGlbeXtJ-BQ5iinOT.js → RoleWithToolTip-CkpqxMzB-CgYpd1vG.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-D4OkyPNa-6prKuM88.js → ScheduleDetailsFixedAssetsPage-C-4zVu03-B-3H4CNH.js} +9 -9
- package/dist/assets/{ScheduleDetailsPage-9oUScaFD-Czq02-r0.js → ScheduleDetailsPage-D4mYRUnv-CIK0kUkx.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-CuOC0Niz-BzAvMkBB.js → ScheduleSequenceTable-q-031a_C-Cl6g3k1V.js} +8 -8
- package/dist/assets/{ScreenRoutes-DhG0rKVC.js → ScreenRoutes-D9-sd0S3.js} +1 -1
- package/dist/assets/{SetUpAccountSection-CK2Ibij3-DvyPJ8FZ.js → SetUpAccountSection-Mm8JelXc-DJkSxyLc.js} +6 -6
- package/dist/assets/{SignIn-CLLS0cqt-G1jKv-f1.js → SignIn-faWXqi7o-BVPJ-uzq.js} +16 -16
- package/dist/assets/{SignInScreen-BdhVUUiU.js → SignInScreen-DTTr8TvQ.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-C1hg05PB-BMXGChah.js → SpendManagementListViewPage-BLWEPKWO-zjDi64vH.js} +6 -6
- package/dist/assets/{SpendManagementPerTabPage-7uggjzlM-BBdEOhcD.js → SpendManagementPerTabPage-vZNK6DuA-DHQi0ok2.js} +23 -23
- package/dist/assets/{SpendManagementSection-DFiL_yNI-ca-vlRub.js → SpendManagementSection-CeDmloNd-CJQVf2yR.js} +1 -1
- package/dist/assets/StatementItem-CJShifEl-gXZiawe9.js +31 -0
- package/dist/assets/StatementsPage-BRxP-Jwn-CibgKP9E.js +58 -0
- package/dist/assets/{StatusSwitcher-DPzwQ_o1-DkaIBc47.js → StatusSwitcher-CPuONMOx-IUewbXcR.js} +1 -1
- package/dist/assets/{SubTabSwitcher-Dztt2rN9-DqHo5u0Z.js → SubTabSwitcher-ibTbIxr5-87SzITqK.js} +1 -1
- package/dist/assets/SummaryCard-vWpHXMPE-j4-YbXA_.js +1 -0
- package/dist/assets/{TaskManagementPage-BRAt26fv-om-zuIgh.js → TaskManagementPage-COs5ebo9-LStJ5YyB.js} +22 -22
- package/dist/assets/{TimeRangeSwitcher-DMCbeOcI-C4mgjK4U.js → TimeRangeSwitcher-fD5vvYGO-Cg6AHBEd.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-YCgPbEnk-CJUz-kg1.js → TimeframeSwitcher-BYXKRKtc-BTNUudrw.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-BBJP1nmh-D1jTbV4O.js → TimeframeSwitcherWithToggle-f92qNjEk-CshyNxhp.js} +2 -2
- package/dist/assets/{TopExCard-LesAF7Ot-CWhGtv9n.js → TopExCard-Bs4nI9Q9-C9Jpq9jc.js} +10 -10
- package/dist/assets/{TopExDetailPage-BTG2W95T-CAgJv3QR.js → TopExDetailPage-B0kS11k0-IiO7dIt-.js} +8 -8
- package/dist/assets/{TransactionDetailPage-BqHVfK2K-CBoMen48.js → TransactionDetailPage-BXl6y7sy-B_wNV2dF.js} +1 -1
- package/dist/assets/{TransactionList-CGmpQyNM-BGohJsUE.js → TransactionList-BYXPQXN1-C2WkgSOj.js} +11 -11
- package/dist/assets/{TransactionListBig-CSYpIxGa-Bd2xJZzC.js → TransactionListBig-lrbHUS38-D0fzERPt.js} +16 -16
- package/dist/assets/{TransactionListPage-CV5U_pA6-DsUhS_R3.js → TransactionListPage-OOLJzsmw-Dmoozb9S.js} +2 -2
- package/dist/assets/{TransactionVendorDetailPage-DvqHmq7y-C8mjIShR.js → TransactionVendorDetailPage-CmjrngD2-DvxXX996.js} +4 -4
- package/dist/assets/{TransferDrawerPage-Cm5reG35-B5qd6-NU.js → TransferDrawerPage-CnFrzA_M-C6390hZV.js} +15 -15
- package/dist/assets/{TreasuryOverviewPage-CwcehiRb-BBfaI9Ls.js → TreasuryOverviewPage-CGxccIcU-CgXb0qH5.js} +25 -25
- package/dist/assets/{TreasuryPromoPage-BagqhZgO-BswlnynL.js → TreasuryPromoPage-BmMVa8cX-BOYWbSX7.js} +8 -8
- package/dist/assets/{TreasuryStatementsPage-o-ID2nvn-DTg8AAgQ.js → TreasuryStatementsPage-DL94A9mN-DZ6yoZ74.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-D9f3ohGF-DEP20r26.js → TreasuryTaxLetterPage-BJ9-ZsCQ-DnDmd1Op.js} +2 -2
- package/dist/assets/{TrendChart-CqxpheW7-DiPHNgeC.js → TrendChart-ClyJQTBF-TLthRW_O.js} +1 -1
- package/dist/assets/{TrendWithTransactions-CK_je__x-C1Qk91i9.js → TrendWithTransactions-D4m4sVkf-DJ-5Yugx.js} +4 -4
- package/dist/assets/{UncategorizedAccountsMappingPage-BBYQFJxE-nEmuJTEW.js → UncategorizedAccountsMappingPage-BLwx8CVj-dhOY5qHO.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-ULhazfl5-DPlYAGvC.js → UnitIntegrationPage-CgbOyIBt-nz_B7FQx.js} +10 -10
- package/dist/assets/{UploadAdditionalDocumentOverlay-BPNLdaLG-DQNAWd7N.js → UploadAdditionalDocumentOverlay-CmVwCxA2-BL_6rNZZ.js} +1 -1
- package/dist/assets/Vendor2FAPopup-DQtP0bm--CecMTi1i.js +1 -0
- package/dist/assets/VendorACHDetailsPage-CuCteqbL-CrfAmoz7.js +1 -0
- package/dist/assets/{VendorDetailPage-DPiVnh93-CAOlBr9d.js → VendorDetailPage-CFkDOdUe-B1GqtBiD.js} +93 -93
- package/dist/assets/VendorDomesticWireDetailsPage-Cr1fyB0u-N7obKAAe.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-CFrvW8qi-C-v6Mx4-.js → VendorFiling1099EditablePage-Bkn9p2Sf-xXTYWhq9.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-CRLGuw2s-wfeT2fAg.js → VendorFirstReviewPage-CKvnB4Q7-wJi46XXQ.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-CV11lzdw-BWhlaMax.js → VendorInternationalWireDetailsPage--B2XU_hP-CbzsnIo2.js} +8 -8
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CJFB7SEO-BecYrM5_.js +1 -0
- package/dist/assets/{VendorsAccountsSection-vd0V4UXY-BNPavepY.js → VendorsAccountsSection-DJP1yZx7-OlnsbsSP.js} +3 -3
- package/dist/assets/{VerifyDevice-DbyjJVTH-_0YHPiw6.js → VerifyDevice-dFsnt44d-C1LsKxM_.js} +3 -3
- package/dist/assets/{VideoPlayer-CoI7aj8a-B3tmTxCF.js → VideoPlayer-Dy6rImBJ-QOYygi-i.js} +2 -2
- package/dist/assets/{VideoPopup-Bp7fCV1r-BulLqsQx.js → VideoPopup-DM5Buf4j-CFLugl6n.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-jMslD0FX-CrUmOPLP.js → WarningsDrawerPage-C8i8v3rq-BqkJBNMa.js} +5 -5
- package/dist/assets/{ZeniAccountDetailPage-C1Vq8cMd-BzjwyTwn.js → ZeniAccountDetailPage-CI7znfzM-Vqgai5nW.js} +12 -12
- package/dist/assets/{ZeniAccountListViewPage-BNTb04x5-DcvhdCN4.js → ZeniAccountListViewPage-CBnYQpc8-Dv81IpSI.js} +7 -7
- package/dist/assets/{ZeniAccountNavBarPieces-ByYrxg3x-w6kmpmKh.js → ZeniAccountNavBarPieces-sMjtAlej-CO7nbf-u.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-BCkk0NbR-juw5u7mQ.js → ZeniAccountPromoPage-B_NJMHHV-DWsuBCOP.js} +13 -13
- package/dist/assets/{ZeniAccountSetupPage-ClZTjZhF-C_sOqJTM.js → ZeniAccountSetupPage-C9cJ0F8e-BF5g947U.js} +1 -1
- package/dist/assets/{ZeniCopyright-C8wXM9Gr-qMGnv8al.js → ZeniCopyright-DzWFQiAt-07AcK5yb.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-NAR_1h8K-DARDrTsk.js → ZeniTransferAmountSlider-B424bcSV-CHepSJQx.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-flwj0i1s.js → add-to-wallet-DgdBD8_G-pWZi41H8.js} +1 -1
- package/dist/assets/{analytics-EizVTK6x.js → analytics-BvXI56dE.js} +1 -1
- package/dist/assets/{analyticsHelper-DjynPp_X-s29on7ka.js → analyticsHelper-CzevEN9D-BUYGstD0.js} +1 -1
- package/dist/assets/{analyticsHelper-BRPQgKH6.js → analyticsHelper-DP-LgJhR.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-DbFUNUBk.js → arrow-south-east-round-PEovUgvH-B9_UwdI_.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-T83isyAA.js → auto-transfer-rule-mbafm5D3-CRwly3T1.js} +1 -1
- package/dist/assets/{chartTypes-CXNoxZp_-CJ_wyUtd.js → chartTypes-n3TS0IBf-DRx7aLxA.js} +1 -1
- package/dist/assets/{commonDimensions-i9Qxk1O2-XYIUogON.js → commonDimensions-6BcP8EhU-CPpjZ-C4.js} +1 -1
- package/dist/assets/{commonTypes-CcEHeA3z-sEqnsPbS.js → commonTypes-Q1WP-Ym3-Cmq2uCPt.js} +1 -1
- package/dist/assets/{constants-BGXrwDfx.js → constants-B97TsRRb.js} +1 -1
- package/dist/assets/{core-C5wq1_Bk.js → core-CIefpDlV.js} +1 -1
- package/dist/assets/{dash.all.min-B4_top4V.js → dash.all.min-RUznf6Xj.js} +1 -1
- package/dist/assets/{detailCommon-DVTOw71--Wk0Evzej.js → detailCommon-D3YbmSu3-CiTGsaNF.js} +7 -7
- package/dist/assets/{downloadPdf-1-N8Pf0G-CMW67koi.js → downloadPdf-Bf11NXjY-DUwuSlsF.js} +1 -1
- package/dist/assets/{empty-fb3xJ2Vb.js → empty-BQQX0XD1.js} +1 -1
- package/dist/assets/{empty-DuP8pCf7.js → empty-DJIJO66a.js} +1 -1
- package/dist/assets/{epic-4LjfR2JF.js → epic-C6ygjjdM.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-BtixTK1k.js → gift-box-Cmt9OgIZ-BWCTqneo.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt--UnjJCr0.js → graphic-no-data-l-DU4J8fDt-C8GXOUxr.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-8oQBXM_J.js → graphic-no-data-net-burn-l-CzmycA0m-BQAFQuCs.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-BSCdA5zo.js → handshake-BPg58FML-BCnezDN8.js} +1 -1
- package/dist/assets/{index-tW1FBxGF.js → index-BzA0Xv0P.js} +1 -1
- package/dist/assets/{index-Ko3PkHk3.js → index-CQs92n2L.js} +1 -1
- package/dist/assets/{index-CzJUh-iK.js → index-DAj0zPwk.js} +1 -1
- package/dist/assets/{index-J8KI2Uyc.js → index-DtRGsySN.js} +1 -1
- package/dist/assets/{index-DVgY55Ab.js → index-WEj6FS32.js} +10 -8
- package/dist/assets/{index-_TIifI_v.js → index-rikpsdq-.js} +1 -1
- package/dist/assets/{index-DqRCO-H6.js → index-smQbM7l5.js} +1 -1
- package/dist/assets/{lexical-xuKHFvUb.js → lexical-Dp1JhPKz.js} +1 -1
- package/dist/assets/{liveblocks-B14TpO3l.js → liveblocks-CrODURpx.js} +1 -1
- package/dist/assets/{lottie-BIQaRIZs.js → lottie-hIwSKdQS.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-UA-QQZJo-DsDuha6V.js → mapLoadingInProgressToTreeNode-BArKDqgr-Ce9uxfyP.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode--y3nO5uZ-DP42yTzT.js → mapSectionWithAcOnlyToTreeNode-BCmFQbuz-BJl1ilV_.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-DdwRxjlP-Bw1NwZTY.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-CR-gDA51-Dr9tcN9g.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-ClmNRrTo-Covijrhn.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-aD-96xtj-BAIV3Qln.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DT4LUXl9-COTrRRrU.js} +1 -1
- package/dist/assets/{mui-CR-wYMmN.js → mui-BTtN6lbG.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-Dp0GDjdb.js → page-detail-CWX5S47F-vL4oE1Hd.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-CInIhD3e.js → radio-default-CiSgisfh-CzTG_UVX.js} +1 -1
- package/dist/assets/{react-D2cRiLcJ.js → react-BZDhaeWn.js} +1 -1
- package/dist/assets/{react-C8urvt-z.js → react-CZT8R2xg.js} +1 -1
- package/dist/assets/{react-D_2r5dmn.js → react-D8h_J9ua.js} +1 -1
- package/dist/assets/{react-BW87X3sj.js → react-DTawl0rf.js} +1 -1
- package/dist/assets/{react-DHV7aTmN.js → react-FdUpWGdd.js} +2 -2
- package/dist/assets/{react-CCZeJYV_.js → react-RUf-G1wy.js} +1 -1
- package/dist/assets/{react-BHi_eEiU.js → react-dGc0O2tO.js} +1 -1
- package/dist/assets/{react-CcqTmi2W.js → react-yNxKnTJa.js} +1 -1
- package/dist/assets/{recharts-C3mrSjO2.js → recharts-BfU_srYC.js} +1 -1
- package/dist/assets/{sentry-DMXY90dB.js → sentry-B0WgNUxa.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-BYs2EC5i.js → shield-DOlUxcFf-Z1Xg2OMK.js} +1 -1
- package/dist/assets/toCOABalancesWithID-BzzH0Io4-q6KiTxht.js +1 -0
- package/dist/assets/{toChartData-Dv-QcYgv-C4sd-ifC.js → toChartData-Bl-lEYbQ-Cv_10vbn.js} +1 -1
- package/dist/assets/{uploadAttachment-DSmux1Yp-Dl4ms4pR.js → uploadAttachment-B_0cN84g-C7pQHANb.js} +8 -8
- package/dist/assets/{uploadReceipts-DJRtId-4-CHJq-raT.js → uploadReceipts-DJRtId-4-B1jpX457.js} +1 -1
- package/dist/assets/{url-20Ls3nS_.js → url-CHEcUoer.js} +1 -1
- package/dist/assets/{url-DojBAuFA.js → url-D-l_68oE.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-C5_U_XBl.js → useLongPress-GCK2COYQ-BysG3lqG.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-l2et8N9o.js → usp-line-BBd1wKwW-ZROsAmzr.js} +1 -1
- package/dist/assets/{utils-BCuN6woZ.js → utils-DZQMbqmw.js} +1 -1
- package/dist/assets/{zeni-epic-state-BXMuLX_S.js → zeni-epic-state-DnAAAEmj.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AccountInfoPage-CyJ0eFqc-oDTaIYye.js +0 -18
- package/dist/assets/AddAddressForCardDrawer-D1XOklKz-D41jak46.js +0 -6
- package/dist/assets/CardNumberSubText-sE2DGwYG-B174guLL.js +0 -21
- package/dist/assets/ChargeCardPromoPage-D0np03A--Bpq9wCjH.js +0 -222
- package/dist/assets/ConfettiBurst-BRie0bid-CKCgsLzT.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-DrNstqxI-DBMIRSp3.js +0 -1
- package/dist/assets/EntityDetailPage-Cpdbw3XR-C8k1xBJc.js +0 -18
- package/dist/assets/LabeledControlledCheckBoxField--EmdYCME-BUoRkObt.js +0 -16
- package/dist/assets/LabeledDocumentField--JZn0qDn-Ck_rkdmF.js +0 -41
- package/dist/assets/MagicLinkACHDetailsPage-D4Vmz8ms-ItRZ63_N.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-B7C30ROh-C843OBvj.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DVFrpmvm-COXfeIQs.js +0 -1
- package/dist/assets/MailingDetailsSection-CTPCXpZR-Dv3Iye8Q.js +0 -21
- package/dist/assets/StatementItem-CdytKcBE-CavJc8fo.js +0 -31
- package/dist/assets/StatementsPage-DU32IYXF-Dj_pMhMm.js +0 -58
- package/dist/assets/SummaryCard-D3ev0zFr-CHfcyxTY.js +0 -1
- package/dist/assets/Vendor2FAPopup-C3Z-3poJ-Cxx265s1.js +0 -1
- package/dist/assets/VendorACHDetailsPage-DnB2b-v_-C755XLlO.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-BbfatdWd-DhsLa-3A.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-D3asjWH_-BXIinpkC.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-BOG_274U-C0W1M9EX.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Btd_0ZvL-CEgQnhXV.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-LWHXAvJU-B42MwYQ_.js +0 -1
- package/dist/assets/toCOABalancesWithID-C_7wlYeT-C3P4q5bp.js +0 -1
package/dist/assets/{OpExByVendorPage-BLI8h8LP-PGQ9bnDo.js → OpExByVendorPage-5wnFvYXt-D6A9jnRY.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{J as H,i3 as Ce,F as B,g as q,cc as _e,ay as xe,V as t,bN as Se,aP as we,i2 as ke,bC as ve,bB as Be,i4 as Pe,i5 as Oe,o as u,aT as Te,T as je,y as F,b3 as ie,aD as le,aV as $e,u as P,ce as De,cf as Ne,cg as Ie,bK as Ee,p as a,al as ce,b as Z,aY as Me}from"./index-WEj6FS32.js";import{a as C,P as Ae}from"./sentry-B0WgNUxa.js";import{n as h}from"./mui-BTtN6lbG.js";import{FX as Le}from"./zeni-epic-state-DnAAAEmj.js";import{p as Fe,d as Ve,y as G,b as de,u as ee}from"./chartTypes-n3TS0IBf-DRx7aLxA.js";import{V as Re}from"./toChartData-Bl-lEYbQ-Cv_10vbn.js";import{m as V}from"./analyticsHelper-CzevEN9D-BUYGstD0.js";import{p as ze}from"./TimeRangeSwitcher-fD5vvYGO-Cg6AHBEd.js";import{M as Ke}from"./TimeframeSwitcherWithToggle-f92qNjEk-CshyNxhp.js";import{C as We}from"./NoDataChart-BbyxZE2g-CtN5BYbf.js";import{d as Ye}from"./NoDataTable-BNZWGvtm-S9Fe9Ovx.js";import{H as Ge,U as oe}from"./detailCommon-D3YbmSu3-CiTGsaNF.js";import{n as R}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{I as He,R as J}from"./CollapsableReportTable-DUo-9gOh-B_gwOhYJ.js";import{o as pe}from"./mapTimeframeBalancesToTreeNode-ClmNRrTo-Covijrhn.js";import{d as re}from"./mapLoadingInProgressToTreeNode-BArKDqgr-Ce9uxfyP.js";import{l as qe}from"./mapSpacerToTreeNode-DdwRxjlP-Bw1NwZTY.js";import{N as Je,I as Ue,X as Xe,Y as Qe,J as Ze,K as eo}from"./recharts-BfU_srYC.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";import"./TimeframeSwitcher-BYXKRKtc-BTNUudrw.js";import"./graphic-no-data-l-DU4J8fDt-C8GXOUxr.js";import"./AccountRow-B9ZIzZy7-C9nPv4rY.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="9a42ff6d-9483-42f5-a657-0c262b208f0c",e._sentryDebugIdIdentifier="sentry-dbid-9a42ff6d-9483-42f5-a657-0c262b208f0c")}catch{}})();const oo=h.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,ro=h.div`
|
|
4
4
|
flex: display;
|
|
@@ -22,10 +22,10 @@ import{Q as H,i3 as Ce,F as B,g as q,cc as _e,ay as xe,V as t,bN as Se,aP as we,
|
|
|
22
22
|
width: 100%;
|
|
23
23
|
height: 1px;
|
|
24
24
|
background-color: ${a.neutralGrey3Dark};
|
|
25
|
-
`,to=({active:e,payload:r,barName:o})=>{const s=[];if(r!==void 0&&e===!0){const
|
|
25
|
+
`,to=({active:e,payload:r,barName:o})=>{const s=[];if(r!==void 0&&e===!0){const i=r.filter(y=>y.name==o)[0],l=i.payload,m=i.color,n={amount:l.record[o].amount?.amount??0,currencyCode:l.record[o].amount?.currencyCode??"",currencySymbol:l.record[o].amount?.currencySymbol??""},p={amount:0,currencyCode:"",currencySymbol:""};let g=0,c;for(c in l.record)c.endsWith("_actual")&&(g+=l.record[c].amount?.amount??0);p.amount=g,p.currencyCode=n.currencyCode,p.currencySymbol=n.currencySymbol,s.push({barName:de(o),actual:n,color:m,total:p,timeframeTick:l.timeLabel})}return s},no=({barLabelsWithValues:e,getVendorName:r})=>t.jsx(oo,{children:t.jsxs(ro,{children:[t.jsxs(ae,{children:[t.jsx(te,{color:e[0].color,children:`${r(e[0].timeframeTick,e[0].barName)}`}),t.jsx(ne,{color:e[0].color,children:`${ee(e[0].actual)}`})]}),t.jsx(ao,{}),t.jsxs(ae,{children:[t.jsx(te,{color:a.primaryDark,children:`${B.getLocalizedStrings().chartCard.total}`}),t.jsx(ne,{children:`${ee(e[0].total)}`})]})]})}),so=e=>{const r=to({...e});return r.length===0?null:t.jsx(no,{barLabelsWithValues:r,getVendorName:e.getVendorName})},io=Ae.memo(so),se=[a.graphColor34,a.graphColor05,a.graphColor08,a.graphColor11,a.graphColor13,a.graphColor19,a.graphColor29,a.graphColor28,a.graphColor20,a.graphColor21,a.graphColor22,a.graphColor14,a.graphColor35,a.graphColor31,a.graphColor33,a.graphColor32,a.graphColor36,a.graphColor02,a.graphColor06,a.graphColor04,a.graphColor10,a.graphColor12,a.graphColor15,a.graphColor18,a.graphColor17,a.graphColor07,a.graphColor34Dark,a.graphColor05Dark,a.graphColor08Dark,a.graphColor11Dark,a.graphColor13Dark,a.graphColor19Dark,a.graphColor29Dark,a.graphColor28Dark,a.graphColor20Dark,a.graphColor21Dark,a.graphColor22Dark,a.graphColor14Dark,a.graphColor35Dark,a.graphColor31Dark,a.graphColor33Dark,a.graphColor32Dark,a.graphColor36Dark,a.graphColor02Dark,a.graphColor06Dark,a.graphColor04Dark,a.graphColor10Dark,a.graphColor12Dark,a.graphColor15Dark,a.graphColor18Dark,a.graphColor17Dark,a.graphColor07Dark];class N{_barColors;_barColorsKeyWise;_defaultColor;constructor(){this._defaultColor=a.graphColor34,this._barColors=se.slice(),this._barColorsKeyWise=new Map}static#e=new N;getBarColor(r){const o=N.instance();return o._barColorsKeyWise.has(r)||(o._barColors.length===0&&(o._barColors=se.slice()),o._barColorsKeyWise.set(r,o._barColors.shift()??o._defaultColor)),o._barColorsKeyWise.get(r)}shouldUpdate(r){const o=N.instance(),s=Array.from(o._barColorsKeyWise.keys()).sort();return!le(s,r)}static init(){return this.#e=new N,this.#e}static instance(){return this.#e}}const lo=N.instance(),co=(e,r)=>{const o=new Set,s={};let i;const l=r.top4VendorsAndOthers;return Object.keys(l).length>0&&Object.keys(l).forEach(m=>{l[m].forEach((n,p)=>{const g=`vendor_${p}`,c=Fe(g,"actual");o.add(c),i==null&&n.balance!=null&&(i=c),s[c]!=null?s[c].push({key:c,balance:n.balance}):s[c]=[{key:c,balance:n.balance}]})}),i!=null?Re(e,[...o],i,s):void 0},po=h.div`
|
|
26
26
|
width: ${e=>e.width}px;
|
|
27
27
|
height: ${e=>e.height}px;
|
|
28
|
-
`;function mo({selectedRangeReport:e,width:r,height:o,showBarHoverBackground:s=!1,isDetailPage:
|
|
28
|
+
`;function mo({selectedRangeReport:e,width:r,height:o,showBarHoverBackground:s=!1,isDetailPage:i=!1}){const l=C.useRef(!1),m=lo,[n,p]=C.useState(void 0);C.useEffect(()=>{l.current=!0},[]);const g=co(e.firstMonthOfFY,e),c=()=>{const d=[];return g?.orderedKeys.forEach(_=>{const S=i===!0&&!l.current;d.push(y(_,S))}),d},y=(d,_)=>t.jsx(eo,{name:d,animationDuration:_?500:void 0,style:{cursor:"pointer"},dataKey:S=>{const v=S.record;return(v[d]?.amount!=null?v[d].amount:void 0)?.amount??0},stackId:"chartByTimeSeries",fill:m.getBarColor(de(d)),onMouseEnter:()=>{n!==d&&p(d)},onMouseLeave:()=>{n!=null&&p(void 0)}},d),x=({active:d,payload:_})=>_?.find(S=>S.name===n)!=null&&n!=null&&d===!0?t.jsx(io,{active:d,payload:_,barName:n,getVendorName:f}):null,f=(d,_)=>{const S=Le(d);try{const v=_.split("_")[1];return e.top4VendorsAndOthers[S][parseInt(v)].vendor.name}catch(v){return console.warn("Was not able to parse vendor index for tooltip ",v),""}};return g==null?null:t.jsx(ho,{chartData:g,showBarHoverBackground:s,barElements:c(),customToolTipContent:t.jsx(x,{}),width:r,height:o,isDetailPage:i===!0})}const ho=({chartData:e,barElements:r,customToolTipContent:o,width:s,height:i,showBarHoverBackground:l=!1,isDetailPage:m})=>{const n=q(),p=Ve(e),g=l!==!1,c=m?(s-60)/G.operating_expenses_by_vendor*(G.operating_expenses_by_vendor-e.timeseries.length):20;return t.jsx(po,{width:s,height:i,children:t.jsx(ie,{children:({height:y,width:x})=>t.jsxs(Je,{width:x,height:y,stackOffset:"sign",data:e.recordByTimeseries,barCategoryGap:"25%",maxBarSize:m?P[5]:30,margin:{top:5,right:c,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},children:[t.jsx(Ue,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:n.colors.grey3}),t.jsx(Xe,{dataKey:f=>f.timeLabel.label,type:"category",axisLine:{stroke:n.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:n.colors.hero,...Z.extraSmallRegular.cssObject}}),t.jsx(Qe,{type:"number",axisLine:!1,tickLine:!1,tick:{color:n.colors.hero,...Z.extraSmallRegular.cssObject},tickFormatter:f=>Me("0,0.[00]a",f,p)}),t.jsx(Ze,{wrapperStyle:{zIndex:2},cursor:g?{stroke:n.colors.background,strokeWidth:(x-120)/G.operating_expenses_by_vendor,fill:n.colors.background}:!1,content:o,allowEscapeViewBox:{x:!1,y:!0}}),r]})})})};function go(e){return{locale_id:e.localeId,show_negative_amount_in_parenthesis:e.showNegativeAmountInParenthesis,filter_accounts_with_nil_balances:e.filterAccountsWithNilBalances,filter_account_groups_with_nil_balances:e.filterAccountGroupsWithNilBalances,company_name:e.companyName,statement_file_type:e.statementFileType,timeframe:e.timeframe,timezone:e.timezone,additional_balances:e.additionalBalances,format:e.format,sort_key:e.sortKey,sort_order:e.sortOrder,is_compare_mode_on:e.isCompareModeOn,search_string:e.searchString}}function uo(e){const{isCompareModeOn:r,report:o,currentTenantCompanyName:s}=e,i=[];if(r&&(i.push("this_period_vs_last_period_percent"),i.push("this_period_vs_last_period")),o.dataAvailable!=null)return{localeId:B.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",companyName:s,statementFileType:"excel",timeframe:e.timeframe,timezone:e.timezone,additionalBalances:i,format:e.reportType,sortKey:e.sortKey,sortOrder:e.sortOrder,isCompareModeOn:e.isCompareModeOn,searchString:e.searchString}}function fo(e){const r=uo(e);if(r!=null)return yo(e.statementEndPoint,e.authParams,r)}async function yo(e,r,o){const s=B.getLocalizedStrings().downloadReport,i=`${e}?query=${encodeURIComponent(JSON.stringify(go(o)))}`;try{const l=await De({urlEndPoint:i,authParams:r,fileType:o.statementFileType});if(l.ok){const m=Ne(l.headers,s.defaultFileName),n=await l.arrayBuffer();Ie(n,m)}else console.error(`${s.reportErrorMessage} ${l.statusText}`)}catch(l){console.error(`${s.reportErrorMessage} ${JSON.stringify(l)}`)}}function bo({title:e,balances:r,config:o,nodeId:s}){return{children:[],id:s??J("title_string_only",[]),isLastNode:!1,reportElementData:{element:{kind:"title_string_only",title:e,data:r,numOfBalances:r.length},config:o}}}function Co({opExByVendor:e,numOfBalances:r,title:o,isLastNode:s,config:i}){const l=e.account?.accountName??"-",m=e.classBase?.className??"-",n=J("vendor_row",[],o+l+m);return{children:[],id:n,isLastNode:s,reportElementData:{element:{kind:"vendor_row",title:o,data:e,numOfBalances:r},config:i}}}function _o({title:e,balances:r,config:o,numOfBalances:s,nodeId:i}){return{children:[],id:i??J("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,data:r,numOfBalances:s},config:o}}}const xo=(e,r,o,s=!0)=>{const i=o.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+1:e.filter.balancesRange.numberOfPeriods,l=e.totalBalances!=null?[...e.totalBalances.balances,...e.totalBalances.additionalBalances]:[];e.totalBalances?.totalBalance!=null&&l.push(e.totalBalances.totalBalance);const m=pe({balances:l,config:o}),n=[];n.push(m);const p=B.getLocalizedStrings().vendors.opExByVendor,g=o.opexByVendorConfig?.sortOrSearchInProgress??!1,c=o.opexByVendorConfig?.pageFetchInProgress??!1;if(g===!0)[...Array(10)].forEach((y,x)=>{n.push(re({title:`${x}+${p.loading}`,balances:l,config:o}))});else if(e.opexBalances.length>0){if(!r.searchString){const f=_o({title:B.getLocalizedStrings().chartCard.total,balances:e.totalBalances,config:o,numOfBalances:i});n.push(f)}const y=r.pageToken[r.timeframe],x=e.opexBalances.map((f,d)=>Co({opExByVendor:f,title:f.vendor.name,numOfBalances:i,isLastNode:d===e.opexBalances.length-1&&y==null,config:o}));n.push(...x),c===!0&&[...Array(1)].forEach((f,d)=>{n.push(re({title:`${d}+${p.loading}`,balances:l,config:o}))}),[...Array(1)].forEach((f,d)=>{n.push(qe({title:`${d}+${p.loading}`,balances:[],config:o}))})}return e.opexBalances.length===0&&g!==!0&&n.push(bo({title:B.getLocalizedStrings().vendors.opExByVendor.noResultsFound,balances:l,config:o})),{config:o,headerNodes:s?[m]:[],contentNodes:n}};function So(e,r,o,s=!0){Object.assign(e.config,r);const i=wo(o),l=pe({balances:i,config:r});return{config:r,headerNodes:s?[l]:[],contentNodes:[l,...e.contentNodes.slice(1)]}}const wo=e=>e.totalBalances!=null?[...e.totalBalances.balances,...e.totalBalances.additionalBalances]:[],I={chartHeight:new F(288,360),wrapperPadding:new F(P[3],P[3],P[8]),contentPaddingLeft:new F(P[0],P[0],P[0]),contentPaddingRight:new F(P[3],P[3],P[8])},ko=h.div`
|
|
29
29
|
display: flex;
|
|
30
30
|
flex: 1 1 auto;
|
|
31
31
|
min-height: 100%;
|
|
@@ -97,4 +97,4 @@ import{Q as H,i3 as Ce,F as B,g as q,cc as _e,ay as xe,V as t,bN as Se,aP as we,
|
|
|
97
97
|
`,Ao=h.div`
|
|
98
98
|
width: 100%;
|
|
99
99
|
height: calc(100vh - ${u.sp11});
|
|
100
|
-
`,Lo=({fetchState:e})=>e==="In-Progress"||e==="Not-Started"?t.jsx(Bo,{children:t.jsx(je,{size:"ExtraLarge",start:!0})}):null,fr=({report:e,vendorTabsToShow:r,uiState:o,downloadParams:s,onVendorTabSelectionChanged:
|
|
100
|
+
`,Lo=({fetchState:e})=>e==="In-Progress"||e==="Not-Started"?t.jsx(Bo,{children:t.jsx(je,{size:"ExtraLarge",start:!0})}):null,fr=({report:e,vendorTabsToShow:r,uiState:o,downloadParams:s,onVendorTabSelectionChanged:i,onReloadReport:l,onBackClick:m,onFetchOpExByVendors:n,onAdditionalBalanceSelectionChanged:p,onTimeframeSelectionChanged:g,onSortOrderChanged:c,onSortOrSearchStarted:y,onVendorNameAndBalanceClicked:x,onPageFetchStarted:f,previousTabPosition:d,setPreviousTabPosition:_,updateDownloadStateHandler:S,onClearSearch:v,analytics:O,onClickMenuIcon:z})=>{const[j,E]=C.useState(o.searchString[o.timeframe]),[M,A]=C.useState(!1),w=H(),$=C.useRef(null),K=Ce(r),me=K.length>1,he=B.getLocalizedStrings().reports.common,U=B.getLocalizedStrings().vendors,X=q(),ge=["month","quarter"],ue=e.availableNumberOfPeriods!=null&&e.availableNumberOfPeriods<2,L=o.mode==="compare_mode"&&!ue,W=e.allTimeframeTicks.length===0,{timeframe:T}=o,D=o.searchString[T];_e({componentName:"vendors.opex_by_vendor.list"});const fe=C.useCallback(k=>{n(T,D,k)},[T,D,n]),ye=C.useCallback((k,b)=>{window.scrollTo({top:$.current?.offsetTop,behavior:"smooth"}),k.length>0?(y(!0),n(b,k,!1)):(y(!1),v(b))},[v,n,y]),Q=C.useRef(xe((k,b)=>ye(k,b),500,{trailing:!0})).current,be=(k,b)=>{c(k,b,T),y(!0),n(T,D,!1)};if(C.useEffect(()=>{async function k(){await fo({report:e,isCompareModeOn:L,downloadState:o.downloadState,reportType:"more_detailed",timeframe:o.timeframe,sortKey:o.sortKey[o.timeframe],sortOrder:o.sortOrder[o.timeframe],searchString:o.searchString[T],...s}),O?.trackDownload(R("operating_expenses_by_vendor"),V(o.timeframe),"excel",L),S("Completed")}M&&o.downloadState!=="In-Progress"&&(A(!1),S("In-Progress"),k())},[e,o,L,s,o.downloadState,M]),C.useEffect(()=>{E(D)},[D]),e.fetchState==="Error")return t.jsxs(Po,{children:[t.jsx(Oo,{"data-testid":we("op-ex-by-vendor-reload-page"),onClick:l,children:t.jsx(Se,{})}),t.jsx(To,{children:he.failed})]});const Y=e.totalBalances?.totalBalance;if(o.sortOrSearchInProgress===!1&&o.pageFetchInProgress===!1&&(e.fetchState==="In-Progress"||e.fetchState==="Not-Started"))return t.jsx(Lo,{fetchState:e.fetchState});if((e.fetchState==="Completed"||o.sortOrSearchInProgress===!0||o.pageFetchInProgress===!0)&&e.isReportGenerated===!0){const k=t.jsxs(t.Fragment,{children:[t.jsx(ke,{isSearchOpen:(D?.length??0)>0,searchPlaceHolder:U.common.searchPlaceholder,searchText:j??"",onSearchTextChanged:b=>{E(b),b.trim().length>=2?Q(b,T):b.trim().length==0&&Q("",T)},downloadPresent:!0}),t.jsx(ve,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:W,isDownloading:o.downloadState==="In-Progress"}],onDownloadClick:async b=>{if(b==="excel")if(o.downloadState==="In-Progress"){console.log("Download is already in progress!");return}else A(!0)}}}})]});return t.jsxs(ko,{windowSize:w,children:[t.jsx(Be,{title:U.common.navBarTitle,subTitle:e.lastRefreshSuccessTime!=null?e.lastRefreshSuccessTime.utc(!0).fromNow():"",backgroundColor:X.colors.grey5,onBackClick:m,rightSideComponent:k,showMenuIcon:w==="medium-compact"||w==="small",downloadPresent:!0,onClickMenuIcon:z,source:"OpExByVendorPage"}),t.jsxs(vo,{windowSize:w,children:[me?t.jsx(Pe,{allTabs:K,selectedTab:K[1].id,containerStyle:{borderBottom:`2px solid ${X.colors.grey3}`},onTabChange:b=>i(Oe(b.id)),previousTabPosition:d,setPreviousTabPosition:_}):null,t.jsx(Fo,{timeframes:ge,isCompareModeOn:L,firstMonthOfFY:e.firstMonthOfFY,allTimeframeTicks:e.allTimeframeTicks,selectedTimeframe:o.timeframe,selectedCOABalancesRange:e.filter.balancesRange,onAdditionalBalanceSelectionChanged:p,onTimeframeSelectionChanged:g,mode:o.mode,analytics:O}),Y!=null?t.jsx(Eo,{children:t.jsx(Ge,{balance:Y,dateText:zo(Y)})}):null,t.jsx(Vo,{report:e,isEmptyPeriod:W})]}),t.jsx(Ro,{reference:$,report:e,uiState:o,isEmptyPeriod:W,onAdditionalBalanceSelectionChanged:p,onVendorNameAndBalanceClicked:x,onSortOrderChanged:be,handleFetchOpExByVendor:fe,onPageFetchStarted:f,analytics:O})]})}return t.jsx(t.Fragment,{})},Fo=({timeframes:e,firstMonthOfFY:r,allTimeframeTicks:o,selectedCOABalancesRange:s,selectedTimeframe:i,onTimeframeSelectionChanged:l,onAdditionalBalanceSelectionChanged:m,mode:n,isCompareModeOn:p,analytics:g})=>t.jsx(Do,{children:t.jsxs($o,{children:[t.jsx(jo,{children:t.jsx(Ke,{timeframe:{allowedTimeframes:e,selectedTimeframe:i,onTimeframeSelectionChanged:c=>{g?.trackTimeframeSwitch(V(c),R("operating_expenses_by_vendor")),(c==="month"||c==="quarter")&&l(c),n==="compare_mode"&&!p&&m(p,p?["this_period_vs_last_period_percent"]:[])}},toggle:{label:B.getLocalizedStrings().compareSwitchLabel,isOn:p,isToggleDisabled:!1,onValueChanged:c=>{g?.trackCompareMode(c,R("operating_expenses_by_vendor"),V(i)),m(c,c?["this_period_vs_last_period_percent"]:[])}}})}),t.jsx(ze,{firstMonthOfFY:r,timeframe:i,timeframeTicks:o,selection:{selectedTicks:oe(o,s),highlightedOfSelectedTicks:oe(o,s)}})]})}),Vo=({isEmptyPeriod:e,report:r})=>{const o=H();return e?t.jsx(Io,{children:t.jsx(We,{title:B.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(No,{windowSize:o,children:t.jsx(ie,{children:({height:s,width:i})=>t.jsx(mo,{selectedRangeReport:r,width:i,height:s,isDetailPage:!0,showBarHoverBackground:!1})})})},Ro=({report:e,uiState:r,isEmptyPeriod:o,reference:s,onAdditionalBalanceSelectionChanged:i,onTableScroll:l,onSortOrderChanged:m,onVendorNameAndBalanceClicked:n,handleFetchOpExByVendor:p,onPageFetchStarted:g,analytics:c})=>{const y=r.mode==="compare_mode",x=w=>{c?.trackCompareFilterChange(w==="compare_mode_percent"?"percentage":"amount",R("operating_expenses_by_vendor"),V(r.timeframe),"dropdown"),i(y,[w==="compare_mode_percent"?"this_period_vs_last_period_percent":"this_period_vs_last_period"])},f=r.selectedAdditionalBalances.includes("this_period_vs_last_period_percent")?"compare_mode_percent":"compare_mode_amount",[d,_]=C.useState(void 0),[S,v]=C.useState(void 0),O=H(),z=q(),j=!(O==="small"||O==="medium-compact");C.useEffect(()=>{const w={reportId:e.reportId,mode:r.mode==="compare_mode"?"this_period_vs_period_before":"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",showNegativeAmountInParenthesis:Ee(),dataAvailable:e.dataAvailable,opexByVendorConfig:{sortKey:r.sortKey[r.timeframe],sortOrder:r.sortOrder[r.timeframe],isCompareModeOn:r.mode==="compare_mode",isAccountColumnShown:!0,isClassColumnShown:!0,onSortOrderChanged:m,sortOrSearchInProgress:r.sortOrSearchInProgress,pageFetchInProgress:r.pageFetchInProgress,onVendorNameAndBalanceClicked:n}};if(d==null||!le(S,e)){const $=xo(e,r,w,j);v(e),_($)}else{const $=So(d,w,e,j);_($)}},[r.mode,e]);const E=w=>w<e.opexBalances.length,M=()=>{r.pageToken[r.timeframe]!=null&&e.fetchState==="Completed"&&(g(),p(!0))},A=e.opexBalances.length;return t.jsx(Mo,{windowSize:O,ref:s,children:o?t.jsx(Ye,{}):d!=null?t.jsx(Ao,{children:t.jsx(He,{backgroundColor:new $e(z.colors.grey4),rootNodes:d,type:"name+balances_actual",compareMode:f,isSticky:{isStickyHeader:j,isStickyName:j},treeNodePadding:{left:I.contentPaddingLeft.value(O),right:I.contentPaddingRight.value(O)},nodeOpenStatus:{},scrollPosition:r.scrollPosition,onCompareModeChanged:x,onScroll:l,infiniteLoadingProps:{isItemLoaded:E,itemCount:A,loadMoreItems:M}})}):null})},zo=e=>{const r=e.startDate,o=e.endDate,{vendors:s,dateFormat:i}=B.getLocalizedStrings();return`${s.opExByVendor.in} ${r.format(i.visual.MMMYYFormat)} - ${o.format(i.visual.MMMYYFormat)}`};export{fr as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as i,V as n}from"./index-
|
|
1
|
+
import{g as i,V as n}from"./index-WEj6FS32.js";import{n as r}from"./mui-BTtN6lbG.js";import"./sentry-B0WgNUxa.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./zeni-epic-state-DnAAAEmj.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="4287935d-72c3-497c-b16c-fca5b815d591",e._sentryDebugIdIdentifier="sentry-dbid-4287935d-72c3-497c-b16c-fca5b815d591")}catch{}})();const d=r.div`
|
|
2
2
|
display: ${({isOpen:e})=>e?"block":"none"};
|
|
3
3
|
position: fixed;
|
|
4
4
|
top: 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as o,G as A,g as I,
|
|
1
|
+
import{V as o,G as A,g as I,J as v,bB as ne,F as c,r as re,aP as F,T as ie,b as ae,y as W,o as s,cc as ce,aD as le,aV as de,M as ge,cC as pe,by as me,u as $,cD as he,aT as fe,aU as ue,ba as xe,bK as we}from"./index-WEj6FS32.js";import{a as N}from"./sentry-B0WgNUxa.js";import{n as r}from"./mui-BTtN6lbG.js";import{R as Se}from"./NavBarWithPicker-BAKrtv3g-BXBcsUFZ.js";import{m as je}from"./analyticsHelper-CzevEN9D-BUYGstD0.js";import{M as be}from"./TimeframeSwitcherWithToggle-f92qNjEk-CshyNxhp.js";import{I as ye,a as $e}from"./CollapsableReportTable-DUo-9gOh-B_gwOhYJ.js";import{M as E}from"./usp-line-BBd1wKwW-ZROsAmzr.js";import{F1 as Ce,F2 as Pe}from"./zeni-epic-state-DnAAAEmj.js";import{D as ke,T as ze,C as ve}from"./mapSectionWithAcOnlyToTreeNode-BCmFQbuz-BJl1ilV_.js";import{s as H}from"./mapTimeframeBalancesToTreeNode-CR-gDA51-Dr9tcN9g.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";import"./TimeframeSwitcher-BYXKRKtc-BTNUudrw.js";import"./AccountRow-B9ZIzZy7-C9nPv4rY.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ca439033-2d05-4298-be57-07ed5f974060",e._sentryDebugIdIdentifier="sentry-dbid-ca439033-2d05-4298-be57-07ed5f974060")}catch{}})();const Y="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual.png",q="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual-dark.png",Te=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
min-height: 100%;
|
|
@@ -17,7 +17,7 @@ import{V as o,G as A,g as I,Q as v,bB as ne,F as c,r as re,aP as F,T as ae,b as
|
|
|
17
17
|
margin: auto;
|
|
18
18
|
padding: ${s.sp5} ${s.sp0};
|
|
19
19
|
color: ${e=>e.theme.colors.primary};
|
|
20
|
-
`,
|
|
20
|
+
`,J=r.div`
|
|
21
21
|
display: flex;
|
|
22
22
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
23
23
|
align-items: center;
|
|
@@ -27,12 +27,12 @@ import{V as o,G as A,g as I,Q as v,bB as ne,F as c,r as re,aP as F,T as ae,b as
|
|
|
27
27
|
width: ${e=>e.windowSize==="small"?"auto":"408px"};
|
|
28
28
|
display: flex;
|
|
29
29
|
flex-direction: column;
|
|
30
|
-
`,
|
|
30
|
+
`,X=r.div`
|
|
31
31
|
width: ${e=>e.windowSize==="small"?"100%":"calc(100% - 408px)"};
|
|
32
32
|
overflow: hidden;
|
|
33
33
|
max-width: 712px;
|
|
34
34
|
display: flex;
|
|
35
|
-
`,
|
|
35
|
+
`,Q=r.div`
|
|
36
36
|
margin-left: ${e=>e.windowSize==="small"?s.sp0:s.sp6};
|
|
37
37
|
margin-bottom: ${e=>e.windowSize==="small"?s.sp4:s.sp0};
|
|
38
38
|
background: ${e=>e.theme.colors.background};
|
|
@@ -70,7 +70,7 @@ import{V as o,G as A,g as I,Q as v,bB as ne,F as c,r as re,aP as F,T as ae,b as
|
|
|
70
70
|
margin: ${s.sp3} auto;
|
|
71
71
|
max-width: 422px;
|
|
72
72
|
color: ${e=>e.theme.colors.hero};
|
|
73
|
-
`,Ne=()=>{const e=I(),t=v();return o.jsxs(
|
|
73
|
+
`,Ne=()=>{const e=I(),t=v();return o.jsxs(J,{windowSize:t,children:[o.jsx(X,{windowSize:t,children:o.jsx(Q,{windowSize:t,children:e.mode==="dark"?o.jsx("img",{src:q,alt:"forecast-promo",style:{width:"100%",height:"auto"}}):o.jsx("img",{src:Y,alt:"forecast-promo",style:{width:"100%",height:"auto"}})})}),o.jsxs(K,{windowSize:t,children:[o.jsxs(C,{windowSize:t,children:[o.jsx(P,{children:o.jsx(Z,{})}),o.jsxs(k,{children:[o.jsx(V,{children:c.getLocalizedStrings().forecastPromoPage.accuratelyText.bold}),o.jsx(O,{children:c.getLocalizedStrings().forecastPromoPage.accuratelyText.regular})]})]}),o.jsxs(C,{windowSize:t,children:[o.jsx(P,{children:o.jsx(ee,{})}),o.jsxs(k,{children:[o.jsx(V,{children:c.getLocalizedStrings().forecastPromoPage.trackText.bold}),o.jsx(O,{children:c.getLocalizedStrings().forecastPromoPage.trackText.regular})]})]}),o.jsxs(C,{windowSize:t,children:[o.jsx(P,{children:o.jsx(oe,{})}),o.jsxs(k,{children:[o.jsx(V,{children:c.getLocalizedStrings().forecastPromoPage.preciseText.bold}),o.jsx(O,{children:c.getLocalizedStrings().forecastPromoPage.preciseText.regular})]})]})]})]})},_e=()=>{const e=I(),t=v();return o.jsxs(J,{windowSize:t,children:[o.jsxs(K,{windowSize:t,children:[o.jsxs(C,{windowSize:t,style:{width:"408px"},children:[o.jsx(P,{children:o.jsx(Z,{})}),o.jsxs(k,{children:[o.jsx(B,{children:c.getLocalizedStrings().forecastPromoPage.accuratelyText.bold}),o.jsx(_,{children:c.getLocalizedStrings().forecastPromoPage.accuratelyText.regular})]})]}),o.jsxs(C,{windowSize:t,style:{width:"275px",alignSelf:"end"},children:[o.jsx(P,{children:o.jsx(ee,{})}),o.jsxs(k,{children:[o.jsx(B,{children:c.getLocalizedStrings().forecastPromoPage.trackText.bold}),o.jsx(_,{children:c.getLocalizedStrings().forecastPromoPage.trackText.regular})]})]}),o.jsxs(C,{windowSize:t,style:{width:"408px"},children:[o.jsx(P,{children:o.jsx(oe,{})}),o.jsxs(k,{children:[o.jsx(B,{children:c.getLocalizedStrings().forecastPromoPage.preciseText.bold}),o.jsx(_,{children:c.getLocalizedStrings().forecastPromoPage.preciseText.regular})]})]})]}),o.jsx(X,{windowSize:t,children:o.jsx(Q,{windowSize:t,children:e.mode==="dark"?o.jsx("img",{src:q,alt:"forecast-promo",style:{width:"640px",height:"402px"}}):o.jsx("img",{src:Y,alt:"forecast-promo",style:{width:"640px",height:"402px"}})})})]})},Be=({meetingUrl:e,onBackClick:t,onClickMenuIcon:n})=>{const a=I(),l=v(),d=()=>{window.open(e.toString(),"_blank")};return o.jsxs(Te,{"data-testid":F("forecast-promo-page"),children:[o.jsx(ne,{title:c.getLocalizedStrings().forecastPromoPage.title,backgroundColor:a.colors.grey4,onBackClick:t,showMenuIcon:l==="medium-compact"||l==="small",onClickMenuIcon:n,source:"ForecastPromoPage"}),o.jsxs(Le,{"data-testid":F("forecast-promo-container"),windowSize:l,children:[l==="small"?o.jsx(Me,{children:c.getLocalizedStrings().forecastPromoPage.promoText}):o.jsx(Ie,{children:c.getLocalizedStrings().forecastPromoPage.promoText}),l==="small"?o.jsx(Ne,{}):o.jsx(_e,{}),o.jsxs(Ae,{"data-testid":F("forecast-promo-bottom-container"),children:[o.jsx(re,{variant:"primary",label:c.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:d}),o.jsx(Fe,{children:c.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]})]})};function Oe(e,t,n=!0){const a=c.getLocalizedStrings().reports,l=e.filter.balancesRange.numberOfPeriods,d=e.sections.expenses!=null&&e.sections.expenses.balances.length>0?e.sections.expenses.balances:e.sections.income!=null?e.sections.income.balances:[],m=H({balances:d,config:t}),p=[];return p.push(m),e.idsInOrder.forEach(i=>{if(Ce(i)===!0){const u=e.sections[i];if(u==null)return;u.accountGroups.length>0?p.push(ke({section:e.sections[i],sectionType:i,numOfBalances:l,title:a.sections[i],isLastNode:!0,config:t})):p.push(ze({sectionWithAcOnly:e.sections[i],sectionType:i,numOfBalances:l,title:a.sections[i],isLastNode:!0,config:t}))}else Pe(i)===!0&&p.push(ve({calculatedSection:e.calculatedSections[i],numOfBalances:l,title:a.sections[i],isLastNode:!0,config:t}))}),{config:t,headerNodes:n?[m]:[],contentNodes:p}}function Ve(e,t,n,a=!0){Object.assign(e.config,t);const l=n.sections.expenses.balances.length>0?[...n.sections.expenses.balances,...n.sections.expenses.additionalBalances]:[...n.sections.income.balances,...n.sections.income.additionalBalances],d=H({balances:l,config:t,nodeId:e.contentNodes[0].id}),m=e.contentNodes.slice(1);return m.forEach(p=>te(p,t)),{config:t,headerNodes:a?[d]:[],contentNodes:[d,...m]}}function te(e,t){Object.assign(e.reportElementData.config,t),e.children.forEach(n=>te(n,t))}const L={contentPaddingLeft:new W($[3],$[3],$[8]),contentPaddingRight:new W($[3],$[3],$[8])},Ee=r.div`
|
|
74
74
|
display: flex;
|
|
75
75
|
flex: 1 1 auto;
|
|
76
76
|
min-height: 100%;
|
|
@@ -92,7 +92,7 @@ import{V as o,G as A,g as I,Q as v,bB as ne,F as c,r as re,aP as F,T as ae,b as
|
|
|
92
92
|
justify-content: center;
|
|
93
93
|
align-items: center;
|
|
94
94
|
background-color: ${e=>e.theme.colors.grey4};
|
|
95
|
-
`,U=({fetchState:e})=>e==="In-Progress"||e==="Not-Started"?o.jsx(De,{children:o.jsx(
|
|
95
|
+
`,U=({fetchState:e})=>e==="In-Progress"||e==="Not-Started"?o.jsx(De,{children:o.jsx(ie,{size:"ExtraLarge",start:!0})}):null,We=r.div`
|
|
96
96
|
display: flex;
|
|
97
97
|
width: 100%;
|
|
98
98
|
flex-direction: column;
|
|
@@ -104,4 +104,4 @@ import{V as o,G as A,g as I,Q as v,bB as ne,F as c,r as re,aP as F,T as ae,b as
|
|
|
104
104
|
align-items: center;
|
|
105
105
|
justify-content: center;
|
|
106
106
|
margin-bottom: ${s.sp3};
|
|
107
|
-
`,Ge=({forecastList:e,selectedForecastIndex:t,onForecastSelectionChanged:n,vsActualOn:
|
|
107
|
+
`,Ge=({forecastList:e,selectedForecastIndex:t,onForecastSelectionChanged:n,vsActualOn:a,onVsActualChanged:l,selectedTimeframe:d,onTimeframeChanged:m,onBackClick:p,isPandLReportFetching:i,onClickMenuIcon:u})=>{const h=v(),f=[];for(let g=0;g<e.length;++g)f.push(`${g}`);const x={backgroundColor:"transparent",picker:{backgroundColor:"transparent",pickerValues:f,valueToLabel:g=>e[parseInt(g)]?.name??"",selectedValue:`${t}`,titleTextStyle:ae.largeMedium,onPickerSelectionChanged:g=>{if(g!=null){const z=e[parseInt(g)];n?.(z.id,parseInt(g))}},styles:{justifyContent:h==="small"?"left":"center"},isPickerDisabled:i},onBackClick:p,showMenuIcon:h==="medium-compact"||h==="small",onClickMenuIcon:u},b={toggle:{label:c.getLocalizedStrings().reports.forecast.vsActual,isOn:a,onValueChanged:l},timeframe:{allowedTimeframes:["month","quarter","year"],selectedTimeframe:d,onTimeframeSelectionChanged:g=>m?.(g)}};return o.jsxs(We,{paddingLeft:L.contentPaddingLeft.value(h),paddingRight:L.contentPaddingRight.value(h),children:[o.jsx(Se,{...x}),i?"":o.jsx(Ue,{children:o.jsx(be,{...b})})]})},He=({report:e,type:t,isActualVsForecastOn:n,compareMode:a,onAccountBalanceClick:l,onCompareModeChanged:d,scrollPosition:m,onTableScroll:p,nodeOpenStatus:i,onNodeCollapseToggled:u})=>{const h=I(),f=v(),[x,b]=N.useState(void 0),[g,z]=N.useState(void 0),y=!(f==="small"||f==="medium-compact"),M=n===!0?"actual_vs_forecast":"none",T=`forecast.${e.reportId}`;return ce({componentName:T,enabled:e.fetchState==="Completed"}),N.useEffect(()=>{const S={reportId:`${e.reportId}+${e.forecast?.id}`,displayOrder:"ascending_date",reportFormat:"more_detailed",mode:M,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:$e(t)===!0&&n===!1?"filter_forecast_nil_balances":"filter_actual_forecast_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:we()};if(x==null||!le(g,e)){const w=Oe(e,S,y);z(e),b(w)}else{const w=Ve(x,S,e,y);b(w)}},[t,n,e]),x!=null?o.jsx(ye,{backgroundColor:new de(h.colors.grey4),rootNodes:x,type:t,compareMode:a,isSticky:{isStickyHeader:y,isStickyName:y},treeNodePadding:{left:L.contentPaddingLeft.value(f),right:L.contentPaddingRight.value(f)},onAccountClick:l==null?void 0:(S,w)=>{l(S,w)},onCompareModeChanged:d,scrollPosition:m,onScroll:p,nodeOpenStatus:i,onNodeCollapseToggled:u}):null};function uo({selectedTimeframe:e,isForecastVsActualOn:t,compareMode:n,forecastList:a,selectedForecast:l,pandLreport:d,type:m,meetingUrl:p,analytics:i,onForecastSelectionChanged:u,onTimeframeChanged:h,onForecastVsActualsCompareToggle:f,onAccountBalanceClick:x,onCompareModeChanged:b,scrollPosition:g,onTableScroll:z,nodeOpenStatus:y,onNodeCollapseToggled:M,onBackClick:T,onClickMenuIcon:S}){const w=[a.fetchState,d.fetchState],R=l?.index??-1;return se(w)===!0||a.fetchState==="Completed"&&a.forecasts.length===0?o.jsx(Be,{meetingUrl:p,onBackClick:T,onClickMenuIcon:S}):G([a.fetchState])===!0?o.jsx(U,{fetchState:qe(w)}):o.jsxs(Ee,{children:[o.jsx(Ge,{forecastList:a.forecasts,selectedForecastIndex:R,onForecastSelectionChanged:(j,D)=>{i?.trackForecastSwitch(A.Event.profitAndLossWithForecast,a.forecasts[D].name),u?.(j,D)},vsActualOn:t,onVsActualChanged:j=>{i?.trackForecastVsActualMode(A.Event.profitAndLossWithForecast,a.forecasts[R].name,j),f?.(j)},selectedTimeframe:e,onTimeframeChanged:j=>{i?.trackTimeframeSwitch(je(j),A.Event.profitAndLossWithForecast),h?.(j)},onBackClick:T,isPandLReportFetching:G([d.fetchState]),onClickMenuIcon:S}),d.fetchState==="In-Progress"?o.jsx(U,{fetchState:"In-Progress"}):o.jsx(Re,{children:o.jsx(He,{report:d,type:m,isActualVsForecastOn:t,compareMode:n,onAccountBalanceClick:x,onCompareModeChanged:b,scrollPosition:g,onTableScroll:z,nodeOpenStatus:y,onNodeCollapseToggled:M})})]})}const Ye=e=>e.reduce((t,n)=>t===!0&&n==="Completed",!0),se=e=>e.reduce((t,n)=>t===!0||n==="Error",!1),G=e=>e.reduce((t,n)=>t===!0||n==="Not-Started"||n==="In-Progress",!1),qe=e=>Ye(e)===!0?"Completed":se(e)===!0?"Error":"In-Progress";export{uo as default,G as isAnyInProgress};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import{B as ue,aQ as Ne,b as ee,o as u,p as q,
|
|
2
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var k=function(e,r,n){var o=!!n,i=l.useRef(n);l.useEffect(function(){i.current=n},[n]),l.useEffect(function(){if(!o||!e)return function(){};var c=function(){i.current&&i.current.apply(i,arguments)};return e.on(r,c),function(){e.off(r,c)}},[o,r,e,i])},ie=function(e){var r=l.useRef(e);return l.useEffect(function(){r.current=e},[e]),r.current},H=function(e){return e!==null&&te(e)==="object"},tt=function(e){return H(e)&&typeof e.then=="function"},rt=function(e){return H(e)&&typeof e.elements=="function"&&typeof e.createToken=="function"&&typeof e.createPaymentMethod=="function"&&typeof e.confirmCardPayment=="function"},he="[object Object]",nt=function t(e,r){if(!H(e)||!H(r))return e===r;var n=Array.isArray(e),o=Array.isArray(r);if(n!==o)return!1;var i=Object.prototype.toString.call(e)===he,c=Object.prototype.toString.call(r)===he;if(i!==c)return!1;if(!i&&!n)return e===r;var p=Object.keys(e),a=Object.keys(r);if(p.length!==a.length)return!1;for(var h={},f=0;f<p.length;f+=1)h[p[f]]=!0;for(var
|
|
1
|
+
import{B as ue,aQ as Ne,b as ee,o as u,p as q,J as ce,V as s,bR as Ue,g as je,cI as Me,aV as ne,F as ke,y as oe,bw as Ve,bU as Fe,al as Ae,aR as qe,ae as de,u as He,gT as Je,am as Ke,a as Ge}from"./index-WEj6FS32.js";import{P as l,a as L}from"./sentry-B0WgNUxa.js";import{n as y}from"./mui-BTtN6lbG.js";import{P as d}from"./core-CIefpDlV.js";import{n as ae}from"./commonTypes-Q1WP-Ym3-Cmq2uCPt.js";import{F as Ye}from"./SetUpAccountSection-Mm8JelXc-DJkSxyLc.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="5fd8bdb7-7ed9-4850-816f-d42415a7f83b",t._sentryDebugIdIdentifier="sentry-dbid-5fd8bdb7-7ed9-4850-816f-d42415a7f83b")}catch{}})();function pe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),r.push.apply(r,n)}return r}function fe(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?pe(Object(r),!0).forEach(function(n){Ie(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):pe(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function te(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?te=function(e){return typeof e}:te=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},te(t)}function Ie(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function $e(t,e){return Ze(t)||Qe(t,e)||Xe(t,e)||et()}function Ze(t){if(Array.isArray(t))return t}function Qe(t,e){var r=t&&(typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"]);if(r!=null){var n=[],o=!0,i=!1,c,p;try{for(r=r.call(t);!(o=(c=r.next()).done)&&(n.push(c.value),!(e&&n.length===e));o=!0);}catch(a){i=!0,p=a}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw p}}return n}}function Xe(t,e){if(t){if(typeof t=="string")return me(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return me(t,e)}}function me(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function et(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var k=function(e,r,n){var o=!!n,i=l.useRef(n);l.useEffect(function(){i.current=n},[n]),l.useEffect(function(){if(!o||!e)return function(){};var c=function(){i.current&&i.current.apply(i,arguments)};return e.on(r,c),function(){e.off(r,c)}},[o,r,e,i])},ie=function(e){var r=l.useRef(e);return l.useEffect(function(){r.current=e},[e]),r.current},H=function(e){return e!==null&&te(e)==="object"},tt=function(e){return H(e)&&typeof e.then=="function"},rt=function(e){return H(e)&&typeof e.elements=="function"&&typeof e.createToken=="function"&&typeof e.createPaymentMethod=="function"&&typeof e.confirmCardPayment=="function"},he="[object Object]",nt=function t(e,r){if(!H(e)||!H(r))return e===r;var n=Array.isArray(e),o=Array.isArray(r);if(n!==o)return!1;var i=Object.prototype.toString.call(e)===he,c=Object.prototype.toString.call(r)===he;if(i!==c)return!1;if(!i&&!n)return e===r;var p=Object.keys(e),a=Object.keys(r);if(p.length!==a.length)return!1;for(var h={},f=0;f<p.length;f+=1)h[p[f]]=!0;for(var b=0;b<a.length;b+=1)h[a[b]]=!0;var m=Object.keys(h);if(m.length!==p.length)return!1;var w=e,x=r,S=function(I){return t(w[I],x[I])};return m.every(S)},Oe=function(e,r,n){return H(e)?Object.keys(e).reduce(function(o,i){var c=!H(r)||!nt(e[i],r[i]);return n.includes(i)?(c&&console.warn("Unsupported prop change: options.".concat(i," is not a mutable property.")),o):c?fe(fe({},o||{}),{},Ie({},i,e[i])):o},null):null},Le="Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.",ge=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Le;if(e===null||rt(e))return e;throw new Error(r)},ot=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Le;if(tt(e))return{tag:"async",stripePromise:Promise.resolve(e).then(function(o){return ge(o,r)})};var n=ge(e,r);return n===null?{tag:"empty"}:{tag:"sync",stripe:n}},at=function(e){!e||!e._registerWrapper||!e.registerAppInfo||(e._registerWrapper({name:"react-stripe-js",version:"2.7.3"}),e.registerAppInfo({name:"react-stripe-js",version:"2.7.3",url:"https://stripe.com/docs/stripe-js/react"}))},re=l.createContext(null);re.displayName="ElementsContext";var Re=function(e,r){if(!e)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(r," in an <Elements> provider."));return e},Te=function(e){var r=e.stripe,n=e.options,o=e.children,i=l.useMemo(function(){return ot(r)},[r]),c=l.useState(function(){return{stripe:i.tag==="sync"?i.stripe:null,elements:i.tag==="sync"?i.stripe.elements(n):null}}),p=$e(c,2),a=p[0],h=p[1];l.useEffect(function(){var m=!0,w=function(S){h(function(E){return E.stripe?E:{stripe:S,elements:S.elements(n)}})};return i.tag==="async"&&!a.stripe?i.stripePromise.then(function(x){x&&m&&w(x)}):i.tag==="sync"&&!a.stripe&&w(i.stripe),function(){m=!1}},[i,a,n]);var f=ie(r);l.useEffect(function(){f!==null&&f!==r&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it.")},[f,r]);var b=ie(n);return l.useEffect(function(){if(a.elements){var m=Oe(n,b,["clientSecret","fonts"]);m&&a.elements.update(m)}},[n,b,a.elements]),l.useEffect(function(){at(a.stripe)},[a.stripe]),l.createElement(re.Provider,{value:a},o)};Te.propTypes={stripe:d.any,options:d.object};var it=function(e){var r=l.useContext(re);return Re(r,e)},st=function(){var e=it("calls useElements()"),r=e.elements;return r};d.func.isRequired;var _e=l.createContext(null);_e.displayName="CustomCheckoutSdkContext";var ct=function(e,r){if(!e)throw new Error("Could not find CustomCheckoutProvider context; You need to wrap the part of your app that ".concat(r," in an <CustomCheckoutProvider> provider."));return e},lt=l.createContext(null);lt.displayName="CustomCheckoutContext";d.any,d.shape({clientSecret:d.string.isRequired,elementsOptions:d.object}).isRequired;var se=function(e){var r=l.useContext(_e),n=l.useContext(re);if(r&&n)throw new Error("You cannot wrap the part of your app that ".concat(e," in both <CustomCheckoutProvider> and <Elements> providers."));return r?ct(r,e):Re(n,e)},ut=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},v=function(e,r){var n="".concat(ut(e),"Element"),o=function(a){var h=a.id,f=a.className,b=a.options,m=b===void 0?{}:b,w=a.onBlur,x=a.onFocus,S=a.onReady,E=a.onChange,I=a.onEscape,U=a.onClick,M=a.onLoadError,V=a.onLoaderStart,D=a.onNetworksChange,$=a.onConfirm,J=a.onCancel,B=a.onShippingAddressChange,N=a.onShippingRateChange,R=se("mounts <".concat(n,">")),_="elements"in R?R.elements:null,P="customCheckoutSdk"in R?R.customCheckoutSdk:null,T=l.useState(null),z=$e(T,2),g=z[0],W=z[1],j=l.useRef(null),F=l.useRef(null);k(g,"blur",w),k(g,"focus",x),k(g,"escape",I),k(g,"click",U),k(g,"loaderror",M),k(g,"loaderstart",V),k(g,"networkschange",D),k(g,"confirm",$),k(g,"cancel",J),k(g,"shippingaddresschange",B),k(g,"shippingratechange",N),k(g,"change",E);var K;S&&(e==="expressCheckout"?K=S:K=function(){S(g)}),k(g,"ready",K),l.useLayoutEffect(function(){if(j.current===null&&F.current!==null&&(_||P)){var O=null;P?O=P.createElement(e,m):_&&(O=_.create(e,m)),j.current=O,W(O),O&&O.mount(F.current)}},[_,P,m]);var le=ie(m);return l.useEffect(function(){if(j.current){var O=Oe(m,le,["paymentRequest"]);O&&j.current.update(O)}},[m,le]),l.useLayoutEffect(function(){return function(){if(j.current&&typeof j.current.destroy=="function")try{j.current.destroy(),j.current=null}catch{}}},[]),l.createElement("div",{id:h,className:f,ref:F})},i=function(a){se("mounts <".concat(n,">"));var h=a.id,f=a.className;return l.createElement("div",{id:h,className:f})},c=r?i:o;return c.propTypes={id:d.string,className:d.string,onChange:d.func,onBlur:d.func,onFocus:d.func,onReady:d.func,onEscape:d.func,onClick:d.func,onLoadError:d.func,onLoaderStart:d.func,onNetworksChange:d.func,onConfirm:d.func,onCancel:d.func,onShippingAddressChange:d.func,onShippingRateChange:d.func,options:d.object},c.displayName=n,c.__elementType=e,c},C=typeof window>"u",dt=l.createContext(null);dt.displayName="EmbeddedCheckoutProviderContext";var pt=function(){var e=se("calls useStripe()"),r=e.stripe;return r};v("auBankAccount",C);v("card",C);var ye=v("cardNumber",C),Se=v("cardExpiry",C),ve=v("cardCvc",C);v("fpxBank",C);v("iban",C);v("idealBank",C);v("p24Bank",C);v("epsBank",C);v("payment",C);v("expressCheckout",C);v("paymentRequestButton",C);v("linkAuthentication",C);v("address",C);v("shippingAddress",C);v("paymentMethodMessaging",C);v("affirmMessage",C);v("afterpayClearpayMessage",C);var ze="https://js.stripe.com/v3",ft=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/;var mt=function(){for(var e=document.querySelectorAll('script[src^="'.concat(ze,'"]')),r=0;r<e.length;r++){var n=e[r];if(ft.test(n.src))return n}return null},Ce=function(e){var r="",n=document.createElement("script");n.src="".concat(ze).concat(r);var o=document.head||document.body;if(!o)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return o.appendChild(n),n},ht=function(e,r){!e||!e._registerWrapper||e._registerWrapper({name:"stripe-js",version:"4.3.0",startTime:r})},G=null,Q=null,X=null,gt=function(e){return function(){e(new Error("Failed to load Stripe.js"))}},yt=function(e,r){return function(){window.Stripe?e(window.Stripe):r(new Error("Stripe.js not available"))}},St=function(e){return G!==null?G:(G=new Promise(function(r,n){if(typeof window>"u"||typeof document>"u"){r(null);return}if(window.Stripe){r(window.Stripe);return}try{var o=mt();if(!(o&&e)){if(!o)o=Ce(e);else if(o&&X!==null&&Q!==null){var i;o.removeEventListener("load",X),o.removeEventListener("error",Q),(i=o.parentNode)===null||i===void 0||i.removeChild(o),o=Ce(e)}}X=yt(r,n),Q=gt(n),o.addEventListener("load",X),o.addEventListener("error",Q)}catch(c){n(c);return}}),G.catch(function(r){return G=null,Promise.reject(r)}))},vt=function(e,r,n){if(e===null)return null;var o=e.apply(void 0,r);return ht(o,n),o},Y,We=!1,De=function(){return Y||(Y=St(null).catch(function(e){return Y=null,Promise.reject(e)}),Y)};Promise.resolve().then(function(){return De()}).catch(function(t){We||console.warn(t)});var Ct=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];We=!0;var o=Date.now();return De().then(function(i){return vt(i,r,o)})};const bt={containerHeight:new oe(656,720)},xt=y.div`
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
5
5
|
gap: 20px;
|
|
@@ -24,7 +24,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
24
24
|
flex-direction: row;
|
|
25
25
|
align-items: flex-start;
|
|
26
26
|
justify-content: center;
|
|
27
|
-
max-height: ${t=>
|
|
27
|
+
max-height: ${t=>bt.containerHeight.valuePx(t.windowSize)};
|
|
28
28
|
width: ${t=>t.windowSize==="small"?"90%":"544px"};
|
|
29
29
|
|
|
30
30
|
.InputContainer input {
|
|
@@ -71,7 +71,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
71
71
|
flex-direction: column;
|
|
72
72
|
align-items: flex-start;
|
|
73
73
|
height: ${u.sp8};
|
|
74
|
-
`,
|
|
74
|
+
`,be=y.span`
|
|
75
75
|
height: ${u.sp8};
|
|
76
76
|
display: none;
|
|
77
77
|
`,Be=y(Ae)`
|
|
@@ -82,17 +82,17 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
82
82
|
color: ${q.important};
|
|
83
83
|
width: 434px;
|
|
84
84
|
text-align: center;
|
|
85
|
-
`,{cardPayment:A,common:{footer:
|
|
85
|
+
`,{cardPayment:A,common:{footer:xe}}=ke.getLocalizedStrings(),Tt=y(Ke)`
|
|
86
86
|
color: ${t=>t.theme.colors.hero};
|
|
87
87
|
text-align: center;
|
|
88
88
|
margin-top: ${u.sp2};
|
|
89
|
-
`,we=t=>`${t}_form`,Pe="CardPaymentPaymentForm",_t=({cardPaymentView:t,clientSecret:e,cardSetupInProgress:r,handleConfirmCardSetupIntent:n,updateCardPaymentModalState:o,handleAddCardPaymentSource:i,setCardSetupInProgress:c})=>{const p=pt(),a=st(),[h,f]=L.useState(!1),[
|
|
89
|
+
`,we=t=>`${t}_form`,Pe="CardPaymentPaymentForm",_t=({cardPaymentView:t,clientSecret:e,cardSetupInProgress:r,handleConfirmCardSetupIntent:n,updateCardPaymentModalState:o,handleAddCardPaymentSource:i,setCardSetupInProgress:c})=>{const p=pt(),a=st(),[h,f]=L.useState(!1),[b,m]=L.useState(!1),[w,x]=L.useState(!1),[S,E]=L.useState(!1),I=ce(),U=t.cardSetupConfirmStatus.fetchState,M=t.addCardPaymentSourceStatus.fetchState,V=t.cardSetupIntentStatus.fetchState,[D,$]=L.useState(!1),J=async P=>{if(P.preventDefault(),!p||!a)return;const T=a.getElement(ye),z=a.getElement(Se),g=a.getElement(ve);(!T||!z||!g)&&$(!0),E(!0),c(!0),T!=null&&z!=null&&g!=null&&p.confirmCardSetup(e,{payment_method:{card:T}}).then(W=>{E(!1),n(W),W.setupIntent?.id!=null&&i("card","payment_intent",W.setupIntent?.id)}).catch(()=>{E(!1),setTimeout(()=>{c(!1)},2e3)})},B=je(),N={showIcon:!0,style:{base:{...ee.standardRegular.cssObject,color:B.colors.primary,"::placeholder":{color:B.colors.grey2}},invalid:{color:q.important,iconColor:q.important}}},R=U==="In-Progress"||M==="In-Progress"||V==="In-Progress"||S===!0||r===!0,_=h||b||w||U==="In-Progress"||M==="In-Progress"||V==="In-Progress"||S===!0||r===!0;return s.jsx(jt,{windowSize:I,children:s.jsxs(wt,{onSubmit:J,id:we(Pe),children:[s.jsxs(It,{children:[s.jsx($t,{children:s.jsx(Ot,{children:s.jsx(ye,{options:N,onChange:P=>f(!!P.error)})})}),s.jsx(Lt,{children:s.jsxs(kt,{children:[s.jsx(be,{children:A.cardNumber}),s.jsx(Se,{options:N,onChange:P=>m(!!P.error)})]})}),s.jsx(Rt,{children:s.jsxs(At,{children:[s.jsx(be,{children:A.CVC}),s.jsx(ve,{options:N,onChange:P=>x(!!P.error)})]})})]}),t.cardSetupConfirmStatus.error||D?s.jsx(Be,{children:A.errorMsg}):null,s.jsx(qe,{style:{width:"100%",padding:`${u.sp3} 0 0 0`,borderTop:"none",position:"inherit"},formId:we(Pe),primaryBtn:{label:xe.linkCard,style:{width:"104px",height:u.sp6},isLoading:R,isDisabled:_,type:"submit"},cancelBtn:{label:xe.cancel,style:{width:"104px",height:u.sp6},onClick:()=>{o(!1)}}}),s.jsxs(Tt,{windowSize:I,children:[A.terms.term1,s.jsx(de,{href:A.terms.term2Link,linkText:A.terms.term2}),A.terms.term3,s.jsx(de,{href:A.terms.term4Link,linkText:A.terms.term4})]})]})})},Yt=({isCardPaymentOpen:t,cardPaymentView:e,stripeKey:r,cardSetupInProgress:n,handleConfirmCardSetupIntent:o,updateCardPaymentModalState:i,handleCreateCardSetupIntent:c,handleAddCardPaymentSource:p,handleResetCardPaymentErrorStatuses:a,setCardSetupInProgress:h})=>{const[f,b]=L.useState(""),m=Ct(r),w=Ne(e.addCardPaymentSourceStatus.fetchState),x=e.addCardPaymentSourceStatus.fetchState;L.useEffect(()=>(c(["card"]),()=>{i(!1),b(""),a()}),[]),L.useEffect(()=>{a()},[t]),L.useEffect(()=>{w==="In-Progress"&&x==="Error"?(h(!1),setTimeout(()=>{i(!1)},2e3)):w==="In-Progress"&&x==="Completed"&&(c(["card"]),setTimeout(()=>{i(!1),h(!1)},2e3))},[w,x]),L.useEffect(()=>{(e.cardSetupConfirmStatus.error||e.addCardPaymentSourceStatus.error)&&(c(["card"]),setTimeout(()=>{h(!1)},2e3))},[e.cardSetupConfirmStatus.error,e.addCardPaymentSourceStatus.error]),L.useEffect(()=>{e.clientSecret!=null&&b(e.clientSecret)},[e.clientSecret]);const S={theme:"stripe",variables:{borderRadius:u.sp1,fontSizeBase:ee.standardRegular.fontSize,fontFamily:ee.standardRegular.fontFamily},rules:{".Input":{border:`1px solid ${q.neutralGrey3Light}`,borderRadius:u.sp1,padding:"10px",fontSize:ee.standardRegular.fontSize}}},E={clientSecret:f,appearance:S},I=ce();return s.jsx(Ue,{open:t,children:s.jsxs(xt,{windowSize:I,isError:!!e.cardSetupConfirmStatus.error,children:[s.jsx(Pt,{children:A.title}),s.jsx(Et,{children:A.subtitle}),f&&m!=null?s.jsx(Te,{options:E,stripe:m,children:s.jsx(_t,{clientSecret:f,handleConfirmCardSetupIntent:o,updateCardPaymentModalState:i,handleAddCardPaymentSource:p,cardPaymentView:e,cardSetupInProgress:n,setCardSetupInProgress:h})}):s.jsx(Be,{children:A.errorMsg})]})})},Z={sectionWidth:new oe(343,580,726),iconWidthHeight:new oe(20,He[4])},zt={title:new Ge("standardSemiBold","largeSemiBold")},Ee=t=>t?ae[t]??{name:"Other",iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"}:{name:"Other",iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},Wt=(t,e,r,n)=>({header:t,title:`${ue(ae[n.cardsList[0]?.brand]?.name??"")} ${e}`,subtitle:`${ue(ae[n.cardsList[0]?.brand]?.name??"")} ${r} ${n.cardsList[0]?.last4}`,status:n.cardsList[0]?.status}),Dt=y.img`
|
|
90
90
|
width: ${t=>t.width}px;
|
|
91
91
|
height: ${t=>t.height}px;
|
|
92
|
-
`,
|
|
92
|
+
`,Zt=({paymentAccount:t,plaidConnectionDetails:e,connectedAccountProvider:r,sectionId:n,isDisabled:o,hasError:i=!1,isValid:c,style:p,analytics:a,onFetchLinkTokenClick:h,onEstablishConnectionClick:f,onUpdatePaymentAccountStatus:b,onUpdatePaymentAccountLoginStatus:m,onEstablishConnectionSuccess:w,updateCardPaymentModalState:x,cardPaymentView:S,resetCardPaymentViewState:E,cardSetupInProgress:I=!1,googleAPIKey:U,subscriptionBillingAddress:M,subscriptionBillingAddressSectionId:V})=>{const D=je(),$=ce(),{register:J}=Me(),B=D.mode==="light"?new ne(D.colors.brandColorJadeLight):new ne(D.colors.brandColorJadeDark),{common:N,customerOnboardingPage:{sections:{link_payment_account:{title:R,text:_,subText:P},card_payment_method:T}}}=ke.getLocalizedStrings(),z=S.cardsList.length>0,g=S.cardsList[0]?.brand??"other",W=S.addCardPaymentSourceStatus.fetchState,j=Wt(T.header,T.titleText,T.protectedCardNo,S);let F;return z&&(F={header:j.header,title:j.title,subtitle:j.subtitle,status:j.status==="valid"?{name:"Verified",code:"verified"}:{name:"Pending",code:"pending"},showAddPaymentMethodDropDown:z===!0,icon:{element:s.jsx(Dt,{src:Ee(g).iconURL,width:Z.iconWidthHeight.valuePx($),height:Z.iconWidthHeight.valuePx($),alt:Ee(g).name,loading:"lazy"}),color:new ne(B)},showCompletedIcon:!1,isError:W==="Error",isLoading:W==="In-Progress",isCompleted:!0,showRightArrow:!1}),s.jsxs(Nt,{windowSize:$,children:[s.jsx(Ut,{type:"hidden",...J(`${n}.connected`,{validate:K=>i?K==="true":!0}),value:c?"true":"false"}),s.jsx(Ye,{connectedAccountProvider:r,paymentAccount:t,plaidConnectionDetails:e,allBankAccounts:[],header:R,sectionTitle:R,defaultSectionTitle:_,defaultSectionSubTitle:P,sectionId:n,isDisabled:o,hasError:i,showZeniAccountSection:!1,isCompleted:t?.providerVerificationStatus?.code?.includes("verified")===!0&&t?.isLoginRequired===!1,showCompletedIcon:$==="small",onFetchLinkTokenClick:h,onEstablishConnectionClick:f,onUpdatePaymentAccountStatus:b,onUpdatePaymentAccountLoginStatus:m,onEstablishConnectionSuccess:w,style:p,icon:{element:s.jsx(Ve,{width:Z.iconWidthHeight.valuePx($),height:Z.iconWidthHeight.valuePx($)}),color:B},analytics:a,productType:"onboarding",resetCardPaymentViewState:E,cardPaymentSectionValues:F,cardPaymentView:S,updateCardPaymentModalState:x,referrer:"Onboarding",cardSetupInProgress:I}),Bt($,N.headers.billingAddress,V,a,M,U,o)]})},Bt=(t,e,r,n,o,i,c)=>{const p={"Add street address":"street_address","Add suite":"suite","Add city":"city","Add state":"state","Select country":"country","Add ZIP code":"zip_code","Add secondary info":"secondary_info"};return s.jsxs(Vt,{children:[s.jsx(Mt,{windowSize:t,isDisabled:c==="disabled",children:e}),s.jsx(Je,{googleAPIKey:i??"",addressToEdit:o,sectionId:`${r}`,style:{marginLeft:"0px"},elementsStyle:{paddingRight:"0px"},onFormFieldClick:a=>{if(a.target instanceof HTMLInputElement){const{placeholder:h}=a.target;if(h){const f=p[h];f&&n.trackOnboardingBillingAddress(f)}}}})]})},Nt=y.div`
|
|
93
93
|
display: flex;
|
|
94
94
|
flex-direction: column;
|
|
95
|
-
width: ${t=>
|
|
95
|
+
width: ${t=>Z.sectionWidth.valuePx(t.windowSize)};
|
|
96
96
|
padding-bottom: ${u.sp3};
|
|
97
97
|
`,Ut=y.input`
|
|
98
98
|
display: none;
|
|
@@ -104,4 +104,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
104
104
|
`,Vt=y.div`
|
|
105
105
|
margin-top: ${u.sp5};
|
|
106
106
|
margin-bottom: ${u.sp4};
|
|
107
|
-
`;export{Wt as M,Ee as o,
|
|
107
|
+
`;export{Wt as M,Ee as o,Zt as r,Yt as t};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as $e,
|
|
1
|
+
import{g as $e,J as I,F as y,V as t,bB as le,aP as a,bN as De,o as s,ck as Oe,cl as _e,T as U,aT as Y,cm as we,r as Le,b as be,cn as Ae,aQ as Ve,co as Me,ap as We,cp as Be,cq as He,b3 as Ue,aD as B,cr as Ke,y as $,cs as Ee,ct as je,u as b,cu as ee,cd as N,cv as Se,a9 as Fe,ac as Ze,cw as qe,cx as Je,aJ as Qe,ai as D,cy as Xe,al as O,am as te,p as A,cz as Ge,ch as ke,ba as ie,cA as Ie,bL as Ye,cB as et}from"./index-WEj6FS32.js";import{P as ce,a as v}from"./sentry-B0WgNUxa.js";import{n as i}from"./mui-BTtN6lbG.js";import{oV as Ce,bg as X}from"./zeni-epic-state-DnAAAEmj.js";import{T as Re}from"./RoleWithToolTip-CkpqxMzB-CgYpd1vG.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="48168aef-4053-4327-a2e7-6af3738ac0fe",e._sentryDebugIdIdentifier="sentry-dbid-48168aef-4053-4327-a2e7-6af3738ac0fe")}catch{}})();const P=y.getLocalizedStrings().peoplePage.header,S=[{key:"name",value:P.name,sortOrder:"ascending",width:new $(32,26,26,30,32)},{key:"role",value:P.role,sortOrder:"ascending",width:new $(18,17,17,21,19)},{key:"manager",value:P.manager,sortOrder:"ascending",width:new $(20,20,20,19,20)},{key:"department",value:P.department,sortOrder:"ascending",width:new $(20,20,20,19,20)},{key:"lastSeen",value:P.lastSeen,sortOrder:"ascending",width:new $(10,17,17,11,9)}],H=[{key:"name",value:P.name,sortOrder:"ascending",width:new $(32,26,26,32,33)},{key:"role",value:P.role,sortOrder:"ascending",width:new $(58,57,57,57,58)},{key:"lastSeen",value:P.lastSeen,sortOrder:"ascending",width:new $(10,17,17,11,9)}],tt=58;function it({userNameSticky:e,sortConfig:o,onColumnSortConfigChanged:l,mode:d}){const m=I(),[p,x]=v.useState(Qe(d==="off"?S:H));v.useEffect(()=>{const n=[...p];for(const r of n)r.key===o.sortKey?r.sortOrder=o.sortOrder:r.sortOrder="ascending";x(n)},[o.sortKey,o.sortOrder]);const h=(n,r)=>{let u=r;o.sortKey===n&&(u=r==="ascending"?"descending":"ascending"),l?.(n,u)};return t.jsx(rt,{height:tt,"data-testid":a("people-list-header-row"),children:p.map(n=>t.jsxs(lt,{userNameSticky:!!e&&n.key==="name",sortDataValue:o.sortKey,actualDataValue:n.key,wrapperWidth:n.width,windowSize:m,children:[t.jsxs(dt,{"data-testid":a("people-list-header",n.key),onClick:()=>h(n.key,n.sortOrder),children:[t.jsx(D,{children:n.value}),t.jsx(ot,{sortDataValue:o.sortKey,headerdata:n,children:t.jsx(Xe,{width:12,height:12})})]}),t.jsx(at,{isVisible:o.sortKey===n.key&&n.key!=="name",children:t.jsx(nt,{"data-testid":a("people-list-header-sort-cancel",n.key),onClick:()=>h("name","ascending")})})]},n.key))})}const st=ce.memo(it),ot=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
transform: ${e=>e.sortDataValue===e.headerdata.key&&e.headerdata.sortOrder==="descending"?"rotate(180deg)":"rotate(0deg)"};
|
|
@@ -46,7 +46,7 @@ import{g as $e,Q as I,F as y,V as t,bB as le,aP as a,bN as De,o as s,ck as Oe,cl
|
|
|
46
46
|
&:hover {
|
|
47
47
|
color: ${e=>e.theme.colors.primary};
|
|
48
48
|
}
|
|
49
|
-
`,ct=58;function pt({sortConfig:e,onColumnSortConfigChanged:o,mode:l}){const d=y.getLocalizedStrings().peoplePage,m=Fe({mode:"all"}),p=v.useMemo(()=>l==="zeni_only"?H:S,[l]),x=v.useMemo(()=>p.map(r=>({label:r.value,value:r.key})),[p]),h=p.find(r=>r.key===e.sortKey);h!=null&&(h.sortOrder=e.sortOrder);const n=(r,u)=>{let w=u;e.sortKey===r&&(w=u==="ascending"?"descending":"ascending"),o?.(r,w)};return v.useEffect(()=>{const r=m.watch((u,{name:w})=>{if(w!=null&&u!=null){const{people_sort_by:f}=u;o?.(f.selectedOption.value,"ascending")}});return()=>{r.unsubscribe()}}),t.jsxs(ut,{height:ct,"data-testid":a("people-list-header-row-small"),children:[t.jsx(xt,{children:t.jsx(Ze,{...m,children:t.jsx("form",{children:t.jsx(qe,{defaultValue:{allOptions:x,selectedOption:x.find(r=>r.value===e.sortKey)},placeholder:`${d.sortBy}:`,style:{width:"200px"},isSearchable:!1,isOptionsSortable:!1,constantSelectedValue:`${d.sortBy}:`,name:"people_sort_by"})})})}),t.jsxs(gt,{"data-testid":a("people-list-header",e.sortKey),onClick:()=>n(e.sortKey,e.sortOrder),children:[t.jsx(wt,{children:h?.value}),t.jsx(mt,{sortDataValue:e.sortKey,headerdata:h,children:t.jsx(
|
|
49
|
+
`,ct=58;function pt({sortConfig:e,onColumnSortConfigChanged:o,mode:l}){const d=y.getLocalizedStrings().peoplePage,m=Fe({mode:"all"}),p=v.useMemo(()=>l==="zeni_only"?H:S,[l]),x=v.useMemo(()=>p.map(r=>({label:r.value,value:r.key})),[p]),h=p.find(r=>r.key===e.sortKey);h!=null&&(h.sortOrder=e.sortOrder);const n=(r,u)=>{let w=u;e.sortKey===r&&(w=u==="ascending"?"descending":"ascending"),o?.(r,w)};return v.useEffect(()=>{const r=m.watch((u,{name:w})=>{if(w!=null&&u!=null){const{people_sort_by:f}=u;o?.(f.selectedOption.value,"ascending")}});return()=>{r.unsubscribe()}}),t.jsxs(ut,{height:ct,"data-testid":a("people-list-header-row-small"),children:[t.jsx(xt,{children:t.jsx(Ze,{...m,children:t.jsx("form",{children:t.jsx(qe,{defaultValue:{allOptions:x,selectedOption:x.find(r=>r.value===e.sortKey)},placeholder:`${d.sortBy}:`,style:{width:"200px"},isSearchable:!1,isOptionsSortable:!1,constantSelectedValue:`${d.sortBy}:`,name:"people_sort_by"})})})}),t.jsxs(gt,{"data-testid":a("people-list-header",e.sortKey),onClick:()=>n(e.sortKey,e.sortOrder),children:[t.jsx(wt,{children:h?.value}),t.jsx(mt,{sortDataValue:e.sortKey,headerdata:h,children:t.jsx(Je,{width:s.sp3,height:s.sp3})})]})]})}const ht=ce.memo(pt),mt=i.div`
|
|
50
50
|
display: flex;
|
|
51
51
|
align-items: center;
|
|
52
52
|
transform: ${e=>e.sortDataValue===e.headerdata.key&&e.headerdata.sortOrder==="descending"?"rotate(180deg)":"rotate(0deg)"};
|
|
@@ -272,7 +272,7 @@ import{g as $e,Q as I,F as y,V as t,bB as le,aP as a,bN as De,o as s,ck as Oe,cl
|
|
|
272
272
|
:hover {
|
|
273
273
|
color: ${e=>e.theme.colors.primary};
|
|
274
274
|
}
|
|
275
|
-
`,_t={width:new $(343,580,726)},{peoplePage:k}=y.getLocalizedStrings(),Lt=({peopleData:e,allClasses:o,allManagers:l,onRowClick:d,onResendInvite:m})=>{const p=I(),x=e.userRole.userRoles.filter(r=>!Ce(r)),h=si(l,e.userRole.managerUserId),n=oi(o,e.userRole.accountingClassIDs);return t.jsxs(At,{windowSize:p,isInviteAccepted:e.userRole.invitationStatus==="accepted","data-testid":a("people-list-row-small",e.userId),onClick:()=>{d?.(e.userId)},children:[t.jsxs(Vt,{children:[t.jsx(ee,{personBasic:e.user,styles:{height:s.sp6,width:s.sp6}}),t.jsx(Wt,{children:t.jsxs(Bt,{children:[t.jsxs(Ht,{className:"personNameTxt",isInviteAccepted:e.userRole.invitationStatus==="accepted",children:[e.user?.firstName??""," ",e.user?.lastName??""]}),t.jsx(Ut,{isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"emailTxt",children:e.userRole.userEmail??""})]})}),e.userRole.invitationStatus==="accepted"?t.jsxs(Kt,{className:"lastSeen",children:[t.jsx(Et,{className:"lastSeenDateTxt",children:e?.userRole?.userLastCheckInTimeIntoTenant?N(e.userRole.userLastCheckInTimeIntoTenant):"-"}),t.jsx(Ft,{children:k.header.lastSeen})]}):t.jsx(Zt,{"data-testid":a("resend-invite-wrapper",e.userId),children:e.update==="resendInvite"?t.jsx(U,{size:"Small",start:!0}):t.jsxs(t.Fragment,{children:[t.jsx(qt,{"data-testid":a("resend-invite-text",e.userId),onClick:r=>{r.stopPropagation(),m?.(e.userId)},children:k.resendInvite.label}),t.jsx(
|
|
275
|
+
`,_t={width:new $(343,580,726)},{peoplePage:k}=y.getLocalizedStrings(),Lt=({peopleData:e,allClasses:o,allManagers:l,onRowClick:d,onResendInvite:m})=>{const p=I(),x=e.userRole.userRoles.filter(r=>!Ce(r)),h=si(l,e.userRole.managerUserId),n=oi(o,e.userRole.accountingClassIDs);return t.jsxs(At,{windowSize:p,isInviteAccepted:e.userRole.invitationStatus==="accepted","data-testid":a("people-list-row-small",e.userId),onClick:()=>{d?.(e.userId)},children:[t.jsxs(Vt,{children:[t.jsx(ee,{personBasic:e.user,styles:{height:s.sp6,width:s.sp6}}),t.jsx(Wt,{children:t.jsxs(Bt,{children:[t.jsxs(Ht,{className:"personNameTxt",isInviteAccepted:e.userRole.invitationStatus==="accepted",children:[e.user?.firstName??""," ",e.user?.lastName??""]}),t.jsx(Ut,{isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"emailTxt",children:e.userRole.userEmail??""})]})}),e.userRole.invitationStatus==="accepted"?t.jsxs(Kt,{className:"lastSeen",children:[t.jsx(Et,{className:"lastSeenDateTxt",children:e?.userRole?.userLastCheckInTimeIntoTenant?N(e.userRole.userLastCheckInTimeIntoTenant):"-"}),t.jsx(Ft,{children:k.header.lastSeen})]}):t.jsx(Zt,{"data-testid":a("resend-invite-wrapper",e.userId),children:e.update==="resendInvite"?t.jsx(U,{size:"Small",start:!0}):t.jsxs(t.Fragment,{children:[t.jsx(qt,{"data-testid":a("resend-invite-text",e.userId),onClick:r=>{r.stopPropagation(),m?.(e.userId)},children:k.resendInvite.label}),t.jsx(Jt,{children:t.jsx(Qt,{children:`${k.sentText} ${N(e?.userRole?.inviteUpdateTime?e.userRole.inviteUpdateTime:e.userRole.inviteCreateTime)}`})})]})})]}),t.jsx(Mt,{children:t.jsxs(se,{className:"personDetails",children:[t.jsxs(pe,{children:[t.jsxs(he,{children:[k.header.role,":"]}),t.jsx(oe,{children:t.jsx(Re,{roles:x})})]}),t.jsxs(Xt,{children:[t.jsxs(Yt,{children:[k.header.manager,":"]}),X(e.userRole.userRoles)?t.jsx(q,{children:k.notApplicable}):t.jsx(t.Fragment,{children:h?t.jsx(ti,{children:h}):t.jsx(q,{children:k.noManager})})]}),t.jsxs(Gt,{children:[t.jsxs(ei,{children:[k.header.department,":"]}),X(e.userRole.userRoles)?t.jsx(q,{children:k.notApplicable}):t.jsx(t.Fragment,{children:n?t.jsx(ii,{children:n}):t.jsx(q,{children:k.emptyDepartmentPlaceholderText})})]})]})})]})},At=i.div`
|
|
276
276
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
277
277
|
border-radius: ${s.sp2};
|
|
278
278
|
display: flex;
|
|
@@ -343,12 +343,12 @@ import{g as $e,Q as I,F as y,V as t,bB as le,aP as a,bN as De,o as s,ck as Oe,cl
|
|
|
343
343
|
`,qt=i(se)`
|
|
344
344
|
color: ${A.info};
|
|
345
345
|
cursor: pointer;
|
|
346
|
-
`,
|
|
346
|
+
`,Jt=i.div`
|
|
347
347
|
display: flex;
|
|
348
348
|
flex-direction: row;
|
|
349
349
|
-webkit-box-pack: end;
|
|
350
350
|
justify-content: flex-end;
|
|
351
|
-
`,
|
|
351
|
+
`,Qt=i(se)`
|
|
352
352
|
color: ${e=>e.theme.colors.grey1};
|
|
353
353
|
`,pe=i.div`
|
|
354
354
|
display: flex;
|
|
@@ -358,7 +358,7 @@ import{g as $e,Q as I,F as y,V as t,bB as le,aP as a,bN as De,o as s,ck as Oe,cl
|
|
|
358
358
|
width: 70%;
|
|
359
359
|
`,ti=i(oe)``,ii=i(oe)``,q=i(oe)`
|
|
360
360
|
color: ${e=>e.theme.colors.grey1};
|
|
361
|
-
`,si=(e,o)=>{const l=e.find(d=>d.userId===o);return l?.user?`${l?.user?.firstName} ${l?.user?.lastName}`:void 0},oi=(e,o)=>{const l=e.find(d=>o[0]===d.classId);return l?l.className:void 0},ri=e=>I()==="small"?t.jsx(Lt,{...e}):t.jsx(vt,{...e}),
|
|
361
|
+
`,si=(e,o)=>{const l=e.find(d=>d.userId===o);return l?.user?`${l?.user?.firstName} ${l?.user?.lastName}`:void 0},oi=(e,o)=>{const l=e.find(d=>o[0]===d.classId);return l?l.className:void 0},ri=e=>I()==="small"?t.jsx(Lt,{...e}):t.jsx(vt,{...e}),J=y.getLocalizedStrings().peoplePage,li=({peopleData:e,userNameSticky:o,onResendInvite:l,onDeleteUser:d,onRowClick:m})=>{const[p,x]=v.useState(!1),h=I(),n=ni(e),r=f=>{const j=[];return f.map(g=>{const R=Ie.roles.find(V=>V.value===g);return R!=null&&j.push(R?.label??""),j}),j.length>0?j.join(", "):"-"},u=()=>{d?.(e)},w=()=>{m?.(e.userId)};return t.jsxs(ai,{"data-testid":a("zeni-people-list-row-medium",e.userId),windowSize:h,isInviteAccepted:e.userRole.invitationStatus==="accepted",onClick:w,children:[t.jsx(di,{wrapperWidth:H[0].width,windowSize:h,userNameSticky:o,children:t.jsxs(pi,{children:[t.jsx(ee,{personBasic:e.user,styles:{height:s.sp6,width:s.sp6}}),t.jsxs(hi,{children:[e.user?.firstName?t.jsxs(mi,{isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"personNameTxt",children:[e.user?.firstName??""," ",e.user?.lastName??""]}):null,t.jsx(xi,{isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"emailTxt",children:e.userRole.userEmail??""})]})]})}),t.jsx(ui,{widthNumber:H[1].width,windowSize:h,children:t.jsx(ci,{wrapperWidth:new $(100,100),windowSize:h,children:r(e.userRole.userRoles)})}),t.jsxs(yi,{"data-testid":a("people-list-row-medium-last-seen",e.userId),wrapperWidth:H[2].width,windowSize:h,children:[e.userRole.invitationStatus==="accepted"?t.jsx($i,{children:n.lastSeen}):t.jsx(gi,{"data-testid":a("people-list-row-medium-resend-invite",e.userId),children:e.update==="resendInvite"?t.jsx(U,{size:"Small",start:!0}):t.jsxs(t.Fragment,{children:[t.jsx(wi,{"data-testid":a("people-list-row-medium-resend-invite-text",e.userId),onClick:f=>{f.stopPropagation(),l?.(e.userId)},children:J.resendInvite.label}),t.jsx(vi,{children:t.jsx(fi,{children:`${J.sentText} ${N(e?.userRole?.inviteUpdateTime?e.userRole.inviteUpdateTime:e.userRole.inviteCreateTime)}`})})]})}),t.jsx(bi,{"data-testid":a("people-list-row-medium-menu",e.userId),isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"menu-icon",children:t.jsx(Se,{menuItems:t.jsxs(ji,{children:[t.jsx(ye,{"data-testid":a("people-list-row-medium-menu-edit",e.userId),onClick:()=>{x(!1),w()},children:J.invitePage.editTitle}),t.jsx(ye,{"data-testid":a("people-list-row-menu-delete",e.userId),isDelete:!0,onClick:f=>{f.stopPropagation(),x(!1),u()},children:J.deleteOverlay.title})]}),setIsMenuOpen:x,isMenuOpen:p})})]})]})};function ni(e){return{name:`${e.user?.firstName??""} ${e.user?.lastName??""}`,role:{selectedOptions:e.userRole.userRoles,allOptions:Ie.roles},lastSeen:e?.userRole?.userLastCheckInTimeIntoTenant?N(e.userRole.userLastCheckInTimeIntoTenant):"-"}}const ai=i.div`
|
|
362
362
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
363
363
|
border-radius: ${s.sp2};
|
|
364
364
|
display: flex;
|
|
@@ -509,7 +509,7 @@ import{g as $e,Q as I,F as y,V as t,bB as le,aP as a,bN as De,o as s,ck as Oe,cl
|
|
|
509
509
|
:hover {
|
|
510
510
|
color: ${e=>e.theme.colors.primary};
|
|
511
511
|
}
|
|
512
|
-
`,Si={width:new $(343,580,726)},
|
|
512
|
+
`,Si={width:new $(343,580,726)},Q=y.getLocalizedStrings().peoplePage,ki=({peopleData:e,onRowClick:o,onResendInvite:l})=>{const d=I();return t.jsxs(Ii,{windowSize:d,"data-testid":a("zeni-people-list-row-small",e.userId),isInviteAccepted:e.userRole.invitationStatus==="accepted",onClick:()=>{o?.(e.userId)},children:[t.jsxs(Ci,{children:[t.jsx(ee,{personBasic:e.user,styles:{height:s.sp6,width:s.sp6}}),t.jsx(zi,{children:t.jsxs(Ti,{children:[t.jsxs(Pi,{className:"personNameTxt",isInviteAccepted:e.userRole.invitationStatus==="accepted",children:[e.user?.firstName??""," ",e.user?.lastName??""]}),t.jsx(Ni,{isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"emailTxt",children:e.userRole.userEmail??""})]})}),e.userRole.invitationStatus==="accepted"?t.jsxs(Li,{className:"lastSeen","data-testid":a("people-list-row-small-last-seen",e.userId),children:[t.jsx(Ai,{className:"lastSeenDateTxt","data-testid":a("people-list-row-small-last-seen-content",e.userId),children:e?.userRole?.userLastCheckInTimeIntoTenant?N(e.userRole.userLastCheckInTimeIntoTenant):"-"}),t.jsx(Vi,{children:Q.header.lastSeen})]}):t.jsx(Mi,{"data-testid":a("people-list-row-small-resend-invite",e.userId),children:e.update==="resendInvite"?t.jsx(U,{size:"Small",start:!0}):t.jsxs(t.Fragment,{children:[t.jsx(Wi,{"data-testid":a("people-list-row-small-resend-invite-text",e.userId),onClick:m=>{m.stopPropagation(),l?.(e.userId)},children:Q.resendInvite.label}),t.jsx(Bi,{children:t.jsx(Hi,{children:`${Q.sentText} ${N(e?.userRole?.inviteUpdateTime?e.userRole.inviteUpdateTime:e.userRole.inviteCreateTime)}`})})]})})]}),t.jsx(Ri,{children:t.jsx(re,{className:"personDetails",children:t.jsxs(Di,{style:{display:"flex"},children:[t.jsxs(Oi,{style:{},children:[Q.header.role,":"]}),t.jsx(_i,{children:je(e.userRole.userRoles,"zeni_only")})]})})})]})},Ii=i.div`
|
|
513
513
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
514
514
|
border-radius: ${s.sp2};
|
|
515
515
|
display: flex;
|
|
@@ -587,7 +587,7 @@ import{g as $e,Q as I,F as y,V as t,bB as le,aP as a,bN as De,o as s,ck as Oe,cl
|
|
|
587
587
|
justify-content: flex-end;
|
|
588
588
|
`,Hi=i(re)`
|
|
589
589
|
color: ${e=>e.theme.colors.grey1};
|
|
590
|
-
`,Ui=e=>I()==="small"?t.jsx(ki,{...e}):t.jsx(li,{...e}),M={overscanCount:1,rowNameLimit:55,listItemHeight:88},ne={peopleListItemHeight:138,zeniPeopleListItemHeight:106,zeniPeopleExtendedListItemHeight:130},G={listItemPaddingRight:new $(b[3],b[8]),listItemPaddingLeft:new $(b[3],b[8]),zeniLastRowHeight:new $(154,136),nonZeniLastRowHeight:new $(200,136)},W=y.getLocalizedStrings().peoplePage,Ki=({peopleView:e,allManagers:o,allClasses:l,analytics:d,onColumnSortConfigChanged:m,onDeleteClick:p,onResendInvite:x,onRowClick:h,isZeniTenant:n})=>{const r=I(),u=v.useRef(null),w=!(r==="small"||r==="medium-compact"),[f,j]=v.useState(!1),[g,R]=v.useState(),V=$e(),z=e.people.findIndex(c=>c.userRole.invitationStatus==="invited"),me=c=>{j(!0),R(c)},ue=v.memo(({index:c,style:C})=>t.jsx(t.Fragment,{children:t.jsxs(Zi,{"data-testid":a("people-list-item",e.people[c].user?.userId),style:{...C,width:"fit-content",minWidth:"100%"},windowSize:r,isFirstResendInviteUser:z===c,className:"people-list-item",children:[z===c?t.jsx(Gi,{}):null,e.uiState.mode==="off"?t.jsx(ri,{allManagers:o,allClasses:l,userNameSticky:w,peopleData:e.people[c],onDeleteUser:me,onResendInvite:x,onRowClick:h,isZeniTenant:n}):t.jsx(Ui,{userNameSticky:w,peopleData:e.people[c],onDeleteUser:me,onResendInvite:x,onRowClick:h,isZeniTenant:n})]})}),Ae);ue.displayName="ListItem";const xe=v.forwardRef((c,C)=>{const{children:_,style:E,...F}=c;return t.jsxs("div",{ref:C,style:{...E,width:"auto"},...F,children:[r==="small"?t.jsx(ht,{userNameSticky:w,onColumnSortConfigChanged:m,sortConfig:{sortKey:e.uiState.sortKey,sortOrder:e.uiState.sortOrder},mode:e.uiState.mode}):t.jsx(st,{userNameSticky:w,onColumnSortConfigChanged:m,sortConfig:{sortKey:e.uiState.sortKey,sortOrder:e.uiState.sortOrder},mode:e.uiState.mode}),t.jsx(qi,{children:_})]})});xe.displayName="People list view inner element type";const ze=c=>{const C=`${e.people[c].user?.firstName} ${e.people[c].user?.lastName}`.length,_=z===c;return C>M.rowNameLimit?M.listItemHeight+b[5]+(_?b[3]:b[0]):M.listItemHeight+(_?b[3]:b[0])},Te=c=>{const C=`${e.people[c].user?.firstName} ${e.people[c].user?.lastName}`.length,_=je(e.people[c].userRole.userRoles,e.uiState.mode).length,E=z===c,F=e.uiState.mode==="zeni_only"?_>33?ne.zeniPeopleExtendedListItemHeight:ne.zeniPeopleListItemHeight:ne.peopleListItemHeight;return C>M.rowNameLimit?F+b[5]+(E?b[3]:b[0]):F+(E?b[3]:b[0])},Pe={onOkClick:()=>{const c=g;d?.trackRemoveUserAccess(c.userRole.userRoles,c.userRole.userEmail),p?.(c.userId,c.userRole.userRoleId)},onCancelClick:()=>{j(!1),R(void 0)}},ge=Ve(e.people.find(c=>c.userId===g?.userId)?.update),K=e.people.find(c=>c.userId===g?.userId)?.update,Ne=g!=null?W.deleteOverlay.description.replace("‘_user-name_’",`"${Ei(g)}"`):W.deleteOverlay.description;return v.useEffect(()=>{u.current&&u.current.resetAfterIndex(0)},[e,r]),v.useEffect(()=>{K==null&&ge==="removeUsers"&&(j(!1),R(void 0))},[K,ge]),t.jsxs(Fi,{"data-testid":a("people-list-view-container"),windowSize:r,mode:e.uiState.mode,children:[f===!0?t.jsx(Me,{titleComponent:t.jsx(He,{children:W.deleteOverlay.title}),descriptionComponent:t.jsx(Be,{children:Ne}),primaryButtonText:W.deleteOverlay.remove,secondaryButtonText:W.deleteOverlay.cancel,action:Pe,proceedButtonVariant:"danger",isLoading:K==="removeUsers",isDisabled:K==="removeUsers",style:{background:V.colors.overlayColor},children:g?.user!=null?t.jsxs(t.Fragment,{children:[t.jsx(Xi,{}),t.jsx(
|
|
590
|
+
`,Ui=e=>I()==="small"?t.jsx(ki,{...e}):t.jsx(li,{...e}),M={overscanCount:1,rowNameLimit:55,listItemHeight:88},ne={peopleListItemHeight:138,zeniPeopleListItemHeight:106,zeniPeopleExtendedListItemHeight:130},G={listItemPaddingRight:new $(b[3],b[8]),listItemPaddingLeft:new $(b[3],b[8]),zeniLastRowHeight:new $(154,136),nonZeniLastRowHeight:new $(200,136)},W=y.getLocalizedStrings().peoplePage,Ki=({peopleView:e,allManagers:o,allClasses:l,analytics:d,onColumnSortConfigChanged:m,onDeleteClick:p,onResendInvite:x,onRowClick:h,isZeniTenant:n})=>{const r=I(),u=v.useRef(null),w=!(r==="small"||r==="medium-compact"),[f,j]=v.useState(!1),[g,R]=v.useState(),V=$e(),z=e.people.findIndex(c=>c.userRole.invitationStatus==="invited"),me=c=>{j(!0),R(c)},ue=v.memo(({index:c,style:C})=>t.jsx(t.Fragment,{children:t.jsxs(Zi,{"data-testid":a("people-list-item",e.people[c].user?.userId),style:{...C,width:"fit-content",minWidth:"100%"},windowSize:r,isFirstResendInviteUser:z===c,className:"people-list-item",children:[z===c?t.jsx(Gi,{}):null,e.uiState.mode==="off"?t.jsx(ri,{allManagers:o,allClasses:l,userNameSticky:w,peopleData:e.people[c],onDeleteUser:me,onResendInvite:x,onRowClick:h,isZeniTenant:n}):t.jsx(Ui,{userNameSticky:w,peopleData:e.people[c],onDeleteUser:me,onResendInvite:x,onRowClick:h,isZeniTenant:n})]})}),Ae);ue.displayName="ListItem";const xe=v.forwardRef((c,C)=>{const{children:_,style:E,...F}=c;return t.jsxs("div",{ref:C,style:{...E,width:"auto"},...F,children:[r==="small"?t.jsx(ht,{userNameSticky:w,onColumnSortConfigChanged:m,sortConfig:{sortKey:e.uiState.sortKey,sortOrder:e.uiState.sortOrder},mode:e.uiState.mode}):t.jsx(st,{userNameSticky:w,onColumnSortConfigChanged:m,sortConfig:{sortKey:e.uiState.sortKey,sortOrder:e.uiState.sortOrder},mode:e.uiState.mode}),t.jsx(qi,{children:_})]})});xe.displayName="People list view inner element type";const ze=c=>{const C=`${e.people[c].user?.firstName} ${e.people[c].user?.lastName}`.length,_=z===c;return C>M.rowNameLimit?M.listItemHeight+b[5]+(_?b[3]:b[0]):M.listItemHeight+(_?b[3]:b[0])},Te=c=>{const C=`${e.people[c].user?.firstName} ${e.people[c].user?.lastName}`.length,_=je(e.people[c].userRole.userRoles,e.uiState.mode).length,E=z===c,F=e.uiState.mode==="zeni_only"?_>33?ne.zeniPeopleExtendedListItemHeight:ne.zeniPeopleListItemHeight:ne.peopleListItemHeight;return C>M.rowNameLimit?F+b[5]+(E?b[3]:b[0]):F+(E?b[3]:b[0])},Pe={onOkClick:()=>{const c=g;d?.trackRemoveUserAccess(c.userRole.userRoles,c.userRole.userEmail),p?.(c.userId,c.userRole.userRoleId)},onCancelClick:()=>{j(!1),R(void 0)}},ge=Ve(e.people.find(c=>c.userId===g?.userId)?.update),K=e.people.find(c=>c.userId===g?.userId)?.update,Ne=g!=null?W.deleteOverlay.description.replace("‘_user-name_’",`"${Ei(g)}"`):W.deleteOverlay.description;return v.useEffect(()=>{u.current&&u.current.resetAfterIndex(0)},[e,r]),v.useEffect(()=>{K==null&&ge==="removeUsers"&&(j(!1),R(void 0))},[K,ge]),t.jsxs(Fi,{"data-testid":a("people-list-view-container"),windowSize:r,mode:e.uiState.mode,children:[f===!0?t.jsx(Me,{titleComponent:t.jsx(He,{children:W.deleteOverlay.title}),descriptionComponent:t.jsx(Be,{children:Ne}),primaryButtonText:W.deleteOverlay.remove,secondaryButtonText:W.deleteOverlay.cancel,action:Pe,proceedButtonVariant:"danger",isLoading:K==="removeUsers",isDisabled:K==="removeUsers",style:{background:V.colors.overlayColor},children:g?.user!=null?t.jsxs(t.Fragment,{children:[t.jsx(Xi,{}),t.jsx(Ji,{children:t.jsx(Qi,{src:g?.user.photo?.toString()??We,alt:g?.user.userId,loading:"lazy"})})]}):null}):null,t.jsx(Ue,{children:({height:c,width:C})=>t.jsx(Yi,{height:c,innerElementType:xe,itemCount:e.people.length,itemSize:r==="small"?Te:ze,width:C,ref:u,overscanCount:M.overscanCount,children:ue})})]})},Ei=e=>e.user?.firstName?`${e.user?.firstName} ${e.user?.lastName}`:e.user?.email??"",Fi=i.div`
|
|
591
591
|
/** Subtract top so list can occupy remaining available height */
|
|
592
592
|
min-height: ${`calc(100vh - ${s.sp9})`};
|
|
593
593
|
max-width: 99.9%;
|
|
@@ -604,10 +604,10 @@ import{g as $e,Q as I,F as y,V as t,bB as le,aP as a,bN as De,o as s,ck as Oe,cl
|
|
|
604
604
|
position: relative;
|
|
605
605
|
width: auto;
|
|
606
606
|
height: 100%;
|
|
607
|
-
`,
|
|
607
|
+
`,Ji=i.div`
|
|
608
608
|
position: absolute;
|
|
609
609
|
top: -26px;
|
|
610
|
-
`,
|
|
610
|
+
`,Qi=i.img`
|
|
611
611
|
height: 60px;
|
|
612
612
|
width: 60px;
|
|
613
613
|
border-radius: 50%;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as h,P as n}from"./sentry-
|
|
1
|
+
import{a as h,P as n}from"./sentry-B0WgNUxa.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="1e21bcae-92bc-4f72-b3b7-b9f34ad2806c",t._sentryDebugIdIdentifier="sentry-dbid-1e21bcae-92bc-4f72-b3b7-b9f34ad2806c")}catch{}})();const c="64px",u={},k=({src:t,light:a,oEmbedUrl:r,onClickPreview:s,playIcon:m,previewTabIndex:I,previewAriaLabel:f})=>{const[b,o]=h.useState(null);h.useEffect(()=>{!t||!a||!r||_({src:t,light:a,oEmbedUrl:r})},[t,a,r]);const _=async({src:e,light:i,oEmbedUrl:E})=>{if(n.isValidElement(i))return;if(typeof i=="string"){o(i);return}if(u[e]){o(u[e]);return}o(null);const y=await(await fetch(E.replace("{url}",e))).json();if(y.thumbnail_url){const g=y.thumbnail_url.replace("height=100","height=480").replace("-d_295x166","-d_640");o(g),u[e]=g}},w=e=>{(e.key==="Enter"||e.key===" ")&&s?.(e)},v=e=>{s?.(e)},l=n.isValidElement(a),p={display:"flex",alignItems:"center",justifyContent:"center"},d={preview:{width:"100%",height:"100%",backgroundImage:b&&!l?`url(${b})`:void 0,backgroundSize:"cover",backgroundPosition:"center",cursor:"pointer",...p},shadow:{background:"radial-gradient(rgb(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%)",borderRadius:c,width:c,height:c,position:l?"absolute":void 0,...p},playIcon:{borderStyle:"solid",borderWidth:"16px 0 16px 26px",borderColor:"transparent transparent transparent white",marginLeft:"7px"}},x=n.createElement("div",{style:d.shadow,className:"react-player__shadow"},n.createElement("div",{style:d.playIcon,className:"react-player__play-icon"}));return n.createElement("div",{style:d.preview,className:"react-player__preview",tabIndex:I,onClick:v,onKeyDown:w,...f?{"aria-label":f}:{}},l?a:null,m||x)};var P=k;export{P as default};
|
package/dist/assets/{ProductsCarousel-ChWN6HhX-DEhcI5NW.js → ProductsCarousel-BYvlY6Jl-BJ6Pqq3q.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{F as D,V as t,a8 as B,o as c,c1 as N,a$ as U,u as V,d6 as q,aq as G,al as T,d7 as H,p as v}from"./index-
|
|
1
|
+
import{F as D,V as t,a8 as B,o as c,c1 as N,a$ as U,u as V,d6 as q,aq as G,al as T,d7 as H,p as v}from"./index-WEj6FS32.js";import{a as $}from"./sentry-B0WgNUxa.js";import{n as i}from"./mui-BTtN6lbG.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="6eb667d4-6ca6-4cfd-a53e-986f8c15c143",e._sentryDebugIdIdentifier="sentry-dbid-6eb667d4-6ca6-4cfd-a53e-986f8c15c143")}catch{}})();const u=D.getLocalizedStrings(),w={large:{labelComp:q,title:G,subtitle:T,seeMoreLink:T}},J={large:{width:496,height:512,padding:32,svgSize:12,svgContainerHeight:24,gap:8,imageGap:16,borderRadius:16}},r=J.large,Y=i.div`
|
|
2
2
|
width: ${e=>e.scale*r.width}px;
|
|
3
3
|
height: ${e=>e.scale*r.height}px;
|
|
4
4
|
overflow: hidden;
|