@zeniai/web-cockpit-ui 1.14.91-dev → 1.14.91-dev-betaRR0
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-B6sY0jN6-Dv_4G1XI.js +21 -0
- package/dist/assets/{AIPerformancePage-BWK9fXrz-DKsZ1mo0.js → AIPerformancePage-BWK9fXrz-tS1FxKid.js} +2 -2
- package/dist/assets/{AccountInfoPage-DfT5DDiZ-fWZyYCg5.js → AccountInfoPage-DfT5DDiZ-CV2_yTPc.js} +3 -3
- package/dist/assets/{AccountInfoPageContent-nUi26Aww-BYypek4H.js → AccountInfoPageContent-nUi26Aww-CUuk_20a.js} +11 -11
- package/dist/assets/{AccountLockedInfoModal-BROj4bmE-BVM1T1YI.js → AccountLockedInfoModal-BROj4bmE-Cfoe0YA9.js} +5 -5
- package/dist/assets/{AccountReconDetailsDrawerPage-C-3FFCQZ-sRbxt9OR.js → AccountReconDetailsDrawerPage-C-3FFCQZ-CxBX6qm4.js} +7 -7
- package/dist/assets/{AccountRow-BM2kGWyR-T6iB2hx_.js → AccountRow-BM2kGWyR-CJCg6x0x.js} +10 -10
- package/dist/assets/{AccountsPromoCardStack-CNCG5uPJ-CVvmiGCx.js → AccountsPromoCardStack-CNCG5uPJ-m2eUaU2L.js} +5 -5
- package/dist/assets/AddAddressForCardDrawer-BuAtFO1w-B9URXppK.js +6 -0
- package/dist/assets/{AddToWalletPage-DyrcWdBZ-CvPiU8kF.js → AddToWalletPage-DyrcWdBZ--nr8n_4Z.js} +17 -17
- package/dist/assets/{AgingReportsPage-CmluxKG3-A44UbSFN.js → AgingReportsPage-CmluxKG3-BApj252U.js} +7 -7
- package/dist/assets/{AllUserItems-CVZZU-J3-TfKbUj2d.js → AllUserItems-CVZZU-J3-COeMV7u0.js} +6 -6
- package/dist/assets/{ApAgingDetailPage-CoNxqskm-DFDFQfze.js → ApAgingDetailPage-CoNxqskm-0EjHKnBi.js} +1 -1
- package/dist/assets/{AppBasePage-CTGNzUtN-DSfPwIJw.js → AppBasePage-CTGNzUtN-BfaGtOzk.js} +4 -4
- package/dist/assets/{AppDrawerContent-59dQVUxu-C64nAWzc.js → AppDrawerContent-59dQVUxu-BnKh28FR.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-XEW5sdNg-BbhudnSk.js → ApprovalRulesSettingsPage-XEW5sdNg-LVlVZSHT.js} +1 -1
- package/dist/assets/{ArAgingChart-D3Ym4gVE-BqVBnPwY.js → ArAgingChart-D3Ym4gVE-DsJpAb8n.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-BLEJSLJJ-DwMAtZnW.js → ArAgingDetailPage-BLEJSLJJ-DBAkqt03.js} +1 -1
- package/dist/assets/{AttachmentView-DSP80cjm-UNIl1Ai8.js → AttachmentView-DSP80cjm-D7w4ZtT4.js} +7 -7
- package/dist/assets/{BankAccountSection-DRrNcA79-hP-Vs5m_.js → BankAccountSection-DRrNcA79-D0y5RgB_.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-Ub-gsfhE-CrMug0PW.js → BankAccountWarningSection-Ub-gsfhE-pvCiKI7-.js} +9 -9
- package/dist/assets/{BankConnectionsSettingsPage-BcTtJTbg-algC_RED.js → BankConnectionsSettingsPage-BcTtJTbg-ehD3_4Dh.js} +9 -9
- package/dist/assets/{BillDetailPage-D7AQyxwr-Cr5mMjBH.js → BillDetailPage-D7AQyxwr-e7SQTUJW.js} +2 -2
- package/dist/assets/{BillPayApprovalRuleDetailPage-BQWGENO8-OS81cubl.js → BillPayApprovalRuleDetailPage-BQWGENO8-qq4pmey1.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-BbA1Nwqe-BwMbtGVn.js → BillPayApprovalRulesPage-BbA1Nwqe-3MsdZySS.js} +1 -1
- package/dist/assets/{BillPayPromoPage-DSTS_vBW-BNfdixF0.js → BillPayPromoPage-DSTS_vBW-Ce9u0nsw.js} +4 -4
- package/dist/assets/{BillPaySetUpPage-CvlVPVCA-C-Yq8DpY.js → BillPaySetUpPage-CvlVPVCA-CCbbdiQc.js} +1 -1
- package/dist/assets/{BillingSettingsPage-nKpHtd4C-Bnbrb4t9.js → BillingSettingsPage-nKpHtd4C-DLiPc2FT.js} +2 -2
- package/dist/assets/{BillsBulkReviewDrawerPage-DNHAoceL-Dw8wGAVZ.js → BillsBulkReviewDrawerPage-DNHAoceL-CthJ8Dd6.js} +1 -1
- package/dist/assets/{BoxItem-Bjv3WNXO-DVhc5wWw.js → BoxItem-Bjv3WNXO-d_9opxkd.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-Bj4D9bX2-BIO97DuN.js → BusinessVerificationPage-Bj4D9bX2-DWX5ckwL.js} +7 -7
- package/dist/assets/CardNumberSubText-BYY-Inxd-VoZJjuBC.js +21 -0
- package/dist/assets/{CashbackDetailPage-D9UiTqp9-zR6MfAmm.js → CashbackDetailPage-D9UiTqp9-9Lz5t64N.js} +14 -14
- package/dist/assets/{ChargeCardDetailPage-C5EdiIyl-DLQH13JM.js → ChargeCardDetailPage-C5EdiIyl-C4UWTuR2.js} +24 -24
- package/dist/assets/{ChargeCardListPage-DZwz1qoD-C4LK4t_r.js → ChargeCardListPage-DZwz1qoD-B146-EXW.js} +14 -14
- package/dist/assets/{ChargeCardListTable-D5B05Z1F-BFq9lu6-.js → ChargeCardListTable-D5B05Z1F-BBBvhTcZ.js} +13 -13
- package/dist/assets/{ChargeCardPromoPage-CDJMtGJb-BonChypf.js → ChargeCardPromoPage-CDJMtGJb-3FYfKocS.js} +10 -10
- package/dist/assets/{ChargeCardSetupPage-CVV24gS9-Bz9Vbd0f.js → ChargeCardSetupPage-CVV24gS9-BSJi9V_M.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-CmjBoi5e-CP137h_S.js → ChargeCardStatementsPage-CmjBoi5e-maH5VKYN.js} +3 -3
- package/dist/assets/{CheckDepositDrawerPage-CYOhT5Qz-Ctri9wNN.js → CheckDepositDrawerPage-CYOhT5Qz-KAp7o68o.js} +10 -10
- package/dist/assets/{CollapsableReportTable-hL_Ycouc-B8J7Q_nq.js → CollapsableReportTable-hL_Ycouc-CWDILu02.js} +32 -32
- package/dist/assets/{CompanyOfficerDetailsSection-DR_6TlQa-eD8A7jcO.js → CompanyOfficerDetailsSection-DR_6TlQa-CaPRdQzP.js} +1 -1
- package/dist/assets/{CompanyPassportCard-B4chn7-Q-D5SPmBv_.js → CompanyPassportCard-B4chn7-Q-DdxULjSC.js} +1 -1
- package/dist/assets/{CompanyPassportPage-oT9HnnPQ-SX0lC40Z.js → CompanyPassportPage-oT9HnnPQ-Ca6G5119.js} +1 -1
- package/dist/assets/{CompleteProfile-BgH4v76Z-8UAVvvgt.js → CompleteProfile-BgH4v76Z-J-mh56N2.js} +1 -1
- package/dist/assets/ConfettiBurst-Cl6jHJ8H-C9SoFqPe.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-CW-u7pJU-p324jU3k.js → CreateOrEditVendorPage-CW-u7pJU-Bzg24rp1.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-D30M7ol4-DoXJ5bDN.js → CreditCardPaymentDrawerPage-D30M7ol4-CwaBYQLR.js} +101 -101
- package/dist/assets/{CurrencySelectField-DOCEstMc-DZU689ma.js → CurrencySelectField-DOCEstMc-BkHxR5HA.js} +3 -3
- package/dist/assets/{CustomerOnboardingActivationPage-DMPNjFL_-ku4Vuy0S.js → CustomerOnboardingActivationPage-DMPNjFL_-TbnD-4OG.js} +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-SmOFmXBW-zEIEcSQa.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CBYo4VQn-Dn7fU-s8.js → CustomerOnboardingDetailPageSkeleton-CBYo4VQn-BujXWuJC.js} +8 -8
- package/dist/assets/{CustomerOnboardingNoStepsPage-EBVRCYfJ-CfvYqECa.js → CustomerOnboardingNoStepsPage-EBVRCYfJ-xtPONz37.js} +3 -3
- package/dist/assets/{CustomerOnboardingPage-TJK6s-LM-BKRL2lJB.js → CustomerOnboardingPage-TJK6s-LM-CsM-rW7t.js} +1 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-lNIP5gSu-D8leFJAq.js +202 -0
- package/dist/assets/{Dashboard-WiE9IRrh-Cv0kOt8p.js → Dashboard-WiE9IRrh-D3xuAsNG.js} +14 -14
- package/dist/assets/{DashboardReportPage-BKHl_IVD-C4Ea2qys.js → DashboardReportPage-BKHl_IVD-CMH5dEgW.js} +11 -11
- package/dist/assets/DashboardSidebarBackgroundAnimation-B1mJObim-DaBPsyhD.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-C8tChaJS-DUssbHtI.js → DepositAccTransactionItem-C8tChaJS-_jmc_rYW.js} +1 -1
- package/dist/assets/DepositAccTransactionListPage-B6px7upV-CQ8W1uho.js +66 -0
- package/dist/assets/DomesticWireDetailsPage-BFQJmzYm-DdIUFkni.js +21 -0
- package/dist/assets/{DownloadOverlay-DB-qx46O-j8z4pSob.js → DownloadOverlay-DB-qx46O-BzRX_iWf.js} +1 -1
- package/dist/assets/{DrawerPage-Bha9ElcW-B8Be3mMf.js → DrawerPage-Bha9ElcW-B91lWMHe.js} +6 -6
- package/dist/assets/{EditPeoplePage-B6QD5Vld-jl0Ywq6s.js → EditPeoplePage-B6QD5Vld-DKZ4nB8f.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-EplOf2mP-0BJtsB6D.js → EditReimbursementDetailPage-EplOf2mP-u2YMFjY5.js} +1 -1
- package/dist/assets/{EntityDetailPage-5Cu1qehd-DbU14HUf.js → EntityDetailPage-5Cu1qehd-DEcgoDIq.js} +1 -1
- package/dist/assets/{EntitySummarySection-D6z6-dM7-CxR6H9p6.js → EntitySummarySection-D6z6-dM7-C8vqyJE6.js} +2 -2
- package/dist/assets/{ExpenseAutomationOverviewPage-DkoxczRc-Nhh5EsPg.js → ExpenseAutomationOverviewPage-DkoxczRc-BFmIjbbK.js} +15 -15
- package/dist/assets/{ExpenseAutomationPage-Na3XKgcg-v_T_dNPC.js → ExpenseAutomationPage-Na3XKgcg-BOy-W5HC.js} +1 -1
- package/dist/assets/{ExpressPayPage-DWGl_gml-BK4q9z9-.js → ExpressPayPage-DWGl_gml-BoP5Cs2z.js} +12 -12
- package/dist/assets/{FeaturePreviewPage-BgkpUPMm-CjuE-Vy6.js → FeaturePreviewPage-BgkpUPMm--0g5n3S4.js} +3 -3
- package/dist/assets/{FollowStepsSection-64oy2OLD-mYi4qCkY.js → FollowStepsSection-64oy2OLD-D3h0tFyq.js} +7 -7
- package/dist/assets/{GlobalReviewListPage-DHfTyj2C-jQOPvWvS.js → GlobalReviewListPage-DHfTyj2C-RnZ7xNb7.js} +12 -12
- package/dist/assets/{InformationCardStack-Dw3lhl2I-7einUDdd.js → InformationCardStack-Dw3lhl2I-i5Npg5-3.js} +1 -1
- package/dist/assets/{InsightsCardStack-BiEswY1Z-B0ppu_rT.js → InsightsCardStack-BiEswY1Z-DYRJcEae.js} +9 -9
- package/dist/assets/{InsightsSection-DvqCilqy-J94KiGaL.js → InsightsSection-DvqCilqy-BsxjZx3R.js} +3 -3
- package/dist/assets/{IntegrationsSettingsPage-DzVYf5ff-EFzWzTcS.js → IntegrationsSettingsPage-DzVYf5ff-Qz_64-AR.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-DTHcuQsH-DCnTBpNn.js → InternationalWireSwiftDetailsPage-DTHcuQsH-LkhNT71n.js} +11 -11
- package/dist/assets/{InternationalWireVerificationPage-BzyRqd-m-CtMekcQE.js → InternationalWireVerificationPage-BzyRqd-m-Bs1sKcFl.js} +7 -7
- package/dist/assets/{InviteFormPage-CaJB3ss1-BX5i7EqT.js → InviteFormPage-CaJB3ss1-DDpF9vZd.js} +17 -17
- package/dist/assets/{InvitePageListView-8Ltt8tHx-CtYoDyrk.js → InvitePageListView-8Ltt8tHx-BVYRRTTO.js} +1 -1
- package/dist/assets/{InvitePeoplePage-A7oKAD7M-BQc_PdIV.js → InvitePeoplePage-A7oKAD7M-0hQ58v_R.js} +2 -2
- package/dist/assets/{InvoiceUploadSection-DomquLut-e92SA0tf.js → InvoiceUploadSection-DomquLut-C6XQxVf3.js} +5 -5
- package/dist/assets/{IssueChargeCardPage-DtIQ1Buk-DjM4t17X.js → IssueChargeCardPage-DtIQ1Buk-DVoIaqMD.js} +1 -1
- package/dist/assets/{LabeledAddressValue-B_9lh-_a-DIizmhzb.js → LabeledAddressValue-B_9lh-_a-BQeLvRQa.js} +2 -2
- package/dist/assets/{LabeledAddressValueField-CC7T3qZQ-m9gvzhHo.js → LabeledAddressValueField-CC7T3qZQ-CjYkOklE.js} +2 -2
- package/dist/assets/LabeledControlledCheckBoxField-CeMM7Ci3-DVaYpdZO.js +16 -0
- package/dist/assets/{LabeledCreatableSingleSelectField-DKD0oEl8-gq-eDRMt.js → LabeledCreatableSingleSelectField-DKD0oEl8-Cyxj1Kus.js} +3 -3
- package/dist/assets/{LabeledDocumentField-Dy3jwAiL-49YAoImC.js → LabeledDocumentField-Dy3jwAiL-XoHwubm3.js} +3 -3
- package/dist/assets/{LabeledDropDownFormattedTextField-DDzM3r6s-ECrfBFdw.js → LabeledDropDownFormattedTextField-DDzM3r6s-Wztx4Tcl.js} +1 -1
- package/dist/assets/{LabeledText-axaAGyUS-Dng_AeMD.js → LabeledText-axaAGyUS-BpEJBxD4.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-UlGND56Y-Bns3vXLL.js → LabeledUserSingleSelectWithSubtitlesField-UlGND56Y-CeEZ7NWG.js} +17 -17
- package/dist/assets/{LabeledZeniRolesDropDownField-dpz7g9jK-BS9FUIQq.js → LabeledZeniRolesDropDownField-dpz7g9jK-1OORssNe.js} +9 -9
- package/dist/assets/{LinkJETransactionPage-CJniqVcu-DlmRVmek.js → LinkJETransactionPage-CJniqVcu-BUqqOVZ3.js} +3 -3
- package/dist/assets/{LockCardPage-CjO8cr2a-_f0132IP.js → LockCardPage-CjO8cr2a-B7T-NUky.js} +12 -12
- package/dist/assets/{LowBalancePopup-DVS-w3b7-DP0lgN2T.js → LowBalancePopup-DVS-w3b7-CXJHrLHV.js} +2 -2
- package/dist/assets/MagicLinkACHDetailsPage-CUHMKmcj-DbWiJSy4.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Dnc7OzKQ-S_MOFfkp.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-sBpQkYwP-B_hpFhv2.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-DAAoq3iT-c3oKtr_f.js → MagicLinkSuccessPage-DAAoq3iT-C_Yyw67d.js} +6 -6
- package/dist/assets/MagicLinkTitleSection-FMRBLlRJ-BJi3iHKO.js +17 -0
- package/dist/assets/MailingDetailsSection-CiJ5JLA6-Dh-rh1lg.js +21 -0
- package/dist/assets/Menu-wpP8R1br-CAapPWSw.js +17 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-DIIFgnkE-CogNLqVY.js → MyBankConnectionsSettingsPage-DIIFgnkE-BP3xfm53.js} +2 -2
- package/dist/assets/{MyPendingActivationChargeCardListPage-Di_KYRgS-DRNBLhDG.js → MyPendingActivationChargeCardListPage-Di_KYRgS-Ci2uuBdO.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-m6vaeGgZ-chnTYzOu.js → MyProfileSettingsPage-m6vaeGgZ-CzB44LiA.js} +4 -4
- package/dist/assets/{NavBarWithPicker-C_qO8mgD-DUpFfabv.js → NavBarWithPicker-C_qO8mgD-BWszQoIE.js} +4 -4
- package/dist/assets/{NavigationArrow-BXYIj6Wz-DziJLhPd.js → NavigationArrow-BXYIj6Wz-B7qUUnjS.js} +8 -8
- package/dist/assets/{NavigationDots-BvKSgdgh-LQiuRx4x.js → NavigationDots-BvKSgdgh-BXw04_O_.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-Dc3xEoiZ-C2aDiu95.js → NewGlobalMerchantPage-Dc3xEoiZ-DB34-Ax1.js} +2 -2
- package/dist/assets/NoDataChart-C5ZP32zB-CMBnBikM.js +26 -0
- package/dist/assets/NoDataTable-BnBYE8p_-D99JCqJE.js +8 -0
- package/dist/assets/{NotFoundPage-CZ25GWwU-BIBXUzqs.js → NotFoundPage-CZ25GWwU-Bhr9smJg.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-DHvgj7Hu-D3suXG--.js → NotificationSettingsPage-DHvgj7Hu-D70wdxPy.js} +3 -3
- package/dist/assets/{NotificationsListConfig-BBLSv0sd-C4KCM8pw.js → NotificationsListConfig-BBLSv0sd-D3pDalXG.js} +1 -1
- package/dist/assets/{NotificationsPage-CGVEC-Zc-C8fq9c_9.js → NotificationsPage-CGVEC-Zc-aEkue81y.js} +14 -14
- package/dist/assets/{OpExByVendorPage-D55JZne--D9xmj7rz.js → OpExByVendorPage-D55JZne--BA2gN_9D.js} +6 -6
- package/dist/assets/{OverlayContainerPage-Daz3A7cI-D6qPPmeQ.js → OverlayContainerPage-Daz3A7cI-B2pRyPAw.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-fVmttEKP-D6Evs_k0.js → PandLWithForecastPage-fVmttEKP-Cpmbp3qS.js} +11 -11
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-BiU8tQnm-4Kl9uXwr.js → PaymentAccountSetupBillingAddressSection-BiU8tQnm-_fnUz-j3.js} +5 -5
- package/dist/assets/{PeoplePage-QuuuX2AS-CUwuNLCQ.js → PeoplePage-QuuuX2AS-BJIGfeNN.js} +12 -12
- package/dist/assets/Preview-m-FcrQ0s.js +1 -0
- package/dist/assets/{ProductsCarousel-zdZkfaiY-CKycG9Wt.js → ProductsCarousel-zdZkfaiY-9riU76fC.js} +3 -3
- package/dist/assets/{PromoBaseCards-flFtcbIg-iLyc6jwq.js → PromoBaseCards-flFtcbIg-hQ-cGzbT.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-DNB2C1vQ-B6h7mZJt.js → QBOConnectionDialog-DNB2C1vQ-B-m0Orif.js} +2 -2
- package/dist/assets/{QBOSetupSection-B59etoGz-Dx4Hkrje.js → QBOSetupSection-B59etoGz-BjsJ5dP9.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-D7do3o0A-DaR0xdJA.js → ReimbursementApprovalRuleDetailPage-D7do3o0A-ZSNYROgC.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BJ6GewQ2-D7efVmkv.js → ReimbursementApprovalRulesPage-BJ6GewQ2-cn7dx9_x.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-DKAtYSOy-C-uqjyM_.js → ReimbursementDetailPage-DKAtYSOy-rPi_28qO.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-DKcSHlHp-XcrUKScH.js → ReimbursementPromoPage-DKcSHlHp-B-x2_K1K.js} +9 -9
- package/dist/assets/{ReimbursementSetUpPage-Y1e_hna--rh2VyUST.js → ReimbursementSetUpPage-Y1e_hna--CWaIrVmZ.js} +5 -5
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-fgz8s4w9-CzZAxGly.js → ReimbursementsBulkReviewDrawerPage-fgz8s4w9-BgzjXAGE.js} +1 -1
- package/dist/assets/{ReloadCard-DjtdPHq5-BoSxtWCb.js → ReloadCard-DjtdPHq5-qE-nJEXk.js} +3 -3
- package/dist/assets/{ReportTableViewSelector-C8e6IEWt-BJN3fro7.js → ReportTableViewSelector-C8e6IEWt--jlW7QpR.js} +1 -1
- package/dist/assets/{ReportsPage-BIe0eDLC-D5ygJVqP.js → ReportsPage-BIe0eDLC-Cn2-db9t.js} +3 -3
- package/dist/assets/{RevenueChart-Cc0XrxLL-BB6kfchw.js → RevenueChart-Cc0XrxLL-RTOUbgfW.js} +30 -30
- package/dist/assets/{ReviewDetailsPage-CU1AYWgR--SOiatSS.js → ReviewDetailsPage-CU1AYWgR-BCcFVvxj.js} +17 -17
- package/dist/assets/{ReviewOverlay-CruJ9O84-BdMFQyaH.js → ReviewOverlay-CruJ9O84-CVyRQtbr.js} +1 -1
- package/dist/assets/{RoleWithToolTip-fC3byzzv-DteZC2-q.js → RoleWithToolTip-fC3byzzv-Da5EXkAB.js} +6 -6
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CE3tUYhk-Aj3mnuFr.js → ScheduleDetailsFixedAssetsPage-CE3tUYhk-NtG2QTRz.js} +3 -3
- package/dist/assets/{ScheduleDetailsPage-BhAqJ1Of-BNYzMpaE.js → ScheduleDetailsPage-BhAqJ1Of-D1IstsCs.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-NSt1juSD-BtySotUK.js → ScheduleSequenceTable-NSt1juSD-BKLbxQMq.js} +21 -21
- package/dist/assets/{ScreenRoutes-Ofrn7XPK.js → ScreenRoutes-CWkpMCjL.js} +75 -75
- package/dist/assets/SetUpAccountSection-C1EnJv1V-Cvu34ipQ.js +378 -0
- package/dist/assets/{SignIn-BhIof_Cm-Stp0fHNQ.js → SignIn-BhIof_Cm-DeDZlCNC.js} +1 -1
- package/dist/assets/SignInScreen-Cihieu4J.js +1 -0
- package/dist/assets/{SpendManagementListViewPage-BEWNNX_Z-Qf8TDCkQ.js → SpendManagementListViewPage-BEWNNX_Z-j_tiMoWb.js} +4 -4
- package/dist/assets/{SpendManagementPerTabPage-Vs1Eoxgd-DGhcXeqs.js → SpendManagementPerTabPage-Vs1Eoxgd-DfGQnSHO.js} +20 -20
- package/dist/assets/{SpendManagementSection-C38Zpi1z-Hvu4v5m7.js → SpendManagementSection-C38Zpi1z-B-GaQ2j9.js} +10 -10
- package/dist/assets/{StatementItem-bHInVThd-BfGU3kqj.js → StatementItem-bHInVThd-CsJa48J1.js} +2 -2
- package/dist/assets/{StatementsPage-CGQhmaXx-CVtkQqM2.js → StatementsPage-CGQhmaXx-CawRkQvA.js} +1 -1
- package/dist/assets/{StatusSwitcher-7fiKLb5g-cQtYU__8.js → StatusSwitcher-7fiKLb5g-B_2JeKNK.js} +1 -1
- package/dist/assets/{SubTabSwitcher-9AnfZiNy-CobTdTqd.js → SubTabSwitcher-9AnfZiNy-vCnU7WF-.js} +3 -3
- package/dist/assets/{SummaryCard-DOycYLs1-BLeRuOD7.js → SummaryCard-DOycYLs1-CaQB1fqx.js} +1 -1
- package/dist/assets/{TaskManagementPage-CehyMnY0-BwJtO-U4.js → TaskManagementPage-CehyMnY0-Cue4tauF.js} +10 -10
- package/dist/assets/{TimeRangeSwitcher-Dq2FEgFR-DmMi5La_.js → TimeRangeSwitcher-Dq2FEgFR-D3AQaZI-.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-By3xz_-m-1CBF6COV.js → TimeframeSwitcher-By3xz_-m-Bv71ZHom.js} +6 -6
- package/dist/assets/{TimeframeSwitcherWithToggle-a3fmbzNR-B9R7QlVw.js → TimeframeSwitcherWithToggle-a3fmbzNR-DZx2FqjJ.js} +3 -3
- package/dist/assets/{TopExCard-GEQpp_KY-74e79UYx.js → TopExCard-GEQpp_KY-BIUWKmJn.js} +4 -4
- package/dist/assets/{TopExDetailPage-hid1dQYl-WgHXC6hE.js → TopExDetailPage-hid1dQYl-vzpcxnkQ.js} +9 -9
- package/dist/assets/{TransactionDetailPage-CX4JW9WM-DyZTJ1bq.js → TransactionDetailPage-CX4JW9WM-BshlnJb5.js} +3 -3
- package/dist/assets/{TransactionList-BixeXh4Y-Il163hc_.js → TransactionList-BixeXh4Y-DpKuzYhu.js} +13 -13
- package/dist/assets/{TransactionListBig-CGMMJQBd-KQNhkGbE.js → TransactionListBig-CGMMJQBd-CPWLJgiW.js} +7 -7
- package/dist/assets/{TransactionListPage-CBVUTX4y-DWsla1LN.js → TransactionListPage-CBVUTX4y-CTzBsfwd.js} +5 -5
- package/dist/assets/{TransactionVendorDetailPage-CEbHH_0r-CS6QQqEG.js → TransactionVendorDetailPage-CEbHH_0r-B2rNZ7e8.js} +4 -4
- package/dist/assets/{TransferDrawerPage-BFd7uQnF-AGu3EQB7.js → TransferDrawerPage-BFd7uQnF-BDnFaRJN.js} +32 -32
- package/dist/assets/{TreasuryOverviewPage-Bd58hOy8-P3TIcDYG.js → TreasuryOverviewPage-Bd58hOy8-COabKjkh.js} +28 -28
- package/dist/assets/{TreasuryPromoPage-BvArufHi-B6OSOn5z.js → TreasuryPromoPage-BvArufHi-mIhWyHJJ.js} +6 -6
- package/dist/assets/{TreasuryStatementsPage-YLCEBbRh-BeAedV0-.js → TreasuryStatementsPage-YLCEBbRh-Hb92GX1G.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-D_6mgQqi-CO3HXioV.js → TreasuryTaxLetterPage-D_6mgQqi-YEx3tems.js} +1 -1
- package/dist/assets/{TrendChart-D3dT6hUb-CRyvw86n.js → TrendChart-D3dT6hUb-BmrIV_Lt.js} +3 -3
- package/dist/assets/{TrendWithTransactions-Gj-u5KXi-CpckXM1N.js → TrendWithTransactions-Gj-u5KXi-_cLHr6Sd.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-B3eRYolj-D-Jwo7-l.js → UncategorizedAccountsMappingPage-B3eRYolj-BupHpvxs.js} +3 -3
- package/dist/assets/{UnitIntegrationPage-DpjR9hUu-BIdCIf5k.js → UnitIntegrationPage-DpjR9hUu-Bkk7bekK.js} +4 -4
- package/dist/assets/UploadAdditionalDocumentOverlay-COtszXUY-DeW-OEQ-.js +38 -0
- package/dist/assets/Vendor2FAPopup-C85mhuSb-Ci-aokF3.js +1 -0
- package/dist/assets/VendorACHDetailsPage-DeexeWpV-PyPL7qy9.js +1 -0
- package/dist/assets/{VendorDetailPage-BrbKfsL4-BYuDBwtU.js → VendorDetailPage-BrbKfsL4-C5yq1wZE.js} +86 -86
- package/dist/assets/VendorDomesticWireDetailsPage-DBChSKlR-DfQ9uMtB.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-DgBLn3fd-DyXTQ39Q.js → VendorFiling1099EditablePage-DgBLn3fd-yxfQxsgz.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-jc7-OExI-CcNlKzIr.js → VendorFirstReviewPage-jc7-OExI-CXLfVnQg.js} +58 -58
- package/dist/assets/{VendorInternationalWireDetailsPage-c6isgwH2-CfXEdhbK.js → VendorInternationalWireDetailsPage-c6isgwH2-rWvjTHMm.js} +7 -7
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CywCx8-0-toI88yyC.js +1 -0
- package/dist/assets/{VendorsAccountsSection--VfdAF3H-aooc9xax.js → VendorsAccountsSection--VfdAF3H-C0MWVdaQ.js} +2 -2
- package/dist/assets/{VerifyDevice-CaifjdR8-CqDImdvA.js → VerifyDevice-CaifjdR8-oDnQadr1.js} +1 -1
- package/dist/assets/VideoPlayer-BVR9LPmm-C0OY9hGQ.js +78 -0
- package/dist/assets/{VideoPopup-BEXc8o78-CxvDyO3n.js → VideoPopup-BEXc8o78-BfKdRFKO.js} +5 -5
- package/dist/assets/{WarningsDrawerPage-CboqfxzC-BsdL63Q1.js → WarningsDrawerPage-CboqfxzC-Df6JGLWB.js} +4 -4
- package/dist/assets/{ZeniAccountDetailPage-Dujj0-XC-Bs0_mCxO.js → ZeniAccountDetailPage-Dujj0-XC-D3Dn9J7C.js} +21 -21
- package/dist/assets/{ZeniAccountListViewPage--SMJDGvC-B9VB-g9k.js → ZeniAccountListViewPage--SMJDGvC-D8iSNbC5.js} +1 -1
- package/dist/assets/ZeniAccountNavBarPieces-DqLJVQ5t-CpI_x0eJ.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-BVjJvWsA-D_izrQ3u.js → ZeniAccountPromoPage-BVjJvWsA-eagcbJWN.js} +6 -6
- package/dist/assets/{ZeniAccountSetupPage-Dvxst8RT-Dw_0q67c.js → ZeniAccountSetupPage-Dvxst8RT-RZ48F_0V.js} +1 -1
- package/dist/assets/{ZeniCopyright-B88k3pkr-D_GBhPtz.js → ZeniCopyright-B88k3pkr-CwZenhhP.js} +1 -1
- package/dist/assets/ZeniTransferAmountSlider-1DS0MsTI-DcvYtFGr.js +63 -0
- package/dist/assets/add-to-wallet-DgdBD8_G-B14A9z81.js +1 -0
- package/dist/assets/{analytics-CHPpxU3b.js → analytics-C6L7hlHG.js} +1 -1
- package/dist/assets/analyticsHelper-DKc66BYi.js +1 -0
- package/dist/assets/{analyticsHelper-DmujELNG-B2_5NV-p.js → analyticsHelper-DmujELNG-ClL2XzYx.js} +1 -1
- package/dist/assets/arrow-south-east-round-PEovUgvH-4-pP5pik.js +1 -0
- package/dist/assets/auto-transfer-rule-mbafm5D3-D30iL0YR.js +1 -0
- package/dist/assets/{chartTypes-DRiSljvE-CN4L62GH.js → chartTypes-DRiSljvE-CrLsLRjf.js} +1 -1
- package/dist/assets/{commonDimensions-BDftm0gJ-DyUDFvZC.js → commonDimensions-BDftm0gJ-Bk927TMF.js} +1 -1
- package/dist/assets/constants-B1dh_xIn.js +1 -0
- package/dist/assets/core-CadaPWsO.js +62 -0
- package/dist/assets/{dash.all.min-Bzta_mrR.js → dash.all.min-BwAm2K21.js} +1 -1
- package/dist/assets/{detailCommon-BGgE4mE3-D-w4kHC7.js → detailCommon-BGgE4mE3-BEh9p6sH.js} +3 -3
- package/dist/assets/{downloadPdf-DCQ9vVZs-Be80rXL-.js → downloadPdf-DCQ9vVZs-DnysTBvz.js} +1 -1
- package/dist/assets/empty-BVIRhP6J.js +1 -0
- package/dist/assets/empty-Co20hejg.js +1 -0
- package/dist/assets/epic-IoIkBJiH.js +2 -0
- package/dist/assets/gift-box-Cmt9OgIZ-B8pnTsjV.js +1 -0
- package/dist/assets/graphic-no-data-l-DU4J8fDt-CgpIivOh.js +1 -0
- package/dist/assets/graphic-no-data-net-burn-l-CzmycA0m-Bbm3dmZD.js +1 -0
- package/dist/assets/handshake-BPg58FML-BttIiMDC.js +1 -0
- package/dist/assets/{hls-SyH7Grr1.js → hls-DifHSkbp.js} +1 -1
- package/dist/assets/{index-BiiqfeFx.js → index-4dPdvww9.js} +1 -1
- package/dist/assets/index-6sWe2DhR.js +1 -0
- package/dist/assets/{index-DJLrbf0F.js → index-CiMyMhgu.js} +98 -98
- package/dist/assets/index-CnYBBjVQ.js +1 -0
- package/dist/assets/{index-BG_bOyH4.js → index-DBJcoW1J.js} +3 -3
- package/dist/assets/index-sRtT3LWH.js +1 -0
- package/dist/assets/index-sbaC-tND.js +1 -0
- package/dist/assets/{lexical-dZFDzIA1.js → lexical-DEI4_j9X.js} +1 -1
- package/dist/assets/{liveblocks-C2I4vRCJ.js → liveblocks-D92pTRaw.js} +28 -20
- package/dist/assets/lottie-Dv5hJ5mA.js +9 -0
- package/dist/assets/{mapLoadingInProgressToTreeNode-CXP8ZZTG-DkaL-N2A.js → mapLoadingInProgressToTreeNode-CXP8ZZTG-vSJ6j19m.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BZSP-VcP-BuUbTOqM.js → mapSectionWithAcOnlyToTreeNode-BZSP-VcP-CrMDUoxM.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-Bc1S_1ej-BOT7FVTB.js → mapSpacerToTreeNode-Bc1S_1ej-BemzQbL5.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-ClgcHX26-Cs9gyyXd.js → mapTimeframeBalancesToTreeNode-ClgcHX26-Bi0tXnM_.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-Cwp98PMa-tz5P0V5W.js → mapTimeframeBalancesToTreeNode-Cwp98PMa-DQxUPxNn.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BmDRXfMV-Bmf8af15.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BmDRXfMV-FlWaHbgN.js} +1 -1
- package/dist/assets/mui-D2MqZYRi.js +17 -0
- package/dist/assets/page-detail-CWX5S47F-CycRTeYU.js +1 -0
- package/dist/assets/radio-default-CiSgisfh-C3-g-fgb.js +1 -0
- package/dist/assets/{react-D9gRIIQJ.js → react-B3z6gyiL.js} +2 -2
- package/dist/assets/react-Bbwv1dSd.js +17 -0
- package/dist/assets/{react-CurU10nF.js → react-BnUDmuTB.js} +3 -3
- package/dist/assets/{react-B2Dtpj08.js → react-Bv_vNAf8.js} +2 -2
- package/dist/assets/{react-C5CamjHm.js → react-CSxJXI_i.js} +2 -2
- package/dist/assets/{react-BuuImry8.js → react-CeQlQsdb.js} +1 -1
- package/dist/assets/{react-KsUvriAa.js → react-D2dXMlhh.js} +2 -2
- package/dist/assets/{react-PdDuKQQV.js → react-UOVhoe0Z.js} +1 -1
- package/dist/assets/recharts-t7V-Kaqf.js +73 -0
- package/dist/assets/sentry-DMKAGVXl.js +515 -0
- package/dist/assets/shield-DOlUxcFf-DKC5YbXI.js +1 -0
- package/dist/assets/{toCOABalancesWithID--oEGymMJ-DrPkDPTu.js → toCOABalancesWithID--oEGymMJ-DIxvxTaj.js} +1 -1
- package/dist/assets/toChartData-CavJzP6f-Bu_YRbEM.js +1 -0
- package/dist/assets/transaction-placeholder-CpOwZAMG-BdGoUwcv.js +1 -0
- package/dist/assets/{uploadAttachment-BuVCsq0Q-BB-5S1Qg.js → uploadAttachment-BuVCsq0Q-C2wm0oAH.js} +7 -7
- package/dist/assets/{uploadReceipts-CPw64UYa-DU-gRzOR.js → uploadReceipts-CPw64UYa-BgNLcFfw.js} +1 -1
- package/dist/assets/url-CnqqWgIy.js +1 -0
- package/dist/assets/{url-RUB1rBsd.js → url-DsW1BPwo.js} +1 -1
- package/dist/assets/useLongPress-GCK2COYQ-DVYx_Wdi.js +1 -0
- package/dist/assets/usp-line-BBd1wKwW-D20AQITY.js +1 -0
- package/dist/assets/{utils-DUsHM-Uc.js → utils-BWiizB9D.js} +19 -19
- package/dist/assets/{zeni-epic-state-CQt4n3Xe.js → zeni-epic-state-DjAFCaxy.js} +34 -34
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/ACHDetailsPage-B6sY0jN6-B0gf8H4B.js +0 -21
- package/dist/assets/AddAddressForCardDrawer-BuAtFO1w-BFBt3SFQ.js +0 -6
- package/dist/assets/CardNumberSubText-BYY-Inxd-BdlFsn4_.js +0 -21
- package/dist/assets/ConfettiBurst-Cl6jHJ8H-LC2meCe-.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-SmOFmXBW-DTgF2r26.js +0 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-lNIP5gSu-PR2itKHa.js +0 -202
- package/dist/assets/DashboardSidebarBackgroundAnimation-B1mJObim-BrrhB9xn.js +0 -12
- package/dist/assets/DepositAccTransactionListPage-B6px7upV-CeIhvwtb.js +0 -66
- package/dist/assets/DomesticWireDetailsPage-BFQJmzYm-RX-JpFy3.js +0 -21
- package/dist/assets/LabeledControlledCheckBoxField-CeMM7Ci3-mZLzoQGL.js +0 -16
- package/dist/assets/MagicLinkACHDetailsPage-CUHMKmcj-B4JK6Tsk.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Dnc7OzKQ-CjkHVZHo.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-sBpQkYwP-BFgoRuDp.js +0 -1
- package/dist/assets/MagicLinkTitleSection-FMRBLlRJ-BOWrScDm.js +0 -17
- package/dist/assets/MailingDetailsSection-CiJ5JLA6-DddwOxAo.js +0 -21
- package/dist/assets/Menu-wpP8R1br-CxnIQs8p.js +0 -17
- package/dist/assets/NoDataChart-C5ZP32zB-Co6FSXzL.js +0 -26
- package/dist/assets/NoDataTable-BnBYE8p_-CiELOEE2.js +0 -8
- package/dist/assets/Preview-D0lKYz6_.js +0 -1
- package/dist/assets/SetUpAccountSection-C1EnJv1V-nWkvB51T.js +0 -378
- package/dist/assets/SignInScreen-ApNcuhAj.js +0 -1
- package/dist/assets/UploadAdditionalDocumentOverlay-COtszXUY-DBj80beJ.js +0 -38
- package/dist/assets/Vendor2FAPopup-C85mhuSb-SCWhQlz7.js +0 -1
- package/dist/assets/VendorACHDetailsPage-DeexeWpV-CvETHK8j.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-DBChSKlR-4iWeRYsC.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CywCx8-0-BWyYdePs.js +0 -1
- package/dist/assets/VideoPlayer-BVR9LPmm-Cf1X7mgb.js +0 -78
- package/dist/assets/ZeniAccountNavBarPieces-DqLJVQ5t-B6EqVL37.js +0 -14
- package/dist/assets/ZeniTransferAmountSlider-1DS0MsTI-D_vM8ORb.js +0 -63
- package/dist/assets/add-to-wallet-DgdBD8_G-DvwlYBb0.js +0 -1
- package/dist/assets/analyticsHelper-D88-Oppk.js +0 -1
- package/dist/assets/arrow-south-east-round-PEovUgvH-D9klpzRU.js +0 -1
- package/dist/assets/auto-transfer-rule-mbafm5D3-CHCjFoIN.js +0 -1
- package/dist/assets/constants-B4Ak6U9p.js +0 -1
- package/dist/assets/core-CA3j8Axi.js +0 -77
- package/dist/assets/empty-CrPfQgao.js +0 -1
- package/dist/assets/empty-Dn000SHy.js +0 -1
- package/dist/assets/epic-C_I3d-Sx.js +0 -2
- package/dist/assets/gift-box-Cmt9OgIZ-eSACml6z.js +0 -1
- package/dist/assets/graphic-no-data-l-DU4J8fDt-BzIPOWHn.js +0 -1
- package/dist/assets/graphic-no-data-net-burn-l-CzmycA0m-CtBcTNoa.js +0 -1
- package/dist/assets/handshake-BPg58FML-DvA7MfJg.js +0 -1
- package/dist/assets/index-BWZriWwb.js +0 -1
- package/dist/assets/index-C-ypGNlB.js +0 -1
- package/dist/assets/index-C4-PHmb9.js +0 -1
- package/dist/assets/index-C5fdNIhc.js +0 -1
- package/dist/assets/lottie-B7mXQ-R-.js +0 -9
- package/dist/assets/mui-DpJXlk4t.js +0 -25
- package/dist/assets/page-detail-CWX5S47F-Byx36A1h.js +0 -1
- package/dist/assets/radio-default-CiSgisfh-HcY1qXLg.js +0 -1
- package/dist/assets/react-B7zczQTC.js +0 -17
- package/dist/assets/recharts-BGdJnVo5.js +0 -73
- package/dist/assets/sentry-BA4piVNf.js +0 -500
- package/dist/assets/shield-DOlUxcFf-DciCHlJY.js +0 -1
- package/dist/assets/toChartData-CavJzP6f-B2iIF7nP.js +0 -1
- package/dist/assets/transaction-placeholder-CpOwZAMG-2yCTNaDx.js +0 -1
- package/dist/assets/url-Bq2XNMnM.js +0 -1
- package/dist/assets/useLongPress-GCK2COYQ-Ch-mrcwO.js +0 -1
- package/dist/assets/usp-line-BBd1wKwW-BZdA9pHf.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as o,C as M,d as T,q as v,
|
|
1
|
+
import{V as o,C as M,d as T,q as v,bz as ne,F as c,n as re,aM as A,m as ie,b as ae,y as W,o as s,aA as ce,aS as le,D as de,cz as ge,bw as me,c as $,cA as pe,aQ as he,aR as fe,b8 as ue,bI as xe}from"./index-CiMyMhgu.js";import{a as F}from"./sentry-DMKAGVXl.js";import{n as r}from"./mui-D2MqZYRi.js";import{R as we}from"./NavBarWithPicker-C_qO8mgD-BWszQoIE.js";import{m as Se}from"./analyticsHelper-DmujELNG-ClL2XzYx.js";import{M as je}from"./TimeframeSwitcherWithToggle-a3fmbzNR-DZx2FqjJ.js";import{I as be,a as ye}from"./CollapsableReportTable-hL_Ycouc-CWDILu02.js";import{M as E}from"./usp-line-BBd1wKwW-D20AQITY.js";import{EX as $e,EY as Ce}from"./zeni-epic-state-DjAFCaxy.js";import{D as Pe,T as ke,C as ze}from"./mapSectionWithAcOnlyToTreeNode-BZSP-VcP-CrMDUoxM.js";import{s as Y}from"./mapTimeframeBalancesToTreeNode-ClgcHX26-Bi0tXnM_.js";import"./liveblocks-D92pTRaw.js";import"./core-CadaPWsO.js";import"./recharts-t7V-Kaqf.js";import"./lottie-Dv5hJ5mA.js";import"./analytics-C6L7hlHG.js";import"./lexical-DEI4_j9X.js";import"./utils-BWiizB9D.js";import"./TimeframeSwitcher-By3xz_-m-Bv71ZHom.js";import"./AccountRow-BM2kGWyR-CJCg6x0x.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]="7791621a-320f-44ee-8271-5bad3c2da18d",e._sentryDebugIdIdentifier="sentry-dbid-7791621a-320f-44ee-8271-5bad3c2da18d")}catch{}})();const q="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual.png",H="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual-dark.png",ve=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
min-height: 100%;
|
|
@@ -17,17 +17,17 @@ import{V as o,C as M,d as T,q as v,aK as A,bz as ne,F as c,n as re,m as ie,y as
|
|
|
17
17
|
margin: auto;
|
|
18
18
|
padding: ${s.sp5} ${s.sp0};
|
|
19
19
|
color: ${e=>e.theme.colors.primary};
|
|
20
|
-
`,
|
|
20
|
+
`,Q=r.div`
|
|
21
21
|
display: flex;
|
|
22
22
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
23
23
|
align-items: center;
|
|
24
24
|
justify-content: center;
|
|
25
25
|
margin-bottom: ${e=>e.windowSize==="small"?s.sp3:s.sp4};
|
|
26
|
-
`,Me=r.div``,
|
|
26
|
+
`,Me=r.div``,X=r.div`
|
|
27
27
|
width: ${e=>e.windowSize==="small"?"auto":"408px"};
|
|
28
28
|
display: flex;
|
|
29
29
|
flex-direction: column;
|
|
30
|
-
`,
|
|
30
|
+
`,Z=r.div`
|
|
31
31
|
width: ${e=>e.windowSize==="small"?"100%":"calc(100% - 408px)"};
|
|
32
32
|
overflow: hidden;
|
|
33
33
|
max-width: 712px;
|
|
@@ -50,17 +50,17 @@ import{V as o,C as M,d as T,q as v,aK as A,bz as ne,F as c,n as re,m as ie,y as
|
|
|
50
50
|
align-items: center;
|
|
51
51
|
text-align: start;
|
|
52
52
|
box-sizing: border-box;
|
|
53
|
-
`,N=r(
|
|
53
|
+
`,N=r(ue)`
|
|
54
54
|
color: ${e=>e.theme.colors.champion};
|
|
55
|
-
`,_=r(
|
|
55
|
+
`,_=r(fe)`
|
|
56
56
|
color: ${e=>e.theme.colors.champion};
|
|
57
|
-
`,B=r(
|
|
57
|
+
`,B=r(he)`
|
|
58
58
|
color: ${e=>e.theme.colors.champion};
|
|
59
|
-
`,O=r(
|
|
59
|
+
`,O=r(pe)`
|
|
60
60
|
color: ${e=>e.theme.colors.champion};
|
|
61
61
|
`,P=r.div``,k=r.div`
|
|
62
62
|
padding-left: ${s.sp3};
|
|
63
|
-
`,
|
|
63
|
+
`,K=r(E)`
|
|
64
64
|
color: ${e=>e.theme.colors.graphColor18};
|
|
65
65
|
`,ee=r(E)`
|
|
66
66
|
color: ${e=>e.theme.colors.graphColor25};
|
|
@@ -70,7 +70,7 @@ import{V as o,C as M,d as T,q as v,aK as A,bz as ne,F as c,n as re,m as ie,y as
|
|
|
70
70
|
margin: ${s.sp3} auto;
|
|
71
71
|
max-width: 422px;
|
|
72
72
|
color: ${e=>e.theme.colors.hero};
|
|
73
|
-
`,Fe=()=>{const e=T(),t=v();return o.jsxs(
|
|
73
|
+
`,Fe=()=>{const e=T(),t=v();return o.jsxs(Q,{windowSize:t,children:[o.jsx(Z,{windowSize:t,children:o.jsx(J,{windowSize:t,children:e.mode==="dark"?o.jsx("img",{src:H,alt:"forecast-promo",style:{width:"100%",height:"auto"}}):o.jsx("img",{src:q,alt:"forecast-promo",style:{width:"100%",height:"auto"}})})}),o.jsxs(X,{windowSize:t,children:[o.jsxs(C,{windowSize:t,children:[o.jsx(P,{children:o.jsx(K,{})}),o.jsxs(k,{children:[o.jsx(O,{children:c.getLocalizedStrings().forecastPromoPage.accuratelyText.bold}),o.jsx(B,{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(O,{children:c.getLocalizedStrings().forecastPromoPage.trackText.bold}),o.jsx(B,{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(O,{children:c.getLocalizedStrings().forecastPromoPage.preciseText.bold}),o.jsx(B,{children:c.getLocalizedStrings().forecastPromoPage.preciseText.regular})]})]})]})]})},Ne=()=>{const e=T(),t=v();return o.jsxs(Q,{windowSize:t,children:[o.jsxs(X,{windowSize:t,children:[o.jsxs(C,{windowSize:t,style:{width:"408px"},children:[o.jsx(P,{children:o.jsx(K,{})}),o.jsxs(k,{children:[o.jsx(_,{children:c.getLocalizedStrings().forecastPromoPage.accuratelyText.bold}),o.jsx(N,{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(_,{children:c.getLocalizedStrings().forecastPromoPage.trackText.bold}),o.jsx(N,{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(_,{children:c.getLocalizedStrings().forecastPromoPage.preciseText.bold}),o.jsx(N,{children:c.getLocalizedStrings().forecastPromoPage.preciseText.regular})]})]})]}),o.jsx(Z,{windowSize:t,children:o.jsx(J,{windowSize:t,children:e.mode==="dark"?o.jsx("img",{src:H,alt:"forecast-promo",style:{width:"640px",height:"402px"}}):o.jsx("img",{src:q,alt:"forecast-promo",style:{width:"640px",height:"402px"}})})})]})},_e=({meetingUrl:e,onBackClick:t,onClickMenuIcon:n})=>{const a=T(),l=v(),d=()=>{window.open(e.toString(),"_blank")};return o.jsxs(ve,{"data-testid":A("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":A("forecast-promo-container"),windowSize:l,children:[l==="small"?o.jsx(Ie,{children:c.getLocalizedStrings().forecastPromoPage.promoText}):o.jsx(Te,{children:c.getLocalizedStrings().forecastPromoPage.promoText}),l==="small"?o.jsx(Fe,{}):o.jsx(Ne,{}),o.jsxs(Me,{"data-testid":A("forecast-promo-bottom-container"),children:[o.jsx(re,{variant:"primary",label:c.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:d}),o.jsx(Ae,{children:c.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]})]})};function Be(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:[],p=Y({balances:d,config:t}),m=[];return m.push(p),e.idsInOrder.forEach(i=>{if($e(i)===!0){const u=e.sections[i];if(u==null)return;u.accountGroups.length>0?m.push(Pe({section:e.sections[i],sectionType:i,numOfBalances:l,title:a.sections[i],isLastNode:!0,config:t})):m.push(ke({sectionWithAcOnly:e.sections[i],sectionType:i,numOfBalances:l,title:a.sections[i],isLastNode:!0,config:t}))}else Ce(i)===!0&&m.push(ze({calculatedSection:e.calculatedSections[i],numOfBalances:l,title:a.sections[i],isLastNode:!0,config:t}))}),{config:t,headerNodes:n?[p]:[],contentNodes:m}}function Oe(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=Y({balances:l,config:t,nodeId:e.contentNodes[0].id}),p=e.contentNodes.slice(1);return p.forEach(m=>te(m,t)),{config:t,headerNodes:a?[d]:[],contentNodes:[d,...p]}}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%;
|
|
@@ -104,4 +104,4 @@ import{V as o,C as M,d as T,q as v,aK as A,bz as ne,F as c,n as re,m as ie,y 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:a,onVsActualChanged:l,selectedTimeframe:d,onTimeframeChanged:p,onBackClick:m,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:m,showMenuIcon:h==="medium-compact"||h==="small",onClickMenuIcon:u},
|
|
107
|
+
`,Ge=({forecastList:e,selectedForecastIndex:t,onForecastSelectionChanged:n,vsActualOn:a,onVsActualChanged:l,selectedTimeframe:d,onTimeframeChanged:p,onBackClick:m,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:m,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=>p?.(g)}};return o.jsxs(De,{paddingLeft:L.contentPaddingLeft.value(h),paddingRight:L.contentPaddingRight.value(h),children:[o.jsx(we,{...x}),i?"":o.jsx(We,{children:o.jsx(je,{...b})})]})},Ue=({report:e,type:t,isActualVsForecastOn:n,compareMode:a,onAccountBalanceClick:l,onCompareModeChanged:d,scrollPosition:p,onTableScroll:m,nodeOpenStatus:i,onNodeCollapseToggled:u})=>{const h=T(),f=v(),[x,b]=F.useState(void 0),[g,z]=F.useState(void 0),y=!(f==="small"||f==="medium-compact"),I=n===!0?"actual_vs_forecast":"none";return F.useEffect(()=>{const S={reportId:`${e.reportId}+${e.forecast?.id}`,displayOrder:"ascending_date",reportFormat:"more_detailed",mode:I,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:ye(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:xe()};if(x==null||!ce(g,e)){const w=Be(e,S,y);z(e),b(w)}else{const w=Oe(x,S,e,y);b(w)}},[t,n,e]),x!=null?o.jsx(be,{backgroundColor:new le(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:p,onScroll:m,nodeOpenStatus:i,onNodeCollapseToggled:u}):null};function fo({selectedTimeframe:e,isForecastVsActualOn:t,compareMode:n,forecastList:a,selectedForecast:l,pandLreport:d,type:p,meetingUrl:m,analytics:i,onForecastSelectionChanged:u,onTimeframeChanged:h,onForecastVsActualsCompareToggle:f,onAccountBalanceClick:x,onCompareModeChanged:b,scrollPosition:g,onTableScroll:z,nodeOpenStatus:y,onNodeCollapseToggled:I,onBackClick:S,onClickMenuIcon:w}){const V=[a.fetchState,d.fetchState],R=l?.index??-1;return se(V)===!0||a.fetchState==="Completed"&&a.forecasts.length===0?o.jsx(_e,{meetingUrl:m,onBackClick:S,onClickMenuIcon:w}):U([a.fetchState])===!0?o.jsx(G,{fetchState:qe(V)}):o.jsxs(Ee,{children:[o.jsx(Ge,{forecastList:a.forecasts,selectedForecastIndex:R,onForecastSelectionChanged:(j,D)=>{i?.trackForecastSwitch(M.Event.profitAndLossWithForecast,a.forecasts[D].name),u?.(j,D)},vsActualOn:t,onVsActualChanged:j=>{i?.trackForecastVsActualMode(M.Event.profitAndLossWithForecast,a.forecasts[R].name,j),f?.(j)},selectedTimeframe:e,onTimeframeChanged:j=>{i?.trackTimeframeSwitch(Se(j),M.Event.profitAndLossWithForecast),h?.(j)},onBackClick:S,isPandLReportFetching:U([d.fetchState]),onClickMenuIcon:w}),d.fetchState==="In-Progress"?o.jsx(G,{fetchState:"In-Progress"}):o.jsx(Ve,{children:o.jsx(Ue,{report:d,type:p,isActualVsForecastOn:t,compareMode:n,onAccountBalanceClick:x,onCompareModeChanged:b,scrollPosition:g,onTableScroll:z,nodeOpenStatus:y,onNodeCollapseToggled:I})})]})}const Ye=e=>e.reduce((t,n)=>t===!0&&n==="Completed",!0),se=e=>e.reduce((t,n)=>t===!0||n==="Error",!1),U=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{fo as default,U as isAnyInProgress};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{M as pe,
|
|
1
|
+
import{M as pe,aN as Ne,b as te,o as u,p as H,q as le,V as i,bP as Be,d as ke,cO as Fe,aS as ae,F as ue,y as oe,bu as Ve,bS as qe,ak as Re,aO as He,ad as me,c as Ke,gO as Ge,al as Je,a as Ze}from"./index-CiMyMhgu.js";import{S as l,a as O}from"./sentry-DMKAGVXl.js";import{n as v}from"./mui-D2MqZYRi.js";import{P as p}from"./core-CadaPWsO.js";import{F as Ye}from"./SetUpAccountSection-C1EnJv1V-Cvu34ipQ.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]="39e69863-a966-4983-b00e-2f0e1580cddb",t._sentryDebugIdIdentifier="sentry-dbid-39e69863-a966-4983-b00e-2f0e1580cddb")}catch{}})();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){Ae(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 Ae(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 Xe(t)||Qe(t,e)||et(t,e)||tt()}function Xe(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
2
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var k=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"},ye="[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)===ye,c=Object.prototype.toString.call(r)===ye;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 P=e,w=r,S=function(A){return t(P[A],w[A])};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||{}),{},Ae({},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.",ve=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 ve(a,r)})};var n=ve(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=$e(c,2),o=m[0],h=m[1];l.useEffect(function(){var g=!0,P=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(w){w&&g&&P(w)}):s.tag==="sync"&&!o.stripe&&P(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 _e=l.createContext(null);_e.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(_e),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,P=o.onBlur,w=o.onFocus,S=o.onReady,j=o.onChange,A=o.onEscape,B=o.onClick,F=o.onLoadError,V=o.onLoaderStart,D=o.onNetworksChange,$=o.onConfirm,G=o.onCancel,M=o.onShippingAddressChange,N=o.onShippingRateChange,U=ie("mounts <".concat(n,">")),_="elements"in U?U.elements:null,E="customCheckoutSdk"in U?U.customCheckoutSdk:null,z=l.useState(null),T=$e(z,2),y=T[0],W=T[1],L=l.useRef(null),q=l.useRef(null);k(y,"blur",P),k(y,"focus",w),k(y,"escape",A),k(y,"click",B),k(y,"loaderror",F),k(y,"loaderstart",V),k(y,"networkschange",D),k(y,"confirm",$),k(y,"cancel",G),k(y,"shippingaddresschange",M),k(y,"shippingratechange",N),k(y,"change",j);var J;S&&(e==="expressCheckout"?J=S:J=function(){S(y)}),k(y,"ready",J),l.useLayoutEffect(function(){if(L.current===null&&q.current!==null&&(_||E)){var I=null;E?I=E.createElement(e,g):_&&(I=_.create(e,g)),L.current=I,W(I),I&&I.mount(q.current)}},[_,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:q})},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 Te="https://js.stripe.com/v3",ft=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/;var gt=function(){for(var e=document.querySelectorAll('script[src^="'.concat(Te,'"]')),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(Te).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})},Z=null,Q=null,ee=null,yt=function(e){return function(){e(new Error("Failed to load Stripe.js"))}},vt=function(e,r){return function(){window.Stripe?e(window.Stripe):r(new Error("Stripe.js not available"))}},St=function(e){return Z!==null?Z:(Z=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=vt(r,n),Q=yt(n),a.addEventListener("load",ee),a.addEventListener("error",Q)}catch(c){n(c);return}}),Z.catch(function(r){return Z=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,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 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 De().then(function(s){return Ct(s,r,a)})};const xt={containerHeight:new oe(656,720)},wt=v.div`
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -82,14 +82,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
82
82
|
color: ${H.important};
|
|
83
83
|
width: 434px;
|
|
84
84
|
text-align: center;
|
|
85
|
-
`,{cardPayment:R,common:{footer:Pe}}=
|
|
85
|
+
`,{cardPayment:R,common:{footer:Pe}}=ue.getLocalizedStrings(),zt=v(Je)`
|
|
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",_t=({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),[P,w]=O.useState(!1),[S,j]=O.useState(!1),A=
|
|
89
|
+
`,Ee=t=>`${t}_form`,je="CardPaymentPaymentForm",_t=({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),[P,w]=O.useState(!1),[S,j]=O.useState(!1),A=le(),B=t.cardSetupConfirmStatus.fetchState,F=t.addCardPaymentSourceStatus.fetchState,V=t.cardSetupIntentStatus.fetchState,[D,$]=O.useState(!1),G=async E=>{if(E.preventDefault(),!m||!o)return;const z=o.getElement(Se),T=o.getElement(Ce),y=o.getElement(be);(!z||!T||!y)&&$(!0),j(!0),c(!0),z!=null&&T!=null&&y!=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)})},M=ke(),N={showIcon:!0,style:{base:{...te.standardRegular.cssObject,color:M.colors.primary,"::placeholder":{color:M.colors.grey2}},invalid:{color:H.important,iconColor:H.important}}},U=B==="In-Progress"||F==="In-Progress"||V==="In-Progress"||S===!0||r===!0,_=h||x||P||B==="In-Progress"||F==="In-Progress"||V==="In-Progress"||S===!0||r===!0;return i.jsx(Lt,{windowSize:A,children:i.jsxs(Pt,{onSubmit:G,id:Ee(je),children:[i.jsxs(At,{children:[i.jsx($t,{children:i.jsx(It,{children:i.jsx(Se,{options:N,onChange:E=>f(!!E.error)})})}),i.jsx(Ot,{children:i.jsxs(kt,{children:[i.jsx(we,{children:R.cardNumber}),i.jsx(Ce,{options:N,onChange:E=>g(!!E.error)})]})}),i.jsx(Ut,{children:i.jsxs(Rt,{children:[i.jsx(we,{children:R.CVC}),i.jsx(be,{options:N,onChange:E=>w(!!E.error)})]})})]}),t.cardSetupConfirmStatus.error||D?i.jsx(Me,{children:R.errorMsg}):null,i.jsx(He,{style:{width:"100%",padding:`${u.sp3} 0 0 0`,borderTop:"none",position:"inherit"},formId:Ee(je),primaryBtn:{label:Pe.linkCard,style:{width:"104px",height:u.sp6},isLoading:U,isDisabled:_,type:"submit"},cancelBtn:{label:Pe.cancel,style:{width:"104px",height:u.sp6},onClick:()=>{a(!1)}}}),i.jsxs(zt,{windowSize:A,children:[R.terms.term1,i.jsx(me,{href:R.terms.term2Link,linkText:R.terms.term2}),R.terms.term3,i.jsx(me,{href:R.terms.term4Link,linkText:R.terms.term4})]})]})})},Zt=({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),P=Ne(e.addCardPaymentSourceStatus.fetchState),w=e.addCardPaymentSourceStatus.fetchState;O.useEffect(()=>(c(["card"]),()=>{s(!1),x(""),o()}),[]),O.useEffect(()=>{o()},[t]),O.useEffect(()=>{P==="In-Progress"&&w==="Error"?(h(!1),setTimeout(()=>{s(!1)},2e3)):P==="In-Progress"&&w==="Completed"&&(c(["card"]),setTimeout(()=>{s(!1),h(!1)},2e3))},[P,w]),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},A=le();return i.jsx(Be,{open:t,children:i.jsxs(wt,{windowSize:A,isError:!!e.cardSetupConfirmStatus.error,children:[i.jsx(Et,{children:R.title}),i.jsx(jt,{children:R.subtitle}),f&&g!=null?i.jsx(ze,{options:j,stripe:g,children:i.jsx(_t,{clientSecret:f,handleConfirmCardSetupIntent:a,updateCardPaymentModalState:s,handleAddCardPaymentSource:m,cardPaymentView:e,cardSetupInProgress:n,setCardSetupInProgress:h})}):i.jsx(Me,{children:R.errorMsg})]})})},{cardBrands:d}=ue.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"}},X={sectionWidth:new oe(343,580,726),iconWidthHeight:new oe(20,Ke[4])},Tt={title:new Ze("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}),Dt=v.img`
|
|
90
90
|
width: ${t=>t.width}px;
|
|
91
91
|
height: ${t=>t.height}px;
|
|
92
|
-
`,
|
|
92
|
+
`,Yt=({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:P,updateCardPaymentModalState:w,cardPaymentView:S,resetCardPaymentViewState:j,cardSetupInProgress:A=!1,googleAPIKey:B,subscriptionBillingAddress:F,subscriptionBillingAddressSectionId:V})=>{const D=ke(),$=le(),{register:G}=Fe(),M=D.mode==="light"?new ae(D.colors.brandColorJadeLight):new ae(D.colors.brandColorJadeDark),{common:N,customerOnboardingPage:{sections:{link_payment_account:{title:U,text:_,subText:E},card_payment_method:z}}}=ue.getLocalizedStrings(),T=S.cardsList.length>0,y=S.cardsList[0]?.brand??"other",W=S.addCardPaymentSourceStatus.fetchState,L=Wt(z.header,z.titleText,z.protectedCardNo,S);let q;return T&&(q={header:L.header,title:L.title,subtitle:L.subtitle,status:L.status==="valid"?{name:"Verified",code:"verified"}:{name:"Pending",code:"pending"},showAddPaymentMethodDropDown:T===!0,icon:{element:i.jsx(Dt,{src:Le(y).iconURL,width:X.iconWidthHeight.valuePx($),height:X.iconWidthHeight.valuePx($),alt:Le(y).name,loading:"lazy"}),color:new ae(M)},showCompletedIcon:!1,isError:W==="Error",isLoading:W==="In-Progress",isCompleted:!0,showRightArrow:!1}),i.jsxs(Nt,{windowSize:$,children:[i.jsx(Bt,{type:"hidden",...G(`${n}.connected`,{validate:J=>s?J==="true":!0}),value:c?"true":"false"}),i.jsx(Ye,{connectedAccountProvider:r,paymentAccount:t,plaidConnectionDetails:e,allBankAccounts:[],header:U,sectionTitle:U,defaultSectionTitle:_,defaultSectionSubTitle:E,sectionId:n,isDisabled:a,hasError:s,showZeniAccountSection:!1,isCompleted:t?.providerVerificationStatus?.code?.includes("verified")===!0&&t?.isLoginRequired===!1,showCompletedIcon:$==="small",onFetchLinkTokenClick:h,onEstablishConnectionClick:f,onUpdatePaymentAccountStatus:x,onUpdatePaymentAccountLoginStatus:g,onEstablishConnectionSuccess:P,style:m,icon:{element:i.jsx(Ve,{width:X.iconWidthHeight.valuePx($),height:X.iconWidthHeight.valuePx($)}),color:M},analytics:o,productType:"onboarding",resetCardPaymentViewState:j,cardPaymentSectionValues:q,cardPaymentView:S,updateCardPaymentModalState:w,referrer:"Onboarding",cardSetupInProgress:A}),Mt($,N.headers.billingAddress,V,o,F,B,a)]})},Mt=(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(Vt,{children:[i.jsx(Ft,{windowSize:t,isDisabled:c==="disabled",children:e}),i.jsx(Ge,{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)}}}})]})},Nt=v.div`
|
|
93
93
|
display: flex;
|
|
94
94
|
flex-direction: column;
|
|
95
95
|
width: ${t=>X.sectionWidth.valuePx(t.windowSize)};
|
|
@@ -104,4 +104,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
104
104
|
`,Vt=v.div`
|
|
105
105
|
margin-top: ${u.sp5};
|
|
106
106
|
margin-bottom: ${u.sp4};
|
|
107
|
-
`;export{Wt as M,
|
|
107
|
+
`;export{Wt as M,Zt as o,Le as r,Yt as s};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as $e,q as I,F as y,V as t,
|
|
1
|
+
import{d as $e,q as I,F as y,V as t,bz as le,aM as a,bL as De,o as s,ci as Oe,cj as _e,m as U,aQ as Y,ck as we,n as Le,b as be,cl as Ae,aN as Ve,cm as Me,ao as We,cn as He,co as Be,b1 as Ue,aA as H,cp as Ee,y as $,cq as Ke,cr as je,c as b,cs as ee,cb as N,a8 as Fe,ab as Ze,ct as qe,cu as Ge,aG as Je,ag as D,cv as Qe,ak as O,al as te,p as A,cw as Xe,cf as Se,b8 as ie,cx as ke,bJ as Ye,cy as et}from"./index-CiMyMhgu.js";import{S as ce,a as v}from"./sentry-DMKAGVXl.js";import{n as i}from"./mui-D2MqZYRi.js";import{oV as Ie,bg as Q}from"./zeni-epic-state-DjAFCaxy.js";import{P as Ce}from"./Menu-wpP8R1br-CAapPWSw.js";import{T as Re}from"./RoleWithToolTip-fC3byzzv-Da5EXkAB.js";import"./liveblocks-D92pTRaw.js";import"./core-CadaPWsO.js";import"./recharts-t7V-Kaqf.js";import"./lottie-Dv5hJ5mA.js";import"./analytics-C6L7hlHG.js";import"./lexical-DEI4_j9X.js";import"./utils-BWiizB9D.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]="e15155e3-0c53-4a69-afb5-18c193b9776a",e._sentryDebugIdIdentifier="sentry-dbid-e15155e3-0c53-4a69-afb5-18c193b9776a")}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)}],B=[{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(Je(d==="off"?S:B));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(Qe,{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)"};
|
|
@@ -103,7 +103,7 @@ import{d as $e,q as I,F as y,V as t,aK as a,bz as le,bL as De,o as s,ci as Oe,cj
|
|
|
103
103
|
}
|
|
104
104
|
`,wt=i(D)`
|
|
105
105
|
color: ${e=>e.theme.colors.hero};
|
|
106
|
-
`,{peoplePage:T}=y.getLocalizedStrings(),vt=({peopleData:e,userNameSticky:o,allClasses:l,allManagers:d,onResendInvite:m,onDeleteUser:p,onRowClick:x})=>{const[h,n]=v.useState(!1),r=I(),u=ft(e,d,l),w=e.userRole.userRoles.filter(g=>!Ie(g)),f=()=>{p?.(e)},j=()=>{x?.(e.userId)};return t.jsxs(yt,{windowSize:r,isInviteAccepted:e.userRole.invitationStatus==="accepted",onClick:j,"data-testid":a("people-list-row",e.userId),children:[t.jsx($t,{wrapperWidth:S[0].width,windowSize:r,userNameSticky:o,children:t.jsxs(jt,{children:[t.jsx(ee,{personBasic:e.user,styles:{height:s.sp6,width:s.sp6}}),t.jsxs(St,{children:[e.user?.firstName?t.jsxs(kt,{className:"personNameTxt",isInviteAccepted:e.userRole.invitationStatus==="accepted",children:[e.user?.firstName??""," ",e.user?.lastName??""]}):null,t.jsx(Ct,{isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"emailTxt",children:e.userRole.userEmail??""})]})]})}),t.jsx(It,{wrapperWidth:S[1].width,windowSize:r,children:t.jsx(Re,{roles:w})}),t.jsxs(t.Fragment,{children:[Q(e.userRole.userRoles)?t.jsx(Z,{wrapperWidth:S[2].width,windowSize:r,children:t.jsx(L,{children:T.notApplicable})}):t.jsx(t.Fragment,{children:u.manager?t.jsx(ve,{wrapperWidth:S[2].width,windowSize:r,children:t.jsx(L,{children:u.manager})}):t.jsx(Z,{wrapperWidth:S[2].width,windowSize:r,children:t.jsx(L,{children:T.noManager})})}),Q(e.userRole.userRoles)?t.jsx(Z,{wrapperWidth:S[3].width,windowSize:r,children:t.jsx(L,{children:T.notApplicable})}):t.jsx(t.Fragment,{children:u.department?t.jsx(ve,{wrapperWidth:S[3].width,windowSize:r,children:t.jsx(L,{children:u.department})}):t.jsx(Z,{wrapperWidth:S[3].width,windowSize:r,children:t.jsx(L,{children:T.emptyDepartmentPlaceholderText})})})]}),t.jsxs(Rt,{"data-testid":a("last-seen-container",e.userId),wrapperWidth:S[4].width,windowSize:r,children:[e.userRole.invitationStatus==="accepted"?t.jsx(bt,{children:u.lastSeen}):t.jsx(Tt,{children:e.update==="resendInvite"?t.jsx(
|
|
106
|
+
`,{peoplePage:T}=y.getLocalizedStrings(),vt=({peopleData:e,userNameSticky:o,allClasses:l,allManagers:d,onResendInvite:m,onDeleteUser:p,onRowClick:x})=>{const[h,n]=v.useState(!1),r=I(),u=ft(e,d,l),w=e.userRole.userRoles.filter(g=>!Ie(g)),f=()=>{p?.(e)},j=()=>{x?.(e.userId)};return t.jsxs(yt,{windowSize:r,isInviteAccepted:e.userRole.invitationStatus==="accepted",onClick:j,"data-testid":a("people-list-row",e.userId),children:[t.jsx($t,{wrapperWidth:S[0].width,windowSize:r,userNameSticky:o,children:t.jsxs(jt,{children:[t.jsx(ee,{personBasic:e.user,styles:{height:s.sp6,width:s.sp6}}),t.jsxs(St,{children:[e.user?.firstName?t.jsxs(kt,{className:"personNameTxt",isInviteAccepted:e.userRole.invitationStatus==="accepted",children:[e.user?.firstName??""," ",e.user?.lastName??""]}):null,t.jsx(Ct,{isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"emailTxt",children:e.userRole.userEmail??""})]})]})}),t.jsx(It,{wrapperWidth:S[1].width,windowSize:r,children:t.jsx(Re,{roles:w})}),t.jsxs(t.Fragment,{children:[Q(e.userRole.userRoles)?t.jsx(Z,{wrapperWidth:S[2].width,windowSize:r,children:t.jsx(L,{children:T.notApplicable})}):t.jsx(t.Fragment,{children:u.manager?t.jsx(ve,{wrapperWidth:S[2].width,windowSize:r,children:t.jsx(L,{children:u.manager})}):t.jsx(Z,{wrapperWidth:S[2].width,windowSize:r,children:t.jsx(L,{children:T.noManager})})}),Q(e.userRole.userRoles)?t.jsx(Z,{wrapperWidth:S[3].width,windowSize:r,children:t.jsx(L,{children:T.notApplicable})}):t.jsx(t.Fragment,{children:u.department?t.jsx(ve,{wrapperWidth:S[3].width,windowSize:r,children:t.jsx(L,{children:u.department})}):t.jsx(Z,{wrapperWidth:S[3].width,windowSize:r,children:t.jsx(L,{children:T.emptyDepartmentPlaceholderText})})})]}),t.jsxs(Rt,{"data-testid":a("last-seen-container",e.userId),wrapperWidth:S[4].width,windowSize:r,children:[e.userRole.invitationStatus==="accepted"?t.jsx(bt,{children:u.lastSeen}):t.jsx(Tt,{children:e.update==="resendInvite"?t.jsx(U,{size:"Small",start:!0}):t.jsxs(t.Fragment,{children:[t.jsx(Pt,{"data-testid":a("resend-invite-text",e.userId),onClick:g=>{g.stopPropagation(),m?.(e.userId)},children:T.resendInvite.label}),t.jsx(Nt,{children:t.jsx(Dt,{children:`${T.sentText} ${N(e?.userRole?.inviteUpdateTime?e.userRole.inviteUpdateTime:e.userRole.inviteCreateTime)}`})})]})}),t.jsx(zt,{isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"menu-icon",children:t.jsx(Ce,{menuItems:t.jsxs(Ot,{"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 ft(e,o,l){const d=l.find(p=>e.userRole.accountingClassIDs[0]===p.classId),m=o.find(p=>p.userId===e.userRole.managerUserId);return{name:`${e.user?.firstName??""} ${e.user?.lastName??""}`,role:{selectedOptions:e.userRole.userRoles,allOptions:Xe},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 yt=i.div`
|
|
107
107
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
108
108
|
border-radius: ${s.sp2};
|
|
109
109
|
display: flex;
|
|
@@ -272,7 +272,7 @@ import{d as $e,q as I,F as y,V as t,aK as a,bz as le,bL as De,o as s,ci as Oe,cj
|
|
|
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=>!Ie(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(Ht,{children:[t.jsxs(Bt,{className:"personNameTxt",isInviteAccepted:e.userRole.invitationStatus==="accepted",children:[e.user?.firstName??""," ",e.user?.lastName??""]}),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=>!Ie(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(Ht,{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(Et,{className:"lastSeen",children:[t.jsx(Kt,{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(Gt,{children:t.jsx(Jt,{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(Qt,{children:[t.jsxs(Yt,{children:[k.header.manager,":"]}),Q(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(Xt,{children:[t.jsxs(ei,{children:[k.header.department,":"]}),Q(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;
|
|
@@ -326,15 +326,15 @@ import{d as $e,q as I,F as y,V as t,aK as a,bz as le,bL as De,o as s,ci as Oe,cj
|
|
|
326
326
|
flex: 1;
|
|
327
327
|
`,Ht=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
|
+
`,Et=i(se)`
|
|
334
334
|
display: flex;
|
|
335
335
|
flex-direction: column;
|
|
336
336
|
align-items: flex-end;
|
|
337
|
-
`,
|
|
337
|
+
`,Kt=i.div`
|
|
338
338
|
color: ${e=>e.theme.colors.hero};
|
|
339
339
|
`,Ft=i.div``,Zt=i.div`
|
|
340
340
|
display: flex;
|
|
@@ -358,7 +358,7 @@ import{d as $e,q as I,F as y,V as t,aK as a,bz as le,bL as De,o as s,ci as Oe,cj
|
|
|
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}),G=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=ke.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:B[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:B[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:B[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(
|
|
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}),G=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=ke.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:B[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:B[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:B[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:G.resendInvite.label}),t.jsx(vi,{children:t.jsx(fi,{children:`${G.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(Ce,{menuItems:t.jsxs(ji,{children:[t.jsx(ye,{"data-testid":a("people-list-row-medium-menu-edit",e.userId),onClick:()=>{x(!1),w()},children:G.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:G.deleteOverlay.title})]}),setIsMenuOpen:x,isMenuOpen:p})})]})]})};function ni(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 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{d as $e,q as I,F as y,V as t,aK as a,bz as le,bL as De,o as s,ci as Oe,cj
|
|
|
509
509
|
:hover {
|
|
510
510
|
color: ${e=>e.theme.colors.primary};
|
|
511
511
|
}
|
|
512
|
-
`,Si={width:new $(343,580,726)},J=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:J.header.lastSeen})]}):t.jsx(Mi,{"data-testid":a("people-list-row-small-resend-invite",e.userId),children:e.update==="resendInvite"?t.jsx(
|
|
512
|
+
`,Si={width:new $(343,580,726)},J=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:J.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:J.resendInvite.label}),t.jsx(Hi,{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(Di,{style:{display:"flex"},children:[t.jsxs(Oi,{style:{},children:[J.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{d as $e,q as I,F as y,V as t,aK as a,bz as le,bL as De,o as s,ci as Oe,cj
|
|
|
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(ki,{...e}):t.jsx(li,{...e}),M={overscanCount:1,rowNameLimit:55,listItemHeight:88},ne={peopleListItemHeight:138,zeniPeopleListItemHeight:106,zeniPeopleExtendedListItemHeight:130},X={listItemPaddingRight:new $(b[3],b[8]),listItemPaddingLeft:new $(b[3],b[8]),zeniLastRowHeight:new $(154,136),nonZeniLastRowHeight:new $(200,136)},W=y.getLocalizedStrings().peoplePage,Ei=({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(Xi,{}):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:K,...F}=c;return t.jsxs("div",{ref:C,style:{...K,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,K=z===c,F=e.uiState.mode==="zeni_only"?_>33?ne.zeniPeopleExtendedListItemHeight:ne.zeniPeopleListItemHeight:ne.peopleListItemHeight;return C>M.rowNameLimit?F+b[5]+(K?b[3]:b[0]):F+(K?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),E=e.people.find(c=>c.userId===g?.userId)?.update,Ne=g!=null?W.deleteOverlay.description.replace("‘_user-name_’",`"${Ki(g)}"`):W.deleteOverlay.description;return v.useEffect(()=>{u.current&&u.current.resetAfterIndex(0)},[e,r]),v.useEffect(()=>{E==null&&ge==="removeUsers"&&(j(!1),R(void 0))},[E,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(Be,{children:W.deleteOverlay.title}),descriptionComponent:t.jsx(He,{children:Ne}),primaryButtonText:W.deleteOverlay.remove,secondaryButtonText:W.deleteOverlay.cancel,action:Pe,proceedButtonVariant:"danger",isLoading:E==="removeUsers",isDisabled:E==="removeUsers",style:{background:V.colors.overlayColor},children:g?.user!=null?t.jsxs(t.Fragment,{children:[t.jsx(Qi,{}),t.jsx(Gi,{children:t.jsx(Ji,{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})})]})},Ki=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%;
|
|
@@ -624,11 +624,11 @@ import{d as $e,q as I,F as y,V as t,aK as a,bz as le,bL as De,o as s,ci as Oe,cj
|
|
|
624
624
|
`,Xi=i.div`
|
|
625
625
|
padding-top: ${s.sp3};
|
|
626
626
|
border-top: 1px solid ${e=>e.theme.colors.grey3};
|
|
627
|
-
`,Yi=i(
|
|
627
|
+
`,Yi=i(Ke)``,es=(e,o)=>{const{user:l,userId:d,userRole:m,update:p}=e,{user:x,userId:h,userRole:n,update:r}=o;return H(l,x)&&H(d,h)&&H(m,n)&&H(p,r)},ts=(e,o)=>{if(e.peopleView.people.length!=o.peopleView.people.length||e.allManagers.length!=o.allManagers.length)return!1;let l=!0;for(let d=0;d<e.peopleView.people.length;++d){const m=e.peopleView.people[d],p=o.peopleView.people[d];if(l=es(m,p),!l)break}return l=l&&H(e.peopleView.invitePeopleState,o.peopleView.invitePeopleState),l=l&&e.peopleView.uiState.sortKey===o.peopleView.uiState.sortKey&&e.peopleView.uiState.sortOrder===o.peopleView.uiState.sortOrder,l},is=v.memo(Ei,ts);function ss({peopleInviteSectionProps:e}){const o=I();return t.jsx(os,{isSearchOpen:e.isSearchOpen&&o==="small",windowsize:o,children:o!=="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(rs,{"data-testid":a("invite-people-button"),onClick:e.onInvitePeopleClick}),e.hideSearchBtn?null:t.jsx(we,{style:{position:"absolute",left:"5px",right:o!=="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 os=i.div`
|
|
628
628
|
display: flex;
|
|
629
629
|
flex-direction: column;
|
|
630
630
|
justify-content: ${e=>e.windowsize==="small"?"unset":"center"};
|
|
631
|
-
`,rs=i(
|
|
631
|
+
`,rs=i(Ee)`
|
|
632
632
|
height: 20px;
|
|
633
633
|
width: 20px;
|
|
634
634
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -672,4 +672,4 @@ import{d as $e,q as I,F as y,V as t,aK as a,bz as le,bL as De,o as s,ci as Oe,cj
|
|
|
672
672
|
`,cs=i(Y)`
|
|
673
673
|
margin-top: ${s.sp3};
|
|
674
674
|
color: ${e=>e.theme.colors.hero};
|
|
675
|
-
`,ps=()=>t.jsx(ns,{children:t.jsx(
|
|
675
|
+
`,ps=()=>t.jsx(ns,{children:t.jsx(U,{size:"ExtraLarge",start:!0})});function hs(e){const o=$e(),l=I(),{mode:d,searchText:m}=e.peopleView.uiState,{fetchState:p}=e.peopleView,{fetchState:x}=e.managersView,{fetchState:h}=e.classList,[n,r]=v.useState(!1),u={isSearchOpen:n,onSearchOpen:z=>{r(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}`,R=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 V(){return R?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:o.colors.grey4,source:"PeoplePage"}),t.jsx(ps,{})]}):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:o.colors.grey4,source:"PeoplePage"}),t.jsxs(as,{children:[t.jsx(ds,{"data-testid":a("people-page-error-reload-icon"),onClick:e.personAction.onReloadPeople,children:t.jsx(De,{width:s.sp6,height:s.sp6})}),t.jsx(cs,{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:o.colors.grey4}),t.jsx(ls,{"data-testid":a("people-page-content"),windowSize:l,children:e.peopleView.people.length>0?t.jsx(is,{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(Oe,{emptySearchTextFirstLine:y.getLocalizedStrings().peoplePage.emptySearchTextFirstLine,emptySearchTextSecondLine:y.getLocalizedStrings().peoplePage.emptySearchTextSecondLine}):t.jsx(_e,{message:y.getLocalizedStrings().peoplePage.emptyResultsMessage})})]})}return t.jsx("div",{children:V()})}const de=e=>t.jsx(ss,{peopleInviteSectionProps:e}),Is=ce.memo(hs);export{Is as MemoPeople,hs as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as h,S as n}from"./sentry-DMKAGVXl.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]="f93b8fea-342f-46af-9294-f75d3b119450",t._sentryDebugIdIdentifier="sentry-dbid-f93b8fea-342f-46af-9294-f75d3b119450")}catch{}})();const c="64px",f={},k=({src:t,light:a,oEmbedUrl:r,onClickPreview:s,playIcon:m,previewTabIndex:I,previewAriaLabel:u})=>{const[p,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(f[e]){o(f[e]);return}o(null);const b=await(await fetch(E.replace("{url}",e))).json();if(b.thumbnail_url){const g=b.thumbnail_url.replace("height=100","height=480").replace("-d_295x166","-d_640");o(g),f[e]=g}},w=e=>{(e.key==="Enter"||e.key===" ")&&s?.(e)},v=e=>{s?.(e)},l=n.isValidElement(a),y={display:"flex",alignItems:"center",justifyContent:"center"},d={preview:{width:"100%",height:"100%",backgroundImage:p&&!l?`url(${p})`:void 0,backgroundSize:"cover",backgroundPosition:"center",cursor:"pointer",...y},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,...y},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,...u?{"aria-label":u}:{}},l?a:null,m||x)};var N=k;export{N as default};
|
package/dist/assets/{ProductsCarousel-zdZkfaiY-CKycG9Wt.js → ProductsCarousel-zdZkfaiY-9riU76fC.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{F as I,V as t,a7 as B,o as c,b$ as H,aZ as N,c as U,d4 as Y,ap as G,ak as T,d5 as J,p as v}from"./index-
|
|
1
|
+
import{F as I,V as t,a7 as B,o as c,b$ as H,aZ as N,c as U,d4 as Y,ap as G,ak as T,d5 as J,p as v}from"./index-CiMyMhgu.js";import{a as $}from"./sentry-DMKAGVXl.js";import{n as i}from"./mui-D2MqZYRi.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]="4e98b996-382c-4239-8cda-9e07b20cce96",e._sentryDebugIdIdentifier="sentry-dbid-4e98b996-382c-4239-8cda-9e07b20cce96")}catch{}})();const u=I.getLocalizedStrings(),w={large:{labelComp:Y,title:G,subtitle:T,seeMoreLink:T}},V={large:{width:496,height:512,padding:32,svgSize:12,svgContainerHeight:24,gap:8,imageGap:16,borderRadius:16}},r=V.large,Z=i.div`
|
|
2
2
|
width: ${e=>e.scale*r.width}px;
|
|
3
3
|
height: ${e=>e.scale*r.height}px;
|
|
4
4
|
overflow: hidden;
|
|
@@ -124,7 +124,7 @@ import{F as I,V as t,a7 as B,o as c,b$ as H,aZ as N,c as U,d4 as Y,ap as G,ak as
|
|
|
124
124
|
justify-content: center;
|
|
125
125
|
overflow: visible;
|
|
126
126
|
perspective: 2000px;
|
|
127
|
-
`,
|
|
127
|
+
`,xe=i.div`
|
|
128
128
|
position: absolute;
|
|
129
129
|
top: 50%;
|
|
130
130
|
left: 50%;
|
|
@@ -139,4 +139,4 @@ import{F as I,V as t,a7 as B,o as c,b$ as H,aZ as N,c as U,d4 as Y,ap as G,ak as
|
|
|
139
139
|
transform: translate(-50%, -50%) translateX(0px) translateZ(10px) scale(${o})
|
|
140
140
|
}
|
|
141
141
|
`}
|
|
142
|
-
`,
|
|
142
|
+
`,fe=({cards:e,showUpdatePaymentDetailButton:o,stopCarousel:n,scale:a=1})=>{const[h,l]=$.useState(2),[d,p]=$.useState(!1),[y,C]=$.useState(!1),x=e.length,L=B().analytics,M=ce*pe*a/2,S=ge*a+M+de/2,f=$.useCallback(s=>{y||(C(!0),l(g=>(g+s+x)%x),setTimeout(()=>C(!1),1e3))},[y,x]);$.useEffect(()=>{if(d||n||y)return;const s=setInterval(()=>{f(1)},3e3);return()=>clearInterval(s)},[d,n,y,f]);const _=s=>(h+s-b+x)%x,O=s=>{const g=Array.from({length:X},(m,k)=>_(k)).indexOf(s)-b;g!==0&&f(g),o?L.trackOnboardingLandingPageCardClick(e[s].cardTitle):L.trackOnboardingInterimCard(e[s].cardTitle)};return t.jsxs(me,{children:[t.jsx(D,{arrowOffset:S,position:"left",onClick:()=>f(-1),children:t.jsx(ue,{className:"btnsvg"})}),t.jsx(be,{children:e.map((s,g)=>{const m=Array.from({length:X},(ve,A)=>_(A)).indexOf(g);if(m===-1)return null;const{positionX:k,scale:E}=j[m],z=m===b,P=E*a,F=k*a,R=1.02*a;return t.jsx(xe,{isForeFront:z,positionX:F,scale:P,hoverScale:R,onClick:()=>O(g),onMouseEnter:()=>z&&p(!0),onMouseLeave:()=>z&&p(!1),style:{zIndex:m===b?5:5-Math.abs(m-b)},children:t.jsx(le,{label:s.cardTitle,title:s.sectionTitle,subtitle:s.sectionSubTitle,seeMoreLink:s.redirectLink,image:s.imageLink,variant:m===b?"large":m===b-1?"medium":"small"})},g)})}),t.jsx(D,{arrowOffset:S,position:"right",onClick:()=>f(1),children:t.jsx(he,{className:"btnsvg"})})]})},$e=["https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-reimbursements.png","https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-bill-payments.png","https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-ai-bookkeeping.png","https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-business-checking-accounts.png","https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-business-credit-cards.png"],ye=["https://www.zeni.ai/product/employee-reimbursements?utm_source=onboarding_interim","https://www.zeni.ai/product/bill-pay?utm_source=onboarding_interim","https://www.zeni.ai/product/ai-bookkeeping?utm_source=onboarding_interim","https://www.zeni.ai/product/business-checking-accounts?utm_source=onboarding_interim","https://www.zeni.ai/product/business-credit-card?utm_source=onboarding_interim"],je=({scale:e=1,showUpdatePaymentDetailButton:o=!1,stopCarousel:n=!1})=>{const{customerOnboardingPage:a}=I.getLocalizedStrings(),{productSuite:h}=a,l=h.productCard.cards.map((d,p)=>({...d,imageLink:$e[p],redirectLink:ye[p]}));return t.jsx(fe,{cards:l,scale:e,showUpdatePaymentDetailButton:o,stopCarousel:n})};export{je as T};
|
package/dist/assets/{PromoBaseCards-flFtcbIg-iLyc6jwq.js → PromoBaseCards-flFtcbIg-hQ-cGzbT.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as
|
|
1
|
+
import{q as m,V as r,d9 as b,da as v,db as y,bv as z,o as e,p as d,y as a,a as c,c as p}from"./index-CiMyMhgu.js";import{c as i,n as g,k as f}from"./mui-D2MqZYRi.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},h=new o.Error().stack;h&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[h]="085a904d-3aff-4193-885a-93640eaa7dc0",o._sentryDebugIdIdentifier="sentry-dbid-085a904d-3aff-4193-885a-93640eaa7dc0")}catch{}})();const t={plasticCardMarginLeft:new a(p[6],120),plasticCardMarginTop:new a(12,-9),businessTextRight:new a(p[2],13),businessTextBottom:new a(p[8],81),chargeCardWidth:new a(240,384),chargeCardHeight:new a(153,243),styledLogoWidth:new a(47,76),styledLogoHeight:new a(46,74),styledFullLogoTop:new a(12,28),styledFullLogoRight:new a(p[2],13),styledFullLogoHeight:new a(20,34),styledFullLogoWidth:new a(88,142),chipLogoWidth:new a(31,50),chipLogoHeight:new a(p[4],39),visaLogoWidth:new a(52,84),visaLogoHeight:new a(17,27),visaLogoRight:new a(p[2],13),visaLogoBottom:new a(p[2],13)},u={businessText:new c("extraSmallRegular","largeRegular"),promoBusinessText:new c("tinyLight","tinyLight")},R=({cardText:o,shouldAnimate:h,showChip:w,forDashboard:s,forListPage:l,cardPromoType:$,style:x})=>{const n=m();return r.jsxs(k,{cardPromoType:$,windowSize:n,shouldAnimate:h,forListPage:l,forDashboard:s,style:x,children:[w&&r.jsx(P,{windowSize:n,forDashboard:s,children:r.jsx(b,{})}),r.jsx(j,{windowSize:n,forDashboard:s,forListPage:l,children:r.jsx(z,{})}),r.jsx(L,{windowSize:n,forDashboard:s,forListPage:l,children:o}),r.jsx(S,{windowSize:n,forDashboard:s,forListPage:l,children:r.jsx(y,{})})]})},A=({cardText:o,shouldAnimate:h,showChip:w,forDashboard:s,forListPage:l,cardPromoType:$,style:x})=>{const n=m();return r.jsxs(W,{cardPromoType:$,windowSize:n,shouldAnimate:h,forListPage:l,forDashboard:s,style:x,children:[w&&r.jsx(P,{windowSize:n,forDashboard:s,children:r.jsx(b,{})}),r.jsx(B,{windowSize:n,forDashboard:s,forListPage:l,children:r.jsx(v,{})}),r.jsx(L,{windowSize:n,forDashboard:s,forListPage:l,children:o}),r.jsx(S,{windowSize:n,forDashboard:s,forListPage:l,children:r.jsx(y,{})})]})},C=f`
|
|
2
2
|
0%{
|
|
3
3
|
transform: rotate(12.4deg);
|
|
4
4
|
translate: ${e.sp0} ${e.sp0};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as
|
|
1
|
+
import{q as b,F as r,V as n,bP as y,n as l,y as c,o as i,ap as w,ak as $,ae as P,bt as j,eI as v,c as t}from"./index-CiMyMhgu.js";import{n as o}from"./mui-D2MqZYRi.js";import"./sentry-DMKAGVXl.js";import"./liveblocks-D92pTRaw.js";import"./core-CadaPWsO.js";import"./recharts-t7V-Kaqf.js";import"./zeni-epic-state-DjAFCaxy.js";import"./lottie-Dv5hJ5mA.js";import"./analytics-C6L7hlHG.js";import"./lexical-DEI4_j9X.js";import"./utils-BWiizB9D.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="63ba6a24-9c66-4302-8bf1-d5ff542e4293",e._sentryDebugIdIdentifier="sentry-dbid-63ba6a24-9c66-4302-8bf1-d5ff542e4293")}catch{}})();const s={containerPaddingTop:new c(t[5],t[7]),containerPaddingBottom:new c(t[5],t[5]),containerPaddingLeftRight:new c(t[6],t[11])},_=o.div`
|
|
2
2
|
border-radius: inherit;
|
|
3
3
|
max-width: 520px;
|
|
4
4
|
text-align: center;
|
|
@@ -48,4 +48,4 @@ import{q as y,F as r,V as n,bP as b,n as l,y as c,o as i,ap as w,ak as $,ae as P
|
|
|
48
48
|
`,R=o(v)`
|
|
49
49
|
height: ${i.sp4};
|
|
50
50
|
color: ${e=>e.theme.colors.primary};
|
|
51
|
-
`;function H({companyName:e="",isGoBackAllowed:a,isAdmin:d,saveConnectionState:p,isQBOPopupOpen:g=!0,handleOnConnectClick:m,handleGoBack:h}){const x=
|
|
51
|
+
`;function H({companyName:e="",isGoBackAllowed:a,isAdmin:d,saveConnectionState:p,isQBOPopupOpen:g=!0,handleOnConnectClick:m,handleGoBack:h}){const x=b(),u=r.getLocalizedStrings().dashboardAccountingPage.adminInfoText.replace(e?"_company-name_":"‘_company-name_’",e),f=r.getLocalizedStrings().dashboardAccountingPage.nonAdminInfoText.replace(e?"_company-name_":"‘_company-name_’",e);return n.jsx(y,{open:g,children:n.jsxs(_,{windowSize:x,children:[n.jsxs(S,{children:[n.jsx(k,{children:r.getLocalizedStrings().dashboardAccountingPage.title}),n.jsx(z,{children:d?u:f}),n.jsxs(T,{children:[n.jsx(C,{}),n.jsx(D,{}),n.jsx(R,{})]})]}),d||a?n.jsxs(n.Fragment,{children:[n.jsx(L,{}),n.jsxs(B,{children:[a===!0?n.jsx(A,{children:n.jsx(l,{variant:"secondary",label:r.getLocalizedStrings().dashboardAccountingPage.goBack,onClick:h})}):null,d?n.jsx(I,{children:n.jsx(l,{variant:"primary",label:r.getLocalizedStrings().dashboardAccountingPage.connect,onClick:m,loading:p==="In-Progress"})}):null]})]}):null]})})}export{H as default};
|
package/dist/assets/{QBOSetupSection-B59etoGz-Dx4Hkrje.js → QBOSetupSection-B59etoGz-BjsJ5dP9.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as I,F as u,V as i,n as O,o,y as a,p as c,fK as k,a as T,ae as _,bt as B,eI as D,fB as E,aS as h,ag as f,c as r}from"./index-
|
|
1
|
+
import{q as I,F as u,V as i,n as O,o,y as a,p as c,fK as k,a as T,ae as _,bt as B,eI as D,fB as E,aS as h,ag as f,c as r}from"./index-CiMyMhgu.js";import{n}from"./mui-D2MqZYRi.js";import W from"./QBOConnectionDialog-DNB2C1vQ-B-m0Orif.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]="e16e635d-cc11-4c75-8742-d09cfb00f35c",e._sentryDebugIdIdentifier="sentry-dbid-e16e635d-cc11-4c75-8742-d09cfb00f35c")}catch{}})();const l={containerPadding:new a(r[3],r[4]),sectionWidth:new a(343,580,726),topElementsRowGap:new a(r[3],r[0]),arrowIconWidthHeight:new a(r[3],r[4])},q={title:new T("standardMedium","largeMedium")},ee=({isAdmin:e,hasError:t=!1,isValid:d,saveConnectionState:p,isQBOPopupOpen:y,companyName:$,updateQBOPopupState:w,handleOnConnectClick:b})=>{const s=I(),{qbo_connection:j}=u.getLocalizedStrings().customerOnboardingPage.sections,{title:S,sucessText:v,button:z,errorText:P,requiredText:C}=j;return i.jsxs(G,{windowSize:s,children:[i.jsxs(A,{windowSize:s,children:[s==="small"?i.jsx(R,{children:d?i.jsx(J,{}):i.jsx(U,{})}):null,i.jsx(F,{windowSize:s,children:S})]}),i.jsxs(H,{windowSize:s,children:[i.jsxs(M,{windowSize:s,children:[i.jsxs(Q,{children:[i.jsx(V,{}),i.jsx(K,{windowSize:s}),i.jsx(L,{})]}),d?s!=="small"?i.jsx(m,{}):null:i.jsx(O,{variant:"primary",size:s!=="small"?"standard":"xs-small",label:z.connect,style:{width:"fit-content"},onClick:()=>w(!0),loading:p==="In-Progress"})]}),d?i.jsxs(i.Fragment,{children:[i.jsx(N,{children:v}),s==="small"?i.jsx(m,{}):null]}):null,p==="Error"?i.jsx(x,{children:i.jsx(g,{windowSize:s,children:P})}):null,t&&!d?i.jsx(x,{children:i.jsx(g,{windowSize:s,children:C})}):null]}),i.jsx(W,{isAdmin:e,isGoBackAllowed:!0,isQBOPopupOpen:y,companyName:$,saveConnectionState:p,handleOnConnectClick:b,handleGoBack:()=>w(!1)})]})},m=()=>{const{tags:e}=u.getLocalizedStrings().customerOnboardingPage,{connected:t}=e;return i.jsx(E,{style:{width:"max-content",padding:0,marginTop:o.sp2},tagTitle:t,textColor:{color:new h(c.successDark),borderColor:new h(c.successDark)}})},G=n.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as W,c as D,d as
|
|
1
|
+
import{y as W,c as D,d as G,q as M,F as U,a8 as X,aN as H,aG as J,cB as K,V as r,bz as Q,ab as Y,aO as Z,o as b,g2 as ee}from"./index-CiMyMhgu.js";import{a as B}from"./sentry-DMKAGVXl.js";import{n as c}from"./mui-D2MqZYRi.js";import{b as ae,f as te,o as T,l as _}from"./FollowStepsSection-64oy2OLD-D3h0tFyq.js";import"./liveblocks-D92pTRaw.js";import"./core-CadaPWsO.js";import"./recharts-t7V-Kaqf.js";import"./zeni-epic-state-DjAFCaxy.js";import"./lottie-Dv5hJ5mA.js";import"./analytics-C6L7hlHG.js";import"./lexical-DEI4_j9X.js";import"./utils-BWiizB9D.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]="bfd7b2e5-9ac0-433a-9039-f4c30e90d66f",e._sentryDebugIdIdentifier="sentry-dbid-bfd7b2e5-9ac0-433a-9039-f4c30e90d66f")}catch{}})();const $="reimbursementApprovalRuleDetailPage",C="lowerBound",j="upperBound",I="steps",h="applyToExistingReimbursements",le={footerPadding:new W(D[2],D[3])};function Pe({localData:e,approvalUpdateActionType:t,isLowerBoundDisabled:a=!1,isUpperBoundDisabled:o=!0,hideUpperBoundField:s=!1,onBackClick:p,onApprovalRuleDataUpdated:g,onResetClick:N,onSaveRuleClick:E,onSaveRuleSuccess:A}){const F=G(),S=M(),l=U.getLocalizedStrings().commonSetUp.approval,w=U.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,x=re(e,t==="approval_create"&&!a),y=X({mode:"all",reValidateMode:"onChange",defaultValues:x}),u=e.remiSetupApproverViewUpdateData?.updateStatus,P=H(u?.fetchState),{upperBound:R}=x,{allApprovalRules:i,allAccountingClasses:V,remiSetupApproverViewUpdateData:m}=e;let f=i.length>1?i.length-1:0,v=i.length>0?i[f].criteria[0].range.min.amount:0;if(m!=null&&m.type==="approval_update"&&m.data!=null){const{approvalRuleId:n}=m.data;f=i.findIndex(d=>d.approvalRuleId===n),v=f>0?i[f-1].criteria[0].range.min.amount:0}const q=y.handleSubmit(()=>{E()}),z=async(n,d)=>{g(d)};return B.useEffect(()=>{const n=y.watch((d,{name:L})=>{if(L!=null&&d!=null){const O=J(d);K(()=>z(L,O))}});return()=>{n.unsubscribe()}}),B.useEffect(()=>{P==="In-Progress"&&u?.fetchState==="Completed"&&A()},[P,u?.fetchState,A]),r.jsxs(ie,{children:[r.jsx(Q,{title:t==="approval_create"?l.newApproval:l.editApproval,backgroundColor:F.colors.grey4,style:{zIndex:4},onBackClick:()=>{p()},source:"ReimbursementApprovalRuleDetailPage"}),r.jsx(de,{children:r.jsxs(Y,{...y,children:[r.jsx(ue,{children:r.jsx("form",{id:k($),onSubmit:q,children:r.jsxs(pe,{children:[r.jsx(ae,{label:{label:s?w.amountPerRemiGreaterLabel:w.amountPerRemiLabel},firstText:{type:"number",name:C,placeholder:"$0",options:{required:!0,max:R===1/0?Number.MAX_SAFE_INTEGER-1:R-1,min:v,validate:n=>a?!0:n!=null&&n>v},isDisabled:a,additionalInfoLabel:l.firstRuleLowerBoundInfoLabel,additionalErrorLabel:l.firstRuleErrorInfoLabel},secondText:{type:"number",name:j,placeholder:"Infinity",isDisabled:o,hideField:s,additionalInfoLabel:l.upperBoundInfoLabel}}),r.jsx(ce,{}),r.jsx(te,{sectionId:I,label:{label:l.followStepsLabel},approversPlaceholder:l.approversPlaceholder,notifiersPlaceholder:l.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(n=>n.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:V,stepsInfo:x[I],userSelectPlaceholder:l.userSelectPlaceholder,approveNotifyPlaceholder:l.approveNotifyPlaceholder,productType:"zeni_reimbursements"})]})})}),r.jsx(Z,{formId:k($),primaryBtn:{label:l.saveBtnText,isLoading:u?.fetchState==="In-Progress",isDisabled:u?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},topComponent:t==="approval_create"?null:r.jsx(ee,{name:h,mode:"always_on",checkBoxes:[{value:h,label:l.applyToExistingReimbursements,defaultChecked:!0,groupLabel:!1}],style:{width:"100%"}}),showCancel:!0,cancelBtn:{label:l.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:N},containerStyle:{justifyContent:S==="small"?"space-between":"center"},style:{padding:le.footerPadding.valuePx(S)},separatorStyle:{marginRight:b.sp4}})]})})]})}const re=(e,t)=>{const{criteria:a,steps:o}=e.remiSetupApproverViewUpdateData?.data??{};return{[h]:[h],[I]:oe(e.allApprovers.map(s=>s.user),e.filteredApprovers.map(s=>s.user),T(e.allAttributes),T(e.filteredAttributes),o??[])??[],[C]:t?void 0:a!=null?a.range.min.amount??0:0,[j]:a!=null?a.range.max==null?1/0:a.range.max.amount:1/0}},oe=(e,t,a,o,s)=>s&&s.length>0?s.map((p,g)=>({stepIndex:g,stepType:{selectedOption:p.action,allOptions:_},actors:{allUsers:t,selectedUsers:se(e,p.actors),allNonUsers:o,selectedNonUsers:ne(a,p.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:_},actors:{allUsers:t,selectedUsers:[],allNonUsers:o,selectedNonUsers:[]}}],se=(e,t)=>e.filter(a=>a.userId!=null&&t.findIndex(o=>o.userId===a.userId)>-1),ne=(e,t)=>e.filter(a=>t.findIndex(o=>o.subType===a.value)>-1),k=e=>`${e}_form`,Re=e=>`${e}`,ie=c.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
height: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as N,q as W,F as S,V as t,bz as _,m as E,
|
|
1
|
+
import{d as N,q as W,F as S,V as t,bz as _,m as E,aM as j,o,y as r,ak as z,aK as k,cm as H,cn as V,co as G,cY as U,c as l,b7 as q,a as T,b6 as F,p as P,cV as J,br as Y,b as K}from"./index-CiMyMhgu.js";import{n as i}from"./mui-D2MqZYRi.js";import{a as O}from"./sentry-DMKAGVXl.js";import"./liveblocks-D92pTRaw.js";import"./core-CadaPWsO.js";import"./recharts-t7V-Kaqf.js";import"./zeni-epic-state-DjAFCaxy.js";import"./lottie-Dv5hJ5mA.js";import"./analytics-C6L7hlHG.js";import"./lexical-DEI4_j9X.js";import"./utils-BWiizB9D.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},m=new e.Error().stack;m&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[m]="93c1e96a-615c-444f-af7e-1d01c99fcada",e._sentryDebugIdIdentifier="sentry-dbid-93c1e96a-615c-444f-af7e-1d01c99fcada")}catch{}})();const s={sectionWidth:new r(343,580,726),ruleWrapperPadding:new r(l[3],l[4]),wrapperGap:new r(l[4],l[3]),wrapperMarginBottom:new r(l[6],l[8]),lastWrapperMarginBottom:new r(l[5],l[9]),stepperWidthHeight:new r(20,l[5]),stepperItemLeft:new r(-29,-23),stepperItemTop:new r(2,l[0]),stepperItemPaddingLeft:new r(l[0],10),stepperItemMinHeight:new r(22,28),stepperLeft:new r(11,17),stepperTop:new r(2,l[0]),stepperContentTop:new r(l[0],-4)},A={stepper:new T("smallRegular","standardRegular"),amount:new T("standardRegular","largeRegular")},Q=({showDeleteBtn:e=!1,isLastSection:m=!1,approvalRule:u,onEditRuleClick:b,onDeleteRuleClick:v})=>{const[x,c]=O.useState(!1),a=W(),{range:d}=u.criteria[0],{steps:g,approvalRuleId:w}=u,n=S.getLocalizedStrings().commonSetUp.approval,f=()=>{c(!0)},y={onOkClick:()=>{c(!1),v?.(w)},onCancelClick:()=>{c(!1)}};return t.jsxs(X,{windowSize:a,isLastSection:m,"data-testid":j("approval-rule-section",w),children:[t.jsxs(Z,{windowSize:a,children:[t.jsxs(ne,{children:[t.jsxs(B,{windowSize:a,children:[n.from," ",k("0,0",d.min)]}),t.jsxs(ee,{children:[t.jsx(I,{}),t.jsx(te,{}),t.jsx(I,{})]}),d.max==null?t.jsx(ce,{}):t.jsx(B,{windowSize:a,children:k("0,0",{...d.min,amount:d.max.amount})})]}),t.jsxs(ae,{className:"icons",children:[e?t.jsx(pe,{onClick:f}):null,t.jsx(de,{onClick:()=>{b(w)},"data-testid":j("edit-approval-rule",w)})]})]}),t.jsx(oe,{windowSize:a,children:t.jsx(ie,{isSingleStep:g.length===1,windowSize:a,children:g.map((h,D)=>t.jsxs(re,{isSingleStep:g.length===1,className:"stepperItem",windowSize:a,children:[h.action==="require_approval"?t.jsx(le,{children:n.requireText}):t.jsx(se,{children:n.notifyText}),h.nonUserActors.filter(p=>p.subType!=null).map((p,M)=>t.jsxs(L,{children:[t.jsx(C,{children:p.subType!=null?n.nonUsers[p.subType].label:null}),h.operator!="is"?t.jsx(R,{className:"operator",children:h.operator}):null]},`${p.subType}_${M}`)),h.actors.map(p=>t.jsxs(L,{children:[t.jsxs(C,{children:[p.firstName," ",p.lastName]}),h.operator!="is"?t.jsx(R,{className:"operator",children:h.operator}):null]},p.userId))]},D))})}),x?t.jsx(H,{titleComponent:t.jsx(G,{children:n.deleteApprovalRuleTitle}),descriptionComponent:t.jsx(V,{children:n.deleteApprovalRuleDesc}),primaryButtonText:n.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:n.cancelBtnText,action:y}):null]})},X=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
gap: ${e=>s.wrapperGap.valuePx(e.windowSize)};
|