@zeniai/web-cockpit-ui 1.14.41-qa → 1.14.42-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-C0Ys2JJm-CSmQeh3x.js +21 -0
- package/dist/assets/{AIPerformancePage-DUz4HfZ1-Dw16_h1i.js → AIPerformancePage-CsR8PRb9-DlWAPyY5.js} +32 -32
- package/dist/assets/{AccountInfoPage-YaZUNWd--C7mX1TUK.js → AccountInfoPage-GuppZ3vX-ybOuy1Kd.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-CMDfYWOh-2t3Y-Tgi.js → AccountInfoPageContent-BLKO0eIw-B7kvUMt5.js} +30 -30
- package/dist/assets/{AccountLockedInfoModal-DVLQ0FPH-B5gNUsGD.js → AccountLockedInfoModal-DxcSHNgE-BkMfAWj6.js} +3 -3
- package/dist/assets/{AccountReconDetailsDrawerPage-D15tKD4N-wdhiO3so.js → AccountReconDetailsDrawerPage-BoS3J4pw-C7qNHT6H.js} +15 -15
- package/dist/assets/{AccountRow-D-CPGejv-C0MkYOn9.js → AccountRow-Dj74AzIh-BbDAUA8T.js} +22 -22
- package/dist/assets/{AccountsPromoCardStack-BP_NIYH9-CknZDmQk.js → AccountsPromoCardStack-MQ_e8aZu-DokMp7Fc.js} +28 -28
- package/dist/assets/{AddAddressForCardDrawer-CgUhQtxS-ZERwnczq.js → AddAddressForCardDrawer-LpGynQhq-BiZdAWgh.js} +1 -1
- package/dist/assets/{AddToWalletPage-BJ1zD8Fp-DS4otSje.js → AddToWalletPage-wtm2Oua5-x0zhdZBl.js} +14 -14
- package/dist/assets/{AgingReportsPage-BC3a8enN-CH94puRQ.js → AgingReportsPage-e98Qmrut-DEPFVdEb.js} +14 -14
- package/dist/assets/{AllUserItems-vM-R7kC6-dC4XnH-i.js → AllUserItems-Cyr74U6h-DLHOl5bM.js} +10 -10
- package/dist/assets/{ApAgingDetailPage-C0soj3QL-CIKu7KMh.js → ApAgingDetailPage-Kjz7NPLx-Bf3lvNxo.js} +4 -4
- package/dist/assets/{AppBasePage-vYi6vqB3-CUCnltWx.js → AppBasePage-DrR3bM5Z-CWPfvLBQ.js} +17 -17
- package/dist/assets/{AppDrawerContent-4OWU2TFD-hU4F7Wlo.js → AppDrawerContent-C2GlTktJ-DMFov52N.js} +8 -8
- package/dist/assets/{ApprovalRulesSettingsPage-D9sYwLt_-eXBjf9wx.js → ApprovalRulesSettingsPage-Cy9uHg-R-Lb5cY5kU.js} +1 -1
- package/dist/assets/{ArAgingChart-B_o6w4NZ-eMi5HTRp.js → ArAgingChart-CtxyhI9X-mEADLb4-.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-CBVZytB--DpqLoVCo.js → ArAgingDetailPage-GX7S1gNm-CGPsvsX3.js} +1 -1
- package/dist/assets/{AttachmentView-B-4i3ruL-Coezd-6G.js → AttachmentView-C8CksG-9-RpLYPFoP.js} +6 -6
- package/dist/assets/{BankAccountSection-BSpqPLea-DnHvULrV.js → BankAccountSection-8JPKANMP-DuTpIyau.js} +4 -4
- package/dist/assets/BankAccountWarningSection-HW7t6lPN-CXdJbZl-.js +51 -0
- package/dist/assets/{BankConnectionsSettingsPage-Bb8Ug1B7-BrJkpQBD.js → BankConnectionsSettingsPage-C_jyBPLn-CLp_uRqW.js} +31 -31
- package/dist/assets/BillDetailPage-BwuHMPBb-CWwzJCXe.js +266 -0
- package/dist/assets/{BillPayApprovalRuleDetailPage-zgj-w04l-DlkJNyRo.js → BillPayApprovalRuleDetailPage-9RqkaWf2-BU5jdCnL.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-8Yu9sjNN-CP9d39U-.js → BillPayApprovalRulesPage-CZmACduz-93oNGY5M.js} +9 -9
- package/dist/assets/{BillPayPromoPage-DwiZ7BtU-fiyE_zkg.js → BillPayPromoPage-C2m0GTw3-CZokQfrc.js} +4 -4
- package/dist/assets/{BillPaySetUpPage-qkDjDwA2-BVCc21N3.js → BillPaySetUpPage-C71BRWUw-VI3bvPN6.js} +2 -2
- package/dist/assets/{BillingSettingsPage-CcAIOY2J-REyIPWiq.js → BillingSettingsPage-Gc3cUKmE-DleW0m9X.js} +5 -5
- package/dist/assets/{BillsBulkReviewDrawerPage-BONjbFFw-qDHExLn5.js → BillsBulkReviewDrawerPage-CO1oJuvH-DO4MY9I-.js} +1 -1
- package/dist/assets/{BoxItem-BebxqupW-BdoD_mmi.js → BoxItem-D09XMKDc-dcEB3ro9.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-DB134_1e-CZY_8hSF.js → BusinessVerificationPage-Ef4KSPWc-CGQqBH2S.js} +9 -9
- package/dist/assets/CardNumberSubText-Chba_z2--BgVxGcnT.js +21 -0
- package/dist/assets/{CashbackDetailPage-CCb57-3P-p_PVDcq5.js → CashbackDetailPage-DAM-IJ8V-GMcbY1v3.js} +20 -20
- package/dist/assets/{ChargeCardDetailPage-DZ53kEgD-CVscm9WX.js → ChargeCardDetailPage-U_ZuntGp-Bifm6uRw.js} +1 -1
- package/dist/assets/{ChargeCardListPage-67dSFsMj-BER-SYIw.js → ChargeCardListPage-DJ5TbLO--IUEMfPwT.js} +23 -23
- package/dist/assets/{ChargeCardListTable-Czriruk3-DeRl2C1o.js → ChargeCardListTable-D7BV3Iv9-CvArKgFC.js} +13 -13
- package/dist/assets/{ChargeCardPromoPage-DvMyjHD_-Dd7MlnjV.js → ChargeCardPromoPage-CMqzRnza-BLyUSFwI.js} +26 -26
- package/dist/assets/{ChargeCardSetupPage-D6o-evfw-2pOurEiq.js → ChargeCardSetupPage-dOz2soLF-Bc9pTyfy.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-vmEZp2Gc-k4U6YJ8h.js → ChargeCardStatementsPage-S2JH9s6i-BXX6utVL.js} +11 -11
- package/dist/assets/ChargeCardUtils-Bv0OpE88-D5Y-HOpD.js +1 -0
- package/dist/assets/{ChaseOverlay-DU98sRYz-NBdZIJp3.js → ChaseOverlay-4Rv__bdV-G7KHiWVk.js} +7 -7
- package/dist/assets/{CheckDepositDrawerPage-D559Iqfg-2Xs20KLS.js → CheckDepositDrawerPage-BKogbkJv-CWQTz4_P.js} +15 -15
- package/dist/assets/{CollapsableReportTable-C3JrOMbA-C8RANxS5.js → CollapsableReportTable-B_qvVX0p-B7sAIIqY.js} +85 -85
- package/dist/assets/{CompanyOfficerDetailsSection-ByPjcDhp-UGnVN2eW.js → CompanyOfficerDetailsSection-aAwv9WfC-B4p0BPWe.js} +22 -22
- package/dist/assets/{CompanyPassportCard-DtaT5LBX-sjzIwivo.js → CompanyPassportCard-DchSKG4l-bx1QGbPl.js} +4 -4
- package/dist/assets/{CompanyPassportPage-CYqtLLPi-BZvETxjP.js → CompanyPassportPage-DLIJn7Fp-oxmh8Pcm.js} +14 -14
- package/dist/assets/{CompleteProfile-bz1Sx_Ks-eJUFer6h.js → CompleteProfile-Bf5sNhdg-Bo2AvDlJ.js} +1 -1
- package/dist/assets/{ConfettiBurst-DmQRRfzl-CENtoeqN.js → ConfettiBurst-BPWFB4Ty-0v38oqti.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-R5xXzTyF-B9baa0jh.js → CreateOrEditVendorPage-BTWihvJ--DUStbYOW.js} +8 -8
- package/dist/assets/{CreditCardPaymentDrawerPage-CxFF-ITI-WcUeJ00Z.js → CreditCardPaymentDrawerPage-B5p_onzw-DCjutv5C.js} +11 -11
- package/dist/assets/{CreditCardPaymentPlgSection-D5M15mry-CMaSHERV.js → CreditCardPaymentPlgSection-CTpwe7CS-BcL1YjIs.js} +5 -5
- package/dist/assets/{CurrencySelectField-DdtldGsv-C812lF_Y.js → CurrencySelectField-Dn9EcyiE-BQIfFGfi.js} +7 -7
- package/dist/assets/{CustomerOnboardingActivationPage-S5ljEjEE-Jb-LTm9b.js → CustomerOnboardingActivationPage--C7Nj5oq-JR3YGMUS.js} +2 -2
- package/dist/assets/CustomerOnboardingContainerPage-BDHp6tYk-BLNEL0qV.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-B-aHwtTV-FqYSR0lJ.js → CustomerOnboardingDetailPageSkeleton-BEldzNUC-BEL3C00x.js} +11 -11
- package/dist/assets/{CustomerOnboardingNoStepsPage-D_WXGOKQ-DBupGUX6.js → CustomerOnboardingNoStepsPage-BWPx0oGa-CDRjdq54.js} +4 -4
- package/dist/assets/{CustomerOnboardingPage-D3GUyy20-COjJdfeN.js → CustomerOnboardingPage-CQsXgrSi-DMAOHFB2.js} +6 -6
- package/dist/assets/{CustomerOnboardingProductSuitePage-BcpIczxe-GA6RVDjg.js → CustomerOnboardingProductSuitePage-Ba-hBJDr-D6bzZxGx.js} +4 -4
- package/dist/assets/{Dashboard-D19IvfgJ--DOQVvlB.js → Dashboard-D9a8ZSVk-r42V_isI.js} +1 -1
- package/dist/assets/{DashboardReportPage-DucQv3ZE-CMnuoHmh.js → DashboardReportPage-DC7almyE-DPo9kVmb.js} +18 -18
- package/dist/assets/{DashboardSidebarBackgroundAnimation-zEtk_8x9-CJFT1DkV.js → DashboardSidebarBackgroundAnimation-BZPfkv0W-C5DTnalV.js} +3 -3
- package/dist/assets/{DepositAccTransactionItem-DG7JaTJY-BCT3hCg7.js → DepositAccTransactionItem-D6Pxnskx-DNWsx-r8.js} +5 -5
- package/dist/assets/{DepositAccTransactionListPage-DEDzaAaX-DzTp8c-j.js → DepositAccTransactionListPage-RPv15wO3-g2ti0qw6.js} +2 -2
- package/dist/assets/{DomesticWireDetailsPage-DH4keptD-D01iyx2r.js → DomesticWireDetailsPage-C7SMSdym-4FSz7OmR.js} +1 -1
- package/dist/assets/{DownloadOverlay-DQZd_zyi-B9VMhe_d.js → DownloadOverlay-DSuuIFd2-BOmkiO4Q.js} +18 -18
- package/dist/assets/{DrawerPage-CtDNbXHp-C2cmEeEY.js → DrawerPage-G3indLUm-BloVVmDh.js} +12 -12
- package/dist/assets/EditPeoplePage-B3OUzvId-mGEO8i8C.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-BxzB9b4R-COHPUQv7.js → EditReimbursementDetailPage-BDtXtGDU-C7db0ozx.js} +51 -51
- package/dist/assets/{EntityDetailPage-CuPr64cj-DyxVHR3_.js → EntityDetailPage-Duk7QFjU-4fI6-YD5.js} +3 -3
- package/dist/assets/{EntitySummarySection-CX-KbVbj-CNqoxowU.js → EntitySummarySection-Cr7WMJ8D-CxAoWGpH.js} +7 -7
- package/dist/assets/{ExpenseAutomationOverviewPage-DRFk1z66-B4CXhi6d.js → ExpenseAutomationOverviewPage-hpARiJiY-Cl3fyuZ_.js} +55 -55
- package/dist/assets/{ExpenseAutomationPage-ugq4J-e3-Cq8XKeSo.js → ExpenseAutomationPage-BC5qS_i3-B_dfKUDn.js} +1 -1
- package/dist/assets/{ExpressPayPage-DWFyq0OM-Xap9PWuy.js → ExpressPayPage-I-QL4uh--CR8ltLbL.js} +9 -9
- package/dist/assets/{FeaturePreviewPage-Bdostf75-Co3kb8i2.js → FeaturePreviewPage-BHb59Q7j-BMGHbQAr.js} +2 -2
- package/dist/assets/{FollowStepsSection-CFs_c9UA-C2ivxTgB.js → FollowStepsSection-DONqc9yn-DTdIc25n.js} +9 -9
- package/dist/assets/{GlobalReviewListPage-Cw8nJl7r-ucxhv7FU.js → GlobalReviewListPage-BFAgZIJv-pSG93cS5.js} +11 -11
- package/dist/assets/{HelpButton-DJeoop_B-BbsNSnSE.js → HelpButton-DoSu6q8h-w0fElDGQ.js} +1 -1
- package/dist/assets/{InformationCardStack-DXqbwonQ-D-8qMtbR.js → InformationCardStack-JtvRODJe-BAk9iE1O.js} +4 -4
- package/dist/assets/{InsightsCardStack-7JsHAYeW-ug-71Tgc.js → InsightsCardStack-BEceNZZE-_pfKOcnL.js} +9 -9
- package/dist/assets/{InsightsSection-BkKqEnbT-p9XkPAwR.js → InsightsSection-KsnkYRQw-CjzvB6rM.js} +5 -5
- package/dist/assets/{IntegrationsSettingsPage-DQ_GH1NV-DceBqihU.js → IntegrationsSettingsPage-D4cEY5iJ-Ct8U8ddA.js} +5 -5
- package/dist/assets/{InternationalWireSwiftDetailsPage-B6ER7qfQ-Cn8QyFOw.js → InternationalWireSwiftDetailsPage-Tf_vaD2v-Bx9cBAe-.js} +15 -15
- package/dist/assets/{InternationalWireVerificationPage-hb0w0-FP-CjYCUXS4.js → InternationalWireVerificationPage-qIIqh0iv-Dla3dOLs.js} +15 -15
- package/dist/assets/{InviteFormPage-1dBkKRKs-DciMQTpm.js → InviteFormPage-ByA4uyh2-CUZJDn4x.js} +22 -22
- package/dist/assets/{InvitePageListView-DhpXrg6S-iVD2f3Qa.js → InvitePageListView-0_dBCqFt-HjR3qPdd.js} +44 -44
- package/dist/assets/{InvitePeoplePage-DrHGaYn6-cG76tknZ.js → InvitePeoplePage-C4d-Ov5z-CPj8BOmp.js} +3 -3
- package/dist/assets/InvoiceUploadSection-MEPQPiCt-C4G2s06g.js +140 -0
- package/dist/assets/{IssueChargeCardPage-B_O7rJSC-DBAUNHK1.js → IssueChargeCardPage-C77SyJR9-CUKH1f59.js} +21 -21
- package/dist/assets/{LabeledAddressValue-DWpOvFnM-MVu54lHC.js → LabeledAddressValue-DKKL0jnt-DbFZZVFw.js} +1 -1
- package/dist/assets/LabeledAddressValueField-Ca10mEAm-D8rcZ6WA.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-tNAjM4hM-BvgQqmxU.js → LabeledControlledCheckBoxField-BYk2-ixd-B_p740LF.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-yMTUEfLS-toELldV7.js → LabeledCreatableSingleSelectField-DMhTj1GM-Cqe5AURU.js} +2 -2
- package/dist/assets/LabeledDocumentField-DX4zVKkz-CS1LiAul.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-Dm1etnU5-C8--qfVi.js → LabeledDropDownFormattedTextField-BoizuD7H-Ce48u3nd.js} +5 -5
- package/dist/assets/{LabeledText-BRS0e-dG-BZq4VrX9.js → LabeledText-4NNrEynJ-BDzeNgnU.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Bml1bcSK-BC3kyZqP.js → LabeledUserSingleSelectWithSubtitlesField-DaXDpM0N-DYtP0MFC.js} +10 -10
- package/dist/assets/{LabeledZeniRolesDropDownField-l2veUn4k-CULldLpx.js → LabeledZeniRolesDropDownField-zRamZWIQ-oWeJ0wbt.js} +10 -10
- package/dist/assets/{LinkJETransactionPage-VtgdRNhL-D7ndfEzz.js → LinkJETransactionPage-FMYLsvT_-IUHBR-RO.js} +5 -5
- package/dist/assets/{LowBalancePopup-Dg43FP8p-BLvbua8r.js → LowBalancePopup-Ig5iJGIg-BisR1D9G.js} +4 -4
- package/dist/assets/{MagicLinkACHDetailsPage-UfT8yCmX-DOK_VceA.js → MagicLinkACHDetailsPage-Cf-TvH4n-BBkkCR2W.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-Bgwf3qMA-BfpKCTOv.js → MagicLinkDomesticWireDetailsPage-CLJo-rez-MDjP3aI7.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-B9QWmf9B-Dk7a13qP.js → MagicLinkInternationalWireDetailsPage-C-cD6L4u-Z9qBkl5z.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-SjBCvTm5-8jc-eo0M.js → MagicLinkSuccessPage-cJ0PjYEe-DY9yZh-d.js} +1 -1
- package/dist/assets/MagicLinkTitleSection-Dc8RKV1p-VRc37nwk.js +17 -0
- package/dist/assets/{MailingDetailsSection-Dk8tP8LP-YFImgirq.js → MailingDetailsSection-BD9QWumq-Bo7ZhKA-.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-gebcIIpu-DuyM5Ce0.js → MeetingCalenderPopup-D10SioCO-Sv9k3aJ6.js} +1 -1
- package/dist/assets/{Menu-BeDBbRH8-NbbFIuDT.js → Menu-DV3oFAip-BjpENrFA.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-Bp6o9Mts-4X9R_NQE.js → MyBankConnectionsSettingsPage-jrPeCDe3-C_FxZh14.js} +11 -11
- package/dist/assets/{MyPendingActivationChargeCardListPage-CEWRTVvz-CijMZlz_.js → MyPendingActivationChargeCardListPage-CpaPeIYq-Ckzf1YTL.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-Dvgp3Ycy-DSUbYEGm.js → MyProfileSettingsPage-DLj2PeG9-d2LNa8rI.js} +10 -10
- package/dist/assets/{NavBarWithPicker-XmGu6RQR-C9BXxiKA.js → NavBarWithPicker-CilKdL1D-Z1krBpRG.js} +4 -4
- package/dist/assets/{NavigationArrow-DuEUVDwX-DfD0NIdE.js → NavigationArrow-DvGjNVsn-C-QNklxa.js} +1 -1
- package/dist/assets/{NavigationDots-BcP-rh-K-DS8oU4Qg.js → NavigationDots-BZNvrGBo-CvNSDZNv.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-CI0ohS8I-DWKnTzMp.js → NewGlobalMerchantPage-D5ESBBO5-CiqJ8Tsp.js} +7 -7
- package/dist/assets/{NoDataChart-Cu34Y6fv-CDediDtZ.js → NoDataChart-D9tQhnyu-C94gJNvj.js} +3 -3
- package/dist/assets/{NoDataTable-CPWzH0PE-DkDzGQpn.js → NoDataTable-8FGbkVty-RgNhnWfj.js} +1 -1
- package/dist/assets/{NotFoundPage-yZOAgP9f-BvtMauqa.js → NotFoundPage-D8qvMFgl-BJxrGtQd.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-5bXbyP0i-Dn4CCfRt.js → NotificationSettingsPage-BSJTBlX6-Dh8E-2JN.js} +14 -14
- package/dist/assets/{NotificationsListConfig-DINVh9-P-Cr5z8nJ2.js → NotificationsListConfig-EynMAcn9-B66CEzXh.js} +1 -1
- package/dist/assets/{NotificationsPage-CKcEU-jy-D9LjSHYu.js → NotificationsPage-d4HJEE7S-DignNo6N.js} +21 -21
- package/dist/assets/{OpExByVendorPage-3oQc7n37-ie-HlsGj.js → OpExByVendorPage-CmuEz33W-DHZbqMQl.js} +4 -4
- package/dist/assets/{OverlayContainerPage-Bmu909Fo-c3kkjLHu.js → OverlayContainerPage-Bmu909Fo-BEKpfYXF.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-BPcWHQXd-CtN-h80b.js → PandLWithForecastPage-C7WaIZ8e-AKi0ejYh.js} +11 -11
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-D7JHebDo-BRRsi8Cn.js → PaymentAccountSetupBillingAddressSection-B3m8zs_b-ShdTy6dm.js} +9 -9
- package/dist/assets/{PeoplePage-AdCHl8Rj-GGNGd1tU.js → PeoplePage-BN8tiBew-SMy3y22T.js} +33 -33
- package/dist/assets/PortfolioAllocationFormPage-BD1u1-Or-BP5X7l75.js +207 -0
- package/dist/assets/{PortfolioDetails-DaiiBOps-RHi4PLpn.js → PortfolioDetails-fLO6-kOh-CadDK_zj.js} +14 -14
- package/dist/assets/{ProductsCarousel--PIp0Wwx-1HYPMREY.js → ProductsCarousel-RHO5BWU--BaB4l4pQ.js} +3 -3
- package/dist/assets/{PromoBaseCards-hEn7m0Ea-Dc9Lc6Jd.js → PromoBaseCards-Bm6GGzhn-7qUEmgGZ.js} +2 -2
- package/dist/assets/{QBOConnectionDialog-DByNCCyR-xe7LeSrJ.js → QBOConnectionDialog-Dp_Zkpup-B6ThY6EF.js} +7 -7
- package/dist/assets/{QBOSetupSection-NdDTo0GG-op77rVCs.js → QBOSetupSection-C1hBKDG3-D4_IOTse.js} +13 -13
- package/dist/assets/ReimbursementApprovalRuleDetailPage-DFUyL8tS-CjazMZUR.js +26 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-D13xg5lU-zFGSLUlG.js → ReimbursementApprovalRulesPage-CGb7oMjB-DRxFMpGG.js} +11 -11
- package/dist/assets/{ReimbursementDetailPage-1S7-fp6x-Hi7ghCPV.js → ReimbursementDetailPage-ByD43ffh-CS-2jIxA.js} +8 -8
- package/dist/assets/{ReimbursementPromoPage-TwSf4vIh-CMdRmwjh.js → ReimbursementPromoPage-CPFAYaW8-Tc6w3wrG.js} +20 -20
- package/dist/assets/{ReimbursementSetUpPage-D-g1h8Z7-DKvqAEBO.js → ReimbursementSetUpPage-B_jUtf6N-CH4GgWXW.js} +4 -4
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-nsM0DGyC-BKjafGKk.js → ReimbursementsBulkReviewDrawerPage-DU-QA2n3-CKhaAS5r.js} +1 -1
- package/dist/assets/{ReloadCard-K9SGlmus-DZ7vYKCw.js → ReloadCard-HsDGbgTn-BsloOU08.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-BVw08xMR-S2k8-vyd.js → ReportTableViewSelector-BzFUam8T-BhACNwXr.js} +6 -6
- package/dist/assets/{ReportsPage-DrbFSYgn-Dhzyn189.js → ReportsPage-MQSNDA98-DYJWfk_K.js} +10 -10
- package/dist/assets/{RevenueChart-mib92BSo-vb-0BYYz.js → RevenueChart-BzYEiXeP-CL_U7QVF.js} +29 -29
- package/dist/assets/{ReviewDetailsPage-C5f_GAjv-rA6jgu-n.js → ReviewDetailsPage-w2tTvIFQ-DFmBHsAk.js} +5 -5
- package/dist/assets/ReviewOverlay-DbYrvPld-BPButrhP.js +152 -0
- package/dist/assets/{RoleWithToolTip-C5grx1DM-Bhnk8KKY.js → RoleWithToolTip-B_Ivheco-R8i0Qg5c.js} +6 -6
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BfqQFFiq-CwYQjSQh.js → ScheduleDetailsFixedAssetsPage-CSiXckiF-snYrLXiT.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-DkNwuZzq-Dw4BBNuN.js → ScheduleDetailsPage-BUprw9Sk-CY06UcmD.js} +4 -4
- package/dist/assets/{ScheduleSequenceTable-CviQlsxi-BixaGSYy.js → ScheduleSequenceTable-DnIgU9m6-CTOQUShp.js} +18 -18
- package/dist/assets/{ScreenRoutes-BOEZc6DS.js → ScreenRoutes-Df5fPQoi.js} +1 -1
- package/dist/assets/{SetUpAccountSection-d5HPps92-DZbUJeeo.js → SetUpAccountSection-DDxjcjeg-CBwjkDjl.js} +10 -10
- package/dist/assets/{SetUpDefaultSection-D1OXPM9M-2zaSn3KY.js → SetUpDefaultSection-BSWh5Hvi-BrKOFekt.js} +14 -14
- package/dist/assets/{SignIn-tpfovElQ-C4991EnD.js → SignIn-CImCEnZS-CTfoa2RW.js} +23 -23
- package/dist/assets/{SignInScreen-DgNycLfV.js → SignInScreen-DOATVkIe.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-B3t2U-Lq-GWfzNKhc.js → SpendManagementListViewPage-B61K65wh-DBswKLKE.js} +6 -6
- package/dist/assets/{SpendManagementPerTabPage-vATAr6zx-sNIcyb2f.js → SpendManagementPerTabPage-Bxo7BTP3-BTpFLD01.js} +11 -11
- package/dist/assets/{SpendManagementSection-C8S1zv_Z-D1UddAHC.js → SpendManagementSection-Ddoo9sSg-BrfWcTur.js} +11 -11
- package/dist/assets/{SpendMgmtSetupAccountSection-C3n3CKZp-DgPqGmio.js → SpendMgmtSetupAccountSection-GjJmiN01-CfomDHm3.js} +19 -19
- package/dist/assets/{StatementItem-C2VaQMdB-GityFkee.js → StatementItem-D_ctLWr0-D0j_MHXQ.js} +5 -5
- package/dist/assets/StatementsPage-D1M95WeY-CnAx-9oR.js +58 -0
- package/dist/assets/{StatusSwitcher-CI_4NJc0-D3kMd2Ls.js → StatusSwitcher-ZC7lyTov-GCiWQPGY.js} +4 -4
- package/dist/assets/{SubTabSwitcher-CKh0fbAL-CZyzUbuM.js → SubTabSwitcher-BNFnbB_T-DaWGnnx_.js} +1 -1
- package/dist/assets/{SummaryCard-56XeB7PA-B87JqDih.js → SummaryCard-CSo1L2R4-Biw8Izdi.js} +1 -1
- package/dist/assets/{TaskManagementPage-el6vudQA-DkYDl2e-.js → TaskManagementPage-CAcMcS83-D_9dscfp.js} +14 -14
- package/dist/assets/{TimeRangeSwitcher-X1sd0HJo-D3i-wisc.js → TimeRangeSwitcher-CNdJhUPl-Lk4TfGUR.js} +5 -5
- package/dist/assets/{TimeframeSwitcher-TLcNg_CN-98HiGYj7.js → TimeframeSwitcher-B7t79hiQ-DXBKb0F7.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-Cnlgngu_-BVr6cN7Q.js → TimeframeSwitcherWithToggle-gywVFoaK-CKJ0rtbC.js} +1 -1
- package/dist/assets/{TopExCard-BuCdMdGn-DzugoAzP.js → TopExCard-D_LHVo5q-kM42LZ8h.js} +4 -4
- package/dist/assets/{TopExDetailPage-DJwK85mY-BLlAa0Mx.js → TopExDetailPage-DuiVBT_3--4JswmJo.js} +13 -13
- package/dist/assets/{TransactionDetailPage-fKLOaC53-B4PLnewq.js → TransactionDetailPage-BWbWafDA-BA5tAQ-_.js} +33 -33
- package/dist/assets/{TransactionList-vNVcmGH2-B0OTKj50.js → TransactionList-Xd2JupaK-ME3jRgkK.js} +7 -7
- package/dist/assets/{TransactionListBig-C_1iHb-m-7xzK-ehO.js → TransactionListBig-CnJaFkxR-rlrfsVcy.js} +19 -19
- package/dist/assets/{TransactionListPage-vE1jowuA-CVyTABcH.js → TransactionListPage-DJXFQaro-6w510avL.js} +2 -2
- package/dist/assets/{TransactionVendorDetailPage-C9wGiyJs-DnpJgf-D.js → TransactionVendorDetailPage-Yd_VuyUP-3bCwp_zG.js} +4 -4
- package/dist/assets/{TransferDrawerPage-6AaaV1fR-CcXij2fb.js → TransferDrawerPage-DAQ23FUW-Zp14Y_jD.js} +27 -27
- package/dist/assets/{TreasuryOverviewPage-8z3dgsQ--0GGyt5L1.js → TreasuryOverviewPage-D7PkIffG-CctuefA8.js} +26 -26
- package/dist/assets/{TreasuryPromoPage-BRZCU7u0-YXB-IJNp.js → TreasuryPromoPage-BjVUBF-M-CeyEfLuA.js} +33 -33
- package/dist/assets/{TreasurySetupPage-BietgoUm-DuvVLyjQ.js → TreasurySetupPage-CTwhrB6V-Bbh2Nemp.js} +5 -5
- package/dist/assets/{TreasuryStatementsPage-BrTZ2Tc9-CuYVtjaG.js → TreasuryStatementsPage-jvmgqTxl-bbGSjEnB.js} +3 -3
- package/dist/assets/{TreasuryTaxLetterPage-Bm8Kh9ci-D-bqdUc-.js → TreasuryTaxLetterPage-CtKw-_Ab-DpqHDLut.js} +2 -2
- package/dist/assets/{TreasuryTransferOrReviewPage-DAsCB5hY-CGMzbTrq.js → TreasuryTransferOrReviewPage-HDfVKjSA-D8yPiIy_.js} +37 -37
- package/dist/assets/{TrendChart-CDuKYDbr-Bn9DvEcA.js → TrendChart-BqU6zv7L-wkRyWRpL.js} +4 -4
- package/dist/assets/{TrendWithTransactions-CXFGBD3a-COfDIjjP.js → TrendWithTransactions-CbzZEtLk-CdMXYj1c.js} +4 -4
- package/dist/assets/{UncategorizedAccountsMappingPage-CZp60Srt-CzRmIywg.js → UncategorizedAccountsMappingPage-BqfWXEzv-Cz9H5I4W.js} +11 -11
- package/dist/assets/{UnitIntegrationPage-Bt3BsIP--CS7__SGc.js → UnitIntegrationPage-DOt0PQxi-x_I9Vs5M.js} +4 -4
- package/dist/assets/{UploadAdditionalDocumentOverlay-CiKy5Nj7-B-MuYA3T.js → UploadAdditionalDocumentOverlay-DCG_biA8-DwZNYXuq.js} +2 -2
- package/dist/assets/{Vendor2FAPopup-mpeQ7vp6-drhI-HQb.js → Vendor2FAPopup-AFJ4ji6z-DAWxFDI5.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-DaH6D39U-CWjco5Dp.js → VendorACHDetailsPage-CMZezqhj-omVFdTVD.js} +1 -1
- package/dist/assets/{VendorDetailPage--NEui4cR-CjVNfg_w.js → VendorDetailPage-iMWNwLtE-B5NQ34jt.js} +16 -16
- package/dist/assets/{VendorDomesticWireDetailsPage-ZpWio-lR-C61aUqHr.js → VendorDomesticWireDetailsPage-LLQSi6rq-JFMiqG0a.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-BH50orlv-D4s1kmxT.js → VendorFiling1099EditablePage-BFWuxMl8-CXYevD1L.js} +16 -16
- package/dist/assets/{VendorFirstReviewPage-F3ufon8s-De09Hv60.js → VendorFirstReviewPage-G_Cr6q5s-qjW-FU9s.js} +18 -18
- package/dist/assets/{VendorInternationalWireDetailsPage-BFCRIyx4-lseeqNrB.js → VendorInternationalWireDetailsPage-DReuPGpX-J63QxGJH.js} +10 -10
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-Bsw5XWc5-Cxyk29cs.js → VendorInternationalWireSwiftDetailsPage-CmAzQ-7v-D44Jz7aO.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-DyEqMESi-D9e9kicf.js → VendorsAccountsSection-Cjwpb7Ej-Cx7NEKJj.js} +2 -2
- package/dist/assets/{VerifyDevice-Cghi40l4-ThU6PIgT.js → VerifyDevice-CvJ2zJdk-DMGMblcz.js} +10 -10
- package/dist/assets/{VideoPlayer-BqxR2aZr-C4HSzI7g.js → VideoPlayer-9UKbocWs-CskDssHe.js} +1 -1
- package/dist/assets/{VideoPopup-RZCI8_Gx-CwtDMYFf.js → VideoPopup-DfQxE-EQ-DMlN8l45.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-ChJqfUoo-C8vzQoCW.js → WarningsDrawerPage-2QsB6DYE-SQ5KLE5P.js} +9 -9
- package/dist/assets/{ZeniAccountDetailPage-BVl5QTX2-DcQoIUQu.js → ZeniAccountDetailPage-gFXGgRzS-DY2FypIA.js} +18 -18
- package/dist/assets/{ZeniAccountListViewPage-CsAF1Cyb-D_F8pojL.js → ZeniAccountListViewPage-Daboqhbe-C9ys4A5t.js} +12 -12
- package/dist/assets/ZeniAccountNavBarPieces-DhpbtWHu-gWttgZ20.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-Bdx-nwJO-CAY8oVsD.js → ZeniAccountPromoPage-Df5MahOc-B26r14Mi.js} +21 -21
- package/dist/assets/{ZeniAccountSetupPage-vZ7vjnBw-63QHHhU4.js → ZeniAccountSetupPage-DLlRCOCj-ChweJElI.js} +1 -1
- package/dist/assets/{ZeniCopyright-CpkvfVwM-CpIzcf5N.js → ZeniCopyright-D-Z193Re-BzgSGNSq.js} +1 -1
- package/dist/assets/ZeniTransferAmountSlider-D8dT_-Hq-BM5AfJxY.js +63 -0
- package/dist/assets/{analytics-Dr_Q0qi5.js → analytics-CcevxdRy.js} +19 -19
- package/dist/assets/{analyticsHelper-B29pAXmB.js → analyticsHelper-HFa4L7zM.js} +1 -1
- package/dist/assets/{analyticsHelper-nzXGHX-f-DDF_mzG5.js → analyticsHelper-c9SRwhe3-rKFHsE9O.js} +1 -1
- package/dist/assets/{chartTypes-DJwqK5Pl-BjORIfWQ.js → chartTypes-C2jC2nzT-B64Jl2-O.js} +1 -1
- package/dist/assets/{commonDimensions-BI8wHGzb-vF0LFeSK.js → commonDimensions-CtVQ1dPI-BWfVCzLH.js} +1 -1
- package/dist/assets/{crypto-Ccg-ICil.js → crypto-CK3r1iTV.js} +1 -1
- package/dist/assets/{detailCommon-BqVKB773-C2U67xrp.js → detailCommon-BBImn49A-BK4c1Pxj.js} +6 -6
- package/dist/assets/{downloadPdf-BET_DSP9-DmgSWYo3.js → downloadPdf-BvdzZp_S-DQnizCwq.js} +1 -1
- package/dist/assets/{index-IgYBqF_x.js → index-DESjn-8d.js} +3503 -3503
- package/dist/assets/{mapLoadingInProgressToTreeNode-BrrNGuAc-CqsUk4Uv.js → mapLoadingInProgressToTreeNode-CKsE235C-BIU8Mfd7.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Dwov7nU5-BqLpmvIL.js → mapSectionWithAcOnlyToTreeNode-D1DheCOl-DwSkrZHk.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-CgMaqSi_-CjubQCh8.js → mapSpacerToTreeNode-DkIeEOlL-Pn1zCywK.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BrNgTlbp-CrsNT2yx.js → mapTimeframeBalancesToTreeNode-BhmM7oKt-BQL5w7UJ.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-Brqz18bN-TNhDDil7.js → mapTimeframeBalancesToTreeNode-Vy-w7j2m-DzRWaem3.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-UT-UQHkH-D9cTp9HM.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CGrrLYwc-B0qlbSf3.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-CAwHN54Z-Dl4_Ib5c.js → toCOABalancesWithID-BdeWiors-BqeL9v71.js} +1 -1
- package/dist/assets/{toChartData-pW2XLZo--pfboHwjV.js → toChartData-BCFss2y_-DT7ekoOJ.js} +1 -1
- package/dist/assets/{treasuryColorHelper-CdOoL_vC-BdLikaU-.js → treasuryColorHelper-BJcGoSGt-CBJKPFpW.js} +1 -1
- package/dist/assets/{uploadAttachment-nqQ-JycC-9pV7MrnE.js → uploadAttachment-PMsRrXUz-BBJRkZzC.js} +20 -20
- package/dist/assets/{uploadReceipts-dxsKhm9I-2_GAIK6m.js → uploadReceipts-dxsKhm9I-Bda3Op9y.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-DZnFgkJZ-DDsy2m6t.js +0 -21
- package/dist/assets/BankAccountWarningSection-BS0dlrJ3-BaiUaE4V.js +0 -51
- package/dist/assets/BillDetailPage-CuVdQqQW-IOfqi65V.js +0 -266
- package/dist/assets/CardNumberSubText-uxqTFnFX--LrYHxfC.js +0 -21
- package/dist/assets/ChargeCardUtils-Bptae9Pt-CYq-MsYY.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-B8_LR61d-DZh0ZsS1.js +0 -1
- package/dist/assets/EditPeoplePage-ZzjDJoTQ-DidkWXNI.js +0 -55
- package/dist/assets/InvoiceUploadSection-D79UFJii-FhgETgPb.js +0 -140
- package/dist/assets/LabeledAddressValueField-DxW5wUY3-fZGEKDYY.js +0 -45
- package/dist/assets/LabeledDocumentField-BQDoGQsy-DjCrwjKi.js +0 -41
- package/dist/assets/MagicLinkTitleSection-b4t7XGb8-Bc_IiT_b.js +0 -17
- package/dist/assets/PortfolioAllocationFormPage-DJVrByWQ-MfVlBQJr.js +0 -207
- package/dist/assets/ReimbursementApprovalRuleDetailPage-CCTo6kvJ-BhsLlWsu.js +0 -26
- package/dist/assets/ReviewOverlay-CFgWwm-p-BrjMlpfM.js +0 -152
- package/dist/assets/StatementsPage-DD2PvuDv-CJO0D7Zd.js +0 -58
- package/dist/assets/ZeniAccountNavBarPieces-BlVvO8S4-Bu0wNDog.js +0 -14
- package/dist/assets/ZeniTransferAmountSlider-H-uhh5z4-DVStaopp.js +0 -63
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import{eS as pe,
|
|
2
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var R=function(e,r,n){var a=!!n,s=l.useRef(n);l.useEffect(function(){s.current=n},[n]),l.useEffect(function(){if(!a||!e)return function(){};var c=function(){s.current&&s.current.apply(s,arguments)};return e.on(r,c),function(){e.off(r,c)}},[a,r,e,s])},se=function(e){var r=l.useRef(e);return l.useEffect(function(){r.current=e},[e]),r.current},K=function(e){return e!==null&&re(e)==="object"},rt=function(e){return K(e)&&typeof e.then=="function"},nt=function(e){return K(e)&&typeof e.elements=="function"&&typeof e.createToken=="function"&&typeof e.createPaymentMethod=="function"&&typeof e.confirmCardPayment=="function"},ve="[object Object]",at=function t(e,r){if(!K(e)||!K(r))return e===r;var n=Array.isArray(e),a=Array.isArray(r);if(n!==a)return!1;var s=Object.prototype.toString.call(e)===ve,c=Object.prototype.toString.call(r)===ve;if(s!==c)return!1;if(!s&&!n)return e===r;var m=Object.keys(e),o=Object.keys(r);if(m.length!==o.length)return!1;for(var h={},f=0;f<m.length;f+=1)h[m[f]]=!0;for(var x=0;x<o.length;x+=1)h[o[x]]=!0;var g=Object.keys(h);if(g.length!==m.length)return!1;var w=e,P=r,S=function($){return t(w[$],P[$])};return g.every(S)},Ie=function(e,r,n){return K(e)?Object.keys(e).reduce(function(a,s){var c=!K(r)||!at(e[s],r[s]);return n.includes(s)?(c&&console.warn("Unsupported prop change: options.".concat(s," is not a mutable property.")),a):c?ge(ge({},a||{}),{},$e({},s,e[s])):a},null):null},Oe="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.",ye=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe;if(e===null||nt(e))return e;throw new Error(r)},ot=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe;if(rt(e))return{tag:"async",stripePromise:Promise.resolve(e).then(function(a){return ye(a,r)})};var n=ye(e,r);return n===null?{tag:"empty"}:{tag:"sync",stripe:n}},st=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"}))},ne=l.createContext(null);ne.displayName="ElementsContext";var Ue=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},ze=function(e){var r=e.stripe,n=e.options,a=e.children,s=l.useMemo(function(){return ot(r)},[r]),c=l.useState(function(){return{stripe:s.tag==="sync"?s.stripe:null,elements:s.tag==="sync"?s.stripe.elements(n):null}}),m=Ae(c,2),o=m[0],h=m[1];l.useEffect(function(){var g=!0,w=function(S){h(function(j){return j.stripe?j:{stripe:S,elements:S.elements(n)}})};return s.tag==="async"&&!o.stripe?s.stripePromise.then(function(P){P&&g&&w(P)}):s.tag==="sync"&&!o.stripe&&w(s.stripe),function(){g=!1}},[s,o,n]);var f=se(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 x=se(n);return l.useEffect(function(){if(o.elements){var g=Ie(n,x,["clientSecret","fonts"]);g&&o.elements.update(g)}},[n,x,o.elements]),l.useEffect(function(){st(o.stripe)},[o.stripe]),l.createElement(ne.Provider,{value:o},a)};ze.propTypes={stripe:p.any,options:p.object};var it=function(e){var r=l.useContext(ne);return Ue(r,e)},ct=function(){var e=it("calls useElements()"),r=e.elements;return r};p.func.isRequired;var Te=l.createContext(null);Te.displayName="CustomCheckoutSdkContext";var lt=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},ut=l.createContext(null);ut.displayName="CustomCheckoutContext";p.any,p.shape({clientSecret:p.string.isRequired,elementsOptions:p.object}).isRequired;var ie=function(e){var r=l.useContext(Te),n=l.useContext(ne);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?lt(r,e):Ue(n,e)},dt=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},C=function(e,r){var n="".concat(dt(e),"Element"),a=function(o){var h=o.id,f=o.className,x=o.options,g=x===void 0?{}:x,w=o.onBlur,P=o.onFocus,S=o.onReady,j=o.onChange,$=o.onEscape,D=o.onClick,
|
|
1
|
+
import{eS as pe,R as le,a2 as Me,v as te,o as u,f as H,e as ue,j as i,bo as De,u as Re,cn as Ve,a8 as ae,C as oe,aS as qe,br as Fe,y as ke,a4 as He,d as me,q as Ke,gn as Je,n as Ge,X as Xe}from"./index-DESjn-8d.js";import{f as l,b as O,n as y}from"./vendor-rkTZJa59.js";import{P as p}from"./mui-C42whWwM.js";import{O as Ye}from"./SetUpAccountSection-DDxjcjeg-CBwjkDjl.js";function fe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function ge(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?fe(Object(r),!0).forEach(function(n){$e(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fe(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function re(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?re=function(e){return typeof e}:re=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},re(t)}function $e(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ae(t,e){return Ze(t)||Qe(t,e)||et(t,e)||tt()}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=[],a=!0,s=!1,c,m;try{for(r=r.call(t);!(a=(c=r.next()).done)&&(n.push(c.value),!(e&&n.length===e));a=!0);}catch(o){s=!0,m=o}finally{try{!a&&r.return!=null&&r.return()}finally{if(s)throw m}}return n}}function et(t,e){if(t){if(typeof t=="string")return he(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 he(t,e)}}function he(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 tt(){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 R=function(e,r,n){var a=!!n,s=l.useRef(n);l.useEffect(function(){s.current=n},[n]),l.useEffect(function(){if(!a||!e)return function(){};var c=function(){s.current&&s.current.apply(s,arguments)};return e.on(r,c),function(){e.off(r,c)}},[a,r,e,s])},se=function(e){var r=l.useRef(e);return l.useEffect(function(){r.current=e},[e]),r.current},K=function(e){return e!==null&&re(e)==="object"},rt=function(e){return K(e)&&typeof e.then=="function"},nt=function(e){return K(e)&&typeof e.elements=="function"&&typeof e.createToken=="function"&&typeof e.createPaymentMethod=="function"&&typeof e.confirmCardPayment=="function"},ve="[object Object]",at=function t(e,r){if(!K(e)||!K(r))return e===r;var n=Array.isArray(e),a=Array.isArray(r);if(n!==a)return!1;var s=Object.prototype.toString.call(e)===ve,c=Object.prototype.toString.call(r)===ve;if(s!==c)return!1;if(!s&&!n)return e===r;var m=Object.keys(e),o=Object.keys(r);if(m.length!==o.length)return!1;for(var h={},f=0;f<m.length;f+=1)h[m[f]]=!0;for(var x=0;x<o.length;x+=1)h[o[x]]=!0;var g=Object.keys(h);if(g.length!==m.length)return!1;var w=e,P=r,S=function($){return t(w[$],P[$])};return g.every(S)},Ie=function(e,r,n){return K(e)?Object.keys(e).reduce(function(a,s){var c=!K(r)||!at(e[s],r[s]);return n.includes(s)?(c&&console.warn("Unsupported prop change: options.".concat(s," is not a mutable property.")),a):c?ge(ge({},a||{}),{},$e({},s,e[s])):a},null):null},Oe="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.",ye=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe;if(e===null||nt(e))return e;throw new Error(r)},ot=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe;if(rt(e))return{tag:"async",stripePromise:Promise.resolve(e).then(function(a){return ye(a,r)})};var n=ye(e,r);return n===null?{tag:"empty"}:{tag:"sync",stripe:n}},st=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"}))},ne=l.createContext(null);ne.displayName="ElementsContext";var Ue=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},ze=function(e){var r=e.stripe,n=e.options,a=e.children,s=l.useMemo(function(){return ot(r)},[r]),c=l.useState(function(){return{stripe:s.tag==="sync"?s.stripe:null,elements:s.tag==="sync"?s.stripe.elements(n):null}}),m=Ae(c,2),o=m[0],h=m[1];l.useEffect(function(){var g=!0,w=function(S){h(function(j){return j.stripe?j:{stripe:S,elements:S.elements(n)}})};return s.tag==="async"&&!o.stripe?s.stripePromise.then(function(P){P&&g&&w(P)}):s.tag==="sync"&&!o.stripe&&w(s.stripe),function(){g=!1}},[s,o,n]);var f=se(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 x=se(n);return l.useEffect(function(){if(o.elements){var g=Ie(n,x,["clientSecret","fonts"]);g&&o.elements.update(g)}},[n,x,o.elements]),l.useEffect(function(){st(o.stripe)},[o.stripe]),l.createElement(ne.Provider,{value:o},a)};ze.propTypes={stripe:p.any,options:p.object};var it=function(e){var r=l.useContext(ne);return Ue(r,e)},ct=function(){var e=it("calls useElements()"),r=e.elements;return r};p.func.isRequired;var Te=l.createContext(null);Te.displayName="CustomCheckoutSdkContext";var lt=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},ut=l.createContext(null);ut.displayName="CustomCheckoutContext";p.any,p.shape({clientSecret:p.string.isRequired,elementsOptions:p.object}).isRequired;var ie=function(e){var r=l.useContext(Te),n=l.useContext(ne);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?lt(r,e):Ue(n,e)},dt=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},C=function(e,r){var n="".concat(dt(e),"Element"),a=function(o){var h=o.id,f=o.className,x=o.options,g=x===void 0?{}:x,w=o.onBlur,P=o.onFocus,S=o.onReady,j=o.onChange,$=o.onEscape,D=o.onClick,V=o.onLoadError,q=o.onLoaderStart,N=o.onNetworksChange,A=o.onConfirm,J=o.onCancel,B=o.onShippingAddressChange,M=o.onShippingRateChange,U=ie("mounts <".concat(n,">")),T="elements"in U?U.elements:null,E="customCheckoutSdk"in U?U.customCheckoutSdk:null,z=l.useState(null),_=Ae(z,2),v=_[0],W=_[1],L=l.useRef(null),F=l.useRef(null);R(v,"blur",w),R(v,"focus",P),R(v,"escape",$),R(v,"click",D),R(v,"loaderror",V),R(v,"loaderstart",q),R(v,"networkschange",N),R(v,"confirm",A),R(v,"cancel",J),R(v,"shippingaddresschange",B),R(v,"shippingratechange",M),R(v,"change",j);var G;S&&(e==="expressCheckout"?G=S:G=function(){S(v)}),R(v,"ready",G),l.useLayoutEffect(function(){if(L.current===null&&F.current!==null&&(T||E)){var I=null;E?I=E.createElement(e,g):T&&(I=T.create(e,g)),L.current=I,W(I),I&&I.mount(F.current)}},[T,E,g]);var de=se(g);return l.useEffect(function(){if(L.current){var I=Ie(g,de,["paymentRequest"]);I&&L.current.update(I)}},[g,de]),l.useLayoutEffect(function(){return function(){if(L.current&&typeof L.current.destroy=="function")try{L.current.destroy(),L.current=null}catch{}}},[]),l.createElement("div",{id:h,className:f,ref:F})},s=function(o){ie("mounts <".concat(n,">"));var h=o.id,f=o.className;return l.createElement("div",{id:h,className:f})},c=r?s:a;return c.propTypes={id:p.string,className:p.string,onChange:p.func,onBlur:p.func,onFocus:p.func,onReady:p.func,onEscape:p.func,onClick:p.func,onLoadError:p.func,onLoaderStart:p.func,onNetworksChange:p.func,onConfirm:p.func,onCancel:p.func,onShippingAddressChange:p.func,onShippingRateChange:p.func,options:p.object},c.displayName=n,c.__elementType=e,c},b=typeof window>"u",pt=l.createContext(null);pt.displayName="EmbeddedCheckoutProviderContext";var mt=function(){var e=ie("calls useStripe()"),r=e.stripe;return r};C("auBankAccount",b);C("card",b);var Se=C("cardNumber",b),Ce=C("cardExpiry",b),be=C("cardCvc",b);C("fpxBank",b);C("iban",b);C("idealBank",b);C("p24Bank",b);C("epsBank",b);C("payment",b);C("expressCheckout",b);C("paymentRequestButton",b);C("linkAuthentication",b);C("address",b);C("shippingAddress",b);C("paymentMethodMessaging",b);C("affirmMessage",b);C("afterpayClearpayMessage",b);var _e="https://js.stripe.com/v3",ft=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/;var gt=function(){for(var e=document.querySelectorAll('script[src^="'.concat(_e,'"]')),r=0;r<e.length;r++){var n=e[r];if(ft.test(n.src))return n}return null},xe=function(e){var r="",n=document.createElement("script");n.src="".concat(_e).concat(r);var a=document.head||document.body;if(!a)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return a.appendChild(n),n},ht=function(e,r){!e||!e._registerWrapper||e._registerWrapper({name:"stripe-js",version:"4.3.0",startTime:r})},X=null,Q=null,ee=null,vt=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 X!==null?X:(X=new Promise(function(r,n){if(typeof window>"u"||typeof document>"u"){r(null);return}if(window.Stripe){r(window.Stripe);return}try{var a=gt();if(!(a&&e)){if(!a)a=xe(e);else if(a&&ee!==null&&Q!==null){var s;a.removeEventListener("load",ee),a.removeEventListener("error",Q),(s=a.parentNode)===null||s===void 0||s.removeChild(a),a=xe(e)}}ee=yt(r,n),Q=vt(n),a.addEventListener("load",ee),a.addEventListener("error",Q)}catch(c){n(c);return}}),X.catch(function(r){return X=null,Promise.reject(r)}))},Ct=function(e,r,n){if(e===null)return null;var a=e.apply(void 0,r);return ht(a,n),a},Y,We=!1,Ne=function(){return Y||(Y=St(null).catch(function(e){return Y=null,Promise.reject(e)}),Y)};Promise.resolve().then(function(){return Ne()}).catch(function(t){We||console.warn(t)});var bt=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];We=!0;var a=Date.now();return Ne().then(function(s){return Ct(s,r,a)})};const xt={containerHeight:new oe(656,720)},Pt=y.div`
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
5
5
|
gap: 20px;
|
|
@@ -74,7 +74,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
74
74
|
`,Pe=y.span`
|
|
75
75
|
height: ${u.sp8};
|
|
76
76
|
display: none;
|
|
77
|
-
`,
|
|
77
|
+
`,Be=y(ke)`
|
|
78
78
|
display: flex;
|
|
79
79
|
flex-direction: row;
|
|
80
80
|
align-items: center;
|
|
@@ -86,22 +86,22 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
86
86
|
color: ${t=>t.theme.colors.hero};
|
|
87
87
|
text-align: center;
|
|
88
88
|
margin-top: ${u.sp2};
|
|
89
|
-
`,Ee=t=>`${t}_form`,je="CardPaymentPaymentForm",Tt=({cardPaymentView:t,clientSecret:e,cardSetupInProgress:r,handleConfirmCardSetupIntent:n,updateCardPaymentModalState:a,handleAddCardPaymentSource:s,setCardSetupInProgress:c})=>{const m=mt(),o=ct(),[h,f]=O.useState(!1),[x,g]=O.useState(!1),[w,P]=O.useState(!1),[S,j]=O.useState(!1),$=ue(),D=t.cardSetupConfirmStatus.fetchState,
|
|
89
|
+
`,Ee=t=>`${t}_form`,je="CardPaymentPaymentForm",Tt=({cardPaymentView:t,clientSecret:e,cardSetupInProgress:r,handleConfirmCardSetupIntent:n,updateCardPaymentModalState:a,handleAddCardPaymentSource:s,setCardSetupInProgress:c})=>{const m=mt(),o=ct(),[h,f]=O.useState(!1),[x,g]=O.useState(!1),[w,P]=O.useState(!1),[S,j]=O.useState(!1),$=ue(),D=t.cardSetupConfirmStatus.fetchState,V=t.addCardPaymentSourceStatus.fetchState,q=t.cardSetupIntentStatus.fetchState,[N,A]=O.useState(!1),J=async E=>{if(E.preventDefault(),!m||!o)return;const z=o.getElement(Se),_=o.getElement(Ce),v=o.getElement(be);(!z||!_||!v)&&A(!0),j(!0),c(!0),z!=null&&_!=null&&v!=null&&m.confirmCardSetup(e,{payment_method:{card:z}}).then(W=>{j(!1),n(W),W.setupIntent?.id!=null&&s("card","payment_intent",W.setupIntent?.id)}).catch(()=>{j(!1),setTimeout(()=>{c(!1)},2e3)})},B=Re(),M={showIcon:!0,style:{base:{...te.standardRegular.cssObject,color:B.colors.primary,"::placeholder":{color:B.colors.grey2}},invalid:{color:H.important,iconColor:H.important}}},U=D==="In-Progress"||V==="In-Progress"||q==="In-Progress"||S===!0||r===!0,T=h||x||w||D==="In-Progress"||V==="In-Progress"||q==="In-Progress"||S===!0||r===!0;return i.jsx(Lt,{windowSize:$,children:i.jsxs(wt,{onSubmit:J,id:Ee(je),children:[i.jsxs($t,{children:[i.jsx(At,{children:i.jsx(It,{children:i.jsx(Se,{options:M,onChange:E=>f(!!E.error)})})}),i.jsx(Ot,{children:i.jsxs(Rt,{children:[i.jsx(Pe,{children:k.cardNumber}),i.jsx(Ce,{options:M,onChange:E=>g(!!E.error)})]})}),i.jsx(Ut,{children:i.jsxs(kt,{children:[i.jsx(Pe,{children:k.CVC}),i.jsx(be,{options:M,onChange:E=>P(!!E.error)})]})})]}),t.cardSetupConfirmStatus.error||N?i.jsx(Be,{children:k.errorMsg}):null,i.jsx(He,{style:{width:"100%",padding:`${u.sp3} 0 0 0`,borderTop:"none",position:"inherit"},formId:Ee(je),primaryBtn:{label:we.linkCard,style:{width:"104px",height:u.sp6},isLoading:U,isDisabled:T,type:"submit"},cancelBtn:{label:we.cancel,style:{width:"104px",height:u.sp6},onClick:()=>{a(!1)}}}),i.jsxs(zt,{windowSize:$,children:[k.terms.term1,i.jsx(me,{href:k.terms.term2Link,linkText:k.terms.term2}),k.terms.term3,i.jsx(me,{href:k.terms.term4Link,linkText:k.terms.term4})]})]})})},Gt=({isCardPaymentOpen:t,cardPaymentView:e,stripeKey:r,cardSetupInProgress:n,handleConfirmCardSetupIntent:a,updateCardPaymentModalState:s,handleCreateCardSetupIntent:c,handleAddCardPaymentSource:m,handleResetCardPaymentErrorStatuses:o,setCardSetupInProgress:h})=>{const[f,x]=O.useState(""),g=bt(r),w=Me(e.addCardPaymentSourceStatus.fetchState),P=e.addCardPaymentSourceStatus.fetchState;O.useEffect(()=>(c(["card"]),()=>{s(!1),x(""),o()}),[]),O.useEffect(()=>{o()},[t]),O.useEffect(()=>{w==="In-Progress"&&P==="Error"?(h(!1),setTimeout(()=>{s(!1)},2e3)):w==="In-Progress"&&P==="Completed"&&(c(["card"]),setTimeout(()=>{s(!1),h(!1)},2e3))},[w,P]),O.useEffect(()=>{(e.cardSetupConfirmStatus.error||e.addCardPaymentSourceStatus.error)&&(c(["card"]),setTimeout(()=>{h(!1)},2e3))},[e.cardSetupConfirmStatus.error,e.addCardPaymentSourceStatus.error]),O.useEffect(()=>{e.clientSecret!=null&&x(e.clientSecret)},[e.clientSecret]);const S={theme:"stripe",variables:{borderRadius:u.sp1,fontSizeBase:te.standardRegular.fontSize,fontFamily:te.standardRegular.fontFamily},rules:{".Input":{border:`1px solid ${H.neutralGrey3Light}`,borderRadius:u.sp1,padding:"10px",fontSize:te.standardRegular.fontSize}}},j={clientSecret:f,appearance:S},$=ue();return i.jsx(De,{open:t,children:i.jsxs(Pt,{windowSize:$,isError:!!e.cardSetupConfirmStatus.error,children:[i.jsx(Et,{children:k.title}),i.jsx(jt,{children:k.subtitle}),f&&g!=null?i.jsx(ze,{options:j,stripe:g,children:i.jsx(Tt,{clientSecret:f,handleConfirmCardSetupIntent:a,updateCardPaymentModalState:s,handleAddCardPaymentSource:m,cardPaymentView:e,cardSetupInProgress:n,setCardSetupInProgress:h})}):i.jsx(Be,{children:k.errorMsg})]})})},{cardBrands:d}=le.getLocalizedStrings().cardPayment,ce={visa:{name:d.visa,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/visa.svg"},mastercard:{name:d.mastercard,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/mastercard.svg"},american_express:{name:d.american_express,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/amex.svg"},discover:{name:d.discover,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/discover-global.svg"},jcb:{name:d.jcb,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/jcb-card.svg"},diners_club:{name:d.diners_club,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/dinersclub.svg"},unionpay:{name:d.unionpay,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},rupay:{name:d.rupay,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/rupay-card.svg"},bancontact:{name:d.bancontact,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},cmr_falabella:{name:d.cmr_falabella,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},tarjeta_naranja:{name:d.tarjeta_naranja,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},nativa:{name:d.nativa,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},cencosud:{name:d.cencosud,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},cabal:{name:d.cabal,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},argencard:{name:d.argencard,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},elo:{name:d.elo,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/elo-card.svg"},hipercard:{name:d.hipercard,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/hipercard.svg"},carnet:{name:d.carnet,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/carnet.svg"},maestro:{name:d.maestro,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/maestro.svg"},not_applicable:{name:d.not_applicable,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},eftpos_australia:{name:d.eftpos_australia,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},girocard:{name:d.girocard,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},other:{name:d.other,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},unknown:{name:d.unknown,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"}},Z={sectionWidth:new oe(343,580,726),iconWidthHeight:new oe(20,Ke[4])},_t={title:new Xe("standardSemiBold","largeSemiBold")},Le=t=>t?ce[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:`${pe(ce[n.cardsList[0]?.brand]?.name??"")} ${e}`,subtitle:`${pe(ce[n.cardsList[0]?.brand]?.name??"")} ${r} ${n.cardsList[0]?.last4}`,status:n.cardsList[0]?.status}),Nt=y.img`
|
|
90
90
|
width: ${t=>t.width}px;
|
|
91
91
|
height: ${t=>t.height}px;
|
|
92
|
-
`,
|
|
92
|
+
`,Xt=({paymentAccount:t,plaidConnectionDetails:e,connectedAccountProvider:r,sectionId:n,isDisabled:a,hasError:s=!1,isValid:c,style:m,analytics:o,onFetchLinkTokenClick:h,onEstablishConnectionClick:f,onUpdatePaymentAccountStatus:x,onUpdatePaymentAccountLoginStatus:g,onEstablishConnectionSuccess:w,updateCardPaymentModalState:P,cardPaymentView:S,resetCardPaymentViewState:j,cardSetupInProgress:$=!1,googleAPIKey:D,subscriptionBillingAddress:V,subscriptionBillingAddressSectionId:q})=>{const N=Re(),A=ue(),{register:J}=Ve(),B=N.mode==="light"?new ae(N.colors.brandColorJadeLight):new ae(N.colors.brandColorJadeDark),{common:M,customerOnboardingPage:{sections:{link_payment_account:{title:U,text:T,subText:E},card_payment_method:z}}}=le.getLocalizedStrings(),_=S.cardsList.length>0,v=S.cardsList[0]?.brand??"other",W=S.addCardPaymentSourceStatus.fetchState,L=Wt(z.header,z.titleText,z.protectedCardNo,S);let F;return _&&(F={header:L.header,title:L.title,subtitle:L.subtitle,status:L.status==="valid"?{name:"Verified",code:"verified"}:{name:"Pending",code:"pending"},showAddPaymentMethodDropDown:_===!0,icon:{element:i.jsx(Nt,{src:Le(v).iconURL,width:Z.iconWidthHeight.valuePx(A),height:Z.iconWidthHeight.valuePx(A),alt:Le(v).name,loading:"lazy"}),color:new ae(B)},showCompletedIcon:!1,isError:W==="Error",isLoading:W==="In-Progress",isCompleted:!0,showRightArrow:!1}),i.jsxs(Mt,{windowSize:A,children:[i.jsx(Dt,{type:"hidden",...J(`${n}.connected`,{validate:G=>s?G==="true":!0}),value:c?"true":"false"}),i.jsx(Ye,{connectedAccountProvider:r,paymentAccount:t,plaidConnectionDetails:e,allBankAccounts:[],header:U,sectionTitle:U,defaultSectionTitle:T,defaultSectionSubTitle:E,sectionId:n,isDisabled:a,hasError:s,showZeniAccountSection:!1,isCompleted:t?.providerVerificationStatus?.code?.includes("verified")===!0&&t?.isLoginRequired===!1,showCompletedIcon:A==="small",onFetchLinkTokenClick:h,onEstablishConnectionClick:f,onUpdatePaymentAccountStatus:x,onUpdatePaymentAccountLoginStatus:g,onEstablishConnectionSuccess:w,style:m,icon:{element:i.jsx(qe,{width:Z.iconWidthHeight.valuePx(A),height:Z.iconWidthHeight.valuePx(A)}),color:B},analytics:o,productType:"onboarding",resetCardPaymentViewState:j,cardPaymentSectionValues:F,cardPaymentView:S,updateCardPaymentModalState:P,referrer:"Onboarding",cardSetupInProgress:$}),Bt(A,M.headers.billingAddress,q,o,V,D,a)]})},Bt=(t,e,r,n,a,s,c)=>{const m={"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 i.jsxs(qt,{children:[i.jsx(Vt,{windowSize:t,isDisabled:c==="disabled",children:e}),i.jsx(Je,{googleAPIKey:s??"",addressToEdit:a,sectionId:`${r}`,style:{marginLeft:"0px"},elementsStyle:{paddingRight:"0px"},onFormFieldClick:o=>{if(o.target instanceof HTMLInputElement){const{placeholder:h}=o.target;if(h){const f=m[h];f&&n.trackOnboardingBillingAddress(f)}}}})]})},Mt=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
|
`,Dt=y.input`
|
|
98
98
|
display: none;
|
|
99
|
-
`,
|
|
99
|
+
`,Vt=y.div`
|
|
100
100
|
${t=>`${_t.title.style(t.windowSize)}`};
|
|
101
101
|
margin-bottom: ${u.sp3};
|
|
102
102
|
margin-top: ${u.sp3};
|
|
103
103
|
color: ${t=>t.isError===!0?H.important:t.isDisabled===!0?t.theme.colors.grey1:t.theme.colors.primary};
|
|
104
|
-
`,
|
|
104
|
+
`,qt=y.div`
|
|
105
105
|
margin-top: ${u.sp5};
|
|
106
106
|
margin-bottom: ${u.sp4};
|
|
107
|
-
`;export{
|
|
107
|
+
`;export{Wt as M,Gt as o,Le as r,Xt as s};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as $e,e as I,
|
|
1
|
+
import{u as $e,e as I,R as y,j as t,W as a,aX as le,bg as Ne,o as s,bR as De,bS as Oe,m as F,a6 as G,bT as we,Q as Le,v as be,bU as _e,a2 as Ae,bV as Ve,bW as Me,bX as We,bY as Be,aj as Ue,J as U,bZ as He,C as $,b_ as Fe,b$ as je,q as b,l as A,c0 as ee,bK as N,a as Ee,F as Ke,c1 as Ze,c2 as qe,U as Qe,w as D,c3 as Xe,y as O,n as te,f as V,c4 as Je,bO as Se,ap as ie,c5 as ke,be as Ye,c6 as Ge}from"./index-DESjn-8d.js";import{f as ce,b as v,n as i}from"./vendor-rkTZJa59.js";import{R as Ie}from"./Menu-DV3oFAip-BjpENrFA.js";import{T as Re}from"./RoleWithToolTip-B_Ivheco-R8i0Qg5c.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";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)}],et=58;function tt({userNameSticky:e,sortConfig:r,onColumnSortConfigChanged:l,mode:d}){const m=I(),[p,x]=v.useState(Qe(d==="off"?S:H));v.useEffect(()=>{const n=[...p];for(const o of n)o.key===r.sortKey?o.sortOrder=r.sortOrder:o.sortOrder="ascending";x(n)},[r.sortKey,r.sortOrder]);const h=(n,o)=>{let u=o;r.sortKey===n&&(u=o==="ascending"?"descending":"ascending"),l?.(n,u)};return t.jsx(ot,{height:et,"data-testid":a("people-list-header-row"),children:p.map(n=>t.jsxs(rt,{userNameSticky:!!e&&n.key==="name",sortDataValue:r.sortKey,actualDataValue:n.key,wrapperWidth:n.width,windowSize:m,children:[t.jsxs(at,{"data-testid":a("people-list-header",n.key),onClick:()=>h(n.key,n.sortOrder),children:[t.jsx(D,{children:n.value}),t.jsx(st,{sortDataValue:r.sortKey,headerdata:n,children:t.jsx(Xe,{width:12,height:12})})]}),t.jsx(nt,{isVisible:r.sortKey===n.key&&n.key!=="name",children:t.jsx(lt,{"data-testid":a("people-list-header-sort-cancel",n.key),onClick:()=>h("name","ascending")})})]},n.key))})}const it=ce.memo(tt),st=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)"};
|
|
@@ -29,7 +29,7 @@ import{u as $e,e as I,B as y,j as t,$ as a,aX as le,bg as Ne,o as s,bR as De,bS
|
|
|
29
29
|
box-sizing: border-box;
|
|
30
30
|
${e=>e.userNameSticky?"position: sticky; z-index: 1;":"position: static; z-index: 0;"};
|
|
31
31
|
${e=>e.actualDataValue==="name"||e.actualDataValue==="role"?`padding-left: ${s.sp0}; flex: 1 1 auto`:`padding-left: ${s.sp0};`}
|
|
32
|
-
`,lt=i(
|
|
32
|
+
`,lt=i(Ge)`
|
|
33
33
|
cursor: pointer;
|
|
34
34
|
color: inherit;
|
|
35
35
|
width: 12px;
|
|
@@ -46,7 +46,7 @@ import{u as $e,e as I,B as y,j as t,$ as a,aX as le,bg as Ne,o as s,bR as De,bS
|
|
|
46
46
|
&:hover {
|
|
47
47
|
color: ${e=>e.theme.colors.primary};
|
|
48
48
|
}
|
|
49
|
-
`,dt=58;function ct({sortConfig:e,onColumnSortConfigChanged:r,mode:l}){const d=y.getLocalizedStrings().peoplePage,m=
|
|
49
|
+
`,dt=58;function ct({sortConfig:e,onColumnSortConfigChanged:r,mode:l}){const d=y.getLocalizedStrings().peoplePage,m=Ee({mode:"all"}),p=v.useMemo(()=>l==="zeni_only"?H:S,[l]),x=v.useMemo(()=>p.map(o=>({label:o.value,value:o.key})),[p]),h=p.find(o=>o.key===e.sortKey);h!=null&&(h.sortOrder=e.sortOrder);const n=(o,u)=>{let w=u;e.sortKey===o&&(w=u==="ascending"?"descending":"ascending"),r?.(o,w)};return v.useEffect(()=>{const o=m.watch((u,{name:w})=>{if(w!=null&&u!=null){const{people_sort_by:f}=u;r?.(f.selectedOption.value,"ascending")}});return()=>{o.unsubscribe()}}),t.jsxs(mt,{height:dt,"data-testid":a("people-list-header-row-small"),children:[t.jsx(ut,{children:t.jsx(Ke,{...m,children:t.jsx("form",{children:t.jsx(Ze,{defaultValue:{allOptions:x,selectedOption:x.find(o=>o.value===e.sortKey)},placeholder:`${d.sortBy}:`,style:{width:"200px"},isSearchable:!1,isOptionsSortable:!1,constantSelectedValue:`${d.sortBy}:`,name:"people_sort_by"})})})}),t.jsxs(xt,{"data-testid":a("people-list-header",e.sortKey),onClick:()=>n(e.sortKey,e.sortOrder),children:[t.jsx(gt,{children:h?.value}),t.jsx(ht,{sortDataValue:e.sortKey,headerdata:h,children:t.jsx(qe,{width:s.sp3,height:s.sp3})})]})]})}const pt=ce.memo(ct),ht=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)"};
|
|
@@ -103,7 +103,7 @@ import{u as $e,e as I,B as y,j as t,$ as a,aX as le,bg as Ne,o as s,bR as De,bS
|
|
|
103
103
|
}
|
|
104
104
|
`,gt=i(D)`
|
|
105
105
|
color: ${e=>e.theme.colors.hero};
|
|
106
|
-
`,{peoplePage:T}=y.getLocalizedStrings(),wt=({peopleData:e,userNameSticky:r,allClasses:l,allManagers:d,onResendInvite:m,onDeleteUser:p,onRowClick:x})=>{const[h,n]=v.useState(!1),o=I(),u=vt(e,d,l),w=e.userRole.userRoles.filter(g=>!A.hasZeniRoleOrCompanyOfficerAccess(g)),f=()=>{p?.(e)},j=()=>{x?.(e.userId)};return t.jsxs(ft,{windowSize:o,isInviteAccepted:e.userRole.invitationStatus==="accepted",onClick:j,"data-testid":a("people-list-row",e.userId),children:[t.jsx(yt,{wrapperWidth:S[0].width,windowSize:o,userNameSticky:r,children:t.jsxs(bt,{children:[t.jsx(ee,{personBasic:e.user,styles:{height:s.sp6,width:s.sp6}}),t.jsxs(jt,{children:[e.user?.firstName?t.jsxs(St,{className:"personNameTxt",isInviteAccepted:e.userRole.invitationStatus==="accepted",children:[e.user?.firstName??""," ",e.user?.lastName??""]}):null,t.jsx(It,{isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"emailTxt",children:e.userRole.userEmail??""})]})]})}),t.jsx(kt,{wrapperWidth:S[1].width,windowSize:o,children:t.jsx(
|
|
106
|
+
`,{peoplePage:T}=y.getLocalizedStrings(),wt=({peopleData:e,userNameSticky:r,allClasses:l,allManagers:d,onResendInvite:m,onDeleteUser:p,onRowClick:x})=>{const[h,n]=v.useState(!1),o=I(),u=vt(e,d,l),w=e.userRole.userRoles.filter(g=>!A.hasZeniRoleOrCompanyOfficerAccess(g)),f=()=>{p?.(e)},j=()=>{x?.(e.userId)};return t.jsxs(ft,{windowSize:o,isInviteAccepted:e.userRole.invitationStatus==="accepted",onClick:j,"data-testid":a("people-list-row",e.userId),children:[t.jsx(yt,{wrapperWidth:S[0].width,windowSize:o,userNameSticky:r,children:t.jsxs(bt,{children:[t.jsx(ee,{personBasic:e.user,styles:{height:s.sp6,width:s.sp6}}),t.jsxs(jt,{children:[e.user?.firstName?t.jsxs(St,{className:"personNameTxt",isInviteAccepted:e.userRole.invitationStatus==="accepted",children:[e.user?.firstName??""," ",e.user?.lastName??""]}):null,t.jsx(It,{isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"emailTxt",children:e.userRole.userEmail??""})]})]})}),t.jsx(kt,{wrapperWidth:S[1].width,windowSize:o,children:t.jsx(Re,{roles:w})}),t.jsxs(t.Fragment,{children:[A.hasInvestorBankerLevelAccess(e.userRole.userRoles)?t.jsx(q,{wrapperWidth:S[2].width,windowSize:o,children:t.jsx(_,{children:T.notApplicable})}):t.jsx(t.Fragment,{children:u.manager?t.jsx(ve,{wrapperWidth:S[2].width,windowSize:o,children:t.jsx(_,{children:u.manager})}):t.jsx(q,{wrapperWidth:S[2].width,windowSize:o,children:t.jsx(_,{children:T.noManager})})}),A.hasInvestorBankerLevelAccess(e.userRole.userRoles)?t.jsx(q,{wrapperWidth:S[3].width,windowSize:o,children:t.jsx(_,{children:T.notApplicable})}):t.jsx(t.Fragment,{children:u.department?t.jsx(ve,{wrapperWidth:S[3].width,windowSize:o,children:t.jsx(_,{children:u.department})}):t.jsx(q,{wrapperWidth:S[3].width,windowSize:o,children:t.jsx(_,{children:T.emptyDepartmentPlaceholderText})})})]}),t.jsxs(Rt,{"data-testid":a("last-seen-container",e.userId),wrapperWidth:S[4].width,windowSize:o,children:[e.userRole.invitationStatus==="accepted"?t.jsx($t,{children:u.lastSeen}):t.jsx(zt,{children:e.update==="resendInvite"?t.jsx(F,{size:"Small",start:!0}):t.jsxs(t.Fragment,{children:[t.jsx(Tt,{"data-testid":a("resend-invite-text",e.userId),onClick:g=>{g.stopPropagation(),m?.(e.userId)},children:T.resendInvite.label}),t.jsx(Pt,{children:t.jsx(Nt,{children:`${T.sentText} ${N(e?.userRole?.inviteUpdateTime?e.userRole.inviteUpdateTime:e.userRole.inviteCreateTime)}`})})]})}),t.jsx(Ct,{isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"menu-icon",children:t.jsx(Ie,{menuItems:t.jsxs(Dt,{"data-testid":a("menu-items-container",e.userId),children:[t.jsx(fe,{"data-testid":a("edit-people-list-row"),onClick:()=>{n(!1),j()},children:T.invitePage.editTitle}),t.jsx(fe,{"data-testid":a("delete-people-list-row",e.userId),isDelete:!0,onClick:g=>{g.stopPropagation(),n(!1),f()},children:T.deleteOverlay.title})]}),setIsMenuOpen:n,isMenuOpen:h})})]})]})};function vt(e,r,l){const d=l.find(p=>e.userRole.accountingClassIDs[0]===p.classId),m=r.find(p=>p.userId===e.userRole.managerUserId);return{name:`${e.user?.firstName??""} ${e.user?.lastName??""}`,role:{selectedOptions:e.userRole.userRoles,allOptions:Je},manager:m?.user?`${m?.user?.firstName} ${m?.user?.lastName}`:void 0,department:d?d?.className:void 0,lastSeen:e?.userRole?.userLastCheckInTimeIntoTenant?N(e.userRole.userLastCheckInTimeIntoTenant):"-"}}const ft=i.div`
|
|
107
107
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
108
108
|
border-radius: ${s.sp2};
|
|
109
109
|
display: flex;
|
|
@@ -222,17 +222,17 @@ import{u as $e,e as I,B as y,j as t,$ as a,aX as le,bg as Ne,o as s,bR as De,bS
|
|
|
222
222
|
-webkit-box-orient: vertical;
|
|
223
223
|
text-overflow: ellipsis;
|
|
224
224
|
overflow: hidden;
|
|
225
|
-
`,It=i(
|
|
225
|
+
`,It=i(G)`
|
|
226
226
|
color: ${e=>e.theme.colors.grey1};
|
|
227
227
|
display: -webkit-box;
|
|
228
228
|
-webkit-line-clamp: 1;
|
|
229
229
|
-webkit-box-orient: vertical;
|
|
230
230
|
overflow: hidden;
|
|
231
231
|
text-overflow: ellipsis;
|
|
232
|
-
`,
|
|
232
|
+
`,Rt=i.div`
|
|
233
233
|
width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
234
234
|
position: relative;
|
|
235
|
-
`,
|
|
235
|
+
`,Ct=i.div`
|
|
236
236
|
position: absolute;
|
|
237
237
|
right: ${`-${s.sp2}`};
|
|
238
238
|
top: ${e=>e.isInviteAccepted?"6%":"30%"};
|
|
@@ -253,7 +253,7 @@ import{u as $e,e as I,B as y,j as t,$ as a,aX as le,bg as Ne,o as s,bR as De,bS
|
|
|
253
253
|
flex-direction: row;
|
|
254
254
|
-webkit-box-pack: end;
|
|
255
255
|
justify-content: flex-end;
|
|
256
|
-
`,Nt=i(
|
|
256
|
+
`,Nt=i(G)`
|
|
257
257
|
color: ${e=>e.theme.colors.grey1};
|
|
258
258
|
display: -webkit-box;
|
|
259
259
|
-webkit-line-clamp: 1;
|
|
@@ -272,7 +272,7 @@ import{u as $e,e as I,B as y,j as t,$ as a,aX as le,bg as Ne,o as s,bR as De,bS
|
|
|
272
272
|
:hover {
|
|
273
273
|
color: ${e=>e.theme.colors.primary};
|
|
274
274
|
}
|
|
275
|
-
`,Ot={width:new $(343,580,726)},{peoplePage:k}=y.getLocalizedStrings(),Lt=({peopleData:e,allClasses:r,allManagers:l,onRowClick:d,onResendInvite:m})=>{const p=I(),x=e.userRole.userRoles.filter(o=>!A.hasZeniRoleOrCompanyOfficerAccess(o)),h=ii(l,e.userRole.managerUserId),n=si(r,e.userRole.accountingClassIDs);return t.jsxs(_t,{windowSize:p,isInviteAccepted:e.userRole.invitationStatus==="accepted","data-testid":a("people-list-row-small",e.userId),onClick:()=>{d?.(e.userId)},children:[t.jsxs(At,{children:[t.jsx(ee,{personBasic:e.user,styles:{height:s.sp6,width:s.sp6}}),t.jsx(Mt,{children:t.jsxs(Wt,{children:[t.jsxs(Bt,{className:"personNameTxt",isInviteAccepted:e.userRole.invitationStatus==="accepted",children:[e.user?.firstName??""," ",e.user?.lastName??""]}),t.jsx(
|
|
275
|
+
`,Ot={width:new $(343,580,726)},{peoplePage:k}=y.getLocalizedStrings(),Lt=({peopleData:e,allClasses:r,allManagers:l,onRowClick:d,onResendInvite:m})=>{const p=I(),x=e.userRole.userRoles.filter(o=>!A.hasZeniRoleOrCompanyOfficerAccess(o)),h=ii(l,e.userRole.managerUserId),n=si(r,e.userRole.accountingClassIDs);return t.jsxs(_t,{windowSize:p,isInviteAccepted:e.userRole.invitationStatus==="accepted","data-testid":a("people-list-row-small",e.userId),onClick:()=>{d?.(e.userId)},children:[t.jsxs(At,{children:[t.jsx(ee,{personBasic:e.user,styles:{height:s.sp6,width:s.sp6}}),t.jsx(Mt,{children:t.jsxs(Wt,{children:[t.jsxs(Bt,{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(Ht,{className:"lastSeen",children:[t.jsx(Ft,{className:"lastSeenDateTxt",children:e?.userRole?.userLastCheckInTimeIntoTenant?N(e.userRole.userLastCheckInTimeIntoTenant):"-"}),t.jsx(Et,{children:k.header.lastSeen})]}):t.jsx(Kt,{"data-testid":a("resend-invite-wrapper",e.userId),children:e.update==="resendInvite"?t.jsx(F,{size:"Small",start:!0}):t.jsxs(t.Fragment,{children:[t.jsx(Zt,{"data-testid":a("resend-invite-text",e.userId),onClick:o=>{o.stopPropagation(),m?.(e.userId)},children:k.resendInvite.label}),t.jsx(qt,{children:t.jsx(Qt,{children:`${k.sentText} ${N(e?.userRole?.inviteUpdateTime?e.userRole.inviteUpdateTime:e.userRole.inviteCreateTime)}`})})]})})]}),t.jsx(Vt,{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,":"]}),A.hasInvestorBankerLevelAccess(e.userRole.userRoles)?t.jsx(Q,{children:k.notApplicable}):t.jsx(t.Fragment,{children:h?t.jsx(ei,{children:h}):t.jsx(Q,{children:k.noManager})})]}),t.jsxs(Jt,{children:[t.jsxs(Gt,{children:[k.header.department,":"]}),A.hasInvestorBankerLevelAccess(e.userRole.userRoles)?t.jsx(Q,{children:k.notApplicable}):t.jsx(t.Fragment,{children:n?t.jsx(ti,{children:n}):t.jsx(Q,{children:k.emptyDepartmentPlaceholderText})})]})]})})]})},_t=i.div`
|
|
276
276
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
277
277
|
border-radius: ${s.sp2};
|
|
278
278
|
display: flex;
|
|
@@ -326,17 +326,17 @@ import{u as $e,e as I,B as y,j as t,$ as a,aX as le,bg as Ne,o as s,bR as De,bS
|
|
|
326
326
|
flex: 1;
|
|
327
327
|
`,Wt=i.div``,Bt=i(O)`
|
|
328
328
|
color: ${e=>e.isInviteAccepted?e.theme.colors.hero:e.theme.colors.grey1};
|
|
329
|
-
`,
|
|
329
|
+
`,Ut=i(te)`
|
|
330
330
|
color: ${e=>e.theme.colors.grey1};
|
|
331
331
|
`,se=i(te)`
|
|
332
332
|
color: ${e=>e.theme.colors.grey1};
|
|
333
|
-
`,
|
|
333
|
+
`,Ht=i(se)`
|
|
334
334
|
display: flex;
|
|
335
335
|
flex-direction: column;
|
|
336
336
|
align-items: flex-end;
|
|
337
337
|
`,Ft=i.div`
|
|
338
338
|
color: ${e=>e.theme.colors.hero};
|
|
339
|
-
`,
|
|
339
|
+
`,Et=i.div``,Kt=i.div`
|
|
340
340
|
display: flex;
|
|
341
341
|
flex-direction: column;
|
|
342
342
|
align-items: flex-end;
|
|
@@ -348,17 +348,17 @@ import{u as $e,e as I,B as y,j as t,$ as a,aX as le,bg as Ne,o as s,bR as De,bS
|
|
|
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;
|
|
355
|
-
`,
|
|
355
|
+
`,Xt=i(pe)``,Jt=i(pe)``,he=i.div`
|
|
356
356
|
width: 30%;
|
|
357
|
-
`,
|
|
357
|
+
`,Yt=i(he)``,Gt=i(he)``,oe=i.div`
|
|
358
358
|
width: 70%;
|
|
359
|
-
`,ei=i(oe)``,ti=i(oe)``,
|
|
359
|
+
`,ei=i(oe)``,ti=i(oe)``,Q=i(oe)`
|
|
360
360
|
color: ${e=>e.theme.colors.grey1};
|
|
361
|
-
`,ii=(e,r)=>{const l=e.find(d=>d.userId===r);return l?.user?`${l?.user?.firstName} ${l?.user?.lastName}`:void 0},si=(e,r)=>{const l=e.find(d=>r[0]===d.classId);return l?l.className:void 0},oi=e=>I()==="small"?t.jsx(Lt,{...e}):t.jsx(wt,{...e}),
|
|
361
|
+
`,ii=(e,r)=>{const l=e.find(d=>d.userId===r);return l?.user?`${l?.user?.firstName} ${l?.user?.lastName}`:void 0},si=(e,r)=>{const l=e.find(d=>r[0]===d.classId);return l?l.className:void 0},oi=e=>I()==="small"?t.jsx(Lt,{...e}):t.jsx(wt,{...e}),X=y.getLocalizedStrings().peoplePage,ri=({peopleData:e,userNameSticky:r,onResendInvite:l,onDeleteUser:d,onRowClick:m})=>{const[p,x]=v.useState(!1),h=I(),n=li(e),o=f=>{const j=[];return f.map(g=>{const C=ke.roles.find(M=>M.value===g);return C!=null&&j.push(C?.label??""),j}),j.length>0?j.join(", "):"-"},u=()=>{d?.(e)},w=()=>{m?.(e.userId)};return t.jsxs(ni,{"data-testid":a("zeni-people-list-row-medium",e.userId),windowSize:h,isInviteAccepted:e.userRole.invitationStatus==="accepted",onClick:w,children:[t.jsx(ai,{wrapperWidth:H[0].width,windowSize:h,userNameSticky:r,children:t.jsxs(ci,{children:[t.jsx(ee,{personBasic:e.user,styles:{height:s.sp6,width:s.sp6}}),t.jsxs(pi,{children:[e.user?.firstName?t.jsxs(hi,{isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"personNameTxt",children:[e.user?.firstName??""," ",e.user?.lastName??""]}):null,t.jsx(ui,{isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"emailTxt",children:e.userRole.userEmail??""})]})]})}),t.jsx(mi,{widthNumber:H[1].width,windowSize:h,children:t.jsx(di,{wrapperWidth:new $(100,100),windowSize:h,children:o(e.userRole.userRoles)})}),t.jsxs(fi,{"data-testid":a("people-list-row-medium-last-seen",e.userId),wrapperWidth:H[2].width,windowSize:h,children:[e.userRole.invitationStatus==="accepted"?t.jsx(yi,{children:n.lastSeen}):t.jsx(xi,{"data-testid":a("people-list-row-medium-resend-invite",e.userId),children:e.update==="resendInvite"?t.jsx(F,{size:"Small",start:!0}):t.jsxs(t.Fragment,{children:[t.jsx(gi,{"data-testid":a("people-list-row-medium-resend-invite-text",e.userId),onClick:f=>{f.stopPropagation(),l?.(e.userId)},children:X.resendInvite.label}),t.jsx(wi,{children:t.jsx(vi,{children:`${X.sentText} ${N(e?.userRole?.inviteUpdateTime?e.userRole.inviteUpdateTime:e.userRole.inviteCreateTime)}`})})]})}),t.jsx($i,{"data-testid":a("people-list-row-medium-menu",e.userId),isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"menu-icon",children:t.jsx(Ie,{menuItems:t.jsxs(bi,{children:[t.jsx(ye,{"data-testid":a("people-list-row-medium-menu-edit",e.userId),onClick:()=>{x(!1),w()},children:X.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:X.deleteOverlay.title})]}),setIsMenuOpen:x,isMenuOpen:p})})]})]})};function li(e){return{name:`${e.user?.firstName??""} ${e.user?.lastName??""}`,role:{selectedOptions:e.userRole.userRoles,allOptions:ke.roles},lastSeen:e?.userRole?.userLastCheckInTimeIntoTenant?N(e.userRole.userLastCheckInTimeIntoTenant):"-"}}const ni=i.div`
|
|
362
362
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
363
363
|
border-radius: ${s.sp2};
|
|
364
364
|
display: flex;
|
|
@@ -453,7 +453,7 @@ import{u as $e,e as I,B as y,j as t,$ as a,aX as le,bg as Ne,o as s,bR as De,bS
|
|
|
453
453
|
display: flex;
|
|
454
454
|
align-items: flex-start;
|
|
455
455
|
box-sizing: border-box;
|
|
456
|
-
`,ui=i(
|
|
456
|
+
`,ui=i(G)`
|
|
457
457
|
color: ${e=>e.theme.colors.grey1};
|
|
458
458
|
display: -webkit-box;
|
|
459
459
|
-webkit-line-clamp: 1;
|
|
@@ -477,7 +477,7 @@ import{u as $e,e as I,B as y,j as t,$ as a,aX as le,bg as Ne,o as s,bR as De,bS
|
|
|
477
477
|
flex-direction: row;
|
|
478
478
|
-webkit-box-pack: end;
|
|
479
479
|
justify-content: flex-end;
|
|
480
|
-
`,vi=i(
|
|
480
|
+
`,vi=i(Ye)`
|
|
481
481
|
color: ${e=>e.theme.colors.grey1};
|
|
482
482
|
display: -webkit-box;
|
|
483
483
|
-webkit-line-clamp: 1;
|
|
@@ -509,7 +509,7 @@ import{u as $e,e as I,B as y,j as t,$ as a,aX as le,bg as Ne,o as s,bR as De,bS
|
|
|
509
509
|
:hover {
|
|
510
510
|
color: ${e=>e.theme.colors.primary};
|
|
511
511
|
}
|
|
512
|
-
`,ji={width:new $(343,580,726)},
|
|
512
|
+
`,ji={width:new $(343,580,726)},J=y.getLocalizedStrings().peoplePage,Si=({peopleData:e,onRowClick:r,onResendInvite:l})=>{const d=I();return t.jsxs(ki,{windowSize:d,"data-testid":a("zeni-people-list-row-small",e.userId),isInviteAccepted:e.userRole.invitationStatus==="accepted",onClick:()=>{r?.(e.userId)},children:[t.jsxs(Ii,{children:[t.jsx(ee,{personBasic:e.user,styles:{height:s.sp6,width:s.sp6}}),t.jsx(Ci,{children:t.jsxs(zi,{children:[t.jsxs(Ti,{className:"personNameTxt",isInviteAccepted:e.userRole.invitationStatus==="accepted",children:[e.user?.firstName??""," ",e.user?.lastName??""]}),t.jsx(Pi,{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(_i,{className:"lastSeenDateTxt","data-testid":a("people-list-row-small-last-seen-content",e.userId),children:e?.userRole?.userLastCheckInTimeIntoTenant?N(e.userRole.userLastCheckInTimeIntoTenant):"-"}),t.jsx(Ai,{children:J.header.lastSeen})]}):t.jsx(Vi,{"data-testid":a("people-list-row-small-resend-invite",e.userId),children:e.update==="resendInvite"?t.jsx(F,{size:"Small",start:!0}):t.jsxs(t.Fragment,{children:[t.jsx(Mi,{"data-testid":a("people-list-row-small-resend-invite-text",e.userId),onClick:m=>{m.stopPropagation(),l?.(e.userId)},children:J.resendInvite.label}),t.jsx(Wi,{children:t.jsx(Bi,{children:`${J.sentText} ${N(e?.userRole?.inviteUpdateTime?e.userRole.inviteUpdateTime:e.userRole.inviteCreateTime)}`})})]})})]}),t.jsx(Ri,{children:t.jsx(re,{className:"personDetails",children:t.jsxs(Ni,{style:{display:"flex"},children:[t.jsxs(Di,{style:{},children:[J.header.role,":"]}),t.jsx(Oi,{children:je(e.userRole.userRoles,"zeni_only")})]})})})]})},ki=i.div`
|
|
513
513
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
514
514
|
border-radius: ${s.sp2};
|
|
515
515
|
display: flex;
|
|
@@ -551,9 +551,9 @@ import{u as $e,e as I,B as y,j as t,$ as a,aX as le,bg as Ne,o as s,bR as De,bS
|
|
|
551
551
|
box-sizing: border-box;
|
|
552
552
|
color: ${e=>e.theme.colors.hero};
|
|
553
553
|
gap: ${s.sp2};
|
|
554
|
-
`,Ci=i.div`
|
|
555
|
-
padding-left: ${s.sp7};
|
|
556
554
|
`,Ri=i.div`
|
|
555
|
+
padding-left: ${s.sp7};
|
|
556
|
+
`,Ci=i.div`
|
|
557
557
|
display: flex;
|
|
558
558
|
flex-direction: column;
|
|
559
559
|
gap: 5px;
|
|
@@ -587,18 +587,18 @@ import{u as $e,e as I,B as y,j as t,$ as a,aX as le,bg as Ne,o as s,bR as De,bS
|
|
|
587
587
|
justify-content: flex-end;
|
|
588
588
|
`,Bi=i(re)`
|
|
589
589
|
color: ${e=>e.theme.colors.grey1};
|
|
590
|
-
`,
|
|
590
|
+
`,Ui=e=>I()==="small"?t.jsx(Si,{...e}):t.jsx(ri,{...e}),W={overscanCount:1,rowNameLimit:55,listItemHeight:88},ne={peopleListItemHeight:138,zeniPeopleListItemHeight:106,zeniPeopleExtendedListItemHeight:130},Y={listItemPaddingRight:new $(b[3],b[8]),listItemPaddingLeft:new $(b[3],b[8]),zeniLastRowHeight:new $(154,136),nonZeniLastRowHeight:new $(200,136)},B=y.getLocalizedStrings().peoplePage,Hi=({peopleView:e,allManagers:r,allClasses:l,analytics:d,onColumnSortConfigChanged:m,onDeleteClick:p,onResendInvite:x,onRowClick:h,isZeniTenant:n})=>{const o=I(),u=v.useRef(null),w=!(o==="small"||o==="medium-compact"),[f,j]=v.useState(!1),[g,C]=v.useState(),M=$e(),z=e.people.findIndex(c=>c.userRole.invitationStatus==="invited"),me=c=>{j(!0),C(c)},ue=v.memo(({index:c,style:R})=>t.jsx(t.Fragment,{children:t.jsxs(Ki,{"data-testid":a("people-list-item",e.people[c].user?.userId),style:{...R,width:"fit-content",minWidth:"100%"},windowSize:o,isFirstResendInviteUser:z===c,className:"people-list-item",children:[z===c?t.jsx(Ji,{}):null,e.uiState.mode==="off"?t.jsx(oi,{allManagers:r,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})]})}),_e);ue.displayName="ListItem";const xe=v.forwardRef((c,R)=>{const{children:L,style:K,...Z}=c;return t.jsxs("div",{ref:R,style:{...K,width:"auto"},...Z,children:[o==="small"?t.jsx(pt,{userNameSticky:w,onColumnSortConfigChanged:m,sortConfig:{sortKey:e.uiState.sortKey,sortOrder:e.uiState.sortOrder},mode:e.uiState.mode}):t.jsx(it,{userNameSticky:w,onColumnSortConfigChanged:m,sortConfig:{sortKey:e.uiState.sortKey,sortOrder:e.uiState.sortOrder},mode:e.uiState.mode}),t.jsx(Zi,{children:L})]})});xe.displayName="People list view inner element type";const Ce=c=>{const R=`${e.people[c].user?.firstName} ${e.people[c].user?.lastName}`.length,L=z===c;return R>W.rowNameLimit?W.listItemHeight+b[5]+(L?b[3]:b[0]):W.listItemHeight+(L?b[3]:b[0])},ze=c=>{const R=`${e.people[c].user?.firstName} ${e.people[c].user?.lastName}`.length,L=je(e.people[c].userRole.userRoles,e.uiState.mode).length,K=z===c,Z=e.uiState.mode==="zeni_only"?L>33?ne.zeniPeopleExtendedListItemHeight:ne.zeniPeopleListItemHeight:ne.peopleListItemHeight;return R>W.rowNameLimit?Z+b[5]+(K?b[3]:b[0]):Z+(K?b[3]:b[0])},Te={onOkClick:()=>{const c=g;d?.trackRemoveUserAccess(c.userRole.userRoles,c.userRole.userEmail),p?.(c.userId,c.userRole.userRoleId)},onCancelClick:()=>{j(!1),C(void 0)}},ge=Ae(e.people.find(c=>c.userId===g?.userId)?.update),E=e.people.find(c=>c.userId===g?.userId)?.update,Pe=g!=null?B.deleteOverlay.description.replace("‘_user-name_’",`"${Fi(g)}"`):B.deleteOverlay.description;return v.useEffect(()=>{u.current&&u.current.resetAfterIndex(0)},[e,o]),v.useEffect(()=>{E==null&&ge==="removeUsers"&&(j(!1),C(void 0))},[E,ge]),t.jsxs(Ei,{"data-testid":a("people-list-view-container"),windowSize:o,mode:e.uiState.mode,children:[f===!0?t.jsx(Ve,{titleComponent:t.jsx(Be,{children:B.deleteOverlay.title}),descriptionComponent:t.jsx(We,{children:Pe}),primaryButtonText:B.deleteOverlay.remove,secondaryButtonText:B.deleteOverlay.cancel,action:Te,proceedButtonVariant:"danger",isLoading:E==="removeUsers",isDisabled:E==="removeUsers",style:{background:M.colors.overlayColor},children:g?.user!=null?t.jsxs(t.Fragment,{children:[t.jsx(Xi,{}),t.jsx(qi,{children:t.jsx(Qi,{src:g?.user.photo?.toString()??Me,alt:g?.user.userId,loading:"lazy"})})]}):null}):null,t.jsx(Ue,{children:({height:c,width:R})=>t.jsx(Yi,{height:c,innerElementType:xe,itemCount:e.people.length,itemSize:o==="small"?ze:Ce,width:R,ref:u,overscanCount:W.overscanCount,children:ue})})]})},Fi=e=>e.user?.firstName?`${e.user?.firstName} ${e.user?.lastName}`:e.user?.email??"",Ei=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%;
|
|
594
594
|
.people-list-item:last-of-type {
|
|
595
|
-
height: ${e=>e.mode==="zeni_only"?
|
|
595
|
+
height: ${e=>e.mode==="zeni_only"?Y.zeniLastRowHeight.valuePx(e.windowSize):Y.nonZeniLastRowHeight.valuePx(e.windowSize)} !important;
|
|
596
596
|
padding-bottom: ${s.sp9};
|
|
597
597
|
}
|
|
598
|
-
`,
|
|
598
|
+
`,Ki=i.div`
|
|
599
599
|
top: ${s.sp0};
|
|
600
600
|
left: ${s.sp0};
|
|
601
|
-
padding: ${e=>`${s.sp0} ${
|
|
601
|
+
padding: ${e=>`${s.sp0} ${Y.listItemPaddingRight.valuePx(e.windowSize)} ${e.isFirstResendInviteUser?s.sp5:s.sp3} ${Y.listItemPaddingLeft.valuePx(e.windowSize)} `};
|
|
602
602
|
box-sizing: border-box;
|
|
603
603
|
`,Zi=i.div`
|
|
604
604
|
position: relative;
|
|
@@ -607,12 +607,12 @@ import{u as $e,e as I,B as y,j as t,$ as a,aX as le,bg as Ne,o as s,bR as De,bS
|
|
|
607
607
|
`,qi=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%;
|
|
614
614
|
color: ${e=>e.theme.colors.hero};
|
|
615
|
-
`,
|
|
615
|
+
`,Xi=i.div`
|
|
616
616
|
position: absolute;
|
|
617
617
|
top: 1%;
|
|
618
618
|
left: 50%;
|
|
@@ -621,14 +621,14 @@ import{u as $e,e as I,B as y,j as t,$ as a,aX as le,bg as Ne,o as s,bR as De,bS
|
|
|
621
621
|
width: ${s.sp9};
|
|
622
622
|
border-radius: 50% 50% 0 0;
|
|
623
623
|
background-color: ${e=>e.theme.colors.grey5};
|
|
624
|
-
`,
|
|
624
|
+
`,Ji=i.div`
|
|
625
625
|
padding-top: ${s.sp3};
|
|
626
626
|
border-top: 1px solid ${e=>e.theme.colors.grey3};
|
|
627
|
-
`,
|
|
627
|
+
`,Yi=i(Fe)``,Gi=(e,r)=>{const{user:l,userId:d,userRole:m,update:p}=e,{user:x,userId:h,userRole:n,update:o}=r;return U(l,x)&&U(d,h)&&U(m,n)&&U(p,o)},es=(e,r)=>{if(e.peopleView.people.length!=r.peopleView.people.length||e.allManagers.length!=r.allManagers.length)return!1;let l=!0;for(let d=0;d<e.peopleView.people.length;++d){const m=e.peopleView.people[d],p=r.peopleView.people[d];if(l=Gi(m,p),!l)break}return l=l&&U(e.peopleView.invitePeopleState,r.peopleView.invitePeopleState),l=l&&e.peopleView.uiState.sortKey===r.peopleView.uiState.sortKey&&e.peopleView.uiState.sortOrder===r.peopleView.uiState.sortOrder,l},ts=v.memo(Hi,es);function is({peopleInviteSectionProps:e}){const r=I();return t.jsx(ss,{isSearchOpen:e.isSearchOpen&&r==="small",windowsize:r,children:r!=="small"?t.jsxs(t.Fragment,{children:[e.hideSearchBtn?null:t.jsx(we,{style:{position:"absolute",left:"unset",right:"120px"},placeholder:e.searchPlaceHolder,searchText:e.searchText,onSearchTextChanged:l=>{e.onSearchTextChanged?.(l)},onSearchOpen:e.onSearchOpen}),t.jsx(Le,{variant:"primary",size:"small","data-testid":a("invite-people-button"),style:{height:"29px",...be.smallRegular.cssObject,whiteSpace:"nowrap",display:"flex",alignItems:"center"},label:e.invitePeopleLabel,onClick:e.onInvitePeopleClick})]}):t.jsxs(t.Fragment,{children:[e.hideInviteBtn?null:t.jsx(os,{"data-testid":a("invite-people-button"),onClick:e.onInvitePeopleClick}),e.hideSearchBtn?null:t.jsx(we,{style:{position:"absolute",left:"5px",right:r!=="small"?"120px":"unset",top:"44px",width:"98%"},placeholder:e.searchPlaceHolder,searchText:e.searchText,"data-testid":a("people-invite-search"),onSearchTextChanged:l=>{e.onSearchTextChanged?.(l)},onSearchOpen:e.onSearchOpen,keepSearchBoxOpen:!0})]})})}const ss=i.div`
|
|
628
628
|
display: flex;
|
|
629
629
|
flex-direction: column;
|
|
630
630
|
justify-content: ${e=>e.windowsize==="small"?"unset":"center"};
|
|
631
|
-
`,os=i(
|
|
631
|
+
`,os=i(He)`
|
|
632
632
|
height: 20px;
|
|
633
633
|
width: 20px;
|
|
634
634
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -669,7 +669,7 @@ import{u as $e,e as I,B as y,j as t,$ as a,aX as le,bg as Ne,o as s,bR as De,bS
|
|
|
669
669
|
color: ${e=>e.theme.colors.primary};
|
|
670
670
|
}
|
|
671
671
|
}
|
|
672
|
-
`,ds=i(
|
|
672
|
+
`,ds=i(G)`
|
|
673
673
|
margin-top: ${s.sp3};
|
|
674
674
|
color: ${e=>e.theme.colors.hero};
|
|
675
|
-
`,cs=()=>t.jsx(ls,{children:t.jsx(F,{size:"ExtraLarge",start:!0})});function ps(e){const r=$e(),l=I(),{mode:d,searchText:m}=e.peopleView.uiState,{fetchState:p}=e.peopleView,{fetchState:x}=e.managersView,{fetchState:h}=e.classList,[n,o]=v.useState(!1),u={isSearchOpen:n,onSearchOpen:z=>{o(z)},onSearchTextChanged:e.personAction.onSearchTextChanged,searchPlaceHolder:y.getLocalizedStrings().peoplePage.searchPlaceHolder,searchText:m,invitePeopleLabel:y.getLocalizedStrings().peoplePage.invitePeopleText,onInvitePeopleClick:e.onInvitePeopleClick,onClickMenuIcon:e.onClickMenuIcon},w=e?.isZeniTenant!==!0&&e?.isZeniAdminUser===!0,f=()=>{const z=d==="off"?"zeni_only":"off";e.personAction.onModeChange?.(z)},j=p==="Completed"?`(${e.peopleView.people.length})`:"",g=`${d==="off"?y.getLocalizedStrings().peoplePage.peopleTitle:y.getLocalizedStrings().peoplePage.zeniPeopleTitle} ${j}`,
|
|
675
|
+
`,cs=()=>t.jsx(ls,{children:t.jsx(F,{size:"ExtraLarge",start:!0})});function ps(e){const r=$e(),l=I(),{mode:d,searchText:m}=e.peopleView.uiState,{fetchState:p}=e.peopleView,{fetchState:x}=e.managersView,{fetchState:h}=e.classList,[n,o]=v.useState(!1),u={isSearchOpen:n,onSearchOpen:z=>{o(z)},onSearchTextChanged:e.personAction.onSearchTextChanged,searchPlaceHolder:y.getLocalizedStrings().peoplePage.searchPlaceHolder,searchText:m,invitePeopleLabel:y.getLocalizedStrings().peoplePage.invitePeopleText,onInvitePeopleClick:e.onInvitePeopleClick,onClickMenuIcon:e.onClickMenuIcon},w=e?.isZeniTenant!==!0&&e?.isZeniAdminUser===!0,f=()=>{const z=d==="off"?"zeni_only":"off";e.personAction.onModeChange?.(z)},j=p==="Completed"?`(${e.peopleView.people.length})`:"",g=`${d==="off"?y.getLocalizedStrings().peoplePage.peopleTitle:y.getLocalizedStrings().peoplePage.zeniPeopleTitle} ${j}`,C=v.useMemo(()=>p==="In-Progress"||p==="Not-Started"||x==="In-Progress"||x==="Not-Started"||e.shouldFetchClasses&&(h==="In-Progress"||h==="Not-Started"),[p,x,e.shouldFetchClasses,h]);function M(){return C?t.jsxs(ae,{"data-testid":a("people-page-loading"),children:[t.jsx(le,{title:g,onBackClick:e.personAction.onBackClick,rightSideComponent:t.jsx(de,{...u}),showMenuIcon:l==="medium-compact"||l==="small",onClickMenuIcon:e.onClickMenuIcon,onZeniLogoClick:f,showZeniLogo:w,zeniLogoVisiblity:d==="zeni_only"?"visible":"hidden",isSearchOpen:n,backgroundColor:r.colors.grey4,source:"PeoplePage"}),t.jsx(cs,{})]}):p==="Error"||h==="Error"||x==="Error"?t.jsxs(ae,{"data-testid":a("people-page-error"),children:[t.jsx(le,{title:g,onBackClick:e.personAction.onBackClick,rightSideComponent:t.jsx(de,{...u}),showMenuIcon:l==="medium-compact"||l==="small",onZeniLogoClick:f,showZeniLogo:w,onClickMenuIcon:e.onClickMenuIcon,backgroundColor:r.colors.grey4,source:"PeoplePage"}),t.jsxs(ns,{children:[t.jsx(as,{"data-testid":a("people-page-error-reload-icon"),onClick:e.personAction.onReloadPeople,children:t.jsx(Ne,{width:s.sp6,height:s.sp6})}),t.jsx(ds,{children:y.getLocalizedStrings().peoplePage.reloadPage.label})]})]}):t.jsxs(ae,{"data-testid":a("people-page-content-container"),children:[t.jsx(le,{title:g,onBackClick:e.personAction.onBackClick,rightSideComponent:t.jsx(de,{...u}),showMenuIcon:l==="medium-compact"||l==="small",onZeniLogoClick:f,showZeniLogo:w,onClickMenuIcon:e.onClickMenuIcon,source:"PeoplePage",backgroundColor:r.colors.grey4}),t.jsx(rs,{"data-testid":a("people-page-content"),windowSize:l,children:e.peopleView.people.length>0?t.jsx(ts,{peopleView:e.peopleView,allManagers:e.managersView.users,allClasses:e.classList.classes,onDeleteClick:e.personAction.onPersonDelete,analytics:e.analytics,onResendInvite:e.personAction.onResendInvite,onColumnSortConfigChanged:e.onColumnSortConfigChanged,onRowClick:e.onRowClick,isZeniTenant:e.isZeniTenant}):m!==""?t.jsx(De,{emptySearchTextFirstLine:y.getLocalizedStrings().peoplePage.emptySearchTextFirstLine,emptySearchTextSecondLine:y.getLocalizedStrings().peoplePage.emptySearchTextSecondLine}):t.jsx(Oe,{message:y.getLocalizedStrings().peoplePage.emptyResultsMessage})})]})}return t.jsx("div",{children:M()})}const de=e=>t.jsx(is,{peopleInviteSectionProps:e}),js=ce.memo(ps);export{js as MemoPeople,ps as default};
|