@zeniai/web-cockpit-ui 1.14.22-dev → 1.14.23-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-Csc8UPGK-C5DTl14D.js → ACHDetailsPage-DZv7I3Jm-zPHhT4Vj.js} +3 -3
- package/dist/assets/{AIPerformancePage-BNK1zghX-CXpkKBhu.js → AIPerformancePage-DCq95N_N-DO8MzOBI.js} +26 -26
- package/dist/assets/{AccountInfoPage-WoQj1Knu-Cxdf_g3B.js → AccountInfoPage-wfDS5ToF-BkRJ-lxL.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-BsiMZrTm-DfeZwew1.js → AccountInfoPageContent-dgeBtGlm-BSaBGsXw.js} +15 -15
- package/dist/assets/{AccountLockedInfoModal-CaIpZQOZ-DUBexURk.js → AccountLockedInfoModal-CqjvVPUE-Cma-cVvt.js} +3 -3
- package/dist/assets/{AccountReconDetailsDrawerPage-BQTm9Igh-bRUuCvDt.js → AccountReconDetailsDrawerPage-BJ1TTvni-CnFKI7ya.js} +11 -11
- package/dist/assets/{AccountRow-mHhwnvVT-61DHuT3I.js → AccountRow-99zfxKet-iP3hUTyF.js} +19 -19
- package/dist/assets/{AccountsPromoCardStack-jk87J-uY-CYM3oaB-.js → AccountsPromoCardStack-CZwrQBcr-BLPwkeVU.js} +8 -8
- package/dist/assets/{AddAddressForCardDrawer-BY-ABNiB-C1fgvotd.js → AddAddressForCardDrawer-BcOX27nY-CA-KCO8n.js} +2 -2
- package/dist/assets/{AddToWalletPage-BmaqhQ_z-fr9KNRwo.js → AddToWalletPage-CoW0Ppg4-WAfWgl1v.js} +14 -14
- package/dist/assets/{AgingReportsPage-B2tfefId-BY1ufaPI.js → AgingReportsPage-Dgi5oFl4-Cao6O7NF.js} +10 -10
- package/dist/assets/{AllUserItems-C5jB4yc_-bcEnXv8A.js → AllUserItems-6iESftSq-BBGiJxHd.js} +9 -9
- package/dist/assets/{ApAgingDetailPage-B-ZHX3JJ-Dm0NOaoH.js → ApAgingDetailPage-jEL75hOV-BLy4yEPM.js} +3 -3
- package/dist/assets/{AppBasePage-DOXcrTCE-BU2ssx1Y.js → AppBasePage-CMHbFdBh-DTT6hgO7.js} +3 -3
- package/dist/assets/{AppDrawerContent-Cav4Sy09-XmmoSBRe.js → AppDrawerContent-NAyrnDCL-B7ak2Xor.js} +40 -19
- package/dist/assets/{ApprovalRulesSettingsPage-rzr9k2jA-BhZWVqKA.js → ApprovalRulesSettingsPage-BWraRVsT-BRbAilw6.js} +5 -5
- package/dist/assets/{ArAgingChart-B3NtEWh--G5H5BTO1.js → ArAgingChart-DPrIHwSE-ym_zT_Xu.js} +9 -9
- package/dist/assets/{ArAgingDetailPage-uX2oVxj4-B2CH08AV.js → ArAgingDetailPage-CdNiD7uR-DccUXEIa.js} +4 -4
- package/dist/assets/{AttachmentView-BQMzs_UT-DjbZBXs7.js → AttachmentView-Cmh726Zl-C82E74gy.js} +3 -3
- package/dist/assets/{BankAccountSection-MWGcLsKa-DYMEitGJ.js → BankAccountSection-jRnEB-Ut-BpoXdxMl.js} +4 -4
- package/dist/assets/{BankAccountWarningSection-CBlOG9xN-KyoF0Xjl.js → BankAccountWarningSection-KznYA-cf-CV3aOKhB.js} +3 -3
- package/dist/assets/{BankConnectionsSettingsPage-PagAlxUn-CnNwI2lQ.js → BankConnectionsSettingsPage-BXrsOxcg-CZU1wEnM.js} +15 -15
- package/dist/assets/{BillDetailPage-DU3KKWCI-Dgx7cNS3.js → BillDetailPage-glKjF2MJ-CxnS8ehW.js} +5 -5
- package/dist/assets/{BillPayApprovalRuleDetailPage-DzfhQmLn-0k3Mkm1z.js → BillPayApprovalRuleDetailPage-DyH2jp6G-BgnVnU6E.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-B051t9Mv-Bz466D-_.js → BillPayApprovalRulesPage-jctlpXwj-sMvcDhpz.js} +11 -11
- package/dist/assets/{BillPayPromoPage-DvBp9dFZ-DT65a4C3.js → BillPayPromoPage-DGyWwW1t-B2E2k4g7.js} +32 -32
- package/dist/assets/{BillPaySetUpPage-D7335PCo-lcC21Rm6.js → BillPaySetUpPage-UfM6FOqW-wZRanfNP.js} +2 -2
- package/dist/assets/{BillingSettingsPage-PsWVXatK-Df6MXAqh.js → BillingSettingsPage-BfMIxeqM-C_WtlbYK.js} +5 -5
- package/dist/assets/{BillsBulkReviewDrawerPage-Dkq-bCpf-QfTbq_6Y.js → BillsBulkReviewDrawerPage-DhoLC2aT-Cih70QQk.js} +1 -1
- package/dist/assets/{BoxItem-Bf9DDBGl-B4tzyane.js → BoxItem-CIOib-WX-Cvut8WLk.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-DZpS0b_1-DhH_xv3P.js → BusinessVerificationPage-Czf-y16x-BBZA7C_w.js} +14 -14
- package/dist/assets/{CardNumberSubText-8FNDlBHV-xefYK_FQ.js → CardNumberSubText-B8CivrXd-CzHZkmhR.js} +2 -2
- package/dist/assets/{CashbackDetailPage-CUc07auE-CayGCDQt.js → CashbackDetailPage-BOTxd8DW-CNmZsYqR.js} +17 -17
- package/dist/assets/{ChargeCardDetailPage-D84v0WwQ-Drf4gFgi.js → ChargeCardDetailPage-DbtvRfDc-CRGJceoy.js} +40 -40
- package/dist/assets/{ChargeCardListPage-BFssQAQg-Dr6YIgl1.js → ChargeCardListPage-Q1zat_TQ-BbazZeau.js} +18 -18
- package/dist/assets/{ChargeCardListTable-BuI0T0Bn-DXKO7Y7U.js → ChargeCardListTable-CKH-EZW4-CiPC1KQt.js} +28 -28
- package/dist/assets/{ChargeCardPromoPage-CRqyciNL-FrtjBhKN.js → ChargeCardPromoPage-BRkny-dl-BA8MhBiS.js} +30 -30
- package/dist/assets/ChargeCardSetupPage-DM15gWD1-rI_IQnGw.js +36 -0
- package/dist/assets/{ChargeCardStatementsPage-BtImi0Pc-D6s-jUZ3.js → ChargeCardStatementsPage-xedf3XEE-CzGfRvhd.js} +7 -7
- package/dist/assets/{ChargeCardUtils-DQztOSYJ-DZxY6wV1.js → ChargeCardUtils-D4KmVUMt-Bgc7_40s.js} +1 -1
- package/dist/assets/{ChaseOverlay-BaGgoJZk-L4zZNkyz.js → ChaseOverlay-IbWtzNzT-CiTCJc7A.js} +10 -10
- package/dist/assets/{CheckDepositDrawerPage-90KwCes_-BFVP9Xnd.js → CheckDepositDrawerPage-BCIvt4pQ-BUO3GGvc.js} +6 -6
- package/dist/assets/{CollapsableReportTable-dCUjgg1X-DLs7OVqc.js → CollapsableReportTable-jOFcWQi9-BD7j44zD.js} +109 -109
- package/dist/assets/{CompanyOfficerDetailsSection-B5d06n1B-shOCzvZi.js → CompanyOfficerDetailsSection-DMCZTk1e-CevbfEQw.js} +20 -20
- package/dist/assets/{CompanyPassportCard-BOuhptIV-CVEQtf9Q.js → CompanyPassportCard-BbJLMFqe-CAuk2TxY.js} +1 -1
- package/dist/assets/{CompanyPassportPage-CPxR1IKu-B6sc0yZA.js → CompanyPassportPage-BwCMcjB9-C5l65FSQ.js} +25 -25
- package/dist/assets/{CompleteProfile-BIN-sI3M-1L7bxHe9.js → CompleteProfile-Dz4laW45-D0LCAfKu.js} +1 -1
- package/dist/assets/{ConfettiBurst-nTrV9Xfw-D3DkhcOF.js → ConfettiBurst-B2j3QxzW-BoOT7g5H.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-CQH4Gfy0-DBGaDkEf.js → CreateOrEditVendorPage-z2chPZUl-moxdaTde.js} +12 -12
- package/dist/assets/{CreditCardPaymentDrawerPage-C3PvfNmm-amz8Ne7l.js → CreditCardPaymentDrawerPage-Z9RiL1h7-BimNMSu_.js} +17 -17
- package/dist/assets/{CreditCardPaymentPlgSection-Cz-CSdKg-DO4yi827.js → CreditCardPaymentPlgSection-Cg-oo7DU-CbeaX1ko.js} +10 -10
- package/dist/assets/{CurrencySelectField-ltt1zExP-D2omcj4n.js → CurrencySelectField-CxNprN2u-CPSD5Bje.js} +2 -2
- package/dist/assets/{CustomerOnboardingActivationPage-Cst56yLP-ejyq0w3C.js → CustomerOnboardingActivationPage-diAJ07bX-sBysngto.js} +4 -4
- package/dist/assets/CustomerOnboardingContainerPage-BZzvupuA-CSzku5k4.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-H59MLCwU-KBQed5cV.js → CustomerOnboardingDetailPageSkeleton--8DBjaCm-B9kNPkv6.js} +11 -11
- package/dist/assets/CustomerOnboardingNoStepsPage-Ccq8kI-v-D3QEvGB2.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-1o2R-ghV-DIOBtRSu.js → CustomerOnboardingPage-s3GNwP8c-p7WLMkGR.js} +6 -6
- package/dist/assets/CustomerOnboardingProductSuitePage-C-tToXNK-4Ab_CkNQ.js +202 -0
- package/dist/assets/{Dashboard-CptSiho6-CYuyH4KA.js → Dashboard-BtcnzaY6-gJck50nw.js} +230 -230
- package/dist/assets/{DashboardReportPage-G32NOQFe-BOVMH67u.js → DashboardReportPage-C6jLfLtF-BPfMWD5H.js} +9 -8
- package/dist/assets/DashboardSidebarBackgroundAnimation-s8Nl8CmH-Dm61fSUI.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-CQX9MBK--x7S3np6v.js → DepositAccTransactionItem-Bm63W_1e-5FIgWMcL.js} +1 -1
- package/dist/assets/DepositAccTransactionListPage-D4QcTw4n-1uhB2yjw.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-Bgm_YYHM-C2zlQj9Q.js → DomesticWireDetailsPage-DX0BA5i3-Ea2aCTYV.js} +1 -1
- package/dist/assets/{DownloadOverlay-DN4zwFl5-BWBizCPI.js → DownloadOverlay-BcH72YTL-B8MaexAj.js} +1 -1
- package/dist/assets/{DrawerPage-B-jrvyA1-D5alUPyS.js → DrawerPage-CzHhh0IP-BIFSEwpr.js} +10 -10
- package/dist/assets/{EditPeoplePage-BTXEd5bm-DPBckywd.js → EditPeoplePage-Z5btEDax-BKTta_xp.js} +7 -7
- package/dist/assets/{EditReimbursementDetailPage-5-BeM3DC-BRw6nxEw.js → EditReimbursementDetailPage-D_FsqRgU-DhM4BWkK.js} +74 -74
- package/dist/assets/{EntityDetailPage-CCTwe1iu-DAg47Prp.js → EntityDetailPage-Bc4YVpPC-DWs1zPrx.js} +3 -3
- package/dist/assets/{EntitySummarySection-B7uoP2ou-DZ_drzmW.js → EntitySummarySection-Ba6AWxNi-BdQCQZ3F.js} +4 -4
- package/dist/assets/ExpenseAutomationOverviewPage-Cg0sM_PI-vkhdPOgy.js +222 -0
- package/dist/assets/{ExpenseAutomationPage-o8ox1q0R-W0eDJCTN.js → ExpenseAutomationPage-EjI20a6v-rIac0d4o.js} +90 -90
- package/dist/assets/{ExpressPayPage-BdUERste-C5P04O3w.js → ExpressPayPage-562vstqT-BTrZQzDN.js} +10 -10
- package/dist/assets/{FeaturePreviewPage-B6_exSoS-Do4_f9l1.js → FeaturePreviewPage-eUvRNjsx-D93wu9_Y.js} +1 -1
- package/dist/assets/{FollowStepsSection-BoA-EzkO-CtKbn8f6.js → FollowStepsSection-D60JM8h_-WgnL9DSD.js} +11 -11
- package/dist/assets/{GlobalReviewListPage-CYjobk5Y-BRiHcGuf.js → GlobalReviewListPage-BpXEtrb4-CJJjyGfo.js} +6 -6
- package/dist/assets/HelpButton-hflpTkYP-BxxKYxfC.js +28 -0
- package/dist/assets/{InformationCardStack-Dvu4sQsc-BlKJwxKC.js → InformationCardStack-BsxmscQq-CSrArWRb.js} +3 -3
- package/dist/assets/{InsightsCardStack-DffcRWuM-BTqxOdqS.js → InsightsCardStack-5JDl2mCA-CZ5TshWK.js} +7 -7
- package/dist/assets/{InsightsSection-C8Oi6wcZ-D3wuyBHx.js → InsightsSection-DsO5tfQL-CBUNqXt7.js} +4 -4
- package/dist/assets/{IntegrationsSettingsPage-C0VZQfG_-ks1Gh_uy.js → IntegrationsSettingsPage-MQDeidS6-BKVTNE0x.js} +6 -6
- package/dist/assets/{InternationalWireSwiftDetailsPage-SAcvo9BB-BCh0Bmwt.js → InternationalWireSwiftDetailsPage-CpT4WPn3-b0nQCCWc.js} +14 -14
- package/dist/assets/{InternationalWireVerificationPage-8Ff3v4gu-BQsNCeNp.js → InternationalWireVerificationPage-DlBFLwxy-BIViCBlF.js} +5 -5
- package/dist/assets/InviteFormPage-D0QCEMkX-DZr12vmY.js +312 -0
- package/dist/assets/{InvitePageListView-DG91-L1w-HUdilJLK.js → InvitePageListView-CVf8HrhY-cBhycZNO.js} +24 -24
- package/dist/assets/{InvitePeoplePage-6ANmf4z2-D3l-3sjy.js → InvitePeoplePage-Dg7iuq2i-Cx5QFhMU.js} +4 -4
- package/dist/assets/{InvoiceUploadSection-C4O7GGrv-DEO_7ppT.js → InvoiceUploadSection-BuwWumE2-CTijWOqK.js} +5 -5
- package/dist/assets/{IssueChargeCardPage-gohjPIRu-KdDkWZ0o.js → IssueChargeCardPage-DL23WAiQ-CCNHr1-9.js} +26 -26
- package/dist/assets/{LabeledAddressValue-C6EUPzNB-f8CKs718.js → LabeledAddressValue-CnL_9Mgq-C1-zs_ut.js} +1 -1
- package/dist/assets/LabeledAddressValueField-DLou-2Lm-30_LmoCw.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-TB_2rc3R-DL54XhuW.js → LabeledControlledCheckBoxField-DqrqiFhz-GyWAbp3D.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-CdgNcgTu-CwOMlXoT.js → LabeledCreatableSingleSelectField-CxnC4AFe-BOkJ5-5r.js} +8 -8
- package/dist/assets/{LabeledDocumentField-CzTqgS97-CVWMa21M.js → LabeledDocumentField-By7zV2VD-Deh87JH9.js} +4 -4
- package/dist/assets/{LabeledDropDownFormattedTextField-CVzL0J5a-D5_Y7iWl.js → LabeledDropDownFormattedTextField-BF37XlAJ-B3ToXjDJ.js} +6 -6
- package/dist/assets/{LabeledText-BICN3vpf-Lk4PuYrJ.js → LabeledText-D4fC1Hz2-Cxv5m94v.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-VeWNep8c-tP0CG0Iv.js → LabeledUserSingleSelectWithSubtitlesField-DMxSLbjX-B9c0Mx1N.js} +7 -7
- package/dist/assets/{LabeledZeniRolesDropDownField--Jr1KizL-SyZHoQyC.js → LabeledZeniRolesDropDownField-CTA3JLz4-D4MXXizm.js} +17 -17
- package/dist/assets/{LinkJETransactionPage-BNWOmBHj-C6dNtx3m.js → LinkJETransactionPage-CLAyFAJh-Dm40KZjj.js} +5 -5
- package/dist/assets/{LowBalancePopup-Dhrtsv_E-B0rnJzet.js → LowBalancePopup-TCSP5zrD-BmN6CG0D.js} +7 -7
- package/dist/assets/{MagicLinkACHDetailsPage-Brt9q6YZ-ByLyPANb.js → MagicLinkACHDetailsPage-C9sNEDPT-D6e_XUAG.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-CkSEgmKP-DxqY0_R2.js → MagicLinkDomesticWireDetailsPage-D4C-a5QY-DOB7ds5g.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-CqYC7uu7-CV88Q6h1.js → MagicLinkInternationalWireDetailsPage-oKAXWkRz-ICvIdgn3.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-VR-HSAYZ-DUCuiXm5.js → MagicLinkSuccessPage-DTKe1Hxk-D3l_qzGn.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-T6m2zH4A-C4uTRZc1.js → MagicLinkTitleSection-BZ9PbTY5-DGA-Kfl0.js} +4 -4
- package/dist/assets/{MailingDetailsSection-B6ZCAac5-CjQ8hXZb.js → MailingDetailsSection-DOuPh_kK-CJdFvtR9.js} +6 -6
- package/dist/assets/{MeetingCalenderPopup-CgzTeE14-BMiIqHVm.js → MeetingCalenderPopup-Bn5picNg-BZadZTcq.js} +1 -1
- package/dist/assets/{Menu-DOJJ_REW-BwD6B3Nk.js → Menu-D_vf2LDo-39KwK8wM.js} +3 -3
- package/dist/assets/{MyBankConnectionsSettingsPage-C_NrRV7T-BjsWlM7P.js → MyBankConnectionsSettingsPage-DJZVD_j4-CYkcPYeU.js} +14 -14
- package/dist/assets/{MyPendingActivationChargeCardListPage-CNHCZPs--fg7FpZSk.js → MyPendingActivationChargeCardListPage-DyhXBMCi-DtFEW_4I.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-CIfFufvo-uBNLzBNw.js → MyProfileSettingsPage-gPNoKP10-gCIICwqR.js} +10 -10
- package/dist/assets/{NavBarWithPicker-CvhnGryh-CauN1w5W.js → NavBarWithPicker-BlYfbDi0-BiD5rNBH.js} +5 -5
- package/dist/assets/{NavigationArrow-CXkUidH6-fqvGvSGZ.js → NavigationArrow-CQ_K0Bon-C-8VFiTg.js} +1 -1
- package/dist/assets/{NavigationDots-hBq7kHVj-Vj1p5Rqn.js → NavigationDots-CI0cjpQA-B6oVaxeu.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-DORHvz4D-CYDIdofb.js → NewGlobalMerchantPage-BHQiRWO8-or4Uc_HY.js} +6 -6
- package/dist/assets/{NoDataChart-C4KqN3ua-6H0vHNsB.js → NoDataChart-Dg1_sU_O-flEThGvM.js} +1 -1
- package/dist/assets/{NoDataTable-DaX07HI0-B6ZwwCAM.js → NoDataTable-qTYBbL2H-BGrSHe_q.js} +1 -1
- package/dist/assets/{NotFoundPage-BIh20jzm-BXLRcjFX.js → NotFoundPage-DYjrSF7l-D7C6Z_Gh.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-gU3g8rJ2-Au_WueGH.js → NotificationSettingsPage-DZHlnrbH-D8paihJx.js} +13 -13
- package/dist/assets/NotificationsListConfig-BSBZHM3y-CGdVXHfi.js +1 -0
- package/dist/assets/{NotificationsPage-oy3LHVU2-C0LKRRGq.js → NotificationsPage-QgnztPHs-CnFUIBHp.js} +35 -35
- package/dist/assets/{OpExByVendorPage-D8jXzTd6-CpwZHxBM.js → OpExByVendorPage-_AMvFFwS-DGSt9CNm.js} +7 -7
- package/dist/assets/{OverlayContainerPage-Bmu909Fo-Drnebvl5.js → OverlayContainerPage-Bmu909Fo-CI9x-FUu.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-BQW2_QDB-BVhcDW_t.js → PandLWithForecastPage-D_3EfFjd-JoBuR2Ry.js} +10 -10
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-CY9QJXXs-ByBDQvaD.js → PaymentAccountSetupBillingAddressSection-Ch5yJBuG-Czoqfz5V.js} +5 -5
- package/dist/assets/{PeoplePage-B7s3mjRX-BNB49xB2.js → PeoplePage-DZr3Lusf-M76DhnJE.js} +23 -23
- package/dist/assets/PortfolioAllocationFormPage-Byu_8Js7-CWAHnet9.js +207 -0
- package/dist/assets/{PortfolioDetails-BFqRNjFs-DdtIdWXw.js → PortfolioDetails-BH-sfG9j-CdKUfZw3.js} +19 -19
- package/dist/assets/{ProductsCarousel-BaTq9uMB-DT3_7m1I.js → ProductsCarousel-C4J19mb--DcgR5jdw.js} +5 -5
- package/dist/assets/{PromoBaseCards-Bf3Dizji-DFvWixK1.js → PromoBaseCards-Bj4SLu8_-CC7a127A.js} +7 -7
- package/dist/assets/{QBOConnectionDialog-DhOSSZ5O-BcCZx_dG.js → QBOConnectionDialog-Bx6ZDEvY-BRYqXjwh.js} +7 -7
- package/dist/assets/{QBOSetupSection-BWJoUKzu-DC5g6xXu.js → QBOSetupSection-BCdoUjwK-BF2gwacX.js} +9 -9
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CiebC6vq-B0xwHjcZ.js → ReimbursementApprovalRuleDetailPage-DsTMXav9-B1Ngpniy.js} +2 -2
- package/dist/assets/{ReimbursementApprovalRulesPage-gKLkrIyV-DxnMuJiA.js → ReimbursementApprovalRulesPage-CJLcH9Ov--aMB2wIm.js} +9 -9
- package/dist/assets/{ReimbursementDetailPage-BF4vlfIm-A5yNZHmb.js → ReimbursementDetailPage-Ctgt3Dcz-Bah5s5HT.js} +11 -11
- package/dist/assets/{ReimbursementPromoPage-BFwztEak-CceCs1UK.js → ReimbursementPromoPage-DCmevd5G-RVnIiUe8.js} +14 -14
- package/dist/assets/{ReimbursementSetUpPage-D1AVnqd4-CKntMkOU.js → ReimbursementSetUpPage-Dc9xJUbM-BRgUtgcr.js} +4 -4
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BsqdpOS_-B3Pgz4a_.js → ReimbursementsBulkReviewDrawerPage-CKjHGxjw-DAh9TKrH.js} +1 -1
- package/dist/assets/{ReloadCard-BmYf1NZf-DhNr8urp.js → ReloadCard-DxJMY9If-DFVN_BWj.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-yTxheyC3-CSqeEY6U.js → ReportTableViewSelector-lMBROmrI-C57N0Ev_.js} +11 -11
- package/dist/assets/{ReportsPage-DZtCp9CP-GUEOyiOt.js → ReportsPage-DMYLnwc7-C986BuH8.js} +10 -10
- package/dist/assets/{RevenueChart-CXSh5l_p-dQ5RnZTk.js → RevenueChart-DD8vb3zi-DI64DZjn.js} +1 -1
- package/dist/assets/ReviewDetailsPage-C-6hNb3q-Bs8iB-Q6.js +290 -0
- package/dist/assets/{ReviewOverlay-B2jf6tfG-D_9vNPuM.js → ReviewOverlay-sqbjCjkE-BYmWnWTV.js} +10 -10
- package/dist/assets/{RoleWithToolTip-DHdLJcWR-GnlXHGj6.js → RoleWithToolTip-BpMhPbAJ-D4xuhbtR.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CY0i2n7i-9GRv9Sh2.js → ScheduleDetailsFixedAssetsPage-D1uRcS4p-n5wC_akR.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-CVh8-Sc9-BcDI1QHR.js → ScheduleDetailsPage-D8Cvxd7m-bSm3GRae.js} +4 -4
- package/dist/assets/{ScheduleSequenceTable-8qqeMhAk-COgow_cL.js → ScheduleSequenceTable-CvqXlh31-iJzQjEX9.js} +50 -50
- package/dist/assets/{ScreenRoutes-HggFEvBU.js → ScreenRoutes-CG3ALmQe.js} +1 -1
- package/dist/assets/SetUpAccountSection-CDXmRiGQ-DykmFmYq.js +378 -0
- package/dist/assets/{SetUpDefaultSection-BM57n5BV-BGP1G39B.js → SetUpDefaultSection-VPie4JZS-CUUkgLvy.js} +6 -6
- package/dist/assets/SignIn-9DfCxy9Q-D5TOW1KJ.js +407 -0
- package/dist/assets/{SignInScreen-BP8BTBPi.js → SignInScreen-C5ZC9m_8.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-BphSarNr-olaU5e62.js → SpendManagementListViewPage-Q5bQb3hk-BwLto-DN.js} +4 -4
- package/dist/assets/{SpendManagementPerTabPage-DCkS4HuZ-BoJws23h.js → SpendManagementPerTabPage-CD-kDdxa-BPnAzojr.js} +26 -26
- package/dist/assets/{SpendManagementSection-DKqHikhq-CsTWl7zh.js → SpendManagementSection-DGGOMGEz-BERrqLUW.js} +6 -6
- package/dist/assets/{SpendMgmtSetupAccountSection-BF7bb5O_-DSPc6rRK.js → SpendMgmtSetupAccountSection-CjqaRCUW-DdnBx9W6.js} +21 -21
- package/dist/assets/{StatementItem-Ki_Mzpf9-D38JqRpj.js → StatementItem-1vBLASxl-Bg-WCzCW.js} +4 -4
- package/dist/assets/{StatementsPage-B6XMWWpt-Dr9BGLnN.js → StatementsPage-cCluGN33-CUSb15rA.js} +1 -1
- package/dist/assets/{StatusSwitcher-BkAnAbyd-DQZA1a3w.js → StatusSwitcher-efLzDuyw-yZjEoNnl.js} +2 -2
- package/dist/assets/{SubTabSwitcher-Au3snima-DElPxhu-.js → SubTabSwitcher-BfYlJKJ6-0yeg6J8n.js} +1 -1
- package/dist/assets/{SummaryCard-B-IXQpJ7-Dg8CCNrn.js → SummaryCard-BsPejHZG-DSp7yYcI.js} +1 -1
- package/dist/assets/{TaskManagementPage-BPNEy-p0-BIbh7B8y.js → TaskManagementPage-CkdITpbn-BnN3mtBv.js} +31 -31
- package/dist/assets/{TimeRangeSwitcher-DpDC0FGn-CoKhjSY7.js → TimeRangeSwitcher-DVB0vP5W-Bka-ygDj.js} +5 -5
- package/dist/assets/{TimeframeSwitcher-D1cuigpc-D9PCDoa0.js → TimeframeSwitcher-BmhH741X-Bq2UrAGM.js} +2 -2
- package/dist/assets/{TimeframeSwitcherWithToggle-_2U17Wg0-Cc6NrQTz.js → TimeframeSwitcherWithToggle-B1bMIGal-PXrqXkjU.js} +1 -1
- package/dist/assets/{TopExCard-BWOozDK3-GMojpRJp.js → TopExCard-DBuo1QUF-Bqy_yS0O.js} +6 -6
- package/dist/assets/{TopExDetailPage-DpYLakrO-vsCGpsy3.js → TopExDetailPage-CGPgaWRb-BefBmW9C.js} +20 -20
- package/dist/assets/TransactionDetailPage-BUP-dxVE-Bluz2ZEA.js +912 -0
- package/dist/assets/TransactionList-DP9cEVya-Dnf5dIML.js +147 -0
- package/dist/assets/{TransactionListBig-CefZbd83-D9G3vxbN.js → TransactionListBig-B_s15U1P-DxO9dvuT.js} +15 -15
- package/dist/assets/{TransactionListPage-CM319tsV-DkNHohDS.js → TransactionListPage-DpYLFl8A-CtiLL9up.js} +6 -6
- package/dist/assets/{TransactionVendorDetailPage-Z7O-juRN-D3T9JsrE.js → TransactionVendorDetailPage-DqqSV533-DMSzEnyq.js} +4 -4
- package/dist/assets/{TransferDrawerPage-0vQtF6ID-fpHDlHlf.js → TransferDrawerPage-CxdQzo0m-DrhEn9ys.js} +79 -79
- package/dist/assets/{TreasuryOverviewPage-DaCuL9FX-BtE7UAml.js → TreasuryOverviewPage-D7vqj60i-DA26_cse.js} +22 -22
- package/dist/assets/{TreasuryPromoPage-BQ6Cuqoa-DpBYobqK.js → TreasuryPromoPage-BuxEHMpT-BDwacXK1.js} +12 -12
- package/dist/assets/{TreasurySetupPage-BJRBNCvY-DTKYqc-u.js → TreasurySetupPage-BIfbbeL3-V_YXLN-n.js} +4 -4
- package/dist/assets/{TreasuryStatementsPage-z6cg-MO_-B6xE_NLh.js → TreasuryStatementsPage-BeUdQZBc-XNPULVYt.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-DP-c4Sqo-DJ913yYo.js → TreasuryTaxLetterPage-uFRMjqLn-CGfm28c4.js} +1 -1
- package/dist/assets/{TreasuryTransferOrReviewPage-BGfIlPXx-DSEBAJOM.js → TreasuryTransferOrReviewPage-BWybwqhc-Cp5gifXq.js} +27 -27
- package/dist/assets/{TrendChart-BAMRDfp7-BazRtItt.js → TrendChart-7kPgcETh-CZhHOMVt.js} +4 -4
- package/dist/assets/{TrendWithTransactions-CgbouMHP-BeJkYy2u.js → TrendWithTransactions-DPby1I5u-yXfJ3Iyk.js} +8 -8
- package/dist/assets/{UncategorizedAccountsMappingPage-DUVjNpg2--ZQ9jdii.js → UncategorizedAccountsMappingPage-DEkSWWRY-BWS3cZYH.js} +11 -11
- package/dist/assets/{UnitIntegrationPage-DSWbn8gm-BF5pvmYs.js → UnitIntegrationPage-B5yzIJDg-DXMgkfWr.js} +3 -3
- package/dist/assets/{UploadAdditionalDocumentOverlay-BFn9gixM-TNCvf1wH.js → UploadAdditionalDocumentOverlay-Deu0hM2I-3QkNgcQ9.js} +8 -8
- package/dist/assets/{Vendor2FAPopup-CA-cVVNX-Br4ikl9I.js → Vendor2FAPopup-DUyiI_-r-CLW3sS1X.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-Hdw6gHNB-D1EJLe9f.js → VendorACHDetailsPage-DycUU3MN-Bh437Vzf.js} +1 -1
- package/dist/assets/{VendorDetailPage-CceVHonS-DTF5QB-w.js → VendorDetailPage-B9pWIvXP-p9O1B1Vq.js} +21 -21
- package/dist/assets/{VendorDomesticWireDetailsPage-ChF-hj1o-CRNdIBeH.js → VendorDomesticWireDetailsPage-Cs35uQOp-DDOAIhlv.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-BnMmu8g4-D-QjmAYA.js → VendorFiling1099EditablePage-BeuSWFCY-Ca6Gux7v.js} +11 -11
- package/dist/assets/{VendorFirstReviewPage-C9LNBxKs-iubpjCjr.js → VendorFirstReviewPage-ANhBsl69-D02KU5IA.js} +63 -63
- package/dist/assets/{VendorInternationalWireDetailsPage-B8F_1TYL-CehAU7df.js → VendorInternationalWireDetailsPage-BShiEKaz-BZSIpE6n.js} +31 -31
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-HuCjhvn4-DolPnQw8.js → VendorInternationalWireSwiftDetailsPage-B_NlK1ak-UtHTf4LD.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-Cj3NFdKN-B9ouaYU2.js → VendorsAccountsSection-BclWgEaB-DOMr50bF.js} +4 -4
- package/dist/assets/VerifyDevice-CRrOo66b-ZlA7gEbg.js +97 -0
- package/dist/assets/{VideoPopup-0LSxcyRX-CeJLs_Z5.js → VideoPopup-qS-ig_U0-VKyag34q.js} +3 -3
- package/dist/assets/{WarningsDrawerPage-DR9oeIuj-B1HHe12t.js → WarningsDrawerPage-DgRtxLoa-C9d8WcDP.js} +2 -2
- package/dist/assets/{ZeniAccountDetailPage-DHl0vyQ0-D4m750Dj.js → ZeniAccountDetailPage-B66nIr0V-6bf8tksW.js} +21 -21
- package/dist/assets/{ZeniAccountListViewPage-BC1yUQbd-DA-thvu8.js → ZeniAccountListViewPage-CWhZKmoP-42K6r0wR.js} +10 -10
- package/dist/assets/{ZeniAccountNavBarPieces-CpKh4Vxw-CQBSadEV.js → ZeniAccountNavBarPieces-C6MQhfnU-CnbDnx7e.js} +2 -2
- package/dist/assets/{ZeniAccountPromoPage-BaRzPlIW-DDgMDs51.js → ZeniAccountPromoPage-C-oF3-HO-DisOzRKq.js} +16 -16
- package/dist/assets/{ZeniAccountSetupPage-CveI2__B-BL7QVBOR.js → ZeniAccountSetupPage-DY-nCuiT-B3gBHMad.js} +4 -4
- package/dist/assets/{ZeniCopyright-D6e3OekQ-3nIDquq3.js → ZeniCopyright-rY1T9xhh-Dfov-yky.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-BqyHxYBn-DOVMp_BS.js → ZeniTransferAmountSlider-Bh5zkWst-Bed32C-4.js} +1 -1
- package/dist/assets/analytics-B3n5JGPc.js +7 -0
- package/dist/assets/{analyticsHelper-q5gZKv1q.js → analyticsHelper-B0L0ncmN.js} +1 -1
- package/dist/assets/{analyticsHelper-CYiy63P3-BIFQ1l_N.js → analyticsHelper-BcJgRhqY-D6z677ff.js} +1 -1
- package/dist/assets/chartTypes-BoblEsVF-BVffEXCf.js +1 -0
- package/dist/assets/{commonDimensions-DbTYS1hy-sQ0jQuuT.js → commonDimensions-CFd7y7qU-C7Jvc2Ks.js} +1 -1
- package/dist/assets/{detailCommon-BeqWtSZF-C3x-L6T7.js → detailCommon-MYixZ3RD-BFmVTLGA.js} +6 -6
- package/dist/assets/{downloadPdf-CLTp2aZt-DDw4mfQ_.js → downloadPdf-CgupyHRa-D9AEGU0d.js} +1 -1
- package/dist/assets/{index-P_4M6V8j.js → index-B8OsEhOZ.js} +753 -749
- package/dist/assets/{mapLoadingInProgressToTreeNode-Dl_IFb2l-Dr2U1vob.js → mapLoadingInProgressToTreeNode-B8Y_euQR-DOx1e8cj.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BAhSN9Et-BvR2g837.js → mapSectionWithAcOnlyToTreeNode-jBSc45Na-BDZbXmNV.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-3b46l63c-C8ssHh5s.js → mapSpacerToTreeNode-COy8gZAM-BaCmq5hE.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-3pTXOISe-CgCBO3AW.js → mapTimeframeBalancesToTreeNode-BodkMcFj-QmE2hfm4.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DJqcH4tL-s-wMhKIa.js → mapTimeframeBalancesToTreeNode-DXla81BF-zj0mJKeb.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-yhbtLbK2-Buokl7Z0.js → mapTimeframeHeaderLoadingInProgressToTreeNode-XVJ2Hm74-BHeVK-te.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-D49XFhoj-DjL9meL6.js → toCOABalancesWithID-CndsNNsv-CWYFJv_O.js} +1 -1
- package/dist/assets/{toChartData-C9pHl0xA-CKVc0-Yj.js → toChartData-B9eYLI57-CKqynvrs.js} +1 -1
- package/dist/assets/{treasuryColorHelper-CkjbPhqI-PraXB90r.js → treasuryColorHelper-D4iDeX95-DVOhzALi.js} +1 -1
- package/dist/assets/{uploadAttachment-BniS82zn-BreMBxbN.js → uploadAttachment-C2I6mBBB-CPoUzWwI.js} +14 -14
- package/dist/assets/{uploadReceipts-dxsKhm9I-wO4Dla2j.js → uploadReceipts-dxsKhm9I-YtN4h-4H.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ChargeCardSetupPage-BzqdaEET-j6EBeAK_.js +0 -36
- package/dist/assets/CustomerOnboardingContainerPage-B9rA9JXM-C9nb1PSk.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-B8cf9wWc-DoeA9g-j.js +0 -66
- package/dist/assets/CustomerOnboardingProductSuitePage-Dfv86gVc-xcmudBbw.js +0 -202
- package/dist/assets/DashboardSidebarBackgroundAnimation-DTkdczBR-Dm25xp1J.js +0 -12
- package/dist/assets/DepositAccTransactionListPage-C6lB4Qyv-67Okcjlq.js +0 -66
- package/dist/assets/ExpenseAutomationOverviewPage-Bz-2JPdW-DaIoHdOM.js +0 -222
- package/dist/assets/HelpButton-DEwtg0Ez-BLNCXJFp.js +0 -28
- package/dist/assets/InviteFormPage-CRRvruND-BlSp_6On.js +0 -312
- package/dist/assets/LabeledAddressValueField-CC4nYBb8-CmuRvhjZ.js +0 -45
- package/dist/assets/NotificationsListConfig-C14JCaD1-cAHM1Kht.js +0 -1
- package/dist/assets/PortfolioAllocationFormPage-eonsRKDg-CW4TIBlU.js +0 -207
- package/dist/assets/ReviewDetailsPage-DG7ms5Hy-bXyI7cqb.js +0 -290
- package/dist/assets/SetUpAccountSection-CKdSkMBO-Dgf4iucH.js +0 -378
- package/dist/assets/SignIn-BMjCrrGx-DVM_TdnN.js +0 -407
- package/dist/assets/TransactionDetailPage-Bxzam_ho-gn2TcHkj.js +0 -878
- package/dist/assets/TransactionList-CEfjoVPA-DR1uAuMl.js +0 -147
- package/dist/assets/VerifyDevice-dg83_W2W-DmiPoszu.js +0 -96
- package/dist/assets/analytics-CBL_L82S.js +0 -7
- package/dist/assets/chartTypes-sx4859ds-GbS6VOEl.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{W as a}from"./CollapsableReportTable-
|
|
1
|
+
import{W as a}from"./CollapsableReportTable-jOFcWQi9-BD7j44zD.js";function r({title:e,balances:n,config:t,nodeId:i}){return{children:[],id:i??a("loading_in_progress",[],e),isLastNode:!1,reportElementData:{element:{kind:"loading_in_progress",title:e,data:n,numOfBalances:n.length},config:t}}}export{r as d};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{W as m,x as N}from"./CollapsableReportTable-
|
|
1
|
+
import{W as m,x as N}from"./CollapsableReportTable-jOFcWQi9-BD7j44zD.js";import"./index-B8OsEhOZ.js";function D({calculatedSection:t,numOfBalances:c,title:n,isLastNode:i,config:r}){return{children:[],id:m("calculated_section",[],n),isLastNode:i,reportElementData:{element:{kind:"calculated_section",title:n,data:t,numOfBalances:c},config:r}}}function B({account:t,numOfBalances:c,title:n,config:i,parentNodeIDs:r,ancestorMetadata:e}){return{children:[],id:m("ac_subentity_total",r,t.account.accountId),isLastNode:!1,reportElementData:{element:{kind:"ac_subentity_total",title:n,data:t,numOfBalances:c,metadata:e},config:i}}}function g({account:t,sectionType:c,numOfBalances:n,title:i,isLastNode:r,config:e,parentNodeIDs:l,ancestorMetadata:s}){const o={children:[],id:m("ac_subaccount",l,t.account.accountId),isLastNode:r,reportElementData:{element:{kind:"ac_subaccount",title:i,sectionType:c,metadata:s,data:t,numOfBalances:n},config:e}},a=N("no_filter",e.filterAccountsWithNilBalances,e.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(t.children),d=a.map((u,p)=>g({account:u,sectionType:c,numOfBalances:n,title:u.account.accountName,config:e,isLastNode:p===a.length-1,parentNodeIDs:l,ancestorMetadata:{subAccountAncestorMetadata:[...s.subAccountAncestorMetadata,{depth:u.id.length-1,hasSibling:a.length>1,hasChildren:u.children.length>0,isLastNode:p===a.length-1,name:u.account.accountName}],classAncestorMetadata:s.classAncestorMetadata}}));return o.children.push(...d),a.length>0&&o.children.push(B({config:e,account:t,numOfBalances:n,title:t.account.accountDescription,parentNodeIDs:l,ancestorMetadata:s})),o}function L({acGroup:t,sectionType:c,numOfBalances:n,title:i,isLastNode:r,config:e,parentNodeIDs:l}){const s=m("ac_group_subaccount",l,t.accountGroupId),o={children:[],id:s,isLastNode:r,reportElementData:{element:{kind:"ac_group_subaccount",title:i,sectionType:c,data:t,numOfBalances:n},config:e}},a=N("no_filter",e.filterAccountsWithNilBalances,e.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(t.accounts);return o.children=a.map((d,u)=>g({account:d,sectionType:c,numOfBalances:n,title:d.account.accountDescription,config:e,isLastNode:u===a.length-1,parentNodeIDs:[...l,s],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:a.length>1,hasChildren:d.children.length>0,isLastNode:u===a.length-1,name:d.account.accountName}]}})),o}function A({classNode:t,sectionType:c,numOfBalances:n,title:i,isLastNode:r,config:e,parentNodeIDs:l,ancestorMetadata:s}){const o=m("class",l,i),a={children:[],id:o,isLastNode:r,reportElementData:{element:{kind:"class",title:i,data:t,metadata:s,numOfBalances:n},config:e}},d=s.classAncestorMetadata!=null?s.classAncestorMetadata:[],u=t.children.map((h,f)=>A({classNode:h,sectionType:c,numOfBalances:n,title:h.class.className,isLastNode:f===t.children.length-1,config:e,parentNodeIDs:[...l,o],ancestorMetadata:{subAccountAncestorMetadata:[],classAncestorMetadata:[...d,{depth:h.id.length-1,hasSibling:t.children.length>1,hasChildren:h.children.length>0,isLastNode:f===t.children.length-1,name:h.class.className}]}})),p=t.class.accounts.map((h,f)=>g({account:h,sectionType:c,numOfBalances:n,title:h.account.accountName,config:e,isLastNode:f===t.class.accounts.length-1,parentNodeIDs:[...l,o],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:t.class.accounts.length>1,hasChildren:h.children.length>0,isLastNode:f===t.class.accounts.length-1,name:h.account.accountName}],classAncestorMetadata:s.classAncestorMetadata}}));return a.children.push(...p),a.children.push(...u),a}function y({section:t,sectionType:c,numOfBalances:n,title:i,isLastNode:r,config:e}){const l=m("section",[],i),s={children:[],id:l,isLastNode:r,reportElementData:{element:{kind:"section",title:i,sectionType:c,data:t,numOfBalances:n},config:e}},o=t.classes.map((a,d)=>A({classNode:a,sectionType:c,numOfBalances:n,title:a.class.className,isLastNode:a.isLeafClass,config:e,parentNodeIDs:[l],ancestorMetadata:{subAccountAncestorMetadata:[],classAncestorMetadata:[{depth:a.id.length-1,hasSibling:!1,hasChildren:a.children.length>0,isLastNode:d===t.classes.length-1,name:a.class.className}]}}));return s.children.push(...o),s}function b({section:t,sectionType:c,numOfBalances:n,title:i,isLastNode:r,config:e}){const l=m("section",[],i),s={children:[],id:l,isLastNode:r,reportElementData:{element:{kind:"section",title:i,sectionType:c,data:t,numOfBalances:n},config:e}},o=N("no_filter",e.filterAccountsWithNilBalances,e.filterAccountGroupsWithNilBalances).compactedAccountGroupsSelector(t.accountGroups),a=o.map((d,u)=>L({acGroup:d,sectionType:c,numOfBalances:n,title:d.accountGroupName,isLastNode:u===o.length-1,config:e,parentNodeIDs:[l]}));return s.children.push(...a),s}function T({sectionWithAcOnly:t,sectionType:c,numOfBalances:n,title:i,isLastNode:r,config:e}){const l=m("section",[],i),s={children:[],id:l,isLastNode:r,reportElementData:{element:{kind:"section",title:i,sectionType:c,data:t,numOfBalances:n},config:e}},o=N("no_filter",e.filterAccountsWithNilBalances,e.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(t.accounts),a=o.map((d,u)=>g({account:d,sectionType:c,numOfBalances:n,title:d.account.accountName,config:e,isLastNode:u===o.length-1,parentNodeIDs:[l],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:o.length>1,hasChildren:d.children.length>0,isLastNode:u===o.length-1,name:d.account.accountName}]}}));return s.children.push(...a),s}export{y as D,T as I,D as L,L as M,A as S,b as T,g};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{W as r}from"./CollapsableReportTable-
|
|
1
|
+
import{W as r}from"./CollapsableReportTable-jOFcWQi9-BD7j44zD.js";function i({title:t,balances:e=[],config:n,nodeId:a}){return{children:[],id:a??r("spacer_row",[],t),isLastNode:!1,reportElementData:{element:{kind:"spacer_row",title:"",data:e,numOfBalances:e.length},config:n}}}export{i as l};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{W as r}from"./CollapsableReportTable-
|
|
1
|
+
import{W as r}from"./CollapsableReportTable-jOFcWQi9-BD7j44zD.js";function i({balances:e,config:a,nodeId:t}){return{children:[],id:t??r("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:a.mode==="actual_vs_forecast"?"timeframe_headers_with_forecast":"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:a}}}export{i as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{W as n}from"./CollapsableReportTable-
|
|
1
|
+
import{W as n}from"./CollapsableReportTable-jOFcWQi9-BD7j44zD.js";function i({balances:e,config:a,nodeId:t}){return{children:[],id:t??n("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:a}}}export{i as o};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{W as a}from"./CollapsableReportTable-
|
|
1
|
+
import{W as a}from"./CollapsableReportTable-jOFcWQi9-BD7j44zD.js";const t={0:"section-row",1:"root-class-row",2:"sub-class-row",3:"leaf-class-row"};function l({title:o,balances:e,config:s,nodeId:n}){return{children:[],id:n??a("headers_loading_in_progress",[],o),isLastNode:!1,reportElementData:{element:{kind:"headers_loading_in_progress",title:"",data:e,numOfBalances:e.length},config:s}}}export{l as d,t as l};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as m}from"./chartTypes-
|
|
1
|
+
import{p as m}from"./chartTypes-BoblEsVF-BVffEXCf.js";const e=(a,o,c)=>n(a,o,c.balances),t=(a,o,c)=>e(a,o,c),b=(a,o,c)=>e(a,o,c),n=(a,o,c)=>c.map(p=>({key:m(a,o),balance:p}));export{e as c,b as h,t as i,n as o};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{M as h,
|
|
1
|
+
import{M as h,m as u}from"./index-B8OsEhOZ.js";function E(o,t,c,s,D){const l=D??!1,i=[];let f=[];if(t.forEach(r=>{const n=s[r];n!=null&&(i.push(n),r===c&&(f=n))}),i.length>0&&f.length>0){const r=f.map(a=>({startDate:a.balance.startDate,endDate:a.balance.endDate,label:y(o,a.balance,a.balance.balanceTimeFrame)})),n=[];for(let a=0;a<r.length;a++){const m={};i.forEach(b=>{if(b.length>0){const e=b[a];if(e!=null){const Y=l?e.balance.totalBalance:e.balance.balance,g=l?e.balance.totalForecast:e.balance.forecast,p=l?e.balance.totalPercentValue:e.balance.percentValue,k=e.balance.forecastPercentValue,d=e.key.endsWith("_forecast")?g:Y;if(d!=null){const w=e.key.endsWith("_forecast")?k:p;m[e.key]={amount:d,percentValue:w}}}}}),n.push({timeLabel:r[a],record:m})}return{timeseries:r,recordByTimeseries:n,orderedKeys:t}}else return}const y=(o,t,c)=>{const{dateFormat:{visual:s}}=h.getLocalizedStrings();switch(c){case"month":return`${u.formatZeniDate(t.startDate,s.MMMYYFormat,o)}`;case"quarter":return`${h.getLocalizedStrings().quarterPrefix}${u.formatZeniDate(t.startDate,s.QYYYYformat,o)}`;case"year":return`${u.formatZeniDate(t.startDate,s.YYYYformat,o)}`;case"free_range":case"week":throw new Error("free_range/week dates are not supported!")}};export{E as V};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as r}from"./index-
|
|
1
|
+
import{g as r}from"./index-B8OsEhOZ.js";const g=(e,h)=>`${e}${h}`,o=[{light:r.graphColor34Dark,dark:r.graphColor34Dark,headerBackgroundLight:g(r.graphColor34Light,"99"),headerBackgroundDark:g(r.graphColor34Light,""),highlightsBackgroundLight:g(r.graphColor34,"14"),highlightsBackgroundDark:g(r.graphColor34,"1F")},{light:r.graphColor16Dark,dark:r.graphColor16Dark,headerBackgroundLight:g(r.graphColor16Light,"99"),headerBackgroundDark:g(r.graphColor16Light,""),highlightsBackgroundLight:g(r.graphColor16Light,"29"),highlightsBackgroundDark:g(r.graphColor16Light,"29")}],d=(e,h)=>{const a=o[e%o.length];return{headerBackground:h.mode==="light"?a.headerBackgroundLight:a.headerBackgroundDark,fundNameColor:h.mode==="light"?a.light:a.dark,fundSubNameColor:h.mode==="light"?a.light:a.dark,highlightsBackground:h.mode==="light"?a.highlightsBackgroundLight:a.highlightsBackgroundDark}},l=e=>{if(e!=null){const{code:h,name:a}=e;return{value:a,color:t(h),code:h}}},t=e=>{switch(e){case"initiated":case"scheduled":return r.neutralGrey1Light;case"canceled":case"delayed":case"failed":case"problem":return r.important;case"completed":return r.success;case"mfa_required":case"consent_required":default:return r.neutralGrey1Light}};export{l as d,d as l};
|
package/dist/assets/{uploadAttachment-BniS82zn-BreMBxbN.js → uploadAttachment-C2I6mBBB-CPoUzWwI.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{el as Se,
|
|
1
|
+
import{el as Se,cn as Le,cv as ee,e as re,u as Re,M as de,j as t,eH as ke,cw as Pe,$ as S,b3 as Ne,o as n,C as Ie,dj as Me,b4 as L,bB as ce,er as te,b1 as ne,a3 as De,x as Ee,eq as Ve,X as oe,i as pe,v as k,aD as Fe,eI as Te,g,cx as Be,p as me,ez as ze,B as ue,ae as _e,af as Ge,a9 as X,dv as se,dw as Ae,dx as We,eJ as He,dF as Je,dG as ie,dH as le,dI as Ue,dJ as Ze}from"./index-B8OsEhOZ.js";import{b as f,n as i,j as Xe}from"./vendor-rkTZJa59.js";const Ye=i(me)`
|
|
2
2
|
margin-left: ${e=>!e.hasChildren&&e.depth!==0?n.sp3:n.sp2};
|
|
3
|
-
`,
|
|
3
|
+
`,Qe=i(He)``,qe=i.div`
|
|
4
4
|
display: flex;
|
|
5
5
|
height: ${e=>e.isRecommended?"auto":n.sp6};
|
|
6
6
|
align-items: center;
|
|
@@ -13,7 +13,7 @@ import{el as Se,cm as Le,cu as ee,e as re,u as Re,M as de,j as t,eH as ke,cv as
|
|
|
13
13
|
width: ${n.sp3};
|
|
14
14
|
`,tt=i.div`
|
|
15
15
|
display: flex;
|
|
16
|
-
`,nt=({ancestorMetadata:e,depth:s,name:a})=>t.jsx(t.Fragment,{children:s>0&&e!=null?[...Array(s).keys()].map(d=>{const l=e[d];return l==null?null:t.jsxs(tt,{children:[l.depth===0?t.jsx(se,{depth:l.depth}):null,l.depth>=1?l.hasSibling&&!l.isLastNode?t.jsx(Ae,{},d):t.jsx(We,{}):null,l.depth>=1?t.jsx(se,{depth:l.depth}):null]},a+d)}):null}),ot=({depth:e,isLastNode:s,isLeaf:a,hasSiblings:d,hasChildren:l,collapsed:p,isOptionRecommended:h})=>{let u=t.jsx(et,{});return h===!0||(e===0&&l&&(u=t.jsx(Je,{collapsed:p})),e>0&&(l&&!d&&s&&(u=t.jsx(ie,{collapsed:p})),a&&d&&s&&(u=t.jsx(le,{})),!l&&a&&!d&&!s&&(u=t.jsx(Ze,{})),l&&d&&s&&(u=t.jsx(ie,{collapsed:p})),l&&!s&&(u=t.jsx(Ue,{collapsed:p})),s&&a&&(u=t.jsx(le,{})))),u},st=({depth:e,isLastNode:s,isLeaf:a,hasSiblings:d,hasChildren:l,collapsed:p,isOptionRecommended:h})=>t.jsx(Ke,{children:t.jsx(ot,{depth:e,isLastNode:s,isLeaf:a,hasSiblings:d,hasChildren:l,collapsed:p,isOptionRecommended:h})});function it(e){const{displayName:s}=e;return e.depth>4&&console.warn("cannot handle depth more than 4"),t.jsxs(Qe,{isRecommended:e.isOptionRecommended??!1,children:[e.isOptionRecommended===!0?null:t.jsx(nt,{ancestorMetadata:e.subAccountAncestorMetadata,depth:e.depth,name:e.displayName}),e.isOptionRecommended===!0?null:t.jsx(st,{...e}),e.isOptionRecommended===!0?t.jsx(Ye,{children:s}):t.jsx(Xe,{hasChildren:e.hasChildren,depth:e.depth,children:s})]})}const he={infoLabel:new oe("extraSmallRegular","smallRegular"),selectFieldInput:new oe("smallRegular","standardRegular")},lt={menuMinWidth:new Ie(343,400,428)},{common:{texts:{confidence:at},strings:{empty:T}},expenseAutomation:{accountRecon:{review:{zeniGptRecommendation:rt}}}}=de.getLocalizedStrings(),dt=(e,s,a,d,l,p,h)=>e.isOptionRecommended!==!0||!e.chainOfThought||e.chainOfThought.length===0?null:{recommendations:[{id:e.id??e.value,name:e.label??e.displayName??e.value,reason:e.recommendationReason??e.additionalNote??rt,cot:e.chainOfThought,isSelected:s,source:e.source,type:p,confidencePercentage:e.confidencePercentage}],isThoughtProcessOnly:!0,existingOption:{label:void 0,value:void 0},pageSource:d,transactionStatus:l,isCOTEnabled:a,onPrimaryRecommendationConfirmationClick:()=>{},onAlternateRecommendationConfirmationClick:()=>{},onAlternateRecommendationExpandClick:()=>{},width:h},tn=({name:e,registerOptions:s,defaultValue:a,isDisabled:d,style:l,placeholder:p,autoFocus:h=!1,menuIsOpen:u,pageSource:x,type:r,transactionStatus:m,showEmptyState:w,additionalLabelInfo:O,customStyleConfig:$,customPlaceholderString:C,allowEmpty:M=!0,tooltip:_,noOptionsMessage:z,customPlaceholderColor:B,menuPortal:G,showCOT:A=!0,tooltipPosition:W="right-start",tooltipWidth:H,disableCurrentOption:P,valueToInfo:R,valueToId:j,onMenuClose:D,getStyles:E,menuPlacement:J="auto",onCOTView:Z})=>{const{control:U,formState:{dirtyFields:b,errors:V}}=Le(),ge=ee(V,e??""),X=re(),F=Re(),[fe,xe]=f.useState(!1),ye=ee(b,e),{dropDowns:Y,common:{strings:{empty:N}}}=de.getLocalizedStrings(),Q=f.useCallback(o=>({value:o.value,label:o.label??o.displayName,info:R?.(o.value)??N,id:j?.(o.value)??null,isDisabled:o.isDisabled,additionalNote:o?.additionalNote,isOptionRecommended:o.isOptionRecommended,recommendedOptionIndex:o.recommendedOptionIndex,displayName:o.displayName,depth:o.depth,isLeaf:o.isLeaf,isLastNode:o.isLastNode,hasSiblings:o.isLastNode,hasChildren:o.hasChildren,collapsed:o.collapsed,numberOfLines:o.numberOfLines,coaId:o.coaId,ancestorMetadata:o.ancestorMetadata,chainOfThought:o.chainOfThought,confidencePercentage:o.confidencePercentage,recommendationReason:o.recommendationReason,source:o.source}),[R,j,N]),$e=f.useCallback(o=>o.map(c=>({label:c.label,options:c.options.map(v=>Q(v))})),[Q]),be=f.useCallback(o=>{if(o==null||!o)return;let c=[];return a.allOptions.forEach(v=>{c=c.concat(v.options)}),{value:o,label:c.find(v=>v.value===o)?.label??o,info:R?.(o)??N}},[a.allOptions,R,N]);if(w===!0&&fe===!1&&ye===!1&&!a.selectedOption&&d==null)return t.jsx(ke,{style:l,buttonTitle:Y.add,onClick:()=>xe(!0),name:e});const we=a.allOptions.some(o=>o.options.some(c=>c.isOptionRecommended===!0)),Oe={...$,container:(o,c)=>({...o,width:"100%",...l,...E?.(c.selectProps.menuIsOpen)||{}}),menu:(o,c)=>({...o,backgroundColor:F.colors.grey5,borderRadius:n.sp1,boxShadow:`${n.sp0} 2px ${n.sp2} ${F.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:2,width:"100%",minWidth:we?lt.menuMinWidth.valuePx(X):"300px",margin:0,...$?.menu?.(o,c)}),control:(o,c)=>({...o,height:n.sp6,...$?.control?.(o,c)}),valueContainer:(o,c)=>({...o,padding:0,paddingLeft:10,justifyContent:c.selectProps.menuIsOpen===!1?"flex-end":"flex-start",...$?.valueContainer?.(o,c)}),singleValue:(o,c)=>({...o,color:F.colors.primary,...$?.singleValue?.(o,c)}),menuList:(o,c)=>({...o,borderRadius:4,...$?.menuList?.(o,c)}),group:o=>({...o,paddingBottom:0,"&:first-of-type":{paddingTop:n.sp0},"&:not(:first-of-type)":{paddingTop:n.sp1},"&:not(:last-of-type)":{paddingBottom:n.sp1,borderBottom:`1px solid ${F.colors.grey3}`}}),menuPortal:(o,c)=>({...o,...$?.menuPortal?.(o,c)})},Ce=z??{line1:Y.noOptions.standard,line2:N},je={hasError:ge,noOptions:Ce,customPlaceholderColor:B,customPlaceholderString:C};return t.jsx(Pe,{name:e,control:U,defaultValue:a,rules:s,"data-testid":S("grouped-single-select-field",e),render:({field:{onChange:o,onBlur:c,value:v,name:K,ref:ve}})=>{const I=v;return t.jsxs(t.Fragment,{children:[f.createElement(Ne,{...je,menuPortalTarget:G,ref:ve,name:K,isMulti:!1,isSearchable:!0,isClearable:!0,defaultValue:be(a.selectedOption??I.selectedOption),autoFocus:h,controlShouldRenderValue:!0,placeholder:p,options:$e(a?.allOptions??I.allOptions),onChange:y=>{y==null||y?.value!=null&&I?.selectedOption===y.value?M===!0&&o({selectedOption:void 0,allOptions:I.allOptions}):o({selectedOption:y.value,allOptions:I.allOptions})},key:Me(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"grouped-single-select-field",onBlur:c,menuPlacement:J,menuIsOpen:u,maxMenuHeight:288,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,onMenuClose:D,closeMenuOnScroll:!1,components:{Control:pt,Option:y=>yt(y,A,M,x,r,m,W,H,Z),Input:ut,Group:ht,GroupHeading:gt,NoOptionsMessage:ct,SingleValue:y=>ft(y,_),ValueContainer:y=>mt(y),DropdownIndicator:Bt,IndicatorSeparator:Gt,Placeholder:xt,ClearIndicator:At},hideSelectedOptions:!1,styles:Oe,isDisabled:d!=null,isOptionDisabled:y=>P?.(y.value)??!1,"data-testid":S("grouped-single-select",K)}),O!=null?t.jsx(Dt,{size:X,children:O}):null]})}})},ct=e=>{const s=e.selectProps.noOptions;return t.jsxs(bt,{children:[t.jsx(ae,{children:s?.line1}),t.jsx(ae,{children:s?.line2})]})},pt=e=>{const{menuIsOpen:s,isFocused:a,isDisabled:d,selectProps:l,data:p,options:h}=e,{value:u,hasError:x,customPlaceholderColor:r,customPlaceholderString:m}=l;let w=[];h.forEach(C=>{w=w.concat(C.options)});const O=w.find(C=>C.value===p?.value),$=re();return t.jsx(St,{title:m!=null&&u!=null?u.label:void 0,windowSize:$,menuIsOpen:s,isFocused:a,customPlaceholderColor:r,isDisabled:d,selectedValue:u,hasError:x,customPlaceholderString:m,isRecommended:O?.isOptionRecommended,"data-testid":S("grouped-single-select-field-control",h[0]?.label),children:t.jsx(L.Control,{...e,className:"select-control",children:e.children})})},mt=e=>t.jsx(L.ValueContainer,{...e,className:"select-value-container",children:e.children}),ut=e=>{const{selectProps:s,innerRef:a,innerProps:d}=e,{placeholder:l,value:p,customPlaceholderString:h,menuIsOpen:u,onMenuOpen:x,hasError:r}=s;return h!=null&&p==null&&u===!1?t.jsx(Zt,{ref:a,...d,onClick:x,style:{display:"flex",width:"100%",height:"100%",alignItems:"center",justifyContent:"flex-start",cursor:"pointer"},className:"custom-placeholder","data-testid":S("grouped-single-select-field-input",s.name),children:t.jsxs(Wt,{children:[t.jsx(Ht,{hasError:r}),t.jsx(Jt,{hasError:r,children:h})]})}):t.jsx(L.Input,{...e,autoComplete:"new-password",autoFocus:u,placeholder:p==null?l:void 0,children:e.children})},ht=e=>t.jsx(L.Group,{...e,children:e.children}),gt=e=>{const[s,a]=f.useState(!0);return t.jsx(Et,{className:"group-heading-container",isGroupOpen:s,onClick:()=>a(!s),"data-testid":S("group-heading",e.data.label),children:t.jsxs(L.GroupHeading,{...e,children:[t.jsx(Vt,{isGroupOpen:s,children:t.jsx(wt,{})}),e.children]})})},ft=({children:e,...s},a)=>{const d=a==null||s.selectProps.menuIsOpen===!0?e:a.sticky===!0?t.jsx($t,{title:a.text,children:e}):t.jsx(ce,{style:{padding:`12px ${n.sp3}`},title:a.text,placement:"top",children:e});return t.jsx(L.SingleValue,{...s,children:t.jsx(Ot,{children:d})})},xt=()=>null,yt=(e,s,a,d,l,p,h,u,x)=>{const{data:r,isSelected:m,isDisabled:w,isFocused:O,selectProps:$}=e,{customPlaceholderString:C}=$,{depth:M,isLeaf:_,isLastNode:z,hasSiblings:B,hasChildren:G,collapsed:A,displayName:W,ancestorMetadata:H,label:P}=r,R=H,j=dt(r,m,s,d,p,l,u),D=t.jsx(Rt,{title:C!=null?e.label:void 0,className:"select-option-wrapper",isFocused:O,isSelected:m,isDisabled:w,isOptionRecommended:!!r?.isOptionRecommended,showBottomBorder:r?.additionalNote==null||r?.isOptionRecommended!==!0,allowEmpty:a,"data-testid":S("grouped-single-select-option",P),children:t.jsx(L.Option,{...e,className:"select-option",children:t.jsxs(kt,{isOptionRecommended:r?.isOptionRecommended,children:[!!r?.isOptionRecommended&&t.jsx(Tt,{children:t.jsx(_t,{})}),t.jsxs(It,{children:[t.jsxs(Mt,{isSelected:m,isOptionRecommended:r?.isOptionRecommended,children:[t.jsx(Pt,{isSelected:m,isDisabled:w,children:t.jsx(it,{displayName:W??P,depth:M,isLastNode:z,isLeaf:_,hasSiblings:B,collapsed:A,hasChildren:G,isOptionRecommended:r?.isOptionRecommended,subAccountAncestorMetadata:R})}),O===!0&&r.coaId!=null&&r?.info!=null&&t.jsx(zt,{children:r.coaId??r?.info})]}),r?.isOptionRecommended&&r.additionalNote?t.jsx(Nt,{isSelected:m,isDisabled:w,children:r.additionalNote}):null]}),t.jsxs(Ut,{children:[r?.isOptionRecommended?t.jsxs(qt,{children:[t.jsx(Xt,{confidence:r.confidencePercentage,children:te(r.confidencePercentage)}),t.jsx(Yt,{className:"confidence-label",children:at})]}):null,m===!0&&r?.additionalNote==null?t.jsxs(Ft,{children:[t.jsx(ne,{className:"right-tick-icon",height:n.sp3,width:n.sp3}),t.jsx(De,{className:"close-tick-icon",height:n.sp3,width:n.sp3,"data-testid":S("grouped-single-select-option-cancel",P)})]}):r?.isOptionRecommended===!0?m===!0?t.jsx(Qt,{children:t.jsx(ne,{height:n.sp3,width:n.sp3,style:{transform:"rotate(0deg)"}})}):t.jsx(Lt,{}):null]})]})})}),E=Ee().analytics,J=f.useCallback(()=>{const Z=(e.value!=null&&e.value!==T?e?.getValue(e.value):null)?.[0]?.label??T,U=r.recommendedOptionIndex===1?"alternative":"primary",b=j?.recommendations[0],V=b?.cot??[];E.trackTransactionCotDropdownView({recommendationType:U,recommendationFor:l,currentValue:Z,recommendation:b?.name??T,recommendationCot:V,isRecommendationCotAvailable:V.length>0,recommendationReason:b?.reason??T,recommendationConfidenceLevel:Ve(te(b?.confidencePercentage).toLocaleLowerCase()),transactionPage:d,transactionCurrentStatus:p,recommendationConfidencePercentage:b?.confidencePercentage??null}),x!=null&&b!=null&&b.cot.length>0&&x(l,b.source)},[E,j,d,p,l,e,r.recommendedOptionIndex]);return j!=null&&r?.isOptionRecommended&&s?t.jsx(ce,{variant:"chain-of-thought",data:j,placement:h??"right-start",enterDelay:300,leaveDelay:100,offset:[0,0],position:"static",display:"block",style:{width:"100%",height:"100%",marginLeft:"0px",marginRight:"0px"},onOpen:J,children:D}):D},$t=({children:e,title:s})=>t.jsxs(Ct,{children:[t.jsxs(jt,{children:[s,t.jsx(vt,{})]}),e]}),bt=i.div`
|
|
16
|
+
`,nt=({ancestorMetadata:e,depth:s,name:a})=>t.jsx(t.Fragment,{children:s>0&&e!=null?[...Array(s).keys()].map(d=>{const l=e[d];return l==null?null:t.jsxs(tt,{children:[l.depth===0?t.jsx(se,{depth:l.depth}):null,l.depth>=1?l.hasSibling&&!l.isLastNode?t.jsx(Ae,{},d):t.jsx(We,{}):null,l.depth>=1?t.jsx(se,{depth:l.depth}):null]},a+d)}):null}),ot=({depth:e,isLastNode:s,isLeaf:a,hasSiblings:d,hasChildren:l,collapsed:p,isOptionRecommended:h})=>{let u=t.jsx(et,{});return h===!0||(e===0&&l&&(u=t.jsx(Je,{collapsed:p})),e>0&&(l&&!d&&s&&(u=t.jsx(ie,{collapsed:p})),a&&d&&s&&(u=t.jsx(le,{})),!l&&a&&!d&&!s&&(u=t.jsx(Ue,{})),l&&d&&s&&(u=t.jsx(ie,{collapsed:p})),l&&!s&&(u=t.jsx(Ze,{collapsed:p})),s&&a&&(u=t.jsx(le,{})))),u},st=({depth:e,isLastNode:s,isLeaf:a,hasSiblings:d,hasChildren:l,collapsed:p,isOptionRecommended:h})=>t.jsx(Ke,{children:t.jsx(ot,{depth:e,isLastNode:s,isLeaf:a,hasSiblings:d,hasChildren:l,collapsed:p,isOptionRecommended:h})});function it(e){const{displayName:s}=e;return e.depth>4&&console.warn("cannot handle depth more than 4"),t.jsxs(qe,{isRecommended:e.isOptionRecommended??!1,children:[e.isOptionRecommended===!0?null:t.jsx(nt,{ancestorMetadata:e.subAccountAncestorMetadata,depth:e.depth,name:e.displayName}),e.isOptionRecommended===!0?null:t.jsx(st,{...e}),e.isOptionRecommended===!0?t.jsx(Qe,{children:s}):t.jsx(Ye,{hasChildren:e.hasChildren,depth:e.depth,children:s})]})}const he={infoLabel:new oe("extraSmallRegular","smallRegular"),selectFieldInput:new oe("smallRegular","standardRegular")},lt={menuMinWidth:new Ie(343,400,428)},{common:{texts:{confidence:at},strings:{empty:T}},expenseAutomation:{accountRecon:{review:{zeniGptRecommendation:rt}}}}=de.getLocalizedStrings(),dt=(e,s,a,d,l,p,h)=>e.isOptionRecommended!==!0||!e.chainOfThought||e.chainOfThought.length===0?null:{recommendations:[{id:e.id??e.value,name:e.label??e.displayName??e.value,reason:e.recommendationReason??e.additionalNote??rt,cot:e.chainOfThought,isSelected:s,source:e.source,type:p,confidencePercentage:e.confidencePercentage}],isThoughtProcessOnly:!0,existingOption:{label:void 0,value:void 0},pageSource:d,transactionStatus:l,isCOTEnabled:a,onPrimaryRecommendationConfirmationClick:()=>{},onAlternateRecommendationConfirmationClick:()=>{},onAlternateRecommendationExpandClick:()=>{},width:h},tn=({name:e,registerOptions:s,defaultValue:a,isDisabled:d,style:l,placeholder:p,autoFocus:h=!1,menuIsOpen:u,pageSource:x,type:r,transactionStatus:m,showEmptyState:w,additionalLabelInfo:O,customStyleConfig:$,customPlaceholderString:C,allowEmpty:M=!0,tooltip:B,noOptionsMessage:z,customPlaceholderColor:_,menuPortal:G,showCOT:A=!0,tooltipPosition:W="right-start",tooltipWidth:H,disableCurrentOption:P,valueToInfo:R,valueToId:j,onMenuClose:D,getStyles:E,menuPlacement:J="auto",onCOTView:U})=>{const{control:Z,formState:{dirtyFields:b,errors:V}}=Le(),ge=ee(V,e??""),Y=re(),F=Re(),[fe,xe]=f.useState(!1),ye=ee(b,e),{dropDowns:Q,common:{strings:{empty:N}}}=de.getLocalizedStrings(),q=f.useCallback(o=>({value:o.value,label:o.label??o.displayName,info:R?.(o.value)??N,id:j?.(o.value)??null,isDisabled:o.isDisabled,additionalNote:o?.additionalNote,isOptionRecommended:o.isOptionRecommended,recommendedOptionIndex:o.recommendedOptionIndex,displayName:o.displayName,depth:o.depth,isLeaf:o.isLeaf,isLastNode:o.isLastNode,hasSiblings:o.isLastNode,hasChildren:o.hasChildren,collapsed:o.collapsed,numberOfLines:o.numberOfLines,coaId:o.coaId,ancestorMetadata:o.ancestorMetadata,chainOfThought:o.chainOfThought,confidencePercentage:o.confidencePercentage,recommendationReason:o.recommendationReason,source:o.source}),[R,j,N]),$e=f.useCallback(o=>o.map(c=>({label:c.label,options:c.options.map(v=>q(v))})),[q]),be=f.useCallback(o=>{if(o==null||!o)return;let c=[];return a.allOptions.forEach(v=>{c=c.concat(v.options)}),{value:o,label:c.find(v=>v.value===o)?.label??o,info:R?.(o)??N}},[a.allOptions,R,N]);if(w===!0&&fe===!1&&ye===!1&&!a.selectedOption&&d==null)return t.jsx(ke,{style:l,buttonTitle:Q.add,onClick:()=>xe(!0),name:e});const we=a.allOptions.some(o=>o.options.some(c=>c.isOptionRecommended===!0)),Oe={...$,container:(o,c)=>({...o,width:"100%",...l,...E?.(c.selectProps.menuIsOpen)||{}}),menu:(o,c)=>({...o,backgroundColor:F.colors.grey5,borderRadius:n.sp1,boxShadow:`${n.sp0} 2px ${n.sp2} ${F.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:2,width:"100%",minWidth:we?lt.menuMinWidth.valuePx(Y):"300px",margin:0,...$?.menu?.(o,c)}),control:(o,c)=>({...o,height:n.sp6,...$?.control?.(o,c)}),valueContainer:(o,c)=>({...o,padding:0,paddingLeft:10,justifyContent:c.selectProps.menuIsOpen===!1?"flex-end":"flex-start",...$?.valueContainer?.(o,c)}),singleValue:(o,c)=>({...o,color:F.colors.primary,...$?.singleValue?.(o,c)}),menuList:(o,c)=>({...o,borderRadius:4,...$?.menuList?.(o,c)}),group:o=>({...o,paddingBottom:0,"&:first-of-type":{paddingTop:n.sp0},"&:not(:first-of-type)":{paddingTop:n.sp1},"&:not(:last-of-type)":{paddingBottom:n.sp1,borderBottom:`1px solid ${F.colors.grey3}`}}),menuPortal:(o,c)=>({...o,...$?.menuPortal?.(o,c)})},Ce=z??{line1:Q.noOptions.standard,line2:N},je={hasError:ge,noOptions:Ce,customPlaceholderColor:_,customPlaceholderString:C};return t.jsx(Pe,{name:e,control:Z,defaultValue:a,rules:s,"data-testid":S("grouped-single-select-field",e),render:({field:{onChange:o,onBlur:c,value:v,name:K,ref:ve}})=>{const I=v;return t.jsxs(t.Fragment,{children:[f.createElement(Ne,{...je,menuPortalTarget:G,ref:ve,name:K,isMulti:!1,isSearchable:!0,isClearable:!0,defaultValue:be(a.selectedOption??I.selectedOption),autoFocus:h,controlShouldRenderValue:!0,placeholder:p,options:$e(a?.allOptions??I.allOptions),onChange:y=>{y==null||y?.value!=null&&I?.selectedOption===y.value?M===!0&&o({selectedOption:void 0,allOptions:I.allOptions}):o({selectedOption:y.value,allOptions:I.allOptions})},key:Me(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"grouped-single-select-field",onBlur:c,menuPlacement:J,menuIsOpen:u,maxMenuHeight:288,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,onMenuClose:D,closeMenuOnScroll:!1,components:{Control:pt,Option:y=>yt(y,A,M,x,r,m,W,H,U),Input:ut,Group:ht,GroupHeading:gt,NoOptionsMessage:ct,SingleValue:y=>ft(y,B),ValueContainer:y=>mt(y),DropdownIndicator:_t,IndicatorSeparator:Gt,Placeholder:xt,ClearIndicator:At},hideSelectedOptions:!1,styles:Oe,isDisabled:d!=null,isOptionDisabled:y=>P?.(y.value)??!1,"data-testid":S("grouped-single-select",K)}),O!=null?t.jsx(Dt,{size:Y,children:O}):null]})}})},ct=e=>{const s=e.selectProps.noOptions;return t.jsxs(bt,{children:[t.jsx(ae,{children:s?.line1}),t.jsx(ae,{children:s?.line2})]})},pt=e=>{const{menuIsOpen:s,isFocused:a,isDisabled:d,selectProps:l,data:p,options:h}=e,{value:u,hasError:x,customPlaceholderColor:r,customPlaceholderString:m}=l;let w=[];h.forEach(C=>{w=w.concat(C.options)});const O=w.find(C=>C.value===p?.value),$=re();return t.jsx(St,{title:m!=null&&u!=null?u.label:void 0,windowSize:$,menuIsOpen:s,isFocused:a,customPlaceholderColor:r,isDisabled:d,selectedValue:u,hasError:x,customPlaceholderString:m,isRecommended:O?.isOptionRecommended,"data-testid":S("grouped-single-select-field-control",h[0]?.label),children:t.jsx(L.Control,{...e,className:"select-control",children:e.children})})},mt=e=>t.jsx(L.ValueContainer,{...e,className:"select-value-container",children:e.children}),ut=e=>{const{selectProps:s,innerRef:a,innerProps:d}=e,{placeholder:l,value:p,customPlaceholderString:h,menuIsOpen:u,onMenuOpen:x,hasError:r}=s;return h!=null&&p==null&&u===!1?t.jsx(Ut,{ref:a,...d,onClick:x,style:{display:"flex",width:"100%",height:"100%",alignItems:"center",justifyContent:"flex-start",cursor:"pointer"},className:"custom-placeholder","data-testid":S("grouped-single-select-field-input",s.name),children:t.jsxs(Wt,{children:[t.jsx(Ht,{hasError:r}),t.jsx(Jt,{hasError:r,children:h})]})}):t.jsx(L.Input,{...e,autoComplete:"new-password",autoFocus:u,placeholder:p==null?l:void 0,children:e.children})},ht=e=>t.jsx(L.Group,{...e,children:e.children}),gt=e=>{const[s,a]=f.useState(!0);return t.jsx(Et,{className:"group-heading-container",isGroupOpen:s,onClick:()=>a(!s),"data-testid":S("group-heading",e.data.label),children:t.jsxs(L.GroupHeading,{...e,children:[t.jsx(Vt,{isGroupOpen:s,children:t.jsx(wt,{})}),e.children]})})},ft=({children:e,...s},a)=>{const d=a==null||s.selectProps.menuIsOpen===!0?e:a.sticky===!0?t.jsx($t,{title:a.text,children:e}):t.jsx(ce,{style:{padding:`12px ${n.sp3}`},title:a.text,placement:"top",children:e});return t.jsx(L.SingleValue,{...s,children:t.jsx(Ot,{children:d})})},xt=()=>null,yt=(e,s,a,d,l,p,h,u,x)=>{const{data:r,isSelected:m,isDisabled:w,isFocused:O,selectProps:$}=e,{customPlaceholderString:C}=$,{depth:M,isLeaf:B,isLastNode:z,hasSiblings:_,hasChildren:G,collapsed:A,displayName:W,ancestorMetadata:H,label:P}=r,R=H,j=dt(r,m,s,d,p,l,u),D=t.jsx(Rt,{title:C!=null?e.label:void 0,className:"select-option-wrapper",isFocused:O,isSelected:m,isDisabled:w,isOptionRecommended:!!r?.isOptionRecommended,showBottomBorder:r?.additionalNote==null||r?.isOptionRecommended!==!0,allowEmpty:a,"data-testid":S("grouped-single-select-option",P),children:t.jsx(L.Option,{...e,className:"select-option",children:t.jsxs(kt,{isOptionRecommended:r?.isOptionRecommended,children:[!!r?.isOptionRecommended&&t.jsx(Tt,{children:t.jsx(Bt,{})}),t.jsxs(It,{children:[t.jsxs(Mt,{isSelected:m,isOptionRecommended:r?.isOptionRecommended,children:[t.jsx(Pt,{isSelected:m,isDisabled:w,children:t.jsx(it,{displayName:W??P,depth:M,isLastNode:z,isLeaf:B,hasSiblings:_,collapsed:A,hasChildren:G,isOptionRecommended:r?.isOptionRecommended,subAccountAncestorMetadata:R})}),O===!0&&r.coaId!=null&&r?.info!=null&&t.jsx(zt,{children:r.coaId??r?.info})]}),r?.isOptionRecommended&&r.additionalNote?t.jsx(Nt,{isSelected:m,isDisabled:w,children:r.additionalNote}):null]}),t.jsxs(Zt,{children:[r?.isOptionRecommended?t.jsxs(Xt,{children:[t.jsx(Yt,{confidence:r.confidencePercentage,children:te(r.confidencePercentage)}),t.jsx(Qt,{className:"confidence-label",children:at})]}):null,m===!0&&r?.additionalNote==null?t.jsxs(Ft,{children:[t.jsx(ne,{className:"right-tick-icon",height:n.sp3,width:n.sp3}),t.jsx(De,{className:"close-tick-icon",height:n.sp3,width:n.sp3,"data-testid":S("grouped-single-select-option-cancel",P)})]}):r?.isOptionRecommended===!0?m===!0?t.jsx(qt,{children:t.jsx(ne,{height:n.sp3,width:n.sp3,style:{transform:"rotate(0deg)"}})}):t.jsx(Lt,{}):null]})]})})}),E=Ee().analytics,J=f.useCallback(()=>{const U=(e.value!=null&&e.value!==T?e?.getValue(e.value):null)?.[0]?.label??T,Z=r.recommendedOptionIndex===1?"alternative":"primary",b=j?.recommendations[0],V=b?.cot??[];E.trackTransactionCotDropdownView({recommendationType:Z,recommendationFor:l,currentValue:U,recommendation:b?.name??T,recommendationCot:V,isRecommendationCotAvailable:V.length>0,recommendationReason:b?.reason??T,recommendationConfidenceLevel:Ve(te(b?.confidencePercentage).toLocaleLowerCase()),transactionPage:d,transactionCurrentStatus:p,recommendationConfidencePercentage:b?.confidencePercentage??null}),x!=null&&b!=null&&b.cot.length>0&&x(l,b.source)},[E,j,d,p,l,e,r.recommendedOptionIndex]);return j!=null&&r?.isOptionRecommended&&s?t.jsx(ce,{variant:"chain-of-thought",data:j,placement:h??"right-start",enterDelay:300,leaveDelay:100,offset:[0,0],position:"static",display:"block",style:{width:"100%",height:"100%",marginLeft:"0px",marginRight:"0px"},onOpen:J,children:D}):D},$t=({children:e,title:s})=>t.jsxs(Ct,{children:[t.jsxs(jt,{children:[s,t.jsx(vt,{})]}),e]}),bt=i.div`
|
|
17
17
|
display: flex;
|
|
18
18
|
flex-direction: column;
|
|
19
19
|
align-items: center;
|
|
@@ -36,8 +36,8 @@ import{el as Se,cm as Le,cu as ee,e as re,u as Re,M as de,j as t,eH as ke,cv as
|
|
|
36
36
|
display: contents;
|
|
37
37
|
`,jt=i.div`
|
|
38
38
|
position: absolute;
|
|
39
|
-
background: ${
|
|
40
|
-
color: ${
|
|
39
|
+
background: ${X.primary};
|
|
40
|
+
color: ${X.grey5};
|
|
41
41
|
padding: ${n.sp3};
|
|
42
42
|
border-radius: ${n.sp1};
|
|
43
43
|
top: -${n.sp2};
|
|
@@ -50,7 +50,7 @@ import{el as Se,cm as Le,cu as ee,e as re,u as Re,M as de,j as t,eH as ke,cv as
|
|
|
50
50
|
right: -8%;
|
|
51
51
|
border-width: 10px;
|
|
52
52
|
border-style: solid;
|
|
53
|
-
border-color: transparent transparent transparent ${
|
|
53
|
+
border-color: transparent transparent transparent ${X.primary};
|
|
54
54
|
`,St=i.span`
|
|
55
55
|
width: 100%;
|
|
56
56
|
background-color: ${e=>e.menuIsOpen?e.theme.colors.background:e.theme.colors.grey5};
|
|
@@ -144,7 +144,7 @@ import{el as Se,cm as Le,cu as ee,e as re,u as Re,M as de,j as t,eH as ke,cv as
|
|
|
144
144
|
color: ${e=>e.theme.colors.primary};
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
${({allowEmpty:e})=>e&&
|
|
147
|
+
${({allowEmpty:e})=>e&&Xe`
|
|
148
148
|
.right-tick-icon {
|
|
149
149
|
display: none;
|
|
150
150
|
}
|
|
@@ -235,7 +235,7 @@ import{el as Se,cm as Le,cu as ee,e as re,u as Re,M as de,j as t,eH as ke,cv as
|
|
|
235
235
|
height: ${n.sp4};
|
|
236
236
|
width: ${n.sp3};
|
|
237
237
|
margin-right: ${n.sp2};
|
|
238
|
-
`,
|
|
238
|
+
`,Bt=i(ze)`
|
|
239
239
|
height: ${n.sp3};
|
|
240
240
|
width: ${n.sp3};
|
|
241
241
|
path {
|
|
@@ -250,35 +250,35 @@ import{el as Se,cm as Le,cu as ee,e as re,u as Re,M as de,j as t,eH as ke,cv as
|
|
|
250
250
|
padding: ${n.sp0} 6px;
|
|
251
251
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
252
252
|
border-radius: ${n.sp1};
|
|
253
|
-
`,
|
|
253
|
+
`,_t=()=>null,Gt=()=>null,At=()=>null,Wt=i.div`
|
|
254
254
|
display: flex;
|
|
255
255
|
align-items: center;
|
|
256
256
|
justify-content: center;
|
|
257
257
|
cursor: pointer;
|
|
258
|
-
`,Ht=i(
|
|
258
|
+
`,Ht=i(Be)`
|
|
259
259
|
margin-right: ${n.sp1};
|
|
260
260
|
width: ${n.sp3};
|
|
261
261
|
height: ${n.sp3};
|
|
262
262
|
color: ${e=>e.hasError?g.important:e.theme.colors.grey1};
|
|
263
263
|
`,Jt=i(me)`
|
|
264
264
|
color: ${e=>e.hasError?g.important:e.theme.colors.grey1};
|
|
265
|
-
`,
|
|
265
|
+
`,Ut=i.div``,Zt=i.div`
|
|
266
266
|
display: flex;
|
|
267
267
|
align-items: center;
|
|
268
268
|
gap: ${n.sp4};
|
|
269
269
|
margin-left: ${n.sp2};
|
|
270
|
-
`,
|
|
270
|
+
`,Xt=i.div`
|
|
271
271
|
display: flex;
|
|
272
272
|
flex-direction: column;
|
|
273
273
|
align-items: center;
|
|
274
274
|
text-align: center;
|
|
275
|
-
`,
|
|
275
|
+
`,Yt=i(_e)`
|
|
276
276
|
display: flex;
|
|
277
277
|
width: 100%;
|
|
278
278
|
align-items: center;
|
|
279
279
|
justify-content: center;
|
|
280
280
|
color: ${e=>e.confidence==null?e.theme.mode==="dark"?g.alert:g.alertDark:e.confidence>=90?e.theme.mode==="dark"?g.success:g.successDark:e.confidence>=70?e.theme.mode==="dark"?g.alert:g.alertDark:e.theme.mode==="dark"?g.important:g.importantDark};
|
|
281
|
-
`,
|
|
281
|
+
`,Qt=i(ue)``,qt=i.div`
|
|
282
282
|
display: flex;
|
|
283
283
|
align-items: center;
|
|
284
284
|
justify-content: center;
|
package/dist/assets/{uploadReceipts-dxsKhm9I-wO4Dla2j.js → uploadReceipts-dxsKhm9I-YtN4h-4H.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{el as h}from"./index-
|
|
1
|
+
import{el as h}from"./index-B8OsEhOZ.js";async function f(i,e,o,r,d){let s;const a=new FormData;o.forEach((t,n)=>{a.append(`attachment_file_${n}`,t);const c=JSON.stringify({file_name:r[n],content_type:t.type,size:t.size});a.append(`attachment_json_${n}`,c)});try{await h(i,{method:"POST",body:a,headers:{"zeni-user-id":e.userId,"zeni-tenant-id":e.tenantId,"zeni-session-id":e.sessionId}}).then(t=>t.json()).then(t=>{if(t.status.code>=200&&t.status.code<300)s=t.data;else throw console.error(`Upload attachment failed with ${t.statusText}`),d?.(t.status.message),new Error(`Upload attachment failed with ${t.statusText}`)})}catch(t){throw console.error(`Upload attachment failed with ${JSON.stringify(t)}`),new Error(`Upload attachment failed with ${JSON.stringify(t)}`)}return s}export{f as l};
|
package/dist/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate"><meta http-equiv="expires" content="0"><meta http-equiv="pragma" content="no-cache"><meta charset="UTF-8"><link rel="icon" type="image/svg+xml" href="/assets/favicon-D56XvgAH.ico"><meta name="ROBOTS" content="NOINDEX, NOFOLLOW"><link rel="stylesheet preconnect dns-prefetch" href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap"><link href="https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap" rel="stylesheet preconnect dns-prefetch"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Zeni - Modern Finance Team For Startups</title><script type="module" crossorigin src="/assets/index-
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate"><meta http-equiv="expires" content="0"><meta http-equiv="pragma" content="no-cache"><meta charset="UTF-8"><link rel="icon" type="image/svg+xml" href="/assets/favicon-D56XvgAH.ico"><meta name="ROBOTS" content="NOINDEX, NOFOLLOW"><link rel="stylesheet preconnect dns-prefetch" href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap"><link href="https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap" rel="stylesheet preconnect dns-prefetch"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Zeni - Modern Finance Team For Startups</title><script type="module" crossorigin src="/assets/index-B8OsEhOZ.js"></script><link rel="modulepreload" crossorigin href="/assets/vendor-rkTZJa59.js"><link rel="modulepreload" crossorigin href="/assets/mui-C42whWwM.js"><link rel="modulepreload" crossorigin href="/assets/analytics-B3n5JGPc.js"><link rel="modulepreload" crossorigin href="/assets/routing-VwiwPky5.js"><link rel="modulepreload" crossorigin href="/assets/sentry-osuhWjvS.js"><link rel="modulepreload" crossorigin href="/assets/redux-2gfZRks6.js"><link rel="modulepreload" crossorigin href="/assets/liveblocks-CP09Cz-7.js"><link rel="modulepreload" crossorigin href="/assets/crypto-BDNqpTKX.js"><link rel="stylesheet" crossorigin href="/assets/index-BAKoUD4u.css"></head><body><div id="root"></div></body></html>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeniai/web-cockpit-ui",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.23-dev",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist/**/*"
|
|
6
6
|
],
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
"@sentry/react": "^9.42.1",
|
|
17
17
|
"@types/crypto-js": "^4.1.0",
|
|
18
18
|
"@types/lodash": "^4.17.16",
|
|
19
|
-
"@zeniai/client-analytics": "1.6.
|
|
20
|
-
"@zeniai/client-epic-state": "4.18.
|
|
21
|
-
"@zeniai/web-components": "3.15.
|
|
19
|
+
"@zeniai/client-analytics": "1.6.58",
|
|
20
|
+
"@zeniai/client-epic-state": "4.18.60",
|
|
21
|
+
"@zeniai/web-components": "3.15.74",
|
|
22
22
|
"color": "3.1.3",
|
|
23
23
|
"cross-fetch": "^4.0.0",
|
|
24
24
|
"crypto-js": "4.2.0",
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import{u as Ie,e as Ve,d5 as Ue,a1 as M,a as Be,c9 as $e,l as ze,M as Re,a7 as G,j as t,cO as _e,g as We,C as r,aW as Le,m as qe,F as Ne,dO as He,o as B,v as Me,aR as Ge,a3 as Ye,q as a,n as Je}from"./index-P_4M6V8j.js";import{b as p,n as S}from"./vendor-rkTZJa59.js";import{F as Ke}from"./HelpButton-DEwtg0Ez-BLNCXJFp.js";import{Y as Qe}from"./SetUpDefaultSection-BM57n5BV-BGP1G39B.js";import{f as Xe,y as Y}from"./SpendMgmtSetupAccountSection-BF7bb5O_-DSPc6rRK.js";import{x as Ze}from"./LabeledControlledCheckBoxField-TB_2rc3R-DL54XhuW.js";import{g as et}from"./UploadAdditionalDocumentOverlay-BFn9gixM-TNCvf1wH.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./MeetingCalenderPopup-CgzTeE14-BMiIqHVm.js";import"./ChargeCardUtils-DQztOSYJ-DZxY6wV1.js";import"./CreditCardPaymentPlgSection-Cz-CSdKg-DO4yi827.js";import"./ChaseOverlay-BaGgoJZk-L4zZNkyz.js";const c={titleWidth:new r(343,580,726,826),setupDetailsRowGap:new r(12,a[5],a[5]),sectionRowGap:new r(a[5],a[9],a[9]),iconWidthHeight:new r(20,a[4]),subTitlePaddingTop:new r(12,a[3]),subTitlePaddingBottom:new r(a[3],a[3]),overlayWidth:new r(100,100,59),checkBoxTop:new r(a[1],a[0])},J="chargeCardSetUpPage",h="payAccount",{commonSetUp:tt,spendManagement:nt}=Re.getLocalizedStrings(),{chargeCard:X}=nt,{chargeCardSetUp:m}=X,{setUp:$}=tt,Tt=({autoPayThreshold:e,isDisabled:x,meetingUrl:T,isEarlyPayEnabled:g,chargeCardSetUpView:o,connectedAccountProvider:Z,filesEndPoint:ee,authParams:te,isAccountsEnabled:ne,isDebitCardOnlyEnabled:v,isCreditCardOnlyEnabled:ie,accountsPromoConfig:oe,onFetchLinkTokenClick:ae,onBackClick:ce,onEnableChargeCardClick:se,onUpdateChargeCardClick:le,onBusinessVerificationSectionClick:re,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAutoPayClick:me,onEstablishConnectionClick:he,onEstablishConnectionSuccess:ge,onClickMenuIcon:fe,onEnableChargeCardSuccess:P,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,onCompanyOfficerUpdated:Se,onSendForVerificationClick:xe,onSignUpClick:Pe})=>{const f=Ie(),i=Ve(),E=Ue().analytics,[w,y]=p.useState(!1),{fetchState:b,companyBillPayInfo:z,isRefreshingViewInBackground:we,updateStatus:d,accountUpdateStatus:Ae,plaidConnectionDetails:ke,allBankAccounts:Te,companyChargeCardInfo:F,companyDebitCardInfo:R,selectedCompanyOfficer:s,primaryFundingAccount:l,allFundingAccounts:_}=o,W=M(b),A=M(d.fetchState),j=Be({mode:"all",reValidateMode:"onChange",defaultValues:p.useMemo(()=>K(o),[o]),values:K(o)}),ve=j.handleSubmit(se),Ee=async(C,k)=>{const n=k[h];if(C.includes(h))if(C.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&l?.id!=n.fundingAccount.selectedOption){const u=_.find(U=>U.id===n.fundingAccount.selectedOption);u!=null&&pe(n.fundingAccount.selectedOption,u.accType)}}else if(n.account.selectedOption!=null&&l?.id!=null&&l?.zeniAccountId!=n.account.selectedOption){const u=n.account.allOptions.find(U=>U.value===n.account.selectedOption);u!=null&&typeof u.label=="string"&&E.trackConnectBankLink(u.value,u.label,"charge_cards"),le(n.account.selectedOption,l.id,l.accType)}else C.includes("enableAutoPay")&&n.enableAutoPay!=null&&me(n.enableAutoPay)};p.useEffect(()=>{const C=j.watch((k,{name:n})=>{n!=null&&k!=null&&$e(()=>Ee(n,k))});return()=>{C.unsubscribe()}}),p.useEffect(()=>{!w&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"&&y(!0),w&&W==="In-Progress"&&b==="Completed"&&y(!1)},[s,b,W]),p.useEffect(()=>{A==="In-Progress"&&d.fetchState==="Completed"&&P()},[P,A,d.fetchState]);const O=F?.isChargeCardEnabled===!0,D=R?.isDebitCardEnabled===!0,L=R?.isDebitCardTOSAccepted===!0,q=F?.isChargeCardTOSAccepted===!0,N=z?.isBusinessVerified===!0,Fe=l?.accType==="depositAccount"||ze.isVerifiedPaymentAccountProviderStatusCode(l?.providerVerificationStatus?.code??""),I=v?N:N&&Fe,je=b==="In-Progress"||b==="Not-Started";p.useEffect(()=>{A==="In-Progress"&&d.fetchState==="Completed"&&P()},[P,A,d.fetchState]);const V=v?I&&!D&&L:ie?I&&!O&&q:I&&!(O&&D)&&q&&L,Oe=V?m.setupSubTitleNotEnabled:m.setupSubTitle,H=f.mode==="light"?new G(f.colors.brandColorJadeLight):new G(f.colors.brandColorJadeDark),De=()=>{!w&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"?y(!0):re?.()};return t.jsxs(ot,{children:[t.jsx(_e,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:w,onClose:()=>y(!1),style:{backgroundColor:We.drawerBackground},transitionDuration:250,children:t.jsx(et,{authParams:te,filesEndPoint:ee,updateStatus:d,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,companyOfficer:s,onClose:()=>y(!1),onCompanyOfficerUpdated:Se,onSendForVerificationClick:xe})}),t.jsx(Le,{title:m.setupTitle,backgroundColor:f.colors.grey4,style:{zIndex:3},onBackClick:ce,showMenuIcon:!O&&!D&&(i==="medium-compact"||i==="small"),onClickMenuIcon:fe,source:"ChargeCardSetupPage"}),t.jsxs(it,{windowSize:i,children:[t.jsx(at,{windowSize:i,children:Oe}),je?t.jsx(ct,{children:t.jsx(qe,{size:"ExtraLarge",start:!0})}):t.jsx(Ne,{...j,children:t.jsx("form",{id:Q(J),onSubmit:ve,children:t.jsxs(st,{windowSize:i,children:[t.jsx(Qe,{onClick:De,title:$.businessVerificationTitle,subTitle:$.businessVerificationSubTitle,header:$.businessVerificationHeader,icon:{element:t.jsx(He,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},status:z?.businessVerificationStatus,isLoading:we,isActiveWhileLoading:!0}),v?null:t.jsx(Xe,{connectedAccountProvider:Z,primaryFundingAccount:l,allFundingAccounts:_,plaidConnectionDetails:ke,allBankAccounts:Te,sectionId:h,isDisabled:x,onFetchLinkTokenClick:ae,onEstablishConnectionClick:he,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ue,sectionTitle:m.setupAccountSectionTitle,onEstablishConnectionSuccess:ge,icon:{element:t.jsx(Ge,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},analytics:E,productType:"charge_cards",isAccountsEnabled:ne,onSignUpClick:Pe,pageName:m.pageName,accountsPromoConfig:oe,accountSelectContainerStyle:g?{marginBottom:"20px"}:{},bottomComponent:g&&t.jsx(Ze,{label:{label:X.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:f.colors.primary,...Me.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:B.sp4,marginTop:B.sp1,alignItems:i==="small"?"flex-start":"center"},checkBoxField:{name:Y(h,"enableAutoPay"),checkBoxValue:Y(h,"enableAutoPay"),defaultChecked:F?.isAutoPayEnabled,style:{top:c.checkBoxTop.valuePx(i)}}})})]})})})]}),V?t.jsx(Ye,{formId:Q(J),primaryBtn:{label:m.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:d.fetchState==="In-Progress"||Ae.fetchState==="In-Progress",isDisabled:x!=null},showCancel:!1,cancelBtn:{label:""},style:{padding:`12px ${B.sp3}`}}):null,t.jsx(Ke,{isFooterRendered:V,meetingUrl:T,analytics:E,productType:"charge_cards"})]})},K=e=>{const{allBankAccounts:x,allFundingAccounts:T,primaryFundingAccount:g}=e;return{[h]:{fundingAccount:{selectedOption:g?.id,allOptions:T.map(o=>({label:o.label,value:o.id,isRecommended:o.accType==="depositAccount"}))},account:{selectedOption:g?.zeniAccountId,allOptions:x.map(o=>({label:o.accountName,value:o.accountId}))},enableAutoPay:e.companyChargeCardInfo?.isAutoPayEnabled}}},Q=e=>`${e}_form`,it=S.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
justify-content: flex-start;
|
|
4
|
-
height: 100%;
|
|
5
|
-
overflow-y: auto;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
align-items: center;
|
|
8
|
-
row-gap: ${e=>c.setupDetailsRowGap.valuePx(e.windowSize)};
|
|
9
|
-
`,ot=S.div`
|
|
10
|
-
display: flex;
|
|
11
|
-
min-height: 100%;
|
|
12
|
-
height: 100%;
|
|
13
|
-
flex-direction: column;
|
|
14
|
-
width: 100%;
|
|
15
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
16
|
-
`,at=S(Je)`
|
|
17
|
-
color: ${e=>e.theme.colors.hero};
|
|
18
|
-
display: flex;
|
|
19
|
-
justify-content: center;
|
|
20
|
-
width: ${e=>c.titleWidth.valuePx(e.windowSize)};
|
|
21
|
-
padding-top: ${e=>c.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
22
|
-
padding-bottom: ${e=>c.subTitlePaddingBottom.valuePx(e.windowSize)};
|
|
23
|
-
text-align: ${e=>e.windowSize==="small"?"initial":"center"};
|
|
24
|
-
`,ct=S.div`
|
|
25
|
-
display: flex;
|
|
26
|
-
width: 100%;
|
|
27
|
-
height: calc(100vh - 110px);
|
|
28
|
-
flex-direction: row;
|
|
29
|
-
justify-content: center;
|
|
30
|
-
align-items: center;
|
|
31
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
32
|
-
`,st=S.div`
|
|
33
|
-
display: flex;
|
|
34
|
-
flex-direction: column;
|
|
35
|
-
row-gap: ${e=>c.sectionRowGap.valuePx(e.windowSize)};
|
|
36
|
-
`;export{Tt as default,Q as uniqueName};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as r}from"./index-P_4M6V8j.js";import o from"./CustomerOnboardingNoStepsPage-B8cf9wWc-DoeA9g-j.js";import i from"./CustomerOnboardingPage-1o2R-ghV-DIOBtRSu.js";import"./mui-C42whWwM.js";import"./vendor-rkTZJa59.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./HelpButton-DEwtg0Ez-BLNCXJFp.js";import"./MeetingCalenderPopup-CgzTeE14-BMiIqHVm.js";import"./PaymentAccountSetupBillingAddressSection-CY9QJXXs-ByBDQvaD.js";import"./SetUpAccountSection-CKdSkMBO-Dgf4iucH.js";import"./SetUpDefaultSection-BM57n5BV-BGP1G39B.js";import"./ChaseOverlay-BaGgoJZk-L4zZNkyz.js";import"./CustomerOnboardingDetailPageSkeleton-H59MLCwU-KBQed5cV.js";import"./CompanyOfficerDetailsSection-B5d06n1B-shOCzvZi.js";import"./LabeledAddressValueField-CC4nYBb8-CmuRvhjZ.js";import"./LabeledCreatableSingleSelectField-CdgNcgTu-CwOMlXoT.js";import"./LabeledDocumentField-CzTqgS97-CVWMa21M.js";import"./QBOSetupSection-BWJoUKzu-DC5g6xXu.js";import"./QBOConnectionDialog-DhOSSZ5O-BcCZx_dG.js";const v=t=>t.currentTenant?.productSettings.isOtherProductsEnabled===!0?r.jsx(o,{...t}):r.jsx(i,{...t});export{v as default};
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import{d5 as se,j as o,e as Ce,u as Pe,a as we,h7 as be,M as xe,a1 as ke,c9 as Ie,aW as $e,o as i,_ as Ae,F as Oe,a3 as ve,aI as je,cC as Ve,cD as oe,d as Te,C as q,n as Le,q as $}from"./index-P_4M6V8j.js";import{n as c,b as A}from"./vendor-rkTZJa59.js";import{F as Ue}from"./HelpButton-DEwtg0Ez-BLNCXJFp.js";import{s as ze,o as Ee}from"./PaymentAccountSetupBillingAddressSection-CY9QJXXs-ByBDQvaD.js";import{f as Be}from"./CustomerOnboardingDetailPageSkeleton-H59MLCwU-KBQed5cV.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./MeetingCalenderPopup-CgzTeE14-BMiIqHVm.js";import"./SetUpAccountSection-CKdSkMBO-Dgf4iucH.js";import"./SetUpDefaultSection-BM57n5BV-BGP1G39B.js";import"./ChaseOverlay-BaGgoJZk-L4zZNkyz.js";const Q="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",J={titleWidth:new q(343,580,726,826),subTitlePaddingTop:new q($[3],$[3]),subTitlePaddingBottom:new q($[3],$[3])},Fe=e=>`${e}_form`,_e=xe.getLocalizedStrings(),De=({onboardingCustomerView:e,connectedAccountProvider:C,cardPaymentView:y,stripeKey:v,googleAPIKey:j,signedInUser:P,currentTenant:V,onUpdateStep:T,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:U,updateCardPaymentModalState:w,handleAddCardPaymentSource:z,resetCardPaymentViewState:E,handleResetCardPaymentErrorStatuses:B,redirectToProductSuitePage:b,onUpdateCustomerView:F,..._})=>{const u=Ce(),D=se(),{analytics:h}=D,{onFetchLinkTokenClick:M,onUpdatePaymentAccountStatus:K,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:N,handleLogOutClick:G,onZeniLogoClick:W,onAddressEditHandler:x}=_,Z=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:O(e),values:O(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:p,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:X,uiState:le,allNationalityCountries:Y,subscriptionBillingAddress:m}=e,{customerOnboardingPage:ce,common:g}=_e,{footer:ue,steps:pe}=ce,{buttons:H}=ue,ee=pe.link_payment_account,I=ke(p.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const s=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,f=Ve(l?.country);d={street:a[n].street??g.strings.empty,city:l?.locality??g.strings.empty,state:l?.administrativeAreaLevel1??g.strings.empty,country:f,countryCode:l?.countryCode??g.strings.empty,postalCode:l?.postalCode??g.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},s.selectedOption!==f.selectedOption&&(d={...d,country:f})}else t===`${n}.country`&&s.selectedOption!=null?d={...d,countryCode:oe(s.selectedOption)}:s.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(s.selectedOption)});x(d)}};A.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&Ie(()=>ge(s,a))});return()=>{t.unsubscribe()}}),A.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&r.reset(O(e),{keepDirtyValues:!1})},[r,e,I,p.fetchState,Y]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??g.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(X).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,s=y.cardsList.length>0,d=y.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&s||!s&&!k&&d};function he(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=m?.street.join("").trim(),s=m?.city,d=m?.state,l=m?.country,f=m?.postalCode!=null&&m.postalCode||t.postalCode||g.strings.empty;return!!a&&!!s&&!!d&&!!l&&!!f}const Se=async()=>{const t=await r.trigger(n),a=await r.trigger(Q);t&&a&&(ye(),T("link_payment_account"),F(me,!1,!0))};A.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&(r.reset(O(e),{keepDirtyValues:!1}),b())},[r,e,I,p.fetchState,Y,b]);const[ae,fe]=A.useState(!1);return o.jsxs(Me,{children:[o.jsxs(Ke,{windowSize:u,children:[o.jsx($e,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:Z.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:u!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:o.jsx(We,{children:o.jsx(Ze,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:W})})}),o.jsx(Oe,{...r,children:o.jsx(Ne,{id:Fe(ie),children:o.jsxs(Re,{children:[o.jsx(He,{windowSize:u,children:ee.sectionSubTitle}),o.jsx(ze,{connectedAccountProvider:C,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:Q,analytics:h,isValid:ne(),onFetchLinkTokenClick:M,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:K,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:N,updateCardPaymentModalState:w,cardPaymentView:y,resetCardPaymentViewState:E,cardSetupInProgress:ae,googleAPIKey:j,subscriptionBillingAddress:m})]},"link_payment_account")})}),o.jsx(ve,{formId:`${ie}`,leftSideComponent:o.jsx(Ge,{windowSize:u,children:o.jsx(je,{signedInUser:P,currentTenant:V,onLogOutClick:G})}),style:{width:u==="small"?"auto":"100%",padding:i.sp0,rowGap:i.sp1},helperContainerStyle:{width:"100%",rowGap:i.sp1,marginTop:"12px",marginBottom:i.sp2},primaryBtn:{onClick:Se,label:H.submit,isLoading:p.fetchState==="In-Progress",isDisabled:p.fetchState==="In-Progress"||!(he()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:H.submitText.replace("__action__",H.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(Ee,{handleConfirmCardSetupIntent:U,updateCardPaymentModalState:w,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:z,cardPaymentView:y,stripeKey:v,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:B,cardSetupInProgress:ae,setCardSetupInProgress:fe})]})},Me=c.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
align-items: center;
|
|
5
|
-
min-width: 100% ${e=>e.theme.breakpoints.down("md")} {
|
|
6
|
-
width: 100%;
|
|
7
|
-
padding-left: ${i.sp0};
|
|
8
|
-
}
|
|
9
|
-
`,Ke=c.div`
|
|
10
|
-
display: flex;
|
|
11
|
-
flex-direction: column;
|
|
12
|
-
align-items: center;
|
|
13
|
-
flex: 1;
|
|
14
|
-
width: 100%;
|
|
15
|
-
height: 100%;
|
|
16
|
-
background-image: ${e=>`url(https://storage.googleapis.com/zeni-apis.appspot.com/images/signin-background-${e.windowSize==="small"?"m":"w"}-${e.theme.mode==="dark"?"d":"l"}.svg)`};
|
|
17
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
18
|
-
background-size: inherit;
|
|
19
|
-
background-attachment: fixed;
|
|
20
|
-
background-position: ${e=>e.windowSize==="small"?"center center":"right center"};
|
|
21
|
-
background-repeat: no-repeat;
|
|
22
|
-
|
|
23
|
-
${e=>e.theme.breakpoints.down("lg")} {
|
|
24
|
-
background-size: cover;
|
|
25
|
-
}
|
|
26
|
-
`,Re=c.div`
|
|
27
|
-
display: flex;
|
|
28
|
-
height: 100%;
|
|
29
|
-
flex-direction: column;
|
|
30
|
-
padding-bottom: ${i.sp0};
|
|
31
|
-
`,Ne=c.form`
|
|
32
|
-
padding-top: ${i.sp0};
|
|
33
|
-
flex: 1;
|
|
34
|
-
`,Ge=c.div`
|
|
35
|
-
display: flex;
|
|
36
|
-
height: ${i.sp7};
|
|
37
|
-
left: ${i.sp4};
|
|
38
|
-
bottom: ${i.sp3};
|
|
39
|
-
position: fixed;
|
|
40
|
-
justify-content: center;
|
|
41
|
-
align-items: center;
|
|
42
|
-
cursor: default;
|
|
43
|
-
`,We=c.div`
|
|
44
|
-
display: flex;
|
|
45
|
-
`,Ze=c(Te)`
|
|
46
|
-
height: ${i.sp4};
|
|
47
|
-
width: 102px;
|
|
48
|
-
color: ${e=>e.theme.colors.primary};
|
|
49
|
-
cursor: pointer;
|
|
50
|
-
flex-shrink: 0;
|
|
51
|
-
margin-left: -${i.sp4};
|
|
52
|
-
`,He=c(Le)`
|
|
53
|
-
color: ${e=>e.theme.colors.hero};
|
|
54
|
-
display: flex;
|
|
55
|
-
justify-content: center;
|
|
56
|
-
width: ${e=>J.titleWidth.valuePx(e.windowSize)};
|
|
57
|
-
padding-top: ${e=>J.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
58
|
-
padding-bottom: ${e=>J.subTitlePaddingBottom.valuePx(e.windowSize)};
|
|
59
|
-
text-align: ${e=>e.windowSize==="small"?"initial":"center"};
|
|
60
|
-
width: 100%;
|
|
61
|
-
`,O=e=>({[Q]:{account:{allOptions:[],selectedOption:void 0}},[n]:be(n,e?.subscriptionBillingAddress)[n]}),pt=e=>{const{onboardingCustomerView:C,cardPaymentView:y,signedInUser:v,currentTenant:j,isOnAddressPage:P,stripeKey:V,googleAPIKey:T,meetingUrl:L,onUpdateStep:U,onZeniLogoClick:w,handleLogOutClick:z,handleCockpitClick:E,handleCreateCardSetupIntent:B,handleConfirmCardSetupIntent:b,handleFetchPaymentSources:F,updateCardPaymentModalState:_,resetCardPaymentViewState:u,handleResetCardPaymentErrorStatuses:D,redirectToProductSuitePage:h,...M}=e,{allSteps:K,currentStep:R,fetchStatus:S}=C,N=se(),{analytics:G}=N,W={allSteps:K,isOnAddressPage:P,currentStep:R,fetchStatus:S,signedInUser:v,currentTenant:j,onUpdateStep:Z=>{U(Z)},onZeniLogoClick:w,handleLogOutClick:z,handleCockpitClick:E,redirectToProductSuitePage:h},x=S.fetchState==="In-Progress"||S.fetchState==="Not-Started";return o.jsxs(qe,{isOnAddressPage:P,children:[x?o.jsx(Be,{isNoStepsPage:!0}):o.jsx(De,{...W,onboardingCustomerView:C,handleCreateCardSetupIntent:B,handleConfirmCardSetupIntent:b,updateCardPaymentModalState:_,handleFetchPaymentSources:F,cardPaymentView:y,resetCardPaymentViewState:u,stripeKey:V,googleAPIKey:T,handleResetCardPaymentErrorStatuses:D,redirectToProductSuitePage:h,...M}),x?null:o.jsx(Ue,{isFooterRendered:!0,meetingUrl:L,analytics:G,productType:"onboarding"})]})},qe=c.div`
|
|
62
|
-
display: flex;
|
|
63
|
-
flex-direction: column;
|
|
64
|
-
width: ${e=>e.isOnAddressPage?"fit-content":"100%"};
|
|
65
|
-
height: 100vh;
|
|
66
|
-
`;export{pt as default};
|
|
@@ -1,202 +0,0 @@
|
|
|
1
|
-
import{e as M,d5 as U,Y as W,u as _,M as D,j as e,aW as A,o as t,_ as y,aI as I,l as H,n as R,d as V,g as l,v as k,x as J,L as N,c6 as Y,s as Z,ae as q}from"./index-P_4M6V8j.js";import{b as n,n as i}from"./vendor-rkTZJa59.js";import G from"./ConfettiBurst-nTrV9Xfw-D3DkhcOF.js";import{F as K}from"./HelpButton-DEwtg0Ez-BLNCXJFp.js";import{_ as Q}from"./ProductsCarousel-BaTq9uMB-DT3_7m1I.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./MeetingCalenderPopup-CgzTeE14-BMiIqHVm.js";const X=o=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=D.getLocalizedStrings(),We=({hasVerifiedBankAccount:o,meetingUrl:$,showUpdatePaymentDetailButton:u=!1,isVisitingFirstTime:b=!1,handleUpdatePaymentAddressDetailClick:v,...L})=>{const d=M(),x=U().analytics,f=W(),S=f.loggedInUser,a=f.currentTenant,[w,P]=n.useState(!1),{handleLogOutClick:z,onZeniLogoClick:T,handleCockpitClick:E}=L,O=_(),{customerOnboardingPage:c}=ee,p=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:B}=s,{isPayrollEnabled:h,isCfoEnabled:g,isTaxEnabled:m}=B;return h&&g&&m?[r.withTaxAndPayroll,r.withCFO]:h&&g?[r.withPayroll,r.withCFO]:h&&m?[r.taxAndPayroll]:g&&m?[r.withTax,r.withCFO]:h?[r.onlyPayroll]:g?[r.onlyCFO]:m?[r.onlyTax]:[r.default]},F=s=>{if(v(),!s)return;let r="";o?r="bank_account":r="credit_card",x.trackOnboardingClickUpdatePaymentDetails(r,H.getProductSettingsString(s.productSettings))};return e.jsxs(e.Fragment,{children:[e.jsx(te,{children:e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{windowSize:d,children:e.jsx(A,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:O.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(we,{children:e.jsx(ye,{"data-testid":y("zeni-logo-customer-onboarding-product-suite"),onClick:T})}),rightSideComponent:u?e.jsxs(Ce,{"data-testid":y("update-to-payment-address-details"),onClick:()=>F(a),children:[e.jsx(ke,{}),e.jsx(je,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx($e,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{style:{gap:p(a).length>1?t.sp2:t.sp1,padding:p(a).length>1?`12px ${t.sp4} 12px ${t.sp4}`:`12px ${t.sp3} 12px ${t.sp3}`},children:e.jsxs(se,{children:[e.jsxs(C,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:p(a)[0]})]}),e.jsx(C,{children:p(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(Q,{scale:1,showUpdatePaymentDetailButton:u,stopCarousel:w})}),e.jsxs(he,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(ge,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(me,{className:"discover-class"})]})]}),e.jsx(ue,{children:e.jsxs(xe,{children:[e.jsx(fe,{windowSize:d,children:e.jsx(I,{signedInUser:S,currentTenant:a,onLogOutClick:z,onCockpitClick:E})}),e.jsx(K,{isFooterRendered:!1,meetingUrl:$,analytics:x,productType:"onboarding_interim",showPopup:w,setShowPopup:P})]})})]})}),e.jsx(G,{showConfetti:b})]})},te=i.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
align-items: center;
|
|
5
|
-
min-width: 100%;
|
|
6
|
-
overflow: visible;
|
|
7
|
-
`,ie=i.div`
|
|
8
|
-
display: flex;
|
|
9
|
-
flex-direction: column;
|
|
10
|
-
align-items: center;
|
|
11
|
-
flex: 1;
|
|
12
|
-
width: 100%;
|
|
13
|
-
height: 100%;
|
|
14
|
-
min-height: 100vh;
|
|
15
|
-
background-image: ${o=>`url(https://storage.googleapis.com/zeni-apis.appspot.com/images/signin-background-${o.windowSize==="small"?"m":"w"}-${o.theme.mode==="dark"?"d":"l"}.svg)`};
|
|
16
|
-
background-color: ${o=>o.theme.colors.grey4};
|
|
17
|
-
background-size: inherit;
|
|
18
|
-
background-attachment: fixed;
|
|
19
|
-
background-position: ${o=>o.windowSize==="small"?"center center":"right center"};
|
|
20
|
-
background-repeat: no-repeat;
|
|
21
|
-
|
|
22
|
-
${o=>o.theme.breakpoints.down("lg")} {
|
|
23
|
-
background-size: cover;
|
|
24
|
-
}
|
|
25
|
-
`,oe=i.div`
|
|
26
|
-
position: fixed;
|
|
27
|
-
width: 100%;
|
|
28
|
-
top: ${t.sp0};
|
|
29
|
-
left: 0;
|
|
30
|
-
right: 0;
|
|
31
|
-
height: 62px;
|
|
32
|
-
padding: 0 ${t.sp2};
|
|
33
|
-
display: flex;
|
|
34
|
-
align-items: center;
|
|
35
|
-
justify-content: space-between;
|
|
36
|
-
z-index: 3;
|
|
37
|
-
`,re=i.div`
|
|
38
|
-
display: flex;
|
|
39
|
-
position: relative;
|
|
40
|
-
flex-direction: column;
|
|
41
|
-
align-items: center;
|
|
42
|
-
justify-content: center;
|
|
43
|
-
width: 100%;
|
|
44
|
-
margin: 86px 0 0 0;
|
|
45
|
-
`,ne=i.div`
|
|
46
|
-
position: relative;
|
|
47
|
-
display: flex;
|
|
48
|
-
align-items: center;
|
|
49
|
-
justify-content: center;
|
|
50
|
-
width: fit-content;
|
|
51
|
-
border-radius: 50px;
|
|
52
|
-
margin-bottom: ${t.sp7};
|
|
53
|
-
cursor: default;
|
|
54
|
-
overflow: hidden;
|
|
55
|
-
|
|
56
|
-
&::before {
|
|
57
|
-
content: "";
|
|
58
|
-
position: absolute;
|
|
59
|
-
top: 0;
|
|
60
|
-
right: 0;
|
|
61
|
-
bottom: 0;
|
|
62
|
-
left: 0;
|
|
63
|
-
background-color: ${l.brandColorJadeLight};
|
|
64
|
-
opacity: 0.5;
|
|
65
|
-
z-index: 0;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
> * {
|
|
69
|
-
position: relative;
|
|
70
|
-
z-index: 1;
|
|
71
|
-
}
|
|
72
|
-
`,se=i.div`
|
|
73
|
-
display: flex;
|
|
74
|
-
flex-direction: column;
|
|
75
|
-
justify-content: center;
|
|
76
|
-
width: 100%;
|
|
77
|
-
height: 100%;
|
|
78
|
-
`,C=i.div`
|
|
79
|
-
display: flex;
|
|
80
|
-
align-items: flex-start;
|
|
81
|
-
justify-content: center;
|
|
82
|
-
`,ae=i.div`
|
|
83
|
-
display: flex;
|
|
84
|
-
align-items: center;
|
|
85
|
-
justify-content: center;
|
|
86
|
-
width: ${k.largeRegular.lineHeight};
|
|
87
|
-
height: ${k.largeRegular.lineHeight};
|
|
88
|
-
border-radius: 50%;
|
|
89
|
-
outline: 1px solid ${l.brandColorJadeDark};
|
|
90
|
-
background-color: ${l.brandColorPearl};
|
|
91
|
-
`,le=i(J)`
|
|
92
|
-
width: ${t.sp3};
|
|
93
|
-
height: ${t.sp3};
|
|
94
|
-
color: ${l.brandColorSapphire};
|
|
95
|
-
`,j=i(N)`
|
|
96
|
-
color: ${l.brandColorSapphire};
|
|
97
|
-
text-align: center;
|
|
98
|
-
margin-left: ${t.sp2};
|
|
99
|
-
`,de=i.div`
|
|
100
|
-
display: flex;
|
|
101
|
-
align-items: center;
|
|
102
|
-
justify-content: center;
|
|
103
|
-
width: 100%;
|
|
104
|
-
margin-bottom: ${t.sp4};
|
|
105
|
-
cursor: default;
|
|
106
|
-
`,ce=i(Y)`
|
|
107
|
-
color: ${o=>o.theme.colors.primary};
|
|
108
|
-
text-align: center;
|
|
109
|
-
margin-left: ${t.sp2};
|
|
110
|
-
margin-right: ${t.sp2};
|
|
111
|
-
`,pe=i.div`
|
|
112
|
-
width: 1328px;
|
|
113
|
-
height: 512px;
|
|
114
|
-
display: flex;
|
|
115
|
-
align-items: center;
|
|
116
|
-
justify-content: center;
|
|
117
|
-
overflow: visible;
|
|
118
|
-
margin-bottom: ${t.sp4};
|
|
119
|
-
`,he=i.a`
|
|
120
|
-
display: flex;
|
|
121
|
-
align-items: center;
|
|
122
|
-
justify-content: center;
|
|
123
|
-
text-decoration: none;
|
|
124
|
-
width: 100%;
|
|
125
|
-
cursor: pointer;
|
|
126
|
-
color: ${l.brandColorSapphire};
|
|
127
|
-
&:hover {
|
|
128
|
-
.discover-class {
|
|
129
|
-
color: ${o=>o.theme.colors.primary};
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
`,ge=i(Z)`
|
|
133
|
-
color: inherit;
|
|
134
|
-
text-align: center;
|
|
135
|
-
`,me=i(q)`
|
|
136
|
-
width: ${t.sp3};
|
|
137
|
-
height: ${t.sp3};
|
|
138
|
-
color: inherit;
|
|
139
|
-
margin-left: 6px;
|
|
140
|
-
margin-top: ${t.sp1};
|
|
141
|
-
`,ue=i.div`
|
|
142
|
-
width: 100%;
|
|
143
|
-
padding: 10px ${t.sp3};
|
|
144
|
-
position: sticky;
|
|
145
|
-
bottom: 0;
|
|
146
|
-
left: 0;
|
|
147
|
-
right: 0;
|
|
148
|
-
z-index: 3;
|
|
149
|
-
display: flex;
|
|
150
|
-
justify-content: space-between;
|
|
151
|
-
align-items: center;
|
|
152
|
-
flex-direction: column;
|
|
153
|
-
`,xe=i.div`
|
|
154
|
-
display: flex;
|
|
155
|
-
position: relative;
|
|
156
|
-
justify-content: space-between;
|
|
157
|
-
width: 100%;
|
|
158
|
-
align-items: center;
|
|
159
|
-
`,fe=i.div`
|
|
160
|
-
display: flex;
|
|
161
|
-
left: ${t.sp4};
|
|
162
|
-
bottom: ${t.sp3};
|
|
163
|
-
position: fixed;
|
|
164
|
-
justify-content: center;
|
|
165
|
-
align-items: center;
|
|
166
|
-
cursor: default;
|
|
167
|
-
`,we=i.div`
|
|
168
|
-
display: flex;
|
|
169
|
-
`,ye=i(V)`
|
|
170
|
-
height: ${t.sp4};
|
|
171
|
-
width: 102px;
|
|
172
|
-
color: ${o=>o.theme.colors.primary};
|
|
173
|
-
cursor: pointer;
|
|
174
|
-
flex-shrink: 0;
|
|
175
|
-
margin-left: -${t.sp5};
|
|
176
|
-
`,ke=i(X)`
|
|
177
|
-
width: ${t.sp4};
|
|
178
|
-
min-width: ${t.sp4};
|
|
179
|
-
height: ${t.sp4};
|
|
180
|
-
`,Ce=i.div`
|
|
181
|
-
display: flex;
|
|
182
|
-
flex-direction: row;
|
|
183
|
-
align-items: center;
|
|
184
|
-
width: fit-content;
|
|
185
|
-
white-space: nowrap;
|
|
186
|
-
cursor: pointer;
|
|
187
|
-
color: ${o=>o.theme.colors.hero};
|
|
188
|
-
&:hover {
|
|
189
|
-
.btnText {
|
|
190
|
-
color: ${o=>o.theme.colors.primary};
|
|
191
|
-
}
|
|
192
|
-
svg {
|
|
193
|
-
color: ${o=>o.theme.colors.primary};
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
margin-right: ${t.sp2};
|
|
197
|
-
`,je=i(R)`
|
|
198
|
-
margin-left: ${t.sp2};
|
|
199
|
-
`,$e=i.div`
|
|
200
|
-
width: 200px;
|
|
201
|
-
height: ${t.sp4};
|
|
202
|
-
`;export{We as CustomerOnboardingProductSuitePage,We as default};
|