@zeniai/web-cockpit-ui 1.15.56-qa → 1.15.57-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 (358) hide show
  1. package/dist/assets/ACHDetailsPage-CUEH8rCg-CIX9LCVV.js +21 -0
  2. package/dist/assets/{AIPerformancePage-BWhcStZE-OZZWOwhI.js → AIPerformancePage-C-7kZpzd-DnU-CnU0.js} +32 -32
  3. package/dist/assets/AccountInfoPage-D6R4uR87-CauYgBnD.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-XBo-oJV1-Da0bieZO.js → AccountInfoPageContent-CaAlcViW-DD8DzME3.js} +22 -22
  5. package/dist/assets/AccountLockedInfoModal-DQXLZ2LO-C0aOsoiG.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DwzrCq7I-DRO35nGz.js → AccountReconDetailsDrawerPage-BeVU7eNW-DnvK_eyt.js} +20 -20
  7. package/dist/assets/AccountRow-CGg3Gvpj-2LubTGsx.js +298 -0
  8. package/dist/assets/{AccountsPromoCardStack-D-iNswM8-Cpv3KiBl.js → AccountsPromoCardStack-W21wtjzz-BzBECEOs.js} +11 -11
  9. package/dist/assets/AddAddressForCardDrawer-BEt3wVEb-DjZ-MTg6.js +6 -0
  10. package/dist/assets/{AddToWalletPage-DX8xInYJ-oY_8kc5z.js → AddToWalletPage-CNqNAmD1-BAMChQys.js} +15 -15
  11. package/dist/assets/{AgingReportsPage-CXj1Tifk-Bo-rrYDt.js → AgingReportsPage-tl0jPK38-BjO71f63.js} +8 -8
  12. package/dist/assets/{AllUserItems-DU78kWqE-DhNwAIBb.js → AllUserItems-Q1lO4Ln3-CuR2BE-L.js} +11 -11
  13. package/dist/assets/{ApAgingDetailPage-BV5m2F3a-DRpWO7ks.js → ApAgingDetailPage-D2Z4kxTX-DwVh7bmZ.js} +6 -6
  14. package/dist/assets/AppBasePage-X40fGmvM-B3sSuk1o.js +71 -0
  15. package/dist/assets/AppDrawerContent-CvJTJq58-BGDMCBjA.js +92 -0
  16. package/dist/assets/ApprovalRulesSettingsPage-C4lEfWTu-yCUuOf0u.js +47 -0
  17. package/dist/assets/{ArAgingChart-B0wn2vDP-f7oGxVU8.js → ArAgingChart-DVt6kJYF-BIJAb2VF.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-C-agUa8y-BOcc6BGV.js → ArAgingDetailPage-IHDBT7mF-wxBgjehQ.js} +3 -3
  19. package/dist/assets/{AttachmentView-9Vrv319r-DVVqaraT.js → AttachmentView-CwRBUVxC-B-A8o2yf.js} +7 -7
  20. package/dist/assets/BalancesInsightWithToolTip-XPRUqEEA-Kn1TsaRI.js +38 -0
  21. package/dist/assets/{BankAccountSection-Bv9Iogxn-BLcgKijp.js → BankAccountSection-W3gEhXh6-DFHw2sKM.js} +4 -4
  22. package/dist/assets/{BankAccountWarningSection-DAxaKIg3-CQatpV3z.js → BankAccountWarningSection-9u-04CXU-aDzsUImF.js} +9 -9
  23. package/dist/assets/{BankConnectionsSettingsPage-ZUWw604G-BRehKaig.js → BankConnectionsSettingsPage-DV_X9ctb-CDyQw7u-.js} +27 -27
  24. package/dist/assets/BillDetailPage-C0r7XIcc-BFWDSS_J.js +266 -0
  25. package/dist/assets/{BillPayApprovalRuleDetailPage-BfJ2F03Y-B4Sw2z30.js → BillPayApprovalRuleDetailPage-DJID_-tr-BTp82A3G.js} +4 -4
  26. package/dist/assets/{BillPayApprovalRulesPage-DQ0MRCLa-YnoDd_eN.js → BillPayApprovalRulesPage-73C2kwjc-DV2esjtr.js} +7 -7
  27. package/dist/assets/{BillPayPromoPage-DdxRC1p4-CeUDiYiI.js → BillPayPromoPage-FW3B8U-w-n5VnpHD-.js} +6 -6
  28. package/dist/assets/{BillPaySetUpPage-DBFcp1Yq-DN8GCbic.js → BillPaySetUpPage-rgzWSOQM-C-ZdDZzJ.js} +2 -2
  29. package/dist/assets/BillingSettingsPage-AcYS3TSu--RATyZn_.js +44 -0
  30. package/dist/assets/{BillsBulkReviewDrawerPage-HXDlOpw3-Cm0uTk27.js → BillsBulkReviewDrawerPage-CM8-szf_-D9duXPwz.js} +1 -1
  31. package/dist/assets/{BoxItem-DaxLyqVe-B9VgEFUi.js → BoxItem-u890NmTk-GdZH4g2N.js} +1 -1
  32. package/dist/assets/{BusinessVerificationPage-BG1rOYOk-D5qCYDOp.js → BusinessVerificationPage-CzrVGb5K-CmS-O7sQ.js} +13 -13
  33. package/dist/assets/CardNumberSubText-CxypsknQ-C5MjjYIg.js +21 -0
  34. package/dist/assets/{CashbackDetailPage-CpVmCjts-DdBqQYGO.js → CashbackDetailPage-fBR9M8sC-Dh5E8gW1.js} +27 -27
  35. package/dist/assets/{ChargeCardDetailPage-u6hMCosx-DtARLgQT.js → ChargeCardDetailPage-CYv8doUs-CC359HTm.js} +18 -18
  36. package/dist/assets/{ChargeCardListPage-D_7gwi3K-BPR6_79h.js → ChargeCardListPage-CrwBff5O-BIYKDbQO.js} +36 -36
  37. package/dist/assets/{ChargeCardListTable-DJmStpnO-BzLArBYX.js → ChargeCardListTable-B9P82JB2-DT4hRxIU.js} +37 -37
  38. package/dist/assets/{ChargeCardPaymentHistoryPage-BRGJ-5y3-DkMANxUm.js → ChargeCardPaymentHistoryPage-BzsNSIp4-CyZrJgN7.js} +42 -42
  39. package/dist/assets/ChargeCardPromoPage-D40YUEIh-CzX92eqi.js +222 -0
  40. package/dist/assets/{ChargeCardSetupPage-CRDfRFf1-DwGVvYiG.js → ChargeCardSetupPage-BJ0ruCk3-BaTLJK3K.js} +3 -3
  41. package/dist/assets/{ChargeCardStatementsPage-l4X9T8zd-Buh-S4ZJ.js → ChargeCardStatementsPage-CCn6jmK3-B65SJzNg.js} +10 -10
  42. package/dist/assets/{CheckDepositDrawerPage-DR6LIuPw-DKvVXdmj.js → CheckDepositDrawerPage-COW-uu-_-B15TUyNY.js} +10 -10
  43. package/dist/assets/CollapsableReportTable-oX8IRAxt-DmgpCuxO.js +2941 -0
  44. package/dist/assets/{CompanyOfficerDetailsSection-DoGF7khv-Wy_dQ_8T.js → CompanyOfficerDetailsSection-IqJVtLZK-C3OYrk_8.js} +21 -21
  45. package/dist/assets/{CompanyPassportCard-BHFj9sK6-_Dc-s-J2.js → CompanyPassportCard-BiGjFwZ5-DaDkL0aZ.js} +8 -8
  46. package/dist/assets/{CompanyPassportPage-CH-dqy03-OxH27UIz.js → CompanyPassportPage-Dg-Q0eMl-B0lK1QQa.js} +36 -36
  47. package/dist/assets/{CompleteProfile-Ck4Baf4z-BiDJ7-lr.js → CompleteProfile-Ccg2CHq4-rKD1q2iz.js} +4 -4
  48. package/dist/assets/ConfettiBurst-yXo14QzY-AOku3ebT.js +1 -0
  49. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-D8Z-iftf.js → ConstrainedInnerElement-CgdnMeoA-DBQlMIjc.js} +1 -1
  50. package/dist/assets/{CreateOrEditVendorPage-D-0WG9pO-xKEqlz3T.js → CreateOrEditVendorPage-DQYLvgGA-xCTJk5Wj.js} +13 -13
  51. package/dist/assets/{CreditCardPaymentDrawerPage-B7voVDUs-DhCFlSxU.js → CreditCardPaymentDrawerPage-izuZXkqy-ofdy6ysD.js} +14 -14
  52. package/dist/assets/CurrencySelectField-CneumAPd-B7hTgri2.js +139 -0
  53. package/dist/assets/{CustomerOnboardingActivationPage-D42sb2F9-C12j7ObB.js → CustomerOnboardingActivationPage-C4y0EhXQ-Bs3PD2DS.js} +29 -29
  54. package/dist/assets/CustomerOnboardingContainerPage-DbMXDaX1-Bt7wIkF_.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-n6GMQZP5-YVUGziza.js → CustomerOnboardingDetailPageSkeleton-D8UmruuK-BIBD0SgP.js} +12 -12
  56. package/dist/assets/CustomerOnboardingNoStepsPage-hN3TzkAz-Cl3v7kHV.js +66 -0
  57. package/dist/assets/{CustomerOnboardingPage-BPX2w8Fg-DWYY9hzE.js → CustomerOnboardingPage-C-lYffqT-BHmAdBeO.js} +7 -7
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-CZXqXXFj-DbtnPgDW.js → CustomerOnboardingProductSuitePage-_UgeXE48-BukwqaM7.js} +11 -11
  59. package/dist/assets/{Dashboard-Q5gt63wS-BSx4ra46.js → Dashboard-BqIm-EyG-DjEf_UGj.js} +1 -1
  60. package/dist/assets/{DashboardReportPage-DJsc3Nx7-Ci5wRkW7.js → DashboardReportPage-Dnwy7uOD-B5yKdlc5.js} +39 -39
  61. package/dist/assets/DashboardSidebarBackgroundAnimation-D0fh4PIm-DM5qHrdk.js +12 -0
  62. package/dist/assets/DepositAccTransactionItem-C6yQhPjj-l11w2Y5D.js +76 -0
  63. package/dist/assets/DepositAccTransactionListPage-BtncOXZP-BnXQt5-Q.js +66 -0
  64. package/dist/assets/{DomesticWireDetailsPage-Dptv-ebx-DSZ1aqIn.js → DomesticWireDetailsPage-DmtO34lv-CxwBDMGE.js} +1 -1
  65. package/dist/assets/DownloadOverlay-CWHxxKW_-UDgVlxY5.js +439 -0
  66. package/dist/assets/{DrawerPage-DtJQE-UA-Cqtpkmhn.js → DrawerPage-DSU5oir8-DRsRlHno.js} +12 -12
  67. package/dist/assets/EditPeoplePage-D2n0Hqby-DTz2-JYI.js +55 -0
  68. package/dist/assets/EditReimbursementDetailPage-CFLBOcFT-DS-9_HAs.js +865 -0
  69. package/dist/assets/EntityDetailPage-Mmx3DFuG-MVIaVfxx.js +18 -0
  70. package/dist/assets/{EntitySummarySection-BiIPehv4-Du95DQYP.js → EntitySummarySection-HHASyTi6-mpUEq7ck.js} +16 -16
  71. package/dist/assets/{ExpenseAutomationOverviewPage-Bo5Eu3Ju-BIhPjW_P.js → ExpenseAutomationOverviewPage-DJlmx9Oe-B6myEsyW.js} +52 -52
  72. package/dist/assets/ExpenseAutomationPage-Djk1vwnA-DbEUK9XH.js +3001 -0
  73. package/dist/assets/{ExpressPayPage-D18sY5VJ-BzfFkgkp.js → ExpressPayPage-BeCtQ7TL-Ds7KSKVG.js} +21 -21
  74. package/dist/assets/{FeaturePreviewPage-De2_m2xD-dAXyeyrD.js → FeaturePreviewPage-Dr96evH6-D1kxI8yP.js} +2 -2
  75. package/dist/assets/{FollowStepsSection-D5ln-mii-B_5eRfWe.js → FollowStepsSection-CH5j9Kb4-BJ9-zsQc.js} +13 -13
  76. package/dist/assets/GlobalReviewListPage-C32MoCYm-BNlLd0Dn.js +291 -0
  77. package/dist/assets/{InformationCardStack-B4z6RgwP-BT1JNK_O.js → InformationCardStack-OBOt0eaS-CKdLlnik.js} +4 -4
  78. package/dist/assets/{InsightsCardStack-CwBBEkZ7-i2yqT7-p.js → InsightsCardStack-BaaSbxvA-DSePDCyn.js} +13 -13
  79. package/dist/assets/InsightsSection-H8voYHTz-DN8-jvkA.js +27 -0
  80. package/dist/assets/{IntegrationsSettingsPage-DBiomD_q-SEyeefZG.js → IntegrationsSettingsPage-B_2KNKJF-BtmEIfKI.js} +6 -6
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-h4bchKo3--aqneqa5.js → InternationalWireSwiftDetailsPage-DvZU7o6p-BObKTwl6.js} +26 -26
  82. package/dist/assets/InternationalWireVerificationPage-D_jydE0q-DqIfVs5O.js +65 -0
  83. package/dist/assets/{InviteFormPage-Dgb-LZKf-B4zbJlb8.js → InviteFormPage-Dr6gx_W_-B4h2mADz.js} +29 -29
  84. package/dist/assets/{InvitePageListView-DC-Dp4Zc-B-7d1O44.js → InvitePageListView-Dva8LR_u-gmKNm5Jm.js} +39 -39
  85. package/dist/assets/InvitePeoplePage-bg-XFo6D-C4ZVJYSx.js +12 -0
  86. package/dist/assets/InvoiceUploadSection-CnYvPpZv-Gp4_i4AV.js +140 -0
  87. package/dist/assets/{IssueChargeCardPage-DiUKL-rT-BdVoOcei.js → IssueChargeCardPage-Z5WdMvKc-BWkEUK7g.js} +35 -35
  88. package/dist/assets/{LabeledAddressValue-DYTDoPER-SnTlZNct.js → LabeledAddressValue-DGXMQaW1-Fv-4gy9z.js} +2 -2
  89. package/dist/assets/{LabeledAddressValueField-DVNSaKBc-DiqNlFEG.js → LabeledAddressValueField-DR8V5Kty-DLCCRDRb.js} +3 -3
  90. package/dist/assets/{LabeledControlledCheckBoxField-CZlavM3Q-o9j3g7Xs.js → LabeledControlledCheckBoxField-CWjC7vEV-9UTpUa1T.js} +1 -1
  91. package/dist/assets/{LabeledCountryMultiSelectField-BM1jU3hl-DUjzUpNU.js → LabeledCountryMultiSelectField-CvCgQPY6-BWmECH3i.js} +12 -12
  92. package/dist/assets/{LabeledCreatableSingleSelectField-BkI0vyax-B-WErV8z.js → LabeledCreatableSingleSelectField-BZ8L7RY0-DX5NmRdy.js} +6 -6
  93. package/dist/assets/LabeledDocumentField-B44mt0a7-C0VfTm18.js +41 -0
  94. package/dist/assets/LabeledDropDownFormattedTextField-6YP1FaQA-BrHR3rfW.js +59 -0
  95. package/dist/assets/{LabeledText-BaYp8lyd-DsouujPF.js → LabeledText-Q6xdsHJ6-CFwsR7ll.js} +6 -6
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-nlyagP_L-CvgIxOeV.js → LabeledUserSingleSelectWithSubtitlesField-ClUfUqjp-BZp8hOi3.js} +19 -19
  97. package/dist/assets/{LabeledZeniRolesDropDownField-Bgf26ek0-CC9PqeMV.js → LabeledZeniRolesDropDownField-hbA4Pwlf-D_cCYzYL.js} +31 -31
  98. package/dist/assets/{LinkJETransactionPage-ByQktBdK-CF0EgNmk.js → LinkJETransactionPage-CH7I7Hke-Bsatheht.js} +17 -17
  99. package/dist/assets/{LockCardPage-M7Pcx6mB-CzjxHABW.js → LockCardPage-DLFjGMIe-CJwxHBTx.js} +19 -19
  100. package/dist/assets/{LowBalancePopup-DTwIs75G-BRD9r8mS.js → LowBalancePopup-DPe7elRO-Bgii0mzY.js} +6 -6
  101. package/dist/assets/MagicLinkACHDetailsPage-DQc3pum0-C2Dyu42Z.js +1 -0
  102. package/dist/assets/MagicLinkDomesticWireDetailsPage-DtD1wZUs-CVU818YE.js +1 -0
  103. package/dist/assets/MagicLinkInternationalWireDetailsPage-p1K2cYou-BMU75zJW.js +1 -0
  104. package/dist/assets/MagicLinkSuccessPage-uTUHm3oK-BGx1QWS3.js +31 -0
  105. package/dist/assets/{MagicLinkTitleSection-B985JuE8-VlS0_Ueo.js → MagicLinkTitleSection-CrGigZw5-BF_Mel0J.js} +5 -5
  106. package/dist/assets/MailingDetailsSection-BEpTd3QP-CtqpR-Gb.js +21 -0
  107. package/dist/assets/{MyBankConnectionsSettingsPage-2x0kDozt-B-DkgfNl.js → MyBankConnectionsSettingsPage-CPHG_qZj-Cv2vkFlb.js} +13 -13
  108. package/dist/assets/MyPendingActivationChargeCardListPage-CvMl9E2P-C40qfFQ1.js +6 -0
  109. package/dist/assets/{MyProfileSettingsPage-BQx9m8r--CCbDAOvO.js → MyProfileSettingsPage-CDUxWW5P-BV8AekOH.js} +9 -9
  110. package/dist/assets/NavBarWithPicker-ukJ-8SxD-DzuBOs4j.js +30 -0
  111. package/dist/assets/{NavigationArrow-BpKepWMa-BdqB62PO.js → NavigationArrow-DLfHmE8t-CJQw-tog.js} +7 -7
  112. package/dist/assets/NavigationDots-TTIuTGav-Dpl3-lZ_.js +15 -0
  113. package/dist/assets/{NewGlobalMerchantPage-rAYrEwup-DX3zbNGn.js → NewGlobalMerchantPage-qrkVsl71-Gy1heqbr.js} +37 -37
  114. package/dist/assets/{NoDataChart-SlgxXIjJ-DxbYX5JM.js → NoDataChart-CHLcGmJY-o60E8S1E.js} +2 -2
  115. package/dist/assets/{NoDataTable-CePwfuWH-63JcLMeG.js → NoDataTable-Bv2f24Dy-BxdDK0Sh.js} +1 -1
  116. package/dist/assets/{NotFoundPage-CdmLYWbu-4ugV08yh.js → NotFoundPage-De1VvWXR-CTgXCngp.js} +7 -7
  117. package/dist/assets/{NotificationSettingsPage-KThnHYOw-B6fPh0uG.js → NotificationSettingsPage-BA6OA31--CBfWO-I3.js} +19 -19
  118. package/dist/assets/NotificationsListConfig-e5U6zFaL-CLHC4HiN.js +1 -0
  119. package/dist/assets/NotificationsPage-B7xvgP8z-DCZ8FuvH.js +685 -0
  120. package/dist/assets/OpExByVendorPage-C5DN3Ujz-CwGzpZxP.js +100 -0
  121. package/dist/assets/{OverlayContainerPage-D4QU0p4o-VhNl4Ji-.js → OverlayContainerPage-BG9y5C0t-BmISyMhw.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-C6FwSybq-DFlEavl5.js → PandLWithForecastPage-BBINfNiw-BOBMU-KK.js} +13 -13
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-DFCQGlZ--O_NjtLB8.js → PaymentAccountSetupBillingAddressSection-D0U3JmOv-vufqhDlQ.js} +16 -16
  124. package/dist/assets/PeoplePage-5vcxUe01-C3vcjFOm.js +727 -0
  125. package/dist/assets/{Preview-DrZGwz9y.js → Preview-CA1Ro8Pa.js} +1 -1
  126. package/dist/assets/{ProductsCarousel-Bq0uDCW7-DVlFZNxE.js → ProductsCarousel-CdRGFDrq-BqWqsGo2.js} +8 -8
  127. package/dist/assets/{PromoBaseCards-Bs1TPBeA-BgeB60k7.js → PromoBaseCards-CnRAEsCq-Bliwh9DN.js} +19 -19
  128. package/dist/assets/{QBOConnectionDialog-CGH6M1BO-BLYU__Ef.js → QBOConnectionDialog-DVZWEDpK-Bc0_cD5P.js} +6 -6
  129. package/dist/assets/QBOSetupSection-qpeMgFEQ-C_--S51D.js +79 -0
  130. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CUf8BGfB-B_xupcTv.js → ReimbursementApprovalRuleDetailPage-BxdIzE6u-CQKnW4o9.js} +4 -4
  131. package/dist/assets/{ReimbursementApprovalRulesPage-SKRjcth4-Bz6bYIZs.js → ReimbursementApprovalRulesPage-DTWRo5Ie-DjHMSjnE.js} +11 -11
  132. package/dist/assets/ReimbursementDetailPage-E6DAkd-i-BjsPRzGO.js +314 -0
  133. package/dist/assets/{ReimbursementPromoPage-X1o2D5fz-COdO7cLo.js → ReimbursementPromoPage-DIb3qZ6_-SpJeCRSI.js} +32 -32
  134. package/dist/assets/{ReimbursementSetUpPage-DfAhrvlw-nYuoapwW.js → ReimbursementSetUpPage-BB1W8YH--B00Vhwv5.js} +6 -6
  135. package/dist/assets/ReimbursementsBulkReviewDrawerPage-LVIfhug4-BO74jBI4.js +1 -0
  136. package/dist/assets/{ReloadCard-DvIzOHkJ-N-AxqgLX.js → ReloadCard-D84Lsd_5-BzO2KGeI.js} +5 -5
  137. package/dist/assets/ReportTableViewSelector-Db3_WDLJ-DUTYFa_F.js +151 -0
  138. package/dist/assets/ReportsPage-Blkv8tLt-UF7wvIxP.js +237 -0
  139. package/dist/assets/{RevenueChart-VvZ0y1TP-CMupOCrE.js → RevenueChart-Dfh_D_Vp-00E7CM78.js} +18 -18
  140. package/dist/assets/{ReviewDetailsPage-DC5Pr6t5-CqFNly7B.js → ReviewDetailsPage-DvFKpxt5-x-cocqaX.js} +22 -22
  141. package/dist/assets/{ReviewOverlay-BidXwnVw-aLFcTmHD.js → ReviewOverlay-B22mWGHc-CSe4tQzR.js} +21 -21
  142. package/dist/assets/RoleWithToolTip-Z-Qz5ghD-BF3ViIqp.js +22 -0
  143. package/dist/assets/{ScheduleDetailsFixedAssetsPage-P4en048K-Bk9b9_R0.js → ScheduleDetailsFixedAssetsPage-B1Tu4OmB-BoWzKj3F.js} +13 -13
  144. package/dist/assets/ScheduleDetailsPage-hMZQawbc-B5K8qyv9.js +37 -0
  145. package/dist/assets/ScheduleSequenceTable-EKOr-6FS-CIMOW3Lv.js +324 -0
  146. package/dist/assets/{ScreenRoutes-GMpQIqvy.js → ScreenRoutes-Bsr7kGfq.js} +29 -51
  147. package/dist/assets/{SetUpAccountSection-DBuoMbxP-Cslg712V.js → SetUpAccountSection-Bc1EdtKp-0yaISOWV.js} +14 -14
  148. package/dist/assets/SignIn-DYdZJ_1z-gBNUWjHV.js +491 -0
  149. package/dist/assets/SignInScreen-BUAoHqsZ.js +1 -0
  150. package/dist/assets/SpendManagementListViewPage-C3b_1mS_-DDW1AA6H.js +134 -0
  151. package/dist/assets/SpendManagementPerTabPage-BctgHJjH-BYX0TtFW.js +754 -0
  152. package/dist/assets/{SpendManagementSection-C-EIQv7m-CV_Wxyh4.js → SpendManagementSection-DjGyXgmL-Cmes-08v.js} +21 -21
  153. package/dist/assets/{StatementItem-BSVnuQ3e-yqvWSMaE.js → StatementItem-DkYczigh-CSnHMTYV.js} +4 -4
  154. package/dist/assets/{StatementsPage-CgOC5W_I-8JR2miwM.js → StatementsPage-CgNLCUZ1-C1Zt1XYf.js} +2 -2
  155. package/dist/assets/{StatusSwitcher-BnSFSpJ0-CBUPADr-.js → StatusSwitcher-CU6EtKkZ-C1BL7O8L.js} +5 -5
  156. package/dist/assets/SubTabSwitcher-BKn38ZMT-B9w-rcp8.js +58 -0
  157. package/dist/assets/{SummaryCard-BTnU1LYd-B0v15J8Z.js → SummaryCard-ROGEOK04-BgGopNGq.js} +1 -1
  158. package/dist/assets/TaskManagementPage-B5otKSZb-BFE0mAT-.js +508 -0
  159. package/dist/assets/TimeRangeSwitcher-JnO2pOTw-N9yivG4V.js +64 -0
  160. package/dist/assets/TimeframeSwitcher-DfDRlQ7n-CpbdT0B7.js +31 -0
  161. package/dist/assets/TimeframeSwitcherWithToggle-CaxIUKDr-DQWeAlGt.js +53 -0
  162. package/dist/assets/{TopExCard-Bc812PB9-COWkoZkp.js → TopExCard-BdqEYR_a-Px7omjuw.js} +6 -6
  163. package/dist/assets/{TopExDetailPage-19FwjeX_-CuNIFiR3.js → TopExDetailPage-CsnKTK9E-RTm78wxT.js} +14 -14
  164. package/dist/assets/{TransactionActivityLogPage-7Lfwq_IY-DnHmLebY.js → TransactionActivityLogPage-D9gPySqM-BB8d-BVV.js} +17 -17
  165. package/dist/assets/TransactionDetailPage-m6wkPmbZ-BkoyM4F5.js +903 -0
  166. package/dist/assets/TransactionList-fHfxF4uV-LtxJekW-.js +153 -0
  167. package/dist/assets/{TransactionListBig-gSPdjYSs-BdSow7ov.js → TransactionListBig-8tRV7xaa-Jk-ZnUXx.js} +16 -16
  168. package/dist/assets/TransactionListPage-C6ZUsD4l-B2cnsaR4.js +35 -0
  169. package/dist/assets/{TransactionVendorDetailPage-rcOVwgxy-B8MBpZCv.js → TransactionVendorDetailPage-Di-VFMud-BTshDO7x.js} +6 -6
  170. package/dist/assets/{TransferDrawerPage-IeuD-8y4-DB9WOT1Q.js → TransferDrawerPage-BYVv35xE-Da_CHRTD.js} +45 -45
  171. package/dist/assets/TreasuryOverviewPage-CXOmwW6t-BcQs0RHi.js +725 -0
  172. package/dist/assets/{TreasuryPromoPage-KuuzWIYO-BDZfrTam.js → TreasuryPromoPage-B-PDUb2u-B-T-cvTP.js} +131 -131
  173. package/dist/assets/{TreasuryStatementsPage-BAfN8DAx-BToIYFN6.js → TreasuryStatementsPage-hjW6l23C-C-DgyZev.js} +6 -6
  174. package/dist/assets/TreasuryTaxLetterPage-DYwjPZ9c-DOWoHFiR.js +58 -0
  175. package/dist/assets/{TrendChart-BJqnjEu6-D4oToyZQ.js → TrendChart-wH6MSice-DJRpqJPt.js} +5 -5
  176. package/dist/assets/TrendWithTransactions-C4RoOFet-B4g09uS7.js +116 -0
  177. package/dist/assets/{UncategorizedAccountsMappingPage-DlxWCGZg-BAwb-_vk.js → UncategorizedAccountsMappingPage-Blk80xZv-CW9X7gIW.js} +22 -22
  178. package/dist/assets/{UnitIntegrationPage-U85XCs_D-D9O_ROgv.js → UnitIntegrationPage-B8yOgT6I-DGHJCnWv.js} +5 -5
  179. package/dist/assets/UploadAdditionalDocumentOverlay-CSfIPVfJ-BDLDUOxO.js +38 -0
  180. package/dist/assets/{Vendor2FAPopup-DLU7H22p-bh-wu--S.js → Vendor2FAPopup-pOBQ1C8g-B_aiKxPv.js} +1 -1
  181. package/dist/assets/VendorACHDetailsPage-vLOpvill-CqCIfcoF.js +1 -0
  182. package/dist/assets/VendorDetailPage-D_6A3zAl-tXWG3blq.js +257 -0
  183. package/dist/assets/VendorDomesticWireDetailsPage-CibBnVcZ-BoJ0ATIU.js +1 -0
  184. package/dist/assets/{VendorFiling1099EditablePage-DIvLStyg-BQ8_Q099.js → VendorFiling1099EditablePage-ORFpUADS-rHSTxH-v.js} +32 -32
  185. package/dist/assets/VendorFirstReviewPage-B2GFRqrs-DYmryaKj.js +730 -0
  186. package/dist/assets/{VendorInternationalWireDetailsPage-Ctwg_CTY-Cwh4VXpi.js → VendorInternationalWireDetailsPage-DCI8Yjx2-DMlPUggt.js} +19 -19
  187. package/dist/assets/VendorInternationalWireSwiftDetailsPage-C2TqWbKk-CfEJ4hqR.js +1 -0
  188. package/dist/assets/{VendorsAccountsSection-Bj840XXA-CgKV8slk.js → VendorsAccountsSection-CpHLUjT0-DtbgyO3N.js} +2 -2
  189. package/dist/assets/{VerifyDevice-D5ce0rEk-DWZM5mzw.js → VerifyDevice-B7mUvk_I-DOI_nJJs.js} +9 -9
  190. package/dist/assets/{VideoPlayer-XhlPd-AK-BnsTqJgD.js → VideoPlayer-uODifSjz-C5_6EW14.js} +2 -2
  191. package/dist/assets/VideoPopup-vRgVcJFh-DUXScMWN.js +31 -0
  192. package/dist/assets/{WarningsDrawerPage-CXHMQPmw-BWpof2zn.js → WarningsDrawerPage-GqThVUqO-BliCg9jp.js} +7 -7
  193. package/dist/assets/ZeniAccountDetailPage-Dplz1Jte-CmvovpKF.js +300 -0
  194. package/dist/assets/ZeniAccountListViewPage-CXVzZ4jo-OfYDDT9h.js +443 -0
  195. package/dist/assets/ZeniAccountNavBarPieces-DymlaQkB-raQlgOHA.js +33 -0
  196. package/dist/assets/{ZeniAccountPromoPage-DGttDJGp-hSxOffm6.js → ZeniAccountPromoPage-BBNUZmma-BaNIxJaE.js} +30 -30
  197. package/dist/assets/ZeniAccountSetupPage-CHHGMoCM-Bpe-HUos.js +36 -0
  198. package/dist/assets/{ZeniCopyright-Ct2Gx1TW-C8K8JRc8.js → ZeniCopyright-BgmdPASs-DelYiDhm.js} +1 -1
  199. package/dist/assets/{ZeniTransferAmountSlider-CtSVUxFX-Dwsmf36y.js → ZeniTransferAmountSlider-DMsck2bu-DCLTW9RT.js} +7 -7
  200. package/dist/assets/{add-to-wallet-DgdBD8_G-ML9MGMdm.js → add-to-wallet-DgdBD8_G-D-4o-88L.js} +1 -1
  201. package/dist/assets/{analytics-P_xGl18F.js → analytics-C31yhYYa.js} +1 -1
  202. package/dist/assets/{analyticsHelper-XlFGO0fA.js → analyticsHelper-B7l4_BHB.js} +1 -1
  203. package/dist/assets/{analyticsHelper-BZApS5V7-CQ7w4UrQ.js → analyticsHelper-DmrBYvLC-BYxc55FI.js} +1 -1
  204. package/dist/assets/{arrow-south-east-round-PEovUgvH-CaCPY8nT.js → arrow-south-east-round-PEovUgvH-BlzMDlPl.js} +1 -1
  205. package/dist/assets/{auto-transfer-rule-mbafm5D3-NgJPDzL7.js → auto-transfer-rule-mbafm5D3-BYUDU2ca.js} +1 -1
  206. package/dist/assets/chartTypes-xMrDPcl9-DKVI72OS.js +1 -0
  207. package/dist/assets/commonDimensions-BeMzLvmC-DeA_97Hu.js +1 -0
  208. package/dist/assets/{commonTypes-CGdrM7wg-CQNj58rv.js → commonTypes-DYUaD7k3-CaDbaWCj.js} +1 -1
  209. package/dist/assets/{constants-DOyZLfgU.js → constants-9sygGEgN.js} +1 -1
  210. package/dist/assets/{core-9fRi0Mt4.js → core-D_TfeHIh.js} +3 -53
  211. package/dist/assets/{dash.all.min-CF_THag5.js → dash.all.min-Ch2VCoo5.js} +1 -1
  212. package/dist/assets/downloadPdf-vnuUU3X8-B7Q2l1ET.js +1 -0
  213. package/dist/assets/{empty-B5Q0rRHT.js → empty-BiJ0vfXH.js} +1 -1
  214. package/dist/assets/{empty-CAQ4ZkXH.js → empty-DNhRmYaU.js} +1 -1
  215. package/dist/assets/epic-DgXJ8ekR.js +2 -0
  216. package/dist/assets/{gift-box-Cmt9OgIZ-UGNcWPn9.js → gift-box-Cmt9OgIZ-BEAvT8rf.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-BOhNpsDD.js → graphic-no-data-l-DU4J8fDt-CYOuVrsL.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-emGPe0Ve.js → graphic-no-data-net-burn-l-CzmycA0m-CwMRb5f1.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-B0o7WHoi.js → handshake-BPg58FML-DG913wOo.js} +1 -1
  220. package/dist/assets/{helper-kGYJRbxq-Dou-1Hvg.js → helper-BabSYuW2-DU5KaXId.js} +3 -3
  221. package/dist/assets/{index-Yp99NR_9.js → index-B69DilQP.js} +1 -1
  222. package/dist/assets/{index-BIjhkiZM.js → index-BidMB_0T.js} +1 -1
  223. package/dist/assets/{index-CLu6elou.js → index-Bv_arhgP.js} +1 -1
  224. package/dist/assets/{index-xQWNfy_j.js → index-COD15W4T.js} +2 -8
  225. package/dist/assets/{index-WR35fJ_g.js → index-CQD_nutl.js} +4740 -4814
  226. package/dist/assets/{index-Bsy-GBiE.js → index-D7j2t6WX.js} +1 -1
  227. package/dist/assets/{index-LDC8nb34.js → index-l2Ugf91P.js} +1 -1
  228. package/dist/assets/{lexical-OBpCEASU.js → lexical-CBxUxgf7.js} +1 -1
  229. package/dist/assets/{liveblocks-C4P3eYZH.js → liveblocks-CtZCL_Pz.js} +2 -15
  230. package/dist/assets/lottie-CVJxkEeH.js +2 -0
  231. package/dist/assets/mapLoadingInProgressToTreeNode-Bs8-HXsR-byZZ2UVu.js +1 -0
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-oqbfssc7-Dcmf_p1v.js → mapSectionWithAcOnlyToTreeNode-O-hSpwLG-CBm5dWL6.js} +1 -1
  233. package/dist/assets/mapSpacerToTreeNode-BhgPzzom-CExmYnCM.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-Ldd39Ct5-CMF3q4cV.js +1 -0
  235. package/dist/assets/mapTimeframeBalancesToTreeNode-nYrRWCim-DX2Ouhk3.js +1 -0
  236. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BGId2YAo-BE2VzwOR.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D8UYLJpF-CA2QnDit.js} +1 -1
  237. package/dist/assets/{mui-Brvp17ej.js → mui-Dk05P7Hv.js} +1 -9
  238. package/dist/assets/{page-detail-CWX5S47F-ChR2-yvA.js → page-detail-CWX5S47F-DkWNpJ9N.js} +1 -1
  239. package/dist/assets/panelSelectedMixin-Cddsb26L-BuTIFt9p.js +3 -0
  240. package/dist/assets/{radio-default-CiSgisfh-CXFHpW2r.js → radio-default-CiSgisfh-D0KDYg5a.js} +1 -1
  241. package/dist/assets/react-BRl-ICJH.js +19 -0
  242. package/dist/assets/{react-BhtBasS0.js → react-BgX7cXZF.js} +3 -13
  243. package/dist/assets/{react-kWaLU55M.js → react-BwERS3QF.js} +2 -12
  244. package/dist/assets/{react-CWcYCkHQ.js → react-Bxl9Z8Qh.js} +2 -12
  245. package/dist/assets/{react-B62ffbg2.js → react-DDFsdGD8.js} +2 -12
  246. package/dist/assets/{react-D3G0H1Pz.js → react-DQw_p84_.js} +2 -12
  247. package/dist/assets/{react-Be9s5WWp.js → react-klqgMUCw.js} +2 -12
  248. package/dist/assets/{react-DXoHWgeC.js → react-q9e7Zd9C.js} +2 -12
  249. package/dist/assets/{recharts-3nFTO0WQ.js → recharts-CgI_z3-h.js} +19 -27
  250. package/dist/assets/{sentry-Bp-C2lie.js → sentry-B9mdFwQp.js} +2 -17
  251. package/dist/assets/{shield-DOlUxcFf-C7KHbQMV.js → shield-DOlUxcFf-DFrS0m-m.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-BghIFr09-Cj1ZDevr.js +1 -0
  253. package/dist/assets/toChartData-DRKQ5lEf-o8RM5Syw.js +1 -0
  254. package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-DZz1sA_Y.js +1 -0
  255. package/dist/assets/{uploadAttachment-CPTMCWWz-BsMxClN1.js → uploadAttachment-DrIqsgBH-KXnF0yC8.js} +34 -34
  256. package/dist/assets/uploadReceipts-CIgkuVpu-DVqh43Th.js +1 -0
  257. package/dist/assets/{url-BgfWw6hk.js → url-1RDcEwn0.js} +1 -1
  258. package/dist/assets/{url-C3X-Ohpm.js → url-OCPnhlmx.js} +1 -1
  259. package/dist/assets/{useLongPress-GCK2COYQ-aiANt-Y6.js → useLongPress-GCK2COYQ-Bdc_o-8-.js} +1 -1
  260. package/dist/assets/{usp-line-BBd1wKwW-TqZcDLho.js → usp-line-BBd1wKwW-BUoEX_Hw.js} +1 -1
  261. package/dist/assets/{utils-DYOlPuZo.js → utils-DZ3Subia.js} +4 -38
  262. package/dist/assets/zeni-epic-state-ksdE_TIc.js +14 -0
  263. package/dist/index.html +1 -1
  264. package/package.json +6 -6
  265. package/dist/assets/ACHDetailsPage-CfGEDzSb-DV0Eamud.js +0 -21
  266. package/dist/assets/AccountInfoPage-D6sv-ieC-Bi0ZTjMk.js +0 -18
  267. package/dist/assets/AccountLockedInfoModal-DTEWzR6U-LlwPq_cj.js +0 -59
  268. package/dist/assets/AccountRow-BsjoBGWz-DZpihkys.js +0 -298
  269. package/dist/assets/AddAddressForCardDrawer-D7IEsbzd-BKhmiajL.js +0 -6
  270. package/dist/assets/AppBasePage-1U1M1WD9-C_v4CyTj.js +0 -71
  271. package/dist/assets/AppDrawerContent-ilzYI49f-YkJW8OTT.js +0 -92
  272. package/dist/assets/ApprovalRulesSettingsPage-CJ4xz_hQ-ZWS4PutA.js +0 -47
  273. package/dist/assets/BillDetailPage-Cf4PYoYQ-BDF2h_o1.js +0 -266
  274. package/dist/assets/BillingSettingsPage-DsMjw0qG-BHFQfcoR.js +0 -44
  275. package/dist/assets/CardNumberSubText-bkAPzhoK-xPg_Vz-Z.js +0 -21
  276. package/dist/assets/ChargeCardPromoPage-Dx4Lni50-DqToHrb8.js +0 -222
  277. package/dist/assets/CollapsableReportTable-4bJMcvHV-Mhl0eZKS.js +0 -2844
  278. package/dist/assets/ConfettiBurst-CVLXMknu-xHcyRPzb.js +0 -1
  279. package/dist/assets/CurrencySelectField-DrL1sFLq-DKlwkEgI.js +0 -139
  280. package/dist/assets/CustomerOnboardingContainerPage-ecKRiXO1-DkyMsJ2e.js +0 -1
  281. package/dist/assets/CustomerOnboardingNoStepsPage--O7lSduT-CyYXEVAV.js +0 -66
  282. package/dist/assets/DashboardSidebarBackgroundAnimation-8LKlc-IA--VyG_ExD.js +0 -12
  283. package/dist/assets/DepositAccTransactionItem-DB7Oz4GA-Cxjn3epT.js +0 -76
  284. package/dist/assets/DepositAccTransactionListPage-BU1b2OIP-CIILPZQP.js +0 -66
  285. package/dist/assets/DownloadOverlay-B61S0t5X-ChBbIlkz.js +0 -439
  286. package/dist/assets/EditPeoplePage-Dd1g1r37-YXzUsk-J.js +0 -55
  287. package/dist/assets/EditReimbursementDetailPage-B_u1W6bf-CXWrMZff.js +0 -865
  288. package/dist/assets/EntityDetailPage-q_kzXlBV-BMAnc8Y1.js +0 -18
  289. package/dist/assets/ExpenseAutomationPage-CBGrrVMb-DXQLO7aa.js +0 -1703
  290. package/dist/assets/GlobalReviewListPage-Ch51_Flw-Bp8qtPIo.js +0 -291
  291. package/dist/assets/InsightsSection-CQD6KXLg-CwZowiTB.js +0 -27
  292. package/dist/assets/InternationalWireVerificationPage-DAQrAsW5-SZTMjIa_.js +0 -65
  293. package/dist/assets/InvitePeoplePage-CjJOyA8E-CRqZcE-n.js +0 -12
  294. package/dist/assets/InvoiceUploadSection-BJ_Sbytw-S2-9Zj1d.js +0 -140
  295. package/dist/assets/LabeledDocumentField-B7TETIva-C4iXsbqy.js +0 -41
  296. package/dist/assets/LabeledDropDownFormattedTextField-Dj0SVwKK-B-muR79Q.js +0 -59
  297. package/dist/assets/MagicLinkACHDetailsPage-Cateo39t-DeQKBNgp.js +0 -1
  298. package/dist/assets/MagicLinkDomesticWireDetailsPage-BMkPYONG-D9I776xf.js +0 -1
  299. package/dist/assets/MagicLinkInternationalWireDetailsPage-BVn2JAEL-DW-l5QcU.js +0 -1
  300. package/dist/assets/MagicLinkSuccessPage-6e22dOVy-Ca3PQPOI.js +0 -31
  301. package/dist/assets/MailingDetailsSection-detuRa7l-iQO9MOji.js +0 -21
  302. package/dist/assets/MyPendingActivationChargeCardListPage-CfsTMsnG-HpMjRdS6.js +0 -6
  303. package/dist/assets/NavBarWithPicker-BXsxMlBP-Yw922VyS.js +0 -30
  304. package/dist/assets/NavigationDots-CxV99fd--DHe0JJ6H.js +0 -15
  305. package/dist/assets/NotificationsListConfig-6ay7Y8AS-C6rUrmqa.js +0 -1
  306. package/dist/assets/NotificationsPage-BmNwL81h-SvvKfJOs.js +0 -685
  307. package/dist/assets/OpExByVendorPage-DQPUJmPx-BSvUE-Xz.js +0 -100
  308. package/dist/assets/PeoplePage-Df6QdrX5-DiOY0BT9.js +0 -675
  309. package/dist/assets/QBOSetupSection-BsFbgysY-CKfysLHU.js +0 -79
  310. package/dist/assets/ReimbursementDetailPage-BzqZlk2B-CTZbBMQs.js +0 -314
  311. package/dist/assets/ReimbursementsBulkReviewDrawerPage-D0tGia3M-Dr3nLXgh.js +0 -1
  312. package/dist/assets/ReportTableViewSelector-DikZuwk8-SNjapZLW.js +0 -150
  313. package/dist/assets/ReportsPage-CgwJh87H-D5Dh_2rJ.js +0 -121
  314. package/dist/assets/RoleWithToolTip-CUpngYu7-Bv4aTWNw.js +0 -22
  315. package/dist/assets/ScheduleDetailsPage-Bm8IOCpE-DXeoQ75s.js +0 -37
  316. package/dist/assets/ScheduleSequenceTable-Cz46lcuv-JJwBSAjp.js +0 -324
  317. package/dist/assets/SignIn-ogxsR98p-CQtefyen.js +0 -491
  318. package/dist/assets/SignInScreen-BhGickKe.js +0 -1
  319. package/dist/assets/SpendManagementListViewPage-DP6uWx2T-CF2QC1sF.js +0 -134
  320. package/dist/assets/SpendManagementPerTabPage-DSXg_agw-D7L-1Tg8.js +0 -754
  321. package/dist/assets/SubTabSwitcher-VHMqXmGa-eHcHFn5d.js +0 -58
  322. package/dist/assets/TaskManagementPage-CeQkRFbn-Dt9eiknk.js +0 -508
  323. package/dist/assets/TimeRangeSwitcher-BifUYnpe-Cm1SHSWE.js +0 -64
  324. package/dist/assets/TimeframeSwitcher-9X-6amWo-DNzeRE8K.js +0 -31
  325. package/dist/assets/TimeframeSwitcherWithToggle-C0fPwGaA-uGCvLn9v.js +0 -31
  326. package/dist/assets/TransactionDetailPage-C7Tv82YB-BzmjMKCy.js +0 -903
  327. package/dist/assets/TransactionList-CSZxHqad-DMqYfu_m.js +0 -153
  328. package/dist/assets/TransactionListPage-9ezEzYvU-DvKHNHiW.js +0 -35
  329. package/dist/assets/TreasuryOverviewPage-bmv1c3nO-pwlj55Pc.js +0 -708
  330. package/dist/assets/TreasuryTaxLetterPage-BRDygaXn-BYUu-RLt.js +0 -58
  331. package/dist/assets/TrendWithTransactions-2pBj6qUR-CstRDLdO.js +0 -116
  332. package/dist/assets/UploadAdditionalDocumentOverlay-5-avyqy0-CQpeMTAN.js +0 -38
  333. package/dist/assets/VendorACHDetailsPage-B-Zle7l9-DmwsHf4H.js +0 -1
  334. package/dist/assets/VendorDetailPage-prrUwTR_-DAtjrsms.js +0 -257
  335. package/dist/assets/VendorDomesticWireDetailsPage-Cm6an-ZT-BlQReF5b.js +0 -1
  336. package/dist/assets/VendorFirstReviewPage-BJKFcgOq-DxNWypjV.js +0 -730
  337. package/dist/assets/VendorInternationalWireSwiftDetailsPage-D11DRwWL-BLYwxV4T.js +0 -1
  338. package/dist/assets/VideoPopup-8ebccUQt-Tnc2J4oh.js +0 -31
  339. package/dist/assets/ZeniAccountDetailPage-BCEccrGo-BB2c1P9y.js +0 -300
  340. package/dist/assets/ZeniAccountListViewPage-f_9PSaYv-BA_wKmpL.js +0 -441
  341. package/dist/assets/ZeniAccountNavBarPieces-oinah8Mu-BSImrbVQ.js +0 -14
  342. package/dist/assets/ZeniAccountSetupPage-5hc6Dfls-DVsTiUTp.js +0 -36
  343. package/dist/assets/chartTypes-DcNGo46a-8Wbx66DS.js +0 -1
  344. package/dist/assets/commonDimensions-C5V1GwCs-MODdkiG5.js +0 -1
  345. package/dist/assets/detailCommon-DEXTnYE7-DLq8Xlss.js +0 -38
  346. package/dist/assets/downloadPdf-Cd1RR1sH-4x5kEIho.js +0 -1
  347. package/dist/assets/epic-Ng2EVSPh.js +0 -2
  348. package/dist/assets/lottie-Bc1XI_mg.js +0 -9
  349. package/dist/assets/mapLoadingInProgressToTreeNode-BXVk4dIp-BOP1nsZO.js +0 -1
  350. package/dist/assets/mapSpacerToTreeNode-BA1RwyQy-BeUvXbCM.js +0 -1
  351. package/dist/assets/mapTimeframeBalancesToTreeNode-B8pIGqbO-CfD51fLc.js +0 -1
  352. package/dist/assets/mapTimeframeBalancesToTreeNode-D-yDCyLa-DmgDklT3.js +0 -1
  353. package/dist/assets/panelSelectedMixin-CzfD5-Zs-cmGIfAj7.js +0 -4
  354. package/dist/assets/react-BgiuPaJ9.js +0 -37
  355. package/dist/assets/toCOABalancesWithID-Ckyq_c20-B6i1AWVq.js +0 -1
  356. package/dist/assets/toChartData-N0pkfSXY-B_HjSMac.js +0 -1
  357. package/dist/assets/uploadReceipts-Dge0cNF1-D9Xfc9pM.js +0 -1
  358. package/dist/assets/zeni-epic-state-C5X_gOJX.js +0 -151
@@ -1,4 +1,4 @@
1
- import{d as Ve,J as K,O as _,aa as et,aS as Fe,cH as tt,V as t,bE as it,ad as at,aT as nt,y as f,o as n,kX as lt,kY as ot,kZ as rt,cP as Re,cM as dt,f4 as st,fI as ct,fJ as pt,cO as ke,gg as mt,k_ as ut,cT as ht,cU as yt,fb as ze,fc as Ae,fl as Oe,b as ge,u,fn as gt,bc as ft,b9 as xe,p as Ee,an as bt,as as We}from"./index-WR35fJ_g.js";import{a as U}from"./sentry-Bp-C2lie.js";import{n as d}from"./mui-Brvp17ej.js";import{bL as _e,bh as le,bP as He,bH as xt,bo as wt}from"./zeni-epic-state-C5X_gOJX.js";import{Y as vt}from"./LabeledDocumentField-B7TETIva-C4iXsbqy.js";import{S as te}from"./LabeledText-BaYp8lyd-DsouujPF.js";import"./liveblocks-C4P3eYZH.js";import"./core-9fRi0Mt4.js";import"./recharts-3nFTO0WQ.js";import"./lottie-Bc1XI_mg.js";import"./analytics-P_xGl18F.js";import"./lexical-OBpCEASU.js";import"./utils-DYOlPuZo.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="cb0cba26-1f54-461f-9a3e-4d0257fa5a7b",e._sentryDebugIdIdentifier="sentry-dbid-cb0cba26-1f54-461f-9a3e-4d0257fa5a7b")}catch{}})();const St={progressBarWidth:new f(343,726)},jt=({pageIndex:e})=>{const i=K(),a=Ve(),s=_.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.progressBar,h=[s.stateOne,s.stateTwo,s.stateThree];return i==="small"?t.jsxs($t,{children:[t.jsx(lt,{coloredSectionCount:e,stretchedSection:1,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1,topMargin:8}),t.jsx(Pt,{children:h.map((p,l)=>t.jsx(Dt,{isLast:l==h.length-1,isRelevant:l<=e,perSectionHeight:100/h.length,children:t.jsx(Le,{children:p})},l))})]}):t.jsxs(Ct,{windowSize:i,children:[t.jsx(ot,{coloredSectionCount:e,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1}),t.jsx(It,{children:h.map((p,l)=>t.jsx(Tt,{stateIndex:l,isRelevant:l<=e,children:t.jsx(Le,{children:p})},p))})]})},Ct=d.div`
1
+ import{y as Re,J as G,O as U,aa as et,aS as De,cJ as tt,V as t,bE as it,ae as at,aT as nt,x as f,o as n,l6 as lt,l7 as ot,l8 as rt,cR as Ve,cO as dt,f6 as st,fK as ct,fL as pt,cQ as Ae,gi as mt,l9 as ut,cV as ht,cW as yt,fd as ze,fe as Oe,fn as ke,w as ge,u,fp as gt,bc as ft,b9 as be,p as Ee,ao as xt,at as We}from"./index-CQD_nutl.js";import{a as J}from"./sentry-B9mdFwQp.js";import{n as d}from"./mui-Dk05P7Hv.js";import{bL as Ue,bh as le,bZ as qe,bH as bt,bo as wt}from"./zeni-epic-state-ksdE_TIc.js";import{Y as vt}from"./LabeledDocumentField-B44mt0a7-C0VfTm18.js";import{S as te}from"./LabeledText-Q6xdsHJ6-CFwsR7ll.js";import"./liveblocks-CtZCL_Pz.js";import"./core-D_TfeHIh.js";import"./recharts-CgI_z3-h.js";import"./lottie-CVJxkEeH.js";import"./analytics-C31yhYYa.js";import"./lexical-CBxUxgf7.js";import"./utils-DZ3Subia.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="523c0ec9-ae04-4076-b0a4-ce745ec6ea5c",e._sentryDebugIdIdentifier="sentry-dbid-523c0ec9-ae04-4076-b0a4-ce745ec6ea5c")}catch{}})();const St={progressBarWidth:new f(343,726)},jt=({pageIndex:e})=>{const i=G(),a=Re(),s=U.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.progressBar,h=[s.stateOne,s.stateTwo,s.stateThree];return i==="small"?t.jsxs($t,{children:[t.jsx(lt,{coloredSectionCount:e,stretchedSection:1,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1,topMargin:8}),t.jsx(Pt,{children:h.map((p,l)=>t.jsx(Ft,{isLast:l==h.length-1,isRelevant:l<=e,perSectionHeight:100/h.length,children:t.jsx(Le,{children:p})},l))})]}):t.jsxs(Ct,{windowSize:i,children:[t.jsx(ot,{coloredSectionCount:e,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1}),t.jsx(It,{children:h.map((p,l)=>t.jsx(Tt,{stateIndex:l,isRelevant:l<=e,children:t.jsx(Le,{children:p})},p))})]})},Ct=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  margin-top: ${n.sp3};
@@ -31,17 +31,17 @@ import{d as Ve,J as K,O as _,aa as et,aS as Fe,cH as tt,V as t,bE as it,ad as at
31
31
  margin: -${n.sp2} ${n.sp3} ${n.sp3} ${n.sp3};
32
32
  justify-content: space-between;
33
33
  height: 186px;
34
- `,Dt=d.div`
34
+ `,Ft=d.div`
35
35
  display: flex;
36
36
  flex-direction: column;
37
37
  align-items: flex-start;
38
38
  position: relative;
39
39
  height: ${e=>`${e.perSectionHeight}%`};
40
40
  color: ${e=>e.isRelevant?e.theme.colors.primary:e.theme.colors.grey2};
41
- `,T={containerWidth:new f(343,580,726),labelWidth:new f(120,160,160),largeLabelWidth:new f(150,228,228),largeLabelPickerWidth:new f(100,180,180),paddingBottom:new f(u[3],u[2]),labelMarginLeftPicker:new f(u[3],u[4]),labelMarginRightPicker:new f(u[3],u[4]),labelMarginTopPicker:new f(u[2],u[2]),labeledFieldPaddingLeft:new f(u[0],u[0]),labeledFieldPaddingRight:new f(u[2],u[2]),labeledFieldPaddingTop:new f(u[2],u[2]),labeledFieldPaddingBottom:new f(u[2],u[2]),infoLabelPaddingRight:new f(u[0],u[3]),infoLabelMarginTop:new f(u[1],u[0])},R=(e,i)=>`${e}.${i}`,Ft=({sectionId:e,paymentDetails:i,allPaymentMethods:a,paymentToOptions:s,withdrawFromList:h,internationalVerificationStatus:p,fileProps:l,receiptFile:P,deleteFileStatusById:I,updateFileStatusById:b,onClickAddAccount:w})=>{const o=K(),{spendManagement:F,dateFormat:y,common:C}=_.getLocalizedStrings(),$=F.billPay.billDetails,X=y.visual.defaultInput,re=F.zeniAccounts.expressPay,de=C.documents,H=T.largeLabelWidth.value(o),[g,Z]=U.useState(!1),q=a.filter(r=>r.method.includes(i?.withdrawFrom?.accType??"depositAccount")&&r.method.includes(xt)===!1),k=r=>s.find(m=>m.id===r),L=r=>ze(k(r)),se=()=>{let r=[];return i?.paymentType?.method.includes("wire")===!0?r=s.filter(m=>!!m.bankRoutingNumberWireTransfer).map(m=>m.id):r=s.filter(m=>!!m.bankRoutingNumberAch).map(m=>m.id),r},ce=r=>{const m=k(r),j=_.getLocalizedStrings().spendManagement.billPay;return i?.paymentType?.method.includes("ach")===!0?t.jsxs(fe,{children:[t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.achDetails.bankRoutingNumber}),t.jsx(E,{children:m?.bankRoutingNumberAch??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.achDetails.bankName}),t.jsx(E,{children:m?.bankName??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.achDetails.bankAccountNumber}),t.jsx(E,{children:m?.bankAccountNumber??j.vendorCreation.emptyPlaceholderString})]})]}):i?.paymentType?.method.includes("wire")===!0?i.paymentType?.method.includes("international")===!0?t.jsx(fe,{children:m?.piLabels.map(Y=>t.jsxs(W,{children:[t.jsxs(z,{children:[Y.name,j.paymentDetails.colon]}),t.jsx(E,{children:Y.value})]},Y.name))}):t.jsxs(fe,{children:[t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.wireDetails.bankRoutingNumber}),t.jsx(E,{children:m?.bankRoutingNumberWireTransfer??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.achDetails.bankName}),t.jsx(E,{children:m?.bankName??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.wireDetails.accountNumber}),t.jsx(E,{children:m?.bankAccountNumber??j.vendorCreation.emptyPlaceholderString})]})]}):""};return t.jsxs(t.Fragment,{children:[t.jsx(kt,{children:$.paymentDetailsTitle}),t.jsxs(At,{windowSize:o,children:[t.jsx(st,{label:{label:$.withdrawFrom,width:H,style:{marginLeft:T.labelMarginLeftPicker.valuePx(o),marginTop:T.labelMarginTopPicker.valuePx(o),marginRight:T.labelMarginRightPicker.valuePx(o),width:T.largeLabelPickerWidth.value(o)}},style:{paddingTop:T.labeledFieldPaddingTop.valuePx(o),paddingBottom:T.labeledFieldPaddingBottom.valuePx(o),paddingLeft:T.labeledFieldPaddingLeft.valuePx(o),paddingRight:T.labeledFieldPaddingRight.valuePx(o),border:"none",width:"auto",display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:T.infoLabelPaddingRight.valuePx(o),marginTop:T.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:R(e,"withdrawFrom"),placeholder:ke($.withdrawFrom),style:{position:"relative"},capitalizeOptions:!0,isOptionRemovable:!1,showTickIcon:!1,valueToLogo:(r,m)=>pt(h,r,m),valueToSubLabels:(r,m)=>ct(h,r,m,!1),defaultValue:{selectedOption:i?.withdrawFrom?.id,allOptions:h.map(r=>({label:r.label,value:r.id}))},textAlignment:"right",registerOptions:{required:!0,validate:r=>r!=null&&!!r.selectedOption}}}),t.jsx(J,{}),t.jsx(mt,{showAdditionalInfoLabel:!1,label:{label:$.amount,width:H},formattedTextField:{type:"number",name:R(e,"amount"),defaultValue:i?.recipientAmount??0,placeholder:ke($.amount),returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:r=>r!=null&&r!==0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,shouldHighlightZeroAmount:!0},style:{width:"auto"}}),t.jsx(J,{}),t.jsx(ut,{label:{label:$.paymentMethod,width:T.labelWidth.value(o)},style:{width:"auto"},disableOutline:!0,paymentSingleSelectField:{name:R(e,"paymentMethod"),placeholder:$.billTypeMethodPlaceholder,defaultValue:i?.paymentType,allPaymentMethods:q,isAdmin:!0,internationalVerificationStatus:p,registerOptions:{required:!0,validate:r=>r!=null},onInternationalWireVerifyClick:()=>{}}}),t.jsx(J,{}),t.jsx(ht,{label:{label:$.paymentDate,width:T.labelWidth.value(o)},style:{paddingBottom:T.paddingBottom.valuePx(o),width:"auto"},dateField:{name:R(e,"paymentDate"),placeholder:$.paymentDate,dateFormat:X,autoComplete:"off",minDate:le(),registerOptions:{required:!0}}}),t.jsx(J,{}),t.jsx(Re,{label:{label:$.paymentTo,width:H},style:{width:"auto"},isFunctional:!0,singleSelectField:{singleSelect:{name:R(e,"paymentTo"),placeholder:$.selectAccount,getTooltipInfo:ce,menuPlacement:"top",maxMenuHeight:308,isOptionRemovable:!1,showEyeIconOnSelect:!1,showVerifiedIcon:!0,onClickCreateBankAccount:w,showAddBankAccountOption:!0,showCollectPaymentDetailsOption:!1,getLabelForId:L},defaultValue:{selectedOption:i?.paymentType!=null?i?.paymentTo?.id:"",allOptions:i?.paymentType!=null?se():[]},registerOptions:{required:!0,validate:r=>r?.selectedOption!=null}}}),t.jsx(J,{}),t.jsx(vt,{name:R(e,"receipt"),sizeLimit:yt,deleteFileStatusById:I,updateFileStatusById:b,filesEndPoint:l.filesEndPoint,authParams:l.authParams,label:{label:re.reciept,width:H},filemetadataPayload:{documentType:"id_document",purposeId:"business_verification_others",documentSide:"front"},file:P,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:g,updateFilesEntity:l.updateFilesEntity,onEditFileName:l.onEditFileName,onDeleteFile:l.onDeleteFile,onFileSizeError:r=>Z(r),isOptional:!0,style:P!=null?{borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"}:void 0},R(e,"receipt")),P==null?t.jsx(Ot,{windowSize:o,isError:g,children:de.formatDocumentText10MB}):null,t.jsx(J,{})]})]})},kt=d(xe)`
41
+ `,T={containerWidth:new f(343,580,726),labelWidth:new f(120,160,160),largeLabelWidth:new f(150,228,228),largeLabelPickerWidth:new f(100,180,180),paddingBottom:new f(u[3],u[2]),labelMarginLeftPicker:new f(u[3],u[4]),labelMarginRightPicker:new f(u[3],u[4]),labelMarginTopPicker:new f(u[2],u[2]),labeledFieldPaddingLeft:new f(u[0],u[0]),labeledFieldPaddingRight:new f(u[2],u[2]),labeledFieldPaddingTop:new f(u[2],u[2]),labeledFieldPaddingBottom:new f(u[2],u[2]),infoLabelPaddingRight:new f(u[0],u[3]),infoLabelMarginTop:new f(u[1],u[0])},V=(e,i)=>`${e}.${i}`,Dt=({sectionId:e,paymentDetails:i,allPaymentMethods:a,paymentToOptions:s,withdrawFromList:h,internationalVerificationStatus:p,fileProps:l,receiptFile:P,deleteFileStatusById:I,updateFileStatusById:x,onClickAddAccount:w})=>{const o=G(),{spendManagement:D,dateFormat:y,common:C}=U.getLocalizedStrings(),$=D.billPay.billDetails,Z=y.visual.defaultInput,re=D.zeniAccounts.expressPay,de=C.documents,q=T.largeLabelWidth.value(o),[g,X]=J.useState(!1),_=a.filter(r=>r.method.includes(i?.withdrawFrom?.accType??"depositAccount")&&r.method.includes(bt)===!1),A=r=>s.find(m=>m.id===r),L=r=>ze(A(r)),se=()=>{let r=[];return i?.paymentType?.method.includes("wire")===!0?r=s.filter(m=>!!m.bankRoutingNumberWireTransfer).map(m=>m.id):r=s.filter(m=>!!m.bankRoutingNumberAch).map(m=>m.id),r},ce=r=>{const m=A(r),j=U.getLocalizedStrings().spendManagement.billPay;return i?.paymentType?.method.includes("ach")===!0?t.jsxs(fe,{children:[t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.achDetails.bankRoutingNumber}),t.jsx(E,{children:m?.bankRoutingNumberAch??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.achDetails.bankName}),t.jsx(E,{children:m?.bankName??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.achDetails.bankAccountNumber}),t.jsx(E,{children:m?.bankAccountNumber??j.vendorCreation.emptyPlaceholderString})]})]}):i?.paymentType?.method.includes("wire")===!0?i.paymentType?.method.includes("international")===!0?t.jsx(fe,{children:m?.piLabels.map(H=>t.jsxs(W,{children:[t.jsxs(z,{children:[H.name,j.paymentDetails.colon]}),t.jsx(E,{children:H.value})]},H.name))}):t.jsxs(fe,{children:[t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.wireDetails.bankRoutingNumber}),t.jsx(E,{children:m?.bankRoutingNumberWireTransfer??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.achDetails.bankName}),t.jsx(E,{children:m?.bankName??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.wireDetails.accountNumber}),t.jsx(E,{children:m?.bankAccountNumber??j.vendorCreation.emptyPlaceholderString})]})]}):""};return t.jsxs(t.Fragment,{children:[t.jsx(At,{children:$.paymentDetailsTitle}),t.jsxs(Ot,{windowSize:o,children:[t.jsx(st,{label:{label:$.withdrawFrom,width:q,style:{marginLeft:T.labelMarginLeftPicker.valuePx(o),marginTop:T.labelMarginTopPicker.valuePx(o),marginRight:T.labelMarginRightPicker.valuePx(o),width:T.largeLabelPickerWidth.value(o)}},style:{paddingTop:T.labeledFieldPaddingTop.valuePx(o),paddingBottom:T.labeledFieldPaddingBottom.valuePx(o),paddingLeft:T.labeledFieldPaddingLeft.valuePx(o),paddingRight:T.labeledFieldPaddingRight.valuePx(o),border:"none",width:"auto",display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:T.infoLabelPaddingRight.valuePx(o),marginTop:T.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:V(e,"withdrawFrom"),placeholder:Ae($.withdrawFrom),style:{position:"relative"},capitalizeOptions:!0,isOptionRemovable:!1,showTickIcon:!1,valueToLogo:(r,m)=>pt(h,r,m),valueToSubLabels:(r,m)=>ct(h,r,m,!1),defaultValue:{selectedOption:i?.withdrawFrom?.id,allOptions:h.map(r=>({label:r.label,value:r.id}))},textAlignment:"right",registerOptions:{required:!0,validate:r=>r!=null&&!!r.selectedOption}}}),t.jsx(Y,{}),t.jsx(mt,{showAdditionalInfoLabel:!1,label:{label:$.amount,width:q},formattedTextField:{type:"number",name:V(e,"amount"),defaultValue:i?.recipientAmount??0,placeholder:Ae($.amount),returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:r=>r!=null&&r!==0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,shouldHighlightZeroAmount:!0},style:{width:"auto"}}),t.jsx(Y,{}),t.jsx(ut,{label:{label:$.paymentMethod,width:T.labelWidth.value(o)},style:{width:"auto"},disableOutline:!0,paymentSingleSelectField:{name:V(e,"paymentMethod"),placeholder:$.billTypeMethodPlaceholder,defaultValue:i?.paymentType,allPaymentMethods:_,isAdmin:!0,internationalVerificationStatus:p,registerOptions:{required:!0,validate:r=>r!=null},onInternationalWireVerifyClick:()=>{}}}),t.jsx(Y,{}),t.jsx(ht,{label:{label:$.paymentDate,width:T.labelWidth.value(o)},style:{paddingBottom:T.paddingBottom.valuePx(o),width:"auto"},dateField:{name:V(e,"paymentDate"),placeholder:$.paymentDate,dateFormat:Z,autoComplete:"off",minDate:le(),registerOptions:{required:!0}}}),t.jsx(Y,{}),t.jsx(Ve,{label:{label:$.paymentTo,width:q},style:{width:"auto"},isFunctional:!0,singleSelectField:{singleSelect:{name:V(e,"paymentTo"),placeholder:$.selectAccount,getTooltipInfo:ce,menuPlacement:"top",maxMenuHeight:308,isOptionRemovable:!1,showEyeIconOnSelect:!1,showVerifiedIcon:!0,onClickCreateBankAccount:w,showAddBankAccountOption:!0,showCollectPaymentDetailsOption:!1,getLabelForId:L},defaultValue:{selectedOption:i?.paymentType!=null?i?.paymentTo?.id:"",allOptions:i?.paymentType!=null?se():[]},registerOptions:{required:!0,validate:r=>r?.selectedOption!=null}}}),t.jsx(Y,{}),t.jsx(vt,{name:V(e,"receipt"),sizeLimit:yt,deleteFileStatusById:I,updateFileStatusById:x,filesEndPoint:l.filesEndPoint,authParams:l.authParams,label:{label:re.reciept,width:q},filemetadataPayload:{documentType:"id_document",purposeId:"business_verification_others",documentSide:"front"},file:P,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:g,updateFilesEntity:l.updateFilesEntity,onEditFileName:l.onEditFileName,onDeleteFile:l.onDeleteFile,onFileSizeError:r=>X(r),isOptional:!0,style:P!=null?{borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"}:void 0},V(e,"receipt")),P==null?t.jsx(kt,{windowSize:o,isError:g,children:de.formatDocumentText10MB}):null,t.jsx(Y,{})]})]})},At=d(be)`
42
42
  color: ${e=>e.theme.colors.primary};
43
43
  margin-bottom: ${n.sp3};
44
- `,At=d.div`
44
+ `,Ot=d.div`
45
45
  display: flex;
46
46
  flex-direction: column;
47
47
  background-color: ${e=>e.theme.colors.grey5};
@@ -49,7 +49,7 @@ import{d as Ve,J as K,O as _,aa as et,aS as Fe,cH as tt,V as t,bE as it,ad as at
49
49
  box-shadow: ${e=>`${n.sp0} 2px ${n.sp1} ${e.theme.colors.dropShadowNormal}`};
50
50
  border-radius: ${n.sp2};
51
51
  width: ${e=>T.containerWidth.valuePx(e.windowSize)};
52
- `,J=d.div`
52
+ `,Y=d.div`
53
53
  display: flex;
54
54
  flex: 1;
55
55
  background-color: ${e=>e.theme.colors.grey3};
@@ -73,19 +73,19 @@ import{d as Ve,J as K,O as _,aa as et,aS as Fe,cH as tt,V as t,bE as it,ad as at
73
73
  display: flex;
74
74
  justify-content: space-between;
75
75
  width: 100%;
76
- `,Ot=d(bt)`
76
+ `,kt=d(xt)`
77
77
  padding: ${n.sp1} ${n.sp4};
78
78
  background: ${e=>e.theme.colors.grey4};
79
79
  border-radius: ${n.sp0} ${n.sp0} ${n.sp2} ${n.sp2};
80
80
  text-align: ${e=>e.windowSize==="small"?"initial":"right"};
81
81
  color: ${e=>e.isError?Ee.important:e.theme.colors.grey1};
82
- `,Lt={largeLabelWidth:new f(150,210,210)},ie=(e,i)=>`${e}.${i}`,Nt=({sectionId:e,vendorTypeList:i,formLocalData:a,vendorSearchAutoCompleteData:s,vendorSearchAutoCompleteActions:h})=>{const p=K(),l=_.getLocalizedStrings().spendManagement.zeniAccounts.expressPay,P=Lt.largeLabelWidth.value(p),I=U.useRef();U.useEffect(()=>{s?.entityAutoCompleteView.fetchState==="Completed"&&I.current?.(Mt(s?.entityAutoCompleteView))},[s?.entityAutoCompleteView.fetchState]);const b={vendorSearchAutoCompleteData:s,loadOptions:(y,C)=>{h?.onAutoCompleteInputChange?.(y,"vendor"),I.current=C}},w=b?.vendorSearchAutoCompleteData?.autoCompleteText!=null&&(b?.vendorSearchAutoCompleteData?.entityAutoCompleteView.fetchState==="In-Progress"||b?.vendorSearchAutoCompleteData?.entityAutoCompleteView.fetchState==="Not-Started"),o={defaultOptions:qe(a?.vendorId,a?.vendorName,s?.entityAutoCompleteView),selectedOption:a?.vendorId??a?.vendorName??""},F={valueContainer:y=>({...y,padding:`2px ${p==="small"?n.sp2:n.sp3} !important`,overflow:"unset"}),singleValue:y=>({...y,margin:0}),placeholder:y=>({...y,fontWeight:"normal"})};return t.jsxs(t.Fragment,{children:[t.jsx(Bt,{children:l.recipientSectionTitle}),t.jsx(Vt,{children:t.jsxs(Rt,{children:[t.jsx(rt,{label:{label:l.recipientName,width:P},addIconInCreateLabel:!0,autoCompleteSingleSelectField:{name:ie(e,"recipient"),placeholder:p==="small"?l.placeholders.recipientNameMobile:l.placeholders.recipientName,valueToId:y=>y,defaultValue:{...o},style:{width:"100%"},customStyleConfig:F,registerOptions:{required:!0,validate:y=>y!=null&&!!y.selectedOption},loadOptions:b?.loadOptions,isOptionsLoading:w,makeCreateOptionSticky:!0,entity:"recipient"},style:{justifyContent:"space-between"},fullWidthSelect:!0},ie(e,"recipient")),t.jsx(Ne,{}),t.jsx(Re,{label:{label:l.recipientType,width:P},singleSelectField:{singleSelect:{name:ie(e,"recipientType"),placeholder:l.placeholders.recipientType,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:y=>i.find(C=>C.code===y)?.name??"",showTickMark:!1,maxMenuHeight:250},defaultValue:{selectedOption:a?.vendorType,allOptions:i.map(y=>y.code)},registerOptions:{required:!0,validate:y=>!!y.selectedOption}},isFunctional:!0}),t.jsx(Ne,{}),t.jsx(dt,{showAdditionalInfoLabel:!1,label:{label:l.recipientEmail,width:P},text:{type:"email",name:ie(e,"recipientEmail"),placeholder:l.placeholders.recipientEmail,options:{required:!0}},style:{borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"}})]})})]})},qe=(e,i,a)=>{if(e==null)return[];const s=a?.vendor?.find(h=>h.id===e);return s!=null||e!=null?[{label:s?.name??i??e??"",value:e??i??""}]:[]},Mt=e=>e?.vendor.map(i=>({label:i.name,value:i.zeniId,zeniId:i.zeniId}))??[],Bt=d(xe)`
82
+ `,Lt={largeLabelWidth:new f(150,210,210)},ie=(e,i)=>`${e}.${i}`,Nt=({sectionId:e,vendorTypeList:i,formLocalData:a,vendorSearchAutoCompleteData:s,vendorSearchAutoCompleteActions:h})=>{const p=G(),l=U.getLocalizedStrings().spendManagement.zeniAccounts.expressPay,P=Lt.largeLabelWidth.value(p),I=J.useRef();J.useEffect(()=>{s?.entityAutoCompleteView.fetchState==="Completed"&&I.current?.(Mt(s?.entityAutoCompleteView))},[s?.entityAutoCompleteView.fetchState]);const x={vendorSearchAutoCompleteData:s,loadOptions:(y,C)=>{h?.onAutoCompleteInputChange?.(y,"vendor"),I.current=C}},w=x?.vendorSearchAutoCompleteData?.autoCompleteText!=null&&(x?.vendorSearchAutoCompleteData?.entityAutoCompleteView.fetchState==="In-Progress"||x?.vendorSearchAutoCompleteData?.entityAutoCompleteView.fetchState==="Not-Started"),o={defaultOptions:_e(a?.vendorId,a?.vendorName,s?.entityAutoCompleteView),selectedOption:a?.vendorId??a?.vendorName??""},D={valueContainer:y=>({...y,padding:`2px ${p==="small"?n.sp2:n.sp3} !important`,overflow:"unset"}),singleValue:y=>({...y,margin:0}),placeholder:y=>({...y,fontWeight:"normal"})};return t.jsxs(t.Fragment,{children:[t.jsx(Bt,{children:l.recipientSectionTitle}),t.jsx(Rt,{children:t.jsxs(Vt,{children:[t.jsx(rt,{label:{label:l.recipientName,width:P},addIconInCreateLabel:!0,autoCompleteSingleSelectField:{name:ie(e,"recipient"),placeholder:p==="small"?l.placeholders.recipientNameMobile:l.placeholders.recipientName,valueToId:y=>y,defaultValue:{...o},style:{width:"100%"},customStyleConfig:D,registerOptions:{required:!0,validate:y=>y!=null&&!!y.selectedOption},loadOptions:x?.loadOptions,isOptionsLoading:w,makeCreateOptionSticky:!0,entity:"recipient"},style:{justifyContent:"space-between"},fullWidthSelect:!0},ie(e,"recipient")),t.jsx(Ne,{}),t.jsx(Ve,{label:{label:l.recipientType,width:P},singleSelectField:{singleSelect:{name:ie(e,"recipientType"),placeholder:l.placeholders.recipientType,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:y=>i.find(C=>C.code===y)?.name??"",showTickMark:!1,maxMenuHeight:250},defaultValue:{selectedOption:a?.vendorType,allOptions:i.map(y=>y.code)},registerOptions:{required:!0,validate:y=>!!y.selectedOption}},isFunctional:!0}),t.jsx(Ne,{}),t.jsx(dt,{showAdditionalInfoLabel:!1,label:{label:l.recipientEmail,width:P},text:{type:"email",name:ie(e,"recipientEmail"),placeholder:l.placeholders.recipientEmail,options:{required:!0}},style:{borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"}})]})})]})},_e=(e,i,a)=>{if(e==null)return[];const s=a?.vendor?.find(h=>h.id===e);return s!=null||e!=null?[{label:s?.name??i??e??"",value:e??i??""}]:[]},Mt=e=>e?.vendor.map(i=>({label:i.name,value:i.zeniId,zeniId:i.zeniId}))??[],Bt=d(be)`
83
83
  color: ${e=>e.theme.colors.primary};
84
84
  margin-bottom: ${n.sp3};
85
- `,Vt=d.div`
85
+ `,Rt=d.div`
86
86
  display: flex;
87
87
  flex-direction: column;
88
- `,Rt=d.div`
88
+ `,Vt=d.div`
89
89
  display: flex;
90
90
  flex-direction: column;
91
91
  background-color: ${e=>e.theme.colors.grey5};
@@ -98,11 +98,11 @@ import{d as Ve,J as K,O as _,aa as et,aS as Fe,cH as tt,V as t,bE as it,ad as at
98
98
  background-color: ${e=>e.theme.colors.grey3};
99
99
  min-height: 1px;
100
100
  max-height: 1px;
101
- `,oe={containerWidth:new f(343,580,726),largeLabelWidth:new f(150,215,215),reviewContainerMarginLeft:new f(u[3],u[6]),reviewContainerMarginRight:new f(u[3],u[8])},zt=({vendorName:e,reviewDetails:i,paymentToOptions:a,style:s})=>{const h=K(),p=oe.largeLabelWidth.value(h),{billPay:l}=_.getLocalizedStrings().spendManagement,{dateFormat:P,common:I}=_.getLocalizedStrings(),b=l.billDetails,w=i?.paymentType,o=P.visual.MMMDCommaYYYYformat,F={amount:i?.amount?.amount??0,currencyCode:I.currency.currencyCode,currencySymbol:I.currency.currencySymbol},y=ze(a.find(X=>X.id===i?.paymentToAccountId)),C=i?.paymentDate,$=Ae(w?.method??"");return t.jsx(Yt,{children:t.jsxs(Jt,{windowSize:h,style:s,children:[t.jsxs(Xt,{children:[t.jsx(ae,{children:b.pay}),t.jsx(ae,{children:t.jsx(Oe,{amount:F,integerStyles:ge.largeSemiBold.cssObject})}),t.jsx(ae,{children:b.to}),t.jsx(ae,{children:e})]}),t.jsxs(Ut,{windowSize:h,children:[t.jsx(te,{label:{label:b.withdrawFrom,width:p},style:{width:"auto",gap:u[3]},value:i?.withdrawFrom!=null?gt(i.withdrawFrom,h):I.strings.empty}),t.jsx(be,{}),t.jsx(te,{label:{label:b.paymentMethod,width:p},style:{width:"auto"},value:Ae(w?.method??"")}),t.jsx(be,{}),C!=null?t.jsxs(t.Fragment,{children:[t.jsx(te,{label:{label:b.paymentDate,width:p},style:{width:"auto"},value:C.format(o),additionalInfoLabel:`${b.estimatedArrival}${_e(He(C.toDate(),[0,6],w?.maxPeriod.value??0).toDateString()).format(o)} - (${$.length>0?`${$} `:""}${b.deliveryTimeLabel} = ${w?.maxPeriod.value??"0"} ${b.deliveryTimeUnits})`}),t.jsx(be,{})]}):null,t.jsx(te,{label:{label:b.paymentTo,width:p},style:{width:"auto"},value:y??""})]}),t.jsx(Wt,{children:t.jsxs(_t,{windowSize:h,children:[t.jsx(Ht,{children:t.jsx(Et,{children:l.paymentDetails.total})}),t.jsx(qt,{children:t.jsx(Oe,{amount:wt(F.amount,F.currencyCode,F.currencySymbol),integerStyles:ge.h6Medium.cssObject,decimalStyles:ge.standardMedium.cssObject})})]})})]})})},Et=d.div``,Wt=d.div`
101
+ `,oe={containerWidth:new f(343,580,726),largeLabelWidth:new f(150,215,215),reviewContainerMarginLeft:new f(u[3],u[6]),reviewContainerMarginRight:new f(u[3],u[8])},zt=({vendorName:e,reviewDetails:i,paymentToOptions:a,style:s})=>{const h=G(),p=oe.largeLabelWidth.value(h),{billPay:l}=U.getLocalizedStrings().spendManagement,{dateFormat:P,common:I}=U.getLocalizedStrings(),x=l.billDetails,w=i?.paymentType,o=P.visual.MMMDCommaYYYYformat,D={amount:i?.amount?.amount??0,currencyCode:I.currency.currencyCode,currencySymbol:I.currency.currencySymbol},y=ze(a.find(Z=>Z.id===i?.paymentToAccountId)),C=i?.paymentDate,$=Oe(w?.method??"");return t.jsx(Ht,{children:t.jsxs(Yt,{windowSize:h,style:s,children:[t.jsxs(Zt,{children:[t.jsx(ae,{children:x.pay}),t.jsx(ae,{children:t.jsx(ke,{amount:D,integerStyles:ge.largeSemiBold.cssObject})}),t.jsx(ae,{children:x.to}),t.jsx(ae,{children:e})]}),t.jsxs(Jt,{windowSize:h,children:[t.jsx(te,{label:{label:x.withdrawFrom,width:p},style:{width:"auto",gap:u[3]},value:i?.withdrawFrom!=null?gt(i.withdrawFrom,h):I.strings.empty}),t.jsx(xe,{}),t.jsx(te,{label:{label:x.paymentMethod,width:p},style:{width:"auto"},value:Oe(w?.method??"")}),t.jsx(xe,{}),C!=null?t.jsxs(t.Fragment,{children:[t.jsx(te,{label:{label:x.paymentDate,width:p},style:{width:"auto"},value:C.format(o),additionalInfoLabel:`${x.estimatedArrival}${Ue(qe(C.toDate(),[0,6],w?.maxPeriod.value??0).toDateString()).format(o)} - (${$.length>0?`${$} `:""}${x.deliveryTimeLabel} = ${w?.maxPeriod.value??"0"} ${x.deliveryTimeUnits})`}),t.jsx(xe,{})]}):null,t.jsx(te,{label:{label:x.paymentTo,width:p},style:{width:"auto"},value:y??""})]}),t.jsx(Wt,{children:t.jsxs(Ut,{windowSize:h,children:[t.jsx(qt,{children:t.jsx(Et,{children:l.paymentDetails.total})}),t.jsx(_t,{children:t.jsx(ke,{amount:wt(D.amount,D.currencyCode,D.currencySymbol),integerStyles:ge.h6Medium.cssObject,decimalStyles:ge.standardMedium.cssObject})})]})})]})})},Et=d.div``,Wt=d.div`
102
102
  display: flex;
103
103
  width: 100%;
104
104
  box-sizing: border-box;
105
- `,_t=d.div`
105
+ `,Ut=d.div`
106
106
  width: 100%;
107
107
  padding: ${n.sp3};
108
108
  display: flex;
@@ -113,29 +113,29 @@ import{d as Ve,J as K,O as _,aa as et,aS as Fe,cH as tt,V as t,bE as it,ad as at
113
113
  border-radius: ${n.sp2};
114
114
  color: ${e=>e.theme.colors.hero};
115
115
  margin-bottom: ${n.sp2};
116
- `,Ht=d(We)`
116
+ `,qt=d(We)`
117
117
  gap: ${n.sp1};
118
118
  display: flex;
119
119
  width: 100%;
120
120
  color: ${e=>e.theme.colors.primary};
121
121
  align-items: center;
122
- `,qt=d(We)`
122
+ `,_t=d(We)`
123
123
  display: flex;
124
124
  width: calc(100% - 176px);
125
125
  justify-content: flex-end;
126
126
  color: ${e=>e.theme.colors.primary};
127
- `,Yt=d.div`
127
+ `,Ht=d.div`
128
128
  display: flex;
129
129
  flex-direction: column;
130
130
  width: 100%;
131
131
  height: 100%;
132
- `,Jt=d.div`
132
+ `,Yt=d.div`
133
133
  display: flex;
134
134
  flex-grow: 1;
135
135
  flex-direction: column;
136
136
  margin-left: ${e=>oe.reviewContainerMarginLeft.valuePx(e.windowSize)};
137
137
  margin-right: ${e=>oe.reviewContainerMarginRight.valuePx(e.windowSize)};
138
- `,Ut=d.div`
138
+ `,Jt=d.div`
139
139
  display: flex;
140
140
  flex-direction: column;
141
141
  background-color: ${e=>e.theme.colors.grey5};
@@ -145,19 +145,19 @@ import{d as Ve,J as K,O as _,aa as et,aS as Fe,cH as tt,V as t,bE as it,ad as at
145
145
  margin-bottom: ${n.sp3};
146
146
  margin-top: ${n.sp3};
147
147
  width: ${e=>oe.containerWidth.valuePx(e.windowSize)};
148
- `,be=d.div`
148
+ `,xe=d.div`
149
149
  display: flex;
150
150
  flex: 1;
151
151
  background-color: ${e=>e.theme.colors.grey3};
152
152
  min-height: 1px;
153
153
  max-height: 1px;
154
- `,Xt=d.div`
154
+ `,Zt=d.div`
155
155
  display: flex;
156
- `,ae=d(xe)`
156
+ `,ae=d(be)`
157
157
  display: flex;
158
158
  color: ${e=>e.theme.colors.primary};
159
159
  margin-right: ${n.sp1};
160
- `,Me="expressPayPage",Zt=e=>`${e}_form`,O="recipientDetails",D="paymentDetails",ne={buttonWidth:new f(160,140),largeButtonWidth:new f(166,166)},mi=({expressPayDetails:e,fileProps:i,analytics:a,accountId:s,onClickAddAccount:h,onSaveVendor:p,onVendorSelected:l,updateSelectedVendorForCreate:P,onBackClick:I,saveVendorDetailLocalData:b,saveExpressPayLocalData:w,resetVendorSaveStatus:o,onSchedulePayment:F,initializeVendorAddress:y,vendorSearchAutoCompleteData:C,vendorSearchAutoCompleteActions:$,onEditFileName:X,onDeleteFile:re,updateFilesEntity:de})=>{const{vendorViewDetails:H,expressPayLocalData:g,vendorTypeList:Z,allPaymentMethods:q,paymentToOptions:k,withdrawFromList:L,internationalWireOnboardingStatus:se,deleteFileStatusById:ce,updateFileStatusById:r,submitStatus:m,receiptFile:j,vendorSaveStatus:Y}=e,[v,Q]=U.useState(0),Ye=Ve(),G=K(),{common:we,spendManagement:Je}=_.getLocalizedStrings(),pe=we.footer,ve=we.currency,me=Je.zeniAccounts.expressPay,{editVendorState:Se,newVendorState:je}=H,N=g?.vendorId!=null?Se?.vendorDetailLocalData:je?.vendorDetailLocalData,Ce=Object.assign({},Se??je),Ue=N?.vendorName,$e=L.find(c=>c.id===s),ee=et({mode:"onBlur",reValidateMode:"onChange",defaultValues:Be(Z,L,k,$e,q,N,g,j,C?.entityAutoCompleteView),values:Be(Z,L,k,$e,q,N,g,j,C?.entityAutoCompleteView)}),Ie=Fe(Ce.saveStatus?.fetchState),Te=Fe(m);U.useEffect(()=>{const c=ee.watch((S,{name:x})=>{x!=null&&S!=null&&tt(()=>Xe(x,S))});return()=>{c.unsubscribe()}}),U.useEffect(()=>{Ie==="In-Progress"&&Y==="Completed"&&(v===0?(Q(1),o?.(g?.vendorId)):v===1&&Q(2)),Te==="In-Progress"&&m==="Completed"&&I(g?.vendorId)},[Ie,Y,v,o,g?.vendorId,Te,m,I]);const Xe=async(c,S)=>{if(c!=="recipientDetails.recipientEmail")if(c==="recipientDetails.recipient"){const x=S[O].recipient.selectedOption,A=C?.entityAutoCompleteView.vendor.find(M=>M.zeniId===x);Ze(S),y(),N?.vendorId!==x&&A!=null&&(l?.(x),he(S,!1,k,x))}else if(c.includes("recipient"))ue(S);else{const x=S[D].paymentMethod?.method,A=g?.paymentType?.method,M=x!=null&&A!=null&&(x.toLowerCase().includes("ach")&&A.toLowerCase().includes("wire")||x.toLowerCase().includes("wire")&&A.toLowerCase().includes("ach"));he(S,M,k,g?.vendorId)}},Ze=c=>{const S=c[O].recipient.selectedOption,x=C?.entityAutoCompleteView.vendor.find(A=>A.id===S)!=null;if(S!=null&&x===!0){P?.(S),he(c,!1,k,S);return}ue(c,!0)},ue=(c,S)=>{const x=N?.vendorId,A=C?.entityAutoCompleteView.vendor.find(ye=>ye.zeniId===x)!=null,M=Gt(c,A===!0?x:void 0,N,S);b?.(M,x)},he=(c,S,x,A)=>{const M=(()=>{let B=[];return c[D].paymentMethod?.method.includes("wire")===!0?B=x.filter(V=>!!V.bankRoutingNumberWireTransfer).map(V=>V.id):B=x.filter(V=>!!V.bankRoutingNumberAch).map(V=>V.id),B})(),ye=x.find(B=>B.id===c[D]?.paymentTo?.selectedOption),Qe={vendorId:A,amount:{amount:c[D].amount,currencyCode:ve.currencyCode,currencySymbol:ve.currencySymbol},paymentDate:c[D].paymentDate?_e(c[D].paymentDate.toString()):le(),paymentType:c[D]?.paymentMethod!=null?c[D]?.paymentMethod:void 0,paymentToAccountId:S?M[0]:ye?.id,withdrawFrom:L.find(B=>B.id===c[D]?.withdrawFrom?.selectedOption),receiptFileId:c[D].receipt?.fileId};w?.(Qe)},Pe=ee.handleSubmit(()=>{if(v===0||v===1){a.trackExpressPayNextClick(v===0?"Recipient Details":"Payment Details");const c=ee.getValues();ue(c),p(g?.vendorId)}else a.trackExpressPayScheduleClick(),F()}),Ge=()=>{v===2?Q(1):I(g?.vendorId)},Ke=()=>{v===0?I(g?.vendorId):Q(v===1?0:1)},De={withdrawFrom:g?.withdrawFrom,paymentTo:g?.paymentToAccountId!=null?k.find(c=>c.id===g?.paymentToAccountId):void 0,paymentDate:g?.paymentDate,paymentType:g?.paymentType??q?.[0],recipientAmount:g?.amount?.amount};return t.jsxs(t.Fragment,{children:[t.jsx(it,{title:me.pageTitle,onBackClick:Ke,backgroundColor:Ye.colors.grey4,hideSearchBtn:!0,source:"ExpressPayPage"}),t.jsxs(Kt,{windowSize:G,children:[t.jsx(jt,{pageIndex:v}),t.jsx(at,{...ee,children:t.jsx("form",{id:Me,onSubmit:Pe,children:v===0?t.jsx(Nt,{sectionId:O,vendorTypeList:Z,formLocalData:N,vendorSearchAutoCompleteData:C,vendorSearchAutoCompleteActions:$}):v===1?t.jsx(Ft,{sectionId:D,paymentDetails:De,paymentToOptions:k,allPaymentMethods:q,withdrawFromList:L,internationalVerificationStatus:se,fileProps:{...i,onEditFileName:X,onDeleteFile:re,updateFilesEntity:de},deleteFileStatusById:ce,updateFileStatusById:r,receiptFile:j,onClickAddAccount:()=>{const c=De?.paymentType;c!=null&&h(c)}}):v===2?t.jsx(zt,{reviewDetails:g,paymentToOptions:k,vendorName:Ue}):null})})]}),t.jsx(nt,{formId:Zt(Me),style:{width:"100%"},primaryBtn:{label:v===2?le().isSame(g?.paymentDate,"date")?me.sendMoney:me.schedulePayment:pe.next,isLoading:v===0||v===1?Ce.saveStatus?.fetchState==="In-Progress":m==="In-Progress",style:{width:v===2?ne.largeButtonWidth.value(G):ne.buttonWidth.value(G),whiteSpace:"nowrap"},isDisabled:!1,onClick:()=>{Pe()}},cancelBtn:{label:v===2?pe.edit:pe.cancel,style:{width:v===2?ne.largeButtonWidth.value(G):ne.buttonWidth.value(G),whiteSpace:"nowrap"},shouldResetOnCancel:!1,onClick:Ge}})]})},Be=(e,i,a,s,h,p,l,P,I)=>{const b=(()=>{let w=[];return l?.paymentType?.method.includes("wire")===!0?w=a.filter(o=>!!o.bankRoutingNumberWireTransfer).map(o=>o.id):w=a.filter(o=>!!o.bankRoutingNumberAch).map(o=>o.id),w})();return{[O]:{recipient:{defaultOptions:qe(p?.vendorId,p?.vendorName,I),selectedOption:p?.vendorId??p?.vendorName??""},recipientEmail:p?.contacts?.[0]?.email??"",recipientName:p?.vendorName??"",recipientType:{allOptions:e.map(w=>w.code),selectedOption:p?.vendorType}},[D]:{paymentMethod:l?.paymentType??h?.[0],withdrawFrom:{selectedOption:l?.withdrawFrom?.id??s?.id??i[0]?.id,allOptions:i.map(w=>({label:w.label,value:w.id}))},amount:l?.amount.amount??0,paymentDate:l?.paymentDate?.toDate()??He(le().toDate(),[0,6],0),paymentTo:{allOptions:l?.paymentType!=null?b:[],selectedOption:l?.paymentToAccountId??b[0]},receipt:P}}};function Gt(e,i,a,s){const h=e[O].recipient.defaultOptions.find(p=>p.value===e[O].recipient.selectedOption);return{vendorType:s===!0?void 0:e[O].recipientType.selectedOption,vendorId:i,vendorName:h?.label??a?.vendorName,contacts:s===!0?[]:[{fullName:"",email:e[O].recipientEmail,phone:""}],bankAccountIds:s===!0?[]:a?.bankAccountIds??[],paymentInstrumentIds:s===!0?[]:a?.paymentInstrumentIds??[],vendorOwner:s===!0?void 0:a?.vendorOwner,isVendor1099:a?.isVendor1099,documentIds:a?.documentIds??[],fileIdsToBeDeleted:a?.fileIdsToBeDeleted??[],countryCode:s===!0?void 0:a?.countryCode,currencyCode:a?.currencyCode,currencySymbol:s===!0?void 0:a?.currencySymbol,deleteFileStatusById:a?.deleteFileStatusById??{},updateFileStatusById:a?.updateFileStatusById??{},recommendedCategory:a?.recommendedCategory,recommendedClass:a?.recommendedClass,isCategoryUpdateSelected:a?.isCategoryUpdateSelected??!1,isClassUpdateSelected:a?.isClassUpdateSelected??!1,isCategoryRecommendationPrefilled:a?.isCategoryRecommendationPrefilled??!0,isClassRecommendationPrefilled:a?.isClassRecommendationPrefilled??!0}}const Kt=d.div`
160
+ `,Me="expressPayPage",Xt=e=>`${e}_form`,k="recipientDetails",F="paymentDetails",ne={buttonWidth:new f(160,140),largeButtonWidth:new f(166,166)},mi=({expressPayDetails:e,fileProps:i,analytics:a,accountId:s,onClickAddAccount:h,onSaveVendor:p,onVendorSelected:l,updateSelectedVendorForCreate:P,onBackClick:I,saveVendorDetailLocalData:x,saveExpressPayLocalData:w,resetVendorSaveStatus:o,onSchedulePayment:D,initializeVendorAddress:y,vendorSearchAutoCompleteData:C,vendorSearchAutoCompleteActions:$,onEditFileName:Z,onDeleteFile:re,updateFilesEntity:de})=>{const{vendorViewDetails:q,expressPayLocalData:g,vendorTypeList:X,allPaymentMethods:_,paymentToOptions:A,withdrawFromList:L,internationalWireOnboardingStatus:se,deleteFileStatusById:ce,updateFileStatusById:r,submitStatus:m,receiptFile:j,vendorSaveStatus:H}=e,[v,Q]=J.useState(0),He=Re(),K=G(),{common:we,spendManagement:Ye}=U.getLocalizedStrings(),pe=we.footer,ve=we.currency,me=Ye.zeniAccounts.expressPay,{editVendorState:Se,newVendorState:je}=q,N=g?.vendorId!=null?Se?.vendorDetailLocalData:je?.vendorDetailLocalData,Ce=Object.assign({},Se??je),Je=N?.vendorName,$e=L.find(c=>c.id===s),ee=et({mode:"onBlur",reValidateMode:"onChange",defaultValues:Be(X,L,A,$e,_,N,g,j,C?.entityAutoCompleteView),values:Be(X,L,A,$e,_,N,g,j,C?.entityAutoCompleteView)}),Ie=De(Ce.saveStatus?.fetchState),Te=De(m);J.useEffect(()=>{const c=ee.watch((S,{name:b})=>{b!=null&&S!=null&&tt(()=>Ze(b,S))});return()=>{c.unsubscribe()}}),J.useEffect(()=>{Ie==="In-Progress"&&H==="Completed"&&(v===0?(Q(1),o?.(g?.vendorId)):v===1&&Q(2)),Te==="In-Progress"&&m==="Completed"&&I(g?.vendorId)},[Ie,H,v,o,g?.vendorId,Te,m,I]);const Ze=async(c,S)=>{if(c!=="recipientDetails.recipientEmail")if(c==="recipientDetails.recipient"){const b=S[k].recipient.selectedOption,O=C?.entityAutoCompleteView.vendor.find(M=>M.zeniId===b);Xe(S),y(),N?.vendorId!==b&&O!=null&&(l?.(b),he(S,!1,A,b))}else if(c.includes("recipient"))ue(S);else{const b=S[F].paymentMethod?.method,O=g?.paymentType?.method,M=b!=null&&O!=null&&(b.toLowerCase().includes("ach")&&O.toLowerCase().includes("wire")||b.toLowerCase().includes("wire")&&O.toLowerCase().includes("ach"));he(S,M,A,g?.vendorId)}},Xe=c=>{const S=c[k].recipient.selectedOption,b=C?.entityAutoCompleteView.vendor.find(O=>O.id===S)!=null;if(S!=null&&b===!0){P?.(S),he(c,!1,A,S);return}ue(c,!0)},ue=(c,S)=>{const b=N?.vendorId,O=C?.entityAutoCompleteView.vendor.find(ye=>ye.zeniId===b)!=null,M=Kt(c,O===!0?b:void 0,N,S);x?.(M,b)},he=(c,S,b,O)=>{const M=(()=>{let B=[];return c[F].paymentMethod?.method.includes("wire")===!0?B=b.filter(R=>!!R.bankRoutingNumberWireTransfer).map(R=>R.id):B=b.filter(R=>!!R.bankRoutingNumberAch).map(R=>R.id),B})(),ye=b.find(B=>B.id===c[F]?.paymentTo?.selectedOption),Qe={vendorId:O,amount:{amount:c[F].amount,currencyCode:ve.currencyCode,currencySymbol:ve.currencySymbol},paymentDate:c[F].paymentDate?Ue(c[F].paymentDate.toString()):le(),paymentType:c[F]?.paymentMethod!=null?c[F]?.paymentMethod:void 0,paymentToAccountId:S?M[0]:ye?.id,withdrawFrom:L.find(B=>B.id===c[F]?.withdrawFrom?.selectedOption),receiptFileId:c[F].receipt?.fileId};w?.(Qe)},Pe=ee.handleSubmit(()=>{if(v===0||v===1){a.trackExpressPayNextClick(v===0?"Recipient Details":"Payment Details");const c=ee.getValues();ue(c),p(g?.vendorId)}else a.trackExpressPayScheduleClick(),D()}),Ke=()=>{v===2?Q(1):I(g?.vendorId)},Ge=()=>{v===0?I(g?.vendorId):Q(v===1?0:1)},Fe={withdrawFrom:g?.withdrawFrom,paymentTo:g?.paymentToAccountId!=null?A.find(c=>c.id===g?.paymentToAccountId):void 0,paymentDate:g?.paymentDate,paymentType:g?.paymentType??_?.[0],recipientAmount:g?.amount?.amount};return t.jsxs(t.Fragment,{children:[t.jsx(it,{title:me.pageTitle,onBackClick:Ge,backgroundColor:He.colors.grey4,hideSearchBtn:!0,source:"ExpressPayPage"}),t.jsxs(Gt,{windowSize:K,children:[t.jsx(jt,{pageIndex:v}),t.jsx(at,{...ee,children:t.jsx("form",{id:Me,onSubmit:Pe,children:v===0?t.jsx(Nt,{sectionId:k,vendorTypeList:X,formLocalData:N,vendorSearchAutoCompleteData:C,vendorSearchAutoCompleteActions:$}):v===1?t.jsx(Dt,{sectionId:F,paymentDetails:Fe,paymentToOptions:A,allPaymentMethods:_,withdrawFromList:L,internationalVerificationStatus:se,fileProps:{...i,onEditFileName:Z,onDeleteFile:re,updateFilesEntity:de},deleteFileStatusById:ce,updateFileStatusById:r,receiptFile:j,onClickAddAccount:()=>{const c=Fe?.paymentType;c!=null&&h(c)}}):v===2?t.jsx(zt,{reviewDetails:g,paymentToOptions:A,vendorName:Je}):null})})]}),t.jsx(nt,{formId:Xt(Me),style:{width:"100%"},primaryBtn:{label:v===2?le().isSame(g?.paymentDate,"date")?me.sendMoney:me.schedulePayment:pe.next,isLoading:v===0||v===1?Ce.saveStatus?.fetchState==="In-Progress":m==="In-Progress",style:{width:v===2?ne.largeButtonWidth.value(K):ne.buttonWidth.value(K),whiteSpace:"nowrap"},isDisabled:!1,onClick:()=>{Pe()}},cancelBtn:{label:v===2?pe.edit:pe.cancel,style:{width:v===2?ne.largeButtonWidth.value(K):ne.buttonWidth.value(K),whiteSpace:"nowrap"},shouldResetOnCancel:!1,onClick:Ke}})]})},Be=(e,i,a,s,h,p,l,P,I)=>{const x=(()=>{let w=[];return l?.paymentType?.method.includes("wire")===!0?w=a.filter(o=>!!o.bankRoutingNumberWireTransfer).map(o=>o.id):w=a.filter(o=>!!o.bankRoutingNumberAch).map(o=>o.id),w})();return{[k]:{recipient:{defaultOptions:_e(p?.vendorId,p?.vendorName,I),selectedOption:p?.vendorId??p?.vendorName??""},recipientEmail:p?.contacts?.[0]?.email??"",recipientName:p?.vendorName??"",recipientType:{allOptions:e.map(w=>w.code),selectedOption:p?.vendorType}},[F]:{paymentMethod:l?.paymentType??h?.[0],withdrawFrom:{selectedOption:l?.withdrawFrom?.id??s?.id??i[0]?.id,allOptions:i.map(w=>({label:w.label,value:w.id}))},amount:l?.amount.amount??0,paymentDate:l?.paymentDate?.toDate()??qe(le().toDate(),[0,6],0),paymentTo:{allOptions:l?.paymentType!=null?x:[],selectedOption:l?.paymentToAccountId??x[0]},receipt:P}}};function Kt(e,i,a,s){const h=e[k].recipient.defaultOptions.find(p=>p.value===e[k].recipient.selectedOption);return{vendorType:s===!0?void 0:e[k].recipientType.selectedOption,vendorId:i,vendorName:h?.label??a?.vendorName,contacts:s===!0?[]:[{fullName:"",email:e[k].recipientEmail,phone:""}],bankAccountIds:s===!0?[]:a?.bankAccountIds??[],paymentInstrumentIds:s===!0?[]:a?.paymentInstrumentIds??[],vendorOwner:s===!0?void 0:a?.vendorOwner,isVendor1099:a?.isVendor1099,documentIds:a?.documentIds??[],fileIdsToBeDeleted:a?.fileIdsToBeDeleted??[],countryCode:s===!0?void 0:a?.countryCode,currencyCode:a?.currencyCode,currencySymbol:s===!0?void 0:a?.currencySymbol,deleteFileStatusById:a?.deleteFileStatusById??{},updateFileStatusById:a?.updateFileStatusById??{},recommendedCategory:a?.recommendedCategory,recommendedClass:a?.recommendedClass,isCategoryUpdateSelected:a?.isCategoryUpdateSelected??!1,isClassUpdateSelected:a?.isClassUpdateSelected??!1,isCategoryRecommendationPrefilled:a?.isCategoryRecommendationPrefilled??!0,isClassRecommendationPrefilled:a?.isClassRecommendationPrefilled??!0}}const Gt=d.div`
161
161
  display: flex;
162
162
  flex-wrap: wrap;
163
163
  height: 100%;
@@ -165,4 +165,4 @@ import{d as Ve,J as K,O as _,aa as et,aS as Fe,cH as tt,V as t,bE as it,ad as at
165
165
  align-items: center;
166
166
  background-color: ${e=>e.theme.colors.grey4};
167
167
  margin-top: ${e=>e.windowSize==="small"?n.sp3:0};
168
- `;export{mi as default,Zt as formUniqueName};
168
+ `;export{mi as default,Xt as formUniqueName};
@@ -1,4 +1,4 @@
1
- import{d as _,J as y,O as w,aX as n,p as r,V as i,cr as v,y as p,cs as k,ct as x,u as g}from"./index-WR35fJ_g.js";import{n as d}from"./mui-Brvp17ej.js";import"./sentry-Bp-C2lie.js";import"./liveblocks-C4P3eYZH.js";import"./core-9fRi0Mt4.js";import"./recharts-3nFTO0WQ.js";import"./zeni-epic-state-C5X_gOJX.js";import"./lottie-Bc1XI_mg.js";import"./analytics-P_xGl18F.js";import"./lexical-OBpCEASU.js";import"./utils-DYOlPuZo.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="a56ed600-387e-427b-8f5c-a27de7dd60e3",e._sentryDebugIdIdentifier="sentry-dbid-a56ed600-387e-427b-8f5c-a27de7dd60e3")}catch{}})();const t={popupWidth:new p(200,468,468,468),buttonWidth:new p(140,160,160,160),popupContainerLeft:new p(g[0],g[0],255),popupContainerWidth:new p(100,100,85)},z=d.div`
1
+ import{y as _,J as w,O as y,aX as n,p as r,V as i,ct as v,x as p,cu as k,cv as x,u as g}from"./index-CQD_nutl.js";import{n as d}from"./mui-Dk05P7Hv.js";import"./sentry-B9mdFwQp.js";import"./liveblocks-CtZCL_Pz.js";import"./core-D_TfeHIh.js";import"./recharts-CgI_z3-h.js";import"./zeni-epic-state-ksdE_TIc.js";import"./lottie-CVJxkEeH.js";import"./analytics-C31yhYYa.js";import"./lexical-CBxUxgf7.js";import"./utils-DZ3Subia.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="5fc45206-a894-45ce-aabc-81f173e66a5a",e._sentryDebugIdIdentifier="sentry-dbid-5fc45206-a894-45ce-aabc-81f173e66a5a")}catch{}})();const t={popupWidth:new p(200,468,468,468),buttonWidth:new p(140,160,160,160),popupContainerLeft:new p(g[0],g[0],255),popupContainerWidth:new p(100,100,85)},z=d.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -8,4 +8,4 @@ import{d as _,J as y,O as w,aX as n,p as r,V as i,cr as v,y as p,cs as k,ct as x
8
8
  `,C=d.img`
9
9
  width: 100%;
10
10
  height: 100%;
11
- `,W={mobile:{home:"https://storage.googleapis.com/zeni-apis.appspot.com/images/dashboard-view-mobile",reports:"https://storage.googleapis.com/zeni-apis.appspot.com/images/reports-view-mobile",forecast:"https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-view-mobile",bills:"https://storage.googleapis.com/zeni-apis.appspot.com/images/bills-view-mobile",reimbursements:"https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-view-mobile",vendors:"https://storage.googleapis.com/zeni-apis.appspot.com/images/vendors-view-mobile",users_and_roles:"",rewards:"",cards:"",checking:"https://storage.googleapis.com/zeni-apis.appspot.com/images/accounts-view-mobile",treasury:"",accounting:"",approval_rules:"",bank_connections:"",business_verification:"",company_settings:"",company_details:"",integrations:"",my_profile:"",my_bank_connections:"",notifications:"",billing:"",performance:"",ai_cfo:"",command_center:"",task_checklist:"",transaction_categorization:"",je_schedules:"",missing_receipts:"",flux_analysis:"",reconciliation:""},normal:{home:"https://storage.googleapis.com/zeni-apis.appspot.com/images/dashboard-view-normal",reports:"https://storage.googleapis.com/zeni-apis.appspot.com/images/reports-view-normal",forecast:"https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-view-normal",bills:"https://storage.googleapis.com/zeni-apis.appspot.com/images/bills-view-normal",reimbursements:"https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-view-normal",vendors:"https://storage.googleapis.com/zeni-apis.appspot.com/images/vendors-view-normal",users_and_roles:"",rewards:"",cards:"",checking:"https://storage.googleapis.com/zeni-apis.appspot.com/images/accounts-view-normal",treasury:"",accounting:"",approval_rules:"",bank_connections:"",business_verification:"",company_settings:"",company_details:"",integrations:"",my_profile:"",my_bank_connections:"",notifications:"",billing:"",performance:"",ai_cfo:"",command_center:"",task_checklist:"",transaction_categorization:"",je_schedules:"",missing_receipts:"",flux_analysis:"",reconciliation:""}};function V({menuItem:e,onDemoClick:a,onGoBack:m}){const s=_(),o=y(),u=`${W[o==="small"?"mobile":"normal"][e]}-${s.mode}.png`,{featurePreview:c}=w.getLocalizedStrings(),l=c.popups[e],h=s.mode==="light"?new n(r.backgroundGradient1Light):new n(r.backgroundGradient1Dark),b=s.mode==="light"?new n(r.backgroundGradient2Light):new n(r.backgroundGradient2Dark),f={onOkClick:()=>{a()},onCancelClick:()=>{m()}};return i.jsxs(z,{children:[i.jsx(C,{src:u,alt:"feature-preview",loading:"lazy"}),i.jsx(v,{titleComponent:i.jsx(x,{children:l.title}),descriptionComponent:i.jsx(k,{children:l.text}),primaryButtonText:c.scheduleDemo,secondaryButtonText:c.goBack,action:f,primaryButtonWidth:t.buttonWidth.value(o),secondaryButtonWidth:t.buttonWidth.value(o),style:{background:`radial-gradient(50% 50% at 50% 50%, ${h} 0%, ${b} 100%)`,backdropFilter:"blur(2px)",width:t.popupContainerWidth.valuePercentage(o),left:t.popupContainerLeft.value(o)},containerStyle:{border:`1px solid ${s.colors.grey1}`,minWidth:t.popupWidth.valuePx(o)}})]})}export{V as default};
11
+ `,W={mobile:{home:"https://storage.googleapis.com/zeni-apis.appspot.com/images/dashboard-view-mobile",reports:"https://storage.googleapis.com/zeni-apis.appspot.com/images/reports-view-mobile",forecast:"https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-view-mobile",bills:"https://storage.googleapis.com/zeni-apis.appspot.com/images/bills-view-mobile",reimbursements:"https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-view-mobile",vendors:"https://storage.googleapis.com/zeni-apis.appspot.com/images/vendors-view-mobile",users_and_roles:"",rewards:"",cards:"",checking:"https://storage.googleapis.com/zeni-apis.appspot.com/images/accounts-view-mobile",treasury:"",accounting:"",approval_rules:"",bank_connections:"",business_verification:"",company_settings:"",company_details:"",integrations:"",my_profile:"",my_bank_connections:"",notifications:"",billing:"",performance:"",ai_cfo:"",command_center:"",task_checklist:"",transaction_categorization:"",je_schedules:"",missing_receipts:"",flux_analysis:"",reconciliation:""},normal:{home:"https://storage.googleapis.com/zeni-apis.appspot.com/images/dashboard-view-normal",reports:"https://storage.googleapis.com/zeni-apis.appspot.com/images/reports-view-normal",forecast:"https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-view-normal",bills:"https://storage.googleapis.com/zeni-apis.appspot.com/images/bills-view-normal",reimbursements:"https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-view-normal",vendors:"https://storage.googleapis.com/zeni-apis.appspot.com/images/vendors-view-normal",users_and_roles:"",rewards:"",cards:"",checking:"https://storage.googleapis.com/zeni-apis.appspot.com/images/accounts-view-normal",treasury:"",accounting:"",approval_rules:"",bank_connections:"",business_verification:"",company_settings:"",company_details:"",integrations:"",my_profile:"",my_bank_connections:"",notifications:"",billing:"",performance:"",ai_cfo:"",command_center:"",task_checklist:"",transaction_categorization:"",je_schedules:"",missing_receipts:"",flux_analysis:"",reconciliation:""}};function O({menuItem:e,onDemoClick:a,onGoBack:m}){const s=_(),o=w(),u=`${W[o==="small"?"mobile":"normal"][e]}-${s.mode}.png`,{featurePreview:c}=y.getLocalizedStrings(),l=c.popups[e],h=s.mode==="light"?new n(r.backgroundGradient1Light):new n(r.backgroundGradient1Dark),b=s.mode==="light"?new n(r.backgroundGradient2Light):new n(r.backgroundGradient2Dark),f={onOkClick:()=>{a()},onCancelClick:()=>{m()}};return i.jsxs(z,{children:[i.jsx(C,{src:u,alt:"feature-preview",loading:"lazy"}),i.jsx(v,{titleComponent:i.jsx(x,{children:l.title}),descriptionComponent:i.jsx(k,{children:l.text}),primaryButtonText:c.scheduleDemo,secondaryButtonText:c.goBack,action:f,primaryButtonWidth:t.buttonWidth.value(o),secondaryButtonWidth:t.buttonWidth.value(o),style:{background:`radial-gradient(50% 50% at 50% 50%, ${h} 0%, ${b} 100%)`,backdropFilter:"blur(2px)",width:t.popupContainerWidth.valuePercentage(o),left:t.popupContainerLeft.value(o)},containerStyle:{border:`1px solid ${s.colors.grey1}`,minWidth:t.popupWidth.valuePx(o)}})]})}export{O as default};
@@ -1,4 +1,4 @@
1
- import{J as H,V as l,O as Y,cL as q,ex as G,d as ee,cQ as Q,y as L,gk as Z,o as i,aR as M,ep as ce,aF as le,gc as pe,gd as ue,i as he,p as u,u as g,gI as ge,d0 as be,eG as ye,ap as ve,bJ as we,b as W,dn as $e,bK as fe,bI as ke}from"./index-WR35fJ_g.js";import{n as d}from"./mui-Brvp17ej.js";import{a as V}from"./sentry-Bp-C2lie.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="07d052a7-eed7-4021-93d2-643c04d779f3",e._sentryDebugIdIdentifier="sentry-dbid-07d052a7-eed7-4021-93d2-643c04d779f3")}catch{}})();const v={width:new L(343,580,726),height:new L(g[6],g[6]),controlHeight:new L(g[6],g[6]),paddingLeftRight:new L(g[3],g[4]),paddingTop:new L(g[3],g[3]),paddingBottom:new L(g[3],g[2]),labelMarginRight:new L(g[3],g[4])};function je({isDisabled:e,label:s,firstText:t,secondText:p,style:$,isFieldError:k}){const f=H(),{formState:{errors:j}}=q(),m=G(j,t.name),T=G(j,p.name),r=ee();return l.jsxs(Te,{size:f,style:$,isDisabled:e!=null,isErrorFirstText:m,isErrorSecondText:T,"data-testid":M("labeled-multi-text-field",t.name),children:[l.jsx(Q,{isDisabled:e,label:s.label,style:{marginRight:v.labelMarginRight.value(f),width:s.width??"auto",color:r.colors.champion}}),l.jsxs(Oe,{labelWidth:s.width,children:[l.jsxs(ie,{className:"firstField",isDisabled:t.isDisabled,children:[l.jsx(Z,{type:t.type,name:t.name,placeholder:t.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:t.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:t.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),t.additionalInfoLabel&&t.isDisabled||m&&t.additionalErrorLabel?l.jsx(oe,{isError:m,children:m?t.additionalErrorLabel:t.additionalInfoLabel}):null]}),p.hideField?null:l.jsxs(l.Fragment,{children:[l.jsxs(Ie,{children:[l.jsx(se,{}),l.jsx(Le,{}),l.jsx(se,{})]}),l.jsxs(ie,{className:"secondField",isDisabled:p.isDisabled,children:[l.jsx(Z,{type:p.type,name:p.name,placeholder:p.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:p.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:p.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),l.jsx(oe,{isError:T,children:p.additionalInfoLabel})]})]})]})]})}const Te=d.div`
1
+ import{J as q,V as l,O as X,cN as H,ez as G,y as ee,cS as K,x as L,gm as Z,o as i,ac as M,er as ce,aG as le,ge as pe,gf as ue,a as he,p as u,u as g,gL as ge,d2 as be,eI as ye,aq as ve,bJ as we,w as W,dq as $e,bK as fe,bI as ke}from"./index-CQD_nutl.js";import{n as d}from"./mui-Dk05P7Hv.js";import{a as V}from"./sentry-B9mdFwQp.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="8df7a9f7-844a-401a-9ba7-d2146462316f",e._sentryDebugIdIdentifier="sentry-dbid-8df7a9f7-844a-401a-9ba7-d2146462316f")}catch{}})();const v={width:new L(343,580,726),height:new L(g[6],g[6]),controlHeight:new L(g[6],g[6]),paddingLeftRight:new L(g[3],g[4]),paddingTop:new L(g[3],g[3]),paddingBottom:new L(g[3],g[2]),labelMarginRight:new L(g[3],g[4])};function je({isDisabled:e,label:s,firstText:t,secondText:p,style:$,isFieldError:k}){const f=q(),{formState:{errors:j}}=H(),m=G(j,t.name),T=G(j,p.name),r=ee();return l.jsxs(Te,{size:f,style:$,isDisabled:e!=null,isErrorFirstText:m,isErrorSecondText:T,"data-testid":M("labeled-multi-text-field",t.name),children:[l.jsx(K,{isDisabled:e,label:s.label,style:{marginRight:v.labelMarginRight.value(f),width:s.width??"auto",color:r.colors.champion}}),l.jsxs(Oe,{labelWidth:s.width,children:[l.jsxs(ie,{className:"firstField",isDisabled:t.isDisabled,children:[l.jsx(Z,{type:t.type,name:t.name,placeholder:t.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:t.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:t.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),t.additionalInfoLabel&&t.isDisabled||m&&t.additionalErrorLabel?l.jsx(oe,{isError:m,children:m?t.additionalErrorLabel:t.additionalInfoLabel}):null]}),p.hideField?null:l.jsxs(l.Fragment,{children:[l.jsxs(Ie,{children:[l.jsx(se,{}),l.jsx(Le,{}),l.jsx(se,{})]}),l.jsxs(ie,{className:"secondField",isDisabled:p.isDisabled,children:[l.jsx(Z,{type:p.type,name:p.name,placeholder:p.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:p.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:p.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),l.jsx(oe,{isError:T,children:p.additionalInfoLabel})]})]})]})]})}const Te=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: flex-start;
@@ -95,7 +95,7 @@ import{J as H,V as l,O as Y,cL as q,ex as G,d as ee,cQ as Q,y as L,gk as Z,o as
95
95
  color: ${e=>e.isError?u.important:e.theme.colors.hero};
96
96
  white-space: pre-line;
97
97
  margin-top: ${i.sp1};
98
- `;function Se({isDisabled:e,label:s,firstText:t,secondText:p,style:$,isFieldError:k}){const f=H(),{formState:{errors:j}}=q(),m=G(j,t.name),T=G(j,p.name),r=ee();return l.jsxs(De,{size:f,style:$,isDisabled:e!=null,isErrorFirstText:m,isErrorSecondText:T,children:[l.jsx(Q,{isDisabled:e,label:s.label,style:{marginRight:v.labelMarginRight.value(f),width:s.width??"auto",color:r.colors.champion}}),l.jsxs(Ee,{labelWidth:s.width,children:[p.hideField?null:l.jsxs(ze,{children:[l.jsx(de,{}),l.jsx(Ce,{isAdditionalLabel:(!!t.additionalInfoLabel&&t.isDisabled)===!0}),l.jsx(de,{})]}),l.jsxs(Ue,{children:[l.jsxs(ae,{className:"firstField",isDisabled:t.isDisabled,children:[l.jsx(Z,{type:t.type,name:t.name,placeholder:t.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:t.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:t.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),t.additionalInfoLabel&&t.isDisabled||m&&t.additionalErrorLabel?l.jsx(ne,{isError:m,children:m?t.additionalErrorLabel:t.additionalInfoLabel}):null]}),p.hideField?null:l.jsxs(ae,{className:"secondField",isDisabled:p.isDisabled,children:[l.jsx(Z,{type:p.type,name:p.name,placeholder:p.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:p.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:p.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),l.jsx(ne,{isError:T,children:p.additionalInfoLabel})]})]})]})]})}const De=d.div`
98
+ `;function Se({isDisabled:e,label:s,firstText:t,secondText:p,style:$,isFieldError:k}){const f=q(),{formState:{errors:j}}=H(),m=G(j,t.name),T=G(j,p.name),r=ee();return l.jsxs(De,{size:f,style:$,isDisabled:e!=null,isErrorFirstText:m,isErrorSecondText:T,children:[l.jsx(K,{isDisabled:e,label:s.label,style:{marginRight:v.labelMarginRight.value(f),width:s.width??"auto",color:r.colors.champion}}),l.jsxs(Ue,{labelWidth:s.width,children:[p.hideField?null:l.jsxs(ze,{children:[l.jsx(de,{}),l.jsx(Ce,{isAdditionalLabel:(!!t.additionalInfoLabel&&t.isDisabled)===!0}),l.jsx(de,{})]}),l.jsxs(Ee,{children:[l.jsxs(ae,{className:"firstField",isDisabled:t.isDisabled,children:[l.jsx(Z,{type:t.type,name:t.name,placeholder:t.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:t.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:t.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),t.additionalInfoLabel&&t.isDisabled||m&&t.additionalErrorLabel?l.jsx(ne,{isError:m,children:m?t.additionalErrorLabel:t.additionalInfoLabel}):null]}),p.hideField?null:l.jsxs(ae,{className:"secondField",isDisabled:p.isDisabled,children:[l.jsx(Z,{type:p.type,name:p.name,placeholder:p.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:p.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:p.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),l.jsx(ne,{isError:T,children:p.additionalInfoLabel})]})]})]})]})}const De=d.div`
99
99
  display: flex;
100
100
  flex-direction: column;
101
101
  align-items: flex-start;
@@ -165,14 +165,14 @@ import{J as H,V as l,O as Y,cL as q,ex as G,d as ee,cQ as Q,y as L,gk as Z,o as
165
165
  }
166
166
  }
167
167
  }
168
- `,Ee=d.div`
168
+ `,Ue=d.div`
169
169
  display: flex;
170
170
  width: 100%;
171
171
  flex-grow: 1;
172
172
  input {
173
173
  text-align: left;
174
174
  }
175
- `,Ue=d.div`
175
+ `,Ee=d.div`
176
176
  display: flex;
177
177
  flex-direction: column;
178
178
  width: 100%;
@@ -198,7 +198,7 @@ import{J as H,V as l,O as Y,cL as q,ex as G,d as ee,cQ as Q,y as L,gk as Z,o as
198
198
  color: ${e=>e.isError?u.important:e.theme.colors.hero};
199
199
  white-space: pre-line;
200
200
  margin-top: ${i.sp1};
201
- `;function ul(e){return H()==="small"?l.jsx(Se,{...e}):l.jsx(je,{...e})}const Ne=({allOptions:e,selectedValue:s,name:t,onSelectedValueChanged:p,valueToLabel:$,disable:k=!1,defaultMenuIsOpen:f,placeholderLabel:j})=>{const{formState:{errors:m}}=q(),T=G(m,t??""),r=ee(),[I,D]=V.useState(void 0),[b,A]=V.useState(f),C=n=>n.map(w=>N(w)),N=V.useCallback(n=>({value:n,label:$(n)}),[$]);V.useEffect(()=>{const n=s==null?void 0:N(s);D(n?.label===""?void 0:n)},[s,$,N]);const _=n=>{p(n)},S=r.colors.grey5,B=r.colors.grey5,F=W.smallRegular,E=W.extraSmallRegular,R={control:(n,{selectProps:w})=>({...n,border:0,height:g[6],backgroundColor:w.menuIsOpen===!0?r.colors.background:T===!0?u.importantLight:r.colors.background,boxShadow:B,":hover":{fill:r.colors.primary,backgroundColor:r.colors.background,borderColor:"none"},width:"auto",minHeight:"auto",cursor:"pointer"}),container:n=>({...n,backgroundColor:B,width:"100%"}),singleValue:(n,{data:w})=>({...n,alignItems:"center",margin:`${i.sp0}`,height:`${i.sp4}`,color:w.value==="require_approval"?u.alertDark:u.successDark,...W.standardRegular.cssObject,width:"100%",textOverflow:"ellipsis"}),valueContainer:(n,{selectProps:w})=>({...n,maxWidth:"100%",cursor:"pointer",...E,overflow:"visible",minWidth:"auto",padding:0,display:"flex",justifyContent:w.menuIsOpen===!1?"flex-end":"flex-start",alignItems:"center",flexWrap:"nowrap",paddingLeft:i.sp3,marginRight:i.sp3,width:" -webkit-fill-available"}),menu:n=>({...n,backgroundColor:S,borderRadius:4,boxShadow:`${i.sp0} 2px ${i.sp2} ${r.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:10,margin:0,width:"100%",WebkitJustifyContent:"unset",overflow:"hidden"}),menuList:n=>({...n,borderRadius:10}),placeholder:n=>({...n,width:"100%",height:g[4],...W.standardRegular.cssObject,color:T===!0?u.important:r.colors.grey1,display:"flex",justifyContent:"flex-start",alignItems:"center"}),option:(n,{isSelected:w,isFocused:U,isDisabled:z,data:o})=>({...n,...F,height:g[6],color:o.value==="require_approval"?u.alertDark:u.successDark,backgroundColor:w||U?r.colors.background:S,cursor:z?"not-allowed":"pointer",borderTop:o.topBorder===!0?`1px solid ${u.optionBorderLight}`:"none",":hover":{backgroundColor:r.colors.background},":first-div":{width:"100%"},"& label":{flex:1,paddingRight:"10px",cursor:z?"not-allowed":w?"default":"pointer"},zIndex:2}),input:(n,w)=>({color:r.colors.primary,overflow:"hidden",zIndex:2,height:g[4],width:w.selectProps.menuIsOpen?"auto":"0",position:"absolute",display:"flex",alignItems:"center",...W.standardRegular.cssObject})};return l.jsx(ve,{onClickAway:()=>{A(!1)},children:l.jsx(we,{isMulti:!1,onChange:n=>{_(n)},minMenuHeight:208,menuPlacement:"auto",menuShouldScrollIntoView:!1,defaultValue:I,value:I,placeholder:j,components:{Option:Re,DropdownIndicator:qe,IndicatorSeparator:Ae,SingleValue:Fe},hideSelectedOptions:!1,styles:R,options:C(e),isClearable:!1,isSearchable:!1,isDisabled:k,defaultMenuIsOpen:b,"data-testid":M("single-select",t)},$e())})},Fe=({children:e,...s})=>l.jsx(fe.SingleValue,{...s,children:e}),Re=e=>{const{data:s,options:t,isFocused:p,label:$,isSelected:k}=e,f=t.find(m=>m.value===s.value),j=typeof s.label=="string"?s.label:s.value;return l.jsxs(fe.Option,{...e,children:[l.jsxs(Pe,{"data-testid":M("single-select-option",j),children:[l.jsxs(Ve,{children:[l.jsx("label",{children:$}),p===!0&&f?.id!=null&&l.jsx(Me,{children:f.id})]}),k?l.jsx(Be,{children:l.jsx(He,{className:"tick-icon"})}):null]}),f.additionalInfo!==""&&l.jsx(l.Fragment,{children:f.additionalInfo})]})},Pe=d.div`
201
+ `;function ul(e){return q()==="small"?l.jsx(Se,{...e}):l.jsx(je,{...e})}const Ne=({allOptions:e,selectedValue:s,name:t,onSelectedValueChanged:p,valueToLabel:$,disable:k=!1,defaultMenuIsOpen:f,placeholderLabel:j})=>{const{formState:{errors:m}}=H(),T=G(m,t??""),r=ee(),[I,D]=V.useState(void 0),[b,A]=V.useState(f),C=n=>n.map(w=>N(w)),N=V.useCallback(n=>({value:n,label:$(n)}),[$]);V.useEffect(()=>{const n=s==null?void 0:N(s);D(n?.label===""?void 0:n)},[s,$,N]);const _=n=>{p(n)},S=r.colors.grey5,B=r.colors.grey5,F=W.smallRegular,U=W.extraSmallRegular,R={control:(n,{selectProps:w})=>({...n,border:0,height:g[6],backgroundColor:w.menuIsOpen===!0?r.colors.background:T===!0?u.importantLight:r.colors.background,boxShadow:B,":hover":{fill:r.colors.primary,backgroundColor:r.colors.background,borderColor:"none"},width:"auto",minHeight:"auto",cursor:"pointer"}),container:n=>({...n,backgroundColor:B,width:"100%"}),singleValue:(n,{data:w})=>({...n,alignItems:"center",margin:`${i.sp0}`,height:`${i.sp4}`,color:w.value==="require_approval"?u.alertDark:u.successDark,...W.standardRegular.cssObject,width:"100%",textOverflow:"ellipsis"}),valueContainer:(n,{selectProps:w})=>({...n,maxWidth:"100%",cursor:"pointer",...U,overflow:"visible",minWidth:"auto",padding:0,display:"flex",justifyContent:w.menuIsOpen===!1?"flex-end":"flex-start",alignItems:"center",flexWrap:"nowrap",paddingLeft:i.sp3,marginRight:i.sp3,width:" -webkit-fill-available"}),menu:n=>({...n,backgroundColor:S,borderRadius:4,boxShadow:`${i.sp0} 2px ${i.sp2} ${r.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:10,margin:0,width:"100%",WebkitJustifyContent:"unset",overflow:"hidden"}),menuList:n=>({...n,borderRadius:10}),placeholder:n=>({...n,width:"100%",height:g[4],...W.standardRegular.cssObject,color:T===!0?u.important:r.colors.grey1,display:"flex",justifyContent:"flex-start",alignItems:"center"}),option:(n,{isSelected:w,isFocused:E,isDisabled:z,data:o})=>({...n,...F,height:g[6],color:o.value==="require_approval"?u.alertDark:u.successDark,backgroundColor:w||E?r.colors.background:S,cursor:z?"not-allowed":"pointer",borderTop:o.topBorder===!0?`1px solid ${u.optionBorderLight}`:"none",":hover":{backgroundColor:r.colors.background},":first-div":{width:"100%"},"& label":{flex:1,paddingRight:"10px",cursor:z?"not-allowed":w?"default":"pointer"},zIndex:2}),input:(n,w)=>({color:r.colors.primary,overflow:"hidden",zIndex:2,height:g[4],width:w.selectProps.menuIsOpen?"auto":"0",position:"absolute",display:"flex",alignItems:"center",...W.standardRegular.cssObject})};return l.jsx(ve,{onClickAway:()=>{A(!1)},children:l.jsx(we,{isMulti:!1,onChange:n=>{_(n)},minMenuHeight:208,menuPlacement:"auto",menuShouldScrollIntoView:!1,defaultValue:I,value:I,placeholder:j,components:{Option:Re,DropdownIndicator:He,IndicatorSeparator:Ae,SingleValue:Fe},hideSelectedOptions:!1,styles:R,options:C(e),isClearable:!1,isSearchable:!1,isDisabled:k,defaultMenuIsOpen:b,"data-testid":M("single-select",t)},$e())})},Fe=({children:e,...s})=>l.jsx(fe.SingleValue,{...s,children:e}),Re=e=>{const{data:s,options:t,isFocused:p,label:$,isSelected:k}=e,f=t.find(m=>m.value===s.value),j=typeof s.label=="string"?s.label:s.value;return l.jsxs(fe.Option,{...e,children:[l.jsxs(Pe,{"data-testid":M("single-select-option",j),children:[l.jsxs(Ve,{children:[l.jsx("label",{children:$}),p===!0&&f?.id!=null&&l.jsx(Me,{children:f.id})]}),k?l.jsx(Be,{children:l.jsx(qe,{className:"tick-icon"})}):null]}),f.additionalInfo!==""&&l.jsx(l.Fragment,{children:f.additionalInfo})]})},Pe=d.div`
202
202
  display: flex;
203
203
  flex-direction: row;
204
204
  align-items: center;
@@ -220,12 +220,12 @@ import{J as H,V as l,O as Y,cL as q,ex as G,d as ee,cQ as Q,y as L,gk as Z,o as
220
220
  margin: 0 ${i.sp5} 0 ${i.sp3};
221
221
  `,Be=d.div`
222
222
  display: flex;
223
- `,He=d(ke)`
223
+ `,qe=d(ke)`
224
224
  width: ${i.sp3};
225
225
  height: ${i.sp3};
226
226
  cursor: pointer;
227
227
  color: ${e=>e.theme.colors.primary};
228
- `,qe=()=>null,Ae=()=>null,_e=({name:e,registerOptions:s,value:t,isDisabled:p,defaultMenuIsOpen:$,placeholderLabel:k})=>{const{control:f}=q(),j=t.allOptions.map(r=>r.value??""),m=r=>t.allOptions.filter(I=>I.value===r)[0]?.label??"",T=r=>t.allOptions.find(I=>I.value===r.value)?.value;return l.jsx(ye,{name:e,control:f,defaultValue:t,rules:s,"data-testid":M("single-select-field",e),render:({field:{value:r,onChange:I}})=>l.jsx(Ne,{allOptions:j,onSelectedValueChanged:D=>{I({allOptions:t.allOptions,selectedOption:T(D)})},valueToLabel:D=>m(D),selectedValue:r.selectedOption,disable:p,name:e,defaultMenuIsOpen:$,placeholderLabel:k})})},me=V.memo(_e,(e,s)=>le(e,s)),O={width:new L(343,580,726),height:new L(g[6],g[6]),paddingLeftRight:new L(g[3],g[4]),paddingTopBottom:new L(g[3],g[3]),labelMarginRight:new L(g[3],g[4])},J=(e,s)=>`${e}.${s}`;function We({label:e,isDisabled:s,sectionId:t,style:p,approversPlaceholder:$,notifiersPlaceholder:k,userSelectPlaceholder:f,approveNotifyPlaceholder:j,allUserWithRoles:m,filteredApprovers:T,allAttributes:r,filteredAttributes:I,allAccountingClasses:D,stepsInfo:b,productType:A}){const C=H(),{commonSetUp:{approval:N}}=Y.getLocalizedStrings(),_=T.length+I.length,S=m.map(o=>o.user),{control:B,setValue:F}=q(),{fields:E,replace:R}=ce({name:t,control:B}),n=()=>{const o=b[b.length-1].stepIndex,h=xe(o+1,S,r);F(t,[...b,h])},w=o=>{const h=b.filter((a,c)=>c!==o);F(t,h)};V.useEffect(()=>{const o=E.map(a=>{const{actors:c,stepType:y}=a;return{selectedUsers:c.selectedUsers.map(x=>x.userId),selectedNonUsers:c.selectedNonUsers,selectedOption:y.selectedOption}}),h=b.map(a=>{const{actors:c,stepType:y}=a;return{selectedUsers:c.selectedUsers.map(x=>x.userId),selectedNonUsers:c.selectedNonUsers,selectedOption:y.selectedOption}});if(!le(o,h)){const a=b.map((c,y)=>({actors:{selectedUsers:c.actors.selectedUsers,selectedNonUsers:c.actors.selectedNonUsers,allUsers:S,allNonUsers:te(r)},stepIndex:y,stepType:{selectedOption:c.stepType.selectedOption,allOptions:re}}));R(a)}},[S,b,E,R,r]);const U=b[b.length-1],z=s!=null||_===0||U.actors.selectedUsers.length+U.actors.selectedNonUsers.length===0||!U.stepType.selectedOption;return l.jsxs(Ge,{size:C,style:p,isDisabled:!1,isError:!1,children:[l.jsx(Q,{label:e.label,style:{marginRight:O.labelMarginRight.value(C),width:"auto"}}),b.map((o,h)=>l.jsxs(Ze,{labelWidth:e.width,children:[l.jsxs(Ye,{children:[h+1,"."]}),l.jsx(Ke,{children:l.jsx(me,{name:J(`${t}.${o.stepIndex}`,"stepType"),value:o.stepType,isDisabled:h===0,defaultMenuIsOpen:h===1&&o.stepType.selectedOption==null,registerOptions:{required:!0,validate:a=>a!=null&&a.selectedOption!=null||s!=null},placeholderLabel:j})}),l.jsxs(Xe,{children:[l.jsx(pe,{hideEmailTooltip:!1,shouldHaveBackgroundColor:!0,showBackgroundColorIfHasAnySelectedOption:!0,placeholderLabel:o.stepType.selectedOption==null?f:o.stepType.selectedOption==="require_approval"?$:k,name:J(`${t}.${o.stepIndex}`,"actors"),value:o.actors,operator:o.stepType!=null&&o.stepType.selectedOption==="require_approval"?"or":"and",registerOptions:{required:!0,validate:a=>a!=null&&(a.selectedUsers!=null&&a.selectedUsers.length>0||a.selectedNonUsers!=null&&a.selectedNonUsers.length>0)||s!=null},valueToSubtitle:a=>{const c=m.map(x=>x.role).find(x=>x?.userId===a),y=[];if(c!=null){const x=ue(c.userRoles,A);x.length>0&&y.push(x),c.accountingClassIDs.forEach(K=>{const P=D.find(X=>X.classId===K);P!=null&&P.className&&y.push(P.className)})}return y}}),o.stepIndex>0&&l.jsx(Je,{onClick:()=>w(h)})]})]},E[h]?.id||h)),l.jsx(Qe,{disabled:z,children:l.jsx(he,{onClick:n,style:{padding:`${i.sp1} ${i.sp2}`,borderRadius:i.sp1},label:N.addStep,size:"small",disabled:z,"data-testid":M("add-step-button-web")})})]})}const xe=(e,s,t)=>({stepIndex:e,actors:{allUsers:s,selectedUsers:[],allNonUsers:te(t),selectedNonUsers:[]},stepType:{allOptions:re,selectedOption:void 0}}),te=e=>{const s=Y.getLocalizedStrings().commonSetUp.approval.nonUsers;return e.map(t=>({label:s[t].label,value:t,position:"top",subtitles:[s[t].subTitle]}))},re=[{label:"Require",value:"require_approval"},{label:"Notify",value:"send_notification"}],Ge=d.div`
228
+ `,He=()=>null,Ae=()=>null,_e=({name:e,registerOptions:s,value:t,isDisabled:p,defaultMenuIsOpen:$,placeholderLabel:k})=>{const{control:f}=H(),j=t.allOptions.map(r=>r.value??""),m=r=>t.allOptions.filter(I=>I.value===r)[0]?.label??"",T=r=>t.allOptions.find(I=>I.value===r.value)?.value;return l.jsx(ye,{name:e,control:f,defaultValue:t,rules:s,"data-testid":M("single-select-field",e),render:({field:{value:r,onChange:I}})=>l.jsx(Ne,{allOptions:j,onSelectedValueChanged:D=>{I({allOptions:t.allOptions,selectedOption:T(D)})},valueToLabel:D=>m(D),selectedValue:r.selectedOption,disable:p,name:e,defaultMenuIsOpen:$,placeholderLabel:k})})},me=V.memo(_e,(e,s)=>le(e,s)),O={width:new L(343,580,726),height:new L(g[6],g[6]),paddingLeftRight:new L(g[3],g[4]),paddingTopBottom:new L(g[3],g[3]),labelMarginRight:new L(g[3],g[4])},J=(e,s)=>`${e}.${s}`;function We({label:e,isDisabled:s,sectionId:t,style:p,approversPlaceholder:$,notifiersPlaceholder:k,userSelectPlaceholder:f,approveNotifyPlaceholder:j,allUserWithRoles:m,filteredApprovers:T,allAttributes:r,filteredAttributes:I,allAccountingClasses:D,stepsInfo:b,productType:A}){const C=q(),{commonSetUp:{approval:N}}=X.getLocalizedStrings(),_=T.length+I.length,S=m.map(o=>o.user),{control:B,setValue:F}=H(),{fields:U,replace:R}=ce({name:t,control:B}),n=()=>{const o=b[b.length-1].stepIndex,h=xe(o+1,S,r);F(t,[...b,h])},w=o=>{const h=b.filter((a,c)=>c!==o);F(t,h)};V.useEffect(()=>{const o=U.map(a=>{const{actors:c,stepType:y}=a;return{selectedUsers:c.selectedUsers.map(x=>x.userId),selectedNonUsers:c.selectedNonUsers,selectedOption:y.selectedOption}}),h=b.map(a=>{const{actors:c,stepType:y}=a;return{selectedUsers:c.selectedUsers.map(x=>x.userId),selectedNonUsers:c.selectedNonUsers,selectedOption:y.selectedOption}});if(!le(o,h)){const a=b.map((c,y)=>({actors:{selectedUsers:c.actors.selectedUsers,selectedNonUsers:c.actors.selectedNonUsers,allUsers:S,allNonUsers:te(r)},stepIndex:y,stepType:{selectedOption:c.stepType.selectedOption,allOptions:re}}));R(a)}},[S,b,U,R,r]);const E=b[b.length-1],z=s!=null||_===0||E.actors.selectedUsers.length+E.actors.selectedNonUsers.length===0||!E.stepType.selectedOption;return l.jsxs(Ge,{size:C,style:p,isDisabled:!1,isError:!1,children:[l.jsx(K,{label:e.label,style:{marginRight:O.labelMarginRight.value(C),width:"auto"}}),b.map((o,h)=>l.jsxs(Ze,{labelWidth:e.width,children:[l.jsxs(Xe,{children:[h+1,"."]}),l.jsx(Qe,{children:l.jsx(me,{name:J(`${t}.${o.stepIndex}`,"stepType"),value:o.stepType,isDisabled:h===0,defaultMenuIsOpen:h===1&&o.stepType.selectedOption==null,registerOptions:{required:!0,validate:a=>a!=null&&a.selectedOption!=null||s!=null},placeholderLabel:j})}),l.jsxs(Ye,{children:[l.jsx(pe,{hideEmailTooltip:!1,shouldHaveBackgroundColor:!0,showBackgroundColorIfHasAnySelectedOption:!0,placeholderLabel:o.stepType.selectedOption==null?f:o.stepType.selectedOption==="require_approval"?$:k,name:J(`${t}.${o.stepIndex}`,"actors"),value:o.actors,operator:o.stepType!=null&&o.stepType.selectedOption==="require_approval"?"or":"and",registerOptions:{required:!0,validate:a=>a!=null&&(a.selectedUsers!=null&&a.selectedUsers.length>0||a.selectedNonUsers!=null&&a.selectedNonUsers.length>0)||s!=null},valueToSubtitle:a=>{const c=m.map(x=>x.role).find(x=>x?.userId===a),y=[];if(c!=null){const x=ue(c.userRoles,A);x.length>0&&y.push(x),c.accountingClassIDs.forEach(Q=>{const P=D.find(Y=>Y.classId===Q);P!=null&&P.className&&y.push(P.className)})}return y}}),o.stepIndex>0&&l.jsx(Je,{onClick:()=>w(h)})]})]},U[h]?.id||h)),l.jsx(Ke,{disabled:z,children:l.jsx(he,{onClick:n,style:{padding:`${i.sp1} ${i.sp2}`,borderRadius:i.sp1},label:N.addStep,size:"small",disabled:z,"data-testid":M("add-step-button-web")})})]})}const xe=(e,s,t)=>({stepIndex:e,actors:{allUsers:s,selectedUsers:[],allNonUsers:te(t),selectedNonUsers:[]},stepType:{allOptions:re,selectedOption:void 0}}),te=e=>{const s=X.getLocalizedStrings().commonSetUp.approval.nonUsers;return e.map(t=>({label:s[t].label,value:t,position:"top",subtitles:[s[t].subTitle]}))},re=[{label:"Require",value:"require_approval"},{label:"Notify",value:"send_notification"}],Ge=d.div`
229
229
  display: flex;
230
230
  flex-direction: column;
231
231
  align-items: flex-start;
@@ -281,7 +281,7 @@ import{J as H,V as l,O as Y,cL as q,ex as G,d as ee,cQ as Q,y as L,gk as Z,o as
281
281
  &:hover {
282
282
  color: ${u.important};
283
283
  }
284
- `,Qe=d.div`
284
+ `,Ke=d.div`
285
285
  width: 100%;
286
286
  display: flex;
287
287
  justify-content: flex-end;
@@ -290,20 +290,20 @@ import{J as H,V as l,O as Y,cL as q,ex as G,d as ee,cQ as Q,y as L,gk as Z,o as
290
290
  color: ${e=>e.disabled?e.theme.colors.grey1:e.theme.colors.primary};
291
291
  }
292
292
  }
293
- `,Ke=d.div`
293
+ `,Qe=d.div`
294
294
  display: flex;
295
295
  align-items: center;
296
296
  width: 174px;
297
- `,Xe=d.div`
297
+ `,Ye=d.div`
298
298
  flex: 2;
299
299
  display: flex;
300
300
  gap: ${i.sp3};
301
301
  align-items: baseline;
302
302
  max-height: 300px;
303
- `,Ye=d.div`
303
+ `,Xe=d.div`
304
304
  width: ${i.sp5};
305
305
  color: ${e=>e.theme.colors.hero};
306
- `;function el({label:e,isDisabled:s,sectionId:t,style:p,approversPlaceholder:$,notifiersPlaceholder:k,userSelectPlaceholder:f,approveNotifyPlaceholder:j,allUserWithRoles:m,filteredApprovers:T,allAttributes:r,filteredAttributes:I,allAccountingClasses:D,stepsInfo:b,productType:A}){const C=H(),{commonSetUp:{approval:N}}=Y.getLocalizedStrings(),_=T.length+I.length,S=m.map(o=>o.user),{control:B,setValue:F}=q(),{fields:E,replace:R}=ce({name:t,control:B}),n=()=>{const o=b[b.length-1].stepIndex,h=xe(o+1,S,r);F(t,[...b,h])},w=o=>{const h=b.filter((a,c)=>c!==o);F(t,h)};V.useEffect(()=>{const o=E.map(a=>{const{actors:c,stepType:y}=a;return{selectedUsers:c.selectedUsers.map(x=>x.userId),selectedNonUsers:c.selectedNonUsers,selectedOption:y.selectedOption}}),h=b.map(a=>{const{actors:c,stepType:y}=a;return{selectedUsers:c.selectedUsers.map(x=>x.userId),selectedNonUsers:c.selectedNonUsers,selectedOption:y.selectedOption}});if(!le(o,h)){const a=b.map((c,y)=>({actors:{selectedUsers:c.actors.selectedUsers,selectedNonUsers:c.actors.selectedNonUsers,allUsers:S,allNonUsers:te(r)},stepIndex:y,stepType:{selectedOption:c.stepType.selectedOption,allOptions:re}}));R(a)}},[S,b,E,R,r]);const U=b[b.length-1],z=s!=null||_===0||U.actors.selectedUsers.length+U.actors.selectedNonUsers.length===0||!U.stepType.selectedOption;return l.jsxs(ll,{size:C,style:p,isDisabled:!1,isError:!1,children:[l.jsx(Q,{label:e.label,style:{marginRight:O.labelMarginRight.value(C),width:"auto"}}),b.map((o,h)=>l.jsxs(tl,{labelWidth:e.width,children:[l.jsxs(dl,{children:[h+1,"."]}),l.jsxs(al,{children:[l.jsx(me,{name:J(`${t}.${o.stepIndex}`,"stepType"),value:o.stepType,isDisabled:h===0,defaultMenuIsOpen:h===1&&o.stepType.selectedOption==null,registerOptions:{required:!0,validate:a=>a!=null&&a.selectedOption!=null||s!=null},placeholderLabel:j}),l.jsxs(sl,{children:[l.jsx(ol,{children:l.jsx(pe,{hideEmailTooltip:!1,shouldHaveBackgroundColor:!0,showBackgroundColorIfHasAnySelectedOption:!0,placeholderLabel:o.stepType.selectedOption==null?f:o.stepType.selectedOption==="require_approval"?$:k,name:J(`${t}.${o.stepIndex}`,"actors"),value:o.actors,operator:o.stepType!=null&&o.stepType.selectedOption==="require_approval"?"or":"and",registerOptions:{required:!0,validate:a=>a!=null&&(a.selectedUsers!=null&&a.selectedUsers.length>0||a.selectedNonUsers!=null&&a.selectedNonUsers.length>0)||s!=null},valueToSubtitle:a=>{const c=m.map(x=>x.role).find(x=>x?.userId===a),y=[];if(c!=null){const x=ue(c.userRoles,A);x.length>0&&y.push(x),c.accountingClassIDs.forEach(K=>{const P=D.find(X=>X.classId===K);P!=null&&P.className&&y.push(P.className)})}return y}})}),o.stepIndex>0&&l.jsx(rl,{onClick:()=>w(h),"data-testid":M("delete-step",h.toString())})]})]})]},E[h]?.id||h)),l.jsx(il,{disabled:z,children:l.jsx(he,{onClick:n,style:{width:"100%"},label:N.addStep,size:"standard",variant:"light_transparent",disabled:z,"data-testid":M("add-step-button-small")})})]})}const ll=d.div`
306
+ `;function el({label:e,isDisabled:s,sectionId:t,style:p,approversPlaceholder:$,notifiersPlaceholder:k,userSelectPlaceholder:f,approveNotifyPlaceholder:j,allUserWithRoles:m,filteredApprovers:T,allAttributes:r,filteredAttributes:I,allAccountingClasses:D,stepsInfo:b,productType:A}){const C=q(),{commonSetUp:{approval:N}}=X.getLocalizedStrings(),_=T.length+I.length,S=m.map(o=>o.user),{control:B,setValue:F}=H(),{fields:U,replace:R}=ce({name:t,control:B}),n=()=>{const o=b[b.length-1].stepIndex,h=xe(o+1,S,r);F(t,[...b,h])},w=o=>{const h=b.filter((a,c)=>c!==o);F(t,h)};V.useEffect(()=>{const o=U.map(a=>{const{actors:c,stepType:y}=a;return{selectedUsers:c.selectedUsers.map(x=>x.userId),selectedNonUsers:c.selectedNonUsers,selectedOption:y.selectedOption}}),h=b.map(a=>{const{actors:c,stepType:y}=a;return{selectedUsers:c.selectedUsers.map(x=>x.userId),selectedNonUsers:c.selectedNonUsers,selectedOption:y.selectedOption}});if(!le(o,h)){const a=b.map((c,y)=>({actors:{selectedUsers:c.actors.selectedUsers,selectedNonUsers:c.actors.selectedNonUsers,allUsers:S,allNonUsers:te(r)},stepIndex:y,stepType:{selectedOption:c.stepType.selectedOption,allOptions:re}}));R(a)}},[S,b,U,R,r]);const E=b[b.length-1],z=s!=null||_===0||E.actors.selectedUsers.length+E.actors.selectedNonUsers.length===0||!E.stepType.selectedOption;return l.jsxs(ll,{size:C,style:p,isDisabled:!1,isError:!1,children:[l.jsx(K,{label:e.label,style:{marginRight:O.labelMarginRight.value(C),width:"auto"}}),b.map((o,h)=>l.jsxs(tl,{labelWidth:e.width,children:[l.jsxs(dl,{children:[h+1,"."]}),l.jsxs(al,{children:[l.jsx(me,{name:J(`${t}.${o.stepIndex}`,"stepType"),value:o.stepType,isDisabled:h===0,defaultMenuIsOpen:h===1&&o.stepType.selectedOption==null,registerOptions:{required:!0,validate:a=>a!=null&&a.selectedOption!=null||s!=null},placeholderLabel:j}),l.jsxs(sl,{children:[l.jsx(ol,{children:l.jsx(pe,{hideEmailTooltip:!1,shouldHaveBackgroundColor:!0,showBackgroundColorIfHasAnySelectedOption:!0,placeholderLabel:o.stepType.selectedOption==null?f:o.stepType.selectedOption==="require_approval"?$:k,name:J(`${t}.${o.stepIndex}`,"actors"),value:o.actors,operator:o.stepType!=null&&o.stepType.selectedOption==="require_approval"?"or":"and",registerOptions:{required:!0,validate:a=>a!=null&&(a.selectedUsers!=null&&a.selectedUsers.length>0||a.selectedNonUsers!=null&&a.selectedNonUsers.length>0)||s!=null},valueToSubtitle:a=>{const c=m.map(x=>x.role).find(x=>x?.userId===a),y=[];if(c!=null){const x=ue(c.userRoles,A);x.length>0&&y.push(x),c.accountingClassIDs.forEach(Q=>{const P=D.find(Y=>Y.classId===Q);P!=null&&P.className&&y.push(P.className)})}return y}})}),o.stepIndex>0&&l.jsx(rl,{onClick:()=>w(h),"data-testid":M("delete-step",h.toString())})]})]})]},U[h]?.id||h)),l.jsx(il,{disabled:z,children:l.jsx(he,{onClick:n,style:{width:"100%"},label:N.addStep,size:"standard",variant:"light_transparent",disabled:z,"data-testid":M("add-step-button-small")})})]})}const ll=d.div`
307
307
  display: flex;
308
308
  flex-direction: column;
309
309
  align-items: flex-start;
@@ -387,4 +387,4 @@ import{J as H,V as l,O as Y,cL as q,ex as G,d as ee,cQ as Q,y as L,gk as Z,o as
387
387
  `,dl=d.div`
388
388
  width: ${i.sp4};
389
389
  color: ${e=>e.theme.colors.hero};
390
- `;function hl(e){return H()==="small"?l.jsx(el,{...e}):l.jsx(We,{...e})}export{ul as b,hl as f,re as l,te as o};
390
+ `;function hl(e){return q()==="small"?l.jsx(el,{...e}):l.jsx(We,{...e})}export{ul as b,hl as f,re as l,te as o};