@zeniai/web-cockpit-ui 1.15.34-dev → 1.15.35-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{ACHDetailsPage-DSufuSEI-BugcK5ko.js → ACHDetailsPage-CdyuCPU8-0VceC4Oh.js} +1 -1
- package/dist/assets/{AIPerformancePage-Df0tJkyd-C5l4T96t.js → AIPerformancePage-GW2UlhRu-Bfc988ot.js} +1 -1
- package/dist/assets/AccountInfoPage-BQksD-qN-CQrQ5LJ4.js +18 -0
- package/dist/assets/{AccountInfoPageContent-C7Xs6ju3-CvFu_KWB.js → AccountInfoPageContent-Dn6yodzf-C1aQIT5z.js} +7 -7
- package/dist/assets/{AccountLockedInfoModal-D5rAyYPe-cRoXMFrB.js → AccountLockedInfoModal-7MLTBsWb-kQqWsBqk.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-BvnBJmol-BxGJXQpl.js → AccountReconDetailsDrawerPage-CUvBGVmt-CY2NmAYD.js} +1 -1
- package/dist/assets/{AccountRow-DtE1mQFq-sRlcgWT1.js → AccountRow-t-WESYF_-BZd9LxDz.js} +14 -14
- package/dist/assets/{AccountsPromoCardStack-D14FDzTY-CAlFlxNB.js → AccountsPromoCardStack-C0Ht_d_M-1zanAeyR.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-C9_gjvsQ-xMzrtCOD.js → AddAddressForCardDrawer-CpDfjROc-B4piq4St.js} +1 -1
- package/dist/assets/{AddToWalletPage-B_7pqvLH-CAYlL9WC.js → AddToWalletPage-CPYp6JZP-Cgen85QG.js} +1 -1
- package/dist/assets/{AgingReportsPage-CRFlM3H1-DhYuRisV.js → AgingReportsPage-BRChA3Xv-BV6vq-Aj.js} +3 -3
- package/dist/assets/{AllUserItems-LlhM8bBU-N-OwUUn2.js → AllUserItems-CUlWgl79-RT_0EGEc.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-CTxNOPhD-DrGk4MjA.js → ApAgingDetailPage-D7u_ghQp-CmtSt3LQ.js} +6 -6
- package/dist/assets/{AppBasePage-DRQ76rXe-BbmVnMJF.js → AppBasePage-bvoaHTtg-Bi873Eqq.js} +1 -1
- package/dist/assets/{AppDrawerContent-CIXhnJBJ-DkcT-gQA.js → AppDrawerContent-DYDi-djG-Cr9HlceI.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-DYrcZm5--Di4DgXFx.js → ApprovalRulesSettingsPage-CGO_GK8B-C3p-mE2c.js} +1 -1
- package/dist/assets/{ArAgingChart-BwEspm7G-DNjHaENA.js → ArAgingChart-DBuqIeaR-C9LO_snS.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-Dy9woFr0-Dwalts78.js → ArAgingDetailPage-ALGyVMJV-BsdNBEqd.js} +4 -4
- package/dist/assets/{AttachmentView-CF6Tiq1u-ScD4RZ91.js → AttachmentView-BIeDapyc-BG8BqDh9.js} +1 -1
- package/dist/assets/{BankAccountSection-DyPS4RZK-Bc2VKdEG.js → BankAccountSection-BQKaKFnm-DHGgFmbL.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-Dr8XVfsN-Bh1VpxWI.js → BankAccountWarningSection-DeUkht1G--scnEmUk.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-h7ZnZhy5-EKV1mb1Z.js → BankConnectionsSettingsPage-qldLiM1M-CPdyIAUt.js} +1 -1
- package/dist/assets/{BillDetailPage-KSkeLjtu-DDizjGfx.js → BillDetailPage-BPqPHZcD-BcX87XdC.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-C3VQacD2-ndVmYW9Y.js → BillPayApprovalRuleDetailPage-FW3E7XSE-Bj7z3Fiz.js} +5 -5
- package/dist/assets/{BillPayApprovalRulesPage-DMmnARE3-BHk6XaxH.js → BillPayApprovalRulesPage-BGotlrLK-C4wvOhcK.js} +1 -1
- package/dist/assets/{BillPayPromoPage-CZ34fQRr-h45OCD6V.js → BillPayPromoPage-DvoccD5_-9WUX2zRh.js} +5 -5
- package/dist/assets/{BillPaySetUpPage-DF-cMiJC-Ccb6fwyP.js → BillPaySetUpPage-DhjIDy8h-D7gIdBq_.js} +1 -1
- package/dist/assets/{BillingSettingsPage-DNmOo0mj-BgBv8nRa.js → BillingSettingsPage-CmO4DZ-a-TmRopedQ.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-CM1RYrRS-7XSi35in.js → BillsBulkReviewDrawerPage-4vzF3bG9-C3VxBwnG.js} +1 -1
- package/dist/assets/{BoxItem-Dy41mKN9-CZiGGLPk.js → BoxItem-B6i9yx2h-8tTsCvCc.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-BSL5f5yW-Ccd_M7Ux.js → BusinessVerificationPage-DuEh8MkZ-CPUH1p9f.js} +1 -1
- package/dist/assets/{CardNumberSubText--wffxyL2-Dzc9wag1.js → CardNumberSubText-BEVRq2PI-CBvs6qd9.js} +1 -1
- package/dist/assets/{CashbackDetailPage-BuywSIvA-Dj0FTjqV.js → CashbackDetailPage--SHtNWGE-D0op8BJu.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-Fx1upN8E-BfETR_eB.js → ChargeCardDetailPage-EFRUpv7y-BxiQ-wFB.js} +1 -1
- package/dist/assets/{ChargeCardListPage-CkqWU4gN-CkHuHVFN.js → ChargeCardListPage-CFB5EHCZ-DwRWhMet.js} +1 -1
- package/dist/assets/{ChargeCardListTable-lwxY_gLZ-DZ2VoxeT.js → ChargeCardListTable-DM_h-dzr-CxMVtKFB.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage-CvTW120H-ByJ1xGtA.js → ChargeCardPaymentHistoryPage-CPZj9te2-acCaXNd-.js} +1 -1
- package/dist/assets/ChargeCardPromoPage-BWwBfycu-CAS6um23.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-D_LWSQOa-BwUtTkP2.js → ChargeCardSetupPage-Epn4xe2x-CkUn76sD.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-B7qX0zl3-C66Fu0LS.js → ChargeCardStatementsPage-Bu7OdYhw-oLOXCaTu.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-oWf5X7rL-5KpdpyEY.js → CheckDepositDrawerPage-DQnqizMV-eQHX-470.js} +1 -1
- package/dist/assets/{CollapsableReportTable-Cfh-EfEQ-CKv-H0OC.js → CollapsableReportTable-CSVzLWq_-CmmDaO6f.js} +271 -271
- package/dist/assets/{CompanyOfficerDetailsSection-CFg0p5uA-CJ156x7J.js → CompanyOfficerDetailsSection-Pwtunf36-D6txAI6l.js} +1 -1
- package/dist/assets/{CompanyPassportCard-C5j_KoZL-CPJCD4ZW.js → CompanyPassportCard-DfPPft95-Clb_fVZP.js} +4 -4
- package/dist/assets/{CompanyPassportPage-DtEQ7a68-BZL6spEi.js → CompanyPassportPage-aNL_m3a2-r2mVOoQ8.js} +1 -1
- package/dist/assets/{CompleteProfile-DLNtc5N7-B7HW7ybq.js → CompleteProfile-DmeE0Xjt-BcBZ6wma.js} +1 -1
- package/dist/assets/{ConfettiBurst-B4gz9uC9-BhJEyb5s.js → ConfettiBurst-s04ELXDS-BW01uxDM.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-C3jCz_Fx.js → ConstrainedInnerElement-BeIpAPjB-CaoYd0_P.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-Bd61yH0G-DpW83MJ2.js → CreateOrEditVendorPage-D3oCIz1P-DTzyUV9b.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-NtnEWUdG-DLELauiu.js → CreditCardPaymentDrawerPage-DPXaPj4B-1z2GwFLS.js} +1 -1
- package/dist/assets/{CurrencySelectField-CaQgbP8P-Cqqb_KBc.js → CurrencySelectField-CtKQBmBI-q57973By.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-BnBFEWaX-Dn3wQumA.js → CustomerOnboardingActivationPage-DCQvUK8d-CVTcQu6u.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-Dm4ySQZZ-BvOTc4ng.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-Deaz4PM6-BDZvJWDz.js → CustomerOnboardingDetailPageSkeleton-BVJ6jsqR-BsJw-Ope.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-C8cmsaOC-BJyq1bJL.js → CustomerOnboardingNoStepsPage-DQcf1Pyg-DdjDIchQ.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-CSSgj26J-N4cabpr0.js → CustomerOnboardingPage-CLNt38t0-D5-M1y80.js} +1 -1
- package/dist/assets/{CustomerOnboardingProductSuitePage-DU7qzP1f-2w9ZQcUU.js → CustomerOnboardingProductSuitePage-SyWJAHJ5-DCcbBC8z.js} +1 -1
- package/dist/assets/{Dashboard-DPXzM2TM-6t8lQHvd.js → Dashboard-DW6P3oLC-D1tHml1O.js} +1 -1
- package/dist/assets/{DashboardReportPage-CWgH0Bn9-BvMXyb8g.js → DashboardReportPage-Cp04-QUV-B7AXOtvv.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-DL2Awq0k-CURcbn_K.js → DashboardSidebarBackgroundAnimation-CKoyjUHm-DewB5pFB.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-CuWxNHSp-Da2H1v88.js → DepositAccTransactionItem-kZL4La9A-C6fVz6NV.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-BHs8-LpV-C7V5-8Rf.js → DepositAccTransactionListPage-C_GPoFDS-Bnscj1hg.js} +3 -3
- package/dist/assets/{DomesticWireDetailsPage-CRfm0oqJ-C4r-lW_y.js → DomesticWireDetailsPage-CL-gGug5-Dmorx9NL.js} +1 -1
- package/dist/assets/{DownloadOverlay--ICWviQz-Q6tZiS37.js → DownloadOverlay-JdIA_Qvk-wAu7AAW1.js} +1 -1
- package/dist/assets/{DrawerPage-DoJkjp69-BGpDDN7R.js → DrawerPage-_F2zRGIo-CQDApgUJ.js} +1 -1
- package/dist/assets/{EditPeoplePage-B-zEdQqt-BrFyNgmY.js → EditPeoplePage-Cqd73zkA-moU29OZ-.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-BdfJj8-u-BwPuRwof.js → EditReimbursementDetailPage--T5T_fJG-CaXN1fuc.js} +1 -1
- package/dist/assets/EntityDetailPage-CAu9l8_o-DQd9jfhM.js +18 -0
- package/dist/assets/{EntitySummarySection-BYP9LNlh-CHZV8J2r.js → EntitySummarySection-D1QM7cY6-BWMV3RUk.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-UKPGezFZ-ynbYpvOr.js → ExpenseAutomationOverviewPage-pciCiajG-DOlwLojR.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-5qqhqwjY-BNjM9KYY.js → ExpenseAutomationPage-CYKu1ufk-BgHRQ_o6.js} +21 -21
- package/dist/assets/{ExpressPayPage-BaLCnmxC-DyZ_NbAE.js → ExpressPayPage-BCMf-60G-DgcplXv5.js} +8 -8
- package/dist/assets/{FeaturePreviewPage-DJvcim4v-B-0y2hox.js → FeaturePreviewPage-Dj5OXPVN-2xodjQZz.js} +1 -1
- package/dist/assets/{FollowStepsSection-DiAM2oU9-DVhX1hhq.js → FollowStepsSection-ZwhfJWnC-WC244m2S.js} +1 -1
- package/dist/assets/GlobalReviewListPage-AZtnVYVQ-HrXervPX.js +291 -0
- package/dist/assets/{InformationCardStack-bDJV8MEl-DKR8Zvn9.js → InformationCardStack-D8cmcS4k-ucNvTFnG.js} +1 -1
- package/dist/assets/{InsightsCardStack-Ba7C5_Ql-1E6nbw33.js → InsightsCardStack-CRbYGyti-BG-J4zTW.js} +2 -2
- package/dist/assets/{InsightsSection-BFviX80K-CRFJKeH_.js → InsightsSection-B7cEUOjq-CHOA81kF.js} +2 -2
- package/dist/assets/{IntegrationsSettingsPage--kXCS3f1-HcQyCW82.js → IntegrationsSettingsPage-Cu70a3gO-qesbn3EL.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-DfKrYbaB-DwvyB1Uq.js → InternationalWireSwiftDetailsPage-D_RuMP2E-CqXJrwow.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-DU6447M_-YLqWsFbY.js → InternationalWireVerificationPage-CqpE7nR5-BRwgb-BA.js} +1 -1
- package/dist/assets/{InviteFormPage-D3FNgm9B-BwvxtcvY.js → InviteFormPage-BU3bkjN3-DJZLZema.js} +1 -1
- package/dist/assets/{InvitePageListView-D4wRSwJW-DPbFsvfR.js → InvitePageListView-BfRPKPse-BUIcdEL2.js} +1 -1
- package/dist/assets/{InvitePeoplePage-DSFk8lEF-DpuHc0lh.js → InvitePeoplePage-DFfZPbsO-DIubZIn-.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-DaS4D1em-CK_Ayuq4.js → InvoiceUploadSection-BwqSfbYC-EOja7gNg.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-CrbIqdSx-Bp9X1BXe.js → IssueChargeCardPage-BB83Aeyd-D9TAck5s.js} +1 -1
- package/dist/assets/{LabeledAddressValue-CUr2BnHq-DfiyDPyB.js → LabeledAddressValue-CK-YJ1cO-BIV6IRFP.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-DL3wJoZC-CMggf1RU.js → LabeledAddressValueField-BppwMtJ1-Dgoqu5O4.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-DQUXZSFS-CPn0l33X.js → LabeledControlledCheckBoxField-zpbzob1x-DTorn_1A.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-C6IWrKo4-CcQcxFW7.js → LabeledCountryMultiSelectField-DrZ69tWB--r4Tq0BJ.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-m_D3aJpG-DPOvsRA4.js → LabeledCreatableSingleSelectField-D-rSPg1Y-ak5nvuiq.js} +1 -1
- package/dist/assets/{LabeledDocumentField-B19zNNVZ-Du4OcR6Y.js → LabeledDocumentField-CBQeAeRc-D56y9oeO.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-D4cHrsba-DGjSp6HD.js → LabeledDropDownFormattedTextField-5t5k_pgq-CfuE84-6.js} +1 -1
- package/dist/assets/{LabeledText-H1pSTEtd-BHLnDTFr.js → LabeledText-tLPpd4Wp-Cw2ZTitB.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-C0bJoy6U-CBE1zspu.js → LabeledUserSingleSelectWithSubtitlesField-D5zZUAVV-DVMrLokL.js} +3 -3
- package/dist/assets/{LabeledZeniRolesDropDownField-D0KIAWFW-CQ1uXRKO.js → LabeledZeniRolesDropDownField-DZ9boJMt-KCvascmZ.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-LfkM9DYO-CSpsV_Z3.js → LinkJETransactionPage-C99UMrwp-9iiMpHD1.js} +1 -1
- package/dist/assets/{LockCardPage-lTzQY_pw-BYsKWV6j.js → LockCardPage-DE5Zw1p--CmfozmOj.js} +6 -6
- package/dist/assets/{LowBalancePopup-DXPPHYS1-CB0hADnS.js → LowBalancePopup-BD9saCcf-C9aiJowo.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-pyI_8fZk-CbyceRk3.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-leEpcwab-DAkBv8v1.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-CJRYlkvp-pCJgKy6F.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-BrQk5kYZ-Dws1_rIA.js → MagicLinkSuccessPage-BxXyF-Sp-BUdh8eIy.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-vHYX92L1-B1QKRjFr.js → MagicLinkTitleSection-DajyP-ys-Be4ZqDQL.js} +1 -1
- package/dist/assets/{MailingDetailsSection-vydT4UOr-DSxQiRSi.js → MailingDetailsSection-F1i0rBkv-CZo5kIPL.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-BtT9OQ_b-D1PjSf7q.js → MyBankConnectionsSettingsPage-BE1pUnaR-BPnyB1YE.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-5E28yAfQ-DZoHwB3h.js → MyPendingActivationChargeCardListPage-CviCM09N-BNRf9wnQ.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-DQBSh-S5-C_KLZ_rh.js → MyProfileSettingsPage-iREvm7LK-BHFViMqO.js} +1 -1
- package/dist/assets/{NavBarWithPicker-1UPJ_fiE-iY8P9Wot.js → NavBarWithPicker-r-K_Pjsb-CmAh3bpT.js} +1 -1
- package/dist/assets/{NavigationArrow-CeYvXgly-CXWFEDMQ.js → NavigationArrow-CKhWji3v-aZKiVTlV.js} +1 -1
- package/dist/assets/{NavigationDots-CXAszOHQ-HtQg6iz5.js → NavigationDots-OShASt5i-Bc5YcJG5.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-DXSlGPbc-DidlOClT.js → NewGlobalMerchantPage-2-kYqTDF-CV5JZ9Yl.js} +1 -1
- package/dist/assets/{NoDataChart-BQdJyfHh-BLmune73.js → NoDataChart-BN3zyJkX-DustlDSJ.js} +1 -1
- package/dist/assets/{NoDataTable-B__TVPte-CetA5lza.js → NoDataTable-D0cyK_1j-BWgbh49q.js} +1 -1
- package/dist/assets/{NotFoundPage-Cs25xsWz-DnZv-DIM.js → NotFoundPage-yrt6kuPH-CdqbIt8C.js} +6 -6
- package/dist/assets/{NotificationSettingsPage-Dm3zOscr-DKDyywX2.js → NotificationSettingsPage-CX3Hkg6o-D8A68okq.js} +1 -1
- package/dist/assets/{NotificationsListConfig-D0knaijJ-NyDzwfbC.js → NotificationsListConfig-Cyzhla-8-CBrC2O9h.js} +1 -1
- package/dist/assets/{NotificationsPage-czQmfW2r-DksNFGUv.js → NotificationsPage-O7M0pMnc-Bp7VY2al.js} +1 -1
- package/dist/assets/OpExByVendorPage-DpMGBmkQ-DaQIIDYq.js +100 -0
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-li8hzYjf.js → OverlayContainerPage-D4QU0p4o-BcMNtftY.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-B7cwWwMK-BW6yjf-v.js → PandLWithForecastPage-Cbt0YlVL-B7KI2QNo.js} +2 -2
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-CkYtTRY5-DMMQt9qf.js → PaymentAccountSetupBillingAddressSection-B2xEqKKc-DTCpk1kt.js} +1 -1
- package/dist/assets/{PeoplePage-DNTbzljs-Bfp0W5JF.js → PeoplePage-CUr5cz1w-B26v5CzR.js} +1 -1
- package/dist/assets/{Preview-BsIYoVSv.js → Preview-CEK51ZCO.js} +1 -1
- package/dist/assets/{ProductsCarousel-CTiD9zA7-D7cEl2bl.js → ProductsCarousel-t8HIs4J6-6BwcwXGL.js} +1 -1
- package/dist/assets/{PromoBaseCards-BmtlcPBm-DdDmICph.js → PromoBaseCards-6Uh8eokP-Cj1KOyAw.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-B1y3hDGT-B8UGOz7A.js → QBOConnectionDialog-BbmqcpYW-rlXtEwUQ.js} +1 -1
- package/dist/assets/{QBOSetupSection-DevcmmCv-C2NxYIUb.js → QBOSetupSection-u5dKqaH8-Cw9rFHWf.js} +1 -1
- package/dist/assets/ReimbursementApprovalRuleDetailPage-DxSrYBkv-sfO_zxiL.js +32 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-CvFHaDmE-Bk4uKO7k.js → ReimbursementApprovalRulesPage-BL2GpJIG-ByiCWQ8P.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-CMplGhml--7oTvGch.js → ReimbursementDetailPage-D3qTbpPg-6N8BmeyZ.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-0d-lo-ve-BFl3c8SE.js → ReimbursementPromoPage-DuwxKGGm-DVNFf58G.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-T3ErpIj4-BkNsUy2n.js → ReimbursementSetUpPage-Du4kRXbO-IZ-1Hd0h.js} +7 -7
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CnyiYR81-D8NoJfkg.js → ReimbursementsBulkReviewDrawerPage-BmlYoVy4-BYNrk6QR.js} +1 -1
- package/dist/assets/{ReloadCard-CI-iJa1w-CU7osnQb.js → ReloadCard-BSiXuJWg-S2NiaAjj.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-CM11mXKF-DKJl505X.js → ReportTableViewSelector-KgvX6wt6-CFIrG4n5.js} +1 -1
- package/dist/assets/{ReportsPage-DzuQNoMA-ORn4o7l_.js → ReportsPage-Bt24BITW-DoLBuKPr.js} +5 -5
- package/dist/assets/{RevenueChart-iDdrXSzX-BD1q5u9E.js → RevenueChart-iH_Xl63n-Bobzdvk9.js} +14 -14
- package/dist/assets/{ReviewDetailsPage-DdS8Ssmq-CpId9CQp.js → ReviewDetailsPage-CwPsM3uL-DU9meW3Q.js} +53 -53
- package/dist/assets/{ReviewOverlay-D39FMx3p-DPQk54i4.js → ReviewOverlay-DOqgOSnM-DIJSsTrl.js} +1 -1
- package/dist/assets/{RoleWithToolTip-BMEgXHWf-CYv1exk7.js → RoleWithToolTip-D6q4Wd6X-D2UbaxXJ.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-YdBRhUc0-1nXwHDMr.js → ScheduleDetailsFixedAssetsPage-_bJob_HD-ZRo-OTit.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-OCqSWMz4-Dg0s24kG.js → ScheduleDetailsPage-BDZm6We--BmYpydGa.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-OEJBqdqG-CB3cYmnz.js → ScheduleSequenceTable-DgG11IBi-DBLZmDeR.js} +1 -1
- package/dist/assets/{ScreenRoutes-Bkl-MWfY.js → ScreenRoutes-kiA8eL9x.js} +2 -2
- package/dist/assets/{SetUpAccountSection-o86ErvD_-Celwp-jA.js → SetUpAccountSection-n5OCUAL3-B-YthnQt.js} +1 -1
- package/dist/assets/{SignIn-BEJNYyp4-O46sF-k3.js → SignIn-uBHaDram-Pp2K_nnI.js} +6 -6
- package/dist/assets/{SignInScreen-Dm8Ez_qK.js → SignInScreen-DkxtF7d-.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-BTQU2jwO-CQyGDfX4.js → SpendManagementListViewPage-ErBiPjGh-DVBcFgz6.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-BtUS4aqA-vNlgv2e5.js → SpendManagementPerTabPage-BIxGrbmz-CpTcg38p.js} +1 -1
- package/dist/assets/{SpendManagementSection-DiQ2QBwA-CGsThSZ0.js → SpendManagementSection-B01H6LCd-7KGohVSJ.js} +1 -1
- package/dist/assets/{StatementItem-DGRjrvUi-C8hx1_Sf.js → StatementItem-BJJHaw9s-DKXMQrB-.js} +5 -5
- package/dist/assets/{StatementsPage-QqtqM0qv-BBLWtN99.js → StatementsPage-rFpr0w_W-p2OTDAub.js} +1 -1
- package/dist/assets/{StatusSwitcher-CfZOeqZf-Bq7fUYSl.js → StatusSwitcher-DnuyzbQo-uFTkU_Rq.js} +1 -1
- package/dist/assets/{SubTabSwitcher-Be1lLunR-CsxeYIuC.js → SubTabSwitcher-Bk10VIFM-DuWTd5Gf.js} +1 -1
- package/dist/assets/{SummaryCard-DgBWIctW-CRmTCkt0.js → SummaryCard-CHqc9QHC-DLmlONgW.js} +1 -1
- package/dist/assets/{TaskManagementPage-CpjN2Ver-BJrGG5WR.js → TaskManagementPage-Cr_KAM2z-B-N5lqS1.js} +7 -7
- package/dist/assets/{TimeRangeSwitcher-B7KdhPH9-Djft8PYe.js → TimeRangeSwitcher-DkNMcmBm-BHsVOUJA.js} +11 -11
- package/dist/assets/TimeframeSwitcher-CULpyCRj-DpaezwVo.js +31 -0
- package/dist/assets/{TimeframeSwitcherWithToggle-DEjdiR9x-CpK-qiop.js → TimeframeSwitcherWithToggle-BSx_ynUp-DCoChT3Y.js} +9 -9
- package/dist/assets/{TopExCard-Do6O7snc-DLvwuAod.js → TopExCard-B29o-5e0-BWjMLd0Z.js} +10 -10
- package/dist/assets/{TopExDetailPage-DFil6Qwx-BWbjM88A.js → TopExDetailPage-TVxgKbn8-Dea8Ndm8.js} +6 -6
- package/dist/assets/{TransactionActivityLogPage-C49lAwDF-BGLm3dPj.js → TransactionActivityLogPage-0wmqwFMQ-CtP3S4Ck.js} +1 -1
- package/dist/assets/{TransactionDetailPage-CyTyj91G-B7vb07HE.js → TransactionDetailPage-B9pzvWO8-DN9EJI4L.js} +1 -1
- package/dist/assets/{TransactionList-BFDau1I7-BXGXYBFK.js → TransactionList-dUcT29oF-CA_JHn5F.js} +1 -1
- package/dist/assets/{TransactionListBig-CVBiekZl-DrGGpH9X.js → TransactionListBig-DMnQfRkS-D1Tzrdsg.js} +1 -1
- package/dist/assets/{TransactionListPage-LGgMtr7O-CsGWQiN-.js → TransactionListPage-BB452Nj4-Be3PUtFs.js} +2 -2
- package/dist/assets/{TransactionVendorDetailPage-3p4MoiV3-DA73bE6t.js → TransactionVendorDetailPage-BCkXd3P2-Dn9bmHZD.js} +1 -1
- package/dist/assets/{TransferDrawerPage-BCr2Qlvp-BIuuD9Kn.js → TransferDrawerPage-6Rt1ZlJA-J8WRDfD_.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-CEnHQlwT-Cp9jfBpw.js → TreasuryOverviewPage-CuSfgvcS-Cr1ZHZCL.js} +9 -9
- package/dist/assets/{TreasuryPromoPage-oQKxGxSx-CJpdFyVJ.js → TreasuryPromoPage-DUi2uBW8-DFXwMQFM.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-DKCFzvzb-D5fkSJdQ.js → TreasuryStatementsPage-DNhwcfdJ-DHWXKCq1.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-D3pc6Eyc-DWhE-bsu.js → TreasuryTaxLetterPage-BLIGs8oG-B-EAsmsV.js} +1 -1
- package/dist/assets/{TrendChart-JHlBVwXJ-p0u3PrEr.js → TrendChart-KoCvlYmC-ji_PFFB-.js} +1 -1
- package/dist/assets/{TrendWithTransactions-Bh619hxZ-B7JEOzSv.js → TrendWithTransactions-Vqr8x7E_-Ch_SpSv4.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-BuM9GG4e-DMx8_LFD.js → UncategorizedAccountsMappingPage-BKdvN3Lh-CF1FrkBZ.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-D4BoW10T-IfJ4B9AI.js → UnitIntegrationPage-CQ7270p--BJrqtQBc.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-CMqblFXF-CGuab5Cf.js → UploadAdditionalDocumentOverlay-CcH5BomT-DAavyljg.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-ANEIs-J6-BItEW5IN.js → Vendor2FAPopup-DtT11B4h-DSs5WQFV.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-Cvek1Tr4-vPAILiGh.js +1 -0
- package/dist/assets/{VendorDetailPage-BLZ1wOuB-t2P37a0b.js → VendorDetailPage-2rTQcqZl-BGHBoCgZ.js} +1 -1
- package/dist/assets/VendorDomesticWireDetailsPage-j-06hvAA-CbgEb_pw.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-BtU7EZH1-Cdwalb8n.js → VendorFiling1099EditablePage-Cgkipd6r-BOi4aIsg.js} +32 -32
- package/dist/assets/VendorFirstReviewPage-Va76j7QY-Ce_x6xNG.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-BbCN0JV0-Wsg-mPRx.js → VendorInternationalWireDetailsPage-D0IeqYQZ-CBSHQbo0.js} +1 -1
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-CDShInCp-CKPYmRJ2.js → VendorInternationalWireSwiftDetailsPage-DZusODVt-CB9jvgle.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-lmuNbtLw-BehIg0cT.js → VendorsAccountsSection-CTmdfJi_-2OXKGXSP.js} +1 -1
- package/dist/assets/{VerifyDevice-vhZNITmO-B_CyFx_O.js → VerifyDevice-DFCNFtDD-BiKT2y-c.js} +1 -1
- package/dist/assets/{VideoPlayer-DIXs3y0r-C0i3s9oa.js → VideoPlayer-CIr6pCWx-BWEj8qhe.js} +2 -2
- package/dist/assets/{VideoPopup-CYL6r3Cb-B0pmnpWo.js → VideoPopup-CoeVMP5D-CZp7ggfX.js} +2 -2
- package/dist/assets/{WarningsDrawerPage-CJ9a931n-DAFMV5EF.js → WarningsDrawerPage-CNBphx6e-DgBF9BD1.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-P86nU628-RfL02yuR.js → ZeniAccountDetailPage-ysMCIpFe-BBrtmzdb.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-GYsnktmQ-DlegmFE9.js → ZeniAccountListViewPage-DUalD7AP-CyveDoV_.js} +15 -15
- package/dist/assets/{ZeniAccountNavBarPieces-Cz7DjDo7-avwd16fX.js → ZeniAccountNavBarPieces-B8jILUl8-De6cgOXp.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-iCmw1i20-lqXeJDxF.js → ZeniAccountPromoPage-CUJm-42a-CXuQd7VV.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-B42Dq1gO-oMRu-INk.js → ZeniAccountSetupPage-BTurLFPN-CK5iO6d7.js} +1 -1
- package/dist/assets/{ZeniCopyright-Baiyxesc-CHFltgTl.js → ZeniCopyright-BTFZ48gh-CtnEsi71.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-9-2DcdrJ-q0SmjKL2.js → ZeniTransferAmountSlider-f0nRZPzG-dUb4Mhul.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-DdT9Rn3y.js → add-to-wallet-DgdBD8_G-D1teIsf6.js} +1 -1
- package/dist/assets/{analytics-Dm6Rdmk5.js → analytics-DvsRx7_o.js} +1 -1
- package/dist/assets/{analyticsHelper-DPMmqDhf.js → analyticsHelper-Bk8gqeLI.js} +1 -1
- package/dist/assets/{analyticsHelper-B32z3Cdy-Dk9sCdyO.js → analyticsHelper-lunHUd8g-D5OYaAmT.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-Cy4oQH64.js → arrow-south-east-round-PEovUgvH-CIyEcJYf.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-B6gY8maM.js → auto-transfer-rule-mbafm5D3-CtO92HdQ.js} +1 -1
- package/dist/assets/{chartTypes-DL1AC5R1-CSQ4LZOa.js → chartTypes-DESZubWD-Bq3-3C2k.js} +1 -1
- package/dist/assets/{commonDimensions-BNYeCJ44-DwWQhbOM.js → commonDimensions-Cpv8YIix-Dpl_2njg.js} +1 -1
- package/dist/assets/{commonTypes-DwuUdRAc-CVoF2D5n.js → commonTypes-B1gKMzJK-DEpai8h5.js} +1 -1
- package/dist/assets/{constants-MHF6sRcJ.js → constants-B-YZmhKw.js} +1 -1
- package/dist/assets/{core-XAP_yXKl.js → core-HDqpewC7.js} +1 -1
- package/dist/assets/{dash.all.min-DatMhMWc.js → dash.all.min-kOXiIFTN.js} +1 -1
- package/dist/assets/{detailCommon-CzjlHNNr-OLPVPNMD.js → detailCommon-DyrMcL2E-DbZbdMac.js} +2 -2
- package/dist/assets/{downloadPdf-CPfBtFli-C5o4QyFD.js → downloadPdf-D2sIdMDR-D6_l0NHH.js} +1 -1
- package/dist/assets/{empty-vcyFM9nz.js → empty-DfoIHPwJ.js} +1 -1
- package/dist/assets/{empty-Cs2gdmIo.js → empty-Dx0imdfu.js} +1 -1
- package/dist/assets/{epic-B8nKq-i6.js → epic-BE_WS1px.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-RzjSa1iy.js → gift-box-Cmt9OgIZ-xM5zrgW4.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-CQ6Ol9_s.js → graphic-no-data-l-DU4J8fDt-B9Rqv9_n.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CI6u9HfU.js → graphic-no-data-net-burn-l-CzmycA0m-DYb8EeBA.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-FDeEnKd2.js → handshake-BPg58FML-B6X0918N.js} +1 -1
- package/dist/assets/{helper-T710NLca-BU35xGXS.js → helper-i78O9ew8-BuDifB0X.js} +1 -1
- package/dist/assets/{index-LuFlN8FP.js → index-B7uDjLxh.js} +1 -1
- package/dist/assets/{index-CrlTOcjY.js → index-Bdy6x472.js} +1 -1
- package/dist/assets/{index-DSJ6HKL8.js → index-BmIGxAWd.js} +1 -1
- package/dist/assets/{index-t-uTuAYw.js → index-D0CQgP0w.js} +1 -1
- package/dist/assets/{index-D9vmx-FC.js → index-DAitESaL.js} +1 -1
- package/dist/assets/{index-DIT7C2zP.js → index-Depa7Syu.js} +1 -1
- package/dist/assets/{index-C9hDAJ7o.js → index-Dw_MX6AZ.js} +11 -11
- package/dist/assets/{lexical-CgNStNGD.js → lexical-CWcQ8pGO.js} +1 -1
- package/dist/assets/{liveblocks-NP7ye8lf.js → liveblocks-Dv7Vdu8a.js} +1 -1
- package/dist/assets/{lottie-DhXcx4Hv.js → lottie-V1lTNkDB.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-COG82OfJ-0ZJxCNAO.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Co9d6d-V-n_IPqL-W.js → mapSectionWithAcOnlyToTreeNode-CjVZw324-Cy37hN-j.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-DZFRqtKk-B07ADlac.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-Cm_MiRXt-C6UHQCJ6.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-DnvhN4Go-CXn5QSNs.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-40rewm2_-C-ELqPB7.js +1 -0
- package/dist/assets/{mui-BQR0Ruo4.js → mui-DdxImnN0.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-BBbQvoIw.js → page-detail-CWX5S47F-5PyHJMJh.js} +1 -1
- package/dist/assets/{panelSelectedMixin-Cddsb26L-V1yMMv-q.js → panelSelectedMixin-Cddsb26L-gr9HWaHB.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-OYLDx768.js → radio-default-CiSgisfh-LTUMKU8Y.js} +1 -1
- package/dist/assets/{react-BL2s-aF_.js → react-BNr0aXGm.js} +1 -1
- package/dist/assets/{react-CvT9aEmE.js → react-CUY5EDxC.js} +1 -1
- package/dist/assets/{react-Cp-6oWln.js → react-Cjks14mZ.js} +1 -1
- package/dist/assets/{react-DcMbwERn.js → react-DYqwvMeX.js} +2 -2
- package/dist/assets/{react-Du36QLI3.js → react-DbLm8gms.js} +1 -1
- package/dist/assets/{react-CUdUBRF6.js → react-OxQ1eBeR.js} +1 -1
- package/dist/assets/{react-72w_Kluy.js → react-omDkrKl-.js} +1 -1
- package/dist/assets/{react-CX9OzKa9.js → react-pyJg34N2.js} +1 -1
- package/dist/assets/{recharts-DkFolWRg.js → recharts-Djp9a38d.js} +1 -1
- package/dist/assets/{sentry-Ckvw8Zf1.js → sentry-DBSEoG3b.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-rM_NpNHL.js → shield-DOlUxcFf-BOPfGBnx.js} +1 -1
- package/dist/assets/toCOABalancesWithID-DxETcMNK-ChqFn7jZ.js +1 -0
- package/dist/assets/{toChartData-8r0AvOIP-Dhy8B0ZL.js → toChartData-BQYX2C7n-DbxCO4-E.js} +1 -1
- package/dist/assets/{uploadAttachment-CTXeI85v-BVATkq8k.js → uploadAttachment-C3cElL9m-QbAR0kQd.js} +1 -1
- package/dist/assets/{uploadReceipts-Dge0cNF1-nRZK_a0M.js → uploadReceipts-Dge0cNF1-BifC32F3.js} +1 -1
- package/dist/assets/{url-D8pFj_Ts.js → url-BmxmWAZl.js} +1 -1
- package/dist/assets/{url-DCwOBFCk.js → url-DITb-guK.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-BkrNXw3e.js → useLongPress-GCK2COYQ-CaFh8omD.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-54Q8nh58.js → usp-line-BBd1wKwW-CpqqX4MO.js} +1 -1
- package/dist/assets/{utils-B4eJ0QQL.js → utils-rIQAYtge.js} +1 -1
- package/dist/assets/{zeni-epic-state-BnsQ52n7.js → zeni-epic-state-1oOVJQJ4.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/AccountInfoPage-CwOgUpjY-CG0ESFTT.js +0 -18
- package/dist/assets/ChargeCardPromoPage-CSx0tLTh-BsQndE31.js +0 -222
- package/dist/assets/CustomerOnboardingContainerPage-BRmWV-NF-CTVp5vU-.js +0 -1
- package/dist/assets/EntityDetailPage-C6UdR7oJ-COx1heor.js +0 -18
- package/dist/assets/GlobalReviewListPage-DFhcVK4y-DV_nZHys.js +0 -291
- package/dist/assets/MagicLinkACHDetailsPage-DhFoinUr-BKHQrprB.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BUX5Ve2X-CKqNdN5U.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-BmtqDOUO-CMDMqnYA.js +0 -1
- package/dist/assets/OpExByVendorPage-D1ehVVFD-Dc7GFqIq.js +0 -100
- package/dist/assets/ReimbursementApprovalRuleDetailPage-BRUlJa_D-yH6i72Z5.js +0 -32
- package/dist/assets/TimeframeSwitcher-C26tc1sm-Eg22Wb7g.js +0 -31
- package/dist/assets/VendorACHDetailsPage-BNcSYRzd-Kp1xh3I0.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-KZSt69vF-CigCqUX0.js +0 -1
- package/dist/assets/VendorFirstReviewPage-DJap4HA2-DP0KML1b.js +0 -730
- package/dist/assets/mapLoadingInProgressToTreeNode-DWJx3AOd-DyMnZ_nG.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-CKbbOrFj-B8jOHJ4H.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-BpaMuUED-DrbIaTMF.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-jq979PpH-D251JRiH.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-6A-QxQzl-WsH6ynl8.js +0 -1
- package/dist/assets/toCOABalancesWithID-CxmuqRLi-BeWRvmKl.js +0 -1
package/dist/assets/{ExpressPayPage-BaLCnmxC-DyZ_NbAE.js → ExpressPayPage-BCMf-60G-DgcplXv5.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as Re,J as G,F as H,a9 as et,aR as Fe,cH as tt,V as t,bD as it,ad as at,aS as nt,x as f,o as n,kZ as lt,k_ as ot,k$ as rt,cP as Ve,cM as dt,f4 as st,fI as ct,fJ as pt,cO as Oe,gg as mt,l0 as ut,cT as ht,cU as yt,fb as ze,fc as Ae,fl as ke,w as ge,u,fn as gt,bb as ft,b8 as
|
|
1
|
+
import{y as Re,J as G,F as H,a9 as et,aR as Fe,cH as tt,V as t,bD as it,ad as at,aS as nt,x as f,o as n,kZ as lt,k_ as ot,k$ as rt,cP as Ve,cM as dt,f4 as st,fI as ct,fJ as pt,cO as Oe,gg as mt,l0 as ut,cT as ht,cU as yt,fb as ze,fc as Ae,fl as ke,w as ge,u,fn as gt,bb as ft,b8 as be,p as Ee,an as xt,as as We}from"./index-Dw_MX6AZ.js";import{a as J}from"./sentry-DBSEoG3b.js";import{n as d}from"./mui-DdxImnN0.js";import{bL as He,bh as le,bP as _e,bH as bt,bo as wt}from"./zeni-epic-state-1oOVJQJ4.js";import{Y as vt}from"./LabeledDocumentField-CBQeAeRc-D56y9oeO.js";import{S as te}from"./LabeledText-tLPpd4Wp-Cw2ZTitB.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="08462019-9fdf-4215-8629-ee48e519eb1b",e._sentryDebugIdIdentifier="sentry-dbid-08462019-9fdf-4215-8629-ee48e519eb1b")}catch{}})();const St={progressBarWidth:new f(343,726)},jt=({pageIndex:e})=>{const i=G(),a=Re(),s=H.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.progressBar,h=[s.stateOne,s.stateTwo,s.stateThree];return i==="small"?t.jsxs($t,{children:[t.jsx(lt,{coloredSectionCount:e,stretchedSection:1,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1,topMargin:8}),t.jsx(Pt,{children:h.map((p,l)=>t.jsx(Dt,{isLast:l==h.length-1,isRelevant:l<=e,perSectionHeight:100/h.length,children:t.jsx(Le,{children:p})},l))})]}):t.jsxs(Ct,{windowSize:i,children:[t.jsx(ot,{coloredSectionCount:e,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1}),t.jsx(It,{children:h.map((p,l)=>t.jsx(Tt,{stateIndex:l,isRelevant:l<=e,children:t.jsx(Le,{children:p})},p))})]})},Ct=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
margin-top: ${n.sp3};
|
|
@@ -38,7 +38,7 @@ import{y as Re,J as G,F as H,a9 as et,aR as Fe,cH as tt,V as t,bD as it,ad as at
|
|
|
38
38
|
position: relative;
|
|
39
39
|
height: ${e=>`${e.perSectionHeight}%`};
|
|
40
40
|
color: ${e=>e.isRelevant?e.theme.colors.primary:e.theme.colors.grey2};
|
|
41
|
-
`,T={containerWidth:new f(343,580,726),labelWidth:new f(120,160,160),largeLabelWidth:new f(150,228,228),largeLabelPickerWidth:new f(100,180,180),paddingBottom:new f(u[3],u[2]),labelMarginLeftPicker:new f(u[3],u[4]),labelMarginRightPicker:new f(u[3],u[4]),labelMarginTopPicker:new f(u[2],u[2]),labeledFieldPaddingLeft:new f(u[0],u[0]),labeledFieldPaddingRight:new f(u[2],u[2]),labeledFieldPaddingTop:new f(u[2],u[2]),labeledFieldPaddingBottom:new f(u[2],u[2]),infoLabelPaddingRight:new f(u[0],u[3]),infoLabelMarginTop:new f(u[1],u[0])},V=(e,i)=>`${e}.${i}`,Ft=({sectionId:e,paymentDetails:i,allPaymentMethods:a,paymentToOptions:s,withdrawFromList:h,internationalVerificationStatus:p,fileProps:l,receiptFile:P,deleteFileStatusById:I,updateFileStatusById:
|
|
41
|
+
`,T={containerWidth:new f(343,580,726),labelWidth:new f(120,160,160),largeLabelWidth:new f(150,228,228),largeLabelPickerWidth:new f(100,180,180),paddingBottom:new f(u[3],u[2]),labelMarginLeftPicker:new f(u[3],u[4]),labelMarginRightPicker:new f(u[3],u[4]),labelMarginTopPicker:new f(u[2],u[2]),labeledFieldPaddingLeft:new f(u[0],u[0]),labeledFieldPaddingRight:new f(u[2],u[2]),labeledFieldPaddingTop:new f(u[2],u[2]),labeledFieldPaddingBottom:new f(u[2],u[2]),infoLabelPaddingRight:new f(u[0],u[3]),infoLabelMarginTop:new f(u[1],u[0])},V=(e,i)=>`${e}.${i}`,Ft=({sectionId:e,paymentDetails:i,allPaymentMethods:a,paymentToOptions:s,withdrawFromList:h,internationalVerificationStatus:p,fileProps:l,receiptFile:P,deleteFileStatusById:I,updateFileStatusById:x,onClickAddAccount:w})=>{const o=G(),{spendManagement:F,dateFormat:y,common:C}=H.getLocalizedStrings(),$=F.billPay.billDetails,Z=y.visual.defaultInput,re=F.zeniAccounts.expressPay,de=C.documents,_=T.largeLabelWidth.value(o),[g,K]=J.useState(!1),q=a.filter(r=>r.method.includes(i?.withdrawFrom?.accType??"depositAccount")&&r.method.includes(bt)===!1),O=r=>s.find(m=>m.id===r),L=r=>ze(O(r)),se=()=>{let r=[];return i?.paymentType?.method.includes("wire")===!0?r=s.filter(m=>!!m.bankRoutingNumberWireTransfer).map(m=>m.id):r=s.filter(m=>!!m.bankRoutingNumberAch).map(m=>m.id),r},ce=r=>{const m=O(r),j=H.getLocalizedStrings().spendManagement.billPay;return i?.paymentType?.method.includes("ach")===!0?t.jsxs(fe,{children:[t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.achDetails.bankRoutingNumber}),t.jsx(E,{children:m?.bankRoutingNumberAch??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.achDetails.bankName}),t.jsx(E,{children:m?.bankName??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.achDetails.bankAccountNumber}),t.jsx(E,{children:m?.bankAccountNumber??j.vendorCreation.emptyPlaceholderString})]})]}):i?.paymentType?.method.includes("wire")===!0?i.paymentType?.method.includes("international")===!0?t.jsx(fe,{children:m?.piLabels.map(U=>t.jsxs(W,{children:[t.jsxs(z,{children:[U.name,j.paymentDetails.colon]}),t.jsx(E,{children:U.value})]},U.name))}):t.jsxs(fe,{children:[t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.wireDetails.bankRoutingNumber}),t.jsx(E,{children:m?.bankRoutingNumberWireTransfer??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.achDetails.bankName}),t.jsx(E,{children:m?.bankName??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.wireDetails.accountNumber}),t.jsx(E,{children:m?.bankAccountNumber??j.vendorCreation.emptyPlaceholderString})]})]}):""};return t.jsxs(t.Fragment,{children:[t.jsx(Ot,{children:$.paymentDetailsTitle}),t.jsxs(At,{windowSize:o,children:[t.jsx(st,{label:{label:$.withdrawFrom,width:_,style:{marginLeft:T.labelMarginLeftPicker.valuePx(o),marginTop:T.labelMarginTopPicker.valuePx(o),marginRight:T.labelMarginRightPicker.valuePx(o),width:T.largeLabelPickerWidth.value(o)}},style:{paddingTop:T.labeledFieldPaddingTop.valuePx(o),paddingBottom:T.labeledFieldPaddingBottom.valuePx(o),paddingLeft:T.labeledFieldPaddingLeft.valuePx(o),paddingRight:T.labeledFieldPaddingRight.valuePx(o),border:"none",width:"auto",display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:T.infoLabelPaddingRight.valuePx(o),marginTop:T.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:V(e,"withdrawFrom"),placeholder:Oe($.withdrawFrom),style:{position:"relative"},capitalizeOptions:!0,isOptionRemovable:!1,showTickIcon:!1,valueToLogo:(r,m)=>pt(h,r,m),valueToSubLabels:(r,m)=>ct(h,r,m,!1),defaultValue:{selectedOption:i?.withdrawFrom?.id,allOptions:h.map(r=>({label:r.label,value:r.id}))},textAlignment:"right",registerOptions:{required:!0,validate:r=>r!=null&&!!r.selectedOption}}}),t.jsx(Y,{}),t.jsx(mt,{showAdditionalInfoLabel:!1,label:{label:$.amount,width:_},formattedTextField:{type:"number",name:V(e,"amount"),defaultValue:i?.recipientAmount??0,placeholder:Oe($.amount),returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:r=>r!=null&&r!==0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,shouldHighlightZeroAmount:!0},style:{width:"auto"}}),t.jsx(Y,{}),t.jsx(ut,{label:{label:$.paymentMethod,width:T.labelWidth.value(o)},style:{width:"auto"},disableOutline:!0,paymentSingleSelectField:{name:V(e,"paymentMethod"),placeholder:$.billTypeMethodPlaceholder,defaultValue:i?.paymentType,allPaymentMethods:q,isAdmin:!0,internationalVerificationStatus:p,registerOptions:{required:!0,validate:r=>r!=null},onInternationalWireVerifyClick:()=>{}}}),t.jsx(Y,{}),t.jsx(ht,{label:{label:$.paymentDate,width:T.labelWidth.value(o)},style:{paddingBottom:T.paddingBottom.valuePx(o),width:"auto"},dateField:{name:V(e,"paymentDate"),placeholder:$.paymentDate,dateFormat:Z,autoComplete:"off",minDate:le(),registerOptions:{required:!0}}}),t.jsx(Y,{}),t.jsx(Ve,{label:{label:$.paymentTo,width:_},style:{width:"auto"},isFunctional:!0,singleSelectField:{singleSelect:{name:V(e,"paymentTo"),placeholder:$.selectAccount,getTooltipInfo:ce,menuPlacement:"top",maxMenuHeight:308,isOptionRemovable:!1,showEyeIconOnSelect:!1,showVerifiedIcon:!0,onClickCreateBankAccount:w,showAddBankAccountOption:!0,showCollectPaymentDetailsOption:!1,getLabelForId:L},defaultValue:{selectedOption:i?.paymentType!=null?i?.paymentTo?.id:"",allOptions:i?.paymentType!=null?se():[]},registerOptions:{required:!0,validate:r=>r?.selectedOption!=null}}}),t.jsx(Y,{}),t.jsx(vt,{name:V(e,"receipt"),sizeLimit:yt,deleteFileStatusById:I,updateFileStatusById:x,filesEndPoint:l.filesEndPoint,authParams:l.authParams,label:{label:re.reciept,width:_},filemetadataPayload:{documentType:"id_document",purposeId:"business_verification_others",documentSide:"front"},file:P,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:g,updateFilesEntity:l.updateFilesEntity,onEditFileName:l.onEditFileName,onDeleteFile:l.onDeleteFile,onFileSizeError:r=>K(r),isOptional:!0,style:P!=null?{borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"}:void 0},V(e,"receipt")),P==null?t.jsx(kt,{windowSize:o,isError:g,children:de.formatDocumentText10MB}):null,t.jsx(Y,{})]})]})},Ot=d(be)`
|
|
42
42
|
color: ${e=>e.theme.colors.primary};
|
|
43
43
|
margin-bottom: ${n.sp3};
|
|
44
44
|
`,At=d.div`
|
|
@@ -73,13 +73,13 @@ import{y as Re,J as G,F as H,a9 as et,aR as Fe,cH as tt,V as t,bD as it,ad as at
|
|
|
73
73
|
display: flex;
|
|
74
74
|
justify-content: space-between;
|
|
75
75
|
width: 100%;
|
|
76
|
-
`,kt=d(
|
|
76
|
+
`,kt=d(xt)`
|
|
77
77
|
padding: ${n.sp1} ${n.sp4};
|
|
78
78
|
background: ${e=>e.theme.colors.grey4};
|
|
79
79
|
border-radius: ${n.sp0} ${n.sp0} ${n.sp2} ${n.sp2};
|
|
80
80
|
text-align: ${e=>e.windowSize==="small"?"initial":"right"};
|
|
81
81
|
color: ${e=>e.isError?Ee.important:e.theme.colors.grey1};
|
|
82
|
-
`,Lt={largeLabelWidth:new f(150,210,210)},ie=(e,i)=>`${e}.${i}`,Nt=({sectionId:e,vendorTypeList:i,formLocalData:a,vendorSearchAutoCompleteData:s,vendorSearchAutoCompleteActions:h})=>{const p=G(),l=H.getLocalizedStrings().spendManagement.zeniAccounts.expressPay,P=Lt.largeLabelWidth.value(p),I=J.useRef();J.useEffect(()=>{s?.entityAutoCompleteView.fetchState==="Completed"&&I.current?.(Mt(s?.entityAutoCompleteView))},[s?.entityAutoCompleteView.fetchState]);const
|
|
82
|
+
`,Lt={largeLabelWidth:new f(150,210,210)},ie=(e,i)=>`${e}.${i}`,Nt=({sectionId:e,vendorTypeList:i,formLocalData:a,vendorSearchAutoCompleteData:s,vendorSearchAutoCompleteActions:h})=>{const p=G(),l=H.getLocalizedStrings().spendManagement.zeniAccounts.expressPay,P=Lt.largeLabelWidth.value(p),I=J.useRef();J.useEffect(()=>{s?.entityAutoCompleteView.fetchState==="Completed"&&I.current?.(Mt(s?.entityAutoCompleteView))},[s?.entityAutoCompleteView.fetchState]);const x={vendorSearchAutoCompleteData:s,loadOptions:(y,C)=>{h?.onAutoCompleteInputChange?.(y,"vendor"),I.current=C}},w=x?.vendorSearchAutoCompleteData?.autoCompleteText!=null&&(x?.vendorSearchAutoCompleteData?.entityAutoCompleteView.fetchState==="In-Progress"||x?.vendorSearchAutoCompleteData?.entityAutoCompleteView.fetchState==="Not-Started"),o={defaultOptions:qe(a?.vendorId,a?.vendorName,s?.entityAutoCompleteView),selectedOption:a?.vendorId??a?.vendorName??""},F={valueContainer:y=>({...y,padding:`2px ${p==="small"?n.sp2:n.sp3} !important`,overflow:"unset"}),singleValue:y=>({...y,margin:0}),placeholder:y=>({...y,fontWeight:"normal"})};return t.jsxs(t.Fragment,{children:[t.jsx(Bt,{children:l.recipientSectionTitle}),t.jsx(Rt,{children:t.jsxs(Vt,{children:[t.jsx(rt,{label:{label:l.recipientName,width:P},addIconInCreateLabel:!0,autoCompleteSingleSelectField:{name:ie(e,"recipient"),placeholder:p==="small"?l.placeholders.recipientNameMobile:l.placeholders.recipientName,valueToId:y=>y,defaultValue:{...o},style:{width:"100%"},customStyleConfig:F,registerOptions:{required:!0,validate:y=>y!=null&&!!y.selectedOption},loadOptions:x?.loadOptions,isOptionsLoading:w,makeCreateOptionSticky:!0,entity:"recipient"},style:{justifyContent:"space-between"},fullWidthSelect:!0},ie(e,"recipient")),t.jsx(Ne,{}),t.jsx(Ve,{label:{label:l.recipientType,width:P},singleSelectField:{singleSelect:{name:ie(e,"recipientType"),placeholder:l.placeholders.recipientType,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:y=>i.find(C=>C.code===y)?.name??"",showTickMark:!1,maxMenuHeight:250},defaultValue:{selectedOption:a?.vendorType,allOptions:i.map(y=>y.code)},registerOptions:{required:!0,validate:y=>!!y.selectedOption}},isFunctional:!0}),t.jsx(Ne,{}),t.jsx(dt,{showAdditionalInfoLabel:!1,label:{label:l.recipientEmail,width:P},text:{type:"email",name:ie(e,"recipientEmail"),placeholder:l.placeholders.recipientEmail,options:{required:!0}},style:{borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"}})]})})]})},qe=(e,i,a)=>{if(e==null)return[];const s=a?.vendor?.find(h=>h.id===e);return s!=null||e!=null?[{label:s?.name??i??e??"",value:e??i??""}]:[]},Mt=e=>e?.vendor.map(i=>({label:i.name,value:i.zeniId,zeniId:i.zeniId}))??[],Bt=d(be)`
|
|
83
83
|
color: ${e=>e.theme.colors.primary};
|
|
84
84
|
margin-bottom: ${n.sp3};
|
|
85
85
|
`,Rt=d.div`
|
|
@@ -98,7 +98,7 @@ import{y as Re,J as G,F as H,a9 as et,aR as Fe,cH as tt,V as t,bD as it,ad as at
|
|
|
98
98
|
background-color: ${e=>e.theme.colors.grey3};
|
|
99
99
|
min-height: 1px;
|
|
100
100
|
max-height: 1px;
|
|
101
|
-
`,oe={containerWidth:new f(343,580,726),largeLabelWidth:new f(150,215,215),reviewContainerMarginLeft:new f(u[3],u[6]),reviewContainerMarginRight:new f(u[3],u[8])},zt=({vendorName:e,reviewDetails:i,paymentToOptions:a,style:s})=>{const h=G(),p=oe.largeLabelWidth.value(h),{billPay:l}=H.getLocalizedStrings().spendManagement,{dateFormat:P,common:I}=H.getLocalizedStrings(),
|
|
101
|
+
`,oe={containerWidth:new f(343,580,726),largeLabelWidth:new f(150,215,215),reviewContainerMarginLeft:new f(u[3],u[6]),reviewContainerMarginRight:new f(u[3],u[8])},zt=({vendorName:e,reviewDetails:i,paymentToOptions:a,style:s})=>{const h=G(),p=oe.largeLabelWidth.value(h),{billPay:l}=H.getLocalizedStrings().spendManagement,{dateFormat:P,common:I}=H.getLocalizedStrings(),x=l.billDetails,w=i?.paymentType,o=P.visual.MMMDCommaYYYYformat,F={amount:i?.amount?.amount??0,currencyCode:I.currency.currencyCode,currencySymbol:I.currency.currencySymbol},y=ze(a.find(Z=>Z.id===i?.paymentToAccountId)),C=i?.paymentDate,$=Ae(w?.method??"");return t.jsx(Ut,{children:t.jsxs(Yt,{windowSize:h,style:s,children:[t.jsxs(Zt,{children:[t.jsx(ae,{children:x.pay}),t.jsx(ae,{children:t.jsx(ke,{amount:F,integerStyles:ge.largeSemiBold.cssObject})}),t.jsx(ae,{children:x.to}),t.jsx(ae,{children:e})]}),t.jsxs(Jt,{windowSize:h,children:[t.jsx(te,{label:{label:x.withdrawFrom,width:p},style:{width:"auto",gap:u[3]},value:i?.withdrawFrom!=null?gt(i.withdrawFrom,h):I.strings.empty}),t.jsx(xe,{}),t.jsx(te,{label:{label:x.paymentMethod,width:p},style:{width:"auto"},value:Ae(w?.method??"")}),t.jsx(xe,{}),C!=null?t.jsxs(t.Fragment,{children:[t.jsx(te,{label:{label:x.paymentDate,width:p},style:{width:"auto"},value:C.format(o),additionalInfoLabel:`${x.estimatedArrival}${He(_e(C.toDate(),[0,6],w?.maxPeriod.value??0).toDateString()).format(o)} - (${$.length>0?`${$} `:""}${x.deliveryTimeLabel} = ${w?.maxPeriod.value??"0"} ${x.deliveryTimeUnits})`}),t.jsx(xe,{})]}):null,t.jsx(te,{label:{label:x.paymentTo,width:p},style:{width:"auto"},value:y??""})]}),t.jsx(Wt,{children:t.jsxs(Ht,{windowSize:h,children:[t.jsx(_t,{children:t.jsx(Et,{children:l.paymentDetails.total})}),t.jsx(qt,{children:t.jsx(ke,{amount:wt(F.amount,F.currencyCode,F.currencySymbol),integerStyles:ge.h6Medium.cssObject,decimalStyles:ge.standardMedium.cssObject})})]})})]})})},Et=d.div``,Wt=d.div`
|
|
102
102
|
display: flex;
|
|
103
103
|
width: 100%;
|
|
104
104
|
box-sizing: border-box;
|
|
@@ -145,7 +145,7 @@ import{y as Re,J as G,F as H,a9 as et,aR as Fe,cH as tt,V as t,bD as it,ad as at
|
|
|
145
145
|
margin-bottom: ${n.sp3};
|
|
146
146
|
margin-top: ${n.sp3};
|
|
147
147
|
width: ${e=>oe.containerWidth.valuePx(e.windowSize)};
|
|
148
|
-
`,
|
|
148
|
+
`,xe=d.div`
|
|
149
149
|
display: flex;
|
|
150
150
|
flex: 1;
|
|
151
151
|
background-color: ${e=>e.theme.colors.grey3};
|
|
@@ -153,11 +153,11 @@ import{y as Re,J as G,F as H,a9 as et,aR as Fe,cH as tt,V as t,bD as it,ad as at
|
|
|
153
153
|
max-height: 1px;
|
|
154
154
|
`,Zt=d.div`
|
|
155
155
|
display: flex;
|
|
156
|
-
`,ae=d(
|
|
156
|
+
`,ae=d(be)`
|
|
157
157
|
display: flex;
|
|
158
158
|
color: ${e=>e.theme.colors.primary};
|
|
159
159
|
margin-right: ${n.sp1};
|
|
160
|
-
`,Me="expressPayPage",Kt=e=>`${e}_form`,k="recipientDetails",D="paymentDetails",ne={buttonWidth:new f(160,140),largeButtonWidth:new f(166,166)},mi=({expressPayDetails:e,fileProps:i,analytics:a,accountId:s,onClickAddAccount:h,onSaveVendor:p,onVendorSelected:l,updateSelectedVendorForCreate:P,onBackClick:I,saveVendorDetailLocalData:
|
|
160
|
+
`,Me="expressPayPage",Kt=e=>`${e}_form`,k="recipientDetails",D="paymentDetails",ne={buttonWidth:new f(160,140),largeButtonWidth:new f(166,166)},mi=({expressPayDetails:e,fileProps:i,analytics:a,accountId:s,onClickAddAccount:h,onSaveVendor:p,onVendorSelected:l,updateSelectedVendorForCreate:P,onBackClick:I,saveVendorDetailLocalData:x,saveExpressPayLocalData:w,resetVendorSaveStatus:o,onSchedulePayment:F,initializeVendorAddress:y,vendorSearchAutoCompleteData:C,vendorSearchAutoCompleteActions:$,onEditFileName:Z,onDeleteFile:re,updateFilesEntity:de})=>{const{vendorViewDetails:_,expressPayLocalData:g,vendorTypeList:K,allPaymentMethods:q,paymentToOptions:O,withdrawFromList:L,internationalWireOnboardingStatus:se,deleteFileStatusById:ce,updateFileStatusById:r,submitStatus:m,receiptFile:j,vendorSaveStatus:U}=e,[v,Q]=J.useState(0),Ue=Re(),X=G(),{common:we,spendManagement:Ye}=H.getLocalizedStrings(),pe=we.footer,ve=we.currency,me=Ye.zeniAccounts.expressPay,{editVendorState:Se,newVendorState:je}=_,N=g?.vendorId!=null?Se?.vendorDetailLocalData:je?.vendorDetailLocalData,Ce=Object.assign({},Se??je),Je=N?.vendorName,$e=L.find(c=>c.id===s),ee=et({mode:"onBlur",reValidateMode:"onChange",defaultValues:Be(K,L,O,$e,q,N,g,j,C?.entityAutoCompleteView),values:Be(K,L,O,$e,q,N,g,j,C?.entityAutoCompleteView)}),Ie=Fe(Ce.saveStatus?.fetchState),Te=Fe(m);J.useEffect(()=>{const c=ee.watch((S,{name:b})=>{b!=null&&S!=null&&tt(()=>Ze(b,S))});return()=>{c.unsubscribe()}}),J.useEffect(()=>{Ie==="In-Progress"&&U==="Completed"&&(v===0?(Q(1),o?.(g?.vendorId)):v===1&&Q(2)),Te==="In-Progress"&&m==="Completed"&&I(g?.vendorId)},[Ie,U,v,o,g?.vendorId,Te,m,I]);const Ze=async(c,S)=>{if(c!=="recipientDetails.recipientEmail")if(c==="recipientDetails.recipient"){const b=S[k].recipient.selectedOption,A=C?.entityAutoCompleteView.vendor.find(M=>M.zeniId===b);Ke(S),y(),N?.vendorId!==b&&A!=null&&(l?.(b),he(S,!1,O,b))}else if(c.includes("recipient"))ue(S);else{const b=S[D].paymentMethod?.method,A=g?.paymentType?.method,M=b!=null&&A!=null&&(b.toLowerCase().includes("ach")&&A.toLowerCase().includes("wire")||b.toLowerCase().includes("wire")&&A.toLowerCase().includes("ach"));he(S,M,O,g?.vendorId)}},Ke=c=>{const S=c[k].recipient.selectedOption,b=C?.entityAutoCompleteView.vendor.find(A=>A.id===S)!=null;if(S!=null&&b===!0){P?.(S),he(c,!1,O,S);return}ue(c,!0)},ue=(c,S)=>{const b=N?.vendorId,A=C?.entityAutoCompleteView.vendor.find(ye=>ye.zeniId===b)!=null,M=Xt(c,A===!0?b:void 0,N,S);x?.(M,b)},he=(c,S,b,A)=>{const M=(()=>{let B=[];return c[D].paymentMethod?.method.includes("wire")===!0?B=b.filter(R=>!!R.bankRoutingNumberWireTransfer).map(R=>R.id):B=b.filter(R=>!!R.bankRoutingNumberAch).map(R=>R.id),B})(),ye=b.find(B=>B.id===c[D]?.paymentTo?.selectedOption),Qe={vendorId:A,amount:{amount:c[D].amount,currencyCode:ve.currencyCode,currencySymbol:ve.currencySymbol},paymentDate:c[D].paymentDate?He(c[D].paymentDate.toString()):le(),paymentType:c[D]?.paymentMethod!=null?c[D]?.paymentMethod:void 0,paymentToAccountId:S?M[0]:ye?.id,withdrawFrom:L.find(B=>B.id===c[D]?.withdrawFrom?.selectedOption),receiptFileId:c[D].receipt?.fileId};w?.(Qe)},Pe=ee.handleSubmit(()=>{if(v===0||v===1){a.trackExpressPayNextClick(v===0?"Recipient Details":"Payment Details");const c=ee.getValues();ue(c),p(g?.vendorId)}else a.trackExpressPayScheduleClick(),F()}),Xe=()=>{v===2?Q(1):I(g?.vendorId)},Ge=()=>{v===0?I(g?.vendorId):Q(v===1?0:1)},De={withdrawFrom:g?.withdrawFrom,paymentTo:g?.paymentToAccountId!=null?O.find(c=>c.id===g?.paymentToAccountId):void 0,paymentDate:g?.paymentDate,paymentType:g?.paymentType??q?.[0],recipientAmount:g?.amount?.amount};return t.jsxs(t.Fragment,{children:[t.jsx(it,{title:me.pageTitle,onBackClick:Ge,backgroundColor:Ue.colors.grey4,hideSearchBtn:!0,source:"ExpressPayPage"}),t.jsxs(Gt,{windowSize:X,children:[t.jsx(jt,{pageIndex:v}),t.jsx(at,{...ee,children:t.jsx("form",{id:Me,onSubmit:Pe,children:v===0?t.jsx(Nt,{sectionId:k,vendorTypeList:K,formLocalData:N,vendorSearchAutoCompleteData:C,vendorSearchAutoCompleteActions:$}):v===1?t.jsx(Ft,{sectionId:D,paymentDetails:De,paymentToOptions:O,allPaymentMethods:q,withdrawFromList:L,internationalVerificationStatus:se,fileProps:{...i,onEditFileName:Z,onDeleteFile:re,updateFilesEntity:de},deleteFileStatusById:ce,updateFileStatusById:r,receiptFile:j,onClickAddAccount:()=>{const c=De?.paymentType;c!=null&&h(c)}}):v===2?t.jsx(zt,{reviewDetails:g,paymentToOptions:O,vendorName:Je}):null})})]}),t.jsx(nt,{formId:Kt(Me),style:{width:"100%"},primaryBtn:{label:v===2?le().isSame(g?.paymentDate,"date")?me.sendMoney:me.schedulePayment:pe.next,isLoading:v===0||v===1?Ce.saveStatus?.fetchState==="In-Progress":m==="In-Progress",style:{width:v===2?ne.largeButtonWidth.value(X):ne.buttonWidth.value(X),whiteSpace:"nowrap"},isDisabled:!1,onClick:()=>{Pe()}},cancelBtn:{label:v===2?pe.edit:pe.cancel,style:{width:v===2?ne.largeButtonWidth.value(X):ne.buttonWidth.value(X),whiteSpace:"nowrap"},shouldResetOnCancel:!1,onClick:Xe}})]})},Be=(e,i,a,s,h,p,l,P,I)=>{const x=(()=>{let w=[];return l?.paymentType?.method.includes("wire")===!0?w=a.filter(o=>!!o.bankRoutingNumberWireTransfer).map(o=>o.id):w=a.filter(o=>!!o.bankRoutingNumberAch).map(o=>o.id),w})();return{[k]:{recipient:{defaultOptions:qe(p?.vendorId,p?.vendorName,I),selectedOption:p?.vendorId??p?.vendorName??""},recipientEmail:p?.contacts?.[0]?.email??"",recipientName:p?.vendorName??"",recipientType:{allOptions:e.map(w=>w.code),selectedOption:p?.vendorType}},[D]:{paymentMethod:l?.paymentType??h?.[0],withdrawFrom:{selectedOption:l?.withdrawFrom?.id??s?.id??i[0]?.id,allOptions:i.map(w=>({label:w.label,value:w.id}))},amount:l?.amount.amount??0,paymentDate:l?.paymentDate?.toDate()??_e(le().toDate(),[0,6],0),paymentTo:{allOptions:l?.paymentType!=null?x:[],selectedOption:l?.paymentToAccountId??x[0]},receipt:P}}};function Xt(e,i,a,s){const h=e[k].recipient.defaultOptions.find(p=>p.value===e[k].recipient.selectedOption);return{vendorType:s===!0?void 0:e[k].recipientType.selectedOption,vendorId:i,vendorName:h?.label??a?.vendorName,contacts:s===!0?[]:[{fullName:"",email:e[k].recipientEmail,phone:""}],bankAccountIds:s===!0?[]:a?.bankAccountIds??[],paymentInstrumentIds:s===!0?[]:a?.paymentInstrumentIds??[],vendorOwner:s===!0?void 0:a?.vendorOwner,isVendor1099:a?.isVendor1099,documentIds:a?.documentIds??[],fileIdsToBeDeleted:a?.fileIdsToBeDeleted??[],countryCode:s===!0?void 0:a?.countryCode,currencyCode:a?.currencyCode,currencySymbol:s===!0?void 0:a?.currencySymbol,deleteFileStatusById:a?.deleteFileStatusById??{},updateFileStatusById:a?.updateFileStatusById??{},recommendedCategory:a?.recommendedCategory,recommendedClass:a?.recommendedClass,isCategoryUpdateSelected:a?.isCategoryUpdateSelected??!1,isClassUpdateSelected:a?.isClassUpdateSelected??!1,isCategoryRecommendationPrefilled:a?.isCategoryRecommendationPrefilled??!0,isClassRecommendationPrefilled:a?.isClassRecommendationPrefilled??!0}}const Gt=d.div`
|
|
161
161
|
display: flex;
|
|
162
162
|
flex-wrap: wrap;
|
|
163
163
|
height: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as _,J as w,F as y,aW as n,p as r,V as i,cr as v,x as p,cs as k,ct as x,u as g}from"./index-
|
|
1
|
+
import{y as _,J as w,F as y,aW as n,p as r,V as i,cr as v,x as p,cs as k,ct as x,u as g}from"./index-Dw_MX6AZ.js";import{n as d}from"./mui-DdxImnN0.js";import"./sentry-DBSEoG3b.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./zeni-epic-state-1oOVJQJ4.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="943015fe-7cf5-4317-9edd-21a1073e5bc9",e._sentryDebugIdIdentifier="sentry-dbid-943015fe-7cf5-4317-9edd-21a1073e5bc9")}catch{}})();const t={popupWidth:new p(200,468,468,468),buttonWidth:new p(140,160,160,160),popupContainerLeft:new p(g[0],g[0],255),popupContainerWidth:new p(100,100,85)},z=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
min-height: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as H,V as l,F as Y,cL as _,ex as G,y as ee,cQ as Q,x as L,gk as Z,o as i,ab as M,ep as ce,aF as le,gc as pe,gd as ue,i as he,p as u,u as g,gI as ge,d0 as be,eG as ye,ap as ve,bI as we,w as W,dn as $e,bJ as fe,bH as ke}from"./index-
|
|
1
|
+
import{J as H,V as l,F as Y,cL as _,ex as G,y as ee,cQ as Q,x as L,gk as Z,o as i,ab as M,ep as ce,aF as le,gc as pe,gd as ue,i as he,p as u,u as g,gI as ge,d0 as be,eG as ye,ap as ve,bI as we,w as W,dn as $e,bJ as fe,bH as ke}from"./index-Dw_MX6AZ.js";import{n as d}from"./mui-DdxImnN0.js";import{a as V}from"./sentry-DBSEoG3b.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="8f1cb374-f867-4ac6-8b8b-2d1b6483b5e3",e._sentryDebugIdIdentifier="sentry-dbid-8f1cb374-f867-4ac6-8b8b-2d1b6483b5e3")}catch{}})();const v={width:new L(343,580,726),height:new L(g[6],g[6]),controlHeight:new L(g[6],g[6]),paddingLeftRight:new L(g[3],g[4]),paddingTop:new L(g[3],g[3]),paddingBottom:new L(g[3],g[2]),labelMarginRight:new L(g[3],g[4])};function je({isDisabled:e,label:s,firstText:t,secondText:p,style:$,isFieldError:k}){const f=H(),{formState:{errors:j}}=_(),m=G(j,t.name),T=G(j,p.name),r=ee();return l.jsxs(Te,{size:f,style:$,isDisabled:e!=null,isErrorFirstText:m,isErrorSecondText:T,"data-testid":M("labeled-multi-text-field",t.name),children:[l.jsx(Q,{isDisabled:e,label:s.label,style:{marginRight:v.labelMarginRight.value(f),width:s.width??"auto",color:r.colors.champion}}),l.jsxs(Oe,{labelWidth:s.width,children:[l.jsxs(ie,{className:"firstField",isDisabled:t.isDisabled,children:[l.jsx(Z,{type:t.type,name:t.name,placeholder:t.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:t.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:t.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),t.additionalInfoLabel&&t.isDisabled||m&&t.additionalErrorLabel?l.jsx(oe,{isError:m,children:m?t.additionalErrorLabel:t.additionalInfoLabel}):null]}),p.hideField?null:l.jsxs(l.Fragment,{children:[l.jsxs(Ie,{children:[l.jsx(se,{}),l.jsx(Le,{}),l.jsx(se,{})]}),l.jsxs(ie,{className:"secondField",isDisabled:p.isDisabled,children:[l.jsx(Z,{type:p.type,name:p.name,placeholder:p.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:p.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:p.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),l.jsx(oe,{isError:T,children:p.additionalInfoLabel})]})]})]})]})}const Te=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: flex-start;
|
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
import{y as Ke,J as Q,a9 as _e,az as Ee,cH as Qe,V as t,ab as V,bD as Je,ad as Ye,cp as Me,o,i as ye,F as ue,bP as Xe,cn as Ze,b4 as et,dq as tt,cv as lt,aa as ot,k as at,d1 as it,bG as De,aU as nt,x as z,bQ as se,u as $,co as Ce,aj as we,cB as rt,cE as st,cL as dt,dl as je,d3 as me,bU as _,eB as ke,ap as ct,io as ht,am as mt,bi as gt,ik as pt,ip as Oe,cj as ut,bu as wt,p as We,iq as bt}from"./index-Dw_MX6AZ.js";import{a as j}from"./sentry-DBSEoG3b.js";import{n as r,c as Se}from"./mui-DdxImnN0.js";import{c4 as xt,G9 as vt}from"./zeni-epic-state-1oOVJQJ4.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="48192ab9-4fea-403f-be98-e19d75fbf80d",e._sentryDebugIdIdentifier="sentry-dbid-48192ab9-4fea-403f-be98-e19d75fbf80d")}catch{}})();const Re="recommendedFirst",Ne="recommendedSecond",U="currentSelection",ve="originalVendor",ge="requested",de=(e,l)=>`${e}.${l}`,ce=(e,l,i)=>i!=null?`${e}.${l}.${i}`:`${e}.${l}`;function ft(e){const l=Q(),{button:{label:i,onClick:a},search:{isOpen:u,placeHolder:g,searchText:b,onTextChange:f},newVendorButtonDataTestId:d,searchBarDataTestId:h}=e;return t.jsxs(yt,{children:[t.jsx(jt,{isSearchOpen:u&&l==="small",windowsize:l,children:l!=="small"?t.jsx(Me,{placeholder:g,searchBarDataTestId:h,searchText:b,style:{position:"absolute",left:"unset",right:o.sp0},onSearchTextChanged:f}):null}),l==="small"?t.jsx(Me,{keepSearchBoxOpen:!0,placeholder:g,searchBarDataTestId:h,searchText:b,style:{position:"absolute",left:"5px",right:"unset",top:"44px",width:"98%"},onSearchTextChanged:f}):null,l==="small"?t.jsx(St,{"data-testid":d,style:{marginLeft:o.sp5}}):t.jsx(ye,{dataTestId:d,label:i,onClick:a,size:"small",style:{marginLeft:o.sp3},variant:"primary"})]})}const yt=r.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: row;
|
|
4
|
+
padding-right: ${o.sp0};
|
|
5
|
+
`,jt=r.div`
|
|
6
|
+
display: flex;
|
|
7
|
+
justify-content: flex-end;
|
|
8
|
+
position: relative;
|
|
9
|
+
align-items: center;
|
|
10
|
+
width: ${e=>e.isSearchOpen?"100%":"unset"};
|
|
11
|
+
`,St=r(it)`
|
|
12
|
+
height: ${o.sp4};
|
|
13
|
+
width: ${o.sp4};
|
|
14
|
+
color: ${e=>e.theme.colors.hero};
|
|
15
|
+
`,$t=r.div`
|
|
16
|
+
display: flex;
|
|
17
|
+
align-items: center;
|
|
18
|
+
justify-content: center;
|
|
19
|
+
`,It=r(gt)`
|
|
20
|
+
color: ${e=>e.theme.colors.brandColorJade};
|
|
21
|
+
width: ${o.sp3};
|
|
22
|
+
height: ${o.sp3};
|
|
23
|
+
`,{headers:be,strings:Mt}=ue.getLocalizedStrings().common,Ct={key:"tenants",value:be.tenants,sortOrder:"ascending",width:new z(15,15)},kt={key:"requestedVendor",value:be.requestedVendor,sortOrder:"ascending",width:new z(28,28)},Rt={key:"originalVendor",value:be.originalVendor,sortOrder:"ascending",width:new z(15,15)},Nt={key:"recommended",value:be.recommended,sortOrder:"ascending",width:new z(30,30),icon:t.jsx($t,{children:t.jsx(It,{})})},Vt={key:"action",value:Mt.empty,sortOrder:"ascending",width:new z(12,12)},A=[Ct,Rt,Nt,kt,Vt],fe={sortKey:"tenants",sortOrder:"ascending"},Gt=88,Fe=53,Lt=1,zt=["action"],Ve=e=>xt(e,zt),He=({sortConfig:e,isDisabled:l,onColumnSortConfigChanged:i})=>{const a=Q(),[u,g]=j.useState(A);j.useEffect(()=>{const d=[...u];for(const h of d)h.key===e.sortKey?h.sortOrder=e.sortOrder:h.sortOrder="ascending";g(d)},[e.sortKey,e.sortOrder]);const b=(d,h)=>{let x=h;e.sortKey===d&&(x=h==="ascending"?"descending":"ascending"),i?.(d,x)},f=d=>{Ve(d.key)==null&&b(vt(d.key),d.sortOrder)};return t.jsx(At,{windowSize:a,children:u.map(d=>{const h=l!=null||Ve(d.key)!=null;return t.jsxs(Tt,{"data-testid":V("global-review-list-column-header",d.key),sortDataValue:e.sortKey,actualDataValue:d.key,wrapperWidth:d.width,isSortDisabled:h,windowSize:a,children:[t.jsxs(Ft,{onClick:()=>h?null:f(d),isSortDisabled:h,"data-testid":V("global-review-list-header-name-wrapper",d.value),children:[d.icon,t.jsx(Ht,{children:d.value}),h?null:t.jsx(Dt,{sortConfig:e,headerdata:d,children:t.jsx(Wt,{})})]}),h?null:t.jsx(Ot,{isSortDisabled:h,sortDataValue:e.sortKey,isVisible:e.sortKey===d.key&&e.sortKey!==fe.sortKey,children:t.jsx(Pt,{onClick:()=>{h||b(fe.sortKey,fe.sortOrder)},"data-testid":V("global-review-list-header-close-icon",d.value)})})]},d.key)})})},At=r.div`
|
|
24
|
+
top: ${o.sp0};
|
|
25
|
+
left: ${o.sp0};
|
|
26
|
+
height: ${Fe}px;
|
|
27
|
+
z-index: 2;
|
|
28
|
+
display: flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
justify-content: space-between;
|
|
31
|
+
box-sizing: border-box;
|
|
32
|
+
padding: ${o.sp0} ${o.sp4};
|
|
33
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
34
|
+
position: sticky;
|
|
35
|
+
margin: ${o.sp0} ${o.sp8};
|
|
36
|
+
`,Tt=r.div`
|
|
37
|
+
color: ${e=>e.sortDataValue===e.actualDataValue&&!e.isSortDisabled?e.theme.colors.primary:e.theme.colors.grey1};
|
|
38
|
+
|
|
39
|
+
width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
40
|
+
max-width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
41
|
+
padding-left: ${o.sp0};
|
|
42
|
+
left: ${o.sp0};
|
|
43
|
+
display: flex;
|
|
44
|
+
align-items: center;
|
|
45
|
+
gap: 6px;
|
|
46
|
+
justify-content: flex-start;
|
|
47
|
+
position: static;
|
|
48
|
+
z-index: 0;
|
|
49
|
+
box-sizing: border-box;
|
|
50
|
+
`,Pt=r(st)`
|
|
51
|
+
width: 12px;
|
|
52
|
+
height: 12px;
|
|
53
|
+
`,Dt=r.div`
|
|
54
|
+
display: flex;
|
|
55
|
+
align-items: center;
|
|
56
|
+
transform: ${e=>e.headerdata.sortOrder==="descending"?"rotate(180deg)":"rotate(0deg)"};
|
|
57
|
+
${e=>e.headerdata.sortOrder==="ascending"?"padding-top: 2px":"padding-bottom: 2px"};
|
|
58
|
+
`,Ot=r.div`
|
|
59
|
+
display: ${e=>e.isVisible?"flex":"none"};
|
|
60
|
+
align-items: center;
|
|
61
|
+
padding-top: 2px;
|
|
62
|
+
cursor: ${e=>e.isSortDisabled===!0?"not-allowed":"pointer"};
|
|
63
|
+
&:hover {
|
|
64
|
+
color: ${e=>e.isSortDisabled?e.theme.colors.grey1:e.theme.colors.primary};
|
|
65
|
+
}
|
|
66
|
+
`,Wt=r(rt)`
|
|
67
|
+
width: 12px;
|
|
68
|
+
height: 12px;
|
|
69
|
+
`,Ft=r.div`
|
|
70
|
+
display: flex;
|
|
71
|
+
cursor: ${e=>e.isSortDisabled===!0?"not-allowed":"pointer"};
|
|
72
|
+
gap: 6px;
|
|
73
|
+
&:hover {
|
|
74
|
+
color: ${e=>e.isSortDisabled?e.theme.colors.grey1:e.theme.colors.primary};
|
|
75
|
+
}
|
|
76
|
+
`,Ht=r(we)`
|
|
77
|
+
display: flex;
|
|
78
|
+
`,{common:v,vendorReview:{globalReview:{globalMerchantList:Ut}}}=ue.getLocalizedStrings(),c={containerPaddingLeftRight:new z($[3],$[4]),containerPaddingTopBottom:new z($[2],$[3]),logoHeightAndWidth:new z($[3],$[4]),vendorNameLogoHeightAndWidth:new z($[4],$[6]),logoToValueGap:new z($[2],$[2]),smallLogoToValueGap:new z($[1],$[1])},qt=({vendorGlobalReviewData:e,allGlobalMerchants:l,globalMerchantAutoCompleteView:i,sectionId:a,isDisabled:u,analytics:g,onLoadGlobalMerchants:b,onCreateGlobalMerchant:f,onApproveGlobalReview:d,onRejectGlobalReview:h,onClearGlobalMerchantAutoCompleteResults:x})=>{const s=Q(),{resetField:G,formState:q}=dt(),[T,k]=j.useState(!1),[P,H]=a.split("."),O=parseInt(H),L=String(O),M=n=>V(n,L),B=q.dirtyFields[P]?.[O]?.originalVendor===!0&&e.selectedMerchantId!==e.merchant.tenantMerchantId,K=e.currentSelection!=null,{merchant:w,recommendations:te}=e,{fetchState:y}=i,S=n=>{let m=n.websiteUrl?.toString();if(m){if(m=Oe(m)??m,e.selectedMerchantId!=null){const p=n.globalMerchantName??null;g.trackVendorReviewWebsiteOpened({reviewSource:"global_review",vendorName:e.merchant.tenantMerchantName,wasRecommendationAvailable:!!p,recommendedVendorName:p,recommendedVendorReason:n.reason??null,vendorWebsite:m})}window.open(m,"_blank")}},W=[];te.forEach((n,m)=>{const p=`recommended${pt(m)}`;W.push({label:{label:t.jsx(t.Fragment,{children:n.logo!=null?t.jsxs(ze,{children:[t.jsx(je,{photoUrl:n.logo.toString(),styles:{width:c.logoHeightAndWidth.valuePx(s),height:c.logoHeightAndWidth.valuePx(s)},placeholder:{width:c.logoHeightAndWidth.value(s),height:c.logoHeightAndWidth.value(s)},fallbackAvatar:t.jsx(pe,{children:t.jsx(me,{name:n.globalMerchantName,size:c.logoHeightAndWidth.valuePx(s)})})}),t.jsx(I,{className:"global-review-row-item",windowSize:s,isLastItem:!1,children:t.jsx(Y,{children:n.globalMerchantName})})]}):t.jsx(I,{className:"global-review-row-item",windowSize:s,isLastItem:!1,children:t.jsx(Y,{children:n.globalMerchantName})})}),style:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},checkBoxField:{name:ce(a,U,p),checkBoxValue:ce(a,U,p),defaultChecked:e.currentSelection===p},tooltipProps:{text:t.jsx(Yt,{onRedirectionToRecommendedMerchantWebsiteUrl:()=>S(n),recommendation:n,recommendationIndex:m,rowSuffix:L}),maxWidth:"360px"},fieldName:p})});const C=w!=null?{label:{label:t.jsx(t.Fragment,{children:w.logo!=null?t.jsxs(ze,{children:[t.jsx(je,{photoUrl:w.logo.toString(),styles:{width:c.logoHeightAndWidth.valuePx(s),height:c.logoHeightAndWidth.valuePx(s)},placeholder:{width:c.logoHeightAndWidth.value(s),height:c.logoHeightAndWidth.value(s)},fallbackAvatar:t.jsx(pe,{children:t.jsx(me,{name:w.tenantMerchantName,size:c.logoHeightAndWidth.valuePx(s)})})}),t.jsx(I,{className:"global-review-row-item",windowSize:s,isLastItem:!1,children:t.jsx(Y,{children:w.tenantMerchantName})})]}):t.jsx(I,{className:"global-review-row-item",windowSize:s,isLastItem:!1,children:t.jsx(Y,{children:w.tenantMerchantName})})}),style:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},checkBoxField:{name:ce(a,U,ge),checkBoxValue:ce(a,U,ge),defaultChecked:e.currentSelection==="requested"},tooltipProps:{text:t.jsx(Xt,{merchant:w,rowSuffix:L}),maxWidth:"360px"}}:void 0;let ie=w.oldMerchantName;e.currentSelection==="originalVendor"&&e.selectedMerchantId!=null&&(ie=e.selectedMerchantId);const le=j.useMemo(()=>Be(ie,e.merchant,l),[e,l]),ne=()=>{k(!1),x()},xe=()=>{G(a)};return t.jsx(Ue,{"data-testid":M("global-review-list-row"),windowSize:s,isActiveField:B,children:A.map((n,m)=>{switch(n.key){case"originalVendor":return t.jsx(F,{"data-testid":M(`global-review-list-row-column-${n.key}`),windowSize:s,wrapperWidth:n.width,children:T===!0?t.jsx(ct,{onClickAway:ne,children:t.jsx(Et,{children:t.jsx(ht,{name:de(a,"originalVendor"),defaultValue:le,isOptionsLoading:y==="In-Progress",addIconInCreateLabel:!0,autoFocus:!0,isDisabled:u,style:{marginRight:o.sp4},menuIsOpen:T,loadOptions:b,customStyleConfig:{valueContainer:(p,R)=>({justifyContent:"flex-start",margin:`${o.sp0} ${R.selectProps.menuIsOpen===!1?o.sp0:o.sp3}`}),menu:()=>({width:"150%"}),singleValue:()=>({display:"flex",alignItems:"center",color:"inherit"})},onCreateOptionClick:p=>{f(w.tenantMerchantId,p,w.websiteUrl)},onMenuClose:ne})})}):le.selectedOption!=null?Jt(le.selectedOption,w,l,s,m,B,k,xe,L):t.jsxs(I,{className:"global-review-row-item",windowSize:s,isLastItem:m===A.length-1,children:[Ut.selectPlaceholder,t.jsx(_,{display:"block",placement:"bottom",title:t.jsx(E,{children:v.tooltips.editName}),enterDelay:600,children:t.jsx($e,{onClick:()=>k(!0),"data-testid":M("global-review-list-row-edit-icon")})})]})},de(a,"originalVendor"));case"recommended":return t.jsx(j.Fragment,{children:t.jsx(F,{"data-testid":M(`global-review-list-row-column-${n.key}`),gap:c.logoToValueGap,windowSize:s,wrapperWidth:n.width,children:W.map((p,R)=>t.jsxs(j.Fragment,{children:[t.jsx(I,{className:"vendor-global-review-row-item","data-testid":V("global-review-list-row-recommendation-option",`${L}-${R}`),isLastItem:!1,windowSize:s,children:t.jsx(ke,{isHighlighted:!0,label:p.label,checkBoxField:p.checkBoxField,tooltipProps:p.tooltipProps,defaultChecked:e.currentSelection===p.fieldName})}),R<W.length-1?t.jsxs(Kt,{children:[" ",v.texts.or]}):null]},R))})},`${a}-recommended`);case"action":return t.jsx(F,{"data-testid":M(`global-review-list-row-column-${n.key}`),gap:c.smallLogoToValueGap,windowSize:s,wrapperWidth:n.width,children:t.jsxs(I,{className:"global-review-row-button",windowSize:s,isLastItem:m===A.length-1,children:[t.jsx(ye,{dataTestId:M("global-review-list-row-reject"),label:v.footer.reject,loading:e.rejectStatus.fetchState==="In-Progress",onClick:()=>h(w.tenantMerchantId),size:"small",style:{height:"100%"},variant:"light_transparent"}),t.jsx(Qt,{space:o.sp0,style:{display:"flex",alignItems:"center",height:o.sp4,width:o.sp3}}),t.jsx(ye,{dataTestId:M("global-review-list-row-approve"),disabled:!K,label:v.footer.approve,loading:e.approveStatus.fetchState==="In-Progress",onClick:()=>d(w.tenantMerchantId),size:"small",variant:"primary"})]})},`${a}.${n.key}`);case"requestedVendor":return t.jsx(F,{"data-testid":M(`global-review-list-row-column-${n.key}`),gap:c.smallLogoToValueGap,windowSize:s,wrapperWidth:n.width,children:w.tenantMerchantName&&C!=null?t.jsx(I,{windowSize:s,className:"vendor-global-review-row-item",isLastItem:!1,children:t.jsx(ke,{isHighlighted:!0,label:C.label,checkBoxField:C.checkBoxField,tooltipProps:C.tooltipProps,defaultChecked:e.currentSelection==="requested"})}):t.jsx(I,{className:"vendor-global-review-row-item",windowSize:s,isLastItem:!1,children:v.strings.hyphen})},de(a,"merchantId"));case"tenants":default:return t.jsx(F,{"data-testid":M(`global-review-list-row-column-${n.key}`),windowSize:s,wrapperWidth:n.width,children:t.jsx(_t,{className:"global-review-row-item",windowSize:s,isLastItem:m===A.length-1,children:t.jsx(_,{display:"block",placement:"bottom-start",title:t.jsx(E,{children:w.tenantName}),children:t.jsx(Y,{children:w.tenantName})})})},de(a,"tenantId"))}})})},Bt=()=>{const e=Q();return t.jsx(Ue,{windowSize:e,isActiveField:!1,children:A.map((l,i)=>{switch(l.key){case"originalVendor":case"recommended":return t.jsxs(F,{windowSize:e,wrapperWidth:l.width,gap:c.smallLogoToValueGap,children:[t.jsx(Ce,{width:c.logoHeightAndWidth.value(e),height:c.logoHeightAndWidth.value(e)}),t.jsx(I,{windowSize:e,isLastItem:i===A.length-1,children:t.jsx(se,{width:120,height:c.logoHeightAndWidth.value(e),style:{display:"flex",alignItems:"center"}})})]},l.key);case"requestedVendor":return t.jsxs(F,{windowSize:e,wrapperWidth:l.width,gap:c.logoToValueGap,children:[t.jsx(Ce,{width:c.vendorNameLogoHeightAndWidth.value(e),height:c.vendorNameLogoHeightAndWidth.value(e)}),t.jsx(I,{windowSize:e,isLastItem:i===A.length-1,children:t.jsx(se,{width:120,height:c.vendorNameLogoHeightAndWidth.value(e),style:{display:"flex",alignItems:"center"}})})]},l.key);case"tenants":return t.jsx(F,{windowSize:e,wrapperWidth:l.width,children:t.jsx(I,{windowSize:e,isLastItem:i===A.length-1,children:t.jsx(se,{width:100,height:$[4],style:{display:"flex",alignItems:"center"}})})},l.key);case"action":default:return t.jsx(F,{windowSize:e,wrapperWidth:l.width,children:t.jsx(I,{windowSize:e,isLastItem:i===A.length-1,children:t.jsx(se,{width:$[11],height:$[5],style:{display:"flex",alignItems:"center"}})})},l.key)}})})},Ue=r.div`
|
|
79
|
+
display: flex;
|
|
80
|
+
margin-bottom: ${o.sp3};
|
|
81
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
82
|
+
padding-left: ${e=>c.containerPaddingLeftRight.valuePx(e.windowSize)};
|
|
83
|
+
padding-right: ${e=>c.containerPaddingLeftRight.valuePx(e.windowSize)};
|
|
84
|
+
padding-top: ${e=>c.containerPaddingTopBottom.valuePx(e.windowSize)};
|
|
85
|
+
padding-bottom: ${e=>c.containerPaddingTopBottom.valuePx(e.windowSize)};
|
|
86
|
+
margin: ${o.sp0} ${o.sp8} ${o.sp3} ${o.sp8};
|
|
87
|
+
border: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
88
|
+
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
89
|
+
border-radius: ${o.sp2};
|
|
90
|
+
color: ${e=>e.theme.colors.hero};
|
|
91
|
+
|
|
92
|
+
${e=>e.isActiveField?Se`
|
|
93
|
+
border-color: ${e.theme.colors.primary};
|
|
94
|
+
.global-review-row-item {
|
|
95
|
+
color: ${e.theme.colors.primary};
|
|
96
|
+
}
|
|
97
|
+
.entity-icon {
|
|
98
|
+
color: ${e.theme.colors.grey5};
|
|
99
|
+
}
|
|
100
|
+
.edit-icon {
|
|
101
|
+
visibility: visible;
|
|
102
|
+
:hover {
|
|
103
|
+
color: ${e.theme.colors.primary};
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
`:Se``};
|
|
107
|
+
|
|
108
|
+
&:hover {
|
|
109
|
+
border-color: ${e=>e.theme.colors.primary};
|
|
110
|
+
.entity-icon {
|
|
111
|
+
color: ${e=>e.theme.colors.grey5};
|
|
112
|
+
}
|
|
113
|
+
.edit-icon {
|
|
114
|
+
visibility: visible;
|
|
115
|
+
:hover {
|
|
116
|
+
color: ${e=>e.theme.colors.primary};
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
.reset-icon {
|
|
120
|
+
:hover {
|
|
121
|
+
color: ${e=>e.theme.colors.primary};
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
box-sizing: border-box;
|
|
127
|
+
align-items: center;
|
|
128
|
+
justify-content: space-between;
|
|
129
|
+
`,F=r.div`
|
|
130
|
+
display: flex;
|
|
131
|
+
align-items: center;
|
|
132
|
+
position: relative;
|
|
133
|
+
gap: ${e=>e.gap?.valuePx(e.windowSize)};
|
|
134
|
+
width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
135
|
+
min-width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
136
|
+
:last-of-type {
|
|
137
|
+
padding-right: ${o.sp0};
|
|
138
|
+
}
|
|
139
|
+
`,Ie=Se`
|
|
140
|
+
word-break: break-word;
|
|
141
|
+
white-space: nowrap;
|
|
142
|
+
-webkit-line-clamp: 1;
|
|
143
|
+
-webkit-box-orient: vertical;
|
|
144
|
+
overflow: hidden;
|
|
145
|
+
text-overflow: ellipsis;
|
|
146
|
+
`,Kt=r.div``,Y=r.div`
|
|
147
|
+
${Ie};
|
|
148
|
+
`,I=r(mt)`
|
|
149
|
+
${Ie};
|
|
150
|
+
justify-content: ${e=>e.isLastItem?"flex-end":"unset"};
|
|
151
|
+
display: ${e=>e.isLastItem?"flex":"inline-block"};
|
|
152
|
+
`,_t=r(ut)`
|
|
153
|
+
${Ie};
|
|
154
|
+
justify-content: ${e=>e.isLastItem?"flex-end":"unset"};
|
|
155
|
+
display: ${e=>e.isLastItem?"flex":"inline-block"};
|
|
156
|
+
`,E=r(we)`
|
|
157
|
+
padding: 2px ${o.sp2};
|
|
158
|
+
color: ${e=>e.theme.colors.hero};
|
|
159
|
+
background: ${e=>e.theme.colors.overlayColor};
|
|
160
|
+
border-radius: ${o.sp1};
|
|
161
|
+
`,pe=r.div`
|
|
162
|
+
display: flex;
|
|
163
|
+
`,$e=r(wt)`
|
|
164
|
+
color: ${e=>e.theme.colors.hero};
|
|
165
|
+
align-items: center;
|
|
166
|
+
height: ${o.sp3};
|
|
167
|
+
width: ${o.sp4};
|
|
168
|
+
margin-left: ${o.sp2};
|
|
169
|
+
display: flex;
|
|
170
|
+
align-items: center;
|
|
171
|
+
visibility: hidden;
|
|
172
|
+
cursor: pointer;
|
|
173
|
+
`,Ge=r(bt)`
|
|
174
|
+
color: ${e=>e.theme.colors.hero};
|
|
175
|
+
align-items: center;
|
|
176
|
+
height: ${o.sp3};
|
|
177
|
+
width: ${o.sp4};
|
|
178
|
+
margin-left: ${o.sp2};
|
|
179
|
+
display: flex;
|
|
180
|
+
align-items: center;
|
|
181
|
+
cursor: pointer;
|
|
182
|
+
`,Le=r.div`
|
|
183
|
+
display: flex;
|
|
184
|
+
text-align: center;
|
|
185
|
+
align-items: center;
|
|
186
|
+
overflow: hidden;
|
|
187
|
+
`,Et=r.div`
|
|
188
|
+
display: flex;
|
|
189
|
+
width: 100%;
|
|
190
|
+
`,qe=r.div`
|
|
191
|
+
width: auto;
|
|
192
|
+
box-sizing: border-box;
|
|
193
|
+
max-height: ${e=>e.setMaxHeight===!0?o.sp10:"none"};
|
|
194
|
+
&:hover {
|
|
195
|
+
.websiteUrlTooltipText {
|
|
196
|
+
cursor: pointer;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
margin-bottom: ${o.sp2};
|
|
200
|
+
padding: ${o.sp2} ${o.sp3} ${o.sp2} ${o.sp3};
|
|
201
|
+
`,X=r.div`
|
|
202
|
+
display: flex;
|
|
203
|
+
gap: ${o.sp3};
|
|
204
|
+
justify-content: space-between;
|
|
205
|
+
`,Z=r(we)`
|
|
206
|
+
color: ${We.primaryDark};
|
|
207
|
+
overflow: hidden;
|
|
208
|
+
word-wrap: break-word;
|
|
209
|
+
white-space: initial;
|
|
210
|
+
`,ee=r(we)`
|
|
211
|
+
color: ${We.heroDark};
|
|
212
|
+
white-space: nowrap;
|
|
213
|
+
`,Qt=r.div`
|
|
214
|
+
margin-right: ${e=>e.space};
|
|
215
|
+
`,ze=r.div`
|
|
216
|
+
display: flex;
|
|
217
|
+
gap: ${o.sp2};
|
|
218
|
+
`,Be=(e,l,i)=>{const a=i.find(g=>g.globalMerchantId===e),u=l.tenantMerchantId===e?{label:l.tenantMerchantName,value:l.tenantMerchantId}:a!=null?{label:a.globalMerchantName,value:a.globalMerchantId}:void 0;return u!=null?{defaultOptions:[u],selectedOption:e}:{defaultOptions:[],selectedOption:e}},Jt=(e,l,i,a,u,g,b,f,d)=>{const h=G=>V(G,d),x=i.find(G=>G.globalMerchantId===e),s=l.tenantMerchantId===e?{logo:l.logo,name:l.tenantMerchantName}:x!=null?{logo:x.logo,name:x.globalMerchantName}:e.length>0?{logo:void 0,name:e}:void 0;return s==null?t.jsxs(t.Fragment,{children:[t.jsx(I,{className:"vendor-global-review-row-item",windowSize:a,isLastItem:!1,children:v.strings.hyphen}),t.jsxs(Le,{children:[t.jsx(_,{display:"block",placement:"bottom",title:t.jsx(E,{children:v.tooltips.editName}),enterDelay:600,children:t.jsx($e,{className:"edit-icon","data-testid":h("global-review-list-row-edit-icon"),onClick:()=>b(!0)})}),g?t.jsx(_,{display:"block",placement:"bottom",title:t.jsx(E,{children:v.tooltips.reset}),enterDelay:600,children:t.jsx(Ge,{className:"reset-icon","data-testid":h("global-review-list-row-undo-icon"),onClick:f})}):null]})]}):t.jsxs(t.Fragment,{children:[s.logo!=null?t.jsx(je,{photoUrl:s.logo.toString(),styles:{width:c.vendorNameLogoHeightAndWidth.valuePx(a),height:c.vendorNameLogoHeightAndWidth.valuePx(a),marginRight:c.logoToValueGap.valuePx(a)},placeholder:{width:c.vendorNameLogoHeightAndWidth.value(a),height:c.vendorNameLogoHeightAndWidth.value(a),style:{marginRight:c.logoToValueGap.valuePx(a)}},fallbackAvatar:t.jsx(pe,{style:{marginRight:c.logoToValueGap.valuePx(a)},children:t.jsx(me,{name:s.name,size:c.vendorNameLogoHeightAndWidth.valuePx(a)})})}):t.jsx(pe,{style:{marginRight:c.logoToValueGap.valuePx(a)},children:t.jsx(me,{name:s.name,size:c.vendorNameLogoHeightAndWidth.valuePx(a)})}),t.jsxs(Le,{children:[t.jsx(I,{className:"global-review-row-item",windowSize:a,isLastItem:u===A.length-1,children:t.jsx(_,{display:"block",placement:"bottom-start",title:t.jsx(E,{children:s.name}),children:t.jsx(Y,{children:s.name})})}),t.jsx(_,{display:"block",placement:"bottom",title:t.jsx(E,{children:v.tooltips.editName}),enterDelay:600,children:t.jsx($e,{className:"edit-icon","data-testid":h("global-review-list-row-edit-icon"),onClick:()=>b(!0)})}),g?t.jsx(_,{display:"block",placement:"bottom",title:t.jsx(E,{children:v.tooltips.reset}),enterDelay:600,children:t.jsx(Ge,{className:"reset-icon","data-testid":h("global-review-list-row-undo-icon"),onClick:f})}):null]})]})},Yt=({onRedirectionToRecommendedMerchantWebsiteUrl:e,recommendation:l,recommendationIndex:i,rowSuffix:a})=>t.jsxs(qe,{setMaxHeight:!0,children:[t.jsxs(X,{children:[t.jsx(ee,{children:v.labels.vendor}),t.jsx(Z,{children:l.globalMerchantName})]}),l.websiteUrl?t.jsxs(X,{children:[t.jsx(ee,{children:v.labels.websiteURL}),t.jsx(Z,{className:"websiteUrlTooltipText","data-testid":V("global-review-list-row-recommended-website-url",`${a}-${String(i)}`),onClick:()=>e(l),children:l.websiteUrl?.toString()})]}):null]}),Xt=({merchant:e,rowSuffix:l})=>{let i=e.websiteUrl?.toString()??v.strings.empty;return t.jsxs(qe,{children:[t.jsxs(X,{children:[t.jsx(ee,{children:v.labels.name}),t.jsx(Z,{children:e.tenantMerchantName})]}),e.accountName.length?t.jsxs(X,{children:[t.jsx(ee,{children:v.labels.category}),t.jsx(Z,{children:e.accountName})]}):null,e.accountName.length?t.jsxs(X,{children:[t.jsx(ee,{children:v.labels.class}),t.jsx(Z,{children:e.className})]}):null,i?t.jsxs(X,{children:[t.jsx(ee,{children:v.labels.websiteURL}),t.jsx(Z,{className:"websiteUrlTooltipText","data-testid":V("global-review-list-row-requested-vendor-website-url",l),onClick:()=>{i&&(i=Oe(i)??i,window.open(i,"_blank"))},children:i})]}):null]})},Zt=({sortConfig:e,fetchState:l,isDisabled:i,onColumnSortConfigChanged:a})=>{const u=Q();return t.jsxs(el,{windowSize:u,children:[t.jsx(He,{sortConfig:e,isDisabled:l==="In-Progress"?"readonly":i,onColumnSortConfigChanged:a}),t.jsx(tl,{windowSize:u,children:[...Array(7)].map((g,b)=>t.jsx(Bt,{},b))})]})},el=r.div`
|
|
219
|
+
display: block;
|
|
220
|
+
min-height: 100%;
|
|
221
|
+
flex-direction: column;
|
|
222
|
+
width: 100%;
|
|
223
|
+
`,tl=r.div`
|
|
224
|
+
display: flex;
|
|
225
|
+
min-height: 100%;
|
|
226
|
+
flex-direction: column;
|
|
227
|
+
`,{common:ll,vendorReview:{globalReview:{globalMerchantList:Ae}}}=ue.getLocalizedStrings(),ol=({vendorGlobalReviewList:e,allGlobalMerchants:l,sectionId:i,listFetchState:a,globalMerchantAutoCompleteView:u,uiState:g,isDisabled:b,analytics:f,onLoadGlobalMerchants:d,onUpdateGlobalReviewUIState:h,onFetchGlobalReviewList:x,onCreateGlobalMerchant:s,onApproveGlobalMerchantReview:G,onRejectGlobalMerchantReview:q,onClearGlobalMerchantAutoCompleteResults:T})=>{const k=Q(),P=j.useRef(null),[H,O]=j.useState(!1);j.useEffect(()=>{P.current?.resetAfterIndex(0)},[k,P]),j.useEffect(()=>{a==="Completed"&&O(!1)},[a]);const L=y=>Gt,M=(y,S)=>{h({sortOrder:S,sortKey:y}),x(g.searchText,!1,null)},B=()=>{O(!0),x(g.searchText,!0,g.pageToken)},K=y=>y<e.length,w=()=>{g.pageToken!=null&&a==="Completed"&&B()},te=y=>{const S=e.find(C=>C.merchant.tenantMerchantId===y),W=l.find(C=>C.globalMerchantId===S?.selectedMerchantId);S?.currentSelection!="requested"||W!=null&&S?.currentSelection=="requested"?G(y):S!=null&&s(y,S.merchant.tenantMerchantName,S.merchant.websiteUrl)};return t.jsxs(nl,{windowSize:k,children:[t.jsx(rl,{windowSize:k,children:a==="Error"?t.jsxs(dl,{windowSize:k,children:[t.jsx(cl,{"data-testid":V("global-review-list-table-reload-icon"),onClick:()=>x("",!1,null),children:t.jsx(Xe,{})}),t.jsx(hl,{children:ll.reloadPage.label})]}):a==="Completed"&&e.length===0?t.jsx(Ze,{message:g.searchText?Ae.noMatchedDataText:Ae.noDataText,style:{padding:o.sp0}}):a==="Not-Started"||a==="In-Progress"&&e.length===0?t.jsx(Zt,{sortConfig:{sortKey:g.sortKey,sortOrder:g.sortOrder},isDisabled:b,fetchState:a,onColumnSortConfigChanged:M}):t.jsx(sl,{windowSize:k,children:t.jsx(et,{children:({height:y,width:S})=>t.jsx(tt,{isItemLoaded:K,itemCount:e.length+1,loadMoreItems:w,children:({onItemsRendered:W})=>t.jsxs(gl,{style:{height:y,width:S},children:[t.jsx(il,{children:t.jsx(He,{sortConfig:{sortKey:g.sortKey,sortOrder:g.sortOrder},isDisabled:a==="In-Progress"?"readonly":b,onColumnSortConfigChanged:M})}),t.jsx(lt,{ref:P,height:y-Fe,itemCount:e.length,itemData:{analytics:f,vendorGlobalReviewList:e,sectionId:i,allGlobalMerchants:l,globalMerchantAutoCompleteView:u,isDisabled:b,onLoadGlobalMerchants:d,onApproveGlobalReview:te,onRejectGlobalMerchantReview:q,onCreateGlobalMerchant:s,onClearGlobalMerchantAutoCompleteResults:T},onItemsRendered:W,itemSize:L,width:S,style:{willChange:"auto"},overscanCount:Lt,onScroll:({scrollOffset:C})=>{h({scrollYOffset:C})},initialScrollOffset:g.scrollYOffset,children:al})]})})})})}),t.jsx(ot,{controller:H===!0,children:t.jsx(pl,{children:t.jsx(at,{size:"Small",start:!0})})})]})},al=({index:e,style:l,data:i})=>{const{analytics:a,vendorGlobalReviewList:u,allGlobalMerchants:g,globalMerchantAutoCompleteView:b,sectionId:f,isDisabled:d,onLoadGlobalMerchants:h,onCreateGlobalMerchant:x,onApproveGlobalReview:s,onRejectGlobalMerchantReview:G,onClearGlobalMerchantAutoCompleteResults:q}=i,T=u[e];return t.jsx(ml,{className:"global-review-list-item","data-testid":V("global-review-list-list-item",String(e)),style:{...l,width:"100%"},children:t.jsx(qt,{sectionId:`${f}.${e}`,isDisabled:T.approveStatus.fetchState==="In-Progress"?"readonly":d,globalMerchantAutoCompleteView:b,vendorGlobalReviewData:T,allGlobalMerchants:g,onLoadGlobalMerchants:h,onCreateGlobalMerchant:x,onApproveGlobalReview:s,onRejectGlobalReview:G,onClearGlobalMerchantAutoCompleteResults:q,analytics:a},T.merchant.tenantMerchantId)})},il=r.div`
|
|
228
|
+
width: auto;
|
|
229
|
+
`,nl=r.div`
|
|
230
|
+
display: block;
|
|
231
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
232
|
+
height: ${e=>`calc(100vh - ${De.valuePx(e.windowSize)} - ${o.sp4})`};
|
|
233
|
+
width: 100%;
|
|
234
|
+
margin-top: ${o.sp4};
|
|
235
|
+
`,rl=r.div`
|
|
236
|
+
height: 100%;
|
|
237
|
+
`,sl=r.div`
|
|
238
|
+
height: 100%;
|
|
239
|
+
display: flex;
|
|
240
|
+
flex-direction: column;
|
|
241
|
+
max-width: 99.9%;
|
|
242
|
+
`,dl=r.div`
|
|
243
|
+
display: flex;
|
|
244
|
+
width: 100%;
|
|
245
|
+
height: ${e=>`calc(100% - ${De.valuePx(e.windowSize)})`};
|
|
246
|
+
flex-direction: column;
|
|
247
|
+
justify-content: center;
|
|
248
|
+
align-items: center;
|
|
249
|
+
`,cl=r.div`
|
|
250
|
+
height: 96px;
|
|
251
|
+
width: 96px;
|
|
252
|
+
background: ${e=>e.theme.colors.background};
|
|
253
|
+
border-radius: 50%;
|
|
254
|
+
cursor: pointer;
|
|
255
|
+
& svg {
|
|
256
|
+
margin: ${o.sp5};
|
|
257
|
+
color: ${e=>e.theme.colors.grey1};
|
|
258
|
+
}
|
|
259
|
+
&:hover {
|
|
260
|
+
& svg {
|
|
261
|
+
color: ${e=>e.theme.colors.primary};
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
`,hl=r(nt)`
|
|
265
|
+
margin-top: ${o.sp3};
|
|
266
|
+
color: ${e=>e.theme.colors.hero};
|
|
267
|
+
`,ml=r.div`
|
|
268
|
+
top: ${o.sp0};
|
|
269
|
+
left: ${o.sp0};
|
|
270
|
+
padding-bottom: ${o.sp3};
|
|
271
|
+
box-sizing: border-box;
|
|
272
|
+
`,gl=r.div`
|
|
273
|
+
position: relative;
|
|
274
|
+
`,pl=r.div`
|
|
275
|
+
display: flex;
|
|
276
|
+
width: 100%;
|
|
277
|
+
height: ${o.sp3};
|
|
278
|
+
flex-direction: row;
|
|
279
|
+
justify-content: center;
|
|
280
|
+
align-items: center;
|
|
281
|
+
margin-top: ${o.sp3};
|
|
282
|
+
margin-bottom: ${o.sp3};
|
|
283
|
+
`,{common:{sectionTitles:ul},vendorReview:{globalReview:{globalMerchantList:Te}}}=ue.getLocalizedStrings(),wl="globalReviewListPage",he="globalReviewListTable",Gl=({vendorGlobalReviewView:e,globalMerchantAutoCompleteView:l,analytics:i,isDisabled:a,onUpdateSelectedGlobalMerchant:u,onApproveGlobalReview:g,onRejectGlobalReview:b,onCreateGlobalMerchant:f,onFetchGlobalMerchantAutoCompleteResults:d,onUpdateGlobalReviewUIState:h,onFetchGlobalReviewList:x,onClearGlobalMerchantAutoCompleteResults:s,onBackClick:G,onClickMenuIcon:q})=>{const T=Ke(),k=Q(),{vendorGlobalReviewData:P,allGlobalMerchants:H,uiState:O,fetchState:L}=e,{globalMerchants:M,fetchState:B}=l,K=_e({mode:"all",reValidateMode:"onChange",defaultValues:Pe(P,H),values:Pe(P,H),resetOptions:{keepDirtyValues:!0}}),[w,te]=j.useState(O.searchText),y=j.useRef(),S=n=>{x(n,!1,null)},W=n=>{const m=P.find(p=>p.merchant.tenantMerchantId===n);if(m!=null){const p=H.find(J=>J.globalMerchantId===m.selectedMerchantId),R=m.recommendations,{tenantName:re,oldMerchantName:oe,tenantMerchantName:ae}=m.merchant,N=p?.globalMerchantName??ae,D=R[0];i.trackVendorReviewApproveRequested({reviewSource:"global_review",tenantName:re,requestedVendorName:ae,originalVendorName:oe,approveVendorName:N,isGlobalVendorRequested:p!=null,isNewCreatedVendorRequested:!1,isVendorNameRecommendationSelected:m.currentSelection==="recommendedFirst"||m.currentSelection==="recommendedSecond",isVendorNameChangedAndSelected:N!==ae,wasRecommendationAvailable:!!D?.globalMerchantName,approveVendorReason:p?.reason??null,approveVendorNameSelectionSource:N===D?.globalMerchantName?"recommendation":"text_edit",recommendedVendorName:D?.globalMerchantName??null,recommendedVendorReason:D?.reason??null})}g(n)},C=j.useRef(Ee(n=>S(n),500,{trailing:!0})).current;j.useEffect(()=>{L==="Completed"&&i.trackVendorReviewPage("global_review",O.totalCount)},[L]),j.useEffect(()=>{B==="Completed"&&y.current?.(fl(M))},[B]);const ie=(n,m)=>{d(n),y.current=m},le=()=>{},ne=async(n,m,p)=>{const{globalReviewListTable:R}=m,re=parseInt(n.split(".")[1]),oe=R[re].merchantId;if(p==null){u(oe,{recommendedFirst:!1,recommendedSecond:!1,originalVendor:!1,requested:!1},oe);return}if(n.includes(he)){const ae=parseInt(n.split(".")[1]),N={...m[he][ae]};let D=N[U],J;N.merchantId!=null&&(n.includes(Re)?(D={recommendedFirst:N[U].recommendedFirst,recommendedSecond:!1,originalVendor:!1,requested:!1},J=N[Re]?.globalMerchantId):n.includes(Ne)?(D={recommendedFirst:!1,recommendedSecond:N[U].recommendedSecond,originalVendor:!1,requested:!1},J=N[Ne]?.globalMerchantId):n.includes(ge)?(D={recommendedFirst:!1,recommendedSecond:!1,originalVendor:!1,requested:N[U].requested},J=N[ge]):n.includes(ve)&&(D={recommendedFirst:!1,recommendedSecond:!1,originalVendor:!0,requested:!1})),u(oe,D,n.includes(ve)?R[re][ve].selectedOption:J)}};j.useEffect(()=>{const n=K.watch((m,{name:p,type:R})=>{p!=null&&m!=null&&Qe(()=>ne(p,m,R))});return()=>{n.unsubscribe()}});const xe=t.jsx(ft,{button:{label:ul.newVendor,onClick:()=>f()},search:{searchText:w,hide:!1,isOpen:w.length>0,placeHolder:Te.searchPlaceholder,onTextChange:n=>{te(n),n.trim().length>=2?C(n):n.trim().length==0&&C("")}},newVendorButtonDataTestId:V("global-review-list-new-vendor-button"),searchBarDataTestId:V("global-review-list-search-bar")});return t.jsxs(bl,{children:[t.jsx(Je,{title:Te.navBarTitle,backgroundColor:T.colors.grey4,onBackClick:G,rightSideComponent:xe,showMenuIcon:k==="medium-compact"||k==="small",onClickMenuIcon:q,source:"GlobalReviewListPage"}),t.jsx(xl,{children:t.jsx(Ye,{...K,children:t.jsx("form",{id:vl(wl),onSubmit:K.handleSubmit(le),style:{width:"100%"},children:t.jsx(ol,{vendorGlobalReviewList:P,allGlobalMerchants:H,globalMerchantAutoCompleteView:l,uiState:{...O,searchText:w},isDisabled:a,listFetchState:L,sectionId:he,onLoadGlobalMerchants:ie,onUpdateGlobalReviewUIState:h,onFetchGlobalReviewList:x,onCreateGlobalMerchant:f,onApproveGlobalMerchantReview:W,onRejectGlobalMerchantReview:b,onClearGlobalMerchantAutoCompleteResults:s,analytics:i})})})})]})},bl=r.div`
|
|
284
|
+
display: flex;
|
|
285
|
+
min-height: 100%;
|
|
286
|
+
width: 100%;
|
|
287
|
+
flex-direction: column;
|
|
288
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
289
|
+
`,xl=r.div`
|
|
290
|
+
display: flex;
|
|
291
|
+
`,vl=e=>`${e}_form`,Pe=(e,l)=>({[he]:e.map(i=>{const{merchant:a}=i;let u=a.oldMerchantName;return i.currentSelection==="originalVendor"&&i.selectedMerchantId!=null&&(u=i.selectedMerchantId),{tenantId:a.tenantId,merchantId:a.tenantMerchantId,originalVendor:Be(u,a,l),recommendedFirst:i.recommendations[0],recommendedSecond:i.recommendations[1],currentSelection:{recommendedFirst:i.currentSelection==="recommendedFirst",recommendedSecond:i.currentSelection==="recommendedSecond",requested:i.currentSelection==="requested",originalVendor:i.currentSelection==="originalVendor"},requested:a.tenantMerchantId}})}),fl=e=>e.map(l=>({label:l.globalMerchantName,value:l.globalMerchantId})).sort((l,i)=>l.label.localeCompare(i.label));export{Gl as default,vl as uniqueFormName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as r,aN as D,F as c,ab as E,aY as b,A as I,aO as j,aT as H,o as Z,aj as x}from"./index-
|
|
1
|
+
import{V as r,aN as D,F as c,ab as E,aY as b,A as I,aO as j,aT as H,o as Z,aj as x}from"./index-Dw_MX6AZ.js";import{P as m,a as t}from"./sentry-DBSEoG3b.js";import{c as V}from"./SummaryCard-CHqc9QHC-DLmlONgW.js";import{n as d}from"./mui-DdxImnN0.js";import{N as y}from"./NavigationArrow-CKhWji3v-aZKiVTlV.js";import{k as T}from"./NavigationDots-OShASt5i-Bc5YcJG5.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./zeni-epic-state-1oOVJQJ4.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";import"./ReloadCard-BSiXuJWg-S2NiaAjj.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="cc73935e-a959-4723-a386-62e6a4547334",e._sentryDebugIdIdentifier="sentry-dbid-cc73935e-a959-4723-a386-62e6a4547334")}catch{}})();const A=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as r,aN as W,aO as w,F as v,ab as k,aY as A,aT as D,o as s,aj as b,bO as O,A as S,c1 as Z,bR as P,aU as R,c2 as Y}from"./index-C9hDAJ7o.js";import{P as f,a as t}from"./sentry-Ckvw8Zf1.js";import{c as K}from"./SummaryCard-DgBWIctW-CRmTCkt0.js";import{n as o}from"./mui-BQR0Ruo4.js";import{N as B}from"./NavigationArrow-CeYvXgly-CXWFEDMQ.js";import{k as N}from"./NavigationDots-CXAszOHQ-HtQg6iz5.js";import{t as z,o as U}from"./arrow-south-east-round-PEovUgvH-Cy4oQH64.js";import"./liveblocks-NP7ye8lf.js";import"./core-XAP_yXKl.js";import"./recharts-DkFolWRg.js";import"./zeni-epic-state-BnsQ52n7.js";import"./lottie-DhXcx4Hv.js";import"./analytics-Dm6Rdmk5.js";import"./lexical-CgNStNGD.js";import"./utils-B4eJ0QQL.js";import"./ReloadCard-CI-iJa1w-CU7osnQb.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]="367c1a5f-f1f5-4e02-9bc6-9cd930601b48",e._sentryDebugIdIdentifier="sentry-dbid-367c1a5f-f1f5-4e02-9bc6-9cd930601b48")}catch{}})();const F=e=>t.createElement("svg",{width:128,height:128,viewBox:"0 0 128 128",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M107.29 63.9999C107.29 87.908 87.9081 107.289 64 107.289C40.0919 107.289 20.7106 87.908 20.7106 63.9999C20.7106 40.0918 40.0919 20.7104 64 20.7104C87.9081 20.7104 107.29 40.0918 107.29 63.9999Z",fill:"#97C3B9",fillOpacity:.2,stroke:"#97C3B9"}),t.createElement("circle",{opacity:.6,cx:64,cy:64,r:53.3947,stroke:"#97C3B9"}),t.createElement("circle",{opacity:.32,cx:64,cy:64,r:63.5,stroke:"#97C3B9"}),t.createElement("path",{opacity:.2,d:"M71.0119 75.4254C71.0119 69.9672 78.1812 68.581 78.2028 60.3288C78.2245 52.0765 72.2681 47.8312 65.5104 47.8096C58.7526 47.8096 52.7962 52.0548 52.7746 60.2854C52.7529 68.5161 59.9222 69.9239 59.9222 75.3821C59.9222 80.8403 59.9222 79.6924 59.9222 80.5154C59.9222 82.1182 59.7273 83.3961 62.1748 83.6994C62.1748 85.3455 63.6477 86.6667 65.4671 86.6667C67.2865 86.6667 68.7593 85.3455 68.7593 83.6994C71.0552 83.3528 71.0552 82.2049 71.0335 80.7104C71.0119 80.7537 71.0119 75.5771 71.0119 75.4254Z",fill:"#97C3B9"}),t.createElement("path",{d:"M66.3335 75.5985C65.5321 66.7397 65.0989 60.935 66.3768 59.5921C67.2215 58.7041 68.651 58.7257 69.5174 59.5921C70.3838 60.4585 70.3838 61.8663 69.5174 62.7327C68.651 63.5991 65.9219 63.7724 65.9219 63.7724H62.7163C62.7163 63.7724 59.9872 63.5774 59.1209 62.7111C58.2545 61.8447 58.2545 60.4368 59.1209 59.5704C59.9872 58.7041 61.3951 58.7041 62.2615 59.5704C63.5611 60.9133 63.1062 66.7181 62.2615 75.5768",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M64.2974 82.8112C58.1895 82.8112 58.7526 81.4683 58.7526 79.4756C58.7526 78.6526 58.7526 79.8005 58.7526 74.3423C58.7526 68.8841 51.605 67.4763 51.605 59.2456C51.6266 51.015 57.5613 46.7698 64.3408 46.7698C71.0985 46.7698 77.0549 51.0367 77.0332 59.289C77.0116 67.5196 69.8639 68.9058 69.8423 74.3856C69.8206 79.8655 69.8423 78.6959 69.8423 79.5189C69.8423 81.49 70.4054 82.8112 64.2974 82.8112Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M69.864 79.6491C68.781 80.2772 67.0915 80.5371 64.3191 80.5371C61.5467 80.5371 59.8573 80.2772 58.7743 79.6274",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M69.864 74.7756C68.781 75.4038 67.0915 75.6637 64.3191 75.6637C61.5467 75.6637 59.8573 75.4038 58.7743 74.7756",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M58.7527 77.2014C59.8357 77.8295 61.5251 78.0895 64.2975 78.0895C67.0699 78.0895 68.7594 77.8295 69.8424 77.2014",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M67.5897 82.6597C67.5897 84.3058 66.1169 85.627 64.2975 85.627C62.4781 85.627 61.0052 84.2841 61.0052 82.6597",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M47.7712 64.8338L50.5003 63.7725",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M46.6666 59.3105L49.6123 59.2239",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M47.2731 53.7659L50.1105 54.5023",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M49.569 48.6326L51.9948 50.2787",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M53.5327 44.5823L55.2438 46.9865",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M58.601 42.1562L59.4457 44.9503",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M64.1025 41.3333L64.1242 44.2573",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M69.604 42.0264L68.8459 44.8638",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M74.7373 44.3223L73.0912 46.7698",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M78.8093 48.2427L76.4268 49.9538",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M81.2569 53.3325L78.4412 54.1339",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M81.9933 58.8342H79.0476",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M81.0403 64.4006L78.2896 63.4043",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M64.2974 82.8112C58.1895 82.8112 58.7526 81.4683 58.7526 79.4756C58.7526 78.6526 58.7526 79.8005 58.7526 74.3423C58.7526 68.8841 51.605 67.4763 51.605 59.2456C51.6266 51.015 57.5613 46.7698 64.3408 46.7698C71.0985 46.7698 77.0549 51.0367 77.0332 59.289C77.0116 67.5196 69.8639 68.9058 69.8423 74.3856C69.8206 79.8655 69.8423 78.6959 69.8423 79.5189C69.8423 81.49 70.4054 82.8112 64.2974 82.8112Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("circle",{cx:16,cy:17.6841,r:8.76316,fill:"#97C3B9",fillOpacity:.2,stroke:"#97C3B9"}),t.createElement("path",{d:"M15.4385 14.1474H17.0105C17.6605 14.1474 18.1894 14.6764 18.1894 15.3264C18.1894 15.5433 18.3655 15.7194 18.5824 15.7194C18.7993 15.7194 18.9754 15.5433 18.9754 15.3264C18.9754 14.2429 18.0939 13.3615 17.0105 13.3615H16.6175V12.1825C16.6175 11.9656 16.4414 11.7896 16.2245 11.7896C16.0076 11.7896 15.8315 11.9656 15.8315 12.1825V13.3615H15.4385C14.3551 13.3615 13.4736 14.2429 13.4736 15.3264V16.1124C13.4736 17.1958 14.3551 18.0773 15.4385 18.0773H17.0105C17.6605 18.0773 18.1894 18.6062 18.1894 19.2562V20.0422C18.1894 20.6922 17.6605 21.2211 17.0105 21.2211H16.6175V18.8632C16.6175 18.6463 16.4414 18.4703 16.2245 18.4703C16.0076 18.4703 15.8315 18.6463 15.8315 18.8632V21.2211H15.4385C14.7886 21.2211 14.2596 20.6922 14.2596 20.0422C14.2596 19.8253 14.0835 19.6492 13.8666 19.6492C13.6497 19.6492 13.4736 19.8253 13.4736 20.0422C13.4736 21.1256 14.3551 22.0071 15.4385 22.0071H15.8315V23.186C15.8315 23.403 16.0076 23.579 16.2245 23.579C16.4414 23.579 16.6175 23.403 16.6175 23.186V22.0071H17.0105C18.0939 22.0071 18.9754 21.1256 18.9754 20.0422V19.2562C18.9754 18.1728 18.0939 17.2913 17.0105 17.2913H16.6175V14.9334C16.6175 14.7165 16.4414 14.5404 16.2245 14.5404C16.0076 14.5404 15.8315 14.7165 15.8315 14.9334V17.2913H15.4385C14.7886 17.2913 14.2596 16.7624 14.2596 16.1124V15.3264C14.2596 14.6764 14.7886 14.1474 15.4385 14.1474Z",fill:"#97C3B9"}),t.createElement("circle",{cx:113.263,cy:25.2632,r:8.76316,fill:"#97C3B9",fillOpacity:.2,stroke:"#97C3B9"}),t.createElement("path",{d:"M113.388 25.3887C113.467 25.3096 113.574 25.2653 113.686 25.2653H114.95C115.061 25.2653 115.169 25.3096 115.248 25.3887C115.327 25.4677 115.371 25.5748 115.371 25.6865C115.371 25.7982 115.327 25.9054 115.248 25.9843C115.169 26.0633 115.061 26.1077 114.95 26.1077H113.686C113.574 26.1077 113.467 26.0633 113.388 25.9843C113.309 25.9054 113.265 25.7982 113.265 25.6865C113.265 25.5748 113.309 25.4677 113.388 25.3887Z",fill:"#97C3B9"}),t.createElement("path",{d:"M112.843 28.6352H116.213V28.631C116.325 28.631 116.432 28.6754 116.511 28.7544C116.59 28.8334 116.635 28.9406 116.635 29.0522C116.635 29.1639 116.59 29.2711 116.511 29.3501C116.432 29.4291 116.325 29.4735 116.213 29.4735H110.316C110.204 29.4735 110.097 29.4291 110.018 29.3501C109.939 29.2711 109.895 29.1639 109.895 29.0522C109.895 28.9406 109.939 28.8334 110.018 28.7544C110.097 28.6754 110.204 28.631 110.316 28.631H112.001V27.7885C111.993 27.2018 111.849 26.625 111.58 26.1035H110.737C110.626 26.1035 110.518 26.0592 110.439 25.9801C110.36 25.9011 110.316 25.794 110.316 25.6823C110.316 25.5706 110.36 25.4634 110.439 25.3845C110.518 25.3055 110.626 25.261 110.737 25.261H111.074L110.813 24.8693C110.49 24.3854 110.317 23.8168 110.316 23.2348V22.7378C110.316 22.0675 110.582 21.4246 111.056 20.9506C111.53 20.4766 112.173 20.2103 112.843 20.2103H113.686C114.356 20.2103 114.999 20.4766 115.473 20.9506C115.947 21.4246 116.213 22.0675 116.213 22.7378C116.213 22.8495 116.169 22.9566 116.09 23.0356C116.011 23.1146 115.904 23.159 115.792 23.159C115.68 23.159 115.573 23.1146 115.494 23.0356C115.415 22.9566 115.371 22.8495 115.371 22.7378C115.371 22.2909 115.193 21.8623 114.877 21.5464C114.561 21.2303 114.133 21.0528 113.686 21.0528H112.843C112.397 21.0528 111.968 21.2303 111.652 21.5464C111.336 21.8623 111.159 22.2909 111.159 22.7378V23.2348C111.163 23.643 111.286 24.0411 111.512 24.3806L112.064 25.2231C112.572 25.9839 112.843 26.878 112.843 27.7927V28.6352Z",fill:"#97C3B9"}),t.createElement("circle",{cx:108.263,cy:104.263,r:8.76316,fill:"#97C3B9",fillOpacity:.2,stroke:"#97C3B9"}),t.createElement("path",{d:"M110.789 108.053C110.789 107.941 110.745 107.834 110.666 107.755C110.587 107.676 110.48 107.632 110.368 107.632H108.263C107.705 107.632 107.169 107.41 106.774 107.015C106.38 106.62 106.158 106.085 106.158 105.526V105.105H108.684C108.796 105.105 108.903 105.061 108.982 104.982C109.061 104.903 109.105 104.796 109.105 104.684C109.105 104.572 109.061 104.465 108.982 104.386C108.903 104.307 108.796 104.263 108.684 104.263H106.158V103.421H109.526C109.638 103.421 109.745 103.377 109.824 103.298C109.903 103.219 109.947 103.112 109.947 103C109.947 102.888 109.903 102.781 109.824 102.702C109.745 102.623 109.638 102.579 109.526 102.579H106.158V102.158C106.158 101.599 106.38 101.064 106.774 100.669C107.169 100.274 107.705 100.053 108.263 100.053H110.368C110.48 100.053 110.587 100.008 110.666 99.9292C110.745 99.8503 110.789 99.7432 110.789 99.6315C110.789 99.5198 110.745 99.4127 110.666 99.3338C110.587 99.2548 110.48 99.2104 110.368 99.2104H108.263C107.481 99.2104 106.732 99.521 106.179 100.074C105.626 100.626 105.316 101.376 105.316 102.158V102.579H104.474C104.362 102.579 104.255 102.623 104.176 102.702C104.097 102.781 104.053 102.888 104.053 103C104.053 103.112 104.097 103.219 104.176 103.298C104.255 103.377 104.362 103.421 104.474 103.421H105.316V104.263H103.632C103.52 104.263 103.413 104.307 103.334 104.386C103.255 104.465 103.21 104.572 103.21 104.684C103.21 104.796 103.255 104.903 103.334 104.982C103.413 105.061 103.52 105.105 103.632 105.105H105.316V105.526C105.316 106.308 105.626 107.058 106.179 107.61C106.732 108.163 107.481 108.474 108.263 108.474H110.368C110.48 108.474 110.587 108.429 110.666 108.35C110.745 108.271 110.789 108.164 110.789 108.053Z",fill:"#97C3B9"}),t.createElement("circle",{cx:12.6316,cy:94.3159,r:8.76316,fill:"#97C3B9",fillOpacity:.2,stroke:"#97C3B9"}),t.createElement("path",{d:"M14.2506 95.8057C14.4476 95.8057 14.6068 95.9653 14.6068 96.162C14.6068 96.3586 14.4476 96.5182 14.2506 96.5182H13.5381C13.341 96.5182 13.1818 96.3586 13.1818 96.162C13.1818 95.9653 13.341 95.8057 13.5381 95.8057H14.2506Z",fill:"#97C3B9"}),t.createElement("path",{d:"M14.2506 94.3808C14.4476 94.3808 14.6068 94.5404 14.6068 94.737C14.6068 94.9337 14.4476 95.0933 14.2506 95.0933H12.8255V99.0121C12.8255 99.2088 12.6663 99.3684 12.4693 99.3684C12.2723 99.3684 12.113 99.2088 12.113 99.0121V96.5183H10.688C10.491 96.5183 10.3317 96.3587 10.3317 96.1621C10.3317 95.9654 10.491 95.8058 10.688 95.8058H12.113V95.0933H10.688C10.491 95.0933 10.3317 94.9337 10.3317 94.737C10.3317 94.5404 10.491 94.3808 10.688 94.3808H12.0286L9.33135 90.6717C9.21557 90.5124 9.25084 90.2898 9.41009 90.174C9.56933 90.0579 9.79235 90.0931 9.90742 90.2524L12.4693 93.775L15.0315 90.252C15.1466 90.0928 15.3696 90.0576 15.5288 90.1737C15.6884 90.2894 15.7234 90.5121 15.6076 90.6714L12.91 94.3808H14.2506Z",fill:"#97C3B9"}),t.createElement("circle",{cx:93.4736,cy:7.57899,r:1.68421,fill:"#97C3B9"}),t.createElement("circle",{cx:38.7368,cy:111.158,r:1.68421,fill:"#97C3B9"})),X=o(D)`
|
|
1
|
+
import{V as r,aN as W,aO as w,F as v,ab as k,aY as A,aT as D,o as s,aj as b,bO as O,A as S,c1 as Z,bR as P,aU as R,c2 as Y}from"./index-Dw_MX6AZ.js";import{P as u,a as t}from"./sentry-DBSEoG3b.js";import{c as K}from"./SummaryCard-CHqc9QHC-DLmlONgW.js";import{n as o}from"./mui-DdxImnN0.js";import{N as B}from"./NavigationArrow-CKhWji3v-aZKiVTlV.js";import{k as N}from"./NavigationDots-OShASt5i-Bc5YcJG5.js";import{t as z,o as U}from"./arrow-south-east-round-PEovUgvH-CIyEcJYf.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./zeni-epic-state-1oOVJQJ4.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";import"./ReloadCard-BSiXuJWg-S2NiaAjj.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]="7cedcb29-02fd-4483-80cf-5b5413209546",e._sentryDebugIdIdentifier="sentry-dbid-7cedcb29-02fd-4483-80cf-5b5413209546")}catch{}})();const F=e=>t.createElement("svg",{width:128,height:128,viewBox:"0 0 128 128",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M107.29 63.9999C107.29 87.908 87.9081 107.289 64 107.289C40.0919 107.289 20.7106 87.908 20.7106 63.9999C20.7106 40.0918 40.0919 20.7104 64 20.7104C87.9081 20.7104 107.29 40.0918 107.29 63.9999Z",fill:"#97C3B9",fillOpacity:.2,stroke:"#97C3B9"}),t.createElement("circle",{opacity:.6,cx:64,cy:64,r:53.3947,stroke:"#97C3B9"}),t.createElement("circle",{opacity:.32,cx:64,cy:64,r:63.5,stroke:"#97C3B9"}),t.createElement("path",{opacity:.2,d:"M71.0119 75.4254C71.0119 69.9672 78.1812 68.581 78.2028 60.3288C78.2245 52.0765 72.2681 47.8312 65.5104 47.8096C58.7526 47.8096 52.7962 52.0548 52.7746 60.2854C52.7529 68.5161 59.9222 69.9239 59.9222 75.3821C59.9222 80.8403 59.9222 79.6924 59.9222 80.5154C59.9222 82.1182 59.7273 83.3961 62.1748 83.6994C62.1748 85.3455 63.6477 86.6667 65.4671 86.6667C67.2865 86.6667 68.7593 85.3455 68.7593 83.6994C71.0552 83.3528 71.0552 82.2049 71.0335 80.7104C71.0119 80.7537 71.0119 75.5771 71.0119 75.4254Z",fill:"#97C3B9"}),t.createElement("path",{d:"M66.3335 75.5985C65.5321 66.7397 65.0989 60.935 66.3768 59.5921C67.2215 58.7041 68.651 58.7257 69.5174 59.5921C70.3838 60.4585 70.3838 61.8663 69.5174 62.7327C68.651 63.5991 65.9219 63.7724 65.9219 63.7724H62.7163C62.7163 63.7724 59.9872 63.5774 59.1209 62.7111C58.2545 61.8447 58.2545 60.4368 59.1209 59.5704C59.9872 58.7041 61.3951 58.7041 62.2615 59.5704C63.5611 60.9133 63.1062 66.7181 62.2615 75.5768",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M64.2974 82.8112C58.1895 82.8112 58.7526 81.4683 58.7526 79.4756C58.7526 78.6526 58.7526 79.8005 58.7526 74.3423C58.7526 68.8841 51.605 67.4763 51.605 59.2456C51.6266 51.015 57.5613 46.7698 64.3408 46.7698C71.0985 46.7698 77.0549 51.0367 77.0332 59.289C77.0116 67.5196 69.8639 68.9058 69.8423 74.3856C69.8206 79.8655 69.8423 78.6959 69.8423 79.5189C69.8423 81.49 70.4054 82.8112 64.2974 82.8112Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M69.864 79.6491C68.781 80.2772 67.0915 80.5371 64.3191 80.5371C61.5467 80.5371 59.8573 80.2772 58.7743 79.6274",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M69.864 74.7756C68.781 75.4038 67.0915 75.6637 64.3191 75.6637C61.5467 75.6637 59.8573 75.4038 58.7743 74.7756",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M58.7527 77.2014C59.8357 77.8295 61.5251 78.0895 64.2975 78.0895C67.0699 78.0895 68.7594 77.8295 69.8424 77.2014",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M67.5897 82.6597C67.5897 84.3058 66.1169 85.627 64.2975 85.627C62.4781 85.627 61.0052 84.2841 61.0052 82.6597",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M47.7712 64.8338L50.5003 63.7725",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M46.6666 59.3105L49.6123 59.2239",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M47.2731 53.7659L50.1105 54.5023",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M49.569 48.6326L51.9948 50.2787",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M53.5327 44.5823L55.2438 46.9865",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M58.601 42.1562L59.4457 44.9503",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M64.1025 41.3333L64.1242 44.2573",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M69.604 42.0264L68.8459 44.8638",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M74.7373 44.3223L73.0912 46.7698",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M78.8093 48.2427L76.4268 49.9538",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M81.2569 53.3325L78.4412 54.1339",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M81.9933 58.8342H79.0476",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M81.0403 64.4006L78.2896 63.4043",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M64.2974 82.8112C58.1895 82.8112 58.7526 81.4683 58.7526 79.4756C58.7526 78.6526 58.7526 79.8005 58.7526 74.3423C58.7526 68.8841 51.605 67.4763 51.605 59.2456C51.6266 51.015 57.5613 46.7698 64.3408 46.7698C71.0985 46.7698 77.0549 51.0367 77.0332 59.289C77.0116 67.5196 69.8639 68.9058 69.8423 74.3856C69.8206 79.8655 69.8423 78.6959 69.8423 79.5189C69.8423 81.49 70.4054 82.8112 64.2974 82.8112Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("circle",{cx:16,cy:17.6841,r:8.76316,fill:"#97C3B9",fillOpacity:.2,stroke:"#97C3B9"}),t.createElement("path",{d:"M15.4385 14.1474H17.0105C17.6605 14.1474 18.1894 14.6764 18.1894 15.3264C18.1894 15.5433 18.3655 15.7194 18.5824 15.7194C18.7993 15.7194 18.9754 15.5433 18.9754 15.3264C18.9754 14.2429 18.0939 13.3615 17.0105 13.3615H16.6175V12.1825C16.6175 11.9656 16.4414 11.7896 16.2245 11.7896C16.0076 11.7896 15.8315 11.9656 15.8315 12.1825V13.3615H15.4385C14.3551 13.3615 13.4736 14.2429 13.4736 15.3264V16.1124C13.4736 17.1958 14.3551 18.0773 15.4385 18.0773H17.0105C17.6605 18.0773 18.1894 18.6062 18.1894 19.2562V20.0422C18.1894 20.6922 17.6605 21.2211 17.0105 21.2211H16.6175V18.8632C16.6175 18.6463 16.4414 18.4703 16.2245 18.4703C16.0076 18.4703 15.8315 18.6463 15.8315 18.8632V21.2211H15.4385C14.7886 21.2211 14.2596 20.6922 14.2596 20.0422C14.2596 19.8253 14.0835 19.6492 13.8666 19.6492C13.6497 19.6492 13.4736 19.8253 13.4736 20.0422C13.4736 21.1256 14.3551 22.0071 15.4385 22.0071H15.8315V23.186C15.8315 23.403 16.0076 23.579 16.2245 23.579C16.4414 23.579 16.6175 23.403 16.6175 23.186V22.0071H17.0105C18.0939 22.0071 18.9754 21.1256 18.9754 20.0422V19.2562C18.9754 18.1728 18.0939 17.2913 17.0105 17.2913H16.6175V14.9334C16.6175 14.7165 16.4414 14.5404 16.2245 14.5404C16.0076 14.5404 15.8315 14.7165 15.8315 14.9334V17.2913H15.4385C14.7886 17.2913 14.2596 16.7624 14.2596 16.1124V15.3264C14.2596 14.6764 14.7886 14.1474 15.4385 14.1474Z",fill:"#97C3B9"}),t.createElement("circle",{cx:113.263,cy:25.2632,r:8.76316,fill:"#97C3B9",fillOpacity:.2,stroke:"#97C3B9"}),t.createElement("path",{d:"M113.388 25.3887C113.467 25.3096 113.574 25.2653 113.686 25.2653H114.95C115.061 25.2653 115.169 25.3096 115.248 25.3887C115.327 25.4677 115.371 25.5748 115.371 25.6865C115.371 25.7982 115.327 25.9054 115.248 25.9843C115.169 26.0633 115.061 26.1077 114.95 26.1077H113.686C113.574 26.1077 113.467 26.0633 113.388 25.9843C113.309 25.9054 113.265 25.7982 113.265 25.6865C113.265 25.5748 113.309 25.4677 113.388 25.3887Z",fill:"#97C3B9"}),t.createElement("path",{d:"M112.843 28.6352H116.213V28.631C116.325 28.631 116.432 28.6754 116.511 28.7544C116.59 28.8334 116.635 28.9406 116.635 29.0522C116.635 29.1639 116.59 29.2711 116.511 29.3501C116.432 29.4291 116.325 29.4735 116.213 29.4735H110.316C110.204 29.4735 110.097 29.4291 110.018 29.3501C109.939 29.2711 109.895 29.1639 109.895 29.0522C109.895 28.9406 109.939 28.8334 110.018 28.7544C110.097 28.6754 110.204 28.631 110.316 28.631H112.001V27.7885C111.993 27.2018 111.849 26.625 111.58 26.1035H110.737C110.626 26.1035 110.518 26.0592 110.439 25.9801C110.36 25.9011 110.316 25.794 110.316 25.6823C110.316 25.5706 110.36 25.4634 110.439 25.3845C110.518 25.3055 110.626 25.261 110.737 25.261H111.074L110.813 24.8693C110.49 24.3854 110.317 23.8168 110.316 23.2348V22.7378C110.316 22.0675 110.582 21.4246 111.056 20.9506C111.53 20.4766 112.173 20.2103 112.843 20.2103H113.686C114.356 20.2103 114.999 20.4766 115.473 20.9506C115.947 21.4246 116.213 22.0675 116.213 22.7378C116.213 22.8495 116.169 22.9566 116.09 23.0356C116.011 23.1146 115.904 23.159 115.792 23.159C115.68 23.159 115.573 23.1146 115.494 23.0356C115.415 22.9566 115.371 22.8495 115.371 22.7378C115.371 22.2909 115.193 21.8623 114.877 21.5464C114.561 21.2303 114.133 21.0528 113.686 21.0528H112.843C112.397 21.0528 111.968 21.2303 111.652 21.5464C111.336 21.8623 111.159 22.2909 111.159 22.7378V23.2348C111.163 23.643 111.286 24.0411 111.512 24.3806L112.064 25.2231C112.572 25.9839 112.843 26.878 112.843 27.7927V28.6352Z",fill:"#97C3B9"}),t.createElement("circle",{cx:108.263,cy:104.263,r:8.76316,fill:"#97C3B9",fillOpacity:.2,stroke:"#97C3B9"}),t.createElement("path",{d:"M110.789 108.053C110.789 107.941 110.745 107.834 110.666 107.755C110.587 107.676 110.48 107.632 110.368 107.632H108.263C107.705 107.632 107.169 107.41 106.774 107.015C106.38 106.62 106.158 106.085 106.158 105.526V105.105H108.684C108.796 105.105 108.903 105.061 108.982 104.982C109.061 104.903 109.105 104.796 109.105 104.684C109.105 104.572 109.061 104.465 108.982 104.386C108.903 104.307 108.796 104.263 108.684 104.263H106.158V103.421H109.526C109.638 103.421 109.745 103.377 109.824 103.298C109.903 103.219 109.947 103.112 109.947 103C109.947 102.888 109.903 102.781 109.824 102.702C109.745 102.623 109.638 102.579 109.526 102.579H106.158V102.158C106.158 101.599 106.38 101.064 106.774 100.669C107.169 100.274 107.705 100.053 108.263 100.053H110.368C110.48 100.053 110.587 100.008 110.666 99.9292C110.745 99.8503 110.789 99.7432 110.789 99.6315C110.789 99.5198 110.745 99.4127 110.666 99.3338C110.587 99.2548 110.48 99.2104 110.368 99.2104H108.263C107.481 99.2104 106.732 99.521 106.179 100.074C105.626 100.626 105.316 101.376 105.316 102.158V102.579H104.474C104.362 102.579 104.255 102.623 104.176 102.702C104.097 102.781 104.053 102.888 104.053 103C104.053 103.112 104.097 103.219 104.176 103.298C104.255 103.377 104.362 103.421 104.474 103.421H105.316V104.263H103.632C103.52 104.263 103.413 104.307 103.334 104.386C103.255 104.465 103.21 104.572 103.21 104.684C103.21 104.796 103.255 104.903 103.334 104.982C103.413 105.061 103.52 105.105 103.632 105.105H105.316V105.526C105.316 106.308 105.626 107.058 106.179 107.61C106.732 108.163 107.481 108.474 108.263 108.474H110.368C110.48 108.474 110.587 108.429 110.666 108.35C110.745 108.271 110.789 108.164 110.789 108.053Z",fill:"#97C3B9"}),t.createElement("circle",{cx:12.6316,cy:94.3159,r:8.76316,fill:"#97C3B9",fillOpacity:.2,stroke:"#97C3B9"}),t.createElement("path",{d:"M14.2506 95.8057C14.4476 95.8057 14.6068 95.9653 14.6068 96.162C14.6068 96.3586 14.4476 96.5182 14.2506 96.5182H13.5381C13.341 96.5182 13.1818 96.3586 13.1818 96.162C13.1818 95.9653 13.341 95.8057 13.5381 95.8057H14.2506Z",fill:"#97C3B9"}),t.createElement("path",{d:"M14.2506 94.3808C14.4476 94.3808 14.6068 94.5404 14.6068 94.737C14.6068 94.9337 14.4476 95.0933 14.2506 95.0933H12.8255V99.0121C12.8255 99.2088 12.6663 99.3684 12.4693 99.3684C12.2723 99.3684 12.113 99.2088 12.113 99.0121V96.5183H10.688C10.491 96.5183 10.3317 96.3587 10.3317 96.1621C10.3317 95.9654 10.491 95.8058 10.688 95.8058H12.113V95.0933H10.688C10.491 95.0933 10.3317 94.9337 10.3317 94.737C10.3317 94.5404 10.491 94.3808 10.688 94.3808H12.0286L9.33135 90.6717C9.21557 90.5124 9.25084 90.2898 9.41009 90.174C9.56933 90.0579 9.79235 90.0931 9.90742 90.2524L12.4693 93.775L15.0315 90.252C15.1466 90.0928 15.3696 90.0576 15.5288 90.1737C15.6884 90.2894 15.7234 90.5121 15.6076 90.6714L12.91 94.3808H14.2506Z",fill:"#97C3B9"}),t.createElement("circle",{cx:93.4736,cy:7.57899,r:1.68421,fill:"#97C3B9"}),t.createElement("circle",{cx:38.7368,cy:111.158,r:1.68421,fill:"#97C3B9"})),X=o(D)`
|
|
2
2
|
justify-content: space-between;
|
|
3
3
|
height: auto;
|
|
4
4
|
width: 100%;
|
|
@@ -76,4 +76,4 @@ import{V as r,aN as W,aO as w,F as v,ab as k,aY as A,aT as D,o as s,aj as b,bO a
|
|
|
76
76
|
`,k1=o(D)`
|
|
77
77
|
flex-direction: row;
|
|
78
78
|
justify-content: space-between;
|
|
79
|
-
`;function
|
|
79
|
+
`;function u1(e){switch(e){case"cost_of_sales":return"Revenues";case"cash_in_cash_out":return"Cash In, Cash Out";case"cash_position":return"Cash Position";case"operating_expenses":return"Operating Expenses";case"revenue":return"Revenues";default:return"Insights"}}const f1=({card:e,actions:a,data:n,activeCardIndex:c,activeCardType:l,analytics:f})=>{const[g,h]=u.useState(0),[p,m]=u.useState(0),[d,x]=u.useState("left");t.useEffect(()=>()=>{h(0),m(0)},[]);const H=(i,C)=>{i.stopPropagation(),x(C);const T=C=="left"?c+1:c-1,I=y(T);E(I)};function E(i){const C=u1(n?.[i].insightType);f?.trackInsightsNavigation(S.Event.insights,C),a.onUpdateSelectedInsightIndex?.(i)}function $(i){h(i.targetTouches[0].clientX)}function V(i){m(i.targetTouches[0].clientX)}function y(i){return n!=null?i<0?n.length+i:i%n.length:0}function _(){g-p>50&&p!==0?(E(y(c+1)),x("left"),h(0),m(0)):g-p<-50&&p!==0&&(E(y(c-1)),x("right"),h(0),m(0))}return r.jsx(g1,{dimension:e.dimension,dataArrLength:n?.length??0,onTouchStart:i=>$(i),onTouchMove:i=>V(i),onTouchEnd:()=>_(),onClick:()=>a.onCardClick(c,l,"Insights"),"data-testid":k("dashboard-insights-card",l),children:r.jsxs(k1,{children:[r.jsx(M,{children:r.jsx(B,{"data-testid":k("dashboard-navigation-arrow-left",e.cardType),navType:"left",handleClick:H})}),r.jsxs(M,{style:{height:"100%",position:"relative",alignItems:"center"},children:[n?.map((i,C)=>r.jsx(A,{activeCardIndex:c,currentIndex:C,which:d,children:r.jsx(m1,{insight:i})},C)),r.jsx(N,{"data-testid":k("dashboard-navigation-dots",e.cardType),numberOfDots:n?.length??0,activeIndex:c,style:{position:"absolute",bottom:0}})]}),r.jsx(M,{children:r.jsx(B,{"data-testid":k("dashboard-navigation-arrow-right",e.cardType),navType:"right",handleClick:H})})]})})};function x1(e){switch(e){case"cost_of_sales":return"revenue";case"cash_in_cash_out":return"cash_in_cash_out";case"cash_position":return"cash_position";case"operating_expenses":return"operating_expenses";case"revenue":return"revenue";default:return"insights_dashboard"}}function E1({card:e,actions:a,data:n,analytics:c,dndProps:l}){const f=n?.selectedInsightIndex??0,g=n?.insights[f],h=x1(g?.insightType),p=n?.insights==null||n?.insights.length===0;function m(){return r.jsx(W,{isDragging:l?.draggedCardType!=null,isDragOver:l?.dragOverCard===e.cardType,draggable:!0,onDragStart:d=>l?.onDragStart(e.cardType,d),onDragOver:d=>l?.onDragOver(d,e.cardType),onDragLeave:d=>l?.onDragLeave(d),onDrop:d=>l?.onDrop(d,e.cardType),dimension:e.dimension,children:r.jsx(K,{card:e,actions:a,children:p?r.jsx(Q,{card:e}):r.jsx(f1,{card:e,actions:a,data:n?.insights,activeCardIndex:n?.selectedInsightIndex??0,activeCardType:h,analytics:c})})},e.cardIndex)}return r.jsx("div",{children:m()})}const A1=u.memo(E1);export{A1 as MemoInsightsCardStack,E1 as default};
|