@zeniai/web-cockpit-ui 1.13.86-prod → 1.13.87-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.
Files changed (253) hide show
  1. package/dist/assets/{ACHDetailsPage-DGGeHZnW-B0w75Qqa.js → ACHDetailsPage-CW8vDdF5-BjcStneE.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-BnFh61HC-oYjMDFhp.js → AIPerformancePage-tSqRY12b-CS74oHek.js} +29 -29
  3. package/dist/assets/AccountInfoPage-C9rcnhgb-CRWEZYsW.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-C4VpFgc_-PZ9I-m68.js → AccountInfoPageContent-DftJxUep-Cw9zyQ_s.js} +20 -20
  5. package/dist/assets/{AccountReconDetailsDrawerPage-DJmFBJve-CKMiqNaf.js → AccountReconDetailsDrawerPage-CBpvkm_m-BXrukYLg.js} +16 -16
  6. package/dist/assets/AccountRow-cQU8OX0K-yHyqR7LP.js +298 -0
  7. package/dist/assets/{AccountsPromoCardStack-D5elLwcD-DUhWydOV.js → AccountsPromoCardStack-DuBj_EHe-B3WzwbTq.js} +23 -23
  8. package/dist/assets/{AddAddressForCardDrawer-D9uW1sU2-Bc-Z7xPG.js → AddAddressForCardDrawer-D4edy26A-B1-8tiAZ.js} +2 -2
  9. package/dist/assets/{AddToWalletPage-D3yOWwc3-DhHNF9uo.js → AddToWalletPage-Lkfz2CzH--lPqUVOg.js} +35 -35
  10. package/dist/assets/{AgingReportsPage-DlB02nzb-D-Sm1I5S.js → AgingReportsPage-DtW2tU4n-DVEUTxX1.js} +4 -4
  11. package/dist/assets/{AllUserItems-Bwbb5_fm-ynRHF0MF.js → AllUserItems-DcuO9Oho-D7VaO8Uf.js} +7 -7
  12. package/dist/assets/{ApAgingDetailPage-Bhf_ygxm-Ct0RZobi.js → ApAgingDetailPage-D2UVTYqP-9KAbUMxy.js} +3 -3
  13. package/dist/assets/{AppBasePage-DyGLpjZ0-DaARhwk6.js → AppBasePage-iuomCofd-D1M4Ldw8.js} +4 -4
  14. package/dist/assets/{AppDrawerContent-D_dlUPFp-KwJJQrM6.js → AppDrawerContent-BfpdXsfY-BoqfQVbX.js} +8 -8
  15. package/dist/assets/{ApprovalRulesSettingsPage-DLvGE0ND-BRmcznJ6.js → ApprovalRulesSettingsPage-BKAWfUl9-BUmVoC9W.js} +6 -6
  16. package/dist/assets/{ArAgingChart-CR7dx7XY-CKZgeOzb.js → ArAgingChart--GzyqIlN-wEZY3asj.js} +5 -5
  17. package/dist/assets/{ArAgingDetailPage-kU_SEimL-BvGZHW4B.js → ArAgingDetailPage-A0zmG_tR--cuXu7ko.js} +2 -2
  18. package/dist/assets/{AttachmentView-ClQPirg--DEqMxi0K.js → AttachmentView-D203zhS3-Blc80O1o.js} +8 -8
  19. package/dist/assets/{BankAccountSection-DLB1oftk-DWVfhPoh.js → BankAccountSection-iz2k4H5K-CWZXnWVk.js} +4 -4
  20. package/dist/assets/{BankAccountWarningSection-ClrNHLqo-BkJ1BVkf.js → BankAccountWarningSection-CSJXyjMA-BgaGb4P-.js} +5 -5
  21. package/dist/assets/{BankConnectionsSettingsPage-D1w10U35-YZIDDT6F.js → BankConnectionsSettingsPage-Co5pwxWT-C5lfXSpY.js} +15 -15
  22. package/dist/assets/{BillDetailPage-Bfrn4oa6-DQMbSBkL.js → BillDetailPage-BJbdAC5y-CMbCAQ4h.js} +5 -5
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-DIzv3Xu9-B9yjottn.js → BillPayApprovalRuleDetailPage-D4-goF6x-C23aUqzX.js} +2 -2
  24. package/dist/assets/{BillPayApprovalRulesPage-CPBknTMQ-CVKAq3ly.js → BillPayApprovalRulesPage-CpAFdET_-DdMQ64US.js} +3 -3
  25. package/dist/assets/{BillPayPromoPage-CKETeVet-DdUaRi_i.js → BillPayPromoPage-DZn9Wdsi-COOh5nks.js} +2 -2
  26. package/dist/assets/{BillPaySetUpPage-DIz-RZih-BreWbM81.js → BillPaySetUpPage-BGxI3SGy--373OJdf.js} +2 -2
  27. package/dist/assets/BillingSettingsPage-B3h6dTYD-CiH5BD6s.js +44 -0
  28. package/dist/assets/BillsBulkReviewDrawerPage-Ck830aIk-BaNyoEgy.js +1 -0
  29. package/dist/assets/{BoxItem-B8KF3Skh-JYmAPE_J.js → BoxItem-C-RN4c2j-F6XwRGQ-.js} +1 -1
  30. package/dist/assets/BusinessVerificationPage-BEK8kZil-Di05q2Gg.js +140 -0
  31. package/dist/assets/{CardNumberSubText-CNiPWVeO-LUxFhNyr.js → CardNumberSubText-Bvs0Rr9x-DPY11oi8.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-BNWBGKHa-CgYtx0i2.js → CashbackDetailPage-9aAW-23b-6kdPvDSO.js} +24 -24
  33. package/dist/assets/{ChargeCardDetailPage-BuCwlpLH-Dqmxnq7H.js → ChargeCardDetailPage-DHjtLrCu-8rSs9AMN.js} +58 -58
  34. package/dist/assets/ChargeCardListPage-DzmHmoAp-BfBb-N8b.js +355 -0
  35. package/dist/assets/{ChargeCardListTable-D4-Br785-CA2JSsF9.js → ChargeCardListTable-jGT-e74M-5-uAUG8Z.js} +18 -18
  36. package/dist/assets/ChargeCardPromoPage-C2wn8FfE-Qh6s_V9A.js +219 -0
  37. package/dist/assets/{ChargeCardSetupPage-fy0EpA-m-BxDAwTha.js → ChargeCardSetupPage-CN5Nbcsp-Bu6r203Z.js} +2 -2
  38. package/dist/assets/{ChargeCardStatementsPage-B_rdiq_Y-jjH-DAgp.js → ChargeCardStatementsPage-Bu_rIDAD-BeeV8bqA.js} +4 -4
  39. package/dist/assets/{ChargeCardUtils-CtoTn6DQ-CEQAXg_r.js → ChargeCardUtils-C-37hd5J-B8Ue09Ej.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-DfjQ73Ie-BuvaJtMo.js → ChaseOverlay-BG833ttH-_qJdBH9y.js} +8 -8
  41. package/dist/assets/CheckDepositDrawerPage-B4F_yGVS-pfAuDSEr.js +206 -0
  42. package/dist/assets/{CollapsableReportTable-CHsJ-93l-Bi7TfJ-K.js → CollapsableReportTable-CtS-s84B-BR4en1d9.js} +2 -2
  43. package/dist/assets/{CompanyOfficerDetailsSection-BlUCDRW6-B6U8H_cM.js → CompanyOfficerDetailsSection-Bor8xmLS-OgNQHHeC.js} +29 -29
  44. package/dist/assets/{CompanyPassportCard-DSRRu6RZ-C9HDgYfN.js → CompanyPassportCard-n-awcw82-DRSohnEc.js} +4 -4
  45. package/dist/assets/{CompanyPassportPage-DpeoVbLk-DkaYrVic.js → CompanyPassportPage-WfbfWOs1-COSgoQMl.js} +139 -139
  46. package/dist/assets/{CompleteProfile-BaTEooSW-BYqXMLi8.js → CompleteProfile-D80JYwPP-BRDUY6r-.js} +10 -10
  47. package/dist/assets/ConfettiBurst-UJtKVS38-DdsiBpUw.js +1 -0
  48. package/dist/assets/{CreateOrEditVendorPage-CaIc3Tib-CxIwekzk.js → CreateOrEditVendorPage-BMLSs7Yo-DmUQ86jB.js} +15 -15
  49. package/dist/assets/{CreditCardPaymentDrawerPage-DEFrzmkG-BRXwoTyj.js → CreditCardPaymentDrawerPage-8zmbMj3u-ZPA-ktu-.js} +16 -16
  50. package/dist/assets/{CreditCardPaymentPlgSection-IeRxDnG7-BraPG36j.js → CreditCardPaymentPlgSection-DD7kSp5v-BuL73gip.js} +10 -10
  51. package/dist/assets/{CurrencySelectField-DDiCwLn7-R8-HKoHS.js → CurrencySelectField-DGID-Pjb-B38xYqrH.js} +5 -5
  52. package/dist/assets/{CustomerOnboardingActivationPage-976y8y35-BKB9eQaF.js → CustomerOnboardingActivationPage-pdEVqtkO-B5fJSkdd.js} +3 -3
  53. package/dist/assets/CustomerOnboardingContainerPage-ChQOOhF_-C8keGYSw.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DYfidx87-BCTz__9n.js → CustomerOnboardingDetailPageSkeleton-1d9j5dWO-dyqi73hm.js} +11 -11
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-DrLZ3k77-D649rhkt.js → CustomerOnboardingNoStepsPage-BqrKQCFg-1lfgph7E.js} +8 -8
  56. package/dist/assets/CustomerOnboardingPage-DVVWivk2-WMhFdF9M.js +107 -0
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-CmHltdpN-H0vMGnp1.js → CustomerOnboardingProductSuitePage-D_WVGW91-B4zQnbeq.js} +4 -4
  58. package/dist/assets/Dashboard-B-fLAQ8T-DoAtb0kg.js +1253 -0
  59. package/dist/assets/{DashboardReportPage-DULpVd6J-l4Vy7hhH.js → DashboardReportPage--SAxmUu_-Dq18S8YZ.js} +67 -67
  60. package/dist/assets/{DepositAccTransactionItem-BEs_Al_8-Bg20fmit.js → DepositAccTransactionItem--OdW7LRx-zcdQHy5Q.js} +2 -2
  61. package/dist/assets/{DepositAccTransactionListPage-CL8Rr3I4-PTeUP6x-.js → DepositAccTransactionListPage-BGapI5f0-BXH4xxAt.js} +8 -8
  62. package/dist/assets/{DocumentSecurityBanner-BgKXBGg3-Bl8BwMyM.js → DocumentSecurityBanner-Ctdvj5Tn-CM5WmW33.js} +1 -1
  63. package/dist/assets/DomesticWireDetailsPage-BGP2DLHb-CLZOaehZ.js +21 -0
  64. package/dist/assets/{DownloadOverlay-cne9_fIV-BVhcS5G6.js → DownloadOverlay-VDEpvzHH-C6KDM3Im.js} +17 -17
  65. package/dist/assets/{DrawerPage-B0mgBHB5-B97-EY3F.js → DrawerPage-BauCSJ4q-DA93KkS0.js} +8 -8
  66. package/dist/assets/EditPeoplePage-mz7FTion-DdIStM8G.js +55 -0
  67. package/dist/assets/{EditReimbursementDetailPage-DWhSkrJ7-Ck-WrOdO.js → EditReimbursementDetailPage-Bi_rdyjb-DXvJQD3u.js} +69 -69
  68. package/dist/assets/{EntityDetailPage-wnOA1SH7-DunEwi-2.js → EntityDetailPage-Bc2AVCEp-DOVttkwP.js} +2 -2
  69. package/dist/assets/{EntitySummarySection-Q_UUVBaU-CCdZqN3Z.js → EntitySummarySection-CDO6K9RG-CZ1I06e-.js} +11 -11
  70. package/dist/assets/{ExpenseAutomationOverviewPage-BumrdlGf-DlUCUheT.js → ExpenseAutomationOverviewPage-C7SAclix-Ch7r281h.js} +20 -20
  71. package/dist/assets/{ExpenseAutomationPage-DKjInf-x-CLrqgMqv.js → ExpenseAutomationPage-A03nzEV--i6evGevK.js} +84 -84
  72. package/dist/assets/{ExpressPayPage-wwfao-Tr-ryF8peXx.js → ExpressPayPage-B5QCvPtb-mYcSl8Ub.js} +8 -8
  73. package/dist/assets/{FeaturePreviewPage-DriDr9id-U4qY_kzw.js → FeaturePreviewPage-Czr4aIad-Bq5X23tc.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-5025urr9-DTswNK5r.js → FollowStepsSection-Cf1g5oOj-5G8g4W7R.js} +9 -9
  75. package/dist/assets/{GlobalReviewListPage-BFjOsp4u-CkPnlCwo.js → GlobalReviewListPage-BI8uyXfO-DlP3gmGv.js} +11 -11
  76. package/dist/assets/HelpButton-CWPUP9Y_-RpIu9G0D.js +28 -0
  77. package/dist/assets/{InformationCardStack-DrD-sWV8-CpQ1DMby.js → InformationCardStack-WnJWUp5O-BeMJUt9i.js} +5 -5
  78. package/dist/assets/{InsightsCardStack-CFqfiCOY-CdOcRooy.js → InsightsCardStack-CRA0RPsW-D6ISd9AF.js} +8 -8
  79. package/dist/assets/{InsightsSection-CN1BVvSr-BcPmBh3t.js → InsightsSection-DvcmBPbo-Kmp0eo1Q.js} +3 -3
  80. package/dist/assets/{IntegrationsSettingsPage-BBlKuJxA-BSt5UPQP.js → IntegrationsSettingsPage-D41_8UnK-CBjS_ZvM.js} +5 -5
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-f4DZUYIx-Bc0iCI6o.js → InternationalWireSwiftDetailsPage-BFN-eaZB-DkA8hvOx.js} +11 -11
  82. package/dist/assets/{InternationalWireVerificationPage-5WpkXxPC-D1J0y5mG.js → InternationalWireVerificationPage-xmoJO63s-D_kiU9kB.js} +17 -17
  83. package/dist/assets/{InviteFormPage-Bw2ykerx-CTE02jgl.js → InviteFormPage-Zy3qQng6-WUFAPnrT.js} +14 -14
  84. package/dist/assets/{InvitePageListView-BHp1m02Z-Bsala5KT.js → InvitePageListView-gATEAhxa-BJvv1nxH.js} +40 -40
  85. package/dist/assets/InvitePeoplePage-DkRbCpN7-4Qef88o5.js +12 -0
  86. package/dist/assets/{InvoiceUploadSection-B8Xsz6dM-DG10muME.js → InvoiceUploadSection-CTbnx9F4-DxOvNNGL.js} +5 -5
  87. package/dist/assets/{IssueChargeCardPage-DYrMWSZg-B_Lk6fnL.js → IssueChargeCardPage-BwBDVxeq-QT3JqZbp.js} +25 -25
  88. package/dist/assets/{LabeledAddressValue-kKgzA0is-XuxMbm26.js → LabeledAddressValue-C5YXOhcz-DcQYX30H.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-Bey_bvyv-DkjQja9O.js → LabeledAddressValueField-CMIVYcKX-IiR7eG-s.js} +3 -3
  90. package/dist/assets/{LabeledControlledCheckBoxField-CKrD5nfN-VcMd1w66.js → LabeledControlledCheckBoxField-Dr8ND8SA-C9Qzlvtb.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-B3x1MZJr-BQbLyyvB.js → LabeledCreatableSingleSelectField-CrDFWvwI-C1AD80Rw.js} +7 -7
  92. package/dist/assets/LabeledDocumentField-BG6Pu34Y-Dl5pM6Dq.js +41 -0
  93. package/dist/assets/LabeledDropDownFormattedTextField-cv7zClcb-f3M9bbM_.js +59 -0
  94. package/dist/assets/{LabeledText-BUZXeSSr-TfY54fhJ.js → LabeledText-DaM1ChQF-BwcpwF0f.js} +3 -3
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField--jmAGQy--CoSZdDuI.js → LabeledUserSingleSelectWithSubtitlesField-ClM9Uj1y-6k_crmLc.js} +6 -6
  96. package/dist/assets/{LabeledZeniRolesDropDownField-Dt5MOz8L-DuC7vLqr.js → LabeledZeniRolesDropDownField-DfAO3Vyq-C62yt72O.js} +21 -21
  97. package/dist/assets/{LinkJETransactionPage-DZZORFZw-zu63LnoB.js → LinkJETransactionPage-CSlZZ9r4-ChRBBG28.js} +7 -7
  98. package/dist/assets/{LowBalancePopup-BQYkTR6v-BKR39KfH.js → LowBalancePopup-ZfmTgr7J-C3y63M8c.js} +7 -7
  99. package/dist/assets/{MagicLinkACHDetailsPage-B2TCqv5k-YAHQsZg5.js → MagicLinkACHDetailsPage-Ad9q16ze-Cc4KtwXI.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-D0Fcshtr-ClddkEWx.js → MagicLinkDomesticWireDetailsPage-TudYpGU_-cwp5jFX6.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-BfschSvJ-jdQCIQzO.js → MagicLinkInternationalWireDetailsPage-DfZQur8x-MDCFOTKW.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-CLkxou_Q-88Fi-ErF.js → MagicLinkSuccessPage-G9P6M-7E-bWNtOw6X.js} +5 -5
  103. package/dist/assets/{MagicLinkTitleSection-BcnZtmCV-epy2dj3A.js → MagicLinkTitleSection-BnKDwhBK-wh8Yf-S0.js} +3 -3
  104. package/dist/assets/{MailingDetailsSection-B5PAttoo-CAWfzI0V.js → MailingDetailsSection-BV_-2RQM-CCg3F_6v.js} +1 -1
  105. package/dist/assets/{MeetingCalenderPopup-DM1wkT0M-Bm_cctkg.js → MeetingCalenderPopup-C6y2cRLo-BgxsFwD_.js} +1 -1
  106. package/dist/assets/{Menu-teOpHszN-Dh_2vQ1Q.js → Menu-Dhi3mAAc-CTdMUIt5.js} +3 -3
  107. package/dist/assets/{MyBankConnectionsSettingsPage-M74Mv2-V-Cz_Rumpg.js → MyBankConnectionsSettingsPage-D1DMNxbh-ChPr7QXP.js} +13 -13
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-jv9dbM48-CnTuqx43.js → MyPendingActivationChargeCardListPage-CtxNt4Km-OhPuLid4.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-CrhE1vfc-DajCnu6s.js → MyProfileSettingsPage-ehPTh7cb-C19JE_a0.js} +8 -8
  110. package/dist/assets/{NavBarWithPicker-w36OQzVq-CmZfp2mA.js → NavBarWithPicker-BF7k45-H-CqiTH9vF.js} +3 -3
  111. package/dist/assets/{NavigationArrow-CUVjQXS6-qUKTkXFl.js → NavigationArrow-DKuw9kCL-2Rze1y5j.js} +9 -6
  112. package/dist/assets/{NavigationDots-Dt6TkUQ7-sum6xK1Z.js → NavigationDots-DfJQIsra-CF_rwB9h.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-BAq_UQw1-DoKkpxED.js → NewGlobalMerchantPage-CWyjN00H-0DvMrAS7.js} +9 -9
  114. package/dist/assets/NoDataChart-BHIoW_SW-DoqAVhyM.js +26 -0
  115. package/dist/assets/{NoDataTable-Akc9VjuK-DBDpQtci.js → NoDataTable-Txtz3a1x-CVIPKw2H.js} +1 -1
  116. package/dist/assets/{NotFoundPage-3pCYWZU4-CzFa-O_Q.js → NotFoundPage-DewJikvf-DquNlF_a.js} +1 -1
  117. package/dist/assets/{NotificationSettingsPage-BX5y9Bhs-ChsBGNJT.js → NotificationSettingsPage-CAFlFJ9J-DNtSJXlE.js} +17 -17
  118. package/dist/assets/NotificationsListConfig-B6PteXf7-BPHFWRyo.js +1 -0
  119. package/dist/assets/{NotificationsPage-tre5LIJg-DXHT17a1.js → NotificationsPage-CqmgbRYI-B1REvxM0.js} +32 -32
  120. package/dist/assets/{OpExByVendorPage-Dagfjaza-BG12d2vk.js → OpExByVendorPage-CYAYFvCM-CDkrX969.js} +5 -5
  121. package/dist/assets/{OverlayContainerPage-nhe7xtoR-DhgreE--.js → OverlayContainerPage-C0rUb6-5-W0ax80yE.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-B6BwG3ZF-CpWFWN3l.js → PandLWithForecastPage-v5t7YeHA-c32BpF_9.js} +7 -7
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-w6QwL-c4-BQdRKRB_.js → PaymentAccountSetupBillingAddressSection-CnCCn9XQ-CNY3y6cT.js} +9 -9
  124. package/dist/assets/{PeoplePage-EFDCrYUk-CE3mVjyD.js → PeoplePage-D89yZGJn-CFNcLLmk.js} +21 -21
  125. package/dist/assets/{PortfolioAllocationFormPage-DbGLXM2D-Bx9gvRhX.js → PortfolioAllocationFormPage-Cit7ssiw-CpmTmt3z.js} +3 -3
  126. package/dist/assets/{PortfolioDetails-D2RWl4uo-DGy5rPyu.js → PortfolioDetails-B1HXVeH2-D3KDftxW.js} +12 -12
  127. package/dist/assets/{ProductsCarousel-o-YsHwnV-CbcIWkQ0.js → ProductsCarousel-BeOYePu1-BPS8weXu.js} +7 -7
  128. package/dist/assets/{PromoBaseCards-D21UZaz1-BKv3YpvZ.js → PromoBaseCards-D1DDp9C1-BMl9m8-G.js} +25 -25
  129. package/dist/assets/{QBOConnectionDialog-DOpuFcsk-DYkeM55L.js → QBOConnectionDialog-nb_5mvqp-CNrftMhR.js} +8 -8
  130. package/dist/assets/{QBOSetupSection-Dcf_Afvz-Cbe3ZtEf.js → QBOSetupSection-b-OrlvdU-D5Bh2qoF.js} +11 -11
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-DcDdM_Ss-C7HEqCY_.js → ReimbursementApprovalRuleDetailPage-vg7A7Fqa-DKxcfaTy.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-BhdyXjR--D8DMWvvK.js → ReimbursementApprovalRulesPage-FYfZ8-hX-DxG5e0_0.js} +8 -8
  133. package/dist/assets/ReimbursementDetailPage-DHsqq__V-BbntdEZI.js +314 -0
  134. package/dist/assets/{ReimbursementPromoPage-DJTuXxOX-Drg3-8a0.js → ReimbursementPromoPage-D-wmyfH--DT237a-Y.js} +16 -16
  135. package/dist/assets/{ReimbursementSetUpPage-DaIc03J9-DLaizgXu.js → ReimbursementSetUpPage-Cneg3RyB-nHTacFs2.js} +12 -12
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BW6yGqNG-btJeNAgh.js → ReimbursementsBulkReviewDrawerPage-OTHapAJy-B07Bk0eB.js} +1 -1
  137. package/dist/assets/{ReloadCard-D3-WJk3W-OXxdzcMU.js → ReloadCard-D72dkm5s-DHOqIhPE.js} +5 -5
  138. package/dist/assets/{ReportTableViewSelector-ZI_K0-D2-CIoJuBlW.js → ReportTableViewSelector-DfZ5geuW-DyPrCXZD.js} +7 -7
  139. package/dist/assets/{ReportsPage-DsILNosH-BV3Vvbdo.js → ReportsPage-7E3Q5HHF-DXypTMXr.js} +9 -9
  140. package/dist/assets/{RevenueChart-CKKeqpBi-BfzJ94CA.js → RevenueChart-G7w1_QXE-CK6mJH77.js} +15 -15
  141. package/dist/assets/{ReviewDetailsPage-BTag8Rn9-gND3y4kA.js → ReviewDetailsPage-i6ZXMuAf-CAvd4g6H.js} +19 -19
  142. package/dist/assets/{ReviewOverlay-CmbxFXT5-DAX6Vi5G.js → ReviewOverlay-D0tbkcpk-u3R_yBnI.js} +15 -15
  143. package/dist/assets/{RoleWithToolTip-D25NUL6y-tf-yHmuW.js → RoleWithToolTip-w2s9tX9j-CThc8drW.js} +6 -6
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-svqtgWEw-2FnaI8Kv.js → ScheduleDetailsFixedAssetsPage-5uPqQbhv-c_seLLEr.js} +8 -8
  145. package/dist/assets/{ScheduleDetailsPage-ClifB2yP-BqsDO0Dj.js → ScheduleDetailsPage-n2Mhm3VT-Qa9fyFQC.js} +3 -3
  146. package/dist/assets/{ScheduleSequenceTable-Bzz4WFsb-BwftU03v.js → ScheduleSequenceTable-BbLZtq_G-B-PxnDpg.js} +50 -50
  147. package/dist/assets/{ScreenRoutes-DCMPUDES.js → ScreenRoutes-1MbaXcJV.js} +35 -35
  148. package/dist/assets/{SetUpAccountSection-DHHAhE7n-BYj2HZ1g.js → SetUpAccountSection-CuOJZCNp-D6aQorsQ.js} +103 -103
  149. package/dist/assets/{SetUpDefaultSection-DkoRgSyp-Bj90DWQf.js → SetUpDefaultSection-D0d0yzu8-BDWGdtc-.js} +16 -16
  150. package/dist/assets/{SignIn-DSJylxLB-RERuk1YM.js → SignIn-CtZ8rTB_-wQdGuYtt.js} +16 -16
  151. package/dist/assets/{SignInScreen-B8ft0_Ar.js → SignInScreen-BSTxrh_N.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-NfjbjBOy-DW0rH2Ft.js → SpendManagementListViewPage-ymHs-MwL-BFF1eR3M.js} +13 -13
  153. package/dist/assets/{SpendManagementPerTabPage-CJqqj2pl-E24ZlsVq.js → SpendManagementPerTabPage-DwRwO5jR-DYEyp8w8.js} +52 -52
  154. package/dist/assets/{SpendManagementSection-C8jUu71n-BZHis9xk.js → SpendManagementSection-B1F6rl-n-Bxu1kHsM.js} +10 -10
  155. package/dist/assets/{SpendMgmtSetupAccountSection-CNcWLqIc-Bd_LEEBx.js → SpendMgmtSetupAccountSection-o-48qyw7-BwGu-MNC.js} +17 -17
  156. package/dist/assets/{StatementItem-CV3b0pVj-BI2xUPtS.js → StatementItem-CK2sUgkE-C5tUfOGU.js} +8 -8
  157. package/dist/assets/StatementsPage-D25LsJRp-EGUjR_Fx.js +58 -0
  158. package/dist/assets/{StatusSwitcher-CxzYEzIO-Co7QMQgC.js → StatusSwitcher-BppDI7-7-CaTqg34_.js} +5 -5
  159. package/dist/assets/{SubTabSwitcher-_XBeoyd8-B6G5BhKB.js → SubTabSwitcher-DTe2L8JC-D4RBO14j.js} +1 -1
  160. package/dist/assets/{SummaryCard-egXz66_a-Cl1rSzvu.js → SummaryCard-B-_3DnqQ-C4MQdd4u.js} +1 -1
  161. package/dist/assets/TaskManagementPage-NFVqhs6K-Bu_ZJ76r.js +508 -0
  162. package/dist/assets/{TimeRangeSwitcher-DETvaZov-CwVHTAYo.js → TimeRangeSwitcher-D5pSi1fB-XM_OXE-C.js} +5 -5
  163. package/dist/assets/{TimeframeSwitcher-DRQZAZ8X-DCySEKV1.js → TimeframeSwitcher-CQ37qP58-CJPthL9i.js} +5 -5
  164. package/dist/assets/TimeframeSwitcherWithToggle-DDX_BvPF-1t-6tvHL.js +31 -0
  165. package/dist/assets/{TopExCard-CtEulaIf-Zmeg67y4.js → TopExCard-CU-kbyDP-BkqVk6Yr.js} +6 -6
  166. package/dist/assets/{TopExDetailPage-O4MMssGR-B3pvpEDI.js → TopExDetailPage-COxNovqU-TyxPPRK9.js} +11 -11
  167. package/dist/assets/{TransactionDetailPage-CfY8i6QF-DDhR6G8w.js → TransactionDetailPage-k06RliU--jpVAAS-E.js} +40 -40
  168. package/dist/assets/{TransactionList-BABUQprb-CGrGARxw.js → TransactionList-CuRdM1xm-CGrWmUwi.js} +13 -13
  169. package/dist/assets/{TransactionListBig-qJc1PM0U-D-w-QKVO.js → TransactionListBig-ByLaQQUK-DVTWGGO_.js} +18 -18
  170. package/dist/assets/TransactionListPage-ioT-Jexm-z12q095m.js +35 -0
  171. package/dist/assets/{TransactionVendorDetailPage-nHnLQdj7-BobBNONL.js → TransactionVendorDetailPage-Dyg9upjC-FtRQ9fft.js} +6 -6
  172. package/dist/assets/{TransferDrawerPage-CkbHu9oQ-Cr2kLjQa.js → TransferDrawerPage-B6zOVR7E-PtwoiwD5.js} +33 -33
  173. package/dist/assets/{TreasuryOverviewPage-D9qxqZOy-DgvCDwU7.js → TreasuryOverviewPage-Cae5Kj1r-CipOXBTi.js} +29 -29
  174. package/dist/assets/{TreasuryPromoPage-Bn_4ae7Q-MjHQLB6N.js → TreasuryPromoPage-iNiwYAiH-bWL0zXEM.js} +15 -15
  175. package/dist/assets/{TreasurySetupPage-CpZDjXwu-BlgaftAJ.js → TreasurySetupPage-Bdl5g5Ct-DGTj2ns3.js} +6 -6
  176. package/dist/assets/{TreasuryStatementsPage-BXDwbrcC-B0Yvh0ZH.js → TreasuryStatementsPage-CLy-YBGI-_kq4Lb1i.js} +7 -7
  177. package/dist/assets/{TreasuryTaxLetterPage-Cwf-e3Jz-BGI8bIrR.js → TreasuryTaxLetterPage-lRsyHBLO-DlgswuUG.js} +7 -7
  178. package/dist/assets/{TreasuryTransferOrReviewPage-BSiDVjnO-jKxiAOAU.js → TreasuryTransferOrReviewPage-Cbfh-a6j-DM2Y9vYh.js} +10 -10
  179. package/dist/assets/TrendChart-BXOatw0x-CophMwJ6.js +16 -0
  180. package/dist/assets/{TrendWithTransactions-D8xzYG_f-BXYJlM5g.js → TrendWithTransactions-BxoyLfjd-_bPvq9jR.js} +3 -3
  181. package/dist/assets/{UncategorizedAccountsMappingPage-CteEKVJk-V8s5GSE9.js → UncategorizedAccountsMappingPage-BA4o7PWu-CMrlTXMW.js} +13 -13
  182. package/dist/assets/{UnitIntegrationPage-BBAq4_81-CQPS6SXm.js → UnitIntegrationPage-Clt-99RU-BrzMoE2E.js} +4 -4
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-Drs2Czkg-CGyOsBXK.js → UploadAdditionalDocumentOverlay-LxTjdCJQ-COub0S1H.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-DKe-eMoF-C2M9SXlf.js → Vendor2FAPopup-DjHQdB-O-CGPHoNJv.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-CTeRlLgu-kYd8MIRh.js → VendorACHDetailsPage-TaEzA3ib-BtSubgL_.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-Cw7Qe1rv-VsBgNF4C.js → VendorDetailPage-BeADTlAW-BEAFQ3r2.js} +13 -13
  187. package/dist/assets/{VendorDomesticWireDetailsPage-CYkst1D5-7By2THmG.js → VendorDomesticWireDetailsPage-EpIw_vNR-C7RuY-PA.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-CXQx0jJQ-IhMnk3PA.js → VendorFiling1099EditablePage-B-jTzcx7-CbBKMdpG.js} +8 -8
  189. package/dist/assets/{VendorFirstReviewPage-C1yTYtW6-DMX2ZPAc.js → VendorFirstReviewPage-BrlyeQoC-BZiG_JRb.js} +29 -29
  190. package/dist/assets/{VendorInternationalWireDetailsPage-CfbGRN9B-DCdpm2-s.js → VendorInternationalWireDetailsPage-B22crnTD-tpyu7OIk.js} +7 -7
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DTxy0byj-D5CQNR_y.js → VendorInternationalWireSwiftDetailsPage-BpXZD_Eh-CX1DO0ul.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-B_nDMJSn-1NkwRYu4.js → VendorsAccountsSection-CLrfBouK-CqWzAgHB.js} +4 -4
  193. package/dist/assets/{WarningsDrawerPage-Dz3EM7AW-BaYVjn6f.js → WarningsDrawerPage-CBZRy4Sm-DJIt8rHu.js} +4 -4
  194. package/dist/assets/{ZeniAccountDetailPage-C01gqJIN-BM-R1eoj.js → ZeniAccountDetailPage-Bfvuuiyl-Dadw6og4.js} +26 -26
  195. package/dist/assets/{ZeniAccountListViewPage-3DEdKuaM-CRpdg_Kj.js → ZeniAccountListViewPage-CTqmq_Vp-3SYD23NH.js} +18 -18
  196. package/dist/assets/ZeniAccountNavBarPieces-iNAQFffX-jEy_vHEe.js +14 -0
  197. package/dist/assets/{ZeniAccountPromoPage-ClgIxS0H-dyns3_0Y.js → ZeniAccountPromoPage-XHKL_dgv-zxVudUmY.js} +12 -12
  198. package/dist/assets/{ZeniAccountSetupPage-C-vwyHUJ-ByPV9mPy.js → ZeniAccountSetupPage-BHMr828J-Cb9LGjcX.js} +1 -1
  199. package/dist/assets/{ZeniCopyright-CqFabZnN-CFC5-_8n.js → ZeniCopyright-B_2DB9mm-Do8EbmHN.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-BwHzq-qG-CpfXUhbu.js → ZeniTransferAmountSlider-BnjyU6o3-D4fZwoL6.js} +1 -1
  201. package/dist/assets/analytics-DThoELaW.js +7 -0
  202. package/dist/assets/{analyticsHelper-CvW7m-EV-nO2i_RUx.js → analyticsHelper-Bh8Vo_J_-DdkQ2A3j.js} +1 -1
  203. package/dist/assets/{analyticsHelper-m4qvu5s8.js → analyticsHelper-COZBEzRa.js} +1 -1
  204. package/dist/assets/{chartTypes-0tTBFzPe-CKqP5TB1.js → chartTypes-DpnOYtNo-C1MRDQOQ.js} +1 -1
  205. package/dist/assets/{commonDimensions-B68wSFi9-BOPm5YVm.js → commonDimensions-D2zuat_O-BjWWOnE2.js} +1 -1
  206. package/dist/assets/{detailCommon-D2RAJL6g-Ctxx0B-m.js → detailCommon-CloEmsTm-FeTpoyrx.js} +10 -10
  207. package/dist/assets/{downloadPdf-IPGZ8YB9-CGTdag_A.js → downloadPdf-OWaFOL1J-_yuPyAAc.js} +1 -1
  208. package/dist/assets/{index-CjViJI82.js → index-LFy5NlUr.js} +3519 -3479
  209. package/dist/assets/{liveblocks-BUGn2yQ6.js → liveblocks-sSQ9JElv.js} +1 -1
  210. package/dist/assets/{mapLoadingInProgressToTreeNode-DhjVTksX-D9f25W17.js → mapLoadingInProgressToTreeNode-Df6n7jwq-DhIXCvCe.js} +1 -1
  211. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DtR1UNND--ulpnsBf.js → mapSectionWithAcOnlyToTreeNode-BvlNBFiJ-CBY5TVGr.js} +1 -1
  212. package/dist/assets/{mapSpacerToTreeNode-oskKbJKo-DkK4Sqat.js → mapSpacerToTreeNode-BM8XMc8I-DixdkzZo.js} +1 -1
  213. package/dist/assets/{mapTimeframeBalancesToTreeNode-BkUJJy_y-8lKA5ScY.js → mapTimeframeBalancesToTreeNode-B3bP14C6-CT5Uu0sF.js} +1 -1
  214. package/dist/assets/mui-C5LQ0bMa.js +25 -0
  215. package/dist/assets/{play-icon-C_pnFd6Q-9jE99gvQ.js → play-icon-NE4JTPpx-CK0WoxqT.js} +1 -1
  216. package/dist/assets/{redux-DmDqXYej.js → redux-ByjIRbhZ.js} +1 -1
  217. package/dist/assets/{routing-BNz5gZgX.js → routing-Cpaypegg.js} +1 -1
  218. package/dist/assets/{toCOABalancesWithID-e2ImXwdp-CKDntHr-.js → toCOABalancesWithID-DN21aiLH-Bx86HqeI.js} +1 -1
  219. package/dist/assets/{toChartData-Dh91kb97-BZZ8pWR6.js → toChartData-CG9GudeA-Bcz5dDyw.js} +1 -1
  220. package/dist/assets/{treasuryColorHelper-D9SYrM7P-DmVNjxNp.js → treasuryColorHelper-CNX5IuXX-6ZEgxHO3.js} +1 -1
  221. package/dist/assets/{uploadAttachment-BZTALP74-BVGfc45j.js → uploadAttachment-D42oX05_-CRxK5DEq.js} +29 -29
  222. package/dist/assets/{uploadReceipts-BH9fi3Vt-BJeYWSVA.js → uploadReceipts-Buvz7DfG-DslgfUmv.js} +1 -1
  223. package/dist/index.html +1 -1
  224. package/package.json +5 -5
  225. package/dist/assets/AccountInfoPage-BoCzcaQW-0jZO3NrI.js +0 -18
  226. package/dist/assets/AccountRow-vtPa0PJn-Ccj8p0p9.js +0 -298
  227. package/dist/assets/BillingSettingsPage-Bm-IF_p7-DNHl4xz8.js +0 -44
  228. package/dist/assets/BillsBulkReviewDrawerPage-CVAG78EK-DCPUzEL9.js +0 -1
  229. package/dist/assets/BusinessVerificationPage-Ctqy7ZwA-Pibcm8K3.js +0 -140
  230. package/dist/assets/ChargeCardListPage-CXbTalVQ-CKsNCzlh.js +0 -355
  231. package/dist/assets/ChargeCardPromoPage-BTfg7L28-DF47hcgS.js +0 -175
  232. package/dist/assets/CheckDepositDrawerPage-yUzhTMSu-MeotqJRr.js +0 -206
  233. package/dist/assets/ConfettiBurst-C2engbkN-V_uY_tO9.js +0 -1
  234. package/dist/assets/CustomerOnboardingContainerPage-DzzvTpfs-pWxD83yn.js +0 -1
  235. package/dist/assets/CustomerOnboardingPage-BiUXryld-HgqXiajr.js +0 -107
  236. package/dist/assets/Dashboard-B1UeMAoF-Uk-MHkBf.js +0 -778
  237. package/dist/assets/DomesticWireDetailsPage-CVKheLW6-BJ0WqkU8.js +0 -21
  238. package/dist/assets/EditPeoplePage-DgVDgYlm-DOxAUhJ5.js +0 -55
  239. package/dist/assets/HelpButton-CzonsAOi-C6o6gRiy.js +0 -28
  240. package/dist/assets/InvitePeoplePage-BnlUrpPG-CsqOL2ci.js +0 -12
  241. package/dist/assets/LabeledDocumentField-BKPP0tRe-CIjTxmdT.js +0 -41
  242. package/dist/assets/LabeledDropDownFormattedTextField-NsCaPjuf-DxsA2YFq.js +0 -59
  243. package/dist/assets/NoDataChart-CydgbaO2-CIdUt3UK.js +0 -26
  244. package/dist/assets/NotificationsListConfig-BrTtuTMy-4ldKuia7.js +0 -1
  245. package/dist/assets/ReimbursementDetailPage-BSWNsboq-DNwPGNwv.js +0 -314
  246. package/dist/assets/StatementsPage-ly5aBK2M-B3w4WjIP.js +0 -58
  247. package/dist/assets/TaskManagementPage-CQL5Q6wr-_3qK_AWB.js +0 -508
  248. package/dist/assets/TimeframeSwitcherWithToggle-CuU7mRU9-0sgW3h40.js +0 -31
  249. package/dist/assets/TransactionListPage-DuAk6fJT-BXMjUZ88.js +0 -35
  250. package/dist/assets/TrendChart-Dp3QrDED-TLZjgCXh.js +0 -16
  251. package/dist/assets/ZeniAccountNavBarPieces-bthmMpbV-DlefBJUL.js +0 -14
  252. package/dist/assets/analytics-BSSiLa6f.js +0 -7
  253. package/dist/assets/mui-BgvZYSo0.js +0 -22
@@ -1,4 +1,4 @@
1
- import{X as Y,J as S,j as i,bu as Q,M as U,Y as H,C as u,a7 as J,o as n,a6 as K,Q as V,h as X,s as Z,p as l,q as _,aq as ee,f as T,g as v,v as ie,ah as te}from"./index-CjViJI82.js";import{b as k,n as t}from"./vendor-CnQcJ2Lu.js";import{E as ne}from"./PortfolioDetails-D2RWl4uo-DGy5rPyu.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./treasuryColorHelper-D9SYrM7P-DmVNjxNp.js";const{spendManagement:{treasury:{portfolioAllocation:x}},common:m}=U.getLocalizedStrings(),a={titleWidth:new u(343,580,726,826),cardBorderRadius:l[2],cardPadding:new u(l[3],l[4]),sliderWidth:new u(143,177),sliderContainerGap:new u(l[5],l[3]),navBarContainerPaddingYaxis:new u(10,l[3]),containerPaddingLeft:new u(l[3],l[6],l[8]),containerPaddingRight:new u(l[3],l[6],l[8]),riskLevelInfoPaddingRight:new u(l[0],l[3])},oe={stepTitle:new V("h6Regular","h5Regular")},Me=({onBackClick:e,onNextClick:g,onUpdateFundAllocation:h,treasurySetupView:W,isReadOnly:c,isEditMode:p,isOnSetup:$=!1})=>{const r=Y(),[D,M]=k.useState(!1),{fundsData:N,fundAllocationOptions:s,fundAllocationLocalData:d,currentAllocation:w,portfolioAllocationUpdateStatus:q}=W;k.useEffect(()=>{if(p&&w!==null){const o=!S(d.allocation,w);M(o)}},[p,w,d]);const y=o=>{const f=s.find(G=>G.optionIndex===o);f&&h(f)},b=()=>{y(s.findIndex(o=>o.riskScore===0||o.riskLevel==="Conservative"))},F=()=>{let o;w!=null&&(o=s.find(f=>S(f.allocation,w))),o!=null?h(o):b()},j=()=>{p&&F(),e()};return i.jsxs(se,{children:[i.jsxs(de,{windowSize:r,children:[i.jsx(ae,{windowSize:r,children:i.jsx(Q,{title:m.navBar.back,enterTouchDelay:600,placement:"bottom",children:i.jsx(ce,{"data-testid":H("nav-bar-back-portfolio-allocation"),onClick:j})})}),i.jsxs(pe,{windowSize:r,children:[i.jsxs(xe,{windowSize:r,children:[i.jsx(he,{windowSize:r,children:re(c,$,p)}),!c&&!p&&i.jsx(ue,{children:i.jsxs(me,{children:[i.jsx(ge,{}),i.jsx(we,{})]})})]}),i.jsx(fe,{isReadOnly:c,children:le(c,$,p)}),i.jsx($e,{children:i.jsxs(ye,{windowSize:r,children:[i.jsx(ve,{children:i.jsx(ne,{isInReview:!1,isSetup:!0,fundDetails:N,allocation:d,page:$?"setup portfolio":"edit portfolio"})}),i.jsxs(be,{windowSize:r,children:[i.jsx(je,{children:i.jsx(Se,{onClick:b,isRecommended:c||d.riskScore===0||d.riskLevel==="Conservative",children:x.resetButton})}),r==="small"?i.jsxs(ke,{children:[i.jsxs(R,{windowSize:r,children:[i.jsxs(z,{windowSize:r,children:[i.jsx(P,{children:d.riskScore}),i.jsx(C,{children:m.strings.slash}),i.jsx(O,{children:s.length>0?Math.max(...s.map(o=>o.riskScore)):0})]}),i.jsxs(L,{children:[i.jsx(B,{type:"range",min:"0",max:s.length-1,step:"1",value:d.optionIndex,onChange:o=>y(Number(o.target.value)),disabled:c,isReadOnly:c,windowSize:r}),i.jsx(I,{style:{width:`${s.length>1?d.optionIndex/(s.length-1)*(a.sliderWidth.value(r)-12):0}px`}})]})]}),i.jsxs(Re,{children:[i.jsx(A,{children:x.riskLevelLabel}),i.jsx(E,{children:d.riskLevel})]})]}):i.jsxs(i.Fragment,{children:[i.jsxs(R,{windowSize:r,children:[i.jsxs(z,{windowSize:r,children:[i.jsx(P,{children:d.riskScore}),i.jsx(C,{children:m.strings.slash}),i.jsx(O,{children:s.length>0?Math.max(...s.map(o=>o.riskScore)):0})]}),i.jsxs(L,{children:[i.jsx(B,{type:"range",min:"0",max:s.length-1,step:"1",value:d.optionIndex,onChange:o=>y(Number(o.target.value)),disabled:c,isReadOnly:c,windowSize:r}),i.jsx(I,{style:{width:`${s.length>1?d.optionIndex/(s.length-1)*(a.sliderWidth.value(r)-12):0}px`}})]})]}),i.jsxs(ze,{windowSize:r,children:[i.jsx(A,{children:x.riskLevelLabel}),i.jsx(E,{children:d.riskLevel})]})]})]})]})})]})]}),c?null:i.jsx(J,{style:{zIndex:4,paddingTop:n.sp2,paddingBottom:n.sp2},showCancel:!0,cancelBtn:{label:p?m.cancel:m.navBar.back,onClick:j},primaryBtn:{label:p?m.confirm:m.next,onClick:g,isLoading:p&&q.fetchState==="In-Progress",isDisabled:p&&!D}})]})};function re(e,g,h){return e||g&&h?x.title:h?x.editTitle:x.stepTitle}function le(e,g,h){return e||g&&h?x.subtextReadOnly:h?x.subtextEdit:x.subtextSetup}const se=t.div`
1
+ import{X as q,H as S,j as i,bs as H,M as Q,Y as U,C as u,a3 as K,o as n,a2 as V,Q as X,h as J,q as Z,p as l,v as _,al as ee,f as T,g as v,w as ie,bF as te}from"./index-LFy5NlUr.js";import{b as k,n as t}from"./vendor-CnQcJ2Lu.js";import{E as ne}from"./PortfolioDetails-B1HXVeH2-D3KDftxW.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./treasuryColorHelper-CNX5IuXX-6ZEgxHO3.js";const{spendManagement:{treasury:{portfolioAllocation:x}},common:m}=Q.getLocalizedStrings(),a={titleWidth:new u(343,580,726,826),cardBorderRadius:l[2],cardPadding:new u(l[3],l[4]),sliderWidth:new u(143,177),sliderContainerGap:new u(l[5],l[3]),navBarContainerPaddingYaxis:new u(10,l[3]),containerPaddingLeft:new u(l[3],l[6],l[8]),containerPaddingRight:new u(l[3],l[6],l[8]),riskLevelInfoPaddingRight:new u(l[0],l[3])},oe={stepTitle:new X("h6Regular","h5Regular")},Me=({onBackClick:e,onNextClick:g,onUpdateFundAllocation:h,treasurySetupView:W,isReadOnly:c,isEditMode:p,isOnSetup:$=!1})=>{const r=q(),[D,M]=k.useState(!1),{fundsData:F,fundAllocationOptions:s,fundAllocationLocalData:d,currentAllocation:w,portfolioAllocationUpdateStatus:N}=W;k.useEffect(()=>{if(p&&w!==null){const o=!S(d.allocation,w);M(o)}},[p,w,d]);const y=o=>{const f=s.find(Y=>Y.optionIndex===o);f&&h(f)},b=()=>{y(s.findIndex(o=>o.riskScore===0||o.riskLevel==="Conservative"))},G=()=>{let o;w!=null&&(o=s.find(f=>S(f.allocation,w))),o!=null?h(o):b()},j=()=>{p&&G(),e()};return i.jsxs(se,{children:[i.jsxs(de,{windowSize:r,children:[i.jsx(ae,{windowSize:r,children:i.jsx(H,{title:m.navBar.back,enterTouchDelay:600,placement:"bottom",children:i.jsx(ce,{"data-testid":U("nav-bar-back-portfolio-allocation"),onClick:j})})}),i.jsxs(pe,{windowSize:r,children:[i.jsxs(xe,{windowSize:r,children:[i.jsx(he,{windowSize:r,children:re(c,$,p)}),!c&&!p&&i.jsx(ue,{children:i.jsxs(me,{children:[i.jsx(ge,{}),i.jsx(we,{})]})})]}),i.jsx(fe,{isReadOnly:c,children:le(c,$,p)}),i.jsx($e,{children:i.jsxs(ye,{windowSize:r,children:[i.jsx(ve,{children:i.jsx(ne,{isInReview:!1,isSetup:!0,fundDetails:F,allocation:d,page:$?"setup portfolio":"edit portfolio"})}),i.jsxs(be,{windowSize:r,children:[i.jsx(je,{children:i.jsx(Se,{onClick:b,isRecommended:c||d.riskScore===0||d.riskLevel==="Conservative",children:x.resetButton})}),r==="small"?i.jsxs(ke,{children:[i.jsxs(R,{windowSize:r,children:[i.jsxs(z,{windowSize:r,children:[i.jsx(P,{children:d.riskScore}),i.jsx(C,{children:m.strings.slash}),i.jsx(O,{children:s.length>0?Math.max(...s.map(o=>o.riskScore)):0})]}),i.jsxs(L,{children:[i.jsx(B,{type:"range",min:"0",max:s.length-1,step:"1",value:d.optionIndex,onChange:o=>y(Number(o.target.value)),disabled:c,isReadOnly:c,windowSize:r}),i.jsx(I,{style:{width:`${s.length>1?d.optionIndex/(s.length-1)*(a.sliderWidth.value(r)-12):0}px`}})]})]}),i.jsxs(Re,{children:[i.jsx(A,{children:x.riskLevelLabel}),i.jsx(E,{children:d.riskLevel})]})]}):i.jsxs(i.Fragment,{children:[i.jsxs(R,{windowSize:r,children:[i.jsxs(z,{windowSize:r,children:[i.jsx(P,{children:d.riskScore}),i.jsx(C,{children:m.strings.slash}),i.jsx(O,{children:s.length>0?Math.max(...s.map(o=>o.riskScore)):0})]}),i.jsxs(L,{children:[i.jsx(B,{type:"range",min:"0",max:s.length-1,step:"1",value:d.optionIndex,onChange:o=>y(Number(o.target.value)),disabled:c,isReadOnly:c,windowSize:r}),i.jsx(I,{style:{width:`${s.length>1?d.optionIndex/(s.length-1)*(a.sliderWidth.value(r)-12):0}px`}})]})]}),i.jsxs(ze,{windowSize:r,children:[i.jsx(A,{children:x.riskLevelLabel}),i.jsx(E,{children:d.riskLevel})]})]})]})]})})]})]}),c?null:i.jsx(K,{style:{zIndex:4,paddingTop:n.sp2,paddingBottom:n.sp2},showCancel:!0,cancelBtn:{label:p?m.cancel:m.navBar.back,onClick:j},primaryBtn:{label:p?m.confirm:m.next,onClick:g,isLoading:p&&N.fetchState==="In-Progress",isDisabled:p&&!D}})]})};function re(e,g,h){return e||g&&h?x.title:h?x.editTitle:x.stepTitle}function le(e,g,h){return e||g&&h?x.subtextReadOnly:h?x.subtextEdit:x.subtextSetup}const se=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  height: 100%;
@@ -18,7 +18,7 @@ import{X as Y,J as S,j as i,bu as Q,M as U,Y as H,C as u,a7 as J,o as n,a6 as K,
18
18
  top: ${n.sp0};
19
19
  padding: ${e=>`${a.navBarContainerPaddingYaxis.valuePx(e.windowSize)} ${n.sp0}`};
20
20
  z-index: 2;
21
- `,ce=t(K)`
21
+ `,ce=t(V)`
22
22
  cursor: pointer;
23
23
  color: ${e=>e.theme.colors.hero};
24
24
  width: ${n.sp4};
@@ -42,7 +42,7 @@ import{X as Y,J as S,j as i,bu as Q,M as U,Y as H,C as u,a7 as J,o as n,a6 as K,
42
42
  flex-direction: column;
43
43
  gap: ${n.sp3};
44
44
  width: 100%;
45
- `,he=t(X)`
45
+ `,he=t(J)`
46
46
  ${e=>`${oe.stepTitle.style(e.windowSize)}`};
47
47
  color: ${e=>e.theme.colors.primary};
48
48
  text-align: left;
@@ -1,9 +1,9 @@
1
- import{j as e,M as H,o as n,iE as J,s as F,d3 as X,u as K,X as Q,_ as W,C as N,bu as f,g as k,ah as U,v as A,dq as V,ak as Z,aq as ee,b6 as ie,be as se,f as ne,d5 as re,p as le}from"./index-CjViJI82.js";import{n as s,b as te}from"./vendor-CnQcJ2Lu.js";import{l as oe}from"./treasuryColorHelper-D9SYrM7P-DmVNjxNp.js";const{common:o,spendManagement:{treasury:l},dateFormat:ae}=H.getLocalizedStrings(),y={portfolioYieldMarginTop:new N(-4,le[0]),sliderWidth:new N(143,177)},Ee=({isInReview:i,isSetup:r,fundDetails:m,allocation:d,amount:g,page:v})=>{const h=de(m);return e.jsxs(me,{children:[!r&&e.jsx(xe,{style:{alignSelf:"flex-start",padding:`${n.sp2} ${n.sp0}`},children:`${l.portfolioAllocation.title}`}),h.map((a,x)=>e.jsx(ce,{portfolio:a,fund:m[x],fundIndex:x,allocationPercentage:d.allocation?.[m[x].fundCode]||0,isInReview:i,isSetup:r,isLast:x===h.length-1,amount:g,page:v},m[x]?.fundCode||x))]})},de=i=>i.map(r=>[{label:l.overviewPage.fundTile.liquidity,value:r.liquidityTimeline||o.strings.hyphen},{label:l.overviewPage.fundTile.fundSizeLabel,value:J(r.fundSize,r.currencyCode)},{label:l.overviewPage.fundTile.maturityLabel,value:`${r.maturity} ${o.timeStrings.days}`},{label:l.overviewPage.fundTile.expenseRatioLabel,value:`${r.expenseRatio}${o.strings.percentage} ${l.overviewPage.fundTile.includedInTheYield}`},{label:l.overviewPage.fundTile.riskRatingLabel,value:r.riskRating||o.strings.hyphen},{label:l.overviewPage.fundTile.compositionLabel,value:Array.isArray(r.compositions)&&r.compositions.length>0?`${r.compositions[0].investedIn} ${r.compositions[0].percentage}${o.strings.percentage}`:o.strings.hyphen,tag:Array.isArray(r.compositions)&&r.compositions.length>1?`+${r.compositions.length-1}`:void 0,compositions:r.compositions??[]}]),ce=({portfolio:i,fund:r,fundIndex:m,allocationPercentage:d,isInReview:g,isSetup:v,isLast:h,amount:a,page:x})=>{const _=X().analytics,L=K(),t=Q(),j=a!=null&&a.amount>0&&d>0?a.amount*d/100:void 0,[p,G]=te.useState(!1),u=oe(m,L),$=()=>{p||_.trackTreasuryProspectusClick(r.fundName,r.fundCode,x),G(c=>!c)};return e.jsxs(e.Fragment,{children:[e.jsx(pe,{children:e.jsxs(he,{windowSize:t,children:[e.jsxs(ge,{windowSize:t,children:[e.jsxs(ue,{windowSize:t,children:[e.jsxs(fe,{isInReview:g,windowSize:t,children:[e.jsx(we,{children:r.fundCode}),e.jsx(ye,{color:u.fundNameColor,children:`${r.fundCompanyName} ${r.fundName}`})]}),t!=="small"&&e.jsxs(T,{onClick:$,children:[p?l.transferDrawer.calculator.footerText.hide:l.overviewPage.fundTile.viewDetails,p?e.jsx(z,{}):e.jsx(C,{})]})]}),t!=="small"&&e.jsx(e.Fragment,{children:g?e.jsxs(E,{style:{alignItems:"flex-start"},children:[e.jsxs(w,{windowSize:t,children:[d,o.strings.percentage]}),e.jsx(O,{children:j!=null?W("0,0.[00]",{amount:j,currencyCode:a?.currencyCode!=null&&a.currencyCode!==""?a.currencyCode:"USD",currencySymbol:a?.currencySymbol!=null&&a.currencySymbol!==""?a.currencySymbol:"$"}):o.strings.empty})]}):e.jsxs(je,{children:[e.jsxs(w,{windowSize:t,children:[d,o.strings.percentage]}),e.jsxs(Y,{children:[e.jsx(I,{type:"range",min:0,max:100,step:1,value:d,readOnly:!0,windowSize:t}),e.jsx(M,{color:u.fundNameColor,style:{width:`calc(${y.sliderWidth.value(t)}/100*${d}px)`,zIndex:1}})]})]})}),t!=="small"&&e.jsxs(E,{children:[e.jsxs(S,{children:[l.overviewPage.fundTile.sevenDayYieldLabel,e.jsx(f,{data:l.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{minWidth:"496px",padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(P,{})})]}),e.jsxs(b,{windowSize:t,style:{marginRight:n.sp3},children:[r.yield,o.strings.percentage]})]})]}),t==="small"&&e.jsx(Pe,{children:v?e.jsxs(Ye,{children:[e.jsxs(Ie,{children:[e.jsxs(Ae,{children:[e.jsxs(w,{windowSize:t,children:[d,o.strings.percentage]}),e.jsxs(Y,{children:[e.jsx(I,{type:"range",min:0,max:100,step:1,value:d,readOnly:!0,windowSize:t}),e.jsx(M,{color:u.fundNameColor,style:{width:`calc(${y.sliderWidth.value(t)}/100*${d}px)`,zIndex:1}})]})]}),e.jsxs(Me,{children:[e.jsxs(S,{children:[l.overviewPage.fundTile.sevenDayYieldLabel,e.jsx(f,{data:l.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(P,{})})]}),e.jsxs(b,{windowSize:t,children:[r.yield,o.strings.percentage]})]})]}),e.jsxs(T,{onClick:$,style:{marginBottom:n.sp2},children:[p?l.transferDrawer.calculator.footerText.hide:l.overviewPage.fundTile.viewDetails,p?e.jsx(z,{}):e.jsx(C,{})]})]}):g?e.jsxs(ke,{children:[e.jsxs(q,{children:[e.jsxs(w,{windowSize:t,children:[d,o.strings.percentage]}),e.jsx(O,{children:j!=null?W("0,0.[00]",{amount:j,currencyCode:a?.currencyCode!=null&&a.currencyCode!==""?a.currencyCode:"USD",currencySymbol:a?.currencySymbol!=null&&a.currencySymbol!==""?a.currencySymbol:"$"}):o.strings.empty}),e.jsxs(T,{onClick:$,style:{margin:`${n.sp2} ${n.sp0}`,...h?{marginBottom:n.sp0}:{}},children:[p?l.transferDrawer.calculator.footerText.hide:l.overviewPage.fundTile.viewDetails,p?e.jsx(z,{}):e.jsx(C,{})]})]}),e.jsxs(B,{children:[e.jsxs(S,{children:[l.overviewPage.fundTile.sevenDayYieldLabel,e.jsx(f,{data:l.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(P,{})})]}),e.jsxs(b,{windowSize:t,children:[r.yield,o.strings.percentage]})]})]}):e.jsxs(Le,{children:[e.jsxs(q,{children:[e.jsxs(w,{windowSize:t,children:[d,o.strings.percentage]}),e.jsxs(Y,{children:[e.jsx(I,{type:"range",min:0,max:100,step:1,value:d,readOnly:!0,windowSize:t}),e.jsx(M,{color:u.fundNameColor,style:{width:`calc(${y.sliderWidth.value(t)}/100*${d}px)`,zIndex:1}})]}),e.jsxs(T,{onClick:$,children:[p?l.transferDrawer.calculator.footerText.hide:l.overviewPage.fundTile.viewDetails,p?e.jsx(z,{}):e.jsx(C,{})]})]}),e.jsxs(B,{children:[e.jsxs(S,{children:[l.overviewPage.fundTile.sevenDayYieldLabel,e.jsx(f,{data:l.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(P,{})})]}),e.jsxs(b,{windowSize:t,children:[r.yield,o.strings.percentage]})]})]})})]},i[0].label)}),p&&e.jsxs(be,{children:[e.jsx(D,{children:r.description}),e.jsx($e,{style:{marginLeft:n.sp3},children:i.map(c=>e.jsxs(Se,{windowSize:t,children:[e.jsx(D,{children:o.strings.dividerDot}),e.jsx(D,{style:{minWidth:"140px"},children:c.label}),e.jsxs(D,{style:{color:c.label===l.overviewPage.fundTile.fundSizeLabel?u.fundNameColor:L.colors.primary,borderBottom:`1px solid ${L.colors.grey3}`,width:"100%",padding:`${n.sp1} ${n.sp0}`,display:"flex",flexDirection:"row",alignItems:"center",gap:n.sp2},children:[c.value,!!c.tag&&c.label===l.overviewPage.fundTile.compositionLabel&&e.jsx(f,{variant:"list-description",data:{title:o.strings.empty,items:Array.isArray(c.compositions)&&c.compositions.length>0?c.compositions.map(R=>({text:`${o.strings.dividerDot} ${R.investedIn}`,amount:`${R.percentage}${o.strings.percentage}`})):[]},placement:"bottom-end",style:{minWidth:"312px",padding:`12px ${n.sp3}`},children:e.jsx(Te,{children:c.tag})})]})]},c.label))}),e.jsxs(De,{onClick:()=>window.open(r.url,"_blank"),children:[e.jsx(ve,{children:`${l.overviewPage.fundTile.asOfLabel} ${r.asOfDate.format(ae.visual.MMMDCommaYYYYformat)}`}),e.jsx(Ce,{})]})]}),(!h||v)&&e.jsx(ze,{style:{width:"100%",marginBottom:n.sp3}})]})},pe=s.div`
1
+ import{j as e,M as J,o as n,iB as K,q as U,d1 as X,u as Z,X as G,_ as N,C as W,bs as f,g as k,bF as q,w as A,dn as Q,ae as V,al as ee,b4 as ie,bc as se,f as ne,d3 as re,p as le}from"./index-LFy5NlUr.js";import{n as s,b as te}from"./vendor-CnQcJ2Lu.js";import{l as oe}from"./treasuryColorHelper-CNX5IuXX-6ZEgxHO3.js";const{common:o,spendManagement:{treasury:l},dateFormat:ae}=J.getLocalizedStrings(),y={portfolioYieldMarginTop:new W(-4,le[0]),sliderWidth:new W(143,177)},Oe=({isInReview:i,isSetup:r,fundDetails:m,allocation:d,amount:g,page:v})=>{const h=de(m);return e.jsxs(me,{children:[!r&&e.jsx(xe,{style:{alignSelf:"flex-start",padding:`${n.sp2} ${n.sp0}`},children:`${l.portfolioAllocation.title}`}),h.map((a,x)=>e.jsx(ce,{portfolio:a,fund:m[x],fundIndex:x,allocationPercentage:d.allocation?.[m[x].fundCode]||0,isInReview:i,isSetup:r,isLast:x===h.length-1,amount:g,page:v},m[x]?.fundCode||x))]})},de=i=>i.map(r=>[{label:l.overviewPage.fundTile.liquidity,value:r.liquidityTimeline||o.strings.hyphen},{label:l.overviewPage.fundTile.fundSizeLabel,value:K(r.fundSize,r.currencyCode)},{label:l.overviewPage.fundTile.maturityLabel,value:`${r.maturity} ${o.timeStrings.days}`},{label:l.overviewPage.fundTile.expenseRatioLabel,value:`${r.expenseRatio}${o.strings.percentage} ${l.overviewPage.fundTile.includedInTheYield}`},{label:l.overviewPage.fundTile.riskRatingLabel,value:r.riskRating||o.strings.hyphen},{label:l.overviewPage.fundTile.compositionLabel,value:Array.isArray(r.compositions)&&r.compositions.length>0?`${r.compositions[0].investedIn} ${r.compositions[0].percentage}${o.strings.percentage}`:o.strings.hyphen,tag:Array.isArray(r.compositions)&&r.compositions.length>1?`+${r.compositions.length-1}`:void 0,compositions:r.compositions??[]}]),ce=({portfolio:i,fund:r,fundIndex:m,allocationPercentage:d,isInReview:g,isSetup:v,isLast:h,amount:a,page:x})=>{const _=X().analytics,L=Z(),t=G(),j=a!=null&&a.amount>0&&d>0?a.amount*d/100:void 0,[p,H]=te.useState(!1),u=oe(m,L),$=()=>{p||_.trackTreasuryProspectusClick(r.fundName,r.fundCode,x),H(c=>!c)};return e.jsxs(e.Fragment,{children:[e.jsx(pe,{children:e.jsxs(he,{windowSize:t,children:[e.jsxs(ge,{windowSize:t,children:[e.jsxs(ue,{windowSize:t,children:[e.jsxs(fe,{isInReview:g,windowSize:t,children:[e.jsx(we,{children:r.fundCode}),e.jsx(ye,{color:u.fundNameColor,children:`${r.fundCompanyName} ${r.fundName}`})]}),t!=="small"&&e.jsxs(T,{onClick:$,children:[p?l.transferDrawer.calculator.footerText.hide:l.overviewPage.fundTile.viewDetails,p?e.jsx(z,{}):e.jsx(C,{})]})]}),t!=="small"&&e.jsx(e.Fragment,{children:g?e.jsxs(O,{style:{alignItems:"flex-start"},children:[e.jsxs(w,{windowSize:t,children:[d,o.strings.percentage]}),e.jsx(B,{children:j!=null?N("0,0.[00]",{amount:j,currencyCode:a?.currencyCode!=null&&a.currencyCode!==""?a.currencyCode:"USD",currencySymbol:a?.currencySymbol!=null&&a.currencySymbol!==""?a.currencySymbol:"$"}):o.strings.empty})]}):e.jsxs(je,{children:[e.jsxs(w,{windowSize:t,children:[d,o.strings.percentage]}),e.jsxs(Y,{children:[e.jsx(I,{type:"range",min:0,max:100,step:1,value:d,readOnly:!0,windowSize:t}),e.jsx(M,{color:u.fundNameColor,style:{width:`calc(${y.sliderWidth.value(t)}/100*${d}px)`,zIndex:1}})]})]})}),t!=="small"&&e.jsxs(O,{children:[e.jsxs(S,{children:[l.overviewPage.fundTile.sevenDayYieldLabel,e.jsx(f,{data:l.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{minWidth:"496px",padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(P,{})})]}),e.jsxs(b,{windowSize:t,style:{marginRight:n.sp3},children:[r.yield,o.strings.percentage]})]})]}),t==="small"&&e.jsx(Pe,{children:v?e.jsxs(Ye,{children:[e.jsxs(Ie,{children:[e.jsxs(Ae,{children:[e.jsxs(w,{windowSize:t,children:[d,o.strings.percentage]}),e.jsxs(Y,{children:[e.jsx(I,{type:"range",min:0,max:100,step:1,value:d,readOnly:!0,windowSize:t}),e.jsx(M,{color:u.fundNameColor,style:{width:`calc(${y.sliderWidth.value(t)}/100*${d}px)`,zIndex:1}})]})]}),e.jsxs(Me,{children:[e.jsxs(S,{children:[l.overviewPage.fundTile.sevenDayYieldLabel,e.jsx(f,{data:l.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(P,{})})]}),e.jsxs(b,{windowSize:t,children:[r.yield,o.strings.percentage]})]})]}),e.jsxs(T,{onClick:$,style:{marginBottom:n.sp2},children:[p?l.transferDrawer.calculator.footerText.hide:l.overviewPage.fundTile.viewDetails,p?e.jsx(z,{}):e.jsx(C,{})]})]}):g?e.jsxs(ke,{children:[e.jsxs(E,{children:[e.jsxs(w,{windowSize:t,children:[d,o.strings.percentage]}),e.jsx(B,{children:j!=null?N("0,0.[00]",{amount:j,currencyCode:a?.currencyCode!=null&&a.currencyCode!==""?a.currencyCode:"USD",currencySymbol:a?.currencySymbol!=null&&a.currencySymbol!==""?a.currencySymbol:"$"}):o.strings.empty}),e.jsxs(T,{onClick:$,style:{margin:`${n.sp2} ${n.sp0}`,...h?{marginBottom:n.sp0}:{}},children:[p?l.transferDrawer.calculator.footerText.hide:l.overviewPage.fundTile.viewDetails,p?e.jsx(z,{}):e.jsx(C,{})]})]}),e.jsxs(F,{children:[e.jsxs(S,{children:[l.overviewPage.fundTile.sevenDayYieldLabel,e.jsx(f,{data:l.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(P,{})})]}),e.jsxs(b,{windowSize:t,children:[r.yield,o.strings.percentage]})]})]}):e.jsxs(Le,{children:[e.jsxs(E,{children:[e.jsxs(w,{windowSize:t,children:[d,o.strings.percentage]}),e.jsxs(Y,{children:[e.jsx(I,{type:"range",min:0,max:100,step:1,value:d,readOnly:!0,windowSize:t}),e.jsx(M,{color:u.fundNameColor,style:{width:`calc(${y.sliderWidth.value(t)}/100*${d}px)`,zIndex:1}})]}),e.jsxs(T,{onClick:$,children:[p?l.transferDrawer.calculator.footerText.hide:l.overviewPage.fundTile.viewDetails,p?e.jsx(z,{}):e.jsx(C,{})]})]}),e.jsxs(F,{children:[e.jsxs(S,{children:[l.overviewPage.fundTile.sevenDayYieldLabel,e.jsx(f,{data:l.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(P,{})})]}),e.jsxs(b,{windowSize:t,children:[r.yield,o.strings.percentage]})]})]})})]},i[0].label)}),p&&e.jsxs(be,{children:[e.jsx(D,{children:r.description}),e.jsx($e,{style:{marginLeft:n.sp3},children:i.map(c=>e.jsxs(Se,{windowSize:t,children:[e.jsx(D,{children:o.strings.dividerDot}),e.jsx(D,{style:{minWidth:"140px"},children:c.label}),e.jsxs(D,{style:{color:c.label===l.overviewPage.fundTile.fundSizeLabel?u.fundNameColor:L.colors.primary,borderBottom:`1px solid ${L.colors.grey3}`,width:"100%",padding:`${n.sp1} ${n.sp0}`,display:"flex",flexDirection:"row",alignItems:"center",gap:n.sp2},children:[c.value,!!c.tag&&c.label===l.overviewPage.fundTile.compositionLabel&&e.jsx(f,{variant:"list-description",data:{title:o.strings.empty,items:Array.isArray(c.compositions)&&c.compositions.length>0?c.compositions.map(R=>({text:`${o.strings.dividerDot} ${R.investedIn}`,amount:`${R.percentage}${o.strings.percentage}`})):[]},placement:"bottom-end",style:{minWidth:"312px",padding:`12px ${n.sp3}`},children:e.jsx(Te,{children:c.tag})})]})]},c.label))}),e.jsxs(De,{onClick:()=>window.open(r.url,"_blank"),children:[e.jsx(ve,{children:`${l.overviewPage.fundTile.asOfLabel} ${r.asOfDate.format(ae.visual.MMMDCommaYYYYformat)}`}),e.jsx(Ce,{})]})]}),(!h||v)&&e.jsx(ze,{style:{width:"100%",marginBottom:n.sp3}})]})},pe=s.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  gap: ${n.sp2};
5
5
  width: 100%;
6
- `,xe=s(F)`
6
+ `,xe=s(U)`
7
7
  color: ${i=>i.theme.colors.hero};
8
8
  `,me=s.div`
9
9
  display: flex;
@@ -27,7 +27,7 @@ import{j as e,M as H,o as n,iE as J,s as F,d3 as X,u as K,X as Q,_ as W,C as N,b
27
27
  flex-direction: column;
28
28
  align-items: flex-start;
29
29
  width: ${i=>i.windowSize==="small"?"auto":"245px"};
30
- `,fe=s(U)`
30
+ `,fe=s(q)`
31
31
  color: ${k.graphColor34Dark};
32
32
  max-width: 280px;
33
33
  `,we=s.span`
@@ -35,7 +35,7 @@ import{j as e,M as H,o as n,iE as J,s as F,d3 as X,u as K,X as Q,_ as W,C as N,b
35
35
  margin-right: ${n.sp1};
36
36
  `,ye=s.span`
37
37
  color: ${i=>i.color??k.graphColor34Dark};
38
- `,E=s.div`
38
+ `,O=s.div`
39
39
  display: flex;
40
40
  flex-direction: column;
41
41
  align-items: flex-end;
@@ -44,7 +44,7 @@ import{j as e,M as H,o as n,iE as J,s as F,d3 as X,u as K,X as Q,_ as W,C as N,b
44
44
  color: ${i=>i.theme.colors.primary};
45
45
  min-width: ${n.sp7};
46
46
  text-align: left;
47
- `,b=s(U)`
47
+ `,b=s(q)`
48
48
  color: ${k.success};
49
49
  margin-top: ${i=>y.portfolioYieldMarginTop.valuePx(i.windowSize)};
50
50
  `,S=s(A)`
@@ -58,7 +58,7 @@ import{j as e,M as H,o as n,iE as J,s as F,d3 as X,u as K,X as Q,_ as W,C as N,b
58
58
  flex-direction: row;
59
59
  align-items: flex-start;
60
60
  gap: ${n.sp1};
61
- `,O=s(A)`
61
+ `,B=s(A)`
62
62
  display: flex;
63
63
  flex-direction: row;
64
64
  align-items: flex-start;
@@ -106,7 +106,7 @@ import{j as e,M as H,o as n,iE as J,s as F,d3 as X,u as K,X as Q,_ as W,C as N,b
106
106
  align-items: center;
107
107
  gap: ${n.sp1};
108
108
  cursor: pointer;
109
- `,C=s(Z)`
109
+ `,C=s(V)`
110
110
  width: 12px;
111
111
  height: 12px;
112
112
  color: ${i=>i.theme.colors.hero};
@@ -117,7 +117,7 @@ import{j as e,M as H,o as n,iE as J,s as F,d3 as X,u as K,X as Q,_ as W,C as N,b
117
117
  justify-self: flex-start;
118
118
  gap: ${n.sp2};
119
119
  margin-bottom: ${n.sp3};
120
- `,D=s(F)`
120
+ `,D=s(U)`
121
121
  color: ${i=>i.theme.colors.hero};
122
122
  `,Se=s.div`
123
123
  display: flex;
@@ -145,7 +145,7 @@ import{j as e,M as H,o as n,iE as J,s as F,d3 as X,u as K,X as Q,_ as W,C as N,b
145
145
  color: ${i=>i.theme.colors.primary};
146
146
  text-decoration: underline;
147
147
  }
148
- `,z=s(V)`
148
+ `,z=s(Q)`
149
149
  cursor: pointer;
150
150
  width: 12px;
151
151
  height: 12px;
@@ -186,12 +186,12 @@ import{j as e,M as H,o as n,iE as J,s as F,d3 as X,u as K,X as Q,_ as W,C as N,b
186
186
  align-items: center;
187
187
  justify-content: space-between;
188
188
  width: 100%;
189
- `,q=s.div`
189
+ `,E=s.div`
190
190
  display: flex;
191
191
  flex-direction: column;
192
192
  align-items: flex-start;
193
193
  flex: 1;
194
- `,B=s.div`
194
+ `,F=s.div`
195
195
  display: flex;
196
196
  flex-direction: column;
197
197
  align-items: flex-end;
@@ -215,4 +215,4 @@ import{j as e,M as H,o as n,iE as J,s as F,d3 as X,u as K,X as Q,_ as W,C as N,b
215
215
  flex-direction: row;
216
216
  align-items: center;
217
217
  gap: ${n.sp3};
218
- `;export{Ee as E};
218
+ `;export{Oe as E};
@@ -1,4 +1,4 @@
1
- import{M as X,j as t,d3 as I,o as l,bq as O,ak as P,d4 as D,Z as F,s as L,d5 as R,g as v}from"./index-CjViJI82.js";import{b as $,n as i}from"./vendor-CnQcJ2Lu.js";const u=X.getLocalizedStrings(),y={large:{labelComp:D,title:F,subtitle:L,seeMoreLink:L}},B={large:{width:496,height:512,padding:32,svgSize:12,svgContainerHeight:24,gap:8,imageGap:16,borderRadius:16}},o=B.large,U=i.div`
1
+ import{M as X,j as t,d1 as I,o as l,bo as O,ae as P,d2 as D,Z as F,q as L,d3 as R,g as v}from"./index-LFy5NlUr.js";import{b as $,n as i}from"./vendor-CnQcJ2Lu.js";const u=X.getLocalizedStrings(),y={large:{labelComp:D,title:F,subtitle:L,seeMoreLink:L}},U={large:{width:496,height:512,padding:32,svgSize:12,svgContainerHeight:24,gap:8,imageGap:16,borderRadius:16}},o=U.large,B=i.div`
2
2
  width: ${e=>e.scale*o.width}px;
3
3
  height: ${e=>e.scale*o.height}px;
4
4
  overflow: hidden;
@@ -51,20 +51,20 @@ import{M as X,j as t,d3 as I,o as l,bq as O,ak as P,d4 as D,Z as F,s as L,d5 as
51
51
  flex-direction: column;
52
52
  flex: 1;
53
53
  overflow: hidden;
54
- `,W=i.div`
55
- flex-shrink: 0;
56
54
  `,K=i.div`
55
+ flex-shrink: 0;
56
+ `,Q=i.div`
57
57
  display: flex;
58
58
  align-items: center;
59
59
  height: ${e=>e.scale*o.svgContainerHeight}px;
60
60
  margin-bottom: ${e=>e.scale*o.imageGap}px;
61
- `,Q=i(R)`
61
+ `,V=i(R)`
62
62
  width: ${e=>e.scale*o.svgSize}px;
63
63
  min-width: ${e=>e.scale*o.svgSize}px;
64
64
  height: ${e=>e.scale*o.svgSize}px;
65
65
  margin-left: ${l.sp1};
66
66
  color: ${e=>e.theme.colors.brandColorJadeDark};
67
- `,V=i.div`
67
+ `,W=i.div`
68
68
  width: 100%;
69
69
  flex: 1;
70
70
  display: flex;
@@ -76,7 +76,7 @@ import{M as X,j as t,d3 as I,o as l,bq as O,ak as P,d4 as D,Z as F,s as L,d5 as
76
76
  height: 100%;
77
77
  object-fit: fill;
78
78
  object-position: center;
79
- `,ee=({scale:e=1,variant:s="large",label:a,title:d,subtitle:m,seeMoreLink:n,image:c})=>{const h=t.jsx(q,{scale:e,variant:s,padding:o.padding*e,children:t.jsxs(H,{children:[t.jsxs(W,{children:[a!=null&&a.trim()!==u.common.strings.empty?t.jsx(Z,{scale:e,children:a}):null,d!=null&&d.trim()!==u.common.strings.empty?t.jsx(G,{scale:e,children:d}):null,m!=null&&m.trim()!==u.common.strings.empty?t.jsx(J,{scale:e,children:m}):null,n!=null&&n.trim()!==u.common.strings.empty?t.jsxs(K,{scale:e,children:[t.jsx(N,{children:u.customerOnboardingPage.productSuite.productCard.seeMore}),t.jsx(Q,{scale:e})]}):null]}),c!=null&&c.trim()!==u.common.strings.empty?t.jsx(V,{children:t.jsx(Y,{src:c,loading:"lazy"})}):null]})});return t.jsx(U,{scale:e,variant:s,children:s==="large"&&n!=null&&n.trim()!==u.common.strings.empty?t.jsx(A,{href:n,target:"_blank",rel:"noopener noreferrer",children:h}):h})},x=2,S=5,te=i.div`
79
+ `,ee=({scale:e=1,variant:s="large",label:a,title:d,subtitle:m,seeMoreLink:n,image:c})=>{const h=t.jsx(q,{scale:e,variant:s,padding:o.padding*e,children:t.jsxs(H,{children:[t.jsxs(K,{children:[a!=null&&a.trim()!==u.common.strings.empty?t.jsx(Z,{scale:e,children:a}):null,d!=null&&d.trim()!==u.common.strings.empty?t.jsx(G,{scale:e,children:d}):null,m!=null&&m.trim()!==u.common.strings.empty?t.jsx(J,{scale:e,children:m}):null,n!=null&&n.trim()!==u.common.strings.empty?t.jsxs(Q,{scale:e,children:[t.jsx(N,{children:u.customerOnboardingPage.productSuite.productCard.seeMore}),t.jsx(V,{scale:e})]}):null]}),c!=null&&c.trim()!==u.common.strings.empty?t.jsx(W,{children:t.jsx(Y,{src:c,loading:"lazy"})}):null]})});return t.jsx(B,{scale:e,variant:s,children:s==="large"&&n!=null&&n.trim()!==u.common.strings.empty?t.jsx(A,{href:n,target:"_blank",rel:"noopener noreferrer",children:h}):h})},x=2,S=5,te=i.div`
80
80
  width: 100%;
81
81
  height: 100%;
82
82
  position: relative;
@@ -135,4 +135,4 @@ import{M as X,j as t,d3 as I,o as l,bq as O,ak as P,d4 as D,Z as F,s as L,d5 as
135
135
  transform: translate(-50%, -50%) translateX(0px) translateZ(10px) scale(1.02)
136
136
  }
137
137
  `}
138
- `,ae=[{positionX:-480,scale:.67},{positionX:-226,scale:.83},{positionX:0,scale:1},{positionX:226,scale:.83},{positionX:480,scale:.67}],ne=({showUpdatePaymentDetailButton:e,stopCarousel:s,cards:a})=>{const[d,m]=$.useState(2),[n,c]=$.useState(!1),[h,j]=$.useState(!1),b=a.length,z=I().analytics,f=$.useCallback(r=>{h||(j(!0),m(p=>(p+r+b)%b),setTimeout(()=>j(!1),1e3))},[h,b]);$.useEffect(()=>{if(n||s||h)return;const r=setInterval(()=>{f(1)},3e3);return()=>clearInterval(r)},[n,s,h,f]);const C=r=>(d+r-x+b)%b,M=r=>{const p=Array.from({length:S},(g,w)=>C(w)).indexOf(r)-x;p!==0&&f(p),e?z.trackOnboardingLandingPageCardClick(a[r].cardTitle):z.trackOnboardingInterimCard(a[r].cardTitle)};return t.jsxs(te,{children:[t.jsx(_,{onClick:()=>f(-1),children:t.jsx(oe,{className:"btnsvg"})}),t.jsx(re,{children:a.map((r,p)=>{const g=Array.from({length:S},(pe,T)=>C(T)).indexOf(p);if(g===-1)return null;const{positionX:w,scale:E}=ae[g],k=g===x;return t.jsx(se,{isForeFront:k,positionX:w,scale:E,onClick:()=>M(p),onMouseEnter:()=>k&&c(!0),onMouseLeave:()=>k&&c(!1),style:{zIndex:g===x?5:5-Math.abs(g-x)},children:t.jsx(ee,{label:r.cardTitle,title:r.sectionTitle,subtitle:r.sectionSubTitle,seeMoreLink:r.redirectLink,image:r.imageLink,variant:g===x?"large":g===x-1?"medium":"small"})},p)})}),t.jsx(_,{onClick:()=>f(1),children:t.jsx(ie,{className:"btnsvg"})})]})},le=["https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-reimbursements.png","https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-bill-payments.png","https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-ai-bookkeeping.png","https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-business-checking-accounts.png","https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-business-credit-cards.png"],ce=["https://www.zeni.ai/product/employee-reimbursements?utm_source=onboarding_interim","https://www.zeni.ai/product/bill-pay?utm_source=onboarding_interim","https://www.zeni.ai/product/ai-bookkeeping?utm_source=onboarding_interim","https://www.zeni.ai/product/business-checking-accounts?utm_source=onboarding_interim","https://www.zeni.ai/product/business-credit-card?utm_source=onboarding_interim"],me=({stopCarousel:e=!1,showUpdatePaymentDetailButton:s=!1})=>{const{customerOnboardingPage:a}=X.getLocalizedStrings(),{productSuite:d}=a,m=d.productCard.cards.map((n,c)=>({...n,imageLink:le[c],redirectLink:ce[c]}));return t.jsx(ne,{cards:m,stopCarousel:e,showUpdatePaymentDetailButton:s})};export{me as f};
138
+ `,ae=[{positionX:-480,scale:.67},{positionX:-226,scale:.83},{positionX:0,scale:1},{positionX:226,scale:.83},{positionX:480,scale:.67}],ne=({showUpdatePaymentDetailButton:e,stopCarousel:s,cards:a})=>{const[d,m]=$.useState(2),[n,c]=$.useState(!1),[h,k]=$.useState(!1),b=a.length,z=I().analytics,f=$.useCallback(r=>{h||(k(!0),m(p=>(p+r+b)%b),setTimeout(()=>k(!1),1e3))},[h,b]);$.useEffect(()=>{if(n||s||h)return;const r=setInterval(()=>{f(1)},3e3);return()=>clearInterval(r)},[n,s,h,f]);const C=r=>(d+r-x+b)%b,M=r=>{const p=Array.from({length:S},(g,w)=>C(w)).indexOf(r)-x;p!==0&&f(p),e?z.trackOnboardingLandingPageCardClick(a[r].cardTitle):z.trackOnboardingInterimCard(a[r].cardTitle)};return t.jsxs(te,{children:[t.jsx(_,{onClick:()=>f(-1),children:t.jsx(oe,{className:"btnsvg"})}),t.jsx(re,{children:a.map((r,p)=>{const g=Array.from({length:S},(pe,T)=>C(T)).indexOf(p);if(g===-1)return null;const{positionX:w,scale:E}=ae[g],j=g===x;return t.jsx(se,{isForeFront:j,positionX:w,scale:E,onClick:()=>M(p),onMouseEnter:()=>j&&c(!0),onMouseLeave:()=>j&&c(!1),style:{zIndex:g===x?5:5-Math.abs(g-x)},children:t.jsx(ee,{label:r.cardTitle,title:r.sectionTitle,subtitle:r.sectionSubTitle,seeMoreLink:r.redirectLink,image:r.imageLink,variant:g===x?"large":g===x-1?"medium":"small"})},p)})}),t.jsx(_,{onClick:()=>f(1),children:t.jsx(ie,{className:"btnsvg"})})]})},le=["https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-reimbursements.png","https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-bill-payments.png","https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-ai-bookkeeping.png","https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-business-checking-accounts.png","https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-business-credit-cards.png"],ce=["https://www.zeni.ai/product/employee-reimbursements?utm_source=onboarding_interim","https://www.zeni.ai/product/bill-pay?utm_source=onboarding_interim","https://www.zeni.ai/product/ai-bookkeeping?utm_source=onboarding_interim","https://www.zeni.ai/product/business-checking-accounts?utm_source=onboarding_interim","https://www.zeni.ai/product/business-credit-card?utm_source=onboarding_interim"],me=({stopCarousel:e=!1,showUpdatePaymentDetailButton:s=!1})=>{const{customerOnboardingPage:a}=X.getLocalizedStrings(),{productSuite:d}=a,m=d.productCard.cards.map((n,c)=>({...n,imageLink:le[c],redirectLink:ce[c]}));return t.jsx(ne,{cards:m,stopCarousel:e,showUpdatePaymentDetailButton:s})};export{me as f};
@@ -1,4 +1,4 @@
1
- import{X as c,j as a,d9 as b,da as v,db as L,aR as z,C as r,o as e,g as d,Q as m,p as l}from"./index-CjViJI82.js";import{j as i,n as p,k as f}from"./vendor-CnQcJ2Lu.js";const t={plasticCardMarginLeft:new r(l[6],120),plasticCardMarginTop:new r(12,-9),businessTextRight:new r(l[2],13),businessTextBottom:new r(l[8],81),chargeCardWidth:new r(240,384),chargeCardHeight:new r(153,243),styledLogoWidth:new r(47,76),styledLogoHeight:new r(46,74),styledFullLogoTop:new r(12,28),styledFullLogoRight:new r(l[2],13),styledFullLogoHeight:new r(20,34),styledFullLogoWidth:new r(88,142),chipLogoWidth:new r(31,50),chipLogoHeight:new r(l[4],39),visaLogoWidth:new r(52,84),visaLogoHeight:new r(17,27),visaLogoRight:new r(l[2],13),visaLogoBottom:new r(l[2],13)},u={businessText:new m("extraSmallRegular","largeRegular"),promoBusinessText:new m("tinyLight","tinyLight")},F=({cardText:o,shouldAnimate:g,showChip:w,forDashboard:s,forListPage:h,cardPromoType:x,style:$})=>{const n=c();return a.jsxs(k,{cardPromoType:x,windowSize:n,shouldAnimate:g,forListPage:h,forDashboard:s,style:$,children:[w&&a.jsx(S,{windowSize:n,forDashboard:s,children:a.jsx(b,{})}),a.jsx(D,{windowSize:n,forDashboard:s,forListPage:h,children:a.jsx(z,{})}),a.jsx(P,{windowSize:n,forDashboard:s,forListPage:h,children:o}),a.jsx(y,{windowSize:n,forDashboard:s,forListPage:h,children:a.jsx(L,{})})]})},A=({cardText:o,shouldAnimate:g,showChip:w,forDashboard:s,forListPage:h,cardPromoType:x,style:$})=>{const n=c();return a.jsxs(W,{cardPromoType:x,windowSize:n,shouldAnimate:g,forListPage:h,forDashboard:s,style:$,children:[w&&a.jsx(S,{windowSize:n,forDashboard:s,children:a.jsx(b,{})}),a.jsx(B,{windowSize:n,forDashboard:s,forListPage:h,children:a.jsx(v,{})}),a.jsx(P,{windowSize:n,forDashboard:s,forListPage:h,children:o}),a.jsx(y,{windowSize:n,forDashboard:s,forListPage:h,children:a.jsx(L,{})})]})},C=f`
1
+ import{X as c,j as r,d7 as b,d8 as v,d9 as L,aR as z,C as a,o as e,g as d,Q as f,p as l}from"./index-LFy5NlUr.js";import{j as i,n as p,k as m}from"./vendor-CnQcJ2Lu.js";const t={plasticCardMarginLeft:new a(l[6],120),plasticCardMarginTop:new a(12,-9),businessTextRight:new a(l[2],13),businessTextBottom:new a(l[8],81),chargeCardWidth:new a(240,384),chargeCardHeight:new a(153,243),styledLogoWidth:new a(47,76),styledLogoHeight:new a(46,74),styledFullLogoTop:new a(12,28),styledFullLogoRight:new a(l[2],13),styledFullLogoHeight:new a(20,34),styledFullLogoWidth:new a(88,142),chipLogoWidth:new a(31,50),chipLogoHeight:new a(l[4],39),visaLogoWidth:new a(52,84),visaLogoHeight:new a(17,27),visaLogoRight:new a(l[2],13),visaLogoBottom:new a(l[2],13)},u={businessText:new f("extraSmallRegular","largeRegular"),promoBusinessText:new f("tinyLight","tinyLight")},F=({cardText:o,shouldAnimate:g,showChip:w,forDashboard:s,forListPage:h,cardPromoType:$,style:x})=>{const n=c();return r.jsxs(k,{cardPromoType:$,windowSize:n,shouldAnimate:g,forListPage:h,forDashboard:s,style:x,children:[w&&r.jsx(S,{windowSize:n,forDashboard:s,children:r.jsx(b,{})}),r.jsx(D,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(z,{})}),r.jsx(P,{windowSize:n,forDashboard:s,forListPage:h,children:o}),r.jsx(y,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(L,{})})]})},A=({cardText:o,shouldAnimate:g,showChip:w,forDashboard:s,forListPage:h,cardPromoType:$,style:x})=>{const n=c();return r.jsxs(W,{cardPromoType:$,windowSize:n,shouldAnimate:g,forListPage:h,forDashboard:s,style:x,children:[w&&r.jsx(S,{windowSize:n,forDashboard:s,children:r.jsx(b,{})}),r.jsx(B,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(v,{})}),r.jsx(P,{windowSize:n,forDashboard:s,forListPage:h,children:o}),r.jsx(y,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(L,{})})]})},C=m`
2
2
  0%{
3
3
  transform: rotate(12.4deg);
4
4
  translate: ${e.sp0} ${e.sp0};
@@ -23,7 +23,7 @@ import{X as c,j as a,d9 as b,da as v,db as L,aR as z,C as r,o as e,g as d,Q as m
23
23
  transform: rotate(12.4deg);
24
24
  translate: ${e.sp0} ${e.sp0};
25
25
  }
26
- `,T=f`
26
+ `,j=m`
27
27
  0%{
28
28
  transform: rotate(12.4deg);
29
29
  translate: ${e.sp0} ${e.sp0};
@@ -48,7 +48,7 @@ import{X as c,j as a,d9 as b,da as v,db as L,aR as z,C as r,o as e,g as d,Q as m
48
48
  transform: rotate(12.4deg);
49
49
  translate: ${e.sp0} ${e.sp0};
50
50
  }
51
- `,j=f`
51
+ `,T=m`
52
52
  0%{
53
53
  transform: rotate(0);
54
54
  transform-origin: top left;
@@ -84,8 +84,8 @@ import{X as c,j as a,d9 as b,da as v,db as L,aR as z,C as r,o as e,g as d,Q as m
84
84
  width: ${o=>t.styledLogoWidth.valuePx(o.windowSize)};
85
85
  height: ${o=>t.styledLogoHeight.valuePx(o.windowSize)};
86
86
  ${o=>o.forDashboard?i`
87
- width: 34px;
88
- height: 34px;
87
+ width: 38px;
88
+ height: 38px;
89
89
  `:null}
90
90
  ${o=>o.forListPage?i`
91
91
  width: 28px;
@@ -100,8 +100,9 @@ import{X as c,j as a,d9 as b,da as v,db as L,aR as z,C as r,o as e,g as d,Q as m
100
100
  right: ${o=>t.businessTextRight.valuePx(o.windowSize)};
101
101
  bottom: ${o=>t.businessTextBottom.valuePx(o.windowSize)};
102
102
  ${o=>o.forDashboard?i`
103
- top: 62px;
103
+ top: 61px;
104
104
  ${u.promoBusinessText.style(o.windowSize)};
105
+ right: 6px;
105
106
  `:null}
106
107
  ${o=>o.forListPage?i`
107
108
  top: 53px;
@@ -115,8 +116,8 @@ import{X as c,j as a,d9 as b,da as v,db as L,aR as z,C as r,o as e,g as d,Q as m
115
116
  width: ${o=>t.chipLogoWidth.valuePx(o.windowSize)};
116
117
  height: ${o=>t.chipLogoHeight.valuePx(o.windowSize)};
117
118
  ${o=>o.forDashboard?i`
118
- width: 18px;
119
- height: 14px;
119
+ width: 20px;
120
+ height: ${e.sp3};
120
121
  `:null}
121
122
  `,y=p.div`
122
123
  width: ${o=>t.visaLogoWidth.valuePx(o.windowSize)};
@@ -125,9 +126,10 @@ import{X as c,j as a,d9 as b,da as v,db as L,aR as z,C as r,o as e,g as d,Q as m
125
126
  right: ${o=>t.visaLogoRight.valuePx(o.windowSize)};
126
127
  bottom: ${o=>t.visaLogoBottom.valuePx(o.windowSize)};
127
128
  ${o=>o.forDashboard?i`
128
- width: 37px;
129
- height: 12px;
130
- bottom: 6px;
129
+ width: 41px;
130
+ height: 14px;
131
+ bottom: ${e.sp2};
132
+ right: 6px;
131
133
  `:null}
132
134
  ${o=>o.forListPage?i`
133
135
  width: ${e.sp5};
@@ -142,9 +144,10 @@ import{X as c,j as a,d9 as b,da as v,db as L,aR as z,C as r,o as e,g as d,Q as m
142
144
  width: ${o=>t.styledFullLogoWidth.valuePx(o.windowSize)};
143
145
  color: ${d.neutralGrey5Light};
144
146
  ${o=>o.forDashboard?i`
145
- width: 54px;
146
- height: 14px;
147
- top: 13px;
147
+ width: 70px;
148
+ height: ${e.sp3};
149
+ top: 14px;
150
+ right: 6px;
148
151
  `:null}
149
152
  ${o=>o.forListPage?i`
150
153
  width: ${e.sp7};
@@ -165,15 +168,14 @@ import{X as c,j as a,d9 as b,da as v,db as L,aR as z,C as r,o as e,g as d,Q as m
165
168
  border: 1px solid ${d.neutralGrey5Light};
166
169
  background-position: center;
167
170
  background-size: cover;
171
+ box-shadow: ${o=>` ${e.sp0} ${e.sp0} ${e.sp6} ${e.sp0} ${o.theme.colors.dropShadowNormal}`};
168
172
  ${o=>o.shouldAnimate?i`
169
- animation: ${j} 2800ms infinite;
173
+ animation: ${T} 2800ms infinite;
170
174
  z-index: 1;
171
175
  `:null}
172
176
  ${o=>o.forDashboard?i`
173
- width: 173px;
174
- height: 110px;
175
- border: none;
176
- border-radius: 6px;
177
+ width: 190px;
178
+ height: 121px;
177
179
  `:null}
178
180
  ${o=>o.forListPage?i`
179
181
  width: 144px;
@@ -196,7 +198,7 @@ import{X as c,j as a,d9 as b,da as v,db as L,aR as z,C as r,o as e,g as d,Q as m
196
198
  border: 1px solid ${d.neutralGrey5Light};
197
199
  background-image: url(https://storage.googleapis.com/zeni-apis.appspot.com/images/PhysicalCardFrontBGPattern.svg);
198
200
  background-size: cover;
199
- ${o=>{if(o.shouldAnimate){const g=o.windowSize==="small"?C:T;return i`
201
+ ${o=>{if(o.shouldAnimate){const g=o.windowSize==="small"?C:j;return i`
200
202
  position: absolute;
201
203
  margin-left: ${t.plasticCardMarginLeft.valuePx(o.windowSize)};
202
204
  margin-top: ${t.plasticCardMarginTop.valuePx(o.windowSize)};
@@ -204,10 +206,8 @@ import{X as c,j as a,d9 as b,da as v,db as L,aR as z,C as r,o as e,g as d,Q as m
204
206
  animation: ${g} 2800ms infinite;
205
207
  `}return null}}
206
208
  ${o=>o.forDashboard?i`
207
- width: 173px;
208
- height: 110px;
209
- border: none;
210
- border-radius: 6px;
209
+ width: 190px;
210
+ height: 121px;
211
211
  `:null}
212
212
  ${o=>o.forListPage?i`
213
213
  width: 144px;
@@ -215,4 +215,4 @@ import{X as c,j as a,d9 as b,da as v,db as L,aR as z,C as r,o as e,g as d,Q as m
215
215
  border-radius: 3px;
216
216
  border-width: 0.1px;
217
217
  `:null}
218
- `;export{A,F as J};
218
+ `;export{F as J,A as N};
@@ -1,9 +1,9 @@
1
- import{X as j,M as a,j as n,bB as w,K as l,C as s,o as i,Z as P,s as y,$ as b,aP as f,eI as v,p as t}from"./index-CjViJI82.js";import{n as o}from"./vendor-CnQcJ2Lu.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const r={containerPaddingTop:new s(t[5],t[7]),containerPaddingBottom:new s(t[5],t[5]),containerPaddingLeftRight:new s(t[6],t[11])},S=o.div`
1
+ import{X as j,M as t,j as n,bz as w,K as l,C as s,o as i,Z as P,q as y,$ as b,aP as f,eF as v,p as a}from"./index-LFy5NlUr.js";import{n as o}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const r={containerPaddingTop:new s(a[5],a[7]),containerPaddingBottom:new s(a[5],a[5]),containerPaddingLeftRight:new s(a[6],a[11])},z=o.div`
2
2
  border-radius: inherit;
3
3
  max-width: 520px;
4
4
  text-align: center;
5
5
  background: ${e=>e.theme.colors.background};
6
- `,z=o.div`
6
+ `,S=o.div`
7
7
  padding-top: ${e=>r.containerPaddingTop.valuePx(e.windowSize)};
8
8
  padding-bottom: ${e=>r.containerPaddingBottom.valuePx(e.windowSize)};
9
9
  padding-right: ${e=>r.containerPaddingLeftRight.valuePx(e.windowSize)};
@@ -19,17 +19,17 @@ import{X as j,M as a,j as n,bB as w,K as l,C as s,o as i,Z as P,s as y,$ as b,aP
19
19
  margin: 20px ${i.sp0};
20
20
  `,_=o.div`
21
21
  margin: 20px ${i.sp0};
22
- `,B=o.hr`
22
+ `,C=o.hr`
23
23
  width: 100%;
24
24
  border: 0.2px solid ${e=>e.theme.colors.grey3};
25
25
  margin-top: auto;
26
26
  margin-bottom: 0;
27
- `,C=o.div`
27
+ `,B=o.div`
28
28
  display: flex;
29
29
  align-items: center;
30
30
  justify-content: center;
31
31
  gap: ${i.sp4};
32
- `,I=o.div`
32
+ `,R=o.div`
33
33
  display: flex;
34
34
  align-items: center;
35
35
  gap: ${i.sp4};
@@ -37,15 +37,15 @@ import{X as j,M as a,j as n,bB as w,K as l,C as s,o as i,Z as P,s as y,$ as b,aP
37
37
  justify-content: center;
38
38
  padding-top: ${i.sp3};
39
39
  color: ${e=>e.theme.colors.primary};
40
- `,R=o(b)`
40
+ `,T=o(b)`
41
41
  color: ${e=>e.theme.colors.primary};
42
42
  height: 20px;
43
43
  width: auto;
44
- `,T=o(f)`
44
+ `,I=o(f)`
45
45
  color: ${e=>e.theme.colors.hero};
46
46
  height: ${i.sp4};
47
47
  width: ${i.sp4};
48
48
  `,O=o(v)`
49
49
  height: ${i.sp4};
50
50
  color: ${e=>e.theme.colors.primary};
51
- `;function U({companyName:e="",isGoBackAllowed:c,isAdmin:d,saveConnectionState:p,isQBOPopupOpen:g=!0,handleOnConnectClick:m,handleGoBack:h}){const x=j(),$=a.getLocalizedStrings().dashboardAccountingPage.adminInfoText.replace(e?"_company-name_":"‘_company-name_’",e),u=a.getLocalizedStrings().dashboardAccountingPage.nonAdminInfoText.replace(e?"_company-name_":"‘_company-name_’",e);return n.jsx(w,{open:g,children:n.jsxs(S,{windowSize:x,children:[n.jsxs(z,{children:[n.jsx(k,{children:a.getLocalizedStrings().dashboardAccountingPage.title}),n.jsx(A,{children:d?$:u}),n.jsxs(I,{children:[n.jsx(R,{}),n.jsx(T,{}),n.jsx(O,{})]})]}),d||c?n.jsxs(n.Fragment,{children:[n.jsx(B,{}),n.jsxs(C,{children:[c===!0?n.jsx(_,{children:n.jsx(l,{variant:"secondary",label:a.getLocalizedStrings().dashboardAccountingPage.goBack,onClick:h})}):null,d?n.jsx(L,{children:n.jsx(l,{variant:"primary",label:a.getLocalizedStrings().dashboardAccountingPage.connect,onClick:m,loading:p==="In-Progress"})}):null]})]}):null]})})}export{U as default};
51
+ `;function X({companyName:e="",isGoBackAllowed:c,isAdmin:d,saveConnectionState:p,isQBOPopupOpen:g=!0,handleOnConnectClick:m,handleGoBack:h}){const x=j(),$=t.getLocalizedStrings().dashboardAccountingPage.adminInfoText.replace(e?"_company-name_":"‘_company-name_’",e),u=t.getLocalizedStrings().dashboardAccountingPage.nonAdminInfoText.replace(e?"_company-name_":"‘_company-name_’",e);return n.jsx(w,{open:g,children:n.jsxs(z,{windowSize:x,children:[n.jsxs(S,{children:[n.jsx(k,{children:t.getLocalizedStrings().dashboardAccountingPage.title}),n.jsx(A,{children:d?$:u}),n.jsxs(R,{children:[n.jsx(T,{}),n.jsx(I,{}),n.jsx(O,{})]})]}),d||c?n.jsxs(n.Fragment,{children:[n.jsx(C,{}),n.jsxs(B,{children:[c===!0?n.jsx(_,{children:n.jsx(l,{variant:"secondary",label:t.getLocalizedStrings().dashboardAccountingPage.goBack,onClick:h})}):null,d?n.jsx(L,{children:n.jsx(l,{variant:"primary",label:t.getLocalizedStrings().dashboardAccountingPage.connect,onClick:m,loading:p==="In-Progress"})}):null]})]}):null]})})}export{X as default};
@@ -1,9 +1,9 @@
1
- import{X as O,M as $,j as i,K as k,o,C as a,g as d,f1 as Q,Q as T,$ as W,aP as B,eI as E,e$ as G,ab as w,v as u,p as r}from"./index-CjViJI82.js";import{n as s}from"./vendor-CnQcJ2Lu.js";import I from"./QBOConnectionDialog-DOpuFcsk-DYkeM55L.js";const t={containerPadding:new a(r[3],r[4]),sectionWidth:new a(343,580,726),topElementsRowGap:new a(r[3],r[0]),arrowIconWidthHeight:new a(r[3],r[4])},M={title:new T("standardMedium","largeMedium")},ee=({isAdmin:e,hasError:c=!1,isValid:l,saveConnectionState:p,isQBOPopupOpen:j,companyName:y,updateQBOPopupState:h,handleOnConnectClick:f})=>{const n=O(),{qbo_connection:S}=$.getLocalizedStrings().customerOnboardingPage.sections,{title:v,sucessText:b,button:z,errorText:P,requiredText:C}=S;return i.jsxs(A,{windowSize:n,children:[i.jsxs(H,{windowSize:n,children:[n==="small"?i.jsx(V,{children:l?i.jsx(Z,{}):i.jsx(_,{})}):null,i.jsx(N,{windowSize:n,children:v})]}),i.jsxs(q,{windowSize:n,children:[i.jsxs(D,{windowSize:n,children:[i.jsxs(R,{children:[i.jsx(F,{}),i.jsx(L,{windowSize:n}),i.jsx(U,{})]}),l?n!=="small"?i.jsx(m,{}):null:i.jsx(k,{variant:"primary",size:n!=="small"?"standard":"xs-small",label:z.connect,style:{width:"fit-content"},onClick:()=>h(!0),loading:p==="In-Progress"})]}),l?i.jsxs(i.Fragment,{children:[i.jsx(K,{children:b}),n==="small"?i.jsx(m,{}):null]}):null,p==="Error"?i.jsx(x,{children:i.jsx(g,{windowSize:n,children:P})}):null,c&&!l?i.jsx(x,{children:i.jsx(g,{windowSize:n,children:C})}):null]}),i.jsx(I,{isAdmin:e,isGoBackAllowed:!0,isQBOPopupOpen:j,companyName:y,saveConnectionState:p,handleOnConnectClick:f,handleGoBack:()=>h(!1)})]})},m=()=>{const{tags:e}=$.getLocalizedStrings().customerOnboardingPage,{connected:c}=e;return i.jsx(G,{style:{width:"max-content",padding:0,marginTop:o.sp2},tagTitle:c,textColor:{color:new w(d.successDark),borderColor:new w(d.successDark)}})},A=s.div`
1
+ import{X as O,M as $,j as i,K as k,o,C as a,g as d,e_ as Q,Q as T,$ as W,aP as B,eF as E,eY as G,a7 as h,w as u,p as r}from"./index-LFy5NlUr.js";import{n as s}from"./vendor-CnQcJ2Lu.js";import M from"./QBOConnectionDialog-nb_5mvqp-CNrftMhR.js";const t={containerPadding:new a(r[3],r[4]),sectionWidth:new a(343,580,726),topElementsRowGap:new a(r[3],r[0]),arrowIconWidthHeight:new a(r[3],r[4])},A={title:new T("standardMedium","largeMedium")},ee=({isAdmin:e,hasError:c=!1,isValid:l,saveConnectionState:p,isQBOPopupOpen:j,companyName:y,updateQBOPopupState:w,handleOnConnectClick:f})=>{const n=O(),{qbo_connection:S}=$.getLocalizedStrings().customerOnboardingPage.sections,{title:z,sucessText:b,button:v,errorText:P,requiredText:C}=S;return i.jsxs(H,{windowSize:n,children:[i.jsxs(I,{windowSize:n,children:[n==="small"?i.jsx(U,{children:l?i.jsx(Y,{}):i.jsx(Z,{})}):null,i.jsx(N,{windowSize:n,children:z})]}),i.jsxs(q,{windowSize:n,children:[i.jsxs(D,{windowSize:n,children:[i.jsxs(K,{children:[i.jsx(R,{}),i.jsx(_,{windowSize:n}),i.jsx(L,{})]}),l?n!=="small"?i.jsx(m,{}):null:i.jsx(k,{variant:"primary",size:n!=="small"?"standard":"xs-small",label:v.connect,style:{width:"fit-content"},onClick:()=>w(!0),loading:p==="In-Progress"})]}),l?i.jsxs(i.Fragment,{children:[i.jsx(F,{children:b}),n==="small"?i.jsx(m,{}):null]}):null,p==="Error"?i.jsx(x,{children:i.jsx(g,{windowSize:n,children:P})}):null,c&&!l?i.jsx(x,{children:i.jsx(g,{windowSize:n,children:C})}):null]}),i.jsx(M,{isAdmin:e,isGoBackAllowed:!0,isQBOPopupOpen:j,companyName:y,saveConnectionState:p,handleOnConnectClick:f,handleGoBack:()=>w(!1)})]})},m=()=>{const{tags:e}=$.getLocalizedStrings().customerOnboardingPage,{connected:c}=e;return i.jsx(G,{style:{width:"max-content",padding:0,marginTop:o.sp2},tagTitle:c,textColor:{color:new h(d.successDark),borderColor:new h(d.successDark)}})},H=s.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
5
5
  justify-content: center;
6
- `,H=s.div`
6
+ `,I=s.div`
7
7
  display: flex;
8
8
  align-items: center;
9
9
  padding-top: ${o.sp3};
@@ -13,7 +13,7 @@ import{X as O,M as $,j as i,K as k,o,C as a,g as d,f1 as Q,Q as T,$ as W,aP as B
13
13
  display: flex;
14
14
  align-items: center;
15
15
  color: ${e=>e.theme.colors.primary};
16
- ${e=>`${M.title.style(e.windowSize)}`};
16
+ ${e=>`${A.title.style(e.windowSize)}`};
17
17
  `,q=s.div`
18
18
  display: flex;
19
19
  flex-direction: column;
@@ -43,35 +43,35 @@ import{X as O,M as $,j as i,K as k,o,C as a,g as d,f1 as Q,Q as T,$ as W,aP as B
43
43
  justify-content: space-between;
44
44
  row-gap: ${e=>t.topElementsRowGap.valuePx(e.windowSize)};
45
45
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
46
- `,K=s(u)`
46
+ `,F=s(u)`
47
47
  display: flex;
48
48
  margin-top: ${o.sp2};
49
49
  color: ${e=>e.theme.colors.hero};
50
- `,R=s.div`
50
+ `,K=s.div`
51
51
  display: flex;
52
52
  align-items: center;
53
53
  gap: ${o.sp4};
54
54
  justify-content: left;
55
55
  color: ${e=>e.theme.colors.primary};
56
- `,F=s(W)`
56
+ `,R=s(W)`
57
57
  height: 20px;
58
58
  width: auto;
59
59
  color: ${e=>e.theme.colors.primary};
60
60
  cursor: pointer;
61
- `,L=s(B)`
61
+ `,_=s(B)`
62
62
  height: ${e=>t.arrowIconWidthHeight.valuePx(e.windowSize)};
63
63
  width: ${e=>t.arrowIconWidthHeight.valuePx(e.windowSize)};
64
64
  color: ${e=>e.theme.colors.hero};
65
- `,U=s(E)`
65
+ `,L=s(E)`
66
66
  height: ${o.sp4};
67
67
  color: ${e=>e.theme.colors.primary};
68
- `,V=s.div`
68
+ `,U=s.div`
69
69
  margin-right: ${o.sp2};
70
- `,Z=s(Q)`
70
+ `,Y=s(Q)`
71
71
  width: ${o.sp3};
72
72
  height: ${o.sp3};
73
73
  color: ${d.success};
74
- `,_=s.div`
74
+ `,Z=s.div`
75
75
  height: ${o.sp3};
76
76
  width: ${o.sp3};
77
77
  border: 1px solid ${e=>e.theme.colors.primary};
@@ -1,4 +1,4 @@
1
- import{C as q,p as U,u as M,X as W,M as D,a as G,a5 as X,j as s,U as H,c3 as J,aW as K,F as Q,a7 as Y,o as f}from"./index-CjViJI82.js";import{b as j,n as h}from"./vendor-CnQcJ2Lu.js";import{b as Z,f as ee,l as B,o as L}from"./FollowStepsSection-5025urr9-DTswNK5r.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const $="reimbursementApprovalRuleDetailPage",T="lowerBound",k="upperBound",y="steps",te={footerPadding:new q(U[2],U[3])};function ye({localData:e,approvalUpdateActionType:r,isLowerBoundDisabled:t=!1,isUpperBoundDisabled:l=!0,hideUpperBoundField:o=!1,onBackClick:d,onApprovalRuleDataUpdated:b,onResetClick:N,onSaveRuleClick:E,onSaveRuleSuccess:A}){const F=M(),S=W(),a=D.getLocalizedStrings().commonSetUp.approval,I=D.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,x=ae(e,r==="approval_create"&&!t),g=G({mode:"all",reValidateMode:"onChange",defaultValues:x}),u=e.remiSetupApproverViewUpdateData?.updateStatus,w=X(u?.fetchState),{upperBound:P}=x,{allApprovalRules:n,allAccountingClasses:_,remiSetupApproverViewUpdateData:c}=e;let m=n.length>1?n.length-1:0,v=n.length>0?n[m].criteria[0].range.min.amount:0;if(c!=null&&c.type==="approval_update"&&c.data!=null){const{approvalRuleId:i}=c.data;m=n.findIndex(p=>p.approvalRuleId===i),v=m>0?n[m-1].criteria[0].range.min.amount:0}const O=g.handleSubmit(()=>{E()}),V=async(i,p)=>{b(p)};return j.useEffect(()=>{const i=g.watch((p,{name:R})=>{if(R!=null&&p!=null){const z=H(p);J(()=>V(R,z))}});return()=>{i.unsubscribe()}}),j.useEffect(()=>{w==="In-Progress"&&u?.fetchState==="Completed"&&A()},[w,u?.fetchState,A]),s.jsxs(se,{children:[s.jsx(K,{title:r==="approval_create"?a.newApproval:a.editApproval,backgroundColor:F.colors.grey4,style:{zIndex:4},onBackClick:()=>{d()},source:"ReimbursementApprovalRuleDetailPage"}),s.jsx(ne,{children:s.jsx(Q,{...g,children:s.jsx("form",{id:C($),onSubmit:O,children:s.jsxs(ie,{children:[s.jsx(Z,{label:{label:o?I.amountPerRemiGreaterLabel:I.amountPerRemiLabel},firstText:{type:"number",name:T,placeholder:"$0",options:{required:!0,max:P===1/0?Number.MAX_SAFE_INTEGER-1:P-1,min:v,validate:i=>t?!0:i!=null&&i>v},isDisabled:t,additionalInfoLabel:a.firstRuleLowerBoundInfoLabel,additionalErrorLabel:a.firstRuleErrorInfoLabel},secondText:{type:"number",name:k,placeholder:"Infinity",isDisabled:l,hideField:o,additionalInfoLabel:a.upperBoundInfoLabel}}),s.jsx(pe,{}),s.jsx(ee,{sectionId:y,label:{label:a.followStepsLabel},approversPlaceholder:a.approversPlaceholder,notifiersPlaceholder:a.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(i=>i.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:_,stepsInfo:x[y],userSelectPlaceholder:a.userSelectPlaceholder,approveNotifyPlaceholder:a.approveNotifyPlaceholder,productType:"zeni_reimbursements"})]})})})}),s.jsx(Y,{formId:C($),primaryBtn:{label:a.saveBtnText,isLoading:u?.fetchState==="In-Progress",isDisabled:u?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},showCancel:!0,cancelBtn:{label:a.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:N},containerStyle:{justifyContent:S==="small"?"space-between":"center"},style:{padding:te.footerPadding.valuePx(S)},separatorStyle:{marginRight:f.sp4}})]})}const ae=(e,r)=>{const{criteria:t,steps:l}=e.remiSetupApproverViewUpdateData?.data??{};return{[y]:re(e.allApprovers.map(o=>o.user),e.filteredApprovers.map(o=>o.user),L(e.allAttributes),L(e.filteredAttributes),l??[])??[],[T]:r?void 0:t!=null?t.range.min.amount??0:0,[k]:t!=null?t.range.max==null?1/0:t.range.max.amount:1/0}},re=(e,r,t,l,o)=>o&&o.length>0?o.map((d,b)=>({stepIndex:b,stepType:{selectedOption:d.action,allOptions:B},actors:{allUsers:r,selectedUsers:le(e,d.actors),allNonUsers:l,selectedNonUsers:oe(t,d.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:B},actors:{allUsers:r,selectedUsers:[],allNonUsers:l,selectedNonUsers:[]}}],le=(e,r)=>e.filter(t=>t.userId!=null&&r.findIndex(l=>l.userId===t.userId)>-1),oe=(e,r)=>e.filter(t=>r.findIndex(l=>l.subType===t.value)>-1),C=e=>`${e}_form`,Ae=e=>`${e}`,se=h.div`
1
+ import{C as q,p as U,u as M,X as W,M as D,a as G,a1 as X,j as s,S as H,c2 as J,aW as K,F as Q,a3 as Y,o as f}from"./index-LFy5NlUr.js";import{b as L,n as h}from"./vendor-CnQcJ2Lu.js";import{b as Z,f as ee,l as j,o as B}from"./FollowStepsSection-Cf1g5oOj-5G8g4W7R.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const $="reimbursementApprovalRuleDetailPage",T="lowerBound",k="upperBound",y="steps",te={footerPadding:new q(U[2],U[3])};function ye({localData:e,approvalUpdateActionType:a,isLowerBoundDisabled:t=!1,isUpperBoundDisabled:l=!0,hideUpperBoundField:o=!1,onBackClick:d,onApprovalRuleDataUpdated:b,onResetClick:E,onSaveRuleClick:N,onSaveRuleSuccess:A}){const F=M(),S=W(),r=D.getLocalizedStrings().commonSetUp.approval,I=D.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,x=re(e,a==="approval_create"&&!t),g=G({mode:"all",reValidateMode:"onChange",defaultValues:x}),u=e.remiSetupApproverViewUpdateData?.updateStatus,w=X(u?.fetchState),{upperBound:P}=x,{allApprovalRules:n,allAccountingClasses:_,remiSetupApproverViewUpdateData:c}=e;let m=n.length>1?n.length-1:0,v=n.length>0?n[m].criteria[0].range.min.amount:0;if(c!=null&&c.type==="approval_update"&&c.data!=null){const{approvalRuleId:i}=c.data;m=n.findIndex(p=>p.approvalRuleId===i),v=m>0?n[m-1].criteria[0].range.min.amount:0}const O=g.handleSubmit(()=>{N()}),V=async(i,p)=>{b(p)};return L.useEffect(()=>{const i=g.watch((p,{name:R})=>{if(R!=null&&p!=null){const z=H(p);J(()=>V(R,z))}});return()=>{i.unsubscribe()}}),L.useEffect(()=>{w==="In-Progress"&&u?.fetchState==="Completed"&&A()},[w,u?.fetchState,A]),s.jsxs(se,{children:[s.jsx(K,{title:a==="approval_create"?r.newApproval:r.editApproval,backgroundColor:F.colors.grey4,style:{zIndex:4},onBackClick:()=>{d()},source:"ReimbursementApprovalRuleDetailPage"}),s.jsx(ne,{children:s.jsx(Q,{...g,children:s.jsx("form",{id:C($),onSubmit:O,children:s.jsxs(ie,{children:[s.jsx(Z,{label:{label:o?I.amountPerRemiGreaterLabel:I.amountPerRemiLabel},firstText:{type:"number",name:T,placeholder:"$0",options:{required:!0,max:P===1/0?Number.MAX_SAFE_INTEGER-1:P-1,min:v,validate:i=>t?!0:i!=null&&i>v},isDisabled:t,additionalInfoLabel:r.firstRuleLowerBoundInfoLabel,additionalErrorLabel:r.firstRuleErrorInfoLabel},secondText:{type:"number",name:k,placeholder:"Infinity",isDisabled:l,hideField:o,additionalInfoLabel:r.upperBoundInfoLabel}}),s.jsx(pe,{}),s.jsx(ee,{sectionId:y,label:{label:r.followStepsLabel},approversPlaceholder:r.approversPlaceholder,notifiersPlaceholder:r.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(i=>i.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:_,stepsInfo:x[y],userSelectPlaceholder:r.userSelectPlaceholder,approveNotifyPlaceholder:r.approveNotifyPlaceholder,productType:"zeni_reimbursements"})]})})})}),s.jsx(Y,{formId:C($),primaryBtn:{label:r.saveBtnText,isLoading:u?.fetchState==="In-Progress",isDisabled:u?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},showCancel:!0,cancelBtn:{label:r.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:E},containerStyle:{justifyContent:S==="small"?"space-between":"center"},style:{padding:te.footerPadding.valuePx(S)},separatorStyle:{marginRight:f.sp4}})]})}const re=(e,a)=>{const{criteria:t,steps:l}=e.remiSetupApproverViewUpdateData?.data??{};return{[y]:ae(e.allApprovers.map(o=>o.user),e.filteredApprovers.map(o=>o.user),B(e.allAttributes),B(e.filteredAttributes),l??[])??[],[T]:a?void 0:t!=null?t.range.min.amount??0:0,[k]:t!=null?t.range.max==null?1/0:t.range.max.amount:1/0}},ae=(e,a,t,l,o)=>o&&o.length>0?o.map((d,b)=>({stepIndex:b,stepType:{selectedOption:d.action,allOptions:j},actors:{allUsers:a,selectedUsers:le(e,d.actors),allNonUsers:l,selectedNonUsers:oe(t,d.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:j},actors:{allUsers:a,selectedUsers:[],allNonUsers:l,selectedNonUsers:[]}}],le=(e,a)=>e.filter(t=>t.userId!=null&&a.findIndex(l=>l.userId===t.userId)>-1),oe=(e,a)=>e.filter(t=>a.findIndex(l=>l.subType===t.value)>-1),C=e=>`${e}_form`,Ae=e=>`${e}`,se=h.div`
2
2
  display: flex;
3
3
  height: 100%;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{u as D,X as B,M as b,j as o,aW as H,d as E,Y as S,o as t,C as r,s as L,_ as z,bN as q,bP as G,bQ as U,cq as Q,p as l,as as X,Q as P,ar as Y,g as j,cn as _,aN as F,q as O}from"./index-CjViJI82.js";import{n as i,b as V}from"./vendor-CnQcJ2Lu.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const s={sectionWidth:new r(343,580,726),ruleWrapperPadding:new r(l[3],l[4]),wrapperGap:new r(l[4],l[3]),wrapperMarginBottom:new r(l[6],l[8]),lastWrapperMarginBottom:new r(l[5],l[9]),stepperWidthHeight:new r(20,l[5]),stepperItemLeft:new r(-29,-23),stepperItemTop:new r(2,l[0]),stepperItemPaddingLeft:new r(l[0],10),stepperItemMinHeight:new r(22,28),stepperLeft:new r(11,17),stepperTop:new r(2,l[0]),stepperContentTop:new r(l[0],-4)},N={stepper:new P("smallRegular","standardRegular"),amount:new P("standardRegular","largeRegular")},J=({showDeleteBtn:e=!1,isLastSection:f=!1,approvalRule:u,onEditRuleClick:v,onDeleteRuleClick:y})=>{const[g,d]=V.useState(!1),n=B(),{range:c}=u.criteria[0],{steps:x,approvalRuleId:m}=u,a=b.getLocalizedStrings().commonSetUp.approval,$=()=>{d(!0)},W={onOkClick:()=>{d(!1),y?.(m)},onCancelClick:()=>{d(!1)}};return o.jsxs(K,{windowSize:n,isLastSection:f,"data-testid":S("approval-rule-section",m),children:[o.jsxs(Z,{windowSize:n,children:[o.jsxs(ae,{children:[o.jsxs(I,{windowSize:n,children:[a.from," ",z("0,0",c.min)]}),o.jsxs(ee,{children:[o.jsx(k,{}),o.jsx(oe,{}),o.jsx(k,{})]}),c.max==null?o.jsx(ce,{}):o.jsx(I,{windowSize:n,children:z("0,0",{...c.min,amount:c.max.amount})})]}),o.jsxs(ne,{className:"icons",children:[e?o.jsx(pe,{onClick:$}):null,o.jsx(de,{onClick:()=>{v(m)},"data-testid":S("edit-approval-rule",m)})]})]}),o.jsx(te,{windowSize:n,children:o.jsx(ie,{isSingleStep:x.length===1,windowSize:n,children:x.map((h,A)=>o.jsxs(re,{isSingleStep:x.length===1,className:"stepperItem",windowSize:n,children:[h.action==="require_approval"?o.jsx(le,{children:a.requireText}):o.jsx(se,{children:a.notifyText}),h.nonUserActors.filter(p=>p.subType!=null).map((p,M)=>o.jsxs(R,{children:[o.jsx(T,{children:p.subType!=null?a.nonUsers[p.subType].label:null}),h.operator!="is"?o.jsx(C,{className:"operator",children:h.operator}):null]},`${p.subType}_${M}`)),h.actors.map(p=>o.jsxs(R,{children:[o.jsxs(T,{children:[p.firstName," ",p.lastName]}),h.operator!="is"?o.jsx(C,{className:"operator",children:h.operator}):null]},p.userId))]},A))})}),g?o.jsx(q,{titleComponent:o.jsx(U,{children:a.deleteApprovalRuleTitle}),descriptionComponent:o.jsx(G,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:W}):null]})},K=i.div`
1
+ import{u as D,X as B,M as b,j as o,aW as H,d as E,Y as S,o as t,C as r,q as L,_ as z,bM as q,bO as G,bP as U,cp as O,p as l,an as X,Q as P,am as Y,g as j,cm as _,aN as F,v as Q}from"./index-LFy5NlUr.js";import{n as i,b as V}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const s={sectionWidth:new r(343,580,726),ruleWrapperPadding:new r(l[3],l[4]),wrapperGap:new r(l[4],l[3]),wrapperMarginBottom:new r(l[6],l[8]),lastWrapperMarginBottom:new r(l[5],l[9]),stepperWidthHeight:new r(20,l[5]),stepperItemLeft:new r(-29,-23),stepperItemTop:new r(2,l[0]),stepperItemPaddingLeft:new r(l[0],10),stepperItemMinHeight:new r(22,28),stepperLeft:new r(11,17),stepperTop:new r(2,l[0]),stepperContentTop:new r(l[0],-4)},W={stepper:new P("smallRegular","standardRegular"),amount:new P("standardRegular","largeRegular")},J=({showDeleteBtn:e=!1,isLastSection:f=!1,approvalRule:u,onEditRuleClick:v,onDeleteRuleClick:y})=>{const[g,d]=V.useState(!1),a=B(),{range:c}=u.criteria[0],{steps:x,approvalRuleId:m}=u,n=b.getLocalizedStrings().commonSetUp.approval,$=()=>{d(!0)},A={onOkClick:()=>{d(!1),y?.(m)},onCancelClick:()=>{d(!1)}};return o.jsxs(K,{windowSize:a,isLastSection:f,"data-testid":S("approval-rule-section",m),children:[o.jsxs(Z,{windowSize:a,children:[o.jsxs(ne,{children:[o.jsxs(I,{windowSize:a,children:[n.from," ",z("0,0",c.min)]}),o.jsxs(ee,{children:[o.jsx(k,{}),o.jsx(oe,{}),o.jsx(k,{})]}),c.max==null?o.jsx(ce,{}):o.jsx(I,{windowSize:a,children:z("0,0",{...c.min,amount:c.max.amount})})]}),o.jsxs(ae,{className:"icons",children:[e?o.jsx(pe,{onClick:$}):null,o.jsx(de,{onClick:()=>{v(m)},"data-testid":S("edit-approval-rule",m)})]})]}),o.jsx(te,{windowSize:a,children:o.jsx(ie,{isSingleStep:x.length===1,windowSize:a,children:x.map((h,N)=>o.jsxs(re,{isSingleStep:x.length===1,className:"stepperItem",windowSize:a,children:[h.action==="require_approval"?o.jsx(le,{children:n.requireText}):o.jsx(se,{children:n.notifyText}),h.nonUserActors.filter(p=>p.subType!=null).map((p,M)=>o.jsxs(R,{children:[o.jsx(T,{children:p.subType!=null?n.nonUsers[p.subType].label:null}),h.operator!="is"?o.jsx(C,{className:"operator",children:h.operator}):null]},`${p.subType}_${M}`)),h.actors.map(p=>o.jsxs(R,{children:[o.jsxs(T,{children:[p.firstName," ",p.lastName]}),h.operator!="is"?o.jsx(C,{className:"operator",children:h.operator}):null]},p.userId))]},N))})}),g?o.jsx(q,{titleComponent:o.jsx(U,{children:n.deleteApprovalRuleTitle}),descriptionComponent:o.jsx(G,{children:n.deleteApprovalRuleDesc}),primaryButtonText:n.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:n.cancelBtnText,action:A}):null]})},K=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  gap: ${e=>s.wrapperGap.valuePx(e.windowSize)};
@@ -57,7 +57,7 @@ import{u as D,X as B,M as b,j as o,aW as H,d as E,Y as S,o as t,C as r,s as L,_
57
57
  box-sizing: border-box;
58
58
  position: relative;
59
59
  `,ie=i.ul`
60
- ${e=>`${N.stepper.style(e.windowSize)}`};
60
+ ${e=>`${W.stepper.style(e.windowSize)}`};
61
61
  position: relative;
62
62
  padding-left: ${t.sp6};
63
63
  list-style: none;
@@ -117,7 +117,7 @@ import{u as D,X as B,M as b,j as o,aW as H,d as E,Y as S,o as t,C as r,s as L,_
117
117
  height: ${e=>s.stepperWidthHeight.valuePx(e.windowSize)};
118
118
  top: ${e=>s.stepperContentTop.valuePx(e.windowSize)};
119
119
  left: -${t.sp6};
120
- ${O.standardMedium.css};
120
+ ${Q.standardMedium.css};
121
121
  text-align: center;
122
122
  color: ${e=>e.theme.colors.grey1};
123
123
  border: 2px solid ${e=>e.theme.colors.grey1};
@@ -134,11 +134,11 @@ import{u as D,X as B,M as b,j as o,aW as H,d as E,Y as S,o as t,C as r,s as L,_
134
134
  color: ${j.successDark};
135
135
  `,T=i.span`
136
136
  color: ${e=>e.theme.colors.primary};
137
- `,ae=i.div`
137
+ `,ne=i.div`
138
138
  display: flex;
139
139
  align-items: center;
140
140
  gap: ${t.sp2};
141
- `,ne=i.div`
141
+ `,ae=i.div`
142
142
  display: flex;
143
143
  gap: ${t.sp5};
144
144
  `,pe=i(_)`
@@ -167,10 +167,10 @@ import{u as D,X as B,M as b,j as o,aW as H,d as E,Y as S,o as t,C as r,s as L,_
167
167
  display: inherit;
168
168
  gap: inherit;
169
169
  `,I=i.span`
170
- ${e=>`${N.amount.style(e.windowSize)}`};
170
+ ${e=>`${W.amount.style(e.windowSize)}`};
171
171
  color: ${e=>e.theme.colors.primary};
172
172
  word-break: break-word;
173
- `,w={width:new r(343,580,726),titleWidth:new r(343,580,780),addApprovalGap:new r(6,l[2]),subTitlePaddingTop:new r(12,l[3]),subTitlePaddingBottom:new r(28,l[7])},Te=({approvalView:e,onBackClick:f,onEditRuleClick:u,onDeleteRuleClick:v})=>{const y=D(),g=B(),{fetchState:d,deleteStatus:n}=e,c=b.getLocalizedStrings().commonSetUp.approval,x=b.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,m=n.fetchState;return o.jsxs(he,{children:[o.jsx(H,{title:c.approvalPageHeader,backgroundColor:y.colors.grey4,style:{zIndex:4},onBackClick:()=>{f()},source:"ReimbursementApprovalRulesPage"}),o.jsxs(me,{children:[o.jsx(xe,{windowSize:g,children:x.approvalPageSubTitle}),d==="In-Progress"||d==="Not-Started"||m==="In-Progress"?o.jsx(ue,{children:o.jsx(E,{size:"ExtraLarge",start:!0})}):d==="Completed"?o.jsxs(o.Fragment,{children:[e.allApprovalRules.map((a,$)=>o.jsx(J,{showDeleteBtn:$!==0,approvalRule:a,isLastSection:$===e.allApprovalRules.length-1,onEditRuleClick:u,onDeleteRuleClick:v},a.approvalRuleId)),o.jsxs(we,{windowSize:g,onClick:()=>{u()},"data-testid":S("add-approval-rule"),children:[o.jsx(ge,{}),o.jsx($e,{children:c.addApprovalText})]})]}):null]})]})},he=i.div`
173
+ `,w={width:new r(343,580,726),titleWidth:new r(343,580,780),addApprovalGap:new r(6,l[2]),subTitlePaddingTop:new r(12,l[3]),subTitlePaddingBottom:new r(28,l[7])},Te=({approvalView:e,onBackClick:f,onEditRuleClick:u,onDeleteRuleClick:v})=>{const y=D(),g=B(),{fetchState:d,deleteStatus:a}=e,c=b.getLocalizedStrings().commonSetUp.approval,x=b.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,m=a.fetchState;return o.jsxs(he,{children:[o.jsx(H,{title:c.approvalPageHeader,backgroundColor:y.colors.grey4,style:{zIndex:4},onBackClick:()=>{f()},source:"ReimbursementApprovalRulesPage"}),o.jsxs(me,{children:[o.jsx(xe,{windowSize:g,children:x.approvalPageSubTitle}),d==="In-Progress"||d==="Not-Started"||m==="In-Progress"?o.jsx(ue,{children:o.jsx(E,{size:"ExtraLarge",start:!0})}):d==="Completed"?o.jsxs(o.Fragment,{children:[e.allApprovalRules.map((n,$)=>o.jsx(J,{showDeleteBtn:$!==0,approvalRule:n,isLastSection:$===e.allApprovalRules.length-1,onEditRuleClick:u,onDeleteRuleClick:v},n.approvalRuleId)),o.jsxs(we,{windowSize:g,onClick:()=>{u()},"data-testid":S("add-approval-rule"),children:[o.jsx(ge,{}),o.jsx($e,{children:c.addApprovalText})]})]}):null]})]})},he=i.div`
174
174
  display: flex;
175
175
  min-height: 100%;
176
176
  flex-direction: column;
@@ -229,7 +229,7 @@ import{u as D,X as B,M as b,j as o,aW as H,d as E,Y as S,o as t,C as r,s as L,_
229
229
  border-color: ${e=>e.theme.colors.primary};
230
230
  }
231
231
  margin-bottom: ${t.sp6};
232
- `,ge=i(Q)`
232
+ `,ge=i(O)`
233
233
  width: ${t.sp3};
234
234
  height: ${t.sp3};
235
235
  `,$e=i.div`