@zeniai/web-cockpit-ui 1.13.95-qa → 1.13.96-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 (232) hide show
  1. package/dist/assets/{ACHDetailsPage-CTeCxcke-C683R6bJ.js → ACHDetailsPage-C_NL9J0X-DQ3wv9Rt.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-DHndW6Jx-CfEm_2Cm.js → AIPerformancePage-DyiOQxOC-Deykua_G.js} +18 -18
  3. package/dist/assets/{AccountInfoPage-DX6r16Bm-Dg1WO-h4.js → AccountInfoPage-xglon85A-yRVQMsLQ.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-DuUO6Fmo-C56BuLDu.js → AccountInfoPageContent-BtMF3gSM-CwB-GVxY.js} +19 -19
  5. package/dist/assets/{AccountReconDetailsDrawerPage-XjxpxHaM-CDytzp8k.js → AccountReconDetailsDrawerPage-DJ9x8tbi-LYKktAAO.js} +13 -13
  6. package/dist/assets/{AccountRow-BUDNnxLp-Cql4xo5o.js → AccountRow-CP7Tu1pO-VLQJgkE6.js} +9 -9
  7. package/dist/assets/{AccountsPromoCardStack-BkYuVRiC-jkiVHvUa.js → AccountsPromoCardStack-1elvD1M0-GOX35w9m.js} +9 -9
  8. package/dist/assets/{AddAddressForCardDrawer-CaKymF5H-BHDX5-6a.js → AddAddressForCardDrawer-C8-wy-3B-di9k1XXJ.js} +1 -1
  9. package/dist/assets/{AddToWalletPage-CO_ranRc-BTuUxzoU.js → AddToWalletPage-DsqplF5y-BOnzBTtb.js} +7 -7
  10. package/dist/assets/{AgingReportsPage-CmvGohzQ-D8gICcEY.js → AgingReportsPage-DClcRhxg-CS8rEKD_.js} +4 -4
  11. package/dist/assets/{AllUserItems-Bcd_lx2s-DYNL-0c5.js → AllUserItems-BOwAIYTQ-ikKyJOZ6.js} +9 -9
  12. package/dist/assets/{ApAgingDetailPage-B6h9L4qX-lJqEVNzW.js → ApAgingDetailPage-CcU6Hz-o-C9CP7TBd.js} +4 -4
  13. package/dist/assets/{AppBasePage-bPmQIx1U-DkF_qSV6.js → AppBasePage-C7kCz0qg-gwqzuxWV.js} +2 -2
  14. package/dist/assets/{AppDrawerContent-D4e_1ju1-Bx4NcuHt.js → AppDrawerContent-B63CbHT7-CTgXtY-R.js} +5 -5
  15. package/dist/assets/{ApprovalRulesSettingsPage-D7d0RwUR-CXcPL3xb.js → ApprovalRulesSettingsPage-D6XZafBq-BQyA8PhX.js} +1 -1
  16. package/dist/assets/{ArAgingChart-CfBXj53W--oBxg5am.js → ArAgingChart-D-Z3jfGt-DS-oqmcQ.js} +7 -7
  17. package/dist/assets/{ArAgingDetailPage-D-HZa9vX-CZp0Gb9P.js → ArAgingDetailPage-AiwyJUwp-CLdUA32y.js} +1 -1
  18. package/dist/assets/{AttachmentView-BF2v7v3I-C_hiw28G.js → AttachmentView-wIV1i6gf-__2UovKF.js} +1 -1
  19. package/dist/assets/{BankAccountSection-Cm_J2y31-BucLZ8HJ.js → BankAccountSection-cVBEl5IN-DpEdLEP3.js} +1 -1
  20. package/dist/assets/{BankAccountWarningSection-BnsmtuKk-fw_Nxns2.js → BankAccountWarningSection-Ce5s962S-Dy-_2VlU.js} +1 -1
  21. package/dist/assets/{BankConnectionsSettingsPage-BawBUQ6M-DZjFrZqS.js → BankConnectionsSettingsPage-Cgp8M98A-D84-x80q.js} +41 -41
  22. package/dist/assets/{BillDetailPage-DFHM1n3a-BzH9kkbG.js → BillDetailPage-C9NC9kTK-BYRIHiN2.js} +6 -6
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-PGRG0N6y--wqHCiIk.js → BillPayApprovalRuleDetailPage-yKPMorLd-DWM3MQMK.js} +2 -2
  24. package/dist/assets/{BillPayApprovalRulesPage-ByawtRCM-C9XLzgsS.js → BillPayApprovalRulesPage-DmMqDFmk-B8Cg6Nn6.js} +6 -6
  25. package/dist/assets/{BillPayPromoPage-BvA5aJV2-DixWvBx5.js → BillPayPromoPage-CWGX6uCi--607mHc3.js} +4 -4
  26. package/dist/assets/BillPaySetUpPage-B-DHUIqu-DsqPk0zS.js +42 -0
  27. package/dist/assets/{BillingSettingsPage-C0c3igP5-TypItDNj.js → BillingSettingsPage-Bx7lHgIy-CyArwb3F.js} +5 -5
  28. package/dist/assets/{BillsBulkReviewDrawerPage-ChobILB2-CY6Vqo4D.js → BillsBulkReviewDrawerPage-Bf5MKQ-f-5iZSFdzE.js} +1 -1
  29. package/dist/assets/{BoxItem-qV71vsVl-BQdt3cLT.js → BoxItem-DX1sag1G-C0OcCbod.js} +1 -1
  30. package/dist/assets/{BusinessVerificationPage-CYL-J6jv-DkXGqad4.js → BusinessVerificationPage-DXh-11f9-BWywYgcT.js} +12 -12
  31. package/dist/assets/{CardNumberSubText-BkMaMdcB-CZbBaqBZ.js → CardNumberSubText-iYF6MLsf-BnbFJt1d.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-Bkvu7uCA-DPp9ny_0.js → CashbackDetailPage-DVsCU69u-iWc1QiKl.js} +17 -17
  33. package/dist/assets/{ChargeCardDetailPage-B8JhA6aM-DP68CIPf.js → ChargeCardDetailPage-D5bwvNOM-CT3hMXCY.js} +30 -30
  34. package/dist/assets/{ChargeCardListPage-DayFsVdx-BvhO9lDy.js → ChargeCardListPage-rY7_MoJ5-CzPbszY2.js} +15 -15
  35. package/dist/assets/{ChargeCardListTable-Ck15ShIF-Bo7wpgFJ.js → ChargeCardListTable-PTRaj9T6-GxUnY44G.js} +24 -24
  36. package/dist/assets/{ChargeCardPromoPage-ZvHc9uZ8-CVJ2f2Q4.js → ChargeCardPromoPage-BUtD2JQ4-Bh59RQEl.js} +6 -6
  37. package/dist/assets/ChargeCardSetupPage-CIRcLLnB-Cefuwkkm.js +36 -0
  38. package/dist/assets/{ChargeCardStatementsPage-DlFimewo-CCnuk61t.js → ChargeCardStatementsPage-uRlTsfDI-DztC0UAp.js} +4 -4
  39. package/dist/assets/{ChargeCardUtils-Buf1Xa4X-B0NExkND.js → ChargeCardUtils-BvVm2SMq-B6pl3c2F.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-Cp5-sc7K-D16SX-je.js → ChaseOverlay-CI8lEzod-DNTlxx9v.js} +7 -7
  41. package/dist/assets/{CheckDepositDrawerPage-ClJh5smc-_5B4001u.js → CheckDepositDrawerPage-Czpxz6Mz-gcS4-F7d.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-CKu2AawV-7J7P-p89.js → CollapsableReportTable-BBGdC6Ii-N5Ehkf8R.js} +59 -59
  43. package/dist/assets/{CompanyOfficerDetailsSection-CHi8zT6M-n4KlPGqn.js → CompanyOfficerDetailsSection-BrsHy7MO-Cl-BM3f0.js} +37 -37
  44. package/dist/assets/{CompanyPassportCard-DW8AIAcy-CD6hbzHd.js → CompanyPassportCard-P0g_DRwA-XRQTRVQK.js} +1 -1
  45. package/dist/assets/{CompanyPassportPage-CG1U8xfQ-BBKgl2AT.js → CompanyPassportPage-CH8El0Nl-CrZI1ceZ.js} +35 -35
  46. package/dist/assets/{CompleteProfile-Lnfcm8Mq-DIDWMwVP.js → CompleteProfile-DTSAIKgF-WX_HRfP5.js} +4 -4
  47. package/dist/assets/{ConfettiBurst-Ca6cfnuf-DXy3hq34.js → ConfettiBurst-CjONFCxD-BbasMJ1h.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-BuBYOkXS-CXfFdFgj.js → CreateOrEditVendorPage-CDVjGotR-BX0RU8Lc.js} +9 -9
  49. package/dist/assets/{CreditCardPaymentDrawerPage-8d6cEGBi-Csci_pVx.js → CreditCardPaymentDrawerPage-CsyNRmxp-J9Q1Nire.js} +13 -13
  50. package/dist/assets/{CreditCardPaymentPlgSection-B9DUkdWm-DXvkaBzj.js → CreditCardPaymentPlgSection-BhHsjqZA-DtxErSDc.js} +6 -6
  51. package/dist/assets/{CurrencySelectField-BUtL_oMC-DCR694Hp.js → CurrencySelectField-BRkdK9Tx-DZlSSgUd.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-BZIt8djd-CeAy48b5.js → CustomerOnboardingActivationPage-DnVXw5Ok-CF7wqV2h.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-wmVbYxdI-BLfm1bGE.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-n8n9mzuh-DnRHlRmW.js → CustomerOnboardingDetailPageSkeleton-C95eWcqa-DW8DNI2i.js} +8 -8
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-f_PloOrf-C9pRVr2q.js → CustomerOnboardingNoStepsPage-OKbEl9Bp-Dy87ha3L.js} +8 -8
  56. package/dist/assets/{CustomerOnboardingPage-B_vGVChf-dFwk_VXd.js → CustomerOnboardingPage-D9jqUudS-BpBvjqe9.js} +4 -4
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-hXloSEH1-DYBCkxTF.js → CustomerOnboardingProductSuitePage-DK_FKVS2-Dz81TViz.js} +5 -5
  58. package/dist/assets/{Dashboard-DN58fmab-DI4UPbG9.js → Dashboard-CsuzQbH0-B5Hgiilv.js} +229 -228
  59. package/dist/assets/{DashboardReportPage-DIx6h5UA-DD8W8PS5.js → DashboardReportPage-BCkrfj3P-CIFdRg6l.js} +15 -15
  60. package/dist/assets/{DepositAccTransactionItem-DNv9nV2t-DZEb9C7L.js → DepositAccTransactionItem-B55LUfPM-Bsnh-Dnt.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionListPage-CWEabc_8-jv3Bmo7O.js → DepositAccTransactionListPage-CKBZEDvI-CFszcDp5.js} +2 -2
  62. package/dist/assets/{DocumentSecurityBanner-B6VGrs_d-Cfx6lAB8.js → DocumentSecurityBanner-B5e6-zfE-B8VQ-eGv.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-BYIbT0cd-2kMoLnS_.js → DomesticWireDetailsPage--MU9IKKz-CI-n4FxD.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-RhRX-Goq-BupGL0dt.js → DownloadOverlay-CVay7PEO-C-BIaHoh.js} +7 -7
  65. package/dist/assets/{DrawerPage-C01myF5D-j3cJU3wQ.js → DrawerPage-BtsjUVWT-DKZ4-9Rc.js} +6 -6
  66. package/dist/assets/{EditPeoplePage-BMm08q5E-6J84vEZ9.js → EditPeoplePage-q8Se6bGZ-Cx2X58jF.js} +12 -12
  67. package/dist/assets/{EditReimbursementDetailPage-C5FnQpPh-Dwd-46Tp.js → EditReimbursementDetailPage-DJxpU-hz-dhF_OPbV.js} +27 -27
  68. package/dist/assets/{EntityDetailPage-BkpeRVR1-CnR_mmFo.js → EntityDetailPage-Bux6DlIw-CDR-iDms.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-DpxcfRng-DcsmHnA_.js → EntitySummarySection-D8dz1hFt-Bakc19a1.js} +7 -7
  70. package/dist/assets/{ExpenseAutomationOverviewPage-BJ1ba0Oz-D9-shxeM.js → ExpenseAutomationOverviewPage-CdJQtc-4-WoBW313I.js} +17 -17
  71. package/dist/assets/{ExpenseAutomationPage-C7GKFlgt-Dv2Q5vGK.js → ExpenseAutomationPage-aNc126hN-DZa4KtXO.js} +1 -1
  72. package/dist/assets/{ExpressPayPage-pgy9CEaP-f4MmGYM1.js → ExpressPayPage-CWVGXvfN-Bzdld5fx.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-Bpnn3Eao-CvHFjhAC.js → FeaturePreviewPage-C0nvVXP--BF6s18r5.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-D4Do4Mtd-CdfYHUDU.js → FollowStepsSection-Cf0s1DGX-BFVvc78r.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-D_50hOfK-DLDGfN7r.js → GlobalReviewListPage-aY4rHJVr-DzNSgRAM.js} +9 -9
  76. package/dist/assets/{HelpButton-BBLa-U8R-BCdxHz0r.js → HelpButton-Dv3nbc1Z-CHaoZd0g.js} +1 -1
  77. package/dist/assets/{InformationCardStack-CNCEEO1z-D6D_SwGq.js → InformationCardStack-BALkGk48-BWmXScs3.js} +1 -1
  78. package/dist/assets/{InsightsCardStack-BangbyzX-D59e7Wce.js → InsightsCardStack-D52CCSVO-CezeuABJ.js} +2 -2
  79. package/dist/assets/{InsightsSection-DNfDisn9-Cr1_z-Md.js → InsightsSection-D_wtVtVg-5rPDOiJT.js} +1 -1
  80. package/dist/assets/{IntegrationsSettingsPage-ColuS6Tk-B3L9jRKr.js → IntegrationsSettingsPage-DxjbW311-BrvXi8hE.js} +7 -7
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-BG4x1tCL-DXOM8dF6.js → InternationalWireSwiftDetailsPage-24NSHzu1-CRaVhxIk.js} +12 -12
  82. package/dist/assets/{InternationalWireVerificationPage-B22ThS6Q-Dz6_w0To.js → InternationalWireVerificationPage-B1jvCUkw-Ld5IAzwh.js} +11 -11
  83. package/dist/assets/{InviteFormPage-Cixm85d1-C92j1bpf.js → InviteFormPage-C9fNxGsi-CRksfDku.js} +6 -6
  84. package/dist/assets/{InvitePageListView-DBcwM1lk-DptYhngY.js → InvitePageListView-DSWZ2SPi-B4SFh7Xp.js} +27 -27
  85. package/dist/assets/{InvitePeoplePage-DIq28HlK-DOz8t2PL.js → InvitePeoplePage-DaN4NSHW-CydccedW.js} +3 -3
  86. package/dist/assets/{InvoiceUploadSection-D5vmrKLq-O4pFaUzg.js → InvoiceUploadSection-D0CgJxyu-9_MCn8Y6.js} +7 -7
  87. package/dist/assets/{IssueChargeCardPage-DjW6ZTWB-F9q1KR9c.js → IssueChargeCardPage-dYu9VLy4-YHkYWF3X.js} +29 -29
  88. package/dist/assets/{LabeledAddressValue-CDidTB7_-DYB21yjs.js → LabeledAddressValue-DtmZ5htg-OjX3rrF7.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-CVVc36IB-BOZV33a0.js → LabeledAddressValueField-C2LEKAwf-BQxD3J4c.js} +4 -4
  90. package/dist/assets/{LabeledControlledCheckBoxField-CGN805d2-BA6Pc0WD.js → LabeledControlledCheckBoxField-Ds3mSsWy-DNoefl6y.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-PunIRbD6-DDqJ3cK3.js → LabeledCreatableSingleSelectField-DW8jVgaN-BEmOmz9t.js} +7 -7
  92. package/dist/assets/{LabeledDocumentField-DgGIyJH_-CBKdmUVe.js → LabeledDocumentField-Ce2A0qNH-CSvl2QNP.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-BDVtmFqG-gCd6X-E-.js → LabeledDropDownFormattedTextField-DWlfmICB-Diz5afTR.js} +5 -5
  94. package/dist/assets/{LabeledText-BW7VKf6E-C24W9XPF.js → LabeledText-bruKdeAH-E98_Q-Ht.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Cmc8qo-r-dngC-eis.js → LabeledUserSingleSelectWithSubtitlesField-CfzUlgs3-BKnteQzK.js} +4 -4
  96. package/dist/assets/{LabeledZeniRolesDropDownField-Cl6BAapU-nrxxzLF5.js → LabeledZeniRolesDropDownField-CGSgg1Zl-M-Z5Kz_3.js} +15 -15
  97. package/dist/assets/{LinkJETransactionPage-CtYsRhte-DLC7uC7b.js → LinkJETransactionPage-DjNutEvf-sKN4Are7.js} +2 -2
  98. package/dist/assets/{LowBalancePopup-C_c9t4ho-eqOyJH63.js → LowBalancePopup-CwcYMtuk-B-vSGd6a.js} +6 -6
  99. package/dist/assets/{MagicLinkACHDetailsPage-KZmNuH71-CTI-Dlwl.js → MagicLinkACHDetailsPage-Ddhg3i45-DAcpfJH2.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-DCkibDQs-D6Vij8oa.js → MagicLinkDomesticWireDetailsPage-QzsSuMOz-D-Sj2Twf.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-CR1BJE-p-DJozXQVC.js → MagicLinkInternationalWireDetailsPage-BsLlhkuO-cmHC5izc.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-D9VscY-N-Bonm7jRn.js → MagicLinkSuccessPage-COpDxIAb-BaiQCbjC.js} +1 -1
  103. package/dist/assets/{MagicLinkTitleSection-DwxRtyUO-TW2QatUp.js → MagicLinkTitleSection-Oa8Szvl2-DvY3D69u.js} +1 -1
  104. package/dist/assets/{MailingDetailsSection-B3AtsI4y-BoNtCzyk.js → MailingDetailsSection-BycONjR9-Dhu_6L_d.js} +1 -1
  105. package/dist/assets/{MeetingCalenderPopup-5ibEhgcm-CfrNow34.js → MeetingCalenderPopup-D_WPTVKr-DYqVpuuh.js} +1 -1
  106. package/dist/assets/{Menu-B3jEZq8P-k2tSLTgo.js → Menu-B6Fh2Mf9-B_ofMkAs.js} +3 -3
  107. package/dist/assets/{MyBankConnectionsSettingsPage-BLqGgTGR-Du4h91Ym.js → MyBankConnectionsSettingsPage-jWuBarzg-DszKEiXJ.js} +13 -13
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-GXGFSZqe-BxVKL6p6.js → MyPendingActivationChargeCardListPage-_wuCCZ2J-Cbj97sd-.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-CwBD0rUF-bmCKmw0t.js → MyProfileSettingsPage-ChyYrCir-Dq1dhgqM.js} +6 -6
  110. package/dist/assets/{NavBarWithPicker-wTsy1SAG-UuWAt6Xd.js → NavBarWithPicker-D4jJGXZB-BJWr2BT1.js} +2 -2
  111. package/dist/assets/{NavigationArrow-PxVotVGU-D4_uMkHQ.js → NavigationArrow-DlUdvmV7-iugv9ZVE.js} +5 -5
  112. package/dist/assets/{NavigationDots-BhLlf9IS-CIj6cEBO.js → NavigationDots-CFJt-T5J-B9PAzC5S.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-BnXD_AkF-DOYTdRAr.js → NewGlobalMerchantPage-DhYni-in-Diwu92Go.js} +4 -4
  114. package/dist/assets/{NoDataChart-DLfKZ9J--Dd9Uwsa0.js → NoDataChart-CvGbQO4j-B5z4vqWb.js} +1 -1
  115. package/dist/assets/{NoDataTable-BRKuhxS0-CV9z4Byu.js → NoDataTable-EKtYZwcL-XyHu2gAL.js} +1 -1
  116. package/dist/assets/{NotFoundPage-BD417YGL-117431dY.js → NotFoundPage-D5SHSQLS-0U7pTJ8G.js} +1 -1
  117. package/dist/assets/{NotificationSettingsPage-Mb9ed249-bwio6aJe.js → NotificationSettingsPage-CjJw9Atb-BmSbhipZ.js} +28 -28
  118. package/dist/assets/{NotificationsListConfig-CISUs4yA-Dlptdtpj.js → NotificationsListConfig-BL_MxKXF-CvqrsVs-.js} +1 -1
  119. package/dist/assets/{NotificationsPage-WTGOES7C-CyczQqOd.js → NotificationsPage-bGvx2yV6-C4p8pfzZ.js} +1 -1
  120. package/dist/assets/{OpExByVendorPage-D4Ur1QRV-Sb-pV_GG.js → OpExByVendorPage-BE_NnQzd-DQnxoqWx.js} +7 -7
  121. package/dist/assets/{OverlayContainerPage-C0rUb6-5-BlTMumr5.js → OverlayContainerPage-GWXnlbZH-D2VSw_RI.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-DSvdGyym-BuxtU1rY.js → PandLWithForecastPage-D-000kuR-BW5fUkac.js} +9 -9
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-Bs8f-d_P-Dg-8w3uE.js → PaymentAccountSetupBillingAddressSection-CwbX_znq-C6WVSYgS.js} +7 -7
  124. package/dist/assets/{PeoplePage-ByFdUCgV-Dhq5KAAJ.js → PeoplePage-MwM0lFB9-B0wgHwI1.js} +17 -17
  125. package/dist/assets/PortfolioAllocationFormPage-C3a4MQzW-CQIA3SiA.js +207 -0
  126. package/dist/assets/PortfolioDetails-BMJ6PGMP-DtrA52bw.js +218 -0
  127. package/dist/assets/{ProductsCarousel-6mui8g8D-CGRqoINF.js → ProductsCarousel-D2wC3sC--BKh2AE5P.js} +5 -5
  128. package/dist/assets/{PromoBaseCards-CASb_Nf9-BzL6NUIX.js → PromoBaseCards-Ddumul2a-BrEDd739.js} +1 -1
  129. package/dist/assets/{QBOConnectionDialog-AF50P_eR-CWzrI92p.js → QBOConnectionDialog-DszSpNdI-DwqHmKSk.js} +5 -5
  130. package/dist/assets/{QBOSetupSection-hObNFdKz-R6LjnRwJ.js → QBOSetupSection-BNF-BUu5-B_yCc7Df.js} +7 -7
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-NuprN06r-BY69FPQW.js → ReimbursementApprovalRuleDetailPage-Myone4-k-B9H3tR1_.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-DP8frTz1-BXYOZ9pS.js → ReimbursementApprovalRulesPage-DFhp0GGU-p0zWXuJ6.js} +8 -8
  133. package/dist/assets/{ReimbursementDetailPage-B9F6pND6-CJGP1fGq.js → ReimbursementDetailPage-BAEddssC-DcJfByf4.js} +3 -3
  134. package/dist/assets/{ReimbursementPromoPage-CUNbpcAP-BNDEBoP2.js → ReimbursementPromoPage-D4u3SX8R-ByzJ_1Sx.js} +7 -7
  135. package/dist/assets/ReimbursementSetUpPage-B9ByGW3n-Bt2Z4PCD.js +140 -0
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CafTodEa-D_9dDNDY.js → ReimbursementsBulkReviewDrawerPage-CAo_NjTX-O9TR0kFt.js} +1 -1
  137. package/dist/assets/{ReloadCard-aQ5Ma2ne-DnZtzMX3.js → ReloadCard-BA_JCHcV-DL7NGQyj.js} +1 -1
  138. package/dist/assets/{ReportTableViewSelector-CjZe9dc3-Bwol7zIY.js → ReportTableViewSelector-D7B88kS6-BrGIUsj4.js} +9 -9
  139. package/dist/assets/{ReportsPage-PDTasuAQ-CRDx_Uko.js → ReportsPage-BzMzH-I3-BKZoRCt6.js} +5 -5
  140. package/dist/assets/{RevenueChart-CJYsWcyb-BdCewPPj.js → RevenueChart-D33p-PFq-CGRJwc_N.js} +1 -1
  141. package/dist/assets/{ReviewDetailsPage-47Qg28PV-DuyR9IUn.js → ReviewDetailsPage-D35NcQnx-Cbn86Yy5.js} +8 -8
  142. package/dist/assets/{ReviewOverlay-DvYSZ8u9-BDEDfaJr.js → ReviewOverlay-BYJdokfW-C97jtxei.js} +1 -1
  143. package/dist/assets/{RoleWithToolTip-DoD_vW-E-C4YleDRt.js → RoleWithToolTip-B3hm-1rz-OZzvKPZJ.js} +1 -1
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BMX7jbBN-BOlQyKuY.js → ScheduleDetailsFixedAssetsPage-BVnISMKW-BILZO4Rn.js} +8 -8
  145. package/dist/assets/{ScheduleDetailsPage-CNtV2SVn-Cvgy5ITp.js → ScheduleDetailsPage-BibWPOxC-DZMtTy3C.js} +3 -3
  146. package/dist/assets/{ScheduleSequenceTable-CMrsG_y3-lfWkSguO.js → ScheduleSequenceTable-DcQmeKyc-JMxQ5IZq.js} +14 -14
  147. package/dist/assets/{ScreenRoutes-DVKluJ9i.js → ScreenRoutes-iE9-v0dJ.js} +1 -1
  148. package/dist/assets/{SetUpAccountSection-D3nUQAk8-80W_NlFR.js → SetUpAccountSection-BEJy78G6-Do1X3vVo.js} +12 -12
  149. package/dist/assets/{SetUpDefaultSection-C2MgZHUf-6cjyky9L.js → SetUpDefaultSection-ul-q6U3w-CKVV_QFK.js} +5 -5
  150. package/dist/assets/{SignIn-Bud28HbX-BMN3ARMt.js → SignIn-BC8yop4g-CznicFTu.js} +19 -19
  151. package/dist/assets/{SignInScreen-BjG7AvXj.js → SignInScreen-k0dvslKE.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-B8R0PEMD-CBly6PX5.js → SpendManagementListViewPage-aZljA388--EEskYb2.js} +3 -3
  153. package/dist/assets/{SpendManagementPerTabPage-CTdgMCHu-rRIfroix.js → SpendManagementPerTabPage-BU1ai2M8-DkMZQMfc.js} +30 -30
  154. package/dist/assets/{SpendManagementSection-CnD0V00y-D9fNwId6.js → SpendManagementSection-DMw8NFvN-Cpy4Blf3.js} +1 -1
  155. package/dist/assets/SpendMgmtSetupAccountSection-BtcwTlJT-Bsya0Qr3.js +206 -0
  156. package/dist/assets/StatementItem-CKTGWEW_-d6SqxmfH.js +31 -0
  157. package/dist/assets/StatementsPage-CjR4AlPy-BQRlcz37.js +58 -0
  158. package/dist/assets/{StatusSwitcher-CxbcO6mR-7byU0Qsi.js → StatusSwitcher-5CZzUYJE-qZVSFmES.js} +2 -2
  159. package/dist/assets/{SubTabSwitcher-mCKmnU9--_3NudRGY.js → SubTabSwitcher-a38_U4dN-BfyQ4BdY.js} +1 -1
  160. package/dist/assets/{SummaryCard-BoA0mdbI-D-JteJj-.js → SummaryCard-XbFHvHx9-CTqdwSSS.js} +1 -1
  161. package/dist/assets/{TaskManagementPage-CbSLSOpI-C_StuWQ7.js → TaskManagementPage-Oct77yO--igT2quo0.js} +18 -18
  162. package/dist/assets/{TimeRangeSwitcher-DIszv8B4-8Vqnlo8v.js → TimeRangeSwitcher-C4mpBnQl-CaG6dXuN.js} +1 -1
  163. package/dist/assets/{TimeframeSwitcher-C8tn7HgF-CYpXHzm1.js → TimeframeSwitcher-CnLEHYWD-BW9vKcLS.js} +1 -1
  164. package/dist/assets/{TimeframeSwitcherWithToggle-DqvG5zv2-B_vjkWRW.js → TimeframeSwitcherWithToggle-Bc-Y5Hwv-0uMnBILy.js} +1 -1
  165. package/dist/assets/{TopExCard-B2pg-xWB-C_MNh4xQ.js → TopExCard-CaR8tsug-DnQ2eFWB.js} +1 -1
  166. package/dist/assets/{TopExDetailPage-Ch-SwhrE-B7t98Kv3.js → TopExDetailPage-C4QeWe92-vjJ7ZG8N.js} +10 -10
  167. package/dist/assets/{TransactionDetailPage-4ehnnMwj-DZt_7WH0.js → TransactionDetailPage-BoxnNYXX-2QwooFWS.js} +23 -23
  168. package/dist/assets/TransactionList-IjM4ABdF-DZ9PEfgX.js +147 -0
  169. package/dist/assets/{TransactionListBig-YrccrGWK-DO38y7iT.js → TransactionListBig-B0FG0-BM-Br0wUjP3.js} +6 -6
  170. package/dist/assets/TransactionListPage-1dwu-ZT2-vlIbHO3m.js +35 -0
  171. package/dist/assets/{TransactionVendorDetailPage-DIvXenmH-C1mFSgKA.js → TransactionVendorDetailPage-gBr8kX0F-BE5xJ4Iy.js} +1 -1
  172. package/dist/assets/{TransferDrawerPage-CK9V-5BR-CpaoTMZK.js → TransferDrawerPage-BJVanLzC-BZZsX7dv.js} +12 -12
  173. package/dist/assets/{TreasuryOverviewPage-Dhm7htH5-kqyB1dZB.js → TreasuryOverviewPage-DGJnHyrO-BPZDM1DN.js} +26 -26
  174. package/dist/assets/{TreasuryPromoPage-CiE4S4u6-Bmkl_vtQ.js → TreasuryPromoPage-CblUabA3-CO5CaCN_.js} +11 -11
  175. package/dist/assets/{TreasurySetupPage-WygAmXcw-Ce2lSunA.js → TreasurySetupPage-CuROk6il-7kJUNajN.js} +2 -2
  176. package/dist/assets/{TreasuryStatementsPage-zycSYzUL-a1Q1-vUc.js → TreasuryStatementsPage-DfB0yrzC-osurk-aq.js} +5 -5
  177. package/dist/assets/{TreasuryTaxLetterPage-l_CSMKSV-CI415Dyi.js → TreasuryTaxLetterPage-CRoLpeXm-g70lefJl.js} +5 -5
  178. package/dist/assets/{TreasuryTransferOrReviewPage-CkHJE0PT-D31jLA1P.js → TreasuryTransferOrReviewPage-QMDAFbkh-CUXJN-eh.js} +82 -82
  179. package/dist/assets/{TrendChart-Buu-BMJt-B5Sc9LYw.js → TrendChart-D3_4i3qH-wYUerKRk.js} +1 -1
  180. package/dist/assets/{TrendWithTransactions-C6sLZFPh-Bh1R0S7x.js → TrendWithTransactions-KkV2_0Uh-D0lwZdhf.js} +5 -5
  181. package/dist/assets/{UncategorizedAccountsMappingPage-Ct1KSgHe-0geG4A2E.js → UncategorizedAccountsMappingPage-kKq-jvPY-CF6bAw3X.js} +15 -15
  182. package/dist/assets/{UnitIntegrationPage-DeG7GwFV-FVA_EZHK.js → UnitIntegrationPage-CZS0yjHf-2PLtjCjv.js} +2 -2
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-BBEBrd1k-Da0YVuaj.js → UploadAdditionalDocumentOverlay-KkO_TLUT-n0LOLnpS.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-B2qGbIlK-EHzNldgC.js → Vendor2FAPopup-wnVnkHOg-DABVEKDS.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-CIb3Lffi-Guw0fQqZ.js → VendorACHDetailsPage-nuzdr69i-pgOa8d0q.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-DrZlWYNf-DJbqJ87T.js → VendorDetailPage-ClmL_1FB-Cz0Favu8.js} +12 -12
  187. package/dist/assets/{VendorDomesticWireDetailsPage-BGfsxhx5-BTgx_7LR.js → VendorDomesticWireDetailsPage-DEK3jdYu-StHUbnc9.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-DpYIPFDo-C9kYtgbW.js → VendorFiling1099EditablePage-KMOY10Xr-C-_0rtWP.js} +7 -7
  189. package/dist/assets/{VendorFirstReviewPage-JJMuxJAj-yPWMHAQn.js → VendorFirstReviewPage-CLF3qT17-D1oHFEVR.js} +68 -68
  190. package/dist/assets/{VendorInternationalWireDetailsPage-B7IVMovj-BhA1Ef4d.js → VendorInternationalWireDetailsPage-C5JXqVVq-DdhMyWB0.js} +8 -8
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-C7y7HA0_-DphcA4HV.js → VendorInternationalWireSwiftDetailsPage-7KrBqEWb-D_WpQwvk.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-CKizD1gN-BGFHYEYU.js → VendorsAccountsSection-fcURK7tv-BOScGj67.js} +2 -2
  193. package/dist/assets/{WarningsDrawerPage-REjc7j42-g01f3Psr.js → WarningsDrawerPage-Bnd_CdR9-B2JqHi6z.js} +7 -7
  194. package/dist/assets/{ZeniAccountDetailPage-BYQt_cqt-BWVRkkUu.js → ZeniAccountDetailPage-DRDCdFW7-D8o4Z2Hy.js} +21 -21
  195. package/dist/assets/{ZeniAccountListViewPage-DPLQmd2c-Cb-vwfim.js → ZeniAccountListViewPage-ZPWww_Go-HRp0ORwg.js} +16 -16
  196. package/dist/assets/{ZeniAccountNavBarPieces-CB_hOCVm-CNnCZNrg.js → ZeniAccountNavBarPieces-DFivFXxa-rHFaK51E.js} +1 -1
  197. package/dist/assets/{ZeniAccountPromoPage-DjbDqqNB-8KGHUsXb.js → ZeniAccountPromoPage-D1oJNoqy-C6ZFb72_.js} +15 -15
  198. package/dist/assets/{ZeniAccountSetupPage-BKgmStQ8-XeK7XZyF.js → ZeniAccountSetupPage-DITu6ztK-Fgis_UYm.js} +4 -4
  199. package/dist/assets/{ZeniCopyright-gnzM8wV--C1v-b1gJ.js → ZeniCopyright-DoA2I5zj-CPBH_zf-.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-D5uBFeau-Bd_LP2BV.js → ZeniTransferAmountSlider-amszUh1p-Wx5VV7C8.js} +1 -1
  201. package/dist/assets/{analyticsHelper-CLrr0h1i.js → analyticsHelper-BbcCIpO1.js} +1 -1
  202. package/dist/assets/{analyticsHelper-Cdzg4Zjw-qx7VMGsd.js → analyticsHelper-DPbbQVAO-ChPUlKK7.js} +1 -1
  203. package/dist/assets/{chartTypes-BTdgphvt-anKbqjvg.js → chartTypes-qpvW4LwC-4Ag0mdD1.js} +1 -1
  204. package/dist/assets/{commonDimensions-Ctzi29iY-B3Mz4L3r.js → commonDimensions-DAvj4Il1-Chc9ZQai.js} +1 -1
  205. package/dist/assets/{detailCommon-SwpJm2mb-GgwMmtkd.js → detailCommon-jP1ggD3g-CQiTz4E7.js} +8 -8
  206. package/dist/assets/{downloadPdf-YcATpN2g-CAA7xZRG.js → downloadPdf-LAHtgcHF-B9uNpNRf.js} +1 -1
  207. package/dist/assets/{index-Ihb4xe41.js → index-DyBH5SZv.js} +1148 -1164
  208. package/dist/assets/{mapLoadingInProgressToTreeNode-C8MSAhen-LE5XT1W1.js → mapLoadingInProgressToTreeNode-CjvJKOzk-DeuVFxVw.js} +1 -1
  209. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-C0LfGztS-DlXculyR.js → mapSectionWithAcOnlyToTreeNode-Dr43nOGj-FSgubQ7E.js} +1 -1
  210. package/dist/assets/{mapSpacerToTreeNode-BBfTCdRQ-BiS3tfk-.js → mapSpacerToTreeNode-COsnfFtf-DI0OXEqQ.js} +1 -1
  211. package/dist/assets/{mapTimeframeBalancesToTreeNode-DcljRs6K-CkCeKT7U.js → mapTimeframeBalancesToTreeNode-BnpqSOA6-DAD3sG8g.js} +1 -1
  212. package/dist/assets/{mapTimeframeBalancesToTreeNode-ClOTGsb4-Dx6Fs18B.js → mapTimeframeBalancesToTreeNode-DFanhVY8-Cl8Oktyg.js} +1 -1
  213. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BL3c3wFj-CjElW0Ku.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D2xlqc6w-BjPO7Xb1.js} +1 -1
  214. package/dist/assets/{play-icon-DaxUpyZT-St31ZjXu.js → play-icon-D3OSczih-8eMagn70.js} +1 -1
  215. package/dist/assets/{toCOABalancesWithID-Vfz3d1qt-Bi8YoUPm.js → toCOABalancesWithID-DeWKaovX-C_3xC96w.js} +1 -1
  216. package/dist/assets/{toChartData-CiTmOVzN-SsNGpDs2.js → toChartData-Dkp488IJ-Cg1gF7al.js} +1 -1
  217. package/dist/assets/{treasuryColorHelper-BbkDcDKI-DuyIzVHi.js → treasuryColorHelper-BibNNRS5-DCmyWsB-.js} +1 -1
  218. package/dist/assets/{uploadAttachment-BLQvpBKI-BcwA9OyS.js → uploadAttachment-BjJ8_wDA-22p019X4.js} +1 -1
  219. package/dist/assets/{uploadReceipts-Buvz7DfG-DOW--6gZ.js → uploadReceipts-D80JLNY4-sjevKwVl.js} +1 -1
  220. package/dist/index.html +1 -1
  221. package/package.json +3 -3
  222. package/dist/assets/BillPaySetUpPage-D4dtDoPF-DuUZsTat.js +0 -42
  223. package/dist/assets/ChargeCardSetupPage-QROShfxq-xqIpIVcT.js +0 -36
  224. package/dist/assets/CustomerOnboardingContainerPage-DLE82ybr-BttCtgjY.js +0 -1
  225. package/dist/assets/PortfolioAllocationFormPage-BY5JJCu--DxlzUzoj.js +0 -207
  226. package/dist/assets/PortfolioDetails-Du2wncho-CaN6dcPD.js +0 -218
  227. package/dist/assets/ReimbursementSetUpPage-ihfYAhDw-0c2qhtD1.js +0 -140
  228. package/dist/assets/SpendMgmtSetupAccountSection-D7LHyfpa-Cue5Vls3.js +0 -206
  229. package/dist/assets/StatementItem-Dn796WZD-BPv_Hnra.js +0 -31
  230. package/dist/assets/StatementsPage-L75Co_mK-DIOQku7i.js +0 -58
  231. package/dist/assets/TransactionList-Bds8YVxl-D69ieOy7.js +0 -147
  232. package/dist/assets/TransactionListPage-EBZJJ3Bb-Cquge-2k.js +0 -35
@@ -1,218 +0,0 @@
1
- import{j as e,M as J,o as l,iB as K,q,d2 as X,u as G,X as Q,_ as W,C as O,bt as f,g as T,bH as L,w as A,dp as V,ae as Z,al as ee,b5 as ie,bd as se,f as le,d4 as ne,n as oe}from"./index-Ihb4xe41.js";import{n as s,b as te}from"./vendor-CnQcJ2Lu.js";import{l as re}from"./treasuryColorHelper-BbkDcDKI-DuyIzVHi.js";const{common:r,spendManagement:{treasury:o},dateFormat:ae}=J.getLocalizedStrings(),w={portfolioYieldMarginTop:new O(-4,oe[0]),sliderWidth:new O(143,177)},Be=({isInReview:i,isSetup:n,fundDetails:m,allocation:d,amount:g,page:v})=>{const h=de(m);return e.jsxs(me,{children:[!n&&e.jsx(xe,{style:{alignSelf:"flex-start",padding:`${l.sp2} ${l.sp0}`},children:`${o.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:n,isLast:x===h.length-1,amount:g,page:v},m[x]?.fundCode||x))]})},de=i=>i.map(n=>[{label:o.promoPage.liquidity,value:n.liquidityTimeline||r.strings.hyphen},{label:o.promoPage.fundSize,value:K(n.fundSize,n.currencyCode)},{label:o.promoPage.maturity,value:`${n.maturity} ${r.timeStrings.days}`},{label:o.promoPage.expenseRatio,value:`${n.expenseRatio}${o.promoPage.expenseRatioSuffix}`},{label:o.promoPage.riskRating,value:n.riskRating||r.strings.hyphen},{label:o.promoPage.composition,value:Array.isArray(n.compositions)&&n.compositions.length>0?`${n.compositions[0].investedIn} ${n.compositions[0].percentage}${r.strings.percentage}`:r.strings.hyphen,tag:Array.isArray(n.compositions)&&n.compositions.length>1?`+${n.compositions.length-1}`:void 0,compositions:n.compositions??[]}]),ce=({portfolio:i,fund:n,fundIndex:m,allocationPercentage:d,isInReview:g,isSetup:v,isLast:h,amount:a,page:x})=>{const _=X().analytics,Y=G(),t=Q(),j=a!=null&&a.amount>0&&d>0?a.amount*d/100:void 0,[p,H]=te.useState(!1),u=re(m,Y),$=()=>{p||_.trackTreasuryProspectusClick(n.fundName,n.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(ye,{children:n.fundCode}),e.jsx(we,{color:u.fundNameColor,children:`${n.fundCompanyName} ${n.fundName}`})]}),t!=="small"&&e.jsxs(C,{onClick:$,children:[p?o.transferDrawer.calculator.footerText.hide:o.overviewPage.fundTile.viewDetails,p?e.jsx(P,{}):e.jsx(D,{})]})]}),t!=="small"&&e.jsx(e.Fragment,{children:g?e.jsxs(B,{style:{alignItems:"flex-start"},children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsx(E,{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:"$"}):r.strings.empty})]}):e.jsxs(je,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsxs(I,{children:[e.jsx(R,{type:"range",min:0,max:100,step:1,value:d,readOnly:!0,windowSize:t}),e.jsx(M,{color:u.fundNameColor,style:{width:`calc(${w.sliderWidth.value(t)}/100*${d}px)`,zIndex:1}})]})]})}),t!=="small"&&e.jsxs(B,{children:[e.jsxs(S,{children:[o.overviewPage.sevenDayYield,e.jsx(f,{data:o.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{minWidth:"496px",padding:`12px ${l.sp3}`},enterDelay:300,children:e.jsx(k,{})})]}),e.jsxs(b,{windowSize:t,style:{marginRight:l.sp3},children:[n.yield,r.strings.percentage]})]})]}),t==="small"&&e.jsx(ke,{children:v?e.jsxs(Ie,{children:[e.jsxs(Re,{children:[e.jsxs(Ae,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsxs(I,{children:[e.jsx(R,{type:"range",min:0,max:100,step:1,value:d,readOnly:!0,windowSize:t}),e.jsx(M,{color:u.fundNameColor,style:{width:`calc(${w.sliderWidth.value(t)}/100*${d}px)`,zIndex:1}})]})]}),e.jsxs(Me,{children:[e.jsxs(S,{children:[o.overviewPage.sevenDayYield,e.jsx(f,{data:o.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{padding:`12px ${l.sp3}`},enterDelay:300,children:e.jsx(k,{})})]}),e.jsxs(b,{windowSize:t,children:[n.yield,r.strings.percentage]})]})]}),e.jsxs(C,{onClick:$,style:{marginBottom:l.sp2},children:[p?o.transferDrawer.calculator.footerText.hide:o.overviewPage.fundTile.viewDetails,p?e.jsx(P,{}):e.jsx(D,{})]})]}):g?e.jsxs(Te,{children:[e.jsxs(F,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsx(E,{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:"$"}):r.strings.empty}),e.jsxs(C,{onClick:$,style:{margin:`${l.sp2} ${l.sp0}`,...h?{marginBottom:l.sp0}:{}},children:[p?o.transferDrawer.calculator.footerText.hide:o.overviewPage.fundTile.viewDetails,p?e.jsx(P,{}):e.jsx(D,{})]})]}),e.jsxs(U,{children:[e.jsxs(S,{children:[o.overviewPage.sevenDayYield,e.jsx(f,{data:o.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{padding:`12px ${l.sp3}`},enterDelay:300,children:e.jsx(k,{})})]}),e.jsxs(b,{windowSize:t,children:[n.yield,r.strings.percentage]})]})]}):e.jsxs(Ye,{children:[e.jsxs(F,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsxs(I,{children:[e.jsx(R,{type:"range",min:0,max:100,step:1,value:d,readOnly:!0,windowSize:t}),e.jsx(M,{color:u.fundNameColor,style:{width:`calc(${w.sliderWidth.value(t)}/100*${d}px)`,zIndex:1}})]}),e.jsxs(C,{onClick:$,children:[p?o.transferDrawer.calculator.footerText.hide:o.overviewPage.fundTile.viewDetails,p?e.jsx(P,{}):e.jsx(D,{})]})]}),e.jsxs(U,{children:[e.jsxs(S,{children:[o.overviewPage.sevenDayYield,e.jsx(f,{data:o.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{padding:`12px ${l.sp3}`},enterDelay:300,children:e.jsx(k,{})})]}),e.jsxs(b,{windowSize:t,children:[n.yield,r.strings.percentage]})]})]})})]},i[0].label)}),p&&e.jsxs(be,{children:[e.jsx(z,{children:n.description}),e.jsx($e,{style:{marginLeft:l.sp3},children:i.map(c=>e.jsxs(Se,{windowSize:t,children:[e.jsx(z,{children:r.strings.dividerDot}),e.jsx(z,{style:{minWidth:"140px"},children:c.label}),e.jsxs(z,{style:{color:c.label===o.promoPage.fundSize?u.fundNameColor:Y.colors.primary,borderBottom:`1px solid ${Y.colors.grey3}`,width:"100%",padding:`${l.sp1} ${l.sp0}`,display:"flex",flexDirection:"row",alignItems:"center",gap:l.sp2},children:[c.value,!!c.tag&&c.label===o.promoPage.composition&&e.jsx(f,{variant:"list-description",data:{title:r.strings.empty,items:Array.isArray(c.compositions)&&c.compositions.length>0?c.compositions.map(N=>({text:`${r.strings.dividerDot} ${N.investedIn}`,amount:`${N.percentage}${r.strings.percentage}`})):[]},placement:"bottom-end",style:{minWidth:"312px",padding:`12px ${l.sp3}`},children:e.jsx(Ce,{children:c.tag})})]})]},c.label))}),e.jsxs(ze,{onClick:()=>window.open(n.url,"_blank"),children:[e.jsx(ve,{children:`${o.promoPage.asOf} ${n.asOfDate.format(ae.visual.MMMDCommaYYYYformat)}`}),e.jsx(De,{})]})]}),(!h||v)&&e.jsx(Pe,{style:{width:"100%",marginBottom:l.sp3}})]})},pe=s.div`
2
- display: flex;
3
- flex-direction: row;
4
- gap: ${l.sp2};
5
- width: 100%;
6
- `,xe=s(q)`
7
- color: ${i=>i.theme.colors.hero};
8
- `,me=s.div`
9
- display: flex;
10
- flex-direction: column;
11
- align-items: center;
12
- width: 100%;
13
- `,ge=s.div`
14
- display: flex;
15
- flex-direction: row;
16
- align-items: center;
17
- justify-content: space-between;
18
- width: 100%;
19
- align-items: flex-start;
20
- `,he=s.div`
21
- display: flex;
22
- flex-direction: ${i=>i.windowSize==="small"?"column":"row"};
23
- width: 100%;
24
- margin-bottom: ${l.sp2};
25
- `,ue=s.div`
26
- display: flex;
27
- flex-direction: column;
28
- align-items: flex-start;
29
- width: ${i=>i.windowSize==="small"?"auto":"245px"};
30
- `,fe=s(L)`
31
- color: ${T.graphColor34Dark};
32
- max-width: 280px;
33
- `,ye=s.span`
34
- color: ${i=>i.theme.colors.primary};
35
- margin-right: ${l.sp1};
36
- `,we=s.span`
37
- color: ${i=>i.color??T.graphColor34Dark};
38
- `,B=s.div`
39
- display: flex;
40
- flex-direction: column;
41
- align-items: flex-end;
42
- width: 129px;
43
- `,y=s(ee)`
44
- color: ${i=>i.theme.colors.primary};
45
- min-width: ${l.sp7};
46
- text-align: left;
47
- `,b=s(L)`
48
- color: ${T.success};
49
- margin-top: ${i=>w.portfolioYieldMarginTop.valuePx(i.windowSize)};
50
- `,S=s(A)`
51
- display: flex;
52
- flex-direction: row;
53
- align-items: flex-start;
54
- gap: ${l.sp1};
55
- color: ${i=>i.theme.colors.hero};
56
- `,ve=s(le)`
57
- display: flex;
58
- flex-direction: row;
59
- align-items: flex-start;
60
- gap: ${l.sp1};
61
- `,E=s(A)`
62
- display: flex;
63
- flex-direction: row;
64
- align-items: flex-start;
65
- gap: ${l.sp1};
66
- color: ${i=>i.theme.colors.primary};
67
- `,je=s.div`
68
- display: flex;
69
- flex-direction: row;
70
- align-items: center;
71
- gap: ${l.sp2};
72
- width: 240px;
73
- `,I=s.div`
74
- display: flex;
75
- flex-direction: row;
76
- align-items: center;
77
- position: relative;
78
- flex: 1;
79
- `,$e=s.div``,R=s.input`
80
- width: ${({windowSize:i})=>w.sliderWidth.valuePx(i)};
81
- cursor: default;
82
- pointer-events: none;
83
-
84
- &[type="range"]::-webkit-slider-runnable-track {
85
- height: 2px;
86
- background-color: ${i=>i.theme.colors.grey3};
87
- }
88
-
89
- &[type="range"] {
90
- -webkit-appearance: none;
91
- appearance: none;
92
- }
93
-
94
- &[type="range"]::-webkit-slider-thumb {
95
- visibility: hidden;
96
- }
97
- `,M=s.div`
98
- position: absolute;
99
- height: 2px;
100
- background-color: ${i=>i.color??T.graphColor34Dark};
101
- `,C=s(A)`
102
- color: ${i=>i.theme.colors.hero};
103
- align-self: flex-start;
104
- display: flex;
105
- flex-direction: row;
106
- align-items: center;
107
- gap: ${l.sp1};
108
- cursor: pointer;
109
- `,D=s(Z)`
110
- width: 12px;
111
- height: 12px;
112
- color: ${i=>i.theme.colors.hero};
113
- `,be=s.div`
114
- display: flex;
115
- flex-direction: column;
116
- width: 100%;
117
- justify-self: flex-start;
118
- gap: ${l.sp2};
119
- margin-bottom: ${l.sp3};
120
- `,z=s(q)`
121
- color: ${i=>i.theme.colors.hero};
122
- `,Se=s.div`
123
- display: flex;
124
- flex-direction: row;
125
- align-items: center;
126
- gap: ${i=>i.windowSize==="small"?l.sp1:l.sp2};
127
- `,Ce=s(se)`
128
- color: ${i=>i.theme.colors.hero};
129
- padding: 1px 6px;
130
- border: 1px solid ${i=>i.theme.colors.grey2};
131
- border-radius: ${l.sp1};
132
- `,De=s(ne)`
133
- width: 12px;
134
- height: 12px;
135
- `,ze=s.div`
136
- display: flex;
137
- flex-direction: row;
138
- align-items: baseline;
139
- gap: ${l.sp2};
140
- width: fit-content;
141
- cursor: pointer;
142
- color: ${i=>i.theme.colors.hero};
143
-
144
- &:hover {
145
- color: ${i=>i.theme.colors.primary};
146
- text-decoration: underline;
147
- }
148
- `,P=s(V)`
149
- cursor: pointer;
150
- width: 12px;
151
- height: 12px;
152
- min-width: 12px;
153
- min-height: 12px;
154
- color: ${i=>i.theme.colors.hero};
155
- `,Pe=s.div`
156
- display: flex;
157
- flex: 1;
158
- background-color: ${i=>i.theme.colors.grey3};
159
- min-height: 1px;
160
- max-height: 1px;
161
- `,k=s(ie)`
162
- width: ${l.sp3};
163
- height: ${l.sp3};
164
- color: ${i=>i.theme.colors.hero};
165
- margin-bottom: -3px;
166
- cursor: pointer;
167
- :hover {
168
- color: ${i=>i.theme.colors.primary};
169
- }
170
- `,ke=s.div`
171
- display: flex;
172
- flex-direction: row;
173
- justify-content: space-between;
174
- align-items: flex-start;
175
- width: 100%;
176
- margin-top: ${l.sp2};
177
- `,Te=s.div`
178
- display: flex;
179
- flex-direction: row;
180
- align-items: flex-start;
181
- justify-content: space-between;
182
- width: 100%;
183
- `,Ye=s.div`
184
- display: flex;
185
- flex-direction: row;
186
- align-items: center;
187
- justify-content: space-between;
188
- width: 100%;
189
- `,F=s.div`
190
- display: flex;
191
- flex-direction: column;
192
- align-items: flex-start;
193
- flex: 1;
194
- `,U=s.div`
195
- display: flex;
196
- flex-direction: column;
197
- align-items: flex-end;
198
- `,Ie=s.div`
199
- display: flex;
200
- flex-direction: column;
201
- width: 100%;
202
- gap: ${l.sp2};
203
- `,Re=s.div`
204
- display: flex;
205
- flex-direction: row;
206
- width: 100%;
207
- gap: ${l.sp2};
208
- justify-content: space-between;
209
- `,Me=s.div`
210
- display: flex;
211
- flex-direction: column;
212
- align-items: center;
213
- `,Ae=s.div`
214
- display: flex;
215
- flex-direction: row;
216
- align-items: center;
217
- gap: ${l.sp3};
218
- `;export{Be as E};
@@ -1,140 +0,0 @@
1
- import{u as Ee,X as Ve,a1 as N,a as Ge,c3 as qe,M as Te,a7 as be,j as t,cI as Ke,g as K,C as r,aW as Ze,d as Je,F as Qe,c_ as Ye,aQ as Xe,c$ as et,a3 as tt,o as a,n,bH as it,cg as nt,co as ot,eY as ve,eZ as ke,fH as at,K as lt,Y as $e,Q as Pe,bd as rt,w as st,aN as ct}from"./index-Ihb4xe41.js";import{b as o,n as i}from"./vendor-CnQcJ2Lu.js";import{F as dt}from"./HelpButton-BBLa-U8R-BCdxHz0r.js";import{K as je}from"./SetUpDefaultSection-C2MgZHUf-6cjyky9L.js";import{p as ut}from"./SpendMgmtSetupAccountSection-D7LHyfpa-Cue5Vls3.js";import{g as mt}from"./UploadAdditionalDocumentOverlay-BBEBrd1k-Da0YVuaj.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-5ibEhgcm-CfrNow34.js";import"./ChargeCardUtils-Buf1Xa4X-B0NExkND.js";import"./CreditCardPaymentPlgSection-B9DUkdWm-DXvkaBzj.js";import"./ChaseOverlay-Cp5-sc7K-D16SX-je.js";const pt=e=>o.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},o.createElement("path",{d:"M12.7113 3H2.89261C2.39963 3 2 3.39963 2 3.89261V20.8522C2 21.3451 2.39963 21.7448 2.89261 21.7448H12.7113C13.2043 21.7448 13.6039 21.3451 13.6039 20.8522V3.89261C13.6039 3.39963 13.2043 3 12.7113 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M10.4798 13.7113H9.58719C9.3407 13.7113 9.14088 13.9111 9.14088 14.1576V16.8354C9.14088 17.0819 9.3407 17.2817 9.58719 17.2817H10.4798C10.7263 17.2817 10.9261 17.0819 10.9261 16.8354V14.1576C10.9261 13.9111 10.7263 13.7113 10.4798 13.7113Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M21.6374 16.1133C21.6374 16.1961 21.6143 16.2773 21.5708 16.3477C21.5273 16.4182 21.4651 16.4752 21.391 16.5123L19.8522 17.2817V14.6039H21.1911C21.3095 14.6039 21.423 14.6509 21.5067 14.7346C21.5904 14.8183 21.6374 14.9318 21.6374 15.0502V16.1133Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 14.6039V13.265C19.8522 12.5268 22.53 10.1409 22.53 10.1409",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 17.2817V19.9596C19.8522 20.433 19.6641 20.8871 19.3293 21.2219C18.9945 21.5567 18.5404 21.7448 18.067 21.7448C17.5935 21.7448 17.1394 21.5567 16.8046 21.2219C16.4698 20.8871 16.2817 20.433 16.2817 19.9596V7.90935C16.2817 7.55424 16.1407 7.21369 15.8896 6.96259C15.6385 6.7115 15.2979 6.57043 14.9428 6.57043H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M2 10.1409H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M11.3724 4.78528H4.23154C3.98505 4.78528 3.78523 4.9851 3.78523 5.23158V7.90941C3.78523 8.15589 3.98505 8.35571 4.23154 8.35571H11.3724C11.6189 8.35571 11.8187 8.15589 11.8187 7.90941V5.23158C11.8187 4.9851 11.6189 4.78528 11.3724 4.78528Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M9.14088 19.0669H10.9261",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),f={sectionWidth:new r(343,580,726),iconContainerMaxWidthHeight:new r(n[6],n[7]),iconContainerMarginRight:new r(12,n[3]),infoLabelPaddingLeft:new r(n[0],n[3]),iconPadding:new r(10,12),iconWidthHeight:new r(20,n[4]),rowGap:new r(n[2],n[3]),containerPadding:new r(n[3],n[4])},ge={title:new Pe("standardSemiBold","largeSemiBold"),infoLabel:new Pe("extraSmallRegular","smallRegular")};function gt({companyMileageConfigInfo:e,mileageDetails:S,analytics:j,style:A,sectionId:$,isActive:d=!0,isDisabled:s,onSaveMileageClick:Z}){const l=Ve(),D=Ee(),{formState:{errors:J},trigger:Q}=nt(),E=ht($,"mileageAmountInDenomination"),x=ot(J,E),{localData:c,updateStatus:R,mileageStatus:C}=S,H=e?.denominationConversions.amount==null||e.denominationConversions.amount!==c?.mileageAmountInDenomination,{commonSetUp:Y,spendManagement:X}=Te.getLocalizedStrings(),{reimbursement:ee}=X,[b,V]=o.useState(H),[te,U]=o.useState(!1);o.useEffect(()=>{x||Q(E)},[]),o.useEffect(()=>{e?.denominationConversions.amount!=null&&e.denominationConversions.amount===c?.mileageAmountInDenomination&&V(!1)},[e?.denominationConversions.amount]),o.useEffect(()=>{b||U(b)},[b]);const{reimbursementSetup:w}=ee,{setUp:ie}=Y,ne=b===!1||R.fetchState==="In-Progress"?"readonly":s,oe=c&&c?.denominationSymbol?`${c?.denominationSymbol} `:"",ae=c&&c?.mileageUnit?c?.mileageUnit:"";return t.jsxs(ft,{windowSize:l,style:A,isActive:d&&s==null,children:[t.jsxs($t,{windowSize:l,children:[w.mileageHeader,d===!1?t.jsx(At,{children:ie.comingSoon}):null]}),t.jsxs(vt,{windowSize:l,children:[t.jsx(bt,{windowSize:l,isDarkMode:D.mode==="dark",children:t.jsx(pt,{width:f.iconWidthHeight.valuePx(l),height:f.iconWidthHeight.valuePx(l)})}),t.jsxs(xt,{children:[t.jsxs(kt,{children:[t.jsxs(Pt,{children:[t.jsxs(jt,{children:[t.jsx(yt,{windowSize:l,children:e?.denominationConversions.amount==null?w.mileageAddTitle:w.mileageEditTitle}),t.jsx(St,{children:w.mileageSubTitle})]}),C!=null&&e?.denominationConversions.amount!=null&&l==="small"?t.jsx(ve,{style:{width:"max-content",padding:a.sp0,marginTop:a.sp2},tagTitle:C.name,textColor:ke(C.code)}):null]}),t.jsxs(wt,{children:[C!=null&&e?.denominationConversions.amount!=null&&l!=="small"?t.jsx(ve,{style:{width:"max-content"},tagTitle:C.name,textColor:ke(C.code)}):null,t.jsx(Ct,{})]})]}),t.jsxs(Dt,{children:[t.jsxs(Et,{children:[t.jsx(at,{style:{height:a.sp6,textAlign:"left"},inputStyle:{textAlign:"left",paddingRight:a.sp10,backgroundColor:x?void 0:D.colors.background,color:b||x?void 0:D.colors.grey1},isFieldError:x,type:"number",autoFocus:!1,focus:te,name:E,defaultValue:c?.mileageAmountInDenomination,returnValueType:"floatValue",allowEmptyFormatting:!0,prefix:oe,suffix:` ${w.perText} ${ae}`,decimalScale:1,allowNegative:!1,isNumericString:!1,registerOptions:{min:1,validate:T=>T!=null||s!=null,required:s==null},isDisabled:ne}),t.jsx(Tt,{children:b?t.jsx(lt,{label:w.save,"data-testid":$e("save-mileage"),onClick:()=>{c?.mileageAmountInDenomination!=null&&H&&!x&&Z?.(c.mileageAmountInDenomination)},style:{outline:"none"},size:"small",disabled:s!=null,variant:"light_transparent",reverseSpinnerColor:!1,loading:R.fetchState==="In-Progress"}):t.jsx(It,{isDisabled:s,"data-testid":$e("edit-mileage"),onClick:T=>{T.stopPropagation(),V(!0),U(!0),j.trackReimbursementMileageRateEdit()}})})]}),c?.description!=null?t.jsx(Vt,{size:l,hasError:x,children:x&&e?.defaultMileageUnitAmount!=null?w.yourMileage.replace("__defaultMileageUnitAmount__",(e.defaultMileageUnitAmount*100).toString()):c.description}):null]})]})]})]})}const ht=(e,S)=>`${e}.${S}`,ft=i.div`
2
- display: flex;
3
- flex-direction: column;
4
- pointer-events: ${e=>e.isLoading===!0||e.isActive===!1?"none":"initial"};
5
- opacity: ${e=>e.isActive?1:.32};
6
- row-gap: ${e=>f.rowGap.valuePx(e.windowSize)};
7
- `,xt=i.div`
8
- display: flex;
9
- width: 100%;
10
- flex-direction: column;
11
- justify-content: flex-start;
12
- `,wt=i.div`
13
- display: flex;
14
- `,yt=i.div`
15
- ${e=>`${ge.title.style(e.windowSize)}`};
16
- color: ${e=>e.isError===!0?K.important:e.theme.colors.primary};
17
- `,St=i(st)`
18
- display: flex;
19
- align-items: center;
20
- justify-content: flex-start;
21
- color: ${e=>e.theme.colors.hero};
22
- `,Ct=i.div`
23
- display: flex;
24
- width: ${a.sp4};
25
- height: ${a.sp4};
26
- margin-left: ${a.sp4};
27
- `,bt=i.div`
28
- display: flex;
29
- flex-direction: row;
30
- align-items: flex-start;
31
- padding: ${e=>f.iconPadding.valuePx(e.windowSize)};
32
- background: ${e=>e.isDarkMode?e.theme.colors.brandColorJadeDark:e.theme.colors.brandColorJadeLight};
33
- border-radius: ${a.sp11};
34
- width: fit-content;
35
- height: fit-content;
36
- color: ${e=>e.isDarkMode?K.neutralGrey5Light:e.theme.colors.brandColorOnyx}; // As per design
37
- max-width: ${e=>f.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
38
- max-height: ${e=>f.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
39
- margin-right: ${e=>f.iconContainerMarginRight.valuePx(e.windowSize)};
40
- `,vt=i.div`
41
- display: flex;
42
- flex-direction: row;
43
- padding: ${e=>f.containerPadding.valuePx(e.windowSize)};
44
- width: ${e=>f.sectionWidth.valuePx(e.windowSize)};
45
- background-color: ${e=>e.theme.colors.grey5};
46
- border: 1px solid ${e=>e.theme.colors.grey3};
47
- box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
48
- border-radius: ${a.sp2};
49
- fill: ${e=>e.theme.colors.grey1};
50
- color: ${e=>e.theme.colors.grey1};
51
- justify-content: space-between;
52
- box-sizing: border-box;
53
- &:hover {
54
- border: 1px solid ${e=>e.theme.colors.primary};
55
- color: ${e=>e.theme.colors.primary};
56
- fill: ${e=>e.theme.colors.primary};
57
- }
58
- `,kt=i.div`
59
- display: flex;
60
- align-items: center;
61
- flex-direction: row;
62
- justify-content: space-between;
63
- `,$t=i.div`
64
- display: flex;
65
- align-items: center;
66
- color: ${e=>e.theme.colors.primary};
67
- ${e=>`${ge.title.style(e.windowSize)}`};
68
- `,Pt=i.div`
69
- display: flex;
70
- flex-direction: column;
71
- `,jt=i.div``,At=i(rt)`
72
- color: ${e=>e.theme.colors.comingSoon};
73
- margin-left: ${a.sp3};
74
- `,Dt=i.div`
75
- display: flex;
76
- width: 100%;
77
- flex-direction: column;
78
- justify-content: flex-start;
79
- margin-top: ${a.sp3};
80
- `,Et=i.div`
81
- display: flex;
82
- height: ${a.sp6};
83
- width: 100%;
84
- position: relative;
85
- `,Vt=i.label`
86
- display: flex;
87
- padding-left: ${e=>f.infoLabelPaddingLeft.valuePx(e.size)};
88
- color: ${e=>e.hasError===!0?K.important:e.additionalInfoTextColor??e.theme.colors.hero};
89
- ${e=>`${ge.infoLabel.style(e.size)}`};
90
- margin-top: ${a.sp1};
91
- `,Tt=i.div`
92
- display: flex;
93
- position: absolute;
94
- top: 50%;
95
- transform: translateY(-50%);
96
- right: ${a.sp3};
97
- `,It=i(ct)`
98
- width: ${a.sp3};
99
- height: ${a.sp3};
100
- cursor: ${e=>e.isDisabled==null?"pointer":"default"};
101
- pointer-events: ${e=>e.isDisabled==null?"initial":"none"};
102
- color: ${e=>e.theme.colors.hero};
103
- &:hover {
104
- color: ${e=>e.theme.colors.primary};
105
- }
106
- `,g={titleWidth:new r(343,580,726,826),setupDetailsRowGap:new r(12,n[5],n[5]),sectionRowGap:new r(n[5],n[9],n[9]),lastSectionPaddingBottom:new r(n[7],n[10],n[10]),iconWidthHeight:new r(20,n[4]),subTitlePaddingTop:new r(12,n[3]),subTitlePaddingBottom:new r(n[3],n[3]),overlayWidth:new r(100,100,59)},Ae="remiSetupPage",G="remiAccount",q="remiMileage",ii=({remiSetupView:e,isDisabled:S,remiApprovalView:j,connectedAccountProvider:A,isAccountsEnabled:$,filesEndPoint:d,authParams:s,meetingUrl:Z,analytics:l,accountsPromoConfig:D,onBackClick:J,onBusinessVerificationSectionClick:Q,onSetupApprovalRulesSectionClick:E,onFetchLinkTokenClick:x,onEstablishConnectionClick:c,onEstablishConnectionSuccess:R,updateMileageDetails:C,onUpdateAccountClick:H,onUpdatePrimaryFundingAccount:Y,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:ee,onEnableRemiClick:b,onEnableRemiSuccess:V,onSaveMileageClick:te,onClickMenuIcon:U,onEditFileName:w,onDeleteFile:ie,updateFilesEntity:ne,onCompanyOfficerUpdated:oe,onSendForVerificationClick:ae,onSignUpClick:T})=>{const W=Ee(),u=Ve(),[B,I]=o.useState(!1),{fetchState:v,primaryFundingAccount:p,allFundingAccounts:he,updateStatus:L,accountUpdateStatus:Ie,plaidConnectionDetails:le,allBankAccounts:Le,companyRemiInfo:ze,companyBillPayInfo:fe,mileageRateConfig:Me,isRefreshingViewInBackground:Fe,selectedCompanyOfficer:h}=e,{fetchState:xe,allApprovalRules:O,approvalRulesStatus:Re}=j,re=le.link_account.updateStatus,se=le.update_account.updateStatus,_=N(v),we=N(L.fetchState),ye=N(re.fetchState),Se=N(se.fetchState),z=Ge({mode:"all",reValidateMode:"onChange",defaultValues:o.useMemo(()=>pe(e),[e]),values:pe(e)});o.useEffect(()=>{!B&&h?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&h.areAdditionalDocumentsRequestedForVerification&&!h.areAdditionalDocumentsSubmittedForVerification&&h.userVerificationStatus?.code==="require_info"&&I(!0),B&&_==="In-Progress"&&v==="Completed"&&I(!1)},[h,v,_]),o.useEffect(()=>{(_==="In-Progress"&&v==="Completed"||ye==="In-Progress"&&re.fetchState==="Completed"||Se==="In-Progress"&&se.fetchState==="Completed")&&z.reset(pe(e))},[_,v,z,e,ye,re.fetchState,Se,se.fetchState]);const He=z.handleSubmit(P=>{l.trackEnableReimbursement(),b()}),Ue=async(P,F)=>{const m=F[G];if(P.includes(G)){if(P.includes("fundingAccount")){if(m.fundingAccount.selectedOption!=null&&p?.id!=m.fundingAccount.selectedOption){const y=he.find(me=>me.id===m.fundingAccount.selectedOption);y!=null&&Y(m.fundingAccount.selectedOption,y.accType)}}else if(m.account.selectedOption!=null&&p?.id!=null&&p?.zeniAccountId!=m.account.selectedOption){const y=m.account.allOptions.find(me=>me.value===m.account.selectedOption);y!=null&&typeof y.label=="string"&&l.trackConnectBankLink(y.value,y.label,"reimbursement"),H(m.account.selectedOption,p.id,p.accType)}}else if(P.includes(q)){const y=F[q];C(y)}};o.useEffect(()=>{const P=z.watch((F,{name:m})=>{m!=null&&F!=null&&qe(()=>Ue(m,F))});return()=>{P.unsubscribe()}}),o.useEffect(()=>{we==="In-Progress"&&L.fetchState==="Completed"&&V()},[V,we,L.fetchState]);const{commonSetUp:Ce,spendManagement:We}=Te.getLocalizedStrings(),{reimbursement:Be}=We,{reimbursementSetup:M}=Be,{setUp:k}=Ce,ce=fe?.isBusinessVerified===!0&&(p?.accType==="depositAccount"||p?.providerVerificationStatus?.code==="verified"||p?.providerVerificationStatus?.code==="manually_verified"||p?.providerVerificationStatus?.code==="automatically_verified"||p?.providerVerificationStatus?.code==="database_matched")&&Me?.denominationConversions.amount!=null,de=ze?.isReimbursementEnabled===!0,Oe=ce?Ce.setUp.setupVerifiedSubTitle:M.setupSubTitle,_e=v==="In-Progress"||v==="Not-Started"||xe==="In-Progress"||xe==="Not-Started",ue=W.mode==="light"?new be(W.colors.brandColorJadeLight):new be(W.colors.brandColorJadeDark),Ne=()=>{!B&&h?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&h.areAdditionalDocumentsRequestedForVerification&&!h.areAdditionalDocumentsSubmittedForVerification&&h.userVerificationStatus?.code==="require_info"?I(!0):Q?.()};return t.jsxs(Lt,{children:[t.jsx(Ke,{anchor:"right",PaperProps:{style:{width:g.overlayWidth.valuePercentage(u),boxShadow:"none"}},open:B,onClose:()=>I(!1),style:{backgroundColor:K.drawerBackground},transitionDuration:250,children:t.jsx(mt,{authParams:s,filesEndPoint:d,updateStatus:L,onEditFileName:w,onDeleteFile:ie,updateFilesEntity:ne,companyOfficer:h,onClose:()=>I(!1),onCompanyOfficerUpdated:oe,onSendForVerificationClick:ae})}),t.jsx(Ze,{title:M.setupTitle,backgroundColor:W.colors.grey4,style:{zIndex:3},onBackClick:J,showMenuIcon:!de&&(u==="medium-compact"||u==="small"),onClickMenuIcon:U,source:"ReimbursementSetUpPage"}),t.jsxs(Mt,{windowSize:u,children:[t.jsx(zt,{windowSize:u,children:Oe}),_e?t.jsx(Ft,{children:t.jsx(Je,{size:"ExtraLarge",start:!0})}):t.jsx(Qe,{...z,children:t.jsx("form",{id:De(Ae),onSubmit:He,children:t.jsxs(Rt,{windowSize:u,children:[t.jsx(je,{onClick:Ne,title:k.businessVerificationTitle,subTitle:k.businessVerificationSubTitle,header:k.businessVerificationHeader,icon:{element:t.jsx(Ye,{width:g.iconWidthHeight.valuePx(u),height:g.iconWidthHeight.valuePx(u)}),color:ue},status:fe?.businessVerificationStatus,isTagLoading:Fe}),t.jsx(ut,{connectedAccountProvider:A,primaryFundingAccount:p,plaidConnectionDetails:le,allBankAccounts:Le,allFundingAccounts:he,sectionId:G,isDisabled:S,onFetchLinkTokenClick:x,onEstablishConnectionClick:c,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:ee,onEstablishConnectionSuccess:R,icon:{element:t.jsx(Xe,{width:g.iconWidthHeight.valuePx(u)}),color:ue},analytics:l,productType:"reimbursement",isAccountsEnabled:$,onSignUpClick:T,pageName:"Reimbursement Setup",accountsPromoConfig:D}),t.jsx(gt,{mileageDetails:e.mileageDetails,companyMileageConfigInfo:e.mileageRateConfig,sectionId:q,onSaveMileageClick:te,analytics:l}),t.jsx(je,{title:O.length>0?k.approvalTitle:k.createApprovalTitle,subTitle:M.approvalSubTitle,header:O.length>0?k.approvalHeader:k.setupApprovalHeader,icon:{element:t.jsx(et,{height:g.iconWidthHeight.valuePx(u)}),color:ue},style:{paddingBottom:g.lastSectionPaddingBottom.valuePx(u)},onClick:E,status:O.length>0?Re:void 0})]})})})]}),ce&&!de&&O.length>0?t.jsx(tt,{formId:De(Ae),primaryBtn:{label:M.enableReimbursements,style:{width:"auto",minWidth:u==="small"?"auto":"181px"},isLoading:L.fetchState==="In-Progress"||Ie.fetchState==="In-Progress",isDisabled:S!=null},showCancel:!1,helperText:M.terms,cancelBtn:{label:""},style:{padding:`12px ${a.sp3}`}}):null,t.jsx(dt,{isFooterRendered:ce&&!de,meetingUrl:Z,analytics:l,productType:"reimbursement"})]})},Lt=i.div`
107
- display: flex;
108
- min-height: 100%;
109
- flex-direction: column;
110
- width: 100%;
111
- background-color: ${e=>e.theme.colors.grey4};
112
- `,zt=i(it)`
113
- color: ${e=>e.theme.colors.hero};
114
- display: flex;
115
- justify-content: center;
116
- width: ${e=>g.titleWidth.valuePx(e.windowSize)};
117
- padding-top: ${e=>g.subTitlePaddingTop.valuePx(e.windowSize)};
118
- padding-bottom: ${e=>g.subTitlePaddingBottom.valuePx(e.windowSize)};
119
- text-align: ${e=>e.windowSize==="small"?"initial":"center"};
120
- `,Mt=i.div`
121
- display: flex;
122
- justify-content: flex-start;
123
- height: 100%;
124
- overflow-y: auto;
125
- flex-direction: column;
126
- align-items: center;
127
- row-gap: ${e=>g.setupDetailsRowGap.valuePx(e.windowSize)};
128
- `,Ft=i.div`
129
- display: flex;
130
- width: 100%;
131
- height: calc(100vh - 110px);
132
- flex-direction: row;
133
- justify-content: center;
134
- align-items: center;
135
- background-color: ${e=>e.theme.colors.grey4};
136
- `,Rt=i.div`
137
- display: flex;
138
- flex-direction: column;
139
- row-gap: ${e=>g.sectionRowGap.valuePx(e.windowSize)};
140
- `,pe=e=>{const{allBankAccounts:S,allFundingAccounts:j,mileageDetails:A,primaryFundingAccount:$}=e,{localData:d}=A;return{[G]:{fundingAccount:{selectedOption:$?.id,allOptions:j.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:$?.zeniAccountId,allOptions:S.map(s=>({label:s.accountName,value:s.accountId}))}},[q]:{mileageAmount:d?.mileageUnitAmount?.amount,mileageCurrencyCode:d?.mileageCurrencyCode??"USD",mileageCurrencySymbol:d?.mileageCurrencySymbol??"$",mileageUnit:d?.mileageUnit??"",description:d?.description??"",mileageAmountInDenomination:d?.mileageAmountInDenomination,denomination:d?.denomination??"dollars",denominationSymbol:d?.denominationSymbol??""}}},De=e=>`${e}_form`;export{ii as default,De as uniqueName};
@@ -1,206 +0,0 @@
1
- import{X as Te,cg as Ge,u as qe,M as Q,co as Ye,a1 as se,eX as Ze,l as J,a7 as re,j as t,aQ as Ke,C as d,f3 as Je,f4 as Qe,f5 as Xe,bC as et,n as o,_ as tt,eY as ye,eZ as ve,o as i,Y as N,f6 as Le,d as pe,g as j,e_ as it,Q as _e,f7 as nt,e$ as at,w as ot,bt as $e,cz as lt,a6 as st,f8 as rt,f as ze,ae as Ae,f9 as ct,cl as dt}from"./index-Ihb4xe41.js";import{b as f,n}from"./vendor-CnQcJ2Lu.js";import{r as ut}from"./mui-C5LQ0bMa.js";import{v as pt}from"./ChargeCardUtils-Buf1Xa4X-B0NExkND.js";import{Z as ht}from"./CreditCardPaymentPlgSection-B9DUkdWm-DXvkaBzj.js";import{M as gt}from"./ChaseOverlay-Cp5-sc7K-D16SX-je.js";import{K as mt}from"./SetUpDefaultSection-C2MgZHUf-6cjyky9L.js";const X={sectionWidth:new d(343,580,726),rowGap:new d(o[2],o[3]),footerPaddingLeftRight:new d(o[3],o[4])},ft={title:new _e("standardMedium","largeMedium")};function xt({plaidConnectionDetails:e,header:p,isAccountsEnabled:v=!0,analytics:x,pageName:b,accountsPromoConfig:$,style:A,onConnectClick:M,onSignUpClick:I}){const u=Te(),{setUp:c}=Q.getLocalizedStrings().commonSetUp,m=e.link_account,P=m.fetchStatus.fetchState==="In-Progress"||m.updateStatus.fetchState==="In-Progress";return t.jsxs(St,{windowSize:u,style:A,"data-testid":N("default-account-section",b),children:[t.jsx(wt,{children:t.jsx(bt,{windowSize:u,children:p})}),t.jsxs(yt,{windowSize:u,width:A?.width,children:[t.jsx(Le,{heading:c.accountsPlg.heading,buttonText:c.accountsPlg.signUpButtonText,onSignUpClick:I,isAccountsEnabled:v,pageName:b,analytics:x,style:{borderTopLeftRadius:i.sp2,borderTopRightRadius:i.sp2},accountsPromoConfig:$}),t.jsxs($t,{windowSize:u,children:[t.jsxs(kt,{onClick:M,children:[t.jsx(Ct,{isLoading:P,children:c.connectExternalAccount}),P?null:t.jsx(jt,{className:"right-arrow"})]}),P?t.jsx(vt,{children:t.jsx(pe,{size:"ExtraSmall",start:!0,style:{display:"flex"}})}):null]})]})]})}const St=n.div`
2
- display: flex;
3
- flex-direction: column;
4
- row-gap: ${e=>X.rowGap.valuePx(e.windowSize)};
5
- `,wt=n.div`
6
- display: flex;
7
- align-items: center;
8
- `,bt=n.div`
9
- display: flex;
10
- align-items: center;
11
- color: ${e=>e.theme.colors.primary};
12
- ${e=>`${ft.title.style(e.windowSize)}`};
13
- `,yt=n.div`
14
- width: ${e=>e.width!=null?e.width:X.sectionWidth.valuePx(e.windowSize)};
15
- border: 1px solid ${e=>e.theme.colors.grey3};
16
- box-shadow: ${e=>`${i.sp0} 2px ${i.sp1} ${e.theme.colors.dropShadowNormal}`};
17
- border-radius: ${i.sp2};
18
- &:hover {
19
- border: ${e=>`1px solid ${e.theme.colors.primary}`};
20
- color: ${e=>e.theme.colors.primary};
21
- }
22
- `,vt=n.div`
23
- display: flex;
24
- align-items: center;
25
- justify-content: center;
26
- margin-left: ${i.sp2};
27
- `,$t=n(ze)`
28
- display: flex;
29
- align-items: center;
30
- padding-top: ${i.sp1};
31
- padding-bottom: ${i.sp1};
32
- padding-left: ${e=>X.footerPaddingLeftRight.valuePx(e.windowSize)};
33
- padding-right: ${e=>X.footerPaddingLeftRight.valuePx(e.windowSize)};
34
- background: ${e=>e.theme.colors.grey4};
35
- border-radius: ${i.sp0} ${i.sp0} ${i.sp2} ${i.sp2};
36
- color: ${e=>e.theme.colors.hero};
37
- `,kt=n.div`
38
- display: flex;
39
- align-items: center;
40
- :hover {
41
- cursor: pointer;
42
- color: ${e=>e.theme.colors.primary};
43
- .right-arrow {
44
- color: ${e=>e.theme.colors.primary};
45
- }
46
- }
47
- `,Ct=n.span`
48
- pointer-events: ${e=>e.isLoading===!0?"none":"initial"};
49
- `,jt=n(Ae)`
50
- margin-left: ${i.sp1};
51
- width: 12px;
52
- height: 12px;
53
- cursor: pointer;
54
- color: ${e=>e.theme.colors.hero};
55
- `,r={labelWidth:new d(120,190,190),sectionWidth:new d(343,580,726),iconContainerMaxWidthHeight:new d(o[6],o[7]),iconPadding:new d(10,12),rowGap:new d(o[2],o[3]),elementsMarginLeftRight:new d(o[3],o[4]),labeledFieldPaddingLeft:new d(o[3],o[0]),labeledFieldPaddingRight:new d(o[3],o[2]),labeledFieldPaddingTop:new d(o[3],o[3]),labeledFieldPaddingBottom:new d(o[3],o[2]),labeleMarginLeft:new d(o[0],o[4]),labeleMarginBottom:new d(o[2],o[0]),infoLabelPaddingRight:new d(o[0],o[3]),infoLabelMarginTop:new d(o[1],o[0]),iconWidthHeight:new d(20,o[4])},Pt={title:new _e("standardSemiBold","largeSemiBold")};function si({primaryFundingAccount:e,allFundingAccounts:p,allBankAccounts:v,plaidConnectionDetails:x,sectionId:b,isDisabled:$,icon:A,sectionTitle:M,style:I,analytics:u,productType:c,referrer:m,accountSelectContainerStyle:P,connectedAccountProvider:te,isCompleted:V=!1,showCompletedIcon:H=!1,showZeniAccountSection:ie=!0,isAccountsEnabled:k,accountsPromoConfig:T,pageName:G,onFetchLinkTokenClick:L,onEstablishConnectionClick:q,onUpdatePaymentAccountStatus:E,onEstablishConnectionSuccess:B,onSignUpClick:ne,bottomComponent:Ie}){const a=Te(),{trigger:Ee,formState:{errors:Re}}=Ge(),D=f.useRef(null),R=qe(),{setUp:h}=Q.getLocalizedStrings().commonSetUp,Y=Q.getLocalizedStrings().spendManagement.chargeCard.payEarly;let y,he,l,S=!1;e!=null&&e.accType==="paymentAccount"&&(y=e.providerVerificationStatus,he=e?.institutionDetails,l=y?.code,S=e?.isLoginRequired??!1);const ae=ke(b,"account"),Ue=Ye(Re,ae),[_,Z]=f.useState(void 0),g=x.link_account,z=x.update_account,w=_==="update_account"?z:g,[U,ge]=f.useState(w.linkToken??null),[O,K]=f.useState(!1),[Me,me]=f.useState(!1),fe=se(g.updateStatus.fetchState),oe=se(z.updateStatus.fetchState),Be=se(z.fetchStatus.fetchState),De=f.useCallback((s,C)=>{u.trackConnectBankSuccess(c,m);const be=C.accounts.find(He=>He.id===e?.providerAccountId)??C.accounts[0];e?.id!=null&&_==="update_account"&&be?.verification_status!=null&&!S?E(be?.verification_status,e.id,"update_account"):q(s,_),Z(void 0),K(!1)},[u,m,c,e?.id,e?.providerAccountId,_,S,E,q]),Oe=f.useCallback((s,C)=>{s!=null&&(u.trackConnectBankFailure(c,s.error_code+" "+s.error_message,m),s.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&e?.id!=null&&E("verification_failed",e.id,"update_account"),console.log("Plaid Connection Error",s,C)),Z(void 0),K(!1)},[u,c,m,e?.id,E]),{open:F,ready:xe}=Ze({token:U,onSuccess:De,onExit:Oe});f.useEffect(()=>{(fe==="In-Progress"&&g.updateStatus.fetchState==="Completed"||oe==="In-Progress"&&z.updateStatus.fetchState==="Completed")&&l!=="verified"&&l!=="manually_verified"&&l!=="automatically_verified"&&l!=="database_matched"&&(L("link_account"),B())},[g.updateStatus.fetchState,B,L,e?.providerVerificationStatus?.code,e?.id,fe,oe,z.updateStatus.fetchState,l]),f.useEffect(()=>{(J.isVerifiedStatusCode(l??"")||l==="verification_failed")&&!O&&_!=null&&w.linkToken===U&&w.fetchStatus.fetchState==="Completed"&&xe&&K(!0)},[xe,U,w.fetchStatus.fetchState,w.linkToken,l,_,O]),f.useEffect(()=>{w.fetchStatus.fetchState==="Completed"&&w.linkToken!=null&&w.linkToken!==U&&ge(w.linkToken)},[w.fetchStatus.fetchState,w.linkToken,U]),f.useEffect(()=>{O&&F()},[O,F]),f.useEffect(()=>{!e?.zeniAccountId&&!Ue&&Ee(ae)},[e?.id]),f.useEffect(()=>{(l==null||l==="verification_failed"||l==="verification_expired"||J.isVerifiedStatusCode(l))&&(J.zeniDate(new Date().toISOString()).isAfter(g.expiration)||g.linkToken==null)&&L("link_account")},[]);const Fe=()=>{u.trackConnectBankGetBalance(c,m),Z("update_account"),L("update_account",e?.id)},Se=`${e?.accountSubType?.name!=null?e?.accountSubType?.name.substring(0,1).toUpperCase().concat(e?.accountSubType?.name.substring(1)):""} ${e?.maskedAccountNumber??""}`.trim(),le=g.fetchStatus.fetchState==="In-Progress"||g.updateStatus.fetchState==="In-Progress",We=p.findIndex(s=>s.id===e?.id),Ne=()=>{me(!0)},Ve=R.mode==="light"?new re(R.colors.brandColorJadeLight):new re(R.colors.brandColorJadeDark);if(e==null&&p.length===0)return c==="zeni_accounts"?t.jsx(mt,{onClick:()=>{(l==null||l==="verification_failed"||l==="verification_expired")&&(u.trackConnectBank(c,m),F())},title:h.achTitle,subTitle:h.achSubTitle,header:h.paymentSource,isCompleted:V,showCompletedIcon:H,icon:{element:t.jsx(Ke,{width:r.iconWidthHeight.valuePx(a),height:r.iconWidthHeight.valuePx(a)}),color:new re(Ve)},isLoading:le,status:y}):t.jsx(Ce,{windowSize:a,style:I,children:t.jsx(xt,{header:h.paymentSource,plaidConnectionDetails:x,onConnectClick:()=>{(l==null||l==="verification_failed"||l==="verification_expired")&&(u.trackConnectBank(c,m),F())},onSignUpClick:ne,isAccountsEnabled:!1,analytics:u,pageName:G,accountsPromoConfig:T})});const we=he?.zeniInstitutionId.toLowerCase()==="chase";return t.jsxs(Ce,{windowSize:a,style:I,children:[Me===!0?ut.createPortal(t.jsx(gt,{connectedAccountProvider:te,action:{onBackClick:()=>me(!1)}}),document.body):null,t.jsxs(Wt,{children:[H===!0?t.jsx(Vt,{children:V?t.jsx(Ht,{}):t.jsx(Gt,{})}):null,t.jsx(Nt,{windowSize:a,children:M??h.paymentSource})]}),t.jsxs(Ft,{windowSize:a,isDisabled:S,children:[t.jsxs(At,{windowSize:a,children:[t.jsxs(Ut,{children:[e!=null?t.jsx(Rt,{isDisabled:S,children:Tt(A,a,R.mode==="dark",e,We)}):null,t.jsxs(Jt,{children:[t.jsxs(qt,{children:[t.jsx(Je,{ref:D,style:{display:a==="small"?"block":"inherit",width:"-webkit-fill-available"},customStyleConfig:{menu:()=>({width:a==="small"?"100%":"510px"})},controlProperty:{controlHeight:o[4],fontWeight:et.medium,highlightOnHover:!1,leftRightMargin:!1,fieldWidth:a==="small"?240:300},customPlaceholder:{color:R.colors.hero,weight:500},name:ke(b,"fundingAccount"),placeholder:h.selectAccountPlaceholder,capitalizeOptions:!0,appendSublabel:!1,showLogoInSingleValue:!1,isClearable:!1,maxMenuHeight:220,valueToLogo:(s,C)=>Xe(p,s,C),valueToSubLabels:(s,C)=>Qe(p,s,C,!1),defaultValue:{selectedOption:e?.id,allOptions:p.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},textAlignment:"left",showDownChevronIcon:!0,showTickIcon:!1,isOptionRemovable:!1,registerOptions:{required:!1},showCreateOption:!0,isDisabled:le?"disabled":void 0,showLoadingIcon:le,onClickCreateOption:()=>{u.trackConnectBank(c,m),Z("link_account"),g.linkToken==null||J.zeniDate(new Date().toISOString()).isAfter(g.expiration)?L("link_account"):U!==g.linkToken?ge(g.linkToken):O?F():K(!0)}}),t.jsxs(Bt,{isDisabled:S,children:[Se?t.jsxs(t.Fragment,{children:[t.jsx(ee,{children:Se}),a!=="small"&&(l!=="verification_failed"&&e?.providerVerificationStatus?.code==="pending_manual_verification"||S||we||e?.accountBalance?.available)?t.jsx(Zt,{}):null]}):null,l!=="verification_failed"&&e?.providerVerificationStatus?.code==="pending_manual_verification"||S||we?t.jsx(Lt,{isUpdateLinkClicked:_==="update_account",isLoginRequired:S,isPendingVerification:l!=="verification_failed"&&e?.providerVerificationStatus?.code==="pending_manual_verification",productType:c,fetchAndUpdateStatues:{fetchStatus:z.fetchStatus,updateStatus:z.updateStatus,linkFetchStatus:g.fetchStatus,linkUpdateStatus:g.updateStatus,prevFetchState:Be,prevUpdateState:oe},onUpdateLinkTokenClick:Fe,onChaseInfoClick:Ne}):e?.accountBalance?.available?t.jsx(ee,{children:tt("0,0[.]00",e?.accountBalance?.available)}):null]})]}),y!=null&&a==="small"?t.jsx(ye,{style:{width:"max-content",padding:0,marginTop:i.sp2},tagTitle:y.name,textColor:ve(y.code)}):null]})]}),t.jsx(Mt,{children:y!=null&&a!=="small"?t.jsxs(t.Fragment,{children:[t.jsx(ye,{style:{width:"max-content"},tagTitle:y.name,textColor:ve(y.code)}),t.jsx(Yt,{})]}):null})]}),ie?t.jsxs(It,{style:P,windowSize:a,isDisabled:S,onClick:s=>s.stopPropagation(),"data-testid":N("account-select-container",c),children:[t.jsx(Et,{isDisabled:S?"disabled":$,label:{label:h.zeniCashAccountLabel,width:a==="small"?void 0:r.labelWidth.value(a),style:{marginLeft:r.labeleMarginLeft.valuePx(a),marginBottom:r.labeleMarginBottom.valuePx(a)}},style:{paddingTop:r.labeledFieldPaddingTop.valuePx(a),paddingBottom:r.labeledFieldPaddingBottom.valuePx(a),paddingLeft:r.labeledFieldPaddingLeft.valuePx(a),paddingRight:r.labeledFieldPaddingRight.valuePx(a),borderRadius:i.sp2,border:`1px solid ${R.colors.grey3}`,width:"-webkit-fill-available",display:a==="small"?"block":"inherit"},infoLabelStyle:{textAlign:a==="small"?"left":"right",paddingRight:r.infoLabelPaddingRight.valuePx(a),marginTop:r.infoLabelMarginTop.valuePx(a)},singleSelectPickerField:{name:ae,placeholder:h.zeniCashAccountPlaceholder,style:{position:"relative"},defaultValue:{selectedOption:e?.zeniAccountId??"",allOptions:v.map(s=>({label:s.accountName,value:s.accountId}))},isOptionRemovable:!1,withBorder:a==="small",textAlignment:a==="small"?"left":"right",registerOptions:{required:!1}},valueToAdditionalLabel:()=>h.zeniCashAcoountInfo}),Ie]}):null,e?.accType==="paymentAccount"?c==="charge_cards"?t.jsx(ht,{style:{borderRadius:`${i.sp0} ${i.sp0} ${i.sp2} ${i.sp2}`},maxInsuredAmount:T.maxInsuredAmount,heading:t.jsxs(_t,{windowSize:a,children:[Y.earn,t.jsx(zt,{children:Y.percentageCashback.replace("__percentage__",pt)}),Y.whenYouPayViaZeniChecking]}),buttonText:k===!1?h.accountsPlg.signUpButtonText:h.accountsPlg.switchButtonText,isAccountsEnabled:k,pageName:Y.creditCardPayment,onSignUpClick:ne,onSwitchClick:()=>{D.current!=null&&D.current.focus()}}):c!=="zeni_accounts"?t.jsx(Le,{heading:h.accountsPlg.heading,style:{borderBottomLeftRadius:i.sp2,borderBottomRightRadius:i.sp2},isAccountsEnabled:k,buttonText:k===!1?h.accountsPlg.signUpButtonText:h.accountsPlg.switchButtonText,analytics:u,pageName:G,onSignUpClick:ne,onSwitchClick:()=>{D.current!=null&&D.current.focus()},accountsPromoConfig:T}):null:null]})]})}const Tt=(e,p,v,x,b,$)=>x?.accType==="depositAccount"?t.jsx(Qt,{isOptionSelected:!0,children:t.jsx(Xt,{color:nt(b??0)})}):x?.institutionDetails?.logo?.base64!=null?t.jsx(Kt,{windowSize:p,src:`${at}${x?.institutionDetails.logo?.base64.toString()}`,alt:x?.institutionDetails.institutionName,loading:"lazy"}):$===!0?e.element:t.jsx(Ot,{iconColor:e.color,windowSize:p,isDarkMode:v,children:e.element}),Lt=({productType:e,isLoginRequired:p,isUpdateLinkClicked:v,isPendingVerification:x,fetchAndUpdateStatues:b,onUpdateLinkTokenClick:$,onChaseInfoClick:A})=>{const{commonSetUp:M}=Q.getLocalizedStrings(),{setUp:I}=M,{verifyAccount:u,verifyingAccount:c,verifyAccountError:m,reLogging:P,reLoginLabel:te,reLoginError:V,reLoginMessage:H,chaseLabel:ie}=I,{fetchStatus:k,updateStatus:T,linkFetchStatus:G,linkUpdateStatus:L,prevFetchState:q,prevUpdateState:E}=b,B=v&&q==="In-Progress"&&k?.fetchState==="Error"||E==="In-Progress"&&T?.fetchState==="Error";return p?v&&(k?.fetchState==="In-Progress"||T?.fetchState==="In-Progress"||G?.fetchState==="In-Progress"||L?.fetchState==="In-Progress")?t.jsxs(W,{style:{color:j.important},children:[t.jsx(ee,{children:P}),t.jsx(Pe,{children:t.jsx(pe,{size:"Small",start:!0,style:{display:"flex",color:j.important}})})]}):t.jsx(W,{style:{cursor:"pointer"},onClick:$,"data-testid":N("re-login-label-clicked"),children:t.jsx($e,{style:{padding:`12px ${i.sp3}`},title:H,placement:"bottom",maxWidth:"264px",children:t.jsxs(Dt,{children:[t.jsx(je,{style:{marginLeft:i.sp0,marginRight:i.sp1}}),t.jsx(ce,{isError:!0,style:{color:j.important},children:B?V:te}),t.jsx(de,{children:t.jsx(ue,{style:{color:j.important}})})]})})}):k?.fetchState==="In-Progress"||T?.fetchState==="In-Progress"?t.jsxs(W,{children:[t.jsx(ee,{children:c}),t.jsx(Pe,{children:t.jsx(pe,{size:"Small",start:!0,style:{display:"flex"}})})]}):x?t.jsxs(W,{onClick:$,"data-testid":N("verify-account-label-clicked",e),children:[t.jsx(ce,{isError:!1,children:u}),t.jsx(de,{children:t.jsx(ue,{})}),B?t.jsx($e,{maxWidth:"280px",style:{padding:`12px ${i.sp3}`,color:j.important},title:m,placement:"bottom",children:t.jsx(je,{})}):null]}):t.jsxs(W,{onClick:A,"data-testid":N("chase-info-label-clicked"),children:[t.jsx(ce,{isError:!1,children:ie}),t.jsx(de,{children:t.jsx(ue,{})})]})},ke=(e,p)=>`${e}.${p}`,_t=n(st)`
56
- color: ${e=>e.theme.colors.primary};
57
- width: ${e=>e.windowSize==="small"?"80%":"100%"};
58
- `,zt=n(rt)`
59
- color: ${e=>e.theme.colors.primary};
60
- `,Ce=n.div`
61
- display: flex;
62
- flex-direction: column;
63
- row-gap: ${e=>r.rowGap.valuePx(e.windowSize)};
64
- `,At=n.div`
65
- display: flex;
66
- align-items: center;
67
- flex-direction: row;
68
- justify-content: space-between;
69
- margin-left: ${e=>r.elementsMarginLeftRight.valuePx(e.windowSize)};
70
- margin-right: ${e=>r.elementsMarginLeftRight.valuePx(e.windowSize)};
71
- margin-top: ${i.sp4};
72
- margin-bottom: ${i.sp0};
73
- `,It=n.div`
74
- display: flex;
75
- flex-direction: column;
76
- align-items: flex-end;
77
- margin-left: ${e=>r.elementsMarginLeftRight.valuePx(e.windowSize)};
78
- margin-right: ${e=>r.elementsMarginLeftRight.valuePx(e.windowSize)};
79
- margin-top: ${i.sp3};
80
- margin-bottom: ${i.sp4};
81
- opacity: ${e=>e.isDisabled?.4:1};
82
- `,Et=n(lt)`
83
- border-radius: ${i.sp2};
84
- border: 1px solid ${e=>e.theme.colors.grey3};
85
- `,Rt=n.div`
86
- display: flex;
87
- opacity: ${e=>e.isDisabled?.8:1};
88
- `,Ut=n.div`
89
- display: flex;
90
- align-items: flex-start;
91
- `,Mt=n.div`
92
- display: flex;
93
- `,Bt=n(ot)`
94
- display: flex;
95
- align-items: center;
96
- color: ${e=>e.isDisabled?e.theme.colors.grey1:e.theme.colors.hero};
97
- flex-wrap: wrap;
98
- `,ee=n.div`
99
- display: flex;
100
- `,ce=n.div`
101
- :hover {
102
- cursor: pointer;
103
- color: ${e=>e.isError?e.theme.colors.important:e.theme.colors.primary};
104
- }
105
- `,W=n(ze)`
106
- display: flex;
107
- align-items: center;
108
- `,Dt=n.div`
109
- display: flex;
110
- align-items: center;
111
- justify-content: center;
112
- `,Ot=n.div`
113
- display: flex;
114
- flex-direction: row;
115
- align-items: center;
116
- padding: ${e=>r.iconPadding.valuePx(e.windowSize)};
117
- background: ${e=>e.iconColor.toString()};
118
- border-radius: ${i.sp11};
119
- width: fit-content;
120
- height: fit-content;
121
- color: ${e=>e.isDarkMode?j.neutralGrey5Light:e.theme.colors.brandColorOnyx}; // As per design
122
- max-width: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
123
- max-height: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
124
- margin-right: ${i.sp2};
125
- `,Ft=n.div`
126
- display: flex;
127
- flex-direction: column;
128
- width: ${e=>r.sectionWidth.valuePx(e.windowSize)};
129
- background-color: ${e=>e.theme.colors.grey5};
130
- border: 1px solid ${e=>e.theme.colors.grey3};
131
- box-shadow: ${e=>`${i.sp0} 2px ${i.sp1} ${e.theme.colors.dropShadowNormal}`};
132
- border-radius: ${i.sp2};
133
- color: ${e=>e.theme.colors.grey1};
134
- justify-content: space-between;
135
- box-sizing: border-box;
136
- ${e=>e.isDisabled===!1&&`
137
- &:hover {
138
- border: 1px solid ${e.theme.colors.primary};
139
- color: ${e.theme.colors.primary};
140
- }
141
- `}
142
- `,Wt=n.div`
143
- display: flex;
144
- align-items: center;
145
- `,Nt=n.div`
146
- color: ${e=>e.theme.colors.primary};
147
- ${e=>`${Pt.title.style(e.windowSize)}`};
148
- `,Vt=n.div`
149
- margin-right: ${i.sp2};
150
- `,Ht=n(it)`
151
- width: ${i.sp3};
152
- height: ${i.sp3};
153
- color: ${j.success};
154
- `,Gt=n.div`
155
- height: 14px;
156
- width: 14px;
157
- border: 1px solid ${e=>e.theme.colors.primary};
158
- border-radius: 50%;
159
- `,qt=n.div``,Yt=n.div`
160
- width: ${i.sp4};
161
- height: ${i.sp4};
162
- margin-left: ${i.sp4};
163
- `,Zt=n.div`
164
- display: inline-block;
165
- border-radius: ${i.sp2};
166
- margin: ${i.sp0} 12px;
167
- width: ${i.sp1};
168
- height: ${i.sp1};
169
- cursor: inherit;
170
- background-color: ${e=>e.theme.colors.grey1};
171
- `,Kt=n.img`
172
- width: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
173
- height: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
174
- border-radius: ${i.sp11};
175
- margin-right: ${i.sp2};
176
- `,Jt=n.div`
177
- display: flex;
178
- flex-direction: column;
179
- `,de=n.div`
180
- display: flex;
181
- color: inherit;
182
- margin-left: ${i.sp1};
183
- `,ue=n(Ae)`
184
- width: 12px;
185
- height: 12px;
186
- `,je=n(dt)`
187
- display: flex;
188
- margin-left: 12px;
189
- width: ${i.sp3};
190
- height: ${i.sp3};
191
- color: ${j.important};
192
- `,Pe=n.div`
193
- display: flex;
194
- align-items: center;
195
- justify-content: center;
196
- margin-left: ${i.sp2};
197
- `,Qt=n.div`
198
- min-width: ${e=>e.isOptionSelected?i.sp4:i.sp5};
199
- width: ${e=>e.isOptionSelected?i.sp7:i.sp5};
200
- height: ${e=>e.isOptionSelected?i.sp7:i.sp5};
201
- margin-right: ${i.sp2};
202
- `,Xt=n(ct)`
203
- min-width: inherit;
204
- width: inherit;
205
- height: inherit;
206
- `;export{Tt as R,si as p,ke as y,Lt as z};
@@ -1,31 +0,0 @@
1
- import{X as y,M as S,g$ as b,j as o,d as g,o as a,q as j,C as v,bq as z,n as k}from"./index-Ihb4xe41.js";import{b as P,n as i}from"./vendor-CnQcJ2Lu.js";import{g as C}from"./BoxItem-qV71vsVl-BQdt3cLT.js";import{w as L}from"./downloadPdf-YcATpN2g-CAA7xZRG.js";const d=S.getLocalizedStrings().months,r={downloadButtonSize:new v(k[4],20)},q=i.div`
2
- display: flex;
3
- padding: ${a.sp3} ${a.sp4};
4
- flex-direction: row;
5
- width: 100%;
6
- `,B=i.div`
7
- display: flex;
8
- justify-content: space-between;
9
- align-items: center;
10
- width: 100%;
11
- `,T=i(j)`
12
- display: -webkit-box;
13
- -webkit-box-orient: vertical;
14
- -webkit-line-clamp: 1;
15
- margin-left: ${a.sp2};
16
- max-height: ${a.sp11};
17
- text-overflow: ellipsis;
18
- word-break: break-word;
19
- text-align: left;
20
- overflow: hidden;
21
- `,E=i.div`
22
- cursor: pointer;
23
- `,M=i(z)`
24
- width: ${t=>r.downloadButtonSize.valuePx(t.windowSize)};
25
- height: ${t=>r.downloadButtonSize.valuePx(t.windowSize)};
26
- min-height: ${t=>r.downloadButtonSize.valuePx(t.windowSize)};
27
- color: ${t=>t.theme.colors.hero};
28
- &:hover {
29
- color: ${t=>t.theme.colors.primary};
30
- }
31
- `;function J({accountLast4:t,currentTenantCompanyName:s,data:e,authParams:m,downloadEndPoint:l,documentType:n="statement",boxType:p}){const[w,x]=P.useState(!1),c=y(),$=n==="taxLetter"?`${e.title.year}`:`${d[e.title.month-1]} ${e.title.year}`,h=n==="taxLetter"?`${s}-treasury-tax-letter-${e.title.year}.pdf`:`${s}-${t}-monthly-statement-${d[e.title.month-1]}-${e.title.year}.pdf`,u={period:`${e.title.year}-${b(e.title.month)}`,format:"pdf"},f=o.jsx(q,{children:o.jsxs(B,{children:[o.jsx(T,{children:$}),o.jsx(E,{onClick:()=>L(n==="treasuryStatement"||n==="taxLetter"?`${l}/statements/${e.id}`:`${l}/statements?query=${encodeURIComponent(JSON.stringify(u))}`,h,m,x),children:w?o.jsx(g,{size:"Small",start:!0}):o.jsx(M,{windowSize:c})})]})});return o.jsx(C,{content:f,boxType:p,isDisabled:!1,isNotClickable:!0})}export{J as M};