@zeniai/web-cockpit-ui 1.14.20-qa → 1.14.21-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 (258) hide show
  1. package/dist/assets/ACHDetailsPage-B2GVy8XM-ti0XjGQx.js +21 -0
  2. package/dist/assets/{AIPerformancePage-DnOjd2BF-lO5zS7uR.js → AIPerformancePage-DKwSS0Zl-c3B4-q-Y.js} +33 -33
  3. package/dist/assets/AccountInfoPage-CSIM7DNw-BklcBUFt.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-Cc80eQeo-CgEfuzww.js → AccountInfoPageContent-CwbmE2Bb-CgQ5VXBk.js} +16 -16
  5. package/dist/assets/{AccountLockedInfoModal-B-Hn6_hG-6a5g7mIJ.js → AccountLockedInfoModal-SFgC439X-BdfeA6l0.js} +5 -5
  6. package/dist/assets/{AccountReconDetailsDrawerPage-Bz1Sk2du-BxAo_hsT.js → AccountReconDetailsDrawerPage-DhlVNNlq-zaiIx1Be.js} +14 -14
  7. package/dist/assets/{AccountRow-D01C0A0f-CckYNleY.js → AccountRow-Bhq6cvtX-CIGcG8Mb.js} +31 -31
  8. package/dist/assets/{AccountsPromoCardStack-DsjFJ8gZ-tDFsAqWF.js → AccountsPromoCardStack-Cx60IXNK-DyJ52Wxc.js} +33 -33
  9. package/dist/assets/{AddAddressForCardDrawer-DnoYIvUp-D4V9AU-3.js → AddAddressForCardDrawer-D1cDpMRq-BEiWkJUF.js} +2 -2
  10. package/dist/assets/{AddToWalletPage-BIiW9JxG-DzC3aDRW.js → AddToWalletPage-DjD9kDfD-7on3PFY8.js} +27 -27
  11. package/dist/assets/{AgingReportsPage-WazD_3Z7-BztL8RZo.js → AgingReportsPage-C68tZbMZ-BZn0w9tu.js} +7 -7
  12. package/dist/assets/{AllUserItems-CTSy4oBh-aCjvc204.js → AllUserItems-D4ZWfS3r-Dzjpd7KF.js} +14 -14
  13. package/dist/assets/{ApAgingDetailPage--NGBXWsy-Cfxnglrx.js → ApAgingDetailPage-C9xdKi6n-CJy9_j_h.js} +3 -3
  14. package/dist/assets/{AppBasePage-B5br9UXD-dTwGe1qL.js → AppBasePage-C77LebWx-j5O8MdDX.js} +11 -11
  15. package/dist/assets/{AppDrawerContent-vFeMNL3B-OmNElgxS.js → AppDrawerContent-rleLuP6d-CWfhTnVv.js} +19 -32
  16. package/dist/assets/ApprovalRulesSettingsPage-l6wNe5y0-CnwhageD.js +47 -0
  17. package/dist/assets/{ArAgingChart-BYWN3_Nl-M7Hk0Q05.js → ArAgingChart-BzPI5KpZ-DCA8w670.js} +7 -7
  18. package/dist/assets/{ArAgingDetailPage-B-hHa8A6-CG4Qyos2.js → ArAgingDetailPage-QPScba6I-BS5C1iok.js} +1 -1
  19. package/dist/assets/{AttachmentView-C2kWA5X5-BbtHpCnk.js → AttachmentView-BWRZe11t-C3aomYUX.js} +7 -7
  20. package/dist/assets/{BankAccountSection-B20IwpOn-DQog70tV.js → BankAccountSection-D4xFLS8Y-DYVkxnj8.js} +6 -6
  21. package/dist/assets/{BankAccountWarningSection-GHO0P0IZ-1uRlfSfl.js → BankAccountWarningSection-xch7b7oM-KAL6I_7u.js} +9 -9
  22. package/dist/assets/{BankConnectionsSettingsPage-Cpg1ObB6-C889d37H.js → BankConnectionsSettingsPage-BAf6txkS-BUkZUmB1.js} +33 -33
  23. package/dist/assets/{BillDetailPage-DOF5ibT6-CMzLP3E2.js → BillDetailPage-DNjo2hSl-HAMxBkoh.js} +5 -5
  24. package/dist/assets/BillPayApprovalRuleDetailPage-CyzRcfmb-CWMkHGTv.js +27 -0
  25. package/dist/assets/{BillPayApprovalRulesPage-B3x4So_i-CY4rm4rp.js → BillPayApprovalRulesPage-XcSe-JLu-paWl1wgj.js} +8 -8
  26. package/dist/assets/{BillPayPromoPage-BqzH5AIp-CPmZM4sb.js → BillPayPromoPage-XAG7hXMH-TJCiv7fN.js} +12 -12
  27. package/dist/assets/BillPaySetUpPage-BBsdhwgY-BJ3SN0Z9.js +42 -0
  28. package/dist/assets/BillingSettingsPage-DJNjNtIF-BPnIxQJs.js +44 -0
  29. package/dist/assets/{BillsBulkReviewDrawerPage-B76xXQJ9-KS_QhPM7.js → BillsBulkReviewDrawerPage-C0-0H-LH-B1c9iIV6.js} +1 -1
  30. package/dist/assets/{BoxItem-DCsIK5bA-DmT1xtf2.js → BoxItem-DfMMtLK3-CwOmwsz7.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-hSVDM_Bi-2zlgnS4x.js → BusinessVerificationPage-Bdf48vIt-gFo5pnI5.js} +11 -11
  32. package/dist/assets/{CardNumberSubText-B_ZdgYVm-ChY45Xav.js → CardNumberSubText-DgQelYSF-ByXOxvTG.js} +2 -2
  33. package/dist/assets/{CashbackDetailPage-CNeEt6aE-b0UGJHmQ.js → CashbackDetailPage-pDpjBsfK-CeHQC4hd.js} +21 -21
  34. package/dist/assets/{ChargeCardDetailPage-C0a8jqCD-Cx7pv4Cb.js → ChargeCardDetailPage-DU9RMQc6-BIkkENPA.js} +74 -74
  35. package/dist/assets/ChargeCardListPage-DMYZIi2J-C0pY-hXD.js +355 -0
  36. package/dist/assets/{ChargeCardListTable-Kx-_ZAZu-BIEC6Lus.js → ChargeCardListTable-BGhtEqlM-1uQtcdAL.js} +118 -118
  37. package/dist/assets/{ChargeCardPromoPage-CKTkcQdI-D4z7TcsI.js → ChargeCardPromoPage-B2v83Vrf-DE3g4SaQ.js} +14 -14
  38. package/dist/assets/ChargeCardSetupPage-D4DqJYC2-tJD3m4rN.js +36 -0
  39. package/dist/assets/{ChargeCardStatementsPage-B_7CdyKP-BwoBFpZ8.js → ChargeCardStatementsPage-N-UJC5n3-DRCoIqWQ.js} +12 -12
  40. package/dist/assets/CheckDepositDrawerPage-BlNXO233-B6D-qsf9.js +206 -0
  41. package/dist/assets/{CollapsableReportTable-ULd7PQST-zRaWsZKw.js → CollapsableReportTable-CuZSfiJ--DndUaoHT.js} +51 -51
  42. package/dist/assets/{CompanyOfficerDetailsSection-DLaAmVLG-BXyV3XUg.js → CompanyOfficerDetailsSection-B8_6LaaT-Bm6A2sxD.js} +20 -20
  43. package/dist/assets/{CompanyPassportCard-CZQuAyI2-FnmQYEWp.js → CompanyPassportCard-Dnoe52f1-Bb0yMF1k.js} +9 -9
  44. package/dist/assets/{CompanyPassportPage-DqoVJfO--B2V256bS.js → CompanyPassportPage-ChrMM5cG-CBSi0VyZ.js} +9 -9
  45. package/dist/assets/{CompleteProfile-BJV-xUlM-_mjlqEii.js → CompleteProfile-BcB52KEM-eSrsUGzf.js} +1 -1
  46. package/dist/assets/{ConfettiBurst-D4ga9TRN-DNqfOt_I.js → ConfettiBurst-CLXTwsEc-BKNVbRl0.js} +1 -1
  47. package/dist/assets/{CreateOrEditVendorPage-C6efUMJu-BPk-OMPd.js → CreateOrEditVendorPage-BQT9jEKf-D7ltp_Gl.js} +8 -8
  48. package/dist/assets/{CreditCardPaymentDrawerPage-26ysDTts-2EgGLxxN.js → CreditCardPaymentDrawerPage-CqjXmiuE-DMxbqlO3.js} +22 -22
  49. package/dist/assets/CurrencySelectField-DptlyOSs-CcylyEJM.js +139 -0
  50. package/dist/assets/{CustomerOnboardingActivationPage-D0-sOxDl-Ce46LukP.js → CustomerOnboardingActivationPage-CwOkKzOg-B6RVJbjC.js} +5 -5
  51. package/dist/assets/CustomerOnboardingContainerPage-CicNW9-B-DzHnXZE1.js +1 -0
  52. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-B7hkzgkV-BF5167bb.js → CustomerOnboardingDetailPageSkeleton-czdG16p5-DpEmk0UD.js} +10 -10
  53. package/dist/assets/CustomerOnboardingNoStepsPage-vfiQQOHz-Bp1CMF4Z.js +66 -0
  54. package/dist/assets/{CustomerOnboardingPage-DB1gXgdD-CBPKCr70.js → CustomerOnboardingPage-YXekfOBo-BxMO09Sc.js} +5 -5
  55. package/dist/assets/CustomerOnboardingProductSuitePage-CZTuBAv2-DO0Q6ibG.js +202 -0
  56. package/dist/assets/{Dashboard-CU3UQhxj-C1Mkz5gx.js → Dashboard-DSgwFRPe-C8675P9W.js} +1 -1
  57. package/dist/assets/{DashboardReportPage-DMdKWPtx-atQPuhmI.js → DashboardReportPage-BJvP8_MA-BpjY-74m.js} +17 -17
  58. package/dist/assets/{DashboardSidebarBackgroundAnimation-BMEqBAyh-C6IEWJ-w.js → DashboardSidebarBackgroundAnimation-BzB16gcw-DGUbQY3b.js} +2 -2
  59. package/dist/assets/{DepositAccTransactionItem-C1-JGWD1-PimeTN3F.js → DepositAccTransactionItem-iLxnaDON-Cited1L2.js} +3 -3
  60. package/dist/assets/DepositAccTransactionListPage-BYdaEGCV-dRBdHWPK.js +66 -0
  61. package/dist/assets/{DomesticWireDetailsPage-D6fDbjcO-B5-gEW7w.js → DomesticWireDetailsPage-D7ID3OCC-BFvvuPQV.js} +1 -1
  62. package/dist/assets/{DownloadOverlay-CsX54puJ-Dn_Qxrz1.js → DownloadOverlay-DK3Nswwn-axnAyF4J.js} +23 -23
  63. package/dist/assets/{DrawerPage-xYwGDHR6-DzearJMx.js → DrawerPage-qdVRf0zd-rAuGPrSz.js} +10 -10
  64. package/dist/assets/EditPeoplePage-BQlHto3J-B1wgqdbr.js +55 -0
  65. package/dist/assets/{EditReimbursementDetailPage-EUO0BoRp-DXFt_-b4.js → EditReimbursementDetailPage-wJUr8jPN-cAj4KIG_.js} +75 -75
  66. package/dist/assets/{EntityDetailPage-CF6LS35a-I8h1XS7y.js → EntityDetailPage-BNbBdxQj-DOptLJPY.js} +3 -3
  67. package/dist/assets/{EntitySummarySection-C0gR6pkr-BFT2Z-pB.js → EntitySummarySection-BQXLwSRf-XMfwUKWz.js} +15 -15
  68. package/dist/assets/{ExpenseAutomationOverviewPage-B0I8v21w-DnXjKNKz.js → ExpenseAutomationOverviewPage-UXpoYnDh-DTEX425p.js} +22 -22
  69. package/dist/assets/{ExpenseAutomationPage-BorzJM7G-DkRsvTE3.js → ExpenseAutomationPage-Cn4VyB6M-CECxbhts.js} +69 -69
  70. package/dist/assets/{ExpressPayPage-D0YWItIv-vsfFJlZY.js → ExpressPayPage-DjV_dQoe-B6QGETdI.js} +12 -12
  71. package/dist/assets/{FeaturePreviewPage-yu8G5cHk-D2BrLKE_.js → FeaturePreviewPage-CPu1OiVj-C8nQdj7i.js} +2 -2
  72. package/dist/assets/{FollowStepsSection-DRDFxA8H-CjpGRF9d.js → FollowStepsSection-6KGTmbym-CjBGo1sT.js} +11 -11
  73. package/dist/assets/{GlobalReviewListPage-D80yv7U2-DSeBsZZz.js → GlobalReviewListPage-BpuYWhKy-BWJ3NE1D.js} +12 -12
  74. package/dist/assets/{HelpButton-D9ONg6cm-Be59SjbC.js → HelpButton-j66YbdZ7-MN2mMJbU.js} +5 -5
  75. package/dist/assets/{InformationCardStack-CbKQwtHm-iVG-egn1.js → InformationCardStack--_YYIZmU-TVF3K_in.js} +5 -5
  76. package/dist/assets/{InsightsCardStack-BWsN9_G2-DIXMPF3Z.js → InsightsCardStack-BAqsxgx_-C1UXRHpT.js} +10 -10
  77. package/dist/assets/{InsightsSection-WZo-AWJt-B29Z2aQ6.js → InsightsSection-R-m-A1rt-hAhn3f3r.js} +8 -8
  78. package/dist/assets/{IntegrationsSettingsPage-BLjSJt9r-DCLywH7v.js → IntegrationsSettingsPage-BP0P9-PB-q-RNhTQ5.js} +14 -14
  79. package/dist/assets/{InternationalWireSwiftDetailsPage-BXNDZ1Mk-BxL2cwbW.js → InternationalWireSwiftDetailsPage-Bl40XkdZ-FmcHiNeD.js} +16 -16
  80. package/dist/assets/{InternationalWireVerificationPage-BLgPJ1NJ-q4IibCup.js → InternationalWireVerificationPage-BxIz3xUq-DfERa7mH.js} +18 -18
  81. package/dist/assets/{InviteFormPage-DPQ4vL9--i-ULec9w.js → InviteFormPage-t42rmGiL-DbS-Xo1y.js} +22 -22
  82. package/dist/assets/{InvitePageListView-YUKxUGBn-B16-8w8X.js → InvitePageListView-CWpmFhZH-BU1izezz.js} +40 -40
  83. package/dist/assets/InvitePeoplePage-78Fznvo4-Cs3muHFK.js +12 -0
  84. package/dist/assets/{InvoiceUploadSection-Cx6pXJiN-CVGkefQN.js → InvoiceUploadSection-BWCF-vNf-ENuDGJpZ.js} +9 -9
  85. package/dist/assets/{IssueChargeCardPage-DZVtocCO-I_yEnYGn.js → IssueChargeCardPage-DrHldS8--Y0lQ8nqU.js} +19 -19
  86. package/dist/assets/{LabeledAddressValue-BrB2xQYz-Bp1iKMXW.js → LabeledAddressValue-WlsZ5Ghz-BgDzWzX8.js} +1 -1
  87. package/dist/assets/LabeledAddressValueField-B-6CWCep-BS0rQu3k.js +45 -0
  88. package/dist/assets/{LabeledControlledCheckBoxField-o0K1dba0-CaYkqqwf.js → LabeledControlledCheckBoxField-DLlz4JyR-BC1O7GWF.js} +1 -1
  89. package/dist/assets/{LabeledCreatableSingleSelectField-DQwGH21a-DCo3yiXZ.js → LabeledCreatableSingleSelectField-rYzQ2Ot2-C76fE8D-.js} +2 -2
  90. package/dist/assets/{LabeledDocumentField-CfgzkjDY-pn3OcRy3.js → LabeledDocumentField-CD2nmWBu-DN57A6Dt.js} +4 -4
  91. package/dist/assets/{LabeledDropDownFormattedTextField-DdaTvUbM-KTtCMdFX.js → LabeledDropDownFormattedTextField-DpVX6osq-D5-gOJ3f.js} +3 -3
  92. package/dist/assets/{LabeledText-Hi4MixDN-WrbKJ642.js → LabeledText-QTidAWAx-C3c3LDP1.js} +2 -2
  93. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BlVebvR7-Jqg6BKYy.js → LabeledUserSingleSelectWithSubtitlesField-BlTOGYfX-B2GK4-w4.js} +19 -19
  94. package/dist/assets/{LabeledZeniRolesDropDownField-Bm7Emr_n-glZ8PCSO.js → LabeledZeniRolesDropDownField-BVYRgzSM-BwBrTbH3.js} +12 -12
  95. package/dist/assets/{LinkJETransactionPage-ittEPbhi-W7ymwETt.js → LinkJETransactionPage-CKTmE3J5-oxz25OQ_.js} +10 -10
  96. package/dist/assets/{LowBalancePopup-ChA83eFW-D0eQDhH3.js → LowBalancePopup-3lHeOacz-D0jLBPuP.js} +5 -5
  97. package/dist/assets/{MagicLinkACHDetailsPage-B4PPI06n-C_DxqSTi.js → MagicLinkACHDetailsPage-CJwMNdWw-CQRuhIMs.js} +1 -1
  98. package/dist/assets/{MagicLinkDomesticWireDetailsPage-DRK5ytSb-DngVeo5M.js → MagicLinkDomesticWireDetailsPage-7fXlIwuo-BfygosWH.js} +1 -1
  99. package/dist/assets/{MagicLinkInternationalWireDetailsPage-C2pn5xtm-BATETY3T.js → MagicLinkInternationalWireDetailsPage-D7oeyaXU-BvZA1a8O.js} +1 -1
  100. package/dist/assets/{MagicLinkSuccessPage-Bag5TE2J-CZ9jwejs.js → MagicLinkSuccessPage-D8iyZlJy-BCBc7pXl.js} +4 -4
  101. package/dist/assets/{MagicLinkTitleSection-Ch72cLUN-YrwcYc6L.js → MagicLinkTitleSection-DUrwrEj2-Dar-V5KH.js} +5 -5
  102. package/dist/assets/{MailingDetailsSection-CrHHLtQN-DrQYYUeI.js → MailingDetailsSection-CXSm1fgW-B1aDR6z2.js} +1 -1
  103. package/dist/assets/{MeetingCalenderPopup-B_KRQLwc-Dk4sRI3u.js → MeetingCalenderPopup-SnrmOSBf-C5dtHg-v.js} +1 -1
  104. package/dist/assets/{Menu-Czq7AdhP-DuOfxCaz.js → Menu-C7N3gHcb-bEZ9k_XO.js} +1 -1
  105. package/dist/assets/{MyBankConnectionsSettingsPage-y3YOYnQr-D-9bdC9E.js → MyBankConnectionsSettingsPage-B4Pjmw7q-qUHzU9ca.js} +16 -16
  106. package/dist/assets/MyPendingActivationChargeCardListPage-COeIF-Gj-lF4Ynxvz.js +6 -0
  107. package/dist/assets/{MyProfileSettingsPage-hQvoACAQ-De4LQ2zP.js → MyProfileSettingsPage-Dv0V1Z6z-B0QjyZRW.js} +10 -10
  108. package/dist/assets/NavBarWithPicker-Dd5TPoA8-B5GD0shW.js +30 -0
  109. package/dist/assets/{NavigationArrow-ClEBtns--QcRQdXVR.js → NavigationArrow-xI3dolgO-CZbe0Kw1.js} +2 -2
  110. package/dist/assets/{NavigationDots-BsJyQWOZ-BDcajz6w.js → NavigationDots-CbSSDiyy-CF0bIpTT.js} +1 -1
  111. package/dist/assets/{NewGlobalMerchantPage-BKZGSrDk-l-MVFG0h.js → NewGlobalMerchantPage-vHNZ1z6p-DzCKZ31U.js} +13 -13
  112. package/dist/assets/{NoDataChart-Bk9eWo52-DcgFDiHH.js → NoDataChart-DHDhwnCE--JxqggmJ.js} +5 -5
  113. package/dist/assets/{NoDataTable-DCQbtvPN-DodiAtKz.js → NoDataTable-BnVKm6Qa-D-DP72-h.js} +1 -1
  114. package/dist/assets/{NotFoundPage-CGx7FoiU-UHTxKuRN.js → NotFoundPage-BNZEf9qH-DJyohjVl.js} +4 -4
  115. package/dist/assets/{NotificationSettingsPage-CoD8eTUS-BjZb9tDk.js → NotificationSettingsPage-DfnpY6qJ-IVv8rNvQ.js} +24 -24
  116. package/dist/assets/NotificationsListConfig-DtICI7X6-Ds4a71oz.js +1 -0
  117. package/dist/assets/{NotificationsPage-BavPSx1H-DHL13AeJ.js → NotificationsPage-Bg1mW_-3-Bqq3aGWJ.js} +86 -86
  118. package/dist/assets/OpExByVendorPage-qNgK4tMM-C2uybElE.js +100 -0
  119. package/dist/assets/{OverlayContainerPage-Dg-aOJQU-C9FBG3yb.js → OverlayContainerPage-ZbhbAqlg-Pe8QjCNe.js} +1 -1
  120. package/dist/assets/{PandLWithForecastPage-bSkidYRR-CDPJjYTV.js → PandLWithForecastPage-C8qE7xCZ-4J3Yl7J8.js} +14 -14
  121. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CGIC_vLw-DbAjNAQ-.js → PaymentAccountSetupBillingAddressSection-DA77K9eY-KFOyfAw1.js} +17 -17
  122. package/dist/assets/{PeoplePage-C-2NZJpQ-BenUVGbg.js → PeoplePage-Chec7uSH-BJQiakcT.js} +22 -22
  123. package/dist/assets/PortfolioAllocationFormPage-B_lIRV75-2KTCiqQZ.js +207 -0
  124. package/dist/assets/{PortfolioDetails-Cpv5bi4_-BHPnb_oU.js → PortfolioDetails-Dm2r3i6b-CSqaBp0x.js} +29 -29
  125. package/dist/assets/{ProductsCarousel-WDd37Mjn-BH0jA9xy.js → ProductsCarousel-Ba0LHKrb-CXNqNsMy.js} +7 -7
  126. package/dist/assets/{PromoBaseCards-BaFkKGkm-Cz7eAULC.js → PromoBaseCards-D3gKG9qA-BnJ2PjWk.js} +7 -7
  127. package/dist/assets/{QBOConnectionDialog-l3ThoJCI-ChlbOfD6.js → QBOConnectionDialog-C8y2XvBN-DhJ_XJEx.js} +10 -10
  128. package/dist/assets/{QBOSetupSection-DSrxcrXI-CkvMDxrM.js → QBOSetupSection-DDGIRv8E-WWMe3MOR.js} +8 -8
  129. package/dist/assets/ReimbursementApprovalRuleDetailPage-Dc_vsL89-WjjIqi27.js +26 -0
  130. package/dist/assets/{ReimbursementApprovalRulesPage-fs4WqNUv-Bqd9-BoW.js → ReimbursementApprovalRulesPage-DsIFWYvA-BB4iiWOZ.js} +8 -8
  131. package/dist/assets/{ReimbursementDetailPage-BYw6Mc2u-BxuwZTKk.js → ReimbursementDetailPage-6KZSAl8R-DdvuKv3t.js} +19 -19
  132. package/dist/assets/ReimbursementPromoPage-Bijp59bV-Cpfy_AWs.js +112 -0
  133. package/dist/assets/ReimbursementSetUpPage-UW_9Cl4O-CgdV74cL.js +140 -0
  134. package/dist/assets/ReimbursementsBulkReviewDrawerPage-DblkkMcc-C0pmpacW.js +1 -0
  135. package/dist/assets/{ReloadCard-BPoOhxrs-kBbFGmsU.js → ReloadCard-BszztAdg-BGcTmGev.js} +3 -3
  136. package/dist/assets/{ReportTableViewSelector-CkZW5TtX-DumdDRTp.js → ReportTableViewSelector-DOnGrFNT-CJshToiT.js} +28 -28
  137. package/dist/assets/{ReportsPage-C-ARKbIQ-o9K1sd3F.js → ReportsPage-BfKLEriq-DUqc1b6J.js} +7 -7
  138. package/dist/assets/{RevenueChart-CuqZW-Jr-N4UQEA-E.js → RevenueChart-B5dfrWKL-CCXtRcm3.js} +1 -1
  139. package/dist/assets/{ReviewDetailsPage-BVN_Uym2-C5S7_prb.js → ReviewDetailsPage-BCo54ehm-CX79VGjq.js} +17 -17
  140. package/dist/assets/{ReviewOverlay-CIgtaUn1-BvAebQ4j.js → ReviewOverlay-BysN2GYI-B3EhPHzZ.js} +25 -25
  141. package/dist/assets/{RoleWithToolTip-Dm4yIm31-B7MerbZ_.js → RoleWithToolTip-BRe9iDOl-Q0pJSQDn.js} +2 -2
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-Ce3z1VPg-BTEmNd7t.js → ScheduleDetailsFixedAssetsPage-gij2cBvS-C2Yl94k-.js} +8 -8
  143. package/dist/assets/{ScheduleDetailsPage-O69iLj4h-CjfWVecQ.js → ScheduleDetailsPage-DVm4cyKr-CgRDdyS9.js} +3 -3
  144. package/dist/assets/{ScheduleSequenceTable-DMIzc2zC-7wRpGkTy.js → ScheduleSequenceTable-aSVVm6mG-DGPmYAZ0.js} +15 -15
  145. package/dist/assets/{ScreenRoutes-DSJYi7xE.js → ScreenRoutes-VXm4ob92.js} +1 -1
  146. package/dist/assets/SetUpAccountSection-qYVA9A09-BONGuihD.js +378 -0
  147. package/dist/assets/{SignIn-CXQyYEJI-CDAsUoma.js → SignIn-BLt95c3U-Dlnl1w8u.js} +20 -20
  148. package/dist/assets/{SignInScreen-DfZrql6t.js → SignInScreen-DEaBPUrL.js} +1 -1
  149. package/dist/assets/{SpendManagementListViewPage-DEMLoStE-DOCGQBTb.js → SpendManagementListViewPage-Dav0JMKy-Dm4nEWMb.js} +13 -13
  150. package/dist/assets/{SpendManagementPerTabPage-CLf-7YyR-Dcu59y-5.js → SpendManagementPerTabPage-C-Y-BFqH-PpgBRx-N.js} +43 -43
  151. package/dist/assets/{SpendManagementSection-DIVgOKWy-DXji9rI6.js → SpendManagementSection-DGz-I0bf-BKzTZ_B1.js} +12 -12
  152. package/dist/assets/{StatementItem-CSyEn4Pz-Ceu9_WYP.js → StatementItem-2F2qxL7G-DvQ_AOWY.js} +5 -5
  153. package/dist/assets/StatementsPage-D8hwgVAz-Cub96aye.js +58 -0
  154. package/dist/assets/{StatusSwitcher-B77NoO6o--2WeeksA.js → StatusSwitcher-DBUg94S_-BAqpWDHz.js} +4 -4
  155. package/dist/assets/{SubTabSwitcher-baJGHUgJ-DvovvHUF.js → SubTabSwitcher-CoK8FOIA-DVmudC7o.js} +2 -2
  156. package/dist/assets/{SummaryCard-BvuRZj8f-T-eFM0LS.js → SummaryCard-D1KRVnqp-Dvy_al2s.js} +1 -1
  157. package/dist/assets/{TaskManagementPage-vG8GXEJA-BGipUdPV.js → TaskManagementPage-BhFEeDBu-Dz6ITwfD.js} +45 -45
  158. package/dist/assets/{TimeRangeSwitcher-CnoZ9Rqp-B5iNAfYV.js → TimeRangeSwitcher-4JrIq9xZ-CS5enEHL.js} +2 -2
  159. package/dist/assets/{TimeframeSwitcher-W5kHnuHI-BadD6oo8.js → TimeframeSwitcher-CjctaKq_-BTzm82tm.js} +1 -1
  160. package/dist/assets/{TimeframeSwitcherWithToggle-yLA5y4zJ-4o4duI3A.js → TimeframeSwitcherWithToggle-C0dRRCYf-DyMTP-so.js} +1 -1
  161. package/dist/assets/{TopExCard-oyXmygm8-BYyuzniq.js → TopExCard-CCBEun3e-2zjFnsRQ.js} +7 -7
  162. package/dist/assets/{TopExDetailPage-4HMIURzm-DnalCFp3.js → TopExDetailPage-DbwmOLnV-BBhCS5FY.js} +10 -10
  163. package/dist/assets/{TransactionDetailPage-CIw_7B72-CYXPG11l.js → TransactionDetailPage-DsQJU2de-Cs2qQW8e.js} +39 -39
  164. package/dist/assets/{TransactionList-B9M4ftBY-DwRVqc-5.js → TransactionList-BIMzvzrT-CfNPr3Oc.js} +12 -12
  165. package/dist/assets/{TransactionListBig-D5SRFdH7-DM-CzEo0.js → TransactionListBig-DiFiu66r-oT2afajE.js} +26 -26
  166. package/dist/assets/{TransactionListPage-DCiIH4ES-fcePVcVZ.js → TransactionListPage-7JveOMDe-B7fdmsSh.js} +6 -6
  167. package/dist/assets/{TransactionVendorDetailPage-BNY3vBm0-CW0SP2il.js → TransactionVendorDetailPage-A2F8TF9r-CbwnVt2A.js} +5 -5
  168. package/dist/assets/TransferDrawerPage-CCqQ3Daq-Daf8n1RY.js +362 -0
  169. package/dist/assets/{TreasuryOverviewPage-COFbWN48-BYeFpwIv.js → TreasuryOverviewPage-Bwy2y6eI-BKBfV02s.js} +42 -42
  170. package/dist/assets/{TreasuryPromoPage-EYqV98OG-NVU8LSqs.js → TreasuryPromoPage-B3P0nF1z-CmOyTb19.js} +17 -17
  171. package/dist/assets/{TreasurySetupPage-DEz3fabz-DDNrOk49.js → TreasurySetupPage-BgrgBBsW-fmJdf9pD.js} +9 -9
  172. package/dist/assets/TreasuryStatementsPage-DvCQhl_X-CgWR5LfD.js +58 -0
  173. package/dist/assets/TreasuryTaxLetterPage-iG8-cJFt-DtHFKc00.js +58 -0
  174. package/dist/assets/{TreasuryTransferOrReviewPage-D25tiep8-BNfZoc8Z.js → TreasuryTransferOrReviewPage-BZ5sPJAg-XRzfaj0V.js} +48 -48
  175. package/dist/assets/{TrendChart-xBdkrxjQ-C4056Hlf.js → TrendChart-_IpSJoUH-D_Xka3ge.js} +5 -5
  176. package/dist/assets/{TrendWithTransactions-CQdqelNB-DQo5xCdz.js → TrendWithTransactions-BqGV_CQg-C8WEVoW0.js} +8 -8
  177. package/dist/assets/{UncategorizedAccountsMappingPage-DaSjSoeK-DCzQZher.js → UncategorizedAccountsMappingPage-iK-1vllN-DE4gP4RH.js} +17 -17
  178. package/dist/assets/{UnitIntegrationPage-zM4qGyLV-BUih8kDy.js → UnitIntegrationPage-sYNoUudZ-MStTdQpl.js} +4 -4
  179. package/dist/assets/UploadAdditionalDocumentOverlay-DMtjF2N8-C2Be6sSI.js +38 -0
  180. package/dist/assets/{Vendor2FAPopup-DO-eL5Ot-DkBNux6r.js → Vendor2FAPopup--4Ufzmk0-CNai3nMR.js} +1 -1
  181. package/dist/assets/{VendorACHDetailsPage-BDROr_dC-BY7HbNfr.js → VendorACHDetailsPage-BD9WwdNN-CaWAjhaB.js} +1 -1
  182. package/dist/assets/{VendorDetailPage-B8S-gV53-DhUdJ0v4.js → VendorDetailPage-DwLCEthT-BvPUhXCZ.js} +21 -21
  183. package/dist/assets/{VendorDomesticWireDetailsPage-BrxQuXus-CKp63XIB.js → VendorDomesticWireDetailsPage-Y2SlFgHo-D65nqzrv.js} +1 -1
  184. package/dist/assets/{VendorFiling1099EditablePage-BK-XGzxl-BDsZSV4B.js → VendorFiling1099EditablePage-nGfjBA1D-OLG4m_gM.js} +16 -16
  185. package/dist/assets/{VendorFirstReviewPage-CrSdEY-q-B1bLGVGQ.js → VendorFirstReviewPage-Bgf9MtEn-Dtn_s7_m.js} +17 -17
  186. package/dist/assets/{VendorInternationalWireDetailsPage-DuE2n00d-CfT-V_5M.js → VendorInternationalWireDetailsPage-CMxyzCCL-CvcC_o3S.js} +8 -8
  187. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-_0douojx-BYFNBvm2.js → VendorInternationalWireSwiftDetailsPage-C6rMWgzM-Ba3gVeFl.js} +1 -1
  188. package/dist/assets/{VendorsAccountsSection-C2McA3-C-Cb0CgKxi.js → VendorsAccountsSection-Ceq0cYf6-Cjsd_QQc.js} +2 -2
  189. package/dist/assets/{VerifyDevice-BOb4uKLq-DNkxVYQK.js → VerifyDevice-BTFRL9bH-BUJZK5YU.js} +5 -5
  190. package/dist/assets/{WarningsDrawerPage-f9lS8sCp-DvTpHrxU.js → WarningsDrawerPage-DSssRFm_-C1VqOBKj.js} +11 -11
  191. package/dist/assets/{ZeniAccountDetailPage-BnWDpR9g-BIlqd_yq.js → ZeniAccountDetailPage-C6q8N5tU-Dc_1K1Bi.js} +17 -17
  192. package/dist/assets/{ZeniAccountListViewPage-D9ORn0_O-9Rmkt-8p.js → ZeniAccountListViewPage-CqUvXrvR-ZqvC3boH.js} +19 -19
  193. package/dist/assets/ZeniAccountNavBarPieces-DcmtDKVQ-CBPL_oum.js +14 -0
  194. package/dist/assets/{ZeniAccountPromoPage-CswETXvx-BsmBi2Qk.js → ZeniAccountPromoPage-B6wyK1mQ-C0Tgm2fT.js} +28 -28
  195. package/dist/assets/ZeniAccountSetupPage-Dl83s-y4-B5nGAEOh.js +36 -0
  196. package/dist/assets/{ZeniCopyright-DrkcGEYL-BmTJIlKC.js → ZeniCopyright-BqG_ynZT-WDJiIgsT.js} +1 -1
  197. package/dist/assets/{ZeniTransferAmountSlider-Bw5S2HTx-DdoSkWzm.js → ZeniTransferAmountSlider-BZb23ypm-DU9mco3Q.js} +7 -7
  198. package/dist/assets/{analyticsHelper-C37dCyKv-CGyvCbtY.js → analyticsHelper-517kzICQ-BBH33il4.js} +1 -1
  199. package/dist/assets/{analyticsHelper-6vBfv0ec.js → analyticsHelper-CNrWxJzq.js} +1 -1
  200. package/dist/assets/{chartTypes-Cknnnhq_-DeXPyHuq.js → chartTypes-BTkUFFIf-HJpcoXWZ.js} +1 -1
  201. package/dist/assets/{commonDimensions-D0ovCC4N-CNPc1P_A.js → commonDimensions-Dw8Sh6Gv-a3To-vKo.js} +1 -1
  202. package/dist/assets/{detailCommon-CKa5_aP2-yoaB_aFJ.js → detailCommon-BA8Eb9ta-B1i92RWc.js} +11 -11
  203. package/dist/assets/downloadPdf-CDKlyJb--CILbJzzK.js +1 -0
  204. package/dist/assets/{index-b-ZazAq5.js → index-CjrcOwMA.js} +9891 -9282
  205. package/dist/assets/{mapLoadingInProgressToTreeNode-DttwbPj7-ClOsgYHo.js → mapLoadingInProgressToTreeNode-B16JI0nu-DSXwnXFw.js} +1 -1
  206. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CKUACdvT-DnNr7s_7.js → mapSectionWithAcOnlyToTreeNode-u05r0BKW-CAyI7F2S.js} +1 -1
  207. package/dist/assets/{mapSpacerToTreeNode-CeH4tptC-DDar-aaX.js → mapSpacerToTreeNode-DHlbGqUH-D80xjgLV.js} +1 -1
  208. package/dist/assets/{mapTimeframeBalancesToTreeNode-TLHaVbTv-CwUi2UE6.js → mapTimeframeBalancesToTreeNode-CGkPIsh6-Cf2XqEry.js} +1 -1
  209. package/dist/assets/{mapTimeframeBalancesToTreeNode-CElz2Cb0-yR23ijYO.js → mapTimeframeBalancesToTreeNode-ymtaozr7-oHeBpj1f.js} +1 -1
  210. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-D96sl236-Ceni4bmN.js → mapTimeframeHeaderLoadingInProgressToTreeNode-C7X7F5Ac-BRCHhf6Z.js} +1 -1
  211. package/dist/assets/{play-icon-XWt7iQeF-BXe3XEM9.js → play-icon-B0_JAuQa-Bjb2tow6.js} +1 -1
  212. package/dist/assets/{toCOABalancesWithID-DACfD5ZE-DPBjMuXT.js → toCOABalancesWithID-B0nbXcq3-CLRAcvjs.js} +1 -1
  213. package/dist/assets/{toChartData-C6ap15NT-C4C_iiHg.js → toChartData-CZR7pH0W-CMEBURV_.js} +1 -1
  214. package/dist/assets/{treasuryColorHelper-DmVCoHv9-BvBjIWNj.js → treasuryColorHelper-99Jkq8AE-9boKU_Ao.js} +1 -1
  215. package/dist/assets/{uploadAttachment-D1XtO8---C1HecV0B.js → uploadAttachment-5GZYaQNG-D5JMjedW.js} +21 -21
  216. package/dist/assets/{uploadReceipts-Cl7e8jci-CgmtP8oE.js → uploadReceipts-CtQowT1I-Bg_9c22l.js} +1 -1
  217. package/dist/index.html +1 -1
  218. package/package.json +3 -3
  219. package/dist/assets/ACHDetailsPage-CVBRtacz-B-wXgcdL.js +0 -21
  220. package/dist/assets/AccountInfoPage-Bt-jShgf-D7-pY8Xy.js +0 -18
  221. package/dist/assets/ApprovalRulesSettingsPage-6j7VBBZ6-DtpGfRvd.js +0 -47
  222. package/dist/assets/BillPayApprovalRuleDetailPage-BI1R1zT_-B2pclG9C.js +0 -27
  223. package/dist/assets/BillPaySetUpPage-DqiNMnRE-CJW2K1WW.js +0 -42
  224. package/dist/assets/BillingSettingsPage-BOAAGOLs-EF78E3-A.js +0 -44
  225. package/dist/assets/ChargeCardListPage-_3lJqIYP-CjqfIBRz.js +0 -355
  226. package/dist/assets/ChargeCardSetupPage-CGRMFERy-nwvjRvTP.js +0 -36
  227. package/dist/assets/ChargeCardUtils-BcwLwgz7-DtCcFgNi.js +0 -1
  228. package/dist/assets/ChaseOverlay-ClcKUdpT-DsBdB3dn.js +0 -170
  229. package/dist/assets/CheckDepositDrawerPage-I3siSP2H-DOYShP5D.js +0 -206
  230. package/dist/assets/CreditCardPaymentPlgSection-8NQI5gcx-CYgVnwi-.js +0 -78
  231. package/dist/assets/CurrencySelectField-CVNn0XCq-id1wN7tu.js +0 -139
  232. package/dist/assets/CustomerOnboardingContainerPage-DoibuhLN-BAot3xFZ.js +0 -1
  233. package/dist/assets/CustomerOnboardingNoStepsPage-CD1QldcG-DOJTbsT8.js +0 -66
  234. package/dist/assets/CustomerOnboardingProductSuitePage-DGMmLmq8-Ba1Ge8Ql.js +0 -202
  235. package/dist/assets/DepositAccTransactionListPage-CfwhQ7mC-BpwI3LPz.js +0 -66
  236. package/dist/assets/EditPeoplePage-9SmQtrJz-CpjsvZ5X.js +0 -55
  237. package/dist/assets/InvitePeoplePage-C3vECRns-C0xQ6TWc.js +0 -12
  238. package/dist/assets/LabeledAddressValueField-_35LG3OI-D_e5OIiQ.js +0 -45
  239. package/dist/assets/MyPendingActivationChargeCardListPage-DJeYzaPj-shBILIuz.js +0 -6
  240. package/dist/assets/NavBarWithPicker-DUaSGf4d-CMjrmt-1.js +0 -30
  241. package/dist/assets/NotificationsListConfig-hyqVBWDA-ChVmChxH.js +0 -1
  242. package/dist/assets/OpExByVendorPage-DD8tCc8E-CwNf3ShD.js +0 -100
  243. package/dist/assets/PortfolioAllocationFormPage-B6JOvEvW-B8_jJPtJ.js +0 -207
  244. package/dist/assets/ReimbursementApprovalRuleDetailPage-hb8mPFw0-AvrXlJya.js +0 -26
  245. package/dist/assets/ReimbursementPromoPage-DzDuwRxU-B6R_66mk.js +0 -112
  246. package/dist/assets/ReimbursementSetUpPage-DdT6uu1--B5ymQEc4.js +0 -140
  247. package/dist/assets/ReimbursementsBulkReviewDrawerPage-CXvng56s-D22V4iw-.js +0 -1
  248. package/dist/assets/SetUpAccountSection-C1_QjMwF-D_Jc9DPP.js +0 -378
  249. package/dist/assets/SetUpDefaultSection-B-ZEHQUb-wT4VB7Bz.js +0 -174
  250. package/dist/assets/SpendMgmtSetupAccountSection-DFyUBsg3-CBY1E6Ip.js +0 -206
  251. package/dist/assets/StatementsPage-D34J2aZa-DVBVlsnj.js +0 -58
  252. package/dist/assets/TransferDrawerPage-DdgfrrRM-F6iL3sbI.js +0 -362
  253. package/dist/assets/TreasuryStatementsPage-JSf4JXXI-CCZGMWz5.js +0 -58
  254. package/dist/assets/TreasuryTaxLetterPage-Id6od0WY--LdWqgsE.js +0 -58
  255. package/dist/assets/UploadAdditionalDocumentOverlay-Y64l7Rho-CmfSD-Zu.js +0 -38
  256. package/dist/assets/ZeniAccountNavBarPieces-4jG3uNmW-ClvlddSI.js +0 -14
  257. package/dist/assets/ZeniAccountSetupPage-7B6Vgmg6-Cm9X_vfT.js +0 -36
  258. package/dist/assets/downloadPdf-BJozh7zE-DZm4gsxy.js +0 -1
@@ -1 +1 @@
1
- import{W as a}from"./CollapsableReportTable-ULd7PQST-zRaWsZKw.js";function r({title:e,balances:n,config:t,nodeId:i}){return{children:[],id:i??a("loading_in_progress",[],e),isLastNode:!1,reportElementData:{element:{kind:"loading_in_progress",title:e,data:n,numOfBalances:n.length},config:t}}}export{r as d};
1
+ import{W as a}from"./CollapsableReportTable-CuZSfiJ--DndUaoHT.js";function r({title:e,balances:n,config:t,nodeId:i}){return{children:[],id:i??a("loading_in_progress",[],e),isLastNode:!1,reportElementData:{element:{kind:"loading_in_progress",title:e,data:n,numOfBalances:n.length},config:t}}}export{r as d};
@@ -1 +1 @@
1
- import{W as m,x as N}from"./CollapsableReportTable-ULd7PQST-zRaWsZKw.js";import"./index-b-ZazAq5.js";function D({calculatedSection:t,numOfBalances:c,title:n,isLastNode:i,config:r}){return{children:[],id:m("calculated_section",[],n),isLastNode:i,reportElementData:{element:{kind:"calculated_section",title:n,data:t,numOfBalances:c},config:r}}}function B({account:t,numOfBalances:c,title:n,config:i,parentNodeIDs:r,ancestorMetadata:e}){return{children:[],id:m("ac_subentity_total",r,t.account.accountId),isLastNode:!1,reportElementData:{element:{kind:"ac_subentity_total",title:n,data:t,numOfBalances:c,metadata:e},config:i}}}function g({account:t,sectionType:c,numOfBalances:n,title:i,isLastNode:r,config:e,parentNodeIDs:l,ancestorMetadata:s}){const o={children:[],id:m("ac_subaccount",l,t.account.accountId),isLastNode:r,reportElementData:{element:{kind:"ac_subaccount",title:i,sectionType:c,metadata:s,data:t,numOfBalances:n},config:e}},a=N("no_filter",e.filterAccountsWithNilBalances,e.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(t.children),d=a.map((u,p)=>g({account:u,sectionType:c,numOfBalances:n,title:u.account.accountName,config:e,isLastNode:p===a.length-1,parentNodeIDs:l,ancestorMetadata:{subAccountAncestorMetadata:[...s.subAccountAncestorMetadata,{depth:u.id.length-1,hasSibling:a.length>1,hasChildren:u.children.length>0,isLastNode:p===a.length-1,name:u.account.accountName}],classAncestorMetadata:s.classAncestorMetadata}}));return o.children.push(...d),a.length>0&&o.children.push(B({config:e,account:t,numOfBalances:n,title:t.account.accountDescription,parentNodeIDs:l,ancestorMetadata:s})),o}function L({acGroup:t,sectionType:c,numOfBalances:n,title:i,isLastNode:r,config:e,parentNodeIDs:l}){const s=m("ac_group_subaccount",l,t.accountGroupId),o={children:[],id:s,isLastNode:r,reportElementData:{element:{kind:"ac_group_subaccount",title:i,sectionType:c,data:t,numOfBalances:n},config:e}},a=N("no_filter",e.filterAccountsWithNilBalances,e.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(t.accounts);return o.children=a.map((d,u)=>g({account:d,sectionType:c,numOfBalances:n,title:d.account.accountDescription,config:e,isLastNode:u===a.length-1,parentNodeIDs:[...l,s],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:a.length>1,hasChildren:d.children.length>0,isLastNode:u===a.length-1,name:d.account.accountName}]}})),o}function A({classNode:t,sectionType:c,numOfBalances:n,title:i,isLastNode:r,config:e,parentNodeIDs:l,ancestorMetadata:s}){const o=m("class",l,i),a={children:[],id:o,isLastNode:r,reportElementData:{element:{kind:"class",title:i,data:t,metadata:s,numOfBalances:n},config:e}},d=s.classAncestorMetadata!=null?s.classAncestorMetadata:[],u=t.children.map((h,f)=>A({classNode:h,sectionType:c,numOfBalances:n,title:h.class.className,isLastNode:f===t.children.length-1,config:e,parentNodeIDs:[...l,o],ancestorMetadata:{subAccountAncestorMetadata:[],classAncestorMetadata:[...d,{depth:h.id.length-1,hasSibling:t.children.length>1,hasChildren:h.children.length>0,isLastNode:f===t.children.length-1,name:h.class.className}]}})),p=t.class.accounts.map((h,f)=>g({account:h,sectionType:c,numOfBalances:n,title:h.account.accountName,config:e,isLastNode:f===t.class.accounts.length-1,parentNodeIDs:[...l,o],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:t.class.accounts.length>1,hasChildren:h.children.length>0,isLastNode:f===t.class.accounts.length-1,name:h.account.accountName}],classAncestorMetadata:s.classAncestorMetadata}}));return a.children.push(...p),a.children.push(...u),a}function y({section:t,sectionType:c,numOfBalances:n,title:i,isLastNode:r,config:e}){const l=m("section",[],i),s={children:[],id:l,isLastNode:r,reportElementData:{element:{kind:"section",title:i,sectionType:c,data:t,numOfBalances:n},config:e}},o=t.classes.map((a,d)=>A({classNode:a,sectionType:c,numOfBalances:n,title:a.class.className,isLastNode:a.isLeafClass,config:e,parentNodeIDs:[l],ancestorMetadata:{subAccountAncestorMetadata:[],classAncestorMetadata:[{depth:a.id.length-1,hasSibling:!1,hasChildren:a.children.length>0,isLastNode:d===t.classes.length-1,name:a.class.className}]}}));return s.children.push(...o),s}function b({section:t,sectionType:c,numOfBalances:n,title:i,isLastNode:r,config:e}){const l=m("section",[],i),s={children:[],id:l,isLastNode:r,reportElementData:{element:{kind:"section",title:i,sectionType:c,data:t,numOfBalances:n},config:e}},o=N("no_filter",e.filterAccountsWithNilBalances,e.filterAccountGroupsWithNilBalances).compactedAccountGroupsSelector(t.accountGroups),a=o.map((d,u)=>L({acGroup:d,sectionType:c,numOfBalances:n,title:d.accountGroupName,isLastNode:u===o.length-1,config:e,parentNodeIDs:[l]}));return s.children.push(...a),s}function T({sectionWithAcOnly:t,sectionType:c,numOfBalances:n,title:i,isLastNode:r,config:e}){const l=m("section",[],i),s={children:[],id:l,isLastNode:r,reportElementData:{element:{kind:"section",title:i,sectionType:c,data:t,numOfBalances:n},config:e}},o=N("no_filter",e.filterAccountsWithNilBalances,e.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(t.accounts),a=o.map((d,u)=>g({account:d,sectionType:c,numOfBalances:n,title:d.account.accountName,config:e,isLastNode:u===o.length-1,parentNodeIDs:[l],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:o.length>1,hasChildren:d.children.length>0,isLastNode:u===o.length-1,name:d.account.accountName}]}}));return s.children.push(...a),s}export{y as D,T as I,D as L,L as M,A as S,b as T,g};
1
+ import{W as m,x as N}from"./CollapsableReportTable-CuZSfiJ--DndUaoHT.js";import"./index-CjrcOwMA.js";function D({calculatedSection:t,numOfBalances:c,title:n,isLastNode:i,config:r}){return{children:[],id:m("calculated_section",[],n),isLastNode:i,reportElementData:{element:{kind:"calculated_section",title:n,data:t,numOfBalances:c},config:r}}}function B({account:t,numOfBalances:c,title:n,config:i,parentNodeIDs:r,ancestorMetadata:e}){return{children:[],id:m("ac_subentity_total",r,t.account.accountId),isLastNode:!1,reportElementData:{element:{kind:"ac_subentity_total",title:n,data:t,numOfBalances:c,metadata:e},config:i}}}function g({account:t,sectionType:c,numOfBalances:n,title:i,isLastNode:r,config:e,parentNodeIDs:l,ancestorMetadata:s}){const o={children:[],id:m("ac_subaccount",l,t.account.accountId),isLastNode:r,reportElementData:{element:{kind:"ac_subaccount",title:i,sectionType:c,metadata:s,data:t,numOfBalances:n},config:e}},a=N("no_filter",e.filterAccountsWithNilBalances,e.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(t.children),d=a.map((u,p)=>g({account:u,sectionType:c,numOfBalances:n,title:u.account.accountName,config:e,isLastNode:p===a.length-1,parentNodeIDs:l,ancestorMetadata:{subAccountAncestorMetadata:[...s.subAccountAncestorMetadata,{depth:u.id.length-1,hasSibling:a.length>1,hasChildren:u.children.length>0,isLastNode:p===a.length-1,name:u.account.accountName}],classAncestorMetadata:s.classAncestorMetadata}}));return o.children.push(...d),a.length>0&&o.children.push(B({config:e,account:t,numOfBalances:n,title:t.account.accountDescription,parentNodeIDs:l,ancestorMetadata:s})),o}function L({acGroup:t,sectionType:c,numOfBalances:n,title:i,isLastNode:r,config:e,parentNodeIDs:l}){const s=m("ac_group_subaccount",l,t.accountGroupId),o={children:[],id:s,isLastNode:r,reportElementData:{element:{kind:"ac_group_subaccount",title:i,sectionType:c,data:t,numOfBalances:n},config:e}},a=N("no_filter",e.filterAccountsWithNilBalances,e.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(t.accounts);return o.children=a.map((d,u)=>g({account:d,sectionType:c,numOfBalances:n,title:d.account.accountDescription,config:e,isLastNode:u===a.length-1,parentNodeIDs:[...l,s],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:a.length>1,hasChildren:d.children.length>0,isLastNode:u===a.length-1,name:d.account.accountName}]}})),o}function A({classNode:t,sectionType:c,numOfBalances:n,title:i,isLastNode:r,config:e,parentNodeIDs:l,ancestorMetadata:s}){const o=m("class",l,i),a={children:[],id:o,isLastNode:r,reportElementData:{element:{kind:"class",title:i,data:t,metadata:s,numOfBalances:n},config:e}},d=s.classAncestorMetadata!=null?s.classAncestorMetadata:[],u=t.children.map((h,f)=>A({classNode:h,sectionType:c,numOfBalances:n,title:h.class.className,isLastNode:f===t.children.length-1,config:e,parentNodeIDs:[...l,o],ancestorMetadata:{subAccountAncestorMetadata:[],classAncestorMetadata:[...d,{depth:h.id.length-1,hasSibling:t.children.length>1,hasChildren:h.children.length>0,isLastNode:f===t.children.length-1,name:h.class.className}]}})),p=t.class.accounts.map((h,f)=>g({account:h,sectionType:c,numOfBalances:n,title:h.account.accountName,config:e,isLastNode:f===t.class.accounts.length-1,parentNodeIDs:[...l,o],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:t.class.accounts.length>1,hasChildren:h.children.length>0,isLastNode:f===t.class.accounts.length-1,name:h.account.accountName}],classAncestorMetadata:s.classAncestorMetadata}}));return a.children.push(...p),a.children.push(...u),a}function y({section:t,sectionType:c,numOfBalances:n,title:i,isLastNode:r,config:e}){const l=m("section",[],i),s={children:[],id:l,isLastNode:r,reportElementData:{element:{kind:"section",title:i,sectionType:c,data:t,numOfBalances:n},config:e}},o=t.classes.map((a,d)=>A({classNode:a,sectionType:c,numOfBalances:n,title:a.class.className,isLastNode:a.isLeafClass,config:e,parentNodeIDs:[l],ancestorMetadata:{subAccountAncestorMetadata:[],classAncestorMetadata:[{depth:a.id.length-1,hasSibling:!1,hasChildren:a.children.length>0,isLastNode:d===t.classes.length-1,name:a.class.className}]}}));return s.children.push(...o),s}function b({section:t,sectionType:c,numOfBalances:n,title:i,isLastNode:r,config:e}){const l=m("section",[],i),s={children:[],id:l,isLastNode:r,reportElementData:{element:{kind:"section",title:i,sectionType:c,data:t,numOfBalances:n},config:e}},o=N("no_filter",e.filterAccountsWithNilBalances,e.filterAccountGroupsWithNilBalances).compactedAccountGroupsSelector(t.accountGroups),a=o.map((d,u)=>L({acGroup:d,sectionType:c,numOfBalances:n,title:d.accountGroupName,isLastNode:u===o.length-1,config:e,parentNodeIDs:[l]}));return s.children.push(...a),s}function T({sectionWithAcOnly:t,sectionType:c,numOfBalances:n,title:i,isLastNode:r,config:e}){const l=m("section",[],i),s={children:[],id:l,isLastNode:r,reportElementData:{element:{kind:"section",title:i,sectionType:c,data:t,numOfBalances:n},config:e}},o=N("no_filter",e.filterAccountsWithNilBalances,e.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(t.accounts),a=o.map((d,u)=>g({account:d,sectionType:c,numOfBalances:n,title:d.account.accountName,config:e,isLastNode:u===o.length-1,parentNodeIDs:[l],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:o.length>1,hasChildren:d.children.length>0,isLastNode:u===o.length-1,name:d.account.accountName}]}}));return s.children.push(...a),s}export{y as D,T as I,D as L,L as M,A as S,b as T,g};
@@ -1 +1 @@
1
- import{W as r}from"./CollapsableReportTable-ULd7PQST-zRaWsZKw.js";function i({title:t,balances:e=[],config:n,nodeId:a}){return{children:[],id:a??r("spacer_row",[],t),isLastNode:!1,reportElementData:{element:{kind:"spacer_row",title:"",data:e,numOfBalances:e.length},config:n}}}export{i as l};
1
+ import{W as r}from"./CollapsableReportTable-CuZSfiJ--DndUaoHT.js";function i({title:t,balances:e=[],config:n,nodeId:a}){return{children:[],id:a??r("spacer_row",[],t),isLastNode:!1,reportElementData:{element:{kind:"spacer_row",title:"",data:e,numOfBalances:e.length},config:n}}}export{i as l};
@@ -1 +1 @@
1
- import{W as r}from"./CollapsableReportTable-ULd7PQST-zRaWsZKw.js";function i({balances:e,config:a,nodeId:t}){return{children:[],id:t??r("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:a.mode==="actual_vs_forecast"?"timeframe_headers_with_forecast":"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:a}}}export{i as s};
1
+ import{W as r}from"./CollapsableReportTable-CuZSfiJ--DndUaoHT.js";function i({balances:e,config:a,nodeId:t}){return{children:[],id:t??r("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:a.mode==="actual_vs_forecast"?"timeframe_headers_with_forecast":"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:a}}}export{i as s};
@@ -1 +1 @@
1
- import{W as n}from"./CollapsableReportTable-ULd7PQST-zRaWsZKw.js";function i({balances:e,config:a,nodeId:t}){return{children:[],id:t??n("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:a}}}export{i as o};
1
+ import{W as n}from"./CollapsableReportTable-CuZSfiJ--DndUaoHT.js";function i({balances:e,config:a,nodeId:t}){return{children:[],id:t??n("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:a}}}export{i as o};
@@ -1 +1 @@
1
- import{W as a}from"./CollapsableReportTable-ULd7PQST-zRaWsZKw.js";const t={0:"section-row",1:"root-class-row",2:"sub-class-row",3:"leaf-class-row"};function l({title:o,balances:e,config:s,nodeId:n}){return{children:[],id:n??a("headers_loading_in_progress",[],o),isLastNode:!1,reportElementData:{element:{kind:"headers_loading_in_progress",title:"",data:e,numOfBalances:e.length},config:s}}}export{l as d,t as l};
1
+ import{W as a}from"./CollapsableReportTable-CuZSfiJ--DndUaoHT.js";const t={0:"section-row",1:"root-class-row",2:"sub-class-row",3:"leaf-class-row"};function l({title:o,balances:e,config:s,nodeId:n}){return{children:[],id:n??a("headers_loading_in_progress",[],o),isLastNode:!1,reportElementData:{element:{kind:"headers_loading_in_progress",title:"",data:e,numOfBalances:e.length},config:s}}}export{l as d,t as l};
@@ -1,4 +1,4 @@
1
- import{e as s,j as i,p as c,_ as d,c as p,o as n,C as o}from"./index-b-ZazAq5.js";import{b as l,n as t}from"./vendor-rkTZJa59.js";const a={width:new o(300,770,770),height:new o(195,500,500)},h=t.div`
1
+ import{e as s,j as i,r as c,Z as d,g as p,o as n,C as o}from"./index-CjrcOwMA.js";import{b as l,n as t}from"./vendor-rkTZJa59.js";const a={width:new o(300,770,770),height:new o(195,500,500)},h=t.div`
2
2
  position: fixed;
3
3
  top: 0;
4
4
  left: 0;
@@ -1 +1 @@
1
- import{p as m}from"./chartTypes-Cknnnhq_-DeXPyHuq.js";const e=(a,o,c)=>n(a,o,c.balances),t=(a,o,c)=>e(a,o,c),b=(a,o,c)=>e(a,o,c),n=(a,o,c)=>c.map(p=>({key:m(a,o),balance:p}));export{e as c,b as h,t as i,n as o};
1
+ import{p as m}from"./chartTypes-BTkUFFIf-HJpcoXWZ.js";const e=(a,o,c)=>n(a,o,c.balances),t=(a,o,c)=>e(a,o,c),b=(a,o,c)=>e(a,o,c),n=(a,o,c)=>c.map(p=>({key:m(a,o),balance:p}));export{e as c,b as h,t as i,n as o};
@@ -1 +1 @@
1
- import{M as h,l as u}from"./index-b-ZazAq5.js";function E(o,t,c,s,D){const l=D??!1,i=[];let f=[];if(t.forEach(r=>{const n=s[r];n!=null&&(i.push(n),r===c&&(f=n))}),i.length>0&&f.length>0){const r=f.map(a=>({startDate:a.balance.startDate,endDate:a.balance.endDate,label:y(o,a.balance,a.balance.balanceTimeFrame)})),n=[];for(let a=0;a<r.length;a++){const m={};i.forEach(b=>{if(b.length>0){const e=b[a];if(e!=null){const Y=l?e.balance.totalBalance:e.balance.balance,g=l?e.balance.totalForecast:e.balance.forecast,p=l?e.balance.totalPercentValue:e.balance.percentValue,k=e.balance.forecastPercentValue,d=e.key.endsWith("_forecast")?g:Y;if(d!=null){const w=e.key.endsWith("_forecast")?k:p;m[e.key]={amount:d,percentValue:w}}}}}),n.push({timeLabel:r[a],record:m})}return{timeseries:r,recordByTimeseries:n,orderedKeys:t}}else return}const y=(o,t,c)=>{const{dateFormat:{visual:s}}=h.getLocalizedStrings();switch(c){case"month":return`${u.formatZeniDate(t.startDate,s.MMMYYFormat,o)}`;case"quarter":return`${h.getLocalizedStrings().quarterPrefix}${u.formatZeniDate(t.startDate,s.QYYYYformat,o)}`;case"year":return`${u.formatZeniDate(t.startDate,s.YYYYformat,o)}`;case"free_range":case"week":throw new Error("free_range/week dates are not supported!")}};export{E as V};
1
+ import{B as h,l as u}from"./index-CjrcOwMA.js";function E(o,t,c,s,D){const l=D??!1,i=[];let f=[];if(t.forEach(r=>{const n=s[r];n!=null&&(i.push(n),r===c&&(f=n))}),i.length>0&&f.length>0){const r=f.map(a=>({startDate:a.balance.startDate,endDate:a.balance.endDate,label:y(o,a.balance,a.balance.balanceTimeFrame)})),n=[];for(let a=0;a<r.length;a++){const m={};i.forEach(b=>{if(b.length>0){const e=b[a];if(e!=null){const Y=l?e.balance.totalBalance:e.balance.balance,g=l?e.balance.totalForecast:e.balance.forecast,p=l?e.balance.totalPercentValue:e.balance.percentValue,k=e.balance.forecastPercentValue,d=e.key.endsWith("_forecast")?g:Y;if(d!=null){const w=e.key.endsWith("_forecast")?k:p;m[e.key]={amount:d,percentValue:w}}}}}),n.push({timeLabel:r[a],record:m})}return{timeseries:r,recordByTimeseries:n,orderedKeys:t}}else return}const y=(o,t,c)=>{const{dateFormat:{visual:s}}=h.getLocalizedStrings();switch(c){case"month":return`${u.formatZeniDate(t.startDate,s.MMMYYFormat,o)}`;case"quarter":return`${h.getLocalizedStrings().quarterPrefix}${u.formatZeniDate(t.startDate,s.QYYYYformat,o)}`;case"year":return`${u.formatZeniDate(t.startDate,s.YYYYformat,o)}`;case"free_range":case"week":throw new Error("free_range/week dates are not supported!")}};export{E as V};
@@ -1 +1 @@
1
- import{c as r}from"./index-b-ZazAq5.js";const g=(e,h)=>`${e}${h}`,o=[{light:r.graphColor34Dark,dark:r.graphColor34Dark,headerBackgroundLight:g(r.graphColor34Light,"99"),headerBackgroundDark:g(r.graphColor34Light,""),highlightsBackgroundLight:g(r.graphColor34,"14"),highlightsBackgroundDark:g(r.graphColor34,"1F")},{light:r.graphColor16Dark,dark:r.graphColor16Dark,headerBackgroundLight:g(r.graphColor16Light,"99"),headerBackgroundDark:g(r.graphColor16Light,""),highlightsBackgroundLight:g(r.graphColor16Light,"29"),highlightsBackgroundDark:g(r.graphColor16Light,"29")}],d=(e,h)=>{const a=o[e%o.length];return{headerBackground:h.mode==="light"?a.headerBackgroundLight:a.headerBackgroundDark,fundNameColor:h.mode==="light"?a.light:a.dark,fundSubNameColor:h.mode==="light"?a.light:a.dark,highlightsBackground:h.mode==="light"?a.highlightsBackgroundLight:a.highlightsBackgroundDark}},l=e=>{if(e!=null){const{code:h,name:a}=e;return{value:a,color:t(h),code:h}}},t=e=>{switch(e){case"initiated":case"scheduled":return r.neutralGrey1Light;case"canceled":case"delayed":case"failed":case"problem":return r.important;case"completed":return r.success;case"mfa_required":case"consent_required":default:return r.neutralGrey1Light}};export{l as d,d as l};
1
+ import{g as r}from"./index-CjrcOwMA.js";const g=(e,h)=>`${e}${h}`,o=[{light:r.graphColor34Dark,dark:r.graphColor34Dark,headerBackgroundLight:g(r.graphColor34Light,"99"),headerBackgroundDark:g(r.graphColor34Light,""),highlightsBackgroundLight:g(r.graphColor34,"14"),highlightsBackgroundDark:g(r.graphColor34,"1F")},{light:r.graphColor16Dark,dark:r.graphColor16Dark,headerBackgroundLight:g(r.graphColor16Light,"99"),headerBackgroundDark:g(r.graphColor16Light,""),highlightsBackgroundLight:g(r.graphColor16Light,"29"),highlightsBackgroundDark:g(r.graphColor16Light,"29")}],d=(e,h)=>{const a=o[e%o.length];return{headerBackground:h.mode==="light"?a.headerBackgroundLight:a.headerBackgroundDark,fundNameColor:h.mode==="light"?a.light:a.dark,fundSubNameColor:h.mode==="light"?a.light:a.dark,highlightsBackground:h.mode==="light"?a.highlightsBackgroundLight:a.highlightsBackgroundDark}},l=e=>{if(e!=null){const{code:h,name:a}=e;return{value:a,color:t(h),code:h}}},t=e=>{switch(e){case"initiated":case"scheduled":return r.neutralGrey1Light;case"canceled":case"delayed":case"failed":case"problem":return r.important;case"completed":return r.success;case"mfa_required":case"consent_required":default:return r.neutralGrey1Light}};export{l as d,d as l};
@@ -1,6 +1,6 @@
1
- import{el as Se,cm as Le,cu as ee,e as re,u as Re,M as de,j as t,eH as ke,cv as Pe,_ as S,b2 as Ne,o as n,C as Ie,dj as Me,b3 as L,bA as ce,er as te,b0 as ne,a3 as De,d5 as Ee,eq as Fe,b as oe,d as pe,v as k,aD as Ve,eI as Te,c as g,cw as _e,n as me,ez as ze,B as ue,ae as Be,af as Ge,a9 as X,dv as se,dw as Ae,dx as We,eJ as He,dF as Je,dG as ie,dH as le,dI as Ze,dJ as Ue}from"./index-b-ZazAq5.js";import{b as f,n as i,j as Xe}from"./vendor-rkTZJa59.js";const qe=i(me)`
1
+ import{el as Se,cm as Le,cu as ee,e as re,u as Re,B as de,j as t,eH as ke,cv as Pe,Z as S,b2 as Ie,o as n,C as Ne,dj as De,b3 as L,bA as ce,er as te,b0 as ne,a3 as Ee,d5 as Me,eq as Ve,b as oe,c as pe,$ as k,aD as Fe,eI as Te,g,cw as _e,k as me,ez as ze,n as ue,ae as Be,af as Ae,a9 as U,dv as se,dw as Ge,dx as We,eJ as He,dF as Je,dG as ie,dH as le,dI as Ze,dJ as Qe}from"./index-CjrcOwMA.js";import{b as f,n as i,j as Ue}from"./vendor-rkTZJa59.js";const qe=i(me)`
2
2
  margin-left: ${e=>!e.hasChildren&&e.depth!==0?n.sp3:n.sp2};
3
- `,Qe=i(He)``,Ye=i.div`
3
+ `,Xe=i(He)``,Ye=i.div`
4
4
  display: flex;
5
5
  height: ${e=>e.isRecommended?"auto":n.sp6};
6
6
  align-items: center;
@@ -13,7 +13,7 @@ import{el as Se,cm as Le,cu as ee,e as re,u as Re,M as de,j as t,eH as ke,cv as
13
13
  width: ${n.sp3};
14
14
  `,tt=i.div`
15
15
  display: flex;
16
- `,nt=({ancestorMetadata:e,depth:s,name:a})=>t.jsx(t.Fragment,{children:s>0&&e!=null?[...Array(s).keys()].map(d=>{const l=e[d];return l==null?null:t.jsxs(tt,{children:[l.depth===0?t.jsx(se,{depth:l.depth}):null,l.depth>=1?l.hasSibling&&!l.isLastNode?t.jsx(Ae,{},d):t.jsx(We,{}):null,l.depth>=1?t.jsx(se,{depth:l.depth}):null]},a+d)}):null}),ot=({depth:e,isLastNode:s,isLeaf:a,hasSiblings:d,hasChildren:l,collapsed:p,isOptionRecommended:h})=>{let u=t.jsx(et,{});return h===!0||(e===0&&l&&(u=t.jsx(Je,{collapsed:p})),e>0&&(l&&!d&&s&&(u=t.jsx(ie,{collapsed:p})),a&&d&&s&&(u=t.jsx(le,{})),!l&&a&&!d&&!s&&(u=t.jsx(Ze,{})),l&&d&&s&&(u=t.jsx(ie,{collapsed:p})),l&&!s&&(u=t.jsx(Ue,{collapsed:p})),s&&a&&(u=t.jsx(le,{})))),u},st=({depth:e,isLastNode:s,isLeaf:a,hasSiblings:d,hasChildren:l,collapsed:p,isOptionRecommended:h})=>t.jsx(Ke,{children:t.jsx(ot,{depth:e,isLastNode:s,isLeaf:a,hasSiblings:d,hasChildren:l,collapsed:p,isOptionRecommended:h})});function it(e){const{displayName:s}=e;return e.depth>4&&console.warn("cannot handle depth more than 4"),t.jsxs(Ye,{isRecommended:e.isOptionRecommended??!1,children:[e.isOptionRecommended===!0?null:t.jsx(nt,{ancestorMetadata:e.subAccountAncestorMetadata,depth:e.depth,name:e.displayName}),e.isOptionRecommended===!0?null:t.jsx(st,{...e}),e.isOptionRecommended===!0?t.jsx(Qe,{children:s}):t.jsx(qe,{hasChildren:e.hasChildren,depth:e.depth,children:s})]})}const he={infoLabel:new oe("extraSmallRegular","smallRegular"),selectFieldInput:new oe("smallRegular","standardRegular")},lt={menuMinWidth:new Ie(343,400,428)},{common:{texts:{confidence:at},strings:{empty:T}},expenseAutomation:{accountRecon:{review:{zeniGptRecommendation:rt}}}}=de.getLocalizedStrings(),dt=(e,s,a,d,l,p,h)=>e.isOptionRecommended!==!0||!e.chainOfThought||e.chainOfThought.length===0?null:{recommendations:[{id:e.id??e.value,name:e.label??e.displayName??e.value,reason:e.recommendationReason??e.additionalNote??rt,cot:e.chainOfThought,isSelected:s,source:e.source,type:p,confidencePercentage:e.confidencePercentage}],isThoughtProcessOnly:!0,existingOption:{label:void 0,value:void 0},pageSource:d,transactionStatus:l,isCOTEnabled:a,onPrimaryRecommendationConfirmationClick:()=>{},onAlternateRecommendationConfirmationClick:()=>{},onAlternateRecommendationExpandClick:()=>{},width:h},tn=({name:e,registerOptions:s,defaultValue:a,isDisabled:d,style:l,placeholder:p,autoFocus:h=!1,menuIsOpen:u,pageSource:x,type:r,transactionStatus:m,showEmptyState:w,additionalLabelInfo:O,customStyleConfig:$,customPlaceholderString:C,allowEmpty:M=!0,tooltip:_,noOptionsMessage:z,customPlaceholderColor:B,menuPortal:G,showCOT:A=!0,tooltipPosition:W="right-start",tooltipWidth:H,disableCurrentOption:P,valueToInfo:R,valueToId:j,onMenuClose:D,getStyles:E,menuPlacement:J="auto",onCOTView:Z})=>{const{control:U,formState:{dirtyFields:b,errors:F}}=Le(),ge=ee(F,e??""),q=re(),V=Re(),[fe,xe]=f.useState(!1),ye=ee(b,e),{dropDowns:Q,common:{strings:{empty:N}}}=de.getLocalizedStrings(),Y=f.useCallback(o=>({value:o.value,label:o.label??o.displayName,info:R?.(o.value)??N,id:j?.(o.value)??null,isDisabled:o.isDisabled,additionalNote:o?.additionalNote,isOptionRecommended:o.isOptionRecommended,recommendedOptionIndex:o.recommendedOptionIndex,displayName:o.displayName,depth:o.depth,isLeaf:o.isLeaf,isLastNode:o.isLastNode,hasSiblings:o.isLastNode,hasChildren:o.hasChildren,collapsed:o.collapsed,numberOfLines:o.numberOfLines,coaId:o.coaId,ancestorMetadata:o.ancestorMetadata,chainOfThought:o.chainOfThought,confidencePercentage:o.confidencePercentage,recommendationReason:o.recommendationReason,source:o.source}),[R,j,N]),$e=f.useCallback(o=>o.map(c=>({label:c.label,options:c.options.map(v=>Y(v))})),[Y]),be=f.useCallback(o=>{if(o==null||!o)return;let c=[];return a.allOptions.forEach(v=>{c=c.concat(v.options)}),{value:o,label:c.find(v=>v.value===o)?.label??o,info:R?.(o)??N}},[a.allOptions,R,N]);if(w===!0&&fe===!1&&ye===!1&&!a.selectedOption&&d==null)return t.jsx(ke,{style:l,buttonTitle:Q.add,onClick:()=>xe(!0),name:e});const we=a.allOptions.some(o=>o.options.some(c=>c.isOptionRecommended===!0)),Oe={...$,container:(o,c)=>({...o,width:"100%",...l,...E?.(c.selectProps.menuIsOpen)||{}}),menu:(o,c)=>({...o,backgroundColor:V.colors.grey5,borderRadius:n.sp1,boxShadow:`${n.sp0} 2px ${n.sp2} ${V.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:2,width:"100%",minWidth:we?lt.menuMinWidth.valuePx(q):"300px",margin:0,...$?.menu?.(o,c)}),control:(o,c)=>({...o,height:n.sp6,...$?.control?.(o,c)}),valueContainer:(o,c)=>({...o,padding:0,paddingLeft:10,justifyContent:c.selectProps.menuIsOpen===!1?"flex-end":"flex-start",...$?.valueContainer?.(o,c)}),singleValue:(o,c)=>({...o,color:V.colors.primary,...$?.singleValue?.(o,c)}),menuList:(o,c)=>({...o,borderRadius:4,...$?.menuList?.(o,c)}),group:o=>({...o,paddingBottom:0,"&:first-of-type":{paddingTop:n.sp0},"&:not(:first-of-type)":{paddingTop:n.sp1},"&:not(:last-of-type)":{paddingBottom:n.sp1,borderBottom:`1px solid ${V.colors.grey3}`}}),menuPortal:(o,c)=>({...o,...$?.menuPortal?.(o,c)})},Ce=z??{line1:Q.noOptions.standard,line2:N},je={hasError:ge,noOptions:Ce,customPlaceholderColor:B,customPlaceholderString:C};return t.jsx(Pe,{name:e,control:U,defaultValue:a,rules:s,"data-testid":S("grouped-single-select-field",e),render:({field:{onChange:o,onBlur:c,value:v,name:K,ref:ve}})=>{const I=v;return t.jsxs(t.Fragment,{children:[f.createElement(Ne,{...je,menuPortalTarget:G,ref:ve,name:K,isMulti:!1,isSearchable:!0,isClearable:!0,defaultValue:be(a.selectedOption??I.selectedOption),autoFocus:h,controlShouldRenderValue:!0,placeholder:p,options:$e(a?.allOptions??I.allOptions),onChange:y=>{y==null||y?.value!=null&&I?.selectedOption===y.value?M===!0&&o({selectedOption:void 0,allOptions:I.allOptions}):o({selectedOption:y.value,allOptions:I.allOptions})},key:Me(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"grouped-single-select-field",onBlur:c,menuPlacement:J,menuIsOpen:u,maxMenuHeight:288,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,onMenuClose:D,closeMenuOnScroll:!1,components:{Control:pt,Option:y=>yt(y,A,M,x,r,m,W,H,Z),Input:ut,Group:ht,GroupHeading:gt,NoOptionsMessage:ct,SingleValue:y=>ft(y,_),ValueContainer:y=>mt(y),DropdownIndicator:Bt,IndicatorSeparator:Gt,Placeholder:xt,ClearIndicator:At},hideSelectedOptions:!1,styles:Oe,isDisabled:d!=null,isOptionDisabled:y=>P?.(y.value)??!1,"data-testid":S("grouped-single-select",K)}),O!=null?t.jsx(Dt,{size:q,children:O}):null]})}})},ct=e=>{const s=e.selectProps.noOptions;return t.jsxs(bt,{children:[t.jsx(ae,{children:s?.line1}),t.jsx(ae,{children:s?.line2})]})},pt=e=>{const{menuIsOpen:s,isFocused:a,isDisabled:d,selectProps:l,data:p,options:h}=e,{value:u,hasError:x,customPlaceholderColor:r,customPlaceholderString:m}=l;let w=[];h.forEach(C=>{w=w.concat(C.options)});const O=w.find(C=>C.value===p?.value),$=re();return t.jsx(St,{title:m!=null&&u!=null?u.label:void 0,windowSize:$,menuIsOpen:s,isFocused:a,customPlaceholderColor:r,isDisabled:d,selectedValue:u,hasError:x,customPlaceholderString:m,isRecommended:O?.isOptionRecommended,"data-testid":S("grouped-single-select-field-control",h[0]?.label),children:t.jsx(L.Control,{...e,className:"select-control",children:e.children})})},mt=e=>t.jsx(L.ValueContainer,{...e,className:"select-value-container",children:e.children}),ut=e=>{const{selectProps:s,innerRef:a,innerProps:d}=e,{placeholder:l,value:p,customPlaceholderString:h,menuIsOpen:u,onMenuOpen:x,hasError:r}=s;return h!=null&&p==null&&u===!1?t.jsx(Zt,{ref:a,...d,onClick:x,style:{display:"flex",width:"100%",height:"100%",alignItems:"center",justifyContent:"flex-start",cursor:"pointer"},className:"custom-placeholder","data-testid":S("grouped-single-select-field-input",s.name),children:t.jsxs(Wt,{children:[t.jsx(Ht,{hasError:r}),t.jsx(Jt,{hasError:r,children:h})]})}):t.jsx(L.Input,{...e,autoComplete:"new-password",autoFocus:u,placeholder:p==null?l:void 0,children:e.children})},ht=e=>t.jsx(L.Group,{...e,children:e.children}),gt=e=>{const[s,a]=f.useState(!0);return t.jsx(Et,{className:"group-heading-container",isGroupOpen:s,onClick:()=>a(!s),"data-testid":S("group-heading",e.data.label),children:t.jsxs(L.GroupHeading,{...e,children:[t.jsx(Ft,{isGroupOpen:s,children:t.jsx(wt,{})}),e.children]})})},ft=({children:e,...s},a)=>{const d=a==null||s.selectProps.menuIsOpen===!0?e:a.sticky===!0?t.jsx($t,{title:a.text,children:e}):t.jsx(ce,{style:{padding:`12px ${n.sp3}`},title:a.text,placement:"top",children:e});return t.jsx(L.SingleValue,{...s,children:t.jsx(Ot,{children:d})})},xt=()=>null,yt=(e,s,a,d,l,p,h,u,x)=>{const{data:r,isSelected:m,isDisabled:w,isFocused:O,selectProps:$}=e,{customPlaceholderString:C}=$,{depth:M,isLeaf:_,isLastNode:z,hasSiblings:B,hasChildren:G,collapsed:A,displayName:W,ancestorMetadata:H,label:P}=r,R=H,j=dt(r,m,s,d,p,l,u),D=t.jsx(Rt,{title:C!=null?e.label:void 0,className:"select-option-wrapper",isFocused:O,isSelected:m,isDisabled:w,isOptionRecommended:!!r?.isOptionRecommended,showBottomBorder:r?.additionalNote==null||r?.isOptionRecommended!==!0,allowEmpty:a,"data-testid":S("grouped-single-select-option",P),children:t.jsx(L.Option,{...e,className:"select-option",children:t.jsxs(kt,{isOptionRecommended:r?.isOptionRecommended,children:[!!r?.isOptionRecommended&&t.jsx(Tt,{children:t.jsx(_t,{})}),t.jsxs(It,{children:[t.jsxs(Mt,{isSelected:m,isOptionRecommended:r?.isOptionRecommended,children:[t.jsx(Pt,{isSelected:m,isDisabled:w,children:t.jsx(it,{displayName:W??P,depth:M,isLastNode:z,isLeaf:_,hasSiblings:B,collapsed:A,hasChildren:G,isOptionRecommended:r?.isOptionRecommended,subAccountAncestorMetadata:R})}),O===!0&&r.coaId!=null&&r?.info!=null&&t.jsx(zt,{children:r.coaId??r?.info})]}),r?.isOptionRecommended&&r.additionalNote?t.jsx(Nt,{isSelected:m,isDisabled:w,children:r.additionalNote}):null]}),t.jsxs(Ut,{children:[r?.isOptionRecommended?t.jsxs(Xt,{children:[t.jsx(qt,{confidence:r.confidencePercentage,children:te(r.confidencePercentage)}),t.jsx(Qt,{className:"confidence-label",children:at})]}):null,m===!0&&r?.additionalNote==null?t.jsxs(Vt,{children:[t.jsx(ne,{className:"right-tick-icon",height:n.sp3,width:n.sp3}),t.jsx(De,{className:"close-tick-icon",height:n.sp3,width:n.sp3,"data-testid":S("grouped-single-select-option-cancel",P)})]}):r?.isOptionRecommended===!0?m===!0?t.jsx(Yt,{children:t.jsx(ne,{height:n.sp3,width:n.sp3,style:{transform:"rotate(0deg)"}})}):t.jsx(Lt,{}):null]})]})})}),E=Ee().analytics,J=f.useCallback(()=>{const Z=(e.value!=null&&e.value!==T?e?.getValue(e.value):null)?.[0]?.label??T,U=r.recommendedOptionIndex===1?"alternative":"primary",b=j?.recommendations[0],F=b?.cot??[];E.trackTransactionCotDropdownView({recommendationType:U,recommendationFor:l,currentValue:Z,recommendation:b?.name??T,recommendationCot:F,isRecommendationCotAvailable:F.length>0,recommendationReason:b?.reason??T,recommendationConfidenceLevel:Fe(te(b?.confidencePercentage).toLocaleLowerCase()),transactionPage:d,transactionCurrentStatus:p,recommendationConfidencePercentage:b?.confidencePercentage??null}),x!=null&&b!=null&&b.cot.length>0&&x(l,b.source)},[E,j,d,p,l,e,r.recommendedOptionIndex]);return j!=null&&r?.isOptionRecommended&&s?t.jsx(ce,{variant:"chain-of-thought",data:j,placement:h??"right-start",enterDelay:300,leaveDelay:100,offset:[0,0],position:"static",display:"block",style:{width:"100%",height:"100%",marginLeft:"0px",marginRight:"0px"},onOpen:J,children:D}):D},$t=({children:e,title:s})=>t.jsxs(Ct,{children:[t.jsxs(jt,{children:[s,t.jsx(vt,{})]}),e]}),bt=i.div`
16
+ `,nt=({ancestorMetadata:e,depth:s,name:a})=>t.jsx(t.Fragment,{children:s>0&&e!=null?[...Array(s).keys()].map(d=>{const l=e[d];return l==null?null:t.jsxs(tt,{children:[l.depth===0?t.jsx(se,{depth:l.depth}):null,l.depth>=1?l.hasSibling&&!l.isLastNode?t.jsx(Ge,{},d):t.jsx(We,{}):null,l.depth>=1?t.jsx(se,{depth:l.depth}):null]},a+d)}):null}),ot=({depth:e,isLastNode:s,isLeaf:a,hasSiblings:d,hasChildren:l,collapsed:p,isOptionRecommended:h})=>{let u=t.jsx(et,{});return h===!0||(e===0&&l&&(u=t.jsx(Je,{collapsed:p})),e>0&&(l&&!d&&s&&(u=t.jsx(ie,{collapsed:p})),a&&d&&s&&(u=t.jsx(le,{})),!l&&a&&!d&&!s&&(u=t.jsx(Ze,{})),l&&d&&s&&(u=t.jsx(ie,{collapsed:p})),l&&!s&&(u=t.jsx(Qe,{collapsed:p})),s&&a&&(u=t.jsx(le,{})))),u},st=({depth:e,isLastNode:s,isLeaf:a,hasSiblings:d,hasChildren:l,collapsed:p,isOptionRecommended:h})=>t.jsx(Ke,{children:t.jsx(ot,{depth:e,isLastNode:s,isLeaf:a,hasSiblings:d,hasChildren:l,collapsed:p,isOptionRecommended:h})});function it(e){const{displayName:s}=e;return e.depth>4&&console.warn("cannot handle depth more than 4"),t.jsxs(Ye,{isRecommended:e.isOptionRecommended??!1,children:[e.isOptionRecommended===!0?null:t.jsx(nt,{ancestorMetadata:e.subAccountAncestorMetadata,depth:e.depth,name:e.displayName}),e.isOptionRecommended===!0?null:t.jsx(st,{...e}),e.isOptionRecommended===!0?t.jsx(Xe,{children:s}):t.jsx(qe,{hasChildren:e.hasChildren,depth:e.depth,children:s})]})}const he={infoLabel:new oe("extraSmallRegular","smallRegular"),selectFieldInput:new oe("smallRegular","standardRegular")},lt={menuMinWidth:new Ne(343,400,428)},{common:{texts:{confidence:at},strings:{empty:T}},expenseAutomation:{accountRecon:{review:{zeniGptRecommendation:rt}}}}=de.getLocalizedStrings(),dt=(e,s,a,d,l,p,h)=>e.isOptionRecommended!==!0||!e.chainOfThought||e.chainOfThought.length===0?null:{recommendations:[{id:e.id??e.value,name:e.label??e.displayName??e.value,reason:e.recommendationReason??e.additionalNote??rt,cot:e.chainOfThought,isSelected:s,source:e.source,type:p,confidencePercentage:e.confidencePercentage}],isThoughtProcessOnly:!0,existingOption:{label:void 0,value:void 0},pageSource:d,transactionStatus:l,isCOTEnabled:a,onPrimaryRecommendationConfirmationClick:()=>{},onAlternateRecommendationConfirmationClick:()=>{},onAlternateRecommendationExpandClick:()=>{},width:h},tn=({name:e,registerOptions:s,defaultValue:a,isDisabled:d,style:l,placeholder:p,autoFocus:h=!1,menuIsOpen:u,pageSource:x,type:r,transactionStatus:m,showEmptyState:w,additionalLabelInfo:O,customStyleConfig:$,customPlaceholderString:j,allowEmpty:D=!0,tooltip:_,noOptionsMessage:z,customPlaceholderColor:B,menuPortal:A,showCOT:G=!0,tooltipPosition:W="right-start",tooltipWidth:H,disableCurrentOption:P,valueToInfo:R,valueToId:C,onMenuClose:E,getStyles:M,menuPlacement:J="auto",onCOTView:Z})=>{const{control:Q,formState:{dirtyFields:b,errors:V}}=Le(),ge=ee(V,e??""),q=re(),F=Re(),[fe,xe]=f.useState(!1),ye=ee(b,e),{dropDowns:X,common:{strings:{empty:I}}}=de.getLocalizedStrings(),Y=f.useCallback(o=>({value:o.value,label:o.label??o.displayName,info:R?.(o.value)??I,id:C?.(o.value)??null,isDisabled:o.isDisabled,additionalNote:o?.additionalNote,isOptionRecommended:o.isOptionRecommended,recommendedOptionIndex:o.recommendedOptionIndex,displayName:o.displayName,depth:o.depth,isLeaf:o.isLeaf,isLastNode:o.isLastNode,hasSiblings:o.isLastNode,hasChildren:o.hasChildren,collapsed:o.collapsed,numberOfLines:o.numberOfLines,coaId:o.coaId,ancestorMetadata:o.ancestorMetadata,chainOfThought:o.chainOfThought,confidencePercentage:o.confidencePercentage,recommendationReason:o.recommendationReason,source:o.source}),[R,C,I]),$e=f.useCallback(o=>o.map(c=>({label:c.label,options:c.options.map(v=>Y(v))})),[Y]),be=f.useCallback(o=>{if(o==null||!o)return;let c=[];return a.allOptions.forEach(v=>{c=c.concat(v.options)}),{value:o,label:c.find(v=>v.value===o)?.label??o,info:R?.(o)??I}},[a.allOptions,R,I]);if(w===!0&&fe===!1&&ye===!1&&!a.selectedOption&&d==null)return t.jsx(ke,{style:l,buttonTitle:X.add,onClick:()=>xe(!0),name:e});const we=a.allOptions.some(o=>o.options.some(c=>c.isOptionRecommended===!0)),Oe={...$,container:(o,c)=>({...o,width:"100%",...l,...M?.(c.selectProps.menuIsOpen)||{}}),menu:(o,c)=>({...o,backgroundColor:F.colors.grey5,borderRadius:n.sp1,boxShadow:`${n.sp0} 2px ${n.sp2} ${F.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:2,width:"100%",minWidth:we?lt.menuMinWidth.valuePx(q):"300px",margin:0,...$?.menu?.(o,c)}),control:(o,c)=>({...o,height:n.sp6,...$?.control?.(o,c)}),valueContainer:(o,c)=>({...o,padding:0,paddingLeft:10,justifyContent:c.selectProps.menuIsOpen===!1?"flex-end":"flex-start",...$?.valueContainer?.(o,c)}),singleValue:(o,c)=>({...o,color:F.colors.primary,...$?.singleValue?.(o,c)}),menuList:(o,c)=>({...o,borderRadius:4,...$?.menuList?.(o,c)}),group:o=>({...o,paddingBottom:0,"&:first-of-type":{paddingTop:n.sp0},"&:not(:first-of-type)":{paddingTop:n.sp1},"&:not(:last-of-type)":{paddingBottom:n.sp1,borderBottom:`1px solid ${F.colors.grey3}`}}),menuPortal:(o,c)=>({...o,...$?.menuPortal?.(o,c)})},je=z??{line1:X.noOptions.standard,line2:I},Ce={hasError:ge,noOptions:je,customPlaceholderColor:B,customPlaceholderString:j};return t.jsx(Pe,{name:e,control:Q,defaultValue:a,rules:s,"data-testid":S("grouped-single-select-field",e),render:({field:{onChange:o,onBlur:c,value:v,name:K,ref:ve}})=>{const N=v;return t.jsxs(t.Fragment,{children:[f.createElement(Ie,{...Ce,menuPortalTarget:A,ref:ve,name:K,isMulti:!1,isSearchable:!0,isClearable:!0,defaultValue:be(a.selectedOption??N.selectedOption),autoFocus:h,controlShouldRenderValue:!0,placeholder:p,options:$e(a?.allOptions??N.allOptions),onChange:y=>{y==null||y?.value!=null&&N?.selectedOption===y.value?D===!0&&o({selectedOption:void 0,allOptions:N.allOptions}):o({selectedOption:y.value,allOptions:N.allOptions})},key:De(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"grouped-single-select-field",onBlur:c,menuPlacement:J,menuIsOpen:u,maxMenuHeight:288,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,onMenuClose:E,closeMenuOnScroll:!1,components:{Control:pt,Option:y=>yt(y,G,D,x,r,m,W,H,Z),Input:ut,Group:ht,GroupHeading:gt,NoOptionsMessage:ct,SingleValue:y=>ft(y,_),ValueContainer:y=>mt(y),DropdownIndicator:Bt,IndicatorSeparator:At,Placeholder:xt,ClearIndicator:Gt},hideSelectedOptions:!1,styles:Oe,isDisabled:d!=null,isOptionDisabled:y=>P?.(y.value)??!1,"data-testid":S("grouped-single-select",K)}),O!=null?t.jsx(Et,{size:q,children:O}):null]})}})},ct=e=>{const s=e.selectProps.noOptions;return t.jsxs(bt,{children:[t.jsx(ae,{children:s?.line1}),t.jsx(ae,{children:s?.line2})]})},pt=e=>{const{menuIsOpen:s,isFocused:a,isDisabled:d,selectProps:l,data:p,options:h}=e,{value:u,hasError:x,customPlaceholderColor:r,customPlaceholderString:m}=l;let w=[];h.forEach(j=>{w=w.concat(j.options)});const O=w.find(j=>j.value===p?.value),$=re();return t.jsx(St,{title:m!=null&&u!=null?u.label:void 0,windowSize:$,menuIsOpen:s,isFocused:a,customPlaceholderColor:r,isDisabled:d,selectedValue:u,hasError:x,customPlaceholderString:m,isRecommended:O?.isOptionRecommended,"data-testid":S("grouped-single-select-field-control",h[0]?.label),children:t.jsx(L.Control,{...e,className:"select-control",children:e.children})})},mt=e=>t.jsx(L.ValueContainer,{...e,className:"select-value-container",children:e.children}),ut=e=>{const{selectProps:s,innerRef:a,innerProps:d}=e,{placeholder:l,value:p,customPlaceholderString:h,menuIsOpen:u,onMenuOpen:x,hasError:r}=s;return h!=null&&p==null&&u===!1?t.jsx(Zt,{ref:a,...d,onClick:x,style:{display:"flex",width:"100%",height:"100%",alignItems:"center",justifyContent:"flex-start",cursor:"pointer"},className:"custom-placeholder","data-testid":S("grouped-single-select-field-input",s.name),children:t.jsxs(Wt,{children:[t.jsx(Ht,{hasError:r}),t.jsx(Jt,{hasError:r,children:h})]})}):t.jsx(L.Input,{...e,autoComplete:"new-password",autoFocus:u,placeholder:p==null?l:void 0,children:e.children})},ht=e=>t.jsx(L.Group,{...e,children:e.children}),gt=e=>{const[s,a]=f.useState(!0);return t.jsx(Mt,{className:"group-heading-container",isGroupOpen:s,onClick:()=>a(!s),"data-testid":S("group-heading",e.data.label),children:t.jsxs(L.GroupHeading,{...e,children:[t.jsx(Vt,{isGroupOpen:s,children:t.jsx(wt,{})}),e.children]})})},ft=({children:e,...s},a)=>{const d=a==null||s.selectProps.menuIsOpen===!0?e:a.sticky===!0?t.jsx($t,{title:a.text,children:e}):t.jsx(ce,{style:{padding:`12px ${n.sp3}`},title:a.text,placement:"top",children:e});return t.jsx(L.SingleValue,{...s,children:t.jsx(Ot,{children:d})})},xt=()=>null,yt=(e,s,a,d,l,p,h,u,x)=>{const{data:r,isSelected:m,isDisabled:w,isFocused:O,selectProps:$}=e,{customPlaceholderString:j}=$,{depth:D,isLeaf:_,isLastNode:z,hasSiblings:B,hasChildren:A,collapsed:G,displayName:W,ancestorMetadata:H,label:P}=r,R=H,C=dt(r,m,s,d,p,l,u),E=t.jsx(Rt,{title:j!=null?e.label:void 0,className:"select-option-wrapper",isFocused:O,isSelected:m,isDisabled:w,isOptionRecommended:!!r?.isOptionRecommended,showBottomBorder:r?.additionalNote==null||r?.isOptionRecommended!==!0,allowEmpty:a,"data-testid":S("grouped-single-select-option",P),children:t.jsx(L.Option,{...e,className:"select-option",children:t.jsxs(kt,{isOptionRecommended:r?.isOptionRecommended,children:[!!r?.isOptionRecommended&&t.jsx(Tt,{children:t.jsx(_t,{})}),t.jsxs(Nt,{children:[t.jsxs(Dt,{isSelected:m,isOptionRecommended:r?.isOptionRecommended,children:[t.jsx(Pt,{isSelected:m,isDisabled:w,children:t.jsx(it,{displayName:W??P,depth:D,isLastNode:z,isLeaf:_,hasSiblings:B,collapsed:G,hasChildren:A,isOptionRecommended:r?.isOptionRecommended,subAccountAncestorMetadata:R})}),O===!0&&r.coaId!=null&&r?.info!=null&&t.jsx(zt,{children:r.coaId??r?.info})]}),r?.isOptionRecommended&&r.additionalNote?t.jsx(It,{isSelected:m,isDisabled:w,children:r.additionalNote}):null]}),t.jsxs(Qt,{children:[r?.isOptionRecommended?t.jsxs(Ut,{children:[t.jsx(qt,{confidence:r.confidencePercentage,children:te(r.confidencePercentage)}),t.jsx(Xt,{className:"confidence-label",children:at})]}):null,m===!0&&r?.additionalNote==null?t.jsxs(Ft,{children:[t.jsx(ne,{className:"right-tick-icon",height:n.sp3,width:n.sp3}),t.jsx(Ee,{className:"close-tick-icon",height:n.sp3,width:n.sp3,"data-testid":S("grouped-single-select-option-cancel",P)})]}):r?.isOptionRecommended===!0?m===!0?t.jsx(Yt,{children:t.jsx(ne,{height:n.sp3,width:n.sp3,style:{transform:"rotate(0deg)"}})}):t.jsx(Lt,{}):null]})]})})}),M=Me().analytics,J=f.useCallback(()=>{const Z=(e.value!=null&&e.value!==T?e?.getValue(e.value):null)?.[0]?.label??T,Q=r.recommendedOptionIndex===1?"alternative":"primary",b=C?.recommendations[0],V=b?.cot??[];M.trackTransactionCotDropdownView({recommendationType:Q,recommendationFor:l,currentValue:Z,recommendation:b?.name??T,recommendationCot:V,isRecommendationCotAvailable:V.length>0,recommendationReason:b?.reason??T,recommendationConfidenceLevel:Ve(te(b?.confidencePercentage).toLocaleLowerCase()),transactionPage:d,transactionCurrentStatus:p,recommendationConfidencePercentage:b?.confidencePercentage??null}),x!=null&&b!=null&&b.cot.length>0&&x(l,b.source)},[M,C,d,p,l,e,r.recommendedOptionIndex]);return C!=null&&r?.isOptionRecommended&&s?t.jsx(ce,{variant:"chain-of-thought",data:C,placement:h??"right-start",enterDelay:300,leaveDelay:100,offset:[0,0],position:"static",display:"block",style:{width:"100%",height:"100%",marginLeft:"0px",marginRight:"0px"},onOpen:J,children:E}):E},$t=({children:e,title:s})=>t.jsxs(jt,{children:[t.jsxs(Ct,{children:[s,t.jsx(vt,{})]}),e]}),bt=i.div`
17
17
  display: flex;
18
18
  flex-direction: column;
19
19
  align-items: center;
@@ -31,13 +31,13 @@ import{el as Se,cm as Le,cu as ee,e as re,u as Re,M as de,j as t,eH as ke,cv as
31
31
  display: flex;
32
32
  align-items: center;
33
33
  column-gap: 6px;
34
- `,Ct=i.div`
34
+ `,jt=i.div`
35
35
  position: relative;
36
36
  display: contents;
37
- `,jt=i.div`
37
+ `,Ct=i.div`
38
38
  position: absolute;
39
- background: ${X.primary};
40
- color: ${X.grey5};
39
+ background: ${U.primary};
40
+ color: ${U.grey5};
41
41
  padding: ${n.sp3};
42
42
  border-radius: ${n.sp1};
43
43
  top: -${n.sp2};
@@ -50,7 +50,7 @@ import{el as Se,cm as Le,cu as ee,e as re,u as Re,M as de,j as t,eH as ke,cv as
50
50
  right: -8%;
51
51
  border-width: 10px;
52
52
  border-style: solid;
53
- border-color: transparent transparent transparent ${X.primary};
53
+ border-color: transparent transparent transparent ${U.primary};
54
54
  `,St=i.span`
55
55
  width: 100%;
56
56
  background-color: ${e=>e.menuIsOpen?e.theme.colors.background:e.theme.colors.grey5};
@@ -112,7 +112,7 @@ import{el as Se,cm as Le,cu as ee,e as re,u as Re,M as de,j as t,eH as ke,cv as
112
112
  }
113
113
  }
114
114
  }
115
- `,Lt=i(Ge)`
115
+ `,Lt=i(Ae)`
116
116
  width: ${n.sp3};
117
117
  height: ${n.sp3};
118
118
  `,Rt=i.div`
@@ -144,7 +144,7 @@ import{el as Se,cm as Le,cu as ee,e as re,u as Re,M as de,j as t,eH as ke,cv as
144
144
  color: ${e=>e.theme.colors.primary};
145
145
  }
146
146
 
147
- ${({allowEmpty:e})=>e&&Xe`
147
+ ${({allowEmpty:e})=>e&&Ue`
148
148
  .right-tick-icon {
149
149
  display: none;
150
150
  }
@@ -169,17 +169,17 @@ import{el as Se,cm as Le,cu as ee,e as re,u as Re,M as de,j as t,eH as ke,cv as
169
169
  white-space: nowrap;
170
170
  cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
171
171
  ${e=>e.isSelected&&"cursor: default"};
172
- `,Nt=i(pe)`
172
+ `,It=i(pe)`
173
173
  overflow: hidden;
174
174
  text-overflow: ellipsis;
175
175
  white-space: nowrap;
176
176
  color: inherit;
177
- `,It=i.div`
177
+ `,Nt=i.div`
178
178
  display: flex;
179
179
  flex-direction: column;
180
180
  width: 100%;
181
181
  overflow: hidden;
182
- `,Mt=i.div`
182
+ `,Dt=i.div`
183
183
  flex: 1;
184
184
  display: flex;
185
185
  align-items: center;
@@ -187,14 +187,14 @@ import{el as Se,cm as Le,cu as ee,e as re,u as Re,M as de,j as t,eH as ke,cv as
187
187
  height: ${e=>e.isOptionRecommended?n.sp5:n.sp6};
188
188
  min-width: 0;
189
189
  gap: ${n.sp3};
190
- `,Dt=i.label`
190
+ `,Et=i.label`
191
191
  color: ${e=>e.theme.colors.grey1};
192
192
  width: 100%;
193
193
  ${e=>`${he.infoLabel.style(e.size)}`};
194
194
  padding-right: ${n.sp3};
195
195
  text-align: right;
196
196
  white-space: pre-line;
197
- `,Et=i(Ve)`
197
+ `,Mt=i(Fe)`
198
198
  display: flex;
199
199
  color: ${e=>e.theme.colors.primary};
200
200
  align-items: center;
@@ -218,14 +218,14 @@ import{el as Se,cm as Le,cu as ee,e as re,u as Re,M as de,j as t,eH as ke,cv as
218
218
  padding: 0 ${n.sp3};
219
219
  margin-bottom: ${n.sp0};
220
220
  }
221
- `,Ft=i.div`
221
+ `,Vt=i.div`
222
222
  display: flex;
223
223
  align-items: center;
224
224
  margin-left: ${n.sp0};
225
225
  transform: ${e=>e.isGroupOpen?"rotate(0deg)":"rotate(180deg)"};
226
226
  color: ${e=>e.theme.colors.primary};
227
227
  margin-right: ${n.sp2};
228
- `,Vt=i.div`
228
+ `,Ft=i.div`
229
229
  display: flex;
230
230
  color: ${e=>e.theme.colors.primary};
231
231
  `,Tt=i.div`
@@ -250,7 +250,7 @@ import{el as Se,cm as Le,cu as ee,e as re,u as Re,M as de,j as t,eH as ke,cv as
250
250
  padding: ${n.sp0} 6px;
251
251
  border: 1px solid ${e=>e.theme.colors.primary};
252
252
  border-radius: ${n.sp1};
253
- `,Bt=()=>null,Gt=()=>null,At=()=>null,Wt=i.div`
253
+ `,Bt=()=>null,At=()=>null,Gt=()=>null,Wt=i.div`
254
254
  display: flex;
255
255
  align-items: center;
256
256
  justify-content: center;
@@ -262,12 +262,12 @@ import{el as Se,cm as Le,cu as ee,e as re,u as Re,M as de,j as t,eH as ke,cv as
262
262
  color: ${e=>e.hasError?g.important:e.theme.colors.grey1};
263
263
  `,Jt=i(me)`
264
264
  color: ${e=>e.hasError?g.important:e.theme.colors.grey1};
265
- `,Zt=i.div``,Ut=i.div`
265
+ `,Zt=i.div``,Qt=i.div`
266
266
  display: flex;
267
267
  align-items: center;
268
268
  gap: ${n.sp4};
269
269
  margin-left: ${n.sp2};
270
- `,Xt=i.div`
270
+ `,Ut=i.div`
271
271
  display: flex;
272
272
  flex-direction: column;
273
273
  align-items: center;
@@ -278,7 +278,7 @@ import{el as Se,cm as Le,cu as ee,e as re,u as Re,M as de,j as t,eH as ke,cv as
278
278
  align-items: center;
279
279
  justify-content: center;
280
280
  color: ${e=>e.confidence==null?e.theme.mode==="dark"?g.alert:g.alertDark:e.confidence>=90?e.theme.mode==="dark"?g.success:g.successDark:e.confidence>=70?e.theme.mode==="dark"?g.alert:g.alertDark:e.theme.mode==="dark"?g.important:g.importantDark};
281
- `,Qt=i(ue)``,Yt=i.div`
281
+ `,Xt=i(ue)``,Yt=i.div`
282
282
  display: flex;
283
283
  align-items: center;
284
284
  justify-content: center;
@@ -1 +1 @@
1
- import{el as h}from"./index-b-ZazAq5.js";async function f(i,e,o,r,d){let s;const a=new FormData;o.forEach((t,n)=>{a.append(`attachment_file_${n}`,t);const c=JSON.stringify({file_name:r[n],content_type:t.type,size:t.size});a.append(`attachment_json_${n}`,c)});try{await h(i,{method:"POST",body:a,headers:{"zeni-user-id":e.userId,"zeni-tenant-id":e.tenantId,"zeni-session-id":e.sessionId}}).then(t=>t.json()).then(t=>{if(t.status.code>=200&&t.status.code<300)s=t.data;else throw console.error(`Upload attachment failed with ${t.statusText}`),d?.(t.status.message),new Error(`Upload attachment failed with ${t.statusText}`)})}catch(t){throw console.error(`Upload attachment failed with ${JSON.stringify(t)}`),new Error(`Upload attachment failed with ${JSON.stringify(t)}`)}return s}export{f as l};
1
+ import{el as h}from"./index-CjrcOwMA.js";async function f(i,e,o,r,d){let s;const a=new FormData;o.forEach((t,n)=>{a.append(`attachment_file_${n}`,t);const c=JSON.stringify({file_name:r[n],content_type:t.type,size:t.size});a.append(`attachment_json_${n}`,c)});try{await h(i,{method:"POST",body:a,headers:{"zeni-user-id":e.userId,"zeni-tenant-id":e.tenantId,"zeni-session-id":e.sessionId}}).then(t=>t.json()).then(t=>{if(t.status.code>=200&&t.status.code<300)s=t.data;else throw console.error(`Upload attachment failed with ${t.statusText}`),d?.(t.status.message),new Error(`Upload attachment failed with ${t.statusText}`)})}catch(t){throw console.error(`Upload attachment failed with ${JSON.stringify(t)}`),new Error(`Upload attachment failed with ${JSON.stringify(t)}`)}return s}export{f as l};
package/dist/index.html CHANGED
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en"><head><meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate"><meta http-equiv="expires" content="0"><meta http-equiv="pragma" content="no-cache"><meta charset="UTF-8"><link rel="icon" type="image/svg+xml" href="/assets/favicon-D56XvgAH.ico"><meta name="ROBOTS" content="NOINDEX, NOFOLLOW"><link rel="stylesheet preconnect dns-prefetch" href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap"><link href="https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap" rel="stylesheet preconnect dns-prefetch"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Zeni - Modern Finance Team For Startups</title><script type="module" crossorigin src="/assets/index-b-ZazAq5.js"></script><link rel="modulepreload" crossorigin href="/assets/vendor-rkTZJa59.js"><link rel="modulepreload" crossorigin href="/assets/mui-C42whWwM.js"><link rel="modulepreload" crossorigin href="/assets/analytics-CBL_L82S.js"><link rel="modulepreload" crossorigin href="/assets/routing-VwiwPky5.js"><link rel="modulepreload" crossorigin href="/assets/sentry-osuhWjvS.js"><link rel="modulepreload" crossorigin href="/assets/redux-2gfZRks6.js"><link rel="modulepreload" crossorigin href="/assets/liveblocks-CP09Cz-7.js"><link rel="modulepreload" crossorigin href="/assets/crypto-BDNqpTKX.js"><link rel="stylesheet" crossorigin href="/assets/index-BAKoUD4u.css"></head><body><div id="root"></div></body></html>
1
+ <!DOCTYPE html><html lang="en"><head><meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate"><meta http-equiv="expires" content="0"><meta http-equiv="pragma" content="no-cache"><meta charset="UTF-8"><link rel="icon" type="image/svg+xml" href="/assets/favicon-D56XvgAH.ico"><meta name="ROBOTS" content="NOINDEX, NOFOLLOW"><link rel="stylesheet preconnect dns-prefetch" href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap"><link href="https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap" rel="stylesheet preconnect dns-prefetch"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Zeni - Modern Finance Team For Startups</title><script type="module" crossorigin src="/assets/index-CjrcOwMA.js"></script><link rel="modulepreload" crossorigin href="/assets/vendor-rkTZJa59.js"><link rel="modulepreload" crossorigin href="/assets/mui-C42whWwM.js"><link rel="modulepreload" crossorigin href="/assets/analytics-CBL_L82S.js"><link rel="modulepreload" crossorigin href="/assets/routing-VwiwPky5.js"><link rel="modulepreload" crossorigin href="/assets/sentry-osuhWjvS.js"><link rel="modulepreload" crossorigin href="/assets/redux-2gfZRks6.js"><link rel="modulepreload" crossorigin href="/assets/liveblocks-CP09Cz-7.js"><link rel="modulepreload" crossorigin href="/assets/crypto-BDNqpTKX.js"><link rel="stylesheet" crossorigin href="/assets/index-BAKoUD4u.css"></head><body><div id="root"></div></body></html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/web-cockpit-ui",
3
- "version": "1.14.20-qa",
3
+ "version": "1.14.21-dev",
4
4
  "files": [
5
5
  "dist/**/*"
6
6
  ],
@@ -17,8 +17,8 @@
17
17
  "@types/crypto-js": "^4.1.0",
18
18
  "@types/lodash": "^4.17.16",
19
19
  "@zeniai/client-analytics": "1.6.45",
20
- "@zeniai/client-epic-state": "4.18.55",
21
- "@zeniai/web-components": "3.15.55",
20
+ "@zeniai/client-epic-state": "4.18.56",
21
+ "@zeniai/web-components": "3.15.58",
22
22
  "color": "3.1.3",
23
23
  "cross-fetch": "^4.0.0",
24
24
  "crypto-js": "4.2.0",
@@ -1,21 +0,0 @@
1
- import{e as E,a as I,M as A,c9 as F,j as n,bU as H,bW as U,bX as O,F as V,a4 as q,C as s,eU as Q,am as X,o as _,q as t}from"./index-b-ZazAq5.js";import{b as x,n as d}from"./vendor-rkTZJa59.js";import{W as G,A as J}from"./BankAccountWarningSection-GHO0P0IZ-1uRlfSfl.js";import{M as K}from"./MagicLinkTitleSection-Ch72cLUN-YrwcYc6L.js";import{e as Y}from"./BankAccountSection-B20IwpOn-DQog70tV.js";const a={paddingTopBottomContainer:new s(t[3],t[3]),paddingLeftContainer:new s(t[3],t[6]),paddingRightContainer:new s(t[3],t[8]),sectionTitleMarginLeft:new s(t[4],t[6]),sectionTitleMarginTop:new s(12,t[3]),buttonWidth:new s(140,140)},N="achDetailsPage",b="bankAccountSection",S=e=>`${e}_form`,de=({bankAccountCreationState:e,bankAccountToCreate:g,fetchBankNameByRoutingStatus:k,isDisabled:C,style:j,onSaveHandler:B,onBackClick:f,onACHDetailsUpdated:T,onFetchBankName:v,isMagicLink:u,companyName:w,currencySymbol:$,amount:P,bankAccountContext:D})=>{const r=E(),i=I({mode:"onBlur",reValidateMode:"onChange",defaultValues:x.useMemo(()=>Z(g),[g])}),[M,m]=x.useState(!1),c=A.getLocalizedStrings().spendManagement.billPay.vendorCreation,z=A.getLocalizedStrings().common.footer,{achDetails:y,bankAccountCommon:h}=c,L={onOkClick:()=>{m(!1),i.reset(),f?.()},onCancelClick:()=>{m(!1)}},R=async(p,l)=>{const o=l[b].bankRoutingNumber;T(l),p===`${b}.bankRoutingNumber`&&o?.length===9&&Q.test(o)===!0&&v?.(o)};x.useEffect(()=>{const p=i.watch((l,{name:o})=>{o!=null&&l!=null&&F(()=>R(o,l))});return()=>{p.unsubscribe()}});const W=i.handleSubmit(p=>{k.fetchState!=="In-Progress"&&B("ach")});return n.jsxs(ne,{children:[n.jsxs(te,{style:j,size:r,children:[M===!0?n.jsx(H,{titleComponent:n.jsx(O,{children:c.discardTitle}),descriptionComponent:n.jsx(U,{children:c.discardDescription}),primaryButtonText:c.discard,secondaryButtonText:c.cancel,action:L}):null,n.jsx(G,{header:u?n.jsx(K,{companyName:w??"",currencySymbol:$??"",amount:P??0}):y.addACHDetails,isMagicLink:u,isDirty:i.formState.isDirty,onBackClick:f,setShowConfirmationPopup:m}),e?.fetchState==="Error"&&e.error?.code===409?n.jsx(J,{warningText:h.accountExistWarning}):null,D==="express-pay"?null:n.jsx(ae,{size:r,children:y.title}),n.jsx(ie,{children:n.jsx(V,{...i,children:n.jsx("form",{id:S(N),onSubmit:W,children:n.jsx(ee,{size:r,children:n.jsx(Y,{bankAccountToCreate:g,fetchBankNameByRoutingStatus:k,sectionId:b,isDisabled:C})})})})})]}),n.jsx(q,{formId:S(N),primaryBtn:{label:u?h.submitDetails:h.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(r)},isDisabled:C!=null},showCancel:!u,cancelBtn:{label:z.cancel,style:{width:a.buttonWidth.value(r)},shouldResetOnCancel:!1,onClick:()=>{i.formState.isDirty?m(!0):(i.reset(),f?.())}}})]})},Z=e=>({[b]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName,bankAccountType:e?.bankAccountType}}),ee=d.div`
2
- padding-left: ${e=>a.paddingLeftContainer.valuePx(e.size)};
3
- padding-right: ${e=>a.paddingRightContainer.valuePx(e.size)};
4
- padding-top: ${e=>a.paddingTopBottomContainer.valuePx(e.size)};
5
- padding-bottom: ${e=>a.paddingTopBottomContainer.valuePx(e.size)};
6
- `,ne=d.div`
7
- display: flex;
8
- flex-direction: column;
9
- width: 100%;
10
- height: 100%;
11
- `,te=d.div`
12
- display: flex;
13
- flex-direction: column;
14
- flex-grow: 1;
15
- `,ae=d(X)`
16
- color: ${e=>e.theme.colors.champion};
17
- margin-left: ${e=>a.sectionTitleMarginLeft.valuePx(e.size)};
18
- margin-top: ${e=>a.sectionTitleMarginTop.valuePx(e.size)};
19
- `,ie=d.div`
20
- margin-top: ${_.sp5};
21
- `;export{de as f};
@@ -1,18 +0,0 @@
1
- import{u as f,e as $,j as t,gg as P,o,C as a,g$ as j,q as i}from"./index-b-ZazAq5.js";import{b as y,n}from"./vendor-rkTZJa59.js";import{K as z}from"./StatusSwitcher-B77NoO6o--2WeeksA.js";import{r as A}from"./AccountInfoPageContent-Cc80eQeo-CgEfuzww.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./downloadPdf-BJozh7zE-DZm4gsxy.js";import"./commonDimensions-D0ovCC4N-CNPc1P_A.js";const r={pageTitleMarginXAxis:new a(i[4],i[8]),containerPaddingLeft:new a(i[3],i[6],i[8]),containerPaddingRight:new a(i[3],i[6],i[8])},B=({authParams:e,downloadAccountDetailEndPoint:l,depositAccount:s,zeniAccountsConfigDetail:m,currentTenant:p,onDismissClick:g})=>{const u=f(),d=$(),[c,x]=y.useState("achDetails"),h=w=>{x(w)};return t.jsxs(C,{children:[t.jsx(P,{title:"",backgroundColor:u.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:g}),t.jsx(D,{windowSize:d,children:s.accountName}),t.jsx(S,{children:t.jsx(z,{tabIds:["achDetails","wireDetails"],selectedTab:c,entity:"zeni_accounts",onTabSelectedChange:h,isSwitcherLeftAlign:!0})}),t.jsx(v,{windowSize:d,children:t.jsx(A,{authParams:e,downloadAccountDetailEndPoint:l,currentTab:c,zeniAccountsConfigDetail:m,currentTenant:p,depositAccount:s})})]})},v=n.div`
2
- padding-left: ${e=>`${r.containerPaddingLeft.valuePx(e.windowSize)}`};
3
- padding-right: ${e=>`${r.containerPaddingRight.valuePx(e.windowSize)}`};
4
- `,C=n.div`
5
- display: flex;
6
- flex-direction: column;
7
- background-color: ${e=>e.theme.colors.grey4};
8
- overflow-x: hidden;
9
- height: 100%;
10
- width: 100%;
11
- `,D=n(j)`
12
- color: ${e=>e.theme.colors.primary};
13
- padding: ${o.sp3} ${o.sp0};
14
- margin: ${e=>`${o.sp0} ${r.pageTitleMarginXAxis.valuePx(e.windowSize)} `};
15
- `,S=n.div`
16
- display: flex;
17
- justify-content: flex-start;
18
- `;export{B as default};
@@ -1,47 +0,0 @@
1
- import{u as Y,e as D,Y as F,M as c,a8 as S,l as f,j as e,aW as G,m as J,dE as y,C as s,o as R,B as N,v as b,q as i}from"./index-b-ZazAq5.js";import{n as l}from"./vendor-rkTZJa59.js";import{q as j}from"./SetUpDefaultSection-B-ZEHQUb-wT4VB7Bz.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const a={sectionRowGap:new s(i[4],i[8],i[8]),lastSectionPaddingBottom:new s(i[7],i[10],i[10]),iconWidthHeight:new s(20,i[4]),subtitleSectionWidth:new s(343,580,1200)},de=({billpayApprovalView:t,remiApproverView:k,currentTenant:d,onBackClick:P,onClickMenuIcon:C,onSetupApprovalRulesBillPaySectionClick:$,onSetupApprovalRulesRemiSectionClick:z})=>{const n=Y(),o=D(),p=F(),{fetchState:u,allApprovalRules:m,approvalRulesStatus:B}=t,{fetchState:h,allApprovalRules:g,approvalRulesStatus:T}=k,{commonSetUp:A,spendManagement:I}=c.getLocalizedStrings(),x=c.getLocalizedStrings().common.settings,v=c.getLocalizedStrings().common.headers,{billPay:M,reimbursement:W}=I,{billPaySetup:L}=M,{reimbursementSetup:H}=W,{setUp:r}=A,U=u==="In-Progress"||h==="In-Progress"||u==="Not-Started"||h==="Not-Started",w=n.mode==="light"?new S(n.colors.brandColorJadeLight):new S(n.colors.brandColorJadeDark),E=f.hasBillPayAccessible(d,p.loggedInUserRoleMap),q=f.hasReimbursementAccessible(d,p.loggedInUserRoleMap);return e.jsxs(O,{children:[e.jsx(G,{source:"ApprovalRulesSettingsPage",title:x.title.approvalRules,backgroundColor:n.colors.grey4,style:{zIndex:3},onBackClick:P,showBackButton:!1,showMenuIcon:o==="medium-compact"||o==="small",onClickMenuIcon:C}),e.jsx(Q,{windowSize:o,children:U?e.jsx(X,{children:e.jsx(J,{size:"ExtraLarge",start:!0})}):e.jsxs(V,{children:[e.jsx(_,{windowSize:o,children:e.jsx(K,{windowSize:o,children:x.infoText.approvalRules})}),e.jsxs(Z,{windowSize:o,children:[E===!0&&e.jsx(j,{title:m.length>0?r.approvalTitle:r.createApprovalTitle,subTitle:L.approvalSubTitle,header:v.bills,icon:{element:e.jsx(y,{width:a.iconWidthHeight.valuePx(o),height:a.iconWidthHeight.valuePx(o)}),color:w},onClick:$,status:m.length>0?B:void 0}),q===!0&&e.jsx(j,{title:g.length>0?r.approvalTitle:r.createApprovalTitle,subTitle:H.approvalSubTitle,header:v.reimbursements,icon:{element:e.jsx(y,{height:a.iconWidthHeight.valuePx(o)}),color:w},style:{paddingBottom:a.lastSectionPaddingBottom.valuePx(o)},onClick:z,status:g.length>0?T:void 0})]})]})})]})},V=l.div`
2
- width: 100%;
3
- margin: auto;
4
- display: flex;
5
- justify-content: flex-start;
6
- height: 100%;
7
- overflow-y: auto;
8
- flex-direction: column;
9
- align-items: center;
10
- `,O=l.div`
11
- display: flex;
12
- min-height: 100%;
13
- flex-direction: column;
14
- row-gap: ${R.sp3};
15
- width: 100%;
16
- background-color: ${t=>t.theme.colors.grey4};
17
- `,Q=l.div`
18
- display: flex;
19
- height: 100%;
20
- overflow-y: auto;
21
- justify-content: center;
22
- `,X=l.div`
23
- display: flex;
24
- width: 100%;
25
- height: calc(100vh - 110px);
26
- flex-direction: row;
27
- justify-content: center;
28
- align-items: center;
29
- background-color: ${t=>t.theme.colors.grey4};
30
- `,Z=l.div`
31
- display: flex;
32
- flex-direction: column;
33
- row-gap: ${t=>a.sectionRowGap.valuePx(t.windowSize)};
34
- `,_=l(N)`
35
- display: flex;
36
- justify-content: center;
37
- align-items: center;
38
- width: ${t=>a.subtitleSectionWidth.valuePx(t.windowSize)};
39
- margin-bottom: ${R.sp5};
40
- `,K=l.div`
41
- display: flex;
42
- align-items: center;
43
-
44
- color: ${t=>t.theme.colors.hero};
45
- font-family: ${b.largeMedium.fontFamily};
46
- ${b.standardRegular.css};
47
- `;export{de as default};
@@ -1,27 +0,0 @@
1
- import{C as z,q as B,e as O,M as D,a as M,a2 as W,j as o,S as G,c9 as X,aW as Z,F as H,a4 as J,o as c}from"./index-b-ZazAq5.js";import{b as L,n as h}from"./vendor-rkTZJa59.js";import{b as K,f as Q,l as R,o as j}from"./FollowStepsSection-DRDFxA8H-CjpGRF9d.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const C="billPayApprovalRuleDetailPage",T="lowerBound",E="upperBound",y="steps",Y={footerPadding:new z(B[2],B[3])};function ve({localData:e,approvalUpdateActionType:t,onBackClick:a,onApprovalRuleDataUpdated:r,onResetClick:s,isLowerBoundDisabled:n=!1,isUpperBoundDisabled:b=!0,hideUpperBoundField:S=!1,onSaveRuleClick:_,onSaveRuleSuccess:A}){const I=O(),l=D.getLocalizedStrings().commonSetUp.approval,P=D.getLocalizedStrings().spendManagement.billPay.billPayApproval,x=ee(e,t==="approval_create"&&!n),v=M({mode:"all",reValidateMode:"onChange",defaultValues:x}),u=e.billPaySetupApproverViewUpdateData?.updateStatus,w=W(u?.fetchState),{upperBound:$}=x,{allApprovalRules:p,allAccountingClasses:k,billPaySetupApproverViewUpdateData:m}=e;let f=p.length>1?p.length-1:0,g=p.length>0?p[f].criteria[0].range.min.amount:0;if(m!=null&&m.type==="approval_update"&&m.data!=null){const{approvalRuleId:i}=m.data;f=p.findIndex(d=>d.approvalRuleId===i),g=f>0?p[f-1].criteria[0].range.min.amount:0}const F=v.handleSubmit(()=>{_()}),V=async(i,d)=>{r(d)};return L.useEffect(()=>{const i=v.watch((d,{name:U})=>{if(U!=null&&d!=null){const q=G(d);X(()=>V(U,q))}});return()=>{i.unsubscribe()}}),L.useEffect(()=>{w==="In-Progress"&&u?.fetchState==="Completed"&&A()},[w,u?.fetchState,A]),o.jsxs(re,{children:[o.jsx(Z,{title:t==="approval_create"?l.newApproval:l.editApproval,style:{zIndex:4},onBackClick:()=>{a()},source:"BillPayApprovalRuleDetailPage"}),o.jsx(se,{children:o.jsx(H,{...v,children:o.jsx("form",{id:N(C),onSubmit:F,children:o.jsxs(oe,{children:[o.jsx(K,{label:{label:S?P.amountPerBillGreaterLabel:P.amountPerBillLabel},firstText:{type:"number",name:T,placeholder:"$0",options:{required:!0,max:$===1/0?Number.MAX_SAFE_INTEGER-1:$-1,min:g,validate:i=>n?!0:i!=null&&i>g},isDisabled:n,additionalInfoLabel:l.firstRuleLowerBoundInfoLabel,additionalErrorLabel:l.firstRuleErrorInfoLabel},secondText:{type:"number",name:E,placeholder:"Infinity",isDisabled:b,hideField:S,additionalInfoLabel:l.upperBoundInfoLabel}}),o.jsx(ie,{}),o.jsx(Q,{sectionId:y,label:{label:l.followStepsLabel},approversPlaceholder:l.approversPlaceholder,notifiersPlaceholder:l.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(i=>i.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:k,stepsInfo:x[y],userSelectPlaceholder:l.userSelectPlaceholder,approveNotifyPlaceholder:l.approveNotifyPlaceholder,productType:"zeni_bill_pay"})]})})})}),o.jsx(J,{formId:N(C),primaryBtn:{label:l.saveBtnText,isLoading:u?.fetchState==="In-Progress",isDisabled:u?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},showCancel:!0,cancelBtn:{label:l.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:s},containerStyle:{justifyContent:I==="small"?"space-between":"center"},style:{padding:Y.footerPadding.valuePx(I)},separatorStyle:{marginRight:c.sp4}})]})}const ee=(e,t)=>{const{criteria:a,steps:r}=e.billPaySetupApproverViewUpdateData?.data??{};return{[y]:ae(e.allApprovers.map(s=>s.user),e.filteredApprovers.map(s=>s.user),j(e.allAttributes),j(e.filteredAttributes),r??[])??[],[T]:t?void 0:a!=null?a.range.min.amount??0:0,[E]:a!=null?a.range.max==null?1/0:a.range.max.amount:1/0}},ae=(e,t,a,r,s)=>s&&s.length>0?s.map((n,b)=>({stepIndex:b,stepType:{selectedOption:n.action,allOptions:R},actors:{allUsers:t,selectedUsers:le(e,n.actors),allNonUsers:r,selectedNonUsers:te(a,n.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:R},actors:{allUsers:t,selectedUsers:[],allNonUsers:r,selectedNonUsers:[]}}],le=(e,t)=>e.filter(a=>a.userId!=null&&t.findIndex(r=>r.userId===a.userId)>-1),te=(e,t)=>e.filter(a=>t.findIndex(r=>r.subType===a.value)>-1),N=e=>`${e}_form`,ge=e=>`${e}`,re=h.div`
2
- display: flex;
3
- height: 100%;
4
- flex-direction: column;
5
- width: 100%;
6
- background-color: ${e=>e.theme.colors.grey4};
7
- box-shadow: ${e=>`${c.sp0} 2px ${c.sp1} ${e.theme.colors.dropShadowNormal}`};
8
- `,oe=h.div`
9
- display: flex;
10
- flex-direction: column;
11
- border: 1px solid ${e=>e.theme.colors.grey3};
12
- box-shadow: ${e=>`${c.sp0} 2px ${c.sp1} ${e.theme.colors.dropShadowNormal}`};
13
- border-radius: ${c.sp2};
14
- `,se=h.div`
15
- display: flex;
16
- justify-content: flex-start;
17
- height: 100%;
18
- overflow-y: auto;
19
- flex-direction: column;
20
- align-items: center;
21
- `,ie=h.div`
22
- display: flex;
23
- flex: 1;
24
- background-color: ${e=>e.theme.colors.grey3};
25
- min-height: 1px;
26
- max-height: 1px;
27
- `;export{Y as D,ve as default,N as uniqueFormName,ge as uniqueName};
@@ -1,42 +0,0 @@
1
- import{u as $e,e as _e,a2 as E,a as De,c9 as Re,M as Ue,l as He,a8 as Y,j as t,cO as ze,_ as Le,c as qe,C as u,aW as Me,m as Ne,F as Ge,dO as Je,aS as Ke,dE as Qe,bA as Ye,e$ as Ze,a4 as Xe,o as L,q as a,n as et,b5 as tt}from"./index-b-ZazAq5.js";import{b as f,n as g}from"./vendor-rkTZJa59.js";import{D as it}from"./HelpButton-D9ONg6cm-Be59SjbC.js";import"./SetUpAccountSection-C1_QjMwF-D_Jc9DPP.js";import{q as H}from"./SetUpDefaultSection-B-ZEHQUb-wT4VB7Bz.js";import{f as nt}from"./SpendMgmtSetupAccountSection-DFyUBsg3-CBY1E6Ip.js";import{g as ot}from"./UploadAdditionalDocumentOverlay-Y64l7Rho-CmfSD-Zu.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./MeetingCalenderPopup-B_KRQLwc-Dk4sRI3u.js";import"./ChaseOverlay-ClcKUdpT-DsBdB3dn.js";import"./ChargeCardUtils-BcwLwgz7-DtCcFgNi.js";import"./CreditCardPaymentPlgSection-8NQI5gcx-CYgVnwi-.js";const n={titleWidth:new u(343,580,726,826),setupDetailsRowGap:new u(12,a[5],a[5]),sectionRowGap:new u(a[5],a[9],a[9]),lastSectionPaddingBottom:new u(a[7],a[10],a[10]),iconWidthHeight:new u(20,a[4]),subTitlePaddingTop:new u(12,a[3]),subTitlePaddingBottom:new u(a[3],a[3]),overlayWidth:new u(100,100,59)},Z="billPaySetUpPage",V="billPayAccount",Ft=({billPaySetupView:e,isDisabled:w,billpayApprovalView:W,meetingUrl:v,showIntlWiseWidget:s,connectedAccountProvider:ee,isAccountsEnabled:te,isLocalCurrencyEnabled:ie,analytics:y,filesEndPoint:ne,authParams:oe,accountsPromoConfig:ae,onBackClick:le,onBusinessVerificationSectionClick:ce,onSetupApprovalRulesSectionClick:se,onFetchLinkTokenClick:re,onEstablishConnectionClick:de,onEstablishConnectionSuccess:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAccountClick:he,onUpdatePaymentAccountStatus:me,onUpdatePaymentAccountLoginStatus:fe,onEnableBillPayClick:ge,onEnableBillPaySuccess:q,onClickMenuIcon:ye,onInternationPaymentSetUpClick:Se,onEditFileName:be,onDeleteFile:Pe,updateFilesEntity:xe,onCompanyOfficerUpdated:we,onSendForVerificationClick:ve,onSignUpClick:Ce})=>{const C=$e(),i=_e(),[k,S]=f.useState(!1),M=f.useRef(null),{fetchState:p,updateStatus:b,accountUpdateStatus:ke,plaidConnectionDetails:O,allBankAccounts:Ae,companyBillPayInfo:A,isRefreshingViewInBackground:Te,selectedCompanyOfficer:c,primaryFundingAccount:r,allFundingAccounts:N}=e,h=A?.internationalWireOnboardingStatus,T=h==null||h.code==="onboarding_status_not_started",{fetchState:G,allApprovalRules:j,approvalRulesStatus:je}=W,$=O.link_account.updateStatus,_=O.update_account.updateStatus,B=E(p),J=E(b.fetchState),K=E($.fetchState),Q=E(_.fetchState),P=De({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>z(e),[e]),values:z(e)});f.useEffect(()=>{!k&&c?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&c.areAdditionalDocumentsRequestedForVerification&&!c.areAdditionalDocumentsSubmittedForVerification&&c.userVerificationStatus?.code==="require_info"&&S(!0),k&&B==="In-Progress"&&p==="Completed"&&S(!1)},[c,p,B]),f.useEffect(()=>{(B==="In-Progress"&&p==="Completed"||K==="In-Progress"&&$.fetchState==="Completed"||Q==="In-Progress"&&_.fetchState==="Completed")&&P.reset(z(e))},[B,p,P,e,K,$.fetchState,Q,_.fetchState]);const Be=P.handleSubmit(x=>{y.trackEnableBillPay(),ge()}),Fe=async(x,I)=>{const o=I[V];if(x.includes(V)){if(x.includes("fundingAccount")){if(o.fundingAccount.selectedOption!=null&&r?.id!=o.fundingAccount.selectedOption){const m=N.find(U=>U.id===o.fundingAccount.selectedOption);m!=null&&pe(o.fundingAccount.selectedOption,m.accType)}}else if(o.account.selectedOption!=null&&r?.id!=null&&r?.zeniAccountId!=o.account.selectedOption){const m=o.account.allOptions.find(U=>U.value===o.account.selectedOption);m!=null&&typeof m.label=="string"&&y.trackConnectBankLink(m.value,m.label,"bill_pay"),he(o.account.selectedOption,r.id,r.accType)}}};f.useEffect(()=>{const x=P.watch((I,{name:o})=>{o!=null&&I!=null&&Re(()=>Fe(o,I))});return()=>{x.unsubscribe()}}),f.useEffect(()=>{J==="In-Progress"&&b.fetchState==="Completed"&&q()},[q,J,b.fetchState]);const{commonSetUp:Ie,spendManagement:Ee}=Ue.getLocalizedStrings(),{setUp:d}=Ie,{billPaySetup:l}=Ee.billPay,D=A?.isBusinessVerified===!0&&(r?.accType==="depositAccount"||He.isVerifiedPaymentAccountProviderStatusCode(r?.providerVerificationStatus?.code??"")),R=A?.isBillPayEnabled===!0,Ve=D?d.setupVerifiedSubTitle:l.setupSubTitle,We=p==="In-Progress"||p==="Not-Started"||G==="In-Progress"||G==="Not-Started",F=C.mode==="light"?new Y(C.colors.brandColorJadeLight):new Y(C.colors.brandColorJadeDark),Oe=()=>{!k&&c?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&c.areAdditionalDocumentsRequestedForVerification&&!c.areAdditionalDocumentsSubmittedForVerification&&c.userVerificationStatus?.code==="require_info"?S(!0):ce?.()};return t.jsxs(lt,{ref:M,children:[t.jsx(ze,{anchor:"right",PaperProps:{style:{width:n.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:k,onClose:()=>S(!1),style:{backgroundColor:qe.drawerBackground},transitionDuration:250,"data-testid":Le("bill-pay-setup-drawer"),children:t.jsx(ot,{authParams:oe,filesEndPoint:ne,updateStatus:b,onEditFileName:be,onDeleteFile:Pe,updateFilesEntity:xe,companyOfficer:c,onClose:()=>S(!1),onCompanyOfficerUpdated:we,onSendForVerificationClick:ve})}),t.jsx(Me,{title:l.setupTitle,style:{zIndex:3},onBackClick:le,showMenuIcon:!R&&(i==="medium-compact"||i==="small"),onClickMenuIcon:ye,scrollableContent:M,backgroundColor:C.colors.grey4,source:"BillPaySetUpPage"}),t.jsxs(rt,{windowSize:i,children:[t.jsx(st,{windowSize:i,children:Ve}),We?t.jsx(dt,{children:t.jsx(Ne,{size:"ExtraLarge",start:!0})}):t.jsxs(at,{children:[t.jsx(Ge,{...P,children:t.jsx("form",{id:X(Z),onSubmit:Be,children:t.jsxs(ut,{windowSize:i,children:[t.jsx(H,{onClick:Oe,title:d.businessVerificationTitle,subTitle:d.businessVerificationSubTitle,header:d.businessVerificationHeader,icon:{element:t.jsx(Je,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:F},status:A?.businessVerificationStatus,isLoading:Te,isActiveWhileLoading:!0}),t.jsx(nt,{connectedAccountProvider:ee,primaryFundingAccount:r,allFundingAccounts:N,plaidConnectionDetails:O,allBankAccounts:Ae,sectionId:V,isDisabled:w,onFetchLinkTokenClick:re,onEstablishConnectionClick:de,onUpdatePaymentAccountStatus:me,onUpdatePaymentAccountLoginStatus:fe,onEstablishConnectionSuccess:ue,icon:{element:t.jsx(Ke,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:F},analytics:y,productType:"bill_pay",isAccountsEnabled:te,onSignUpClick:Ce,pageName:"Bill Pay Setup",accountsPromoConfig:ae}),t.jsx(H,{title:j.length>0?d.approvalTitle:d.createApprovalTitle,subTitle:l.approvalSubTitle,header:j.length>0?d.approvalHeader:d.setupApprovalHeader,icon:{element:t.jsx(Qe,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:F},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},onClick:se,status:j.length>0?je:void 0})]})})}),s===!0?t.jsx(H,{title:T?l.enableInternationalWireTitle:l.internationWireTitle,subTitle:l.internationalWireSubTitle2,header:l.internationalWireHeader,icon:{element:t.jsx(Ze,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:F},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},isClickable:!0,onClick:()=>{T&&y.trackEnableIntlWire(ie),Se?.()},status:T?void 0:{name:h.name,code:h.code},statusInfoIcon:h?.code==="verification_pending"||h?.code==="verification_failed"?t.jsx(Ye,{title:h.code==="verification_pending"?l.tooltipTexts.pendingInternationalVerificationText:l.tooltipTexts.internationalVerificationFailed,children:t.jsx(ct,{})}):void 0,shouldHover:!0,showRightArrow:T}):null]})]}),D&&!R&&j.length>0?t.jsx(Xe,{formId:X(Z),primaryBtn:{label:l.enableBillPay,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:b.fetchState==="In-Progress"||ke.fetchState==="In-Progress",isDisabled:w!=null},showCancel:!1,helperText:l.terms,cancelBtn:{label:""},style:{padding:`12px ${L.sp3}`}}):null,t.jsx(it,{isFooterRendered:D&&!R,meetingUrl:v,analytics:y,productType:"bill_pay"})]})},at=g.div``,lt=g.div`
2
- display: flex;
3
- min-height: 100%;
4
- flex-direction: column;
5
- width: 100%;
6
- background-color: ${e=>e.theme.colors.grey4};
7
- height: 100vh;
8
- overflow-y: auto;
9
- `,ct=g(tt)`
10
- width: ${L.sp3};
11
- height: ${L.sp3};
12
- color: ${e=>e.theme.colors.hero};
13
- &:hover {
14
- color: ${e=>e.theme.colors.primary};
15
- }
16
- `,st=g(et)`
17
- color: ${e=>e.theme.colors.hero};
18
- display: flex;
19
- justify-content: center;
20
- width: ${e=>n.titleWidth.valuePx(e.windowSize)};
21
- padding-top: ${e=>n.subTitlePaddingTop.valuePx(e.windowSize)};
22
- padding-bottom: ${e=>n.subTitlePaddingBottom.valuePx(e.windowSize)};
23
- text-align: ${e=>e.windowSize==="small"?"initial":"center"};
24
- `,rt=g.div`
25
- display: flex;
26
- justify-content: flex-start;
27
- flex-direction: column;
28
- align-items: center;
29
- row-gap: ${e=>n.setupDetailsRowGap.valuePx(e.windowSize)};
30
- `,dt=g.div`
31
- display: flex;
32
- width: 100%;
33
- height: calc(100vh - 110px);
34
- flex-direction: row;
35
- justify-content: center;
36
- align-items: center;
37
- background-color: ${e=>e.theme.colors.grey4};
38
- `,ut=g.div`
39
- display: flex;
40
- flex-direction: column;
41
- row-gap: ${e=>n.sectionRowGap.valuePx(e.windowSize)};
42
- `,z=e=>{const{allBankAccounts:w,allFundingAccounts:W,primaryFundingAccount:v}=e;return{[V]:{fundingAccount:{selectedOption:v?.id,allOptions:W.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:v?.zeniAccountId,allOptions:w.map(s=>({label:s.accountName,value:s.accountId}))}}}},X=e=>`${e}_form`;export{Ft as default,X as uniqueName};
@@ -1,44 +0,0 @@
1
- import{u as fe,e as Ce,a as xe,c9 as Pe,a8 as k,M as be,j as t,C as P,aW as Ae,m as Ie,F as ve,aS as je,ca as ke,a4 as $e,o as s,h6 as Be,cC as Ee,cD as Te,q as b,n as Ve,gl as De,b as Oe,c as ze}from"./index-b-ZazAq5.js";import{b as R,n as r}from"./vendor-rkTZJa59.js";import{M as Le,r as _,o as Me}from"./PaymentAccountSetupBillingAddressSection-CGIC_vLw-DbAjNAQ-.js";import{O as We}from"./SetUpAccountSection-C1_QjMwF-D_Jc9DPP.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./SetUpDefaultSection-B-ZEHQUb-wT4VB7Bz.js";import"./ChaseOverlay-ClcKUdpT-DsBdB3dn.js";const p={titleWidth:new P(343,580,726,826),setupDetailsRowGap:new P(12,b[5],b[5]),iconWidthHeight:new P(20,b[4]),subTitlePaddingTop:new P(12,b[3])},Re={title:new Oe("standardSemiBold","largeSemiBold")},F="billingSetupPage",A="payAccountSectionId",n="subscriptionBillingAddressSectionId",lt=({analytics:e,billingSetupView:a,connectedAccountProvider:g,isDisabled:d,onClickMenuIcon:I,uiState:K,stripeKey:N,googleAPIKey:q,companyId:G,onUpdateAccountClick:J,onFetchLinkTokenClick:Z,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:X,onEstablishConnectionClick:Y,onEstablishConnectionSuccess:ee,handleCreateCardSetupIntent:te,handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:$,handleAddCardPaymentSource:ie,resetCardPaymentViewState:oe,handleResetCardPaymentErrorStatuses:ae,onBillingAddressSave:se,onAddressEditHandler:re})=>{const C=fe(),i=Ce(),{setupView:{paymentAccount:y,plaidConnectionDetails:de,allBankAccounts:le,accountFetchStatus:B},cardPaymentView:m}=a,ce=a.subscriptionBillingAddress,E=y?.providerVerificationStatus,ue=B.fetchState==="In-Progress"||B.fetchState==="Not-Started",S=xe({mode:"onSubmit",reValidateMode:"onChange",defaultValues:H(a),values:H(a),resetOptions:{keepDirtyValues:!0}}),pe=S.handleSubmit(c=>{se(G)}),T=a.subscriptionBillingAddressSaveStatus,me=async(c,o)=>{const h=o[A];if(c.includes(n)&&o[n]!=null){const v=S.getValues(`${n}`).country;let u=o[n];if(c.includes(`${n}.street`)&&o[n].street!=null){const{addressValue:f}=o[n].street,j=Ee(f?.country);u={street:o[n].street??l.strings.empty,city:f?.locality??l.strings.empty,state:f?.administrativeAreaLevel1??l.strings.empty,country:j,countryCode:f?.countryCode??l.strings.empty,postalCode:f?.postalCode??l.strings.empty,secondaryInfo:o[n].secondaryInfo,suite:o[n].suite},v.selectedOption!==j.selectedOption&&(u={...u,country:j})}else c===`${n}.country`&&v.selectedOption!=null&&(u={...u,countryCode:Te(v.selectedOption)});u!=null&&re(u)}else c.includes(A)&&h.account.selectedOption!=null&&y?.paymentAccountId!=null&&y.zeniAccountId!==h.account.selectedOption&&J(h.account.selectedOption,y.paymentAccountId)};R.useEffect(()=>{const c=S.watch((o,{name:h})=>{h!=null&&o!=null&&Pe(()=>me(h,o))});return()=>{c.unsubscribe()}});const V=C.mode==="light"?new k(C.colors.brandColorJadeLight):new k(C.colors.brandColorJadeDark),{customerOnboardingPage:{sections:{link_payment_account:he,card_payment_method:w}},common:l,billingSetupPage:D}=be.getLocalizedStrings(),ge=D.section.subTitle,{text:ye,subText:Se}=he,O=m.cardsList.length>0,z=m?.cardsList[0]?.brand??"other",L=m?.addCardPaymentSourceStatus.fetchState,x=Le(w.header,w.titleText,w.protectedCardNo,m);let M;O&&(M={header:x.header,title:x.title,subtitle:x.subtitle,status:x.status==="valid"?{name:"Verified",code:"verified"}:{name:"Pending",code:"pending"},showAddPaymentMethodDropDown:O===!0,icon:{element:t.jsx("img",{src:_(z).iconURL,width:p.iconWidthHeight.valuePx(i),height:p.iconWidthHeight.valuePx(i),alt:_(z).name}),color:new k(V)},showCompletedIcon:!1,isError:L==="Error",isLoading:L==="In-Progress",isCompleted:!0,showRightArrow:!1});const[W,we]=R.useState(!1);return t.jsxs(Fe,{children:[t.jsx(Ae,{source:"BillingSettingsPage",title:D.section.title,backgroundColor:C.colors.grey4,style:{zIndex:3},showBackButton:!1,showMenuIcon:i==="medium-compact"||i==="small",onClickMenuIcon:I}),t.jsxs(_e,{windowSize:i,children:[t.jsx(He,{windowSize:i,children:ge}),ue?t.jsx(Ue,{children:t.jsx(Ie,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...S,children:t.jsx(Je,{children:t.jsx("form",{id:U(F),onSubmit:pe,children:t.jsxs(Ke,{windowSize:i,children:[t.jsx(We,{connectedAccountProvider:g,paymentAccount:y,plaidConnectionDetails:de,allBankAccounts:le,header:w.header,sectionTitle:w.header,defaultSectionTitle:ye,defaultSectionSubTitle:Se,sectionId:A,isDisabled:d,onFetchLinkTokenClick:Z,onEstablishConnectionClick:Y,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:X,onEstablishConnectionSuccess:ee,isError:E?.code==="require_info"||E?.code==="failed",icon:{element:t.jsx(je,{width:p.iconWidthHeight.valuePx(i),height:p.iconWidthHeight.valuePx(i)}),color:V},analytics:e,productType:"billing",updateCardPaymentModalState:$,cardPaymentSectionValues:M,cardPaymentView:m,resetCardPaymentViewState:oe,showZeniAccountSection:!1,referrer:"Billing",cardSetupInProgress:W}),Ne(i,l.headers.billingAddress,ce,q,d)]})})})}),ke(S.formState.dirtyFields)?t.jsx($e,{formId:U(F),style:{width:i==="small"?"auto":"100%",paddingTop:s.sp2,paddingBottom:s.sp2,height:s.sp8},primaryBtn:{label:l.footer.save,isLoading:T?.fetchState==="In-Progress",isDisabled:T?.fetchState==="In-Progress",style:{height:s.sp6}},showCancel:!1,containerStyle:{width:"auto",justifyContent:"center"}}):null]}),t.jsx(Me,{handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:$,handleCreateCardSetupIntent:te,handleAddCardPaymentSource:ie,cardPaymentView:m,isCardPaymentOpen:K.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:ae,stripeKey:N,cardSetupInProgress:W,setCardSetupInProgress:we})]})},H=e=>{const{paymentAccount:a,allBankAccounts:g}=e.setupView;return{[A]:{account:{selectedOption:a?.zeniAccountId,allOptions:g.map(d=>({label:d.accountName,value:d.accountId}))}},[n]:Be(n,e.subscriptionBillingAddress)[n]}},_e=r.div`
2
- display: flex;
3
- justify-content: space-between;
4
- height: 100%;
5
- overflow-y: auto;
6
- flex-direction: column;
7
- align-items: center;
8
- row-gap: ${e=>p.setupDetailsRowGap.valuePx(e.windowSize)};
9
- `,Fe=r.div`
10
- display: flex;
11
- min-height: 100%;
12
- flex-direction: column;
13
- width: 100%;
14
- background-color: ${e=>e.theme.colors.grey4};
15
- `,He=r(Ve)`
16
- color: ${e=>e.theme.colors.hero};
17
- display: flex;
18
- justify-content: center;
19
- width: ${e=>p.titleWidth.valuePx(e.windowSize)};
20
- padding-top: ${e=>p.subTitlePaddingTop.valuePx(e.windowSize)};
21
- padding-bottom: ${s.sp3};
22
- text-align: ${e=>e.windowSize==="small"?"initial":"center"};
23
- `,Ue=r.div`
24
- display: flex;
25
- width: 100%;
26
- height: calc(100vh - 110px);
27
- flex-direction: row;
28
- justify-content: center;
29
- align-items: center;
30
- background-color: ${e=>e.theme.colors.grey4};
31
- `,Ke=r.div`
32
- display: flex;
33
- flex-direction: column;
34
- `,Ne=(e,a,g,d,I)=>t.jsxs(qe,{children:[t.jsx(Ge,{windowSize:e,isDisabled:I==="disabled",children:a}),t.jsx(De,{googleAPIKey:d??"",addressToEdit:g,sectionId:`${n}`,style:{marginLeft:"0px"},elementsStyle:{paddingRight:"0px"}})]}),qe=r.div`
35
- margin-top: ${s.sp3};
36
- margin-bottom: ${s.sp4};
37
- `,Ge=r.div`
38
- ${e=>`${Re.title.style(e.windowSize)}`};
39
- margin-bottom: ${s.sp3};
40
- margin-top: ${s.sp4};
41
- color: ${e=>e.isError===!0?ze.important:e.isDisabled===!0?e.theme.colors.grey1:e.theme.colors.primary};
42
- `,Je=r.div`
43
- flex: 1;
44
- `,U=e=>`${e}_form`;export{lt as default,U as uniqueName};