@zeniai/web-cockpit-ui 1.14.91-qa → 1.14.92-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/ACHDetailsPage-B6sY0jN6-BewHWiw_.js +21 -0
- package/dist/assets/{AIPerformancePage-BWK9fXrz-rCBrp1JL.js → AIPerformancePage-BWK9fXrz-XnvE7-6d.js} +2 -2
- package/dist/assets/{AccountInfoPage-DfT5DDiZ-D0CVlv97.js → AccountInfoPage-DfT5DDiZ-DND7ENQF.js} +3 -3
- package/dist/assets/{AccountInfoPageContent-nUi26Aww-D32CRcv0.js → AccountInfoPageContent-nUi26Aww-Bwa-HIUO.js} +11 -11
- package/dist/assets/{AccountLockedInfoModal-BROj4bmE-DFG-AArf.js → AccountLockedInfoModal-BROj4bmE-DDKXU8OA.js} +5 -5
- package/dist/assets/{AccountReconDetailsDrawerPage-C-3FFCQZ-DSRssRwi.js → AccountReconDetailsDrawerPage-C-3FFCQZ-D-TpqzuY.js} +7 -7
- package/dist/assets/{AccountRow-BM2kGWyR-CUEabI22.js → AccountRow-BM2kGWyR-CEX7zEFS.js} +10 -10
- package/dist/assets/{AccountsPromoCardStack-CNCG5uPJ-D2Rks2IH.js → AccountsPromoCardStack-CNCG5uPJ-Y2aCPflf.js} +5 -5
- package/dist/assets/AddAddressForCardDrawer-BuAtFO1w-e0LZrU5l.js +6 -0
- package/dist/assets/{AddToWalletPage-DyrcWdBZ-BOmGChQh.js → AddToWalletPage-DyrcWdBZ-CkK2fnuE.js} +17 -17
- package/dist/assets/{AgingReportsPage-CmluxKG3-CDFaJsCv.js → AgingReportsPage-CmluxKG3-B2hpJNM3.js} +7 -7
- package/dist/assets/{AllUserItems-CVZZU-J3-CQYclBqY.js → AllUserItems-CVZZU-J3-Ce2827d_.js} +6 -6
- package/dist/assets/{ApAgingDetailPage-CoNxqskm-D1SMh_uB.js → ApAgingDetailPage-CoNxqskm-Bna_-NVA.js} +1 -1
- package/dist/assets/{AppBasePage-CTGNzUtN-CsSqlHFb.js → AppBasePage-CTGNzUtN--WSyuM8w.js} +4 -4
- package/dist/assets/{AppDrawerContent-59dQVUxu-BK18x8lU.js → AppDrawerContent-59dQVUxu-Bv7_BAFF.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-XEW5sdNg-B6n0n-AH.js → ApprovalRulesSettingsPage-XEW5sdNg-DmNI-bwP.js} +1 -1
- package/dist/assets/{ArAgingChart-D3Ym4gVE-BMi6xDeV.js → ArAgingChart-D3Ym4gVE-DmsLk005.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-BLEJSLJJ-Cks0yhvG.js → ArAgingDetailPage-BLEJSLJJ-C4CejQvS.js} +1 -1
- package/dist/assets/{AttachmentView-DSP80cjm-CgZkBq6h.js → AttachmentView-DSP80cjm-BrHb-fdX.js} +7 -7
- package/dist/assets/{BankAccountSection-DRrNcA79-CfWXJkCL.js → BankAccountSection-DRrNcA79-DN0L_Nus.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-Ub-gsfhE-pYaBnYwo.js → BankAccountWarningSection-Ub-gsfhE-CWRw85Ya.js} +9 -9
- package/dist/assets/{BankConnectionsSettingsPage-BcTtJTbg-Bmy_bjMC.js → BankConnectionsSettingsPage-BcTtJTbg-Cq7UhfIX.js} +9 -9
- package/dist/assets/{BillDetailPage-D7AQyxwr-DdsAIdzy.js → BillDetailPage-D7AQyxwr-C4hQ51aV.js} +2 -2
- package/dist/assets/{BillPayApprovalRuleDetailPage-BQWGENO8-B3YKN5mU.js → BillPayApprovalRuleDetailPage-BQWGENO8-UqNryn1Y.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-BbA1Nwqe-Clw-2wlC.js → BillPayApprovalRulesPage-BbA1Nwqe-8oC6drGE.js} +1 -1
- package/dist/assets/{BillPayPromoPage-DSTS_vBW-CQQQB354.js → BillPayPromoPage-DSTS_vBW-D4bhyD9i.js} +4 -4
- package/dist/assets/{BillPaySetUpPage-CvlVPVCA-NjhuI3UN.js → BillPaySetUpPage-CvlVPVCA-CckOfR6h.js} +1 -1
- package/dist/assets/{BillingSettingsPage-nKpHtd4C-Dt0uXp5Q.js → BillingSettingsPage-nKpHtd4C-BrQxt-Or.js} +2 -2
- package/dist/assets/{BillsBulkReviewDrawerPage-DNHAoceL-Cb4kf05q.js → BillsBulkReviewDrawerPage-DNHAoceL-CcLmGKWP.js} +1 -1
- package/dist/assets/{BoxItem-Bjv3WNXO-BmJyEo8P.js → BoxItem-Bjv3WNXO-CbkK_BvO.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-Bj4D9bX2-BwDZ1SF1.js → BusinessVerificationPage-Bj4D9bX2-CSqpS47f.js} +7 -7
- package/dist/assets/CardNumberSubText-BYY-Inxd-B5eDSuWq.js +21 -0
- package/dist/assets/{CashbackDetailPage-D9UiTqp9-KfzGeeHg.js → CashbackDetailPage-D9UiTqp9-CYWVGaEH.js} +14 -14
- package/dist/assets/{ChargeCardDetailPage-C5EdiIyl-DtWHXqSs.js → ChargeCardDetailPage-C5EdiIyl-BRwuM_9a.js} +24 -24
- package/dist/assets/{ChargeCardListPage-DZwz1qoD-DbcJS4HW.js → ChargeCardListPage-DZwz1qoD-CqjW0D5U.js} +14 -14
- package/dist/assets/{ChargeCardListTable-D5B05Z1F-CeQiSd9i.js → ChargeCardListTable-D5B05Z1F-D4hpaga1.js} +13 -13
- package/dist/assets/{ChargeCardPromoPage-CDJMtGJb-BhpbAa0E.js → ChargeCardPromoPage-CDJMtGJb-hssoPQjs.js} +10 -10
- package/dist/assets/{ChargeCardSetupPage-CVV24gS9-DEZ65n_v.js → ChargeCardSetupPage-CVV24gS9-BAOQ2Xly.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-CmjBoi5e-snf3xLLe.js → ChargeCardStatementsPage-CmjBoi5e-DLlPm7j6.js} +3 -3
- package/dist/assets/{CheckDepositDrawerPage-CYOhT5Qz-DksjSdSX.js → CheckDepositDrawerPage-CYOhT5Qz-NvWlDiXp.js} +10 -10
- package/dist/assets/{CollapsableReportTable-hL_Ycouc-BeVhCFjP.js → CollapsableReportTable-hL_Ycouc-uf2_k_Pr.js} +32 -32
- package/dist/assets/{CompanyOfficerDetailsSection-DR_6TlQa-CRHkdATL.js → CompanyOfficerDetailsSection-DR_6TlQa-SwPBTgrA.js} +1 -1
- package/dist/assets/{CompanyPassportCard-B4chn7-Q-C5MlH5vF.js → CompanyPassportCard-B4chn7-Q-Bv_vr7JG.js} +1 -1
- package/dist/assets/{CompanyPassportPage-oT9HnnPQ-Cn_rUM0x.js → CompanyPassportPage-oT9HnnPQ-BroxBLc-.js} +1 -1
- package/dist/assets/{CompleteProfile-BgH4v76Z-CMAlYJ7H.js → CompleteProfile-BgH4v76Z-CN661m7_.js} +1 -1
- package/dist/assets/ConfettiBurst-Cl6jHJ8H-gdYynPR6.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-CW-u7pJU-BbNmJCzp.js → CreateOrEditVendorPage-CW-u7pJU-D_V5jy6j.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-D30M7ol4-DHMoXleH.js → CreditCardPaymentDrawerPage-D30M7ol4-Cmy98i97.js} +101 -101
- package/dist/assets/{CurrencySelectField-DOCEstMc-lt77fvq3.js → CurrencySelectField-DOCEstMc-DLDifnD2.js} +3 -3
- package/dist/assets/{CustomerOnboardingActivationPage-DMPNjFL_-Di2Nadj1.js → CustomerOnboardingActivationPage-DMPNjFL_-DXtNUrdA.js} +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-SmOFmXBW-DTN0ucTw.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CBYo4VQn-BXbbBAgo.js → CustomerOnboardingDetailPageSkeleton-CBYo4VQn-lNg5MP87.js} +8 -8
- package/dist/assets/{CustomerOnboardingNoStepsPage-EBVRCYfJ-D_7GUO1D.js → CustomerOnboardingNoStepsPage-EBVRCYfJ-D9C_SyFY.js} +3 -3
- package/dist/assets/{CustomerOnboardingPage-TJK6s-LM-C-OnNjx4.js → CustomerOnboardingPage-TJK6s-LM-CoIVtMVm.js} +1 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-lNIP5gSu-Bg8Yb8JM.js +202 -0
- package/dist/assets/{Dashboard-WiE9IRrh-DLy2oEV6.js → Dashboard-WiE9IRrh-DvtSkHmk.js} +14 -14
- package/dist/assets/{DashboardReportPage-BKHl_IVD--5FXkbx2.js → DashboardReportPage-BKHl_IVD-CtxBGv_B.js} +11 -11
- package/dist/assets/DashboardSidebarBackgroundAnimation-B1mJObim-DOqCN-CI.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-C8tChaJS-C2YE4gmN.js → DepositAccTransactionItem-C8tChaJS-BcNs6Wmj.js} +1 -1
- package/dist/assets/DepositAccTransactionListPage-B6px7upV-C_h4mZC3.js +66 -0
- package/dist/assets/DomesticWireDetailsPage-BFQJmzYm-Cigs9AsB.js +21 -0
- package/dist/assets/{DownloadOverlay-DB-qx46O-QQjLHCMg.js → DownloadOverlay-DB-qx46O-Di0XX-7b.js} +1 -1
- package/dist/assets/{DrawerPage-Bha9ElcW-DYWZbR7w.js → DrawerPage-Bha9ElcW-tQCg2vNB.js} +6 -6
- package/dist/assets/{EditPeoplePage-B6QD5Vld-CisYF3Ng.js → EditPeoplePage-B6QD5Vld-H7oW4yPE.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-EplOf2mP-D1RbirS3.js → EditReimbursementDetailPage-EplOf2mP-DR3ob0bq.js} +1 -1
- package/dist/assets/{EntityDetailPage-5Cu1qehd-D07nT3Te.js → EntityDetailPage-5Cu1qehd-BdCQHbCi.js} +1 -1
- package/dist/assets/{EntitySummarySection-D6z6-dM7-DEGQNQVO.js → EntitySummarySection-D6z6-dM7-iY3GcshB.js} +2 -2
- package/dist/assets/{ExpenseAutomationOverviewPage-DkoxczRc-NF6HtctB.js → ExpenseAutomationOverviewPage-DkoxczRc-Dj3WEFmv.js} +15 -15
- package/dist/assets/{ExpenseAutomationPage-Na3XKgcg-Cmx09CtX.js → ExpenseAutomationPage-Na3XKgcg-DopOn429.js} +1 -1
- package/dist/assets/{ExpressPayPage-DWGl_gml-D5XRTVzj.js → ExpressPayPage-DWGl_gml-hFOTsy6y.js} +12 -12
- package/dist/assets/{FeaturePreviewPage-BgkpUPMm-DzDv67fj.js → FeaturePreviewPage-BgkpUPMm-BgRBmXUD.js} +3 -3
- package/dist/assets/{FollowStepsSection-64oy2OLD-7-LclZyo.js → FollowStepsSection-64oy2OLD-BEGrGMi_.js} +7 -7
- package/dist/assets/{GlobalReviewListPage-DHfTyj2C-OAyr9UAc.js → GlobalReviewListPage-DHfTyj2C-C3EEWPiO.js} +12 -12
- package/dist/assets/{InformationCardStack-Dw3lhl2I-2Y0pRe_r.js → InformationCardStack-Dw3lhl2I-Bs6_LbeZ.js} +1 -1
- package/dist/assets/{InsightsCardStack-BiEswY1Z-CQn7ZFVZ.js → InsightsCardStack-BiEswY1Z-Db6FFDpQ.js} +9 -9
- package/dist/assets/{InsightsSection-DvqCilqy-BvIpOsD6.js → InsightsSection-DvqCilqy-BQT_s43S.js} +3 -3
- package/dist/assets/{IntegrationsSettingsPage-DzVYf5ff-K49nYAJL.js → IntegrationsSettingsPage-DzVYf5ff-DvdqA5Qq.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-DTHcuQsH-C8RSfXK9.js → InternationalWireSwiftDetailsPage-DTHcuQsH-B-a9NSLn.js} +11 -11
- package/dist/assets/{InternationalWireVerificationPage-BzyRqd-m-BPPlgLxU.js → InternationalWireVerificationPage-BzyRqd-m-slndLY5A.js} +7 -7
- package/dist/assets/{InviteFormPage-CaJB3ss1-C7CdP0jU.js → InviteFormPage-CaJB3ss1-HHZxjRMu.js} +17 -17
- package/dist/assets/{InvitePageListView-8Ltt8tHx-Dpx_AdxA.js → InvitePageListView-8Ltt8tHx-BPR7jVHX.js} +1 -1
- package/dist/assets/{InvitePeoplePage-A7oKAD7M-BX9kPS5-.js → InvitePeoplePage-A7oKAD7M-DkNn-Tux.js} +2 -2
- package/dist/assets/{InvoiceUploadSection-DomquLut-BX54FmZz.js → InvoiceUploadSection-DomquLut-CutCF8wG.js} +5 -5
- package/dist/assets/{IssueChargeCardPage-DtIQ1Buk-BN7RzIYF.js → IssueChargeCardPage-DtIQ1Buk-QOM0ijcK.js} +1 -1
- package/dist/assets/{LabeledAddressValue-B_9lh-_a-DrM7vU1s.js → LabeledAddressValue-B_9lh-_a-B22yf0PW.js} +2 -2
- package/dist/assets/{LabeledAddressValueField-CC7T3qZQ-1BY0JFnr.js → LabeledAddressValueField-CC7T3qZQ-5fkS_FuY.js} +2 -2
- package/dist/assets/LabeledControlledCheckBoxField-CeMM7Ci3-RHUW6sf_.js +16 -0
- package/dist/assets/{LabeledCreatableSingleSelectField-DKD0oEl8-TvdaP8Vv.js → LabeledCreatableSingleSelectField-DKD0oEl8-Bqf3gDxT.js} +3 -3
- package/dist/assets/{LabeledDocumentField-Dy3jwAiL-CCiYsV9S.js → LabeledDocumentField-Dy3jwAiL-FmwpCOt6.js} +3 -3
- package/dist/assets/{LabeledDropDownFormattedTextField-DDzM3r6s-CluakS-U.js → LabeledDropDownFormattedTextField-DDzM3r6s-CPxa5iPj.js} +1 -1
- package/dist/assets/{LabeledText-axaAGyUS-CcC7jZEk.js → LabeledText-axaAGyUS-B-Q4astZ.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-UlGND56Y-BKf09x4e.js → LabeledUserSingleSelectWithSubtitlesField-UlGND56Y-DlTnDPsW.js} +17 -17
- package/dist/assets/{LabeledZeniRolesDropDownField-dpz7g9jK-OaRP8J18.js → LabeledZeniRolesDropDownField-dpz7g9jK-BDxh4AaM.js} +9 -9
- package/dist/assets/{LinkJETransactionPage-CJniqVcu-CEg5TESY.js → LinkJETransactionPage-CJniqVcu-C9nn50Ye.js} +3 -3
- package/dist/assets/{LockCardPage-CjO8cr2a-D35PEeDH.js → LockCardPage-CjO8cr2a-C3aOpkLz.js} +12 -12
- package/dist/assets/{LowBalancePopup-DVS-w3b7-B-J4NCtT.js → LowBalancePopup-DVS-w3b7-DZeFvNAP.js} +2 -2
- package/dist/assets/MagicLinkACHDetailsPage-CUHMKmcj-BWS1eLIz.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Dnc7OzKQ-BkvhGPqZ.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-sBpQkYwP-DYCM1cCk.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-DAAoq3iT-RnQYScep.js → MagicLinkSuccessPage-DAAoq3iT-s_k-As2A.js} +6 -6
- package/dist/assets/MagicLinkTitleSection-FMRBLlRJ-Dq0HXyeM.js +17 -0
- package/dist/assets/MailingDetailsSection-CiJ5JLA6-ClA0Rhay.js +21 -0
- package/dist/assets/Menu-wpP8R1br-BkJyq7Tb.js +17 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-DIIFgnkE-S9MhwXB4.js → MyBankConnectionsSettingsPage-DIIFgnkE-BpGRsOdm.js} +2 -2
- package/dist/assets/{MyPendingActivationChargeCardListPage-Di_KYRgS-CK6YDHgF.js → MyPendingActivationChargeCardListPage-Di_KYRgS-1GEJ-RE_.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-m6vaeGgZ-Dsfb8_5o.js → MyProfileSettingsPage-m6vaeGgZ-CBRk31EZ.js} +4 -4
- package/dist/assets/{NavBarWithPicker-C_qO8mgD-BXQJ2aBI.js → NavBarWithPicker-C_qO8mgD-DeDCa5cM.js} +4 -4
- package/dist/assets/{NavigationArrow-BXYIj6Wz-D0J_smpz.js → NavigationArrow-BXYIj6Wz-CANss6wI.js} +8 -8
- package/dist/assets/{NavigationDots-BvKSgdgh-BqXI1Dvt.js → NavigationDots-BvKSgdgh-ChF9WLMp.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-Dc3xEoiZ-DLsg8Naf.js → NewGlobalMerchantPage-Dc3xEoiZ-BeCQwEx7.js} +2 -2
- package/dist/assets/NoDataChart-C5ZP32zB-BxSJ1j_J.js +26 -0
- package/dist/assets/NoDataTable-BnBYE8p_-CFZLFfEo.js +8 -0
- package/dist/assets/{NotFoundPage-CZ25GWwU-_oSr8iWX.js → NotFoundPage-CZ25GWwU-BICqInbF.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-DHvgj7Hu-BdTBQFAp.js → NotificationSettingsPage-DHvgj7Hu-BDiE5wjx.js} +3 -3
- package/dist/assets/{NotificationsListConfig-BBLSv0sd-CyiwE-QZ.js → NotificationsListConfig-BBLSv0sd-CBsOo8lP.js} +1 -1
- package/dist/assets/{NotificationsPage-CGVEC-Zc-DTkwGX6T.js → NotificationsPage-CGVEC-Zc-CICQW2D8.js} +14 -14
- package/dist/assets/{OpExByVendorPage-D55JZne--CJqRGQiy.js → OpExByVendorPage-D55JZne--Cr5n73UL.js} +6 -6
- package/dist/assets/{OverlayContainerPage-Daz3A7cI-DQE32HEH.js → OverlayContainerPage-Daz3A7cI-DLdPkPwc.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-fVmttEKP-BDMz5n2J.js → PandLWithForecastPage-fVmttEKP-aWCR7ttl.js} +11 -11
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-BiU8tQnm-Dbfq-Q5l.js → PaymentAccountSetupBillingAddressSection-BiU8tQnm-CY8MBOF0.js} +5 -5
- package/dist/assets/{PeoplePage-QuuuX2AS-BRICHczf.js → PeoplePage-QuuuX2AS-CDxGSCUE.js} +12 -12
- package/dist/assets/Preview-D_TLok3M.js +1 -0
- package/dist/assets/{ProductsCarousel-zdZkfaiY-_T4nYSYs.js → ProductsCarousel-zdZkfaiY-D8MGFtGX.js} +3 -3
- package/dist/assets/{PromoBaseCards-flFtcbIg-m_Kz4ZRp.js → PromoBaseCards-flFtcbIg-C0jZRRzU.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-DNB2C1vQ-DhNQ7g0E.js → QBOConnectionDialog-DNB2C1vQ-DPJHlPHX.js} +2 -2
- package/dist/assets/{QBOSetupSection-B59etoGz-_sJLDOFX.js → QBOSetupSection-B59etoGz-DxrgQvvQ.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-D7do3o0A-BCz-fjPF.js → ReimbursementApprovalRuleDetailPage-D7do3o0A-DiBw1aK-.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BJ6GewQ2-CIt97LH3.js → ReimbursementApprovalRulesPage-BJ6GewQ2-CMxGgRQ3.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-DKAtYSOy-CiNVqXoI.js → ReimbursementDetailPage-DKAtYSOy-C1CMn4bM.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-DKcSHlHp-5hV7x373.js → ReimbursementPromoPage-DKcSHlHp-gi8b3D2U.js} +9 -9
- package/dist/assets/{ReimbursementSetUpPage-Y1e_hna--D_F0MA0d.js → ReimbursementSetUpPage-Y1e_hna--L4dNaOo2.js} +5 -5
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-fgz8s4w9-VUP64soN.js → ReimbursementsBulkReviewDrawerPage-fgz8s4w9-TK1XJV4S.js} +1 -1
- package/dist/assets/{ReloadCard-DjtdPHq5-k80dn-sY.js → ReloadCard-DjtdPHq5-D_RTB189.js} +3 -3
- package/dist/assets/{ReportTableViewSelector-C8e6IEWt-C9oSqHHS.js → ReportTableViewSelector-C8e6IEWt-B1X6y91F.js} +1 -1
- package/dist/assets/{ReportsPage-BIe0eDLC-BkK5XGLi.js → ReportsPage-BIe0eDLC-DJAgrzKt.js} +3 -3
- package/dist/assets/{RevenueChart-Cc0XrxLL-CKhxzTm3.js → RevenueChart-Cc0XrxLL-BSXP5Fpe.js} +30 -30
- package/dist/assets/{ReviewDetailsPage-CU1AYWgR-BwWw8nzF.js → ReviewDetailsPage-CU1AYWgR-Aa7a5LiH.js} +17 -17
- package/dist/assets/{ReviewOverlay-CruJ9O84-tthxypv2.js → ReviewOverlay-CruJ9O84-C1Nn7-W1.js} +1 -1
- package/dist/assets/{RoleWithToolTip-fC3byzzv-h3kSlu0j.js → RoleWithToolTip-fC3byzzv-DvgcIN_v.js} +6 -6
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CE3tUYhk-BF1406RS.js → ScheduleDetailsFixedAssetsPage-CE3tUYhk-COrIX6jB.js} +3 -3
- package/dist/assets/{ScheduleDetailsPage-BhAqJ1Of-BbWry4yd.js → ScheduleDetailsPage-BhAqJ1Of-aIc3huKD.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-NSt1juSD-B6P-vowS.js → ScheduleSequenceTable-NSt1juSD-DIpN7xpp.js} +21 -21
- package/dist/assets/{ScreenRoutes-CPwJf5AY.js → ScreenRoutes-jO5HDDDI.js} +75 -75
- package/dist/assets/SetUpAccountSection-C1EnJv1V-BqOATLaf.js +378 -0
- package/dist/assets/{SignIn-BhIof_Cm-BQjlVN_5.js → SignIn-BhIof_Cm-BVhCYPyL.js} +1 -1
- package/dist/assets/SignInScreen-DYrtrzQo.js +1 -0
- package/dist/assets/{SpendManagementListViewPage-BEWNNX_Z-LpCmCl9n.js → SpendManagementListViewPage-BEWNNX_Z-DYJVhy13.js} +4 -4
- package/dist/assets/{SpendManagementPerTabPage-Vs1Eoxgd-B-R3eaH5.js → SpendManagementPerTabPage-Vs1Eoxgd-BJBD6w0V.js} +20 -20
- package/dist/assets/{SpendManagementSection-C38Zpi1z-CSd7Ra1P.js → SpendManagementSection-C38Zpi1z-zTQSB9zV.js} +10 -10
- package/dist/assets/{StatementItem-bHInVThd-CvDlOdeO.js → StatementItem-bHInVThd-Bfw9F8uL.js} +2 -2
- package/dist/assets/{StatementsPage-CGQhmaXx-R_F9KvHl.js → StatementsPage-CGQhmaXx-BIuU-4wu.js} +1 -1
- package/dist/assets/{StatusSwitcher-7fiKLb5g-BflTgrEp.js → StatusSwitcher-7fiKLb5g-IubUY6EX.js} +1 -1
- package/dist/assets/{SubTabSwitcher-9AnfZiNy-CnEO-V48.js → SubTabSwitcher-9AnfZiNy-DBEVnhtX.js} +3 -3
- package/dist/assets/{SummaryCard-DOycYLs1-BBnGU2Uh.js → SummaryCard-DOycYLs1-C5OfLiIW.js} +1 -1
- package/dist/assets/{TaskManagementPage-CehyMnY0-DxKz3xjn.js → TaskManagementPage-CehyMnY0-LzT8-CCR.js} +10 -10
- package/dist/assets/{TimeRangeSwitcher-Dq2FEgFR-BGlD5dTQ.js → TimeRangeSwitcher-Dq2FEgFR-CxbtXrjR.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-By3xz_-m-C7-16i-O.js → TimeframeSwitcher-By3xz_-m-4vvkqeCS.js} +6 -6
- package/dist/assets/{TimeframeSwitcherWithToggle-a3fmbzNR-BNAWd54k.js → TimeframeSwitcherWithToggle-a3fmbzNR-DF955u5N.js} +3 -3
- package/dist/assets/{TopExCard-GEQpp_KY-IB_77Mna.js → TopExCard-GEQpp_KY-BsC8DQsa.js} +4 -4
- package/dist/assets/{TopExDetailPage-hid1dQYl-kxPti7uc.js → TopExDetailPage-hid1dQYl-o5BnuopY.js} +9 -9
- package/dist/assets/{TransactionDetailPage-CX4JW9WM-BDaPm8U3.js → TransactionDetailPage-CX4JW9WM-gkT488m-.js} +3 -3
- package/dist/assets/{TransactionList-BixeXh4Y-D5p8k6VE.js → TransactionList-BixeXh4Y-CBLpnxhT.js} +13 -13
- package/dist/assets/{TransactionListBig-CGMMJQBd-DtMoV0wS.js → TransactionListBig-CGMMJQBd-Bi6fPPO-.js} +7 -7
- package/dist/assets/{TransactionListPage-CBVUTX4y-B8N6WUAF.js → TransactionListPage-CBVUTX4y-DvUQlgTG.js} +5 -5
- package/dist/assets/{TransactionVendorDetailPage-CEbHH_0r-B5vno7Kx.js → TransactionVendorDetailPage-CEbHH_0r-vhA6GFtl.js} +4 -4
- package/dist/assets/{TransferDrawerPage-BFd7uQnF-DiQCCcuy.js → TransferDrawerPage-BFd7uQnF-CdQTDGt-.js} +32 -32
- package/dist/assets/{TreasuryOverviewPage-Bd58hOy8-CiIm-PN1.js → TreasuryOverviewPage-Bd58hOy8-DrtmZ_fp.js} +28 -28
- package/dist/assets/{TreasuryPromoPage-BvArufHi-H2j749vC.js → TreasuryPromoPage-BvArufHi-zGiWS1XQ.js} +6 -6
- package/dist/assets/{TreasuryStatementsPage-YLCEBbRh-CcMOOxjw.js → TreasuryStatementsPage-YLCEBbRh-rIAdAl8t.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-D_6mgQqi-yYkV0iu8.js → TreasuryTaxLetterPage-D_6mgQqi-DYRPEoC2.js} +1 -1
- package/dist/assets/{TrendChart-D3dT6hUb-BHuMWYoT.js → TrendChart-D3dT6hUb-DkxaRhLn.js} +3 -3
- package/dist/assets/{TrendWithTransactions-Gj-u5KXi-81d3HYcO.js → TrendWithTransactions-Gj-u5KXi-BXQxjthK.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-B3eRYolj-BVdGDC68.js → UncategorizedAccountsMappingPage-B3eRYolj-CDmprZps.js} +3 -3
- package/dist/assets/{UnitIntegrationPage-DpjR9hUu-BLAHxX13.js → UnitIntegrationPage-DpjR9hUu-B-HccwC1.js} +4 -4
- package/dist/assets/UploadAdditionalDocumentOverlay-COtszXUY-BbmaGPRn.js +38 -0
- package/dist/assets/Vendor2FAPopup-C85mhuSb-CEUsiGHn.js +1 -0
- package/dist/assets/VendorACHDetailsPage-DeexeWpV-CWx4yTGx.js +1 -0
- package/dist/assets/{VendorDetailPage-BrbKfsL4-DjpTEW-F.js → VendorDetailPage-BrbKfsL4-Cj99XIhO.js} +86 -86
- package/dist/assets/VendorDomesticWireDetailsPage-DBChSKlR-CPIfYbL9.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-DgBLn3fd-BFued49C.js → VendorFiling1099EditablePage-DgBLn3fd-BC-C_gXr.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-jc7-OExI-G9JlI2Cf.js → VendorFirstReviewPage-jc7-OExI-B_u4wn_i.js} +58 -58
- package/dist/assets/{VendorInternationalWireDetailsPage-c6isgwH2-jfoBKQiW.js → VendorInternationalWireDetailsPage-c6isgwH2-G6KTzCh7.js} +7 -7
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CywCx8-0-BuJYqFug.js +1 -0
- package/dist/assets/{VendorsAccountsSection--VfdAF3H-D5xEFwOn.js → VendorsAccountsSection--VfdAF3H-CNAOxlvC.js} +2 -2
- package/dist/assets/{VerifyDevice-CaifjdR8-C5gOkIzM.js → VerifyDevice-CaifjdR8-B6dVM-BL.js} +1 -1
- package/dist/assets/VideoPlayer-BVR9LPmm-B4UxpKEs.js +78 -0
- package/dist/assets/{VideoPopup-BEXc8o78-CVV-ILBt.js → VideoPopup-BEXc8o78-DJiZW-Cs.js} +5 -5
- package/dist/assets/{WarningsDrawerPage-CboqfxzC-DFYQ5K3H.js → WarningsDrawerPage-CboqfxzC-gF7sCXHr.js} +4 -4
- package/dist/assets/{ZeniAccountDetailPage-Dujj0-XC-CqcpFC6J.js → ZeniAccountDetailPage-Dujj0-XC-V9rgFIsn.js} +21 -21
- package/dist/assets/{ZeniAccountListViewPage--SMJDGvC-CM-NK1x4.js → ZeniAccountListViewPage--SMJDGvC-CZS6XXwc.js} +1 -1
- package/dist/assets/ZeniAccountNavBarPieces-DqLJVQ5t-CkX8FMny.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-BVjJvWsA-C-Z-wjK6.js → ZeniAccountPromoPage-BVjJvWsA-B4Bz7FjR.js} +6 -6
- package/dist/assets/{ZeniAccountSetupPage-Dvxst8RT-DMWDIaa0.js → ZeniAccountSetupPage-Dvxst8RT-Dv9aj6me.js} +1 -1
- package/dist/assets/{ZeniCopyright-B88k3pkr-BZVlJOkG.js → ZeniCopyright-B88k3pkr-BvEC_X2s.js} +1 -1
- package/dist/assets/ZeniTransferAmountSlider-1DS0MsTI-DXZHqv18.js +63 -0
- package/dist/assets/add-to-wallet-DgdBD8_G-D178ysGy.js +1 -0
- package/dist/assets/{analytics-CHPpxU3b.js → analytics-D090O6Wm.js} +1 -1
- package/dist/assets/analyticsHelper-CW9XC1-j.js +1 -0
- package/dist/assets/{analyticsHelper-DmujELNG-CREtjHan.js → analyticsHelper-DmujELNG-CdoVsqKC.js} +1 -1
- package/dist/assets/arrow-south-east-round-PEovUgvH-Ccxih1KW.js +1 -0
- package/dist/assets/auto-transfer-rule-mbafm5D3-CaIDNTCx.js +1 -0
- package/dist/assets/{chartTypes-DRiSljvE-CV6dAhnU.js → chartTypes-DRiSljvE-DHGd6p3G.js} +1 -1
- package/dist/assets/{commonDimensions-BDftm0gJ-BmGAU2Ka.js → commonDimensions-BDftm0gJ-CtNxdt96.js} +1 -1
- package/dist/assets/constants-B1WOPvRN.js +1 -0
- package/dist/assets/core-BCGhSsNP.js +62 -0
- package/dist/assets/{dash.all.min-Bzta_mrR.js → dash.all.min-DQU9jzwW.js} +1 -1
- package/dist/assets/{detailCommon-BGgE4mE3-DcwKCO51.js → detailCommon-BGgE4mE3-BIZKCRTc.js} +3 -3
- package/dist/assets/{downloadPdf-DCQ9vVZs-BHlJTitV.js → downloadPdf-DCQ9vVZs-BAK1KQub.js} +1 -1
- package/dist/assets/empty-BFpyIT14.js +1 -0
- package/dist/assets/empty-Db_Oj0CQ.js +1 -0
- package/dist/assets/epic-BhAddVo8.js +2 -0
- package/dist/assets/gift-box-Cmt9OgIZ-BVmGGIyo.js +1 -0
- package/dist/assets/graphic-no-data-l-DU4J8fDt-BUSuwQOu.js +1 -0
- package/dist/assets/graphic-no-data-net-burn-l-CzmycA0m-9rVTKZNa.js +1 -0
- package/dist/assets/handshake-BPg58FML-DBfm_e1t.js +1 -0
- package/dist/assets/{hls-SyH7Grr1.js → hls-DifHSkbp.js} +1 -1
- package/dist/assets/{index-DDpxinoY.js → index-BGhFLU7w.js} +582 -582
- package/dist/assets/index-BpEXgtW2.js +1 -0
- package/dist/assets/index-CrL4860P.js +1 -0
- package/dist/assets/index-DOvOS8E_.js +1 -0
- package/dist/assets/{index-BG_bOyH4.js → index-DT-oXxhz.js} +3 -3
- package/dist/assets/index-DuKH4leN.js +1 -0
- package/dist/assets/{index-BiiqfeFx.js → index-RjyLdqZN.js} +1 -1
- package/dist/assets/{lexical-dZFDzIA1.js → lexical-CtZYfzDm.js} +1 -1
- package/dist/assets/{liveblocks-C2I4vRCJ.js → liveblocks-DjrSQGDL.js} +28 -20
- package/dist/assets/lottie-QlMyEFez.js +9 -0
- package/dist/assets/{mapLoadingInProgressToTreeNode-CXP8ZZTG-CTGwDEAX.js → mapLoadingInProgressToTreeNode-CXP8ZZTG-DEpSFHGZ.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BZSP-VcP-DnxPTr5m.js → mapSectionWithAcOnlyToTreeNode-BZSP-VcP-woXs_v4t.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-Bc1S_1ej-CYjFYdJ9.js → mapSpacerToTreeNode-Bc1S_1ej-D8Xyxewi.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-ClgcHX26-NiO57h1_.js → mapTimeframeBalancesToTreeNode-ClgcHX26-CH6aCNop.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-Cwp98PMa-D8SBCace.js → mapTimeframeBalancesToTreeNode-Cwp98PMa-D47kQKR9.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BmDRXfMV-2wcYi7O-.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BmDRXfMV-ExH9IzF0.js} +1 -1
- package/dist/assets/mui-8xKzSljO.js +17 -0
- package/dist/assets/page-detail-CWX5S47F-DjAUkIIu.js +1 -0
- package/dist/assets/radio-default-CiSgisfh-DioVIMbJ.js +1 -0
- package/dist/assets/{react-KsUvriAa.js → react-1fNkcXJk.js} +2 -2
- package/dist/assets/react-5bc96E7k.js +17 -0
- package/dist/assets/{react-PdDuKQQV.js → react-BpMq70Jz.js} +1 -1
- package/dist/assets/{react-BuuImry8.js → react-C26MaKuf.js} +1 -1
- package/dist/assets/{react-C5CamjHm.js → react-CQVfZdRf.js} +2 -2
- package/dist/assets/{react-B2Dtpj08.js → react-CvSzLYZW.js} +2 -2
- package/dist/assets/{react-D9gRIIQJ.js → react-DEufTa0Y.js} +2 -2
- package/dist/assets/{react-CurU10nF.js → react-euUD_2CS.js} +3 -3
- package/dist/assets/recharts-BnXj3KRI.js +73 -0
- package/dist/assets/sentry-C9BQzslk.js +515 -0
- package/dist/assets/shield-DOlUxcFf-DfgTXsyM.js +1 -0
- package/dist/assets/{toCOABalancesWithID--oEGymMJ-DR0b-mdX.js → toCOABalancesWithID--oEGymMJ-DkNt3ShR.js} +1 -1
- package/dist/assets/toChartData-CavJzP6f-MNPPYJmI.js +1 -0
- package/dist/assets/transaction-placeholder-CpOwZAMG-DvtWJS0D.js +1 -0
- package/dist/assets/{uploadAttachment-BuVCsq0Q-zKioks8R.js → uploadAttachment-BuVCsq0Q-S-SyFEfz.js} +7 -7
- package/dist/assets/{uploadReceipts-CPw64UYa-C0--mSOy.js → uploadReceipts-CPw64UYa-BH5K-sl5.js} +1 -1
- package/dist/assets/url-MazUlenF.js +1 -0
- package/dist/assets/{url-RUB1rBsd.js → url-WfClTpIP.js} +1 -1
- package/dist/assets/useLongPress-GCK2COYQ-DGIP6WpU.js +1 -0
- package/dist/assets/usp-line-BBd1wKwW-CVrOUZlu.js +1 -0
- package/dist/assets/{utils-DUsHM-Uc.js → utils-zYB6z_it.js} +19 -19
- package/dist/assets/{zeni-epic-state-CQt4n3Xe.js → zeni-epic-state-D9zDRHOK.js} +34 -34
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/ACHDetailsPage-B6sY0jN6-QcJjVZLW.js +0 -21
- package/dist/assets/AddAddressForCardDrawer-BuAtFO1w-DfK93MR3.js +0 -6
- package/dist/assets/CardNumberSubText-BYY-Inxd-BF9mueWC.js +0 -21
- package/dist/assets/ConfettiBurst-Cl6jHJ8H-CSCZc3Am.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-SmOFmXBW-BcjiZZxB.js +0 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-lNIP5gSu-DYmoezK0.js +0 -202
- package/dist/assets/DashboardSidebarBackgroundAnimation-B1mJObim-DmY76tPV.js +0 -12
- package/dist/assets/DepositAccTransactionListPage-B6px7upV-Cv-bpsAZ.js +0 -66
- package/dist/assets/DomesticWireDetailsPage-BFQJmzYm-Dc980arD.js +0 -21
- package/dist/assets/LabeledControlledCheckBoxField-CeMM7Ci3-LBs1AfJr.js +0 -16
- package/dist/assets/MagicLinkACHDetailsPage-CUHMKmcj-C1Uh1KWH.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Dnc7OzKQ-DlGiUpRU.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-sBpQkYwP-BJ6bmenf.js +0 -1
- package/dist/assets/MagicLinkTitleSection-FMRBLlRJ-Cd8bErwn.js +0 -17
- package/dist/assets/MailingDetailsSection-CiJ5JLA6-Cv8N5toW.js +0 -21
- package/dist/assets/Menu-wpP8R1br-C8t8BK70.js +0 -17
- package/dist/assets/NoDataChart-C5ZP32zB-DUId3_Lj.js +0 -26
- package/dist/assets/NoDataTable-BnBYE8p_-3MJZp5mC.js +0 -8
- package/dist/assets/Preview-D0lKYz6_.js +0 -1
- package/dist/assets/SetUpAccountSection-C1EnJv1V-xzskbN4f.js +0 -378
- package/dist/assets/SignInScreen-FZ4QwHzk.js +0 -1
- package/dist/assets/UploadAdditionalDocumentOverlay-COtszXUY-CEOzWsBe.js +0 -38
- package/dist/assets/Vendor2FAPopup-C85mhuSb-C6pzaZ31.js +0 -1
- package/dist/assets/VendorACHDetailsPage-DeexeWpV-CCXex94-.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-DBChSKlR-eyjP7Ln-.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CywCx8-0-C4ZxXJOV.js +0 -1
- package/dist/assets/VideoPlayer-BVR9LPmm-CvUJV07D.js +0 -78
- package/dist/assets/ZeniAccountNavBarPieces-DqLJVQ5t-C8FJNePa.js +0 -14
- package/dist/assets/ZeniTransferAmountSlider-1DS0MsTI-B25HwNSf.js +0 -63
- package/dist/assets/add-to-wallet-DgdBD8_G-DvwlYBb0.js +0 -1
- package/dist/assets/analyticsHelper-lfrGqA3D.js +0 -1
- package/dist/assets/arrow-south-east-round-PEovUgvH-D9klpzRU.js +0 -1
- package/dist/assets/auto-transfer-rule-mbafm5D3-CHCjFoIN.js +0 -1
- package/dist/assets/constants-B4Ak6U9p.js +0 -1
- package/dist/assets/core-CA3j8Axi.js +0 -77
- package/dist/assets/empty-CrPfQgao.js +0 -1
- package/dist/assets/empty-Dn000SHy.js +0 -1
- package/dist/assets/epic-C_I3d-Sx.js +0 -2
- package/dist/assets/gift-box-Cmt9OgIZ-eSACml6z.js +0 -1
- package/dist/assets/graphic-no-data-l-DU4J8fDt-BzIPOWHn.js +0 -1
- package/dist/assets/graphic-no-data-net-burn-l-CzmycA0m-CtBcTNoa.js +0 -1
- package/dist/assets/handshake-BPg58FML-DvA7MfJg.js +0 -1
- package/dist/assets/index-BWZriWwb.js +0 -1
- package/dist/assets/index-C-ypGNlB.js +0 -1
- package/dist/assets/index-C4-PHmb9.js +0 -1
- package/dist/assets/index-C5fdNIhc.js +0 -1
- package/dist/assets/lottie-B7mXQ-R-.js +0 -9
- package/dist/assets/mui-DpJXlk4t.js +0 -25
- package/dist/assets/page-detail-CWX5S47F-Byx36A1h.js +0 -1
- package/dist/assets/radio-default-CiSgisfh-HcY1qXLg.js +0 -1
- package/dist/assets/react-B7zczQTC.js +0 -17
- package/dist/assets/recharts-BGdJnVo5.js +0 -73
- package/dist/assets/sentry-BA4piVNf.js +0 -500
- package/dist/assets/shield-DOlUxcFf-DciCHlJY.js +0 -1
- package/dist/assets/toChartData-CavJzP6f-KkbBsImT.js +0 -1
- package/dist/assets/transaction-placeholder-CpOwZAMG-2yCTNaDx.js +0 -1
- package/dist/assets/url-Bq2XNMnM.js +0 -1
- package/dist/assets/useLongPress-GCK2COYQ-Ch-mrcwO.js +0 -1
- package/dist/assets/usp-line-BBd1wKwW-BZdA9pHf.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as oe,a8 as Oa,cB as Da,
|
|
1
|
+
import{q as oe,a8 as Oa,cB as Da,V as r,aM as je,jf as _a,bY as Ra,ab as za,aO as Ua,o as a,y as C,F as le,bv as Fa,b5 as Na,a as be,B as na,L as qa,D as Ea,p as ie,h as Ma,cf as ka,cO as fe,eh as Ba,c as d,bQ as Va,a$ as Z,cU as me,cY as oa,jg as Ha,jh as Wa,cV as Ga,d as Te,ji as Ie,cE as Ae,g7 as Oe,eX as xe,b as de,eT as he,g3 as ca,ag as De,aK as Xa,hn as Ya,al as Ja,hp as Za}from"./index-BGhFLU7w.js";import{a as E}from"./sentry-C9BQzslk.js";import{n as l}from"./mui-8xKzSljO.js";import{Y as ua}from"./LabeledUserSingleSelectWithSubtitlesField-UlGND56Y-DlTnDPsW.js";import{bd as Qa}from"./zeni-epic-state-D9zDRHOK.js";import{T as pa}from"./RoleWithToolTip-fC3byzzv-DvgcIN_v.js";import"./liveblocks-DjrSQGDL.js";import"./core-BCGhSsNP.js";import"./recharts-BnXj3KRI.js";import"./lottie-QlMyEFez.js";import"./analytics-D090O6Wm.js";import"./lexical-CtZYfzDm.js";import"./utils-zYB6z_it.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]="6653b348-c278-47ae-a6b9-424d69963093",e._sentryDebugIdIdentifier="sentry-dbid-6653b348-c278-47ae-a6b9-424d69963093")}catch{}})();const ge=e=>{const{common:i,spendManagement:{chargeCard:{issueCard:t}}}=le.getLocalizedStrings();switch(e){case"monthly":return t.frequencySubLabels.monthly;case"quarterly":return t.frequencySubLabels.quarterly;case"weekly":return t.frequencySubLabels.weekly;case"yearly":return t.frequencySubLabels.yearly;default:return i.strings.empty}},Ka=["creditCard","debitCard"],ke=e=>Qa(e,Ka),u=(e,i)=>`${e}.${i}`,{commonSetUp:{businessVerification:{addressPlaceholder:Be,customAddressPlaceholder:er}},spendManagement:{chargeCard:{issueCard:N}}}=le.getLocalizedStrings(),k={largeLabelWidth:new C(120,120,200),labelMarginRight:new C(d[3],d[4]),labelMarginBottom:new C(d[2],d[0]),infoLabelMarginTop:new C(d[1],d[0]),radioLabelPaddingLeftRight:new C(d[2],d[3]),radioLabelPaddingLeft:new C(d[0],d[3]),radioLabelPaddingRight:new C(10,d[3])},ar={infoLabel:new be("smallRegular","smallRegular")},rr="creditCard.physicalCard.amount",ir="creditCard.physicalCard.cardName",dr="creditCard.physicalCard.user",lr="creditCard.physicalCard.frequency",te="creditCard.physicalCard.addressType",tr=({lineData:e,issueCardSectionId:i,limit:t,creditLimitFrequency:m,activeChargeCardCount:v,allRoles:f,allAccountingClasses:_,companyAddress:b,customAddress:T,userAddress:A,userList:o,maxPhysicalChargeCardPerUser:S,openAddAddressDrawerHandler:g})=>{const s=oe(),q=Te(),{getValues:B}=fe(),$=k.largeLabelWidth.value(s),V=()=>{g(e.lineId,"creditCard")},c=(h,U)=>r.jsx(nr,{isOptionSelected:U,children:ge(h)}),n=e.creditCard.physicalCard.addressType,x=e.creditCard.physicalCard.amount,L=Ie(t.amount),I=x!=null&&x>t.amount,z=I?N.amountExceedError.replace("_amount_",L):void 0,j=e.creditCard.physicalCard.user,O=j.allUsers.find(h=>h.userId===j.selectedUser),G=O?.userId,Q=G!=null?A[G]:void 0,p=h=>{let U=v[h]?.physicalCardCount??0;return B().lineInfo.forEach(y=>{y.creditCard.cardType==="business_physical_credit_card"&&y.creditCard.physicalCard.user.selectedUser===h&&(U+=1)}),U>=S};return r.jsxs(r.Fragment,{children:[r.jsx(ua,{label:{label:N.cardholderLabel,width:$},userSingleSelectWithSubTitlesField:{name:u(i,dr),placeholderLabel:N.usersPlaceholder,value:{allUsers:o,selectedUser:e.creditCard.physicalCard.user.selectedUser},registerOptions:{required:!0,validate:h=>h?.selectedUser?.length>0},valueToSubtitle:h=>{const U=f.find(R=>R.userId===h),y=[];return U?.accountingClassIDs.forEach(R=>{const J=_.find(_e=>_e.classId===R);J!=null&&J.className&&y.push(J.className)}),y},additionalLabelInfo:N.additionalInfoPhysical,showOnlyAvatar:!0,showAvatarAndSubtitles:!1,isOptionDisabled:p,disabledOptionHint:N.cardLimitWarning,bigMarginRightForSmallScreens:!0,optionStyles:{maxHeight:a.sp10,minHeight:a.sp6,height:"max-content"}},style:{width:"100%",paddingLeft:k.labelMarginBottom.value(s)}}),r.jsx(we,{}),r.jsx(Ae,{label:{label:N.cardNameLabel,width:$},style:{width:"auto",paddingLeft:k.labelMarginBottom.value(s)},text:{type:"text",name:u(i,ir),defaultValue:e.creditCard.physicalCard.cardName,placeholder:N.cardNamePlaceholder,options:{required:!0,validate:h=>h!=null}}}),r.jsx(we,{}),r.jsx(Oe,{label:{label:N.amountLabel,width:$},showAdditionalInfoLabel:I,additionalInfoLabel:z,formattedTextField:{type:"number",name:u(i,rr),defaultValue:e.creditCard.physicalCard.amount,placeholder:N.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:h=>!!h&&h>0&&h<=t.amount},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},isFieldError:I,style:{width:"auto",paddingLeft:k.labelMarginBottom.value(s)}}),r.jsx(we,{}),r.jsx(xe,{isDisabled:"readonly",label:{label:N.frequencyLabel,width:$,style:{marginBottom:k.labelMarginBottom.valuePx(s),marginRight:k.labelMarginRight.valuePx(s)}},style:{width:"100%",paddingLeft:k.labelMarginBottom.valuePx(s)},infoLabelStyle:{...de.smallRegular.cssObject,textAlign:"right",paddingRight:a.sp3,marginTop:k.infoLabelMarginTop.valuePx(s),color:q.colors.hero},valueToAdditionalLabel:h=>ge(h),singleSelectPickerField:{name:u(i,lr),placeholder:N.frequencyPlaceholder,style:{position:"relative"},capitalizeOptions:!0,showSubLabelsInSingleValue:!1,defaultValue:{selectedOption:e.creditCard.physicalCard.frequency.selectedOption,allOptions:m.map(h=>({label:h.name,value:h.code}))},valueToSubLabels:(h,U)=>c(h,U),textAlignment:"right",registerOptions:{required:!0,validate:h=>h!=null&&!!h.selectedOption}}}),r.jsx(we,{}),r.jsxs(or,{windowSize:s,children:[r.jsxs(pr,{windowSize:s,children:[r.jsx(me,{label:N.address.shippingAddressLabel,htmlFor:u(i,te),style:{marginLeft:a.sp4,marginRight:k.labelMarginRight.valuePx(s),marginTop:a.sp2,width:s==="small"?"auto":$}}),r.jsx(cr,{windowSize:s,children:r.jsxs(hr,{isDisabled:O==null,children:[Q!=null&&r.jsx(Z,{isContainerClickable:!0,label:{label:N.address.personal},isDisabled:O==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeftRight.value(s),paddingRight:k.radioLabelPaddingRight.value(s),width:"fit-content"},radioField:{name:u(i,te),id:`${u(i,te)}.${N.address.personal}`,value:"card_holder_personal_address",radioSize:"small",registerOptions:{required:!0}}}),r.jsx(Z,{isContainerClickable:!0,label:{label:N.address.company},isDisabled:O==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeft.value(s),paddingRight:k.radioLabelPaddingRight.value(s),width:"fit-content"},radioField:{name:u(i,te),id:`${u(i,te)}.${N.address.company}`,value:"company_address",radioSize:"small",registerOptions:{required:!0}}}),r.jsx(Z,{isContainerClickable:!0,label:{label:N.address.custom},isDisabled:O==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeft.value(s),paddingRight:k.radioLabelPaddingLeftRight.value(s),width:"fit-content"},radioField:{name:u(i,te),id:`${u(i,te)}.${N.address.custom}`,value:"custom_address",radioSize:"small",registerOptions:{required:!0}}})]})})]}),r.jsx(ur,{windowSize:s,children:O?.user!=null&&n!=null&&r.jsx(sr,{children:n==="card_holder_personal_address"?r.jsxs(r.Fragment,{children:[r.jsx(he,{name:"personal_address_value_field",defaultValue:Q,isDisabled:"readonly",placeholder:Be,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1}}),r.jsx(Ve,{windowSize:s,children:N.address.personalAddressText.replace("_name_",O.user.firstName)})]}):n==="company_address"?r.jsx(he,{name:"company_address_value_field",defaultValue:b,isDisabled:"readonly",placeholder:Be,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1}}):r.jsxs(r.Fragment,{children:[r.jsx(he,{name:"custom_address_value_field",defaultValue:T[e.lineId],placeholder:er,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1},onClick:V}),r.jsx(Ve,{windowSize:s,children:N.address.customAddressText})]})})})]})]})},sr=l.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as
|
|
1
|
+
import{q as p,V as n,cU as u,y as o,eQ as h,c as t,a as f}from"./index-BGhFLU7w.js";import{n as r}from"./mui-8xKzSljO.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]="e291beb5-e58f-4d7b-887e-fe25dcc92bbe",e._sentryDebugIdIdentifier="sentry-dbid-e291beb5-e58f-4d7b-887e-fe25dcc92bbe")}catch{}})();const i={width:new o(343,580,726),height:new o(t[6],t[6]),controlMinHeight:new o(t[4],t[4]),paddingTopBottom:new o(t[2],t[2]),marginRight:new o(t[2],t[2]),labelMarginLeft:new o(t[3],t[4]),labelMarginRight:new o(t[3],t[4]),labelMarginTop:new o(t[2],t[2])},c={infoLabel:new f("extraSmallRegular","smallRegular")};function $({isDisabled:e,label:a,additionalInfoLabel:d,addressValue:s,isOptional:g,style:b}){const l=p();return n.jsxs(y,{size:l,style:b,isDisabled:e!=null,children:[n.jsxs(x,{children:[n.jsx(u,{isOptional:g,isDisabled:e,label:a.label,style:{marginLeft:i.labelMarginLeft.value(l),marginRight:i.labelMarginRight.value(l),marginTop:i.labelMarginTop.value(l),width:a.width??"auto"}}),n.jsx(h,{...s,isDisabled:e,style:{minHeight:i.controlMinHeight.value(l),paddingTop:i.paddingTopBottom.valuePx(l),paddingBottom:i.paddingTopBottom.valuePx(l),maxWidth:a.width!=null?`calc(100% - ${a.width}px)`:"auto",display:"flex",flexGrow:1,...s.style}})]}),d?n.jsx(m,{size:l,children:d}):null]})}const m=r.label`
|
|
2
2
|
color: ${e=>e.theme.colors.grey1};
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: row;
|
|
@@ -7,7 +7,7 @@ import{q as u,V as d,cU as h,y as o,eQ as c,c as t,a as f}from"./index-DDpxinoY.
|
|
|
7
7
|
padding-right: ${e=>i.marginRight.valuePx(e.size)};
|
|
8
8
|
padding-top: ${e=>i.paddingTopBottom.valuePx(e.size)};
|
|
9
9
|
padding-bottom: ${e=>i.paddingTopBottom.valuePx(e.size)};
|
|
10
|
-
${e=>`${
|
|
10
|
+
${e=>`${c.infoLabel.style(e.size)}`};
|
|
11
11
|
`,x=r.div`
|
|
12
12
|
display: flex;
|
|
13
13
|
flex-direction: row;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as x,cO as y,cW as w,
|
|
1
|
+
import{q as x,cO as y,cW as w,V as d,cU as v,y as o,eT as $,aM as T,F as M,p as g,c as i,a as z}from"./index-BGhFLU7w.js";import{n as s}from"./mui-8xKzSljO.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="82ea8e51-33c1-4539-b964-b8b4ec7438ad",e._sentryDebugIdIdentifier="sentry-dbid-82ea8e51-33c1-4539-b964-b8b4ec7438ad")}catch{}})();const t={width:new o(343,580,726),height:new o(i[6],i[6]),controlMinHeight:new o(i[4],i[4]),paddingTopBottom:new o(i[2],i[2]),marginRight:new o(i[2],i[2]),labelMarginLeft:new o(i[3],i[4]),labelMarginRight:new o(i[3],i[4]),labelMarginTop:new o(i[2],i[2])},D={infoLabel:new z("extraSmallRegular","smallRegular")},B=M.getLocalizedStrings();function H({isDisabled:e,label:l,addressValueField:r,additionalInfoLabel:h,showAdditionalInfoLabel:b=!1,style:p,hasHoverBorder:u,isOptional:f}){const a=x(),{formState:{errors:c}}=y(),n=w(c,r.name),m=n?h:B.commonSetUp.businessVerification.addressAdditionInfo;return d.jsxs(I,{size:a,style:p,isDisabled:e!=null,isError:n,hasHoverBorder:u??!0,"data-testid":T("labeled-address-value-field",r.name),children:[d.jsx(v,{isDisabled:e,isOptional:f,label:l.label,htmlFor:r.name,style:{marginLeft:t.labelMarginLeft.value(a),marginRight:t.labelMarginRight.value(a),marginTop:t.labelMarginTop.value(a),width:l.width??"auto"}}),d.jsxs(L,{labelWidth:l.width,children:[d.jsx($,{...r,isDisabled:e,style:{minHeight:t.controlMinHeight.value(a),paddingTop:t.paddingTopBottom.valuePx(a),paddingBottom:t.paddingTopBottom.valuePx(a),width:"-webkit-fill-available",display:"flex",flexGrow:1,...r.style}}),(b||n)&&d.jsx(R,{size:a,isError:n,children:m})]})]})}const I=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: flex-start;
|
|
@@ -39,7 +39,7 @@ import{q as x,cO as y,cW as w,F as v,V as d,aK as $,cU as T,y as o,eT as z,p as
|
|
|
39
39
|
`,R=s.label`
|
|
40
40
|
display: flex;
|
|
41
41
|
color: ${e=>e.isError?g.important:e.theme.colors.grey1};
|
|
42
|
-
${e=>`${
|
|
42
|
+
${e=>`${D.infoLabel.style(e.size)}`};
|
|
43
43
|
padding-right: 12px;
|
|
44
44
|
text-align: right;
|
|
45
45
|
`;export{H as W};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import{q as a,V as i,eE as o,cU as n,o as s,aM as r,y as b}from"./index-BGhFLU7w.js";import{c,n as f}from"./mui-8xKzSljO.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="d05d2037-4271-489c-b35d-4f905002f198",e._sentryDebugIdIdentifier="sentry-dbid-d05d2037-4271-489c-b35d-4f905002f198")}catch{}})();const y={width:new b(343,580,726)};function u({label:e,checkBoxField:l,style:d}){const t=a();return i.jsxs(h,{size:t,style:d,isDisabled:l.isDisabled,"data-testid":r(l.name,"labeled-check-box-field"),isSelected:l.defaultChecked??!1,children:[i.jsx(o,{...l,style:{...l.style}}),i.jsx(n,{isDisabled:l.isDisabled,label:e.label,labelStyle:e.style,htmlFor:l.name,style:{display:"flex",flex:1,minHeight:s.sp4,marginLeft:s.sp2,width:e.width,backgroundColor:"inherit",...e.style}})]})}const h=f.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
flex-direction: row;
|
|
5
|
+
width: ${e=>y.width.valuePx(e.size)};
|
|
6
|
+
min-height: ${s.sp4};
|
|
7
|
+
|
|
8
|
+
label {
|
|
9
|
+
color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.hero};
|
|
10
|
+
${e=>e.isDisabled==="disabled"&&c`
|
|
11
|
+
color: ${e.theme.colors.grey2};
|
|
12
|
+
`};
|
|
13
|
+
cursor: ${e=>e.isDisabled==="disabled"?"not-allowed":"pointer"};
|
|
14
|
+
pointer-events: ${e=>e.isDisabled==="disabled"||e.isDisabled==="readonly"?"none":"initial"};
|
|
15
|
+
}
|
|
16
|
+
`;export{u as x};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as H,cO as F,cW as R,V as t,
|
|
1
|
+
import{q as H,cO as F,cW as R,V as t,cU as B,y as x,aM as I,p as u,c as s,cX as q,o as i,a as G,d as X,F as Q,eO as U,M as Y,dh as A,cq as J,bF as S,cY as K,dI as Z,b as k,bD as ee,L as le}from"./index-BGhFLU7w.js";import{n as a}from"./mui-8xKzSljO.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="4a3c9c0b-1342-45a1-8c87-7d16e697a120",e._sentryDebugIdIdentifier="sentry-dbid-4a3c9c0b-1342-45a1-8c87-7d16e697a120")}catch{}})();const te=({allValues:e,selectedValue:r,name:o,onSelectedValueChanged:n,isDisabled:d,placeholder:h,isOptionRemovable:w=!0,addIconInCreateLabel:b,getLabelForId:m,tagProperties:f,hasError:j,style:c})=>{const y=X(),$=Se(e,m),O=Q.getLocalizedStrings().dropDowns,C=$.sort((l,p)=>l.label.localeCompare(p.label)),v=r!=null&&r?z(r,m):void 0,M={container:l=>({...l,width:"100%",...c}),menu:l=>({...l,backgroundColor:y.colors.grey5,borderRadius:i.sp1,boxShadow:`${i.sp0} 2px ${i.sp2} ${y.colors.dropShadowHover}`,border:`1px solid ${y.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${i.sp0} ${i.sp0} ${i.sp0}`,overflow:"hidden"}),menuList:l=>({...l,borderRadius:i.sp1}),input:(l,{selectProps:p})=>({...l,":after":{width:p.inputValue.length>0?i.sp0:"unset"}})},P=l=>t.jsxs(fe,{children:[t.jsx(me,{children:t.jsx(K,{fill:"currentColor",height:i.sp3,width:i.sp3})}),t.jsx(xe,{children:`${O.createOption} "${l}"`})]}),E=l=>{const{menuIsOpen:p,isFocused:D,isDisabled:L,selectProps:_}=l,{value:N}=_;return t.jsx(se,{menuIsOpen:p,isFocused:D,isDisabled:L,selectedValue:N,hasError:j,"data-testid":I("creatable-single-select-control",o),children:t.jsx(S.Control,{...l,className:"select-control",children:l.children})})},T=l=>t.jsx($e,{children:t.jsxs(S.SingleValue,{...l,children:[l.selectProps.menuIsOpen===!1&&f!=null&&f.isTagShownForOption(l.data.value)===!0&&t.jsx(we,{children:t.jsx(ye,{style:f.style,children:f.tagName})}),l.children]})}),W=l=>{const{selectProps:p}=l,{placeholder:D,value:L}=p;return t.jsx(S.Input,{...l,autoComplete:"new-password",placeholder:L==null?D:void 0,"data-testid":I("creatable-single-select-input",o),children:l.children})};return t.jsx(U,{isMulti:!1,onCreateOption:l=>{const p=Y(l);n(p)},onChange:l=>{w!==!1&&l?.value!=null&&v?.value===l.value?n(void 0):n(l?.value)},formatCreateLabel:l=>b===!0?P(l):`${O.otherOption} ${l}`,tabSelectsValue:!1,openMenuOnFocus:!0,"data-testid":I("creatable-single-select",o),classNamePrefix:"creatable-single-select-field",createOptionPosition:"last",allowCreateWhileLoading:!0,controlShouldRenderValue:!0,placeholder:h,menuPlacement:"auto",maxMenuHeight:288,defaultValue:v,value:v,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:E,Option:ae,Input:W,SingleValue:T,ValueContainer:ie,DropdownIndicator:ve,IndicatorSeparator:Ie,ClearIndicator:je,Placeholder:oe,MenuList:re},hideSelectedOptions:!1,styles:M,options:C,isClearable:!0,isSearchable:!0,isDisabled:d!=null},A())},ie=e=>t.jsx(S.ValueContainer,{...e,className:"select-value-container",children:e.children}),re=e=>{const{options:r,children:o,maxHeight:n,getValue:d}=e,[h]=d(),w=r.indexOf(h)*40;return t.jsx(J,{height:o.length>7?n:o.length*40,width:"100%",itemCount:o.length,itemSize:()=>40,initialScrollOffset:w,children:({index:b,style:m})=>t.jsx(pe,{style:m,children:o[b]})})},oe=()=>null,ae=e=>{const{isSelected:r,isDisabled:o,isFocused:n,data:d}=e,h=typeof d.label=="string"?d.label:d.value;return t.jsx(ne,{isFocused:n,isSelected:r,isDisabled:o,children:t.jsx(S.Option,{...e,className:"select-option",children:t.jsxs(de,{"data-testid":I("creatable-single-select-option",h),children:[t.jsx(he,{children:t.jsx(ce,{isSelected:r,isDisabled:o,children:e.label})}),r?t.jsxs(ue,{children:[t.jsx(ge,{className:"right-tick-icon"}),t.jsx(be,{className:"close-tick-icon"})]}):null]})})})},se=a.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
background-color: ${e=>e.theme.colors.grey5};
|
|
4
4
|
cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
|
|
@@ -153,7 +153,7 @@ import{q as H,cO as F,cW as R,V as t,aK as I,cU as B,y as x,p as u,c as s,cX as
|
|
|
153
153
|
justify-content: inherit;
|
|
154
154
|
align-items: center;
|
|
155
155
|
width: 100%;
|
|
156
|
-
`,ve=()=>null,Ie=()=>null,je=()=>null,Se=(e,r)=>e.map(o=>z(o,r)),z=(e,r)=>({value:e,label:r!==void 0?r(e):e}),Oe=({name:e,registerOptions:r,defaultValue:o,placeholder:n,isDisabled:d,style:h,addIconInCreateLabel:w,isOptionRemovable:b,tagProperties:m,onSelectChange:f,getLabelForId:j})=>{const{control:c,formState:{errors:y}}=F(),$=R(y,e??"");return t.jsx(
|
|
156
|
+
`,ve=()=>null,Ie=()=>null,je=()=>null,Se=(e,r)=>e.map(o=>z(o,r)),z=(e,r)=>({value:e,label:r!==void 0?r(e):e}),Oe=({name:e,registerOptions:r,defaultValue:o,placeholder:n,isDisabled:d,style:h,addIconInCreateLabel:w,isOptionRemovable:b,tagProperties:m,onSelectChange:f,getLabelForId:j})=>{const{control:c,formState:{errors:y}}=F(),$=R(y,e??"");return t.jsx(q,{name:e,control:c,defaultValue:o,"data-testid":I("creatable-single-select-field",e),rules:r,render:({field:{value:O,onChange:C}})=>t.jsx(t.Fragment,{children:t.jsx(te,{onSelectedValueChanged:v=>{f?.(v??""),C({allOptions:o.allOptions,selectedOption:v})},placeholder:n,style:h,isDisabled:d,selectedValue:O.selectedOption,allValues:o.allOptions,addIconInCreateLabel:w,isOptionRemovable:b,getLabelForId:j,tagProperties:m,hasError:$,name:e})})})},g={width:new x(343,580,726),height:new x(s[6],s[6]),controlHeight:new x(s[6],s[6]),paddingTopBottom:new x(s[2],s[2]),marginRight:new x(s[2],s[2]),labelMarginLeft:new x(s[3],s[4]),labelMarginRight:new x(s[3],s[4]),labelMarginTop:new x(s[2],s[2])},Ce={infoLabel:new G("extraSmallRegular","smallRegular")};function Fe({isDisabled:e,label:r,creatableSingleSelectField:o,style:n,additionalInfoLabel:d,errorInfoLabel:h,isOptionRemovable:w,addIconInCreateLabel:b,additionalInfoTextColor:m,onSelectChange:f,getLabelForId:j}){const c=H(),{formState:{errors:y}}=F(),$=R(y,o.name??"");return t.jsxs(De,{size:c,style:n,isDisabled:e!=null,hasError:$,"data-testid":I("labeled-creatable-single-select-field",o.name),children:[t.jsx(B,{isDisabled:e,label:r.label,htmlFor:o.name,style:{marginLeft:g.labelMarginLeft.value(c),marginRight:g.labelMarginRight.value(c),marginTop:g.labelMarginTop.value(c),width:r.width??"auto"}}),t.jsxs(Le,{labelWidth:r.width,children:[t.jsx(Oe,{...o,isDisabled:e,style:{display:"flex",flexGrow:1,maxWidth:r.width!==null&&b===!1?`calc(100% - ${r.width}px)`:"auto",height:g.controlHeight.value(c)},onSelectChange:f,isOptionRemovable:w,addIconInCreateLabel:b,getLabelForId:j}),t.jsx(V,{size:c,additionalInfoTextColor:m,children:d}),$&&t.jsx(V,{size:c,hasError:$,children:h})]})]})}const De=a.div`
|
|
157
157
|
display: flex;
|
|
158
158
|
flex-direction: row;
|
|
159
159
|
align-items: flex-start;
|
|
@@ -189,7 +189,7 @@ import{q as H,cO as F,cW as R,V as t,aK as I,cU as B,y as x,p as u,c as s,cX as
|
|
|
189
189
|
background-color: ${e=>e.isDisabled?e.theme.colors.grey5:e.hasError===!0?u.importantLight:e.theme.colors.background};
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
|
-
`,
|
|
192
|
+
`,Le=a.div`
|
|
193
193
|
display: flex;
|
|
194
194
|
width: ${e=>e.labelWidth!=null?`calc(100% - ${e.labelWidth}px)`:"auto"};
|
|
195
195
|
justify-content: flex-end;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as C,cO as U,cW as c,V as r,
|
|
1
|
+
import{q as C,cO as U,cW as c,V as r,cU as j,y as a,eP as O,F as k,aM as N,c as i,o,p as _,a as A}from"./index-BGhFLU7w.js";import{n as d}from"./mui-8xKzSljO.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="4caf1589-9ee4-4439-8e7f-f76c271423c8",e._sentryDebugIdIdentifier="sentry-dbid-4caf1589-9ee4-4439-8e7f-f76c271423c8")}catch{}})();const t={width:new a(343,580,726),height:new a(i[6],i[6]),paddingTopBottom:new a(i[2],i[2]),marginRight:new a(i[2],i[2]),labelMarginLeft:new a(i[3],i[4]),labelMarginRight:new a(i[3],i[4]),labelMarginTop:new a(i[2],i[2])},V={infoLabel:new A("extraSmallRegular","smallRegular")};function H({label:e,isDisabled:l,isOptional:p,style:u,file:h,name:n,registerOptions:f,additionalInfoLabel:b,acceptableTypes:y,sizeLimit:w,filemetadataPayload:x,deleteFileStatusById:$,updateFileStatusById:z,filesEndPoint:P,authParams:F,hasError:E=!1,placeholderText:I,showPhotoPicker:S,useMobileCam:v,showUploadSuccessAnimation:D,showWebCamPopUpCloseIcon:T,updateFilesEntity:M,onDeleteFile:L,onEditFileName:R,onFileSizeError:B}){const s=C(),{formState:{errors:m}}=U(),g=c(m,n),W=c(m,`${n}.fileName`);return r.jsxs(q,{size:s,style:u,isDisabled:l!=null,"data-testid":N("document-field",n),children:[r.jsx(j,{isDisabled:l,label:e.label,isOptional:p,style:{marginLeft:t.labelMarginLeft.value(s),marginRight:t.labelMarginRight.value(s),marginTop:t.labelMarginTop.value(s),width:e.width??"auto",...e.style}}),r.jsxs(G,{labelWidth:e.width,size:s,children:[r.jsx(O,{name:n,filesEndPoint:P,authParams:F,registerOptions:f,file:h,sizeLimit:w,acceptableTypes:y,isDisabled:l==="disabled"||l==="readonly",filemetadataPayload:x,deleteFileStatusById:$,updateFileStatusById:z,hasError:E,updateFilesEntity:M,onFileSizeError:B,onDeleteFile:L,onEditFileName:R,placeholderText:I,showPhotoPicker:S,useMobileCam:v,showWebCamPopUpCloseIcon:T,showUploadSuccessAnimation:D}),g&&r.jsx(J,{size:s,isError:g,children:W&&h!=null?k.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:b})]})]})}const q=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: ${e=>e.size==="small"?"column":"row"};
|
|
4
4
|
align-items: flex-start;
|
|
@@ -24,7 +24,7 @@ import{q as C,cO as U,cW as c,V as r,aK as j,cU as O,y as a,eP as k,F as N,c as
|
|
|
24
24
|
outline: 1px solid
|
|
25
25
|
${e=>e.isDisabled===!0?e.theme.colors.grey3:e.theme.colors.primary};
|
|
26
26
|
}
|
|
27
|
-
`,
|
|
27
|
+
`,G=d.div`
|
|
28
28
|
display: flex;
|
|
29
29
|
flex-direction: column;
|
|
30
30
|
width: ${e=>e.size==="small"?"100%":e.labelWidth!=null?`calc(100% - ${e.labelWidth}px)`:"auto"};
|
|
@@ -32,7 +32,7 @@ import{q as C,cO as U,cW as c,V as r,aK as j,cU as O,y as a,eP as k,F as N,c as
|
|
|
32
32
|
box-sizing: ${e=>e.size==="small"?"border-box":"inherit"};
|
|
33
33
|
align-items: flex-end;
|
|
34
34
|
flex-grow: 1;
|
|
35
|
-
`,
|
|
35
|
+
`,J=d.label`
|
|
36
36
|
display: flex;
|
|
37
37
|
color: ${e=>e.isError?_.important:e.theme.colors.grey1};
|
|
38
38
|
${e=>`${V.infoLabel.style(e.size)}`};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as C,d as T,cO as h,cW as R,V as r,o,cX as O,bO as _,b as q,gb as M,p as s,a as P,
|
|
1
|
+
import{q as C,d as T,cO as h,cW as R,V as r,o,cX as O,bO as _,b as q,gb as M,p as s,a as P,bD as U}from"./index-BGhFLU7w.js";import{n as i}from"./mui-8xKzSljO.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]="677852d3-e441-47de-a404-87dddea33dbf",e._sentryDebugIdIdentifier="sentry-dbid-677852d3-e441-47de-a404-87dddea33dbf")}catch{}})();const A={infoLabel:new P("extraSmallRegular","smallRegular")};function K({isDisabled:e,label:a,formattedText:t,dropdownStyle:f,style:m,additionalInfoLabel:y,showAdditionalInfoLabel:x=!0,isSaveError:n=!1,showTickIcon:w,showErrorInfoLabel:$,errorInfoLabel:D,registerOptions:L,defaultValue:p,isSelectDisabled:k,menuPlacement:v,name:j,placeholderLabel:E}){const d=C(),g=T(),{formState:{errors:S}}=h(),c=R(S,t.name),{control:I}=h(),z=l=>typeof l=="string"?l.toLocaleUpperCase():l.toString().toLocaleUpperCase();return r.jsxs(F,{size:d,style:m,isDisabled:e!=null,isError:c||n,children:[r.jsx(G,{windowSize:d,style:{width:a?.width??"auto",marginRight:o.sp2},children:r.jsx(H,{style:{width:"auto",...f},children:r.jsx(O,{name:j,control:I,defaultValue:p.dropDownValue,rules:L,render:({field:{value:l,onChange:V}})=>r.jsx(_,{pickerValues:p.dropDownList.map(u=>u.code),valueToLabel:z,selectedValue:l??void 0,isDisabled:e!=null||k,onPickerSelectionChanged:u=>{V(u)},menuPlacement:v,titleTextStyle:q.standardRegular,titleColor:g.colors.hero,valueOpacity:1,backgroundColor:g.colors.grey5,placeholder:E})})})}),r.jsxs(W,{children:[r.jsx(M,{...t,style:t.style,isDisabled:t.isDisabled,isMasked:!0}),(x||c||n)&&r.jsxs(b,{size:d,isError:c||n,children:[w===!0?r.jsx(X,{children:r.jsx(B,{})}):null,y]}),$===!0&&r.jsx(b,{size:d,isError:!0,children:D})]})]})}const F=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as
|
|
1
|
+
import{q as f,V as n,cU as p,y as l,aM as g,c as t,o as a,ak as u,a as c}from"./index-BGhFLU7w.js";import{n as r}from"./mui-8xKzSljO.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="b01c7d8e-8c62-4538-a387-d4ff264d0127",e._sentryDebugIdIdentifier="sentry-dbid-b01c7d8e-8c62-4538-a387-d4ff264d0127")}catch{}})();const i={width:new l(343,580,726),height:new l(t[6],t[6]),paddingTopBottom:new l(t[2],t[2]),marginRight:new l(t[2],t[2]),labelMarginLeft:new l(t[3],t[4]),labelMarginRight:new l(t[3],t[4]),labelMarginTop:new l(t[2],t[2])},y={infoLabel:new c("extraSmallRegular","smallRegular")};function z({label:e,value:o,additionalInfoLabel:s,style:h,infoLabelStyle:b}){const d=f();return n.jsxs(m,{size:d,style:h,"data-testid":g("labeled-text",e.label),children:[n.jsx(p,{label:e.label,style:{marginLeft:i.labelMarginLeft.value(d),marginRight:i.labelMarginRight.value(d),marginTop:i.labelMarginTop.value(d),width:e.width??"auto"}}),n.jsxs(x,{labelWidth:e.width,children:[n.jsx(w,{"data-testid":g("labeled-text-input",e.label),children:o}),s!=null?n.jsx($,{size:d,style:b,children:s}):null]})]})}const m=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: flex-start;
|
|
@@ -39,4 +39,4 @@ import{q as p,V as n,aK as g,cU as f,y as l,c as t,o as a,ak as u,a as c}from"./
|
|
|
39
39
|
${e=>`${y.infoLabel.style(e.size)}`};
|
|
40
40
|
padding-right: ${a.sp3};
|
|
41
41
|
text-align: right;
|
|
42
|
-
`;export{
|
|
42
|
+
`;export{z as S};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as U,V as l,
|
|
1
|
+
import{q as U,V as l,cU as me,o as s,y as I,aM as Z,c as m,cO as J,cX as ge,cW as fe,d as be,fW as xe,F,a as we,bF as _,fX as K,ao as H,fY as q,bD as Y,p as E,b as B,ak as Q,fZ as $e,al as ye,ag as ve}from"./index-BGhFLU7w.js";import{n as r}from"./mui-8xKzSljO.js";import{T as je}from"./RoleWithToolTip-fC3byzzv-DvgcIN_v.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]="9b54ba7c-6f00-4724-86c4-e4e08be080d0",e._sentryDebugIdIdentifier="sentry-dbid-9b54ba7c-6f00-4724-86c4-e4e08be080d0")}catch{}})();const ee={selectContainerMarginHorizontal:new I(m[2],m[3]),marginTop:new I(m[1],m[0])},Se=r(ye)`
|
|
2
2
|
display: flex;
|
|
3
3
|
gap: ${s.sp2};
|
|
4
4
|
align-items: center;
|
|
@@ -66,12 +66,12 @@ import{q as U,V as l,aK as X,cU as me,o as s,y as I,c as m,cO as Z,cX as ge,cW a
|
|
|
66
66
|
white-space: nowrap;
|
|
67
67
|
overflow: hidden;
|
|
68
68
|
text-overflow: ellipsis;
|
|
69
|
-
`,
|
|
69
|
+
`,Fe=r.div`
|
|
70
70
|
display: flex;
|
|
71
71
|
align-items: center;
|
|
72
|
-
color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?
|
|
72
|
+
color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?E.important:e.theme.colors.grey1};
|
|
73
73
|
fill: ${e=>e.theme.colors.grey1};
|
|
74
|
-
`,
|
|
74
|
+
`,Re=r(ve)`
|
|
75
75
|
color: ${e=>e.hasSelectedUser?e.theme.colors.primary:e.theme.colors.hero};
|
|
76
76
|
margin-left: -10px;
|
|
77
77
|
margin-right: -10px;
|
|
@@ -89,21 +89,21 @@ import{q as U,V as l,aK as X,cU as me,o as s,y as I,c as m,cO as Z,cX as ge,cW a
|
|
|
89
89
|
box-sizing: border-box;
|
|
90
90
|
align-items: center;
|
|
91
91
|
justify-content: space-between;
|
|
92
|
-
`,
|
|
92
|
+
`,Ee=r(N)`
|
|
93
93
|
align-items: center;
|
|
94
94
|
gap: ${s.sp2};
|
|
95
|
-
`,
|
|
95
|
+
`,R=r.div`
|
|
96
96
|
overflow: hidden;
|
|
97
97
|
text-overflow: ellipsis;
|
|
98
98
|
white-space: nowrap;
|
|
99
|
-
`,
|
|
99
|
+
`,G=r.div``,Me=r.div`
|
|
100
100
|
width: 100%;
|
|
101
101
|
background-color: ${e=>e.theme.colors.grey5};
|
|
102
102
|
cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
|
|
103
103
|
.select-control {
|
|
104
104
|
border: none;
|
|
105
105
|
height: 100%;
|
|
106
|
-
background-color: ${e=>e.menuIsOpen&&e.isValuePlacedAtEnd===!0?e.theme.colors.background:e.isError===!0?
|
|
106
|
+
background-color: ${e=>e.menuIsOpen&&e.isValuePlacedAtEnd===!0?e.theme.colors.background:e.isError===!0?E.importantLight:e.theme.colors.grey5};
|
|
107
107
|
box-shadow: none;
|
|
108
108
|
border-radius: ${s.sp1};
|
|
109
109
|
&:hover {
|
|
@@ -133,7 +133,7 @@ import{q as U,V as l,aK as X,cU as me,o as s,y as I,c as m,cO as Z,cX as ge,cW a
|
|
|
133
133
|
border-radius: ${s.sp0};
|
|
134
134
|
margin: ${s.sp0};
|
|
135
135
|
color: ${e=>e.theme.colors.primary};
|
|
136
|
-
${
|
|
136
|
+
${B.standardRegular.css};
|
|
137
137
|
box-sizing: border-box;
|
|
138
138
|
overflow: hidden;
|
|
139
139
|
text-overflow: ellipsis;
|
|
@@ -145,7 +145,7 @@ import{q as U,V as l,aK as X,cU as me,o as s,y as I,c as m,cO as Z,cX as ge,cW a
|
|
|
145
145
|
display: flex;
|
|
146
146
|
width: ${e=>e.menuIsOpen===!1?s.sp0:"100%"};
|
|
147
147
|
position: ${e=>e.isFocused===!1&&e.selectedValue==null?"initial":"absolute"};
|
|
148
|
-
${
|
|
148
|
+
${B.standardRegular.css};
|
|
149
149
|
color: ${e=>e.theme.colors.primary};
|
|
150
150
|
margin: ${s.sp0};
|
|
151
151
|
cursor: inherit;
|
|
@@ -159,7 +159,7 @@ import{q as U,V as l,aK as X,cU as me,o as s,y as I,c as m,cO as Z,cX as ge,cW a
|
|
|
159
159
|
visibility: visible;
|
|
160
160
|
}
|
|
161
161
|
::placeholder {
|
|
162
|
-
color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?
|
|
162
|
+
color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?E.important:e.theme.colors.grey1};
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
165
|
}
|
|
@@ -168,11 +168,11 @@ import{q as U,V as l,aK as X,cU as me,o as s,y as I,c as m,cO as Z,cX as ge,cW a
|
|
|
168
168
|
width: ${e=>e.windowSize==="small"?"max-content":"100%"};
|
|
169
169
|
display: flex;
|
|
170
170
|
flex-direction: column;
|
|
171
|
-
`,Ne=r(
|
|
171
|
+
`,Ne=r(K)`
|
|
172
172
|
width: ${s.sp5};
|
|
173
173
|
height: ${s.sp5};
|
|
174
174
|
color: ${e=>e.theme.colors.hero};
|
|
175
|
-
`,
|
|
175
|
+
`,X=r($e)`
|
|
176
176
|
color: ${e=>e.theme.colors.alert};
|
|
177
177
|
text-transform: none;
|
|
178
178
|
border: 1px solid ${e=>e.theme.colors.alert};
|
|
@@ -180,16 +180,16 @@ import{q as U,V as l,aK as X,cU as me,o as s,y as I,c as m,cO as Z,cX as ge,cW a
|
|
|
180
180
|
border-radius: ${s.sp1};
|
|
181
181
|
margin-top: ${({windowSize:e})=>ee.marginTop.valuePx(e)};
|
|
182
182
|
width: fit-content;
|
|
183
|
-
`;function We({allUsers:e,selectedValue:a,showOneOffLabel:o,placeholder:g,isOptionRemovable:v,valueToSubtitle:x,onSelectionChanged:w,name:j,userContainerStyles:
|
|
183
|
+
`;function We({allUsers:e,selectedValue:a,showOneOffLabel:o,placeholder:g,isOptionRemovable:v,valueToSubtitle:x,onSelectionChanged:w,name:j,userContainerStyles:f,optionStyles:A,isValuePlacedAtEnd:D=!0,isDisabled:P,showOnlyAvatar:C=!1,showAvatarAndSubtitles:S=!0,isOptionDisabled:L,disabledOptionHint:$,bigMarginRightForSmallScreens:T=!1}){const{formState:{errors:V}}=J(),z=fe(V,j??""),c=U(),O=[];o!=null&&O.push(o.value),O.push(...e.map(t=>t.userId));const le=t=>{if(o!=null&&o.value===t)return o.label;const i=e.findIndex(n=>n.userId===t);if(i!==-1){const n=e[i];return n.user?.firstName||n.user?.lastName?`${n.user?.firstName} ${n.user?.lastName}`:`${n.user?.email}`}else return""},se=t=>{const i=e.findIndex(n=>n.userId===t);if(i!==-1)return e[i].user},te=t=>{const{menuIsOpen:i,children:n}=t;return l.jsx(Fe,{menuIsOpen:i,isError:z,children:l.jsx(Ce,{children:n})})},re=({labelDetails:t})=>l.jsxs(Re,{hasSelectedUser:a===t.value,children:[l.jsxs(Ee,{children:[l.jsx(Ne,{}),l.jsx(G,{children:l.jsx(R,{children:t.label})})]}),a===t.value?l.jsx(l.Fragment,{children:l.jsx(Y,{width:s.sp3,height:s.sp3})}):null]}),ie=t=>{const{children:i,data:n,selectProps:u}=t,{menuIsOpen:h}=u;if(o!=null&&n?.value===o.value)return l.jsxs(N,{children:[S||C?l.jsx(K,{style:{height:s.sp4,width:s.sp4}}):null,l.jsx(Ve,{children:o.label})]});const d=e.findIndex(y=>y.userId===n.value),p=e[d],b=x(n.value);return l.jsxs(Pe,{children:[l.jsxs(Te,{menuIsOpen:h,children:[S||C?l.jsx(l.Fragment,{children:p?.user?.photo!=null?l.jsx(Ae,{src:p?.user?.photo.href,alt:F.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:y})=>{y.onerror=null,y.src=H},loading:"lazy"}):l.jsx(q,{firstName:p?.user?.firstName??"",lastName:p?.user?.lastName??"",size:`${s.sp4}`,index:d})}):null,l.jsx(R,{children:i})]}),S?l.jsx(W,{subtitleList:b,menuIsOpen:u.menuIsOpen,member:p}):null]})},W=({subtitleList:t,member:i,menuIsOpen:n})=>{const u=t.length;return l.jsxs(Se,{menuIsOpen:n,children:[i!=null?l.jsx(je,{roles:i?.userRole.userRoles}):null,i!=null&&u>0?l.jsx(Ie,{}):null,u>0?t.map((h,d)=>l.jsx(Oe,{children:h},`${h}${d}`)):null]})},oe=t=>{const{data:i,isSelected:n,selectProps:u,value:h}=t,d=!!L?.(h)&&n===!1;if(o!=null&&i?.value===o.value)return l.jsx(re,{labelDetails:o});const p=e.findIndex(k=>k.userId===i.value),b=e[p],y=x(i.value);return l.jsxs(De,{style:A,children:[l.jsxs(Le,{isCurrOptionDisabled:d,children:[l.jsx(ze,{children:b?.user?.photo!=null?l.jsx(ke,{src:b?.user?.photo.href,alt:F.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:k})=>{k.onerror=null,k.src=H},loading:"lazy"}):l.jsx(q,{firstName:b?.user?.firstName??"",lastName:b?.user?.lastName??"",size:`${s.sp5}`,index:p})}),l.jsxs(G,{children:[l.jsx(R,{children:t.label}),l.jsx(W,{menuIsOpen:u.menuIsOpen,subtitleList:y,member:b}),c==="small"&&d&&$!=null?l.jsx(X,{windowSize:c,children:$}):null]})]}),!!n&&l.jsx(l.Fragment,{children:l.jsx(Y,{width:s.sp3,height:s.sp3})}),c!=="small"&&d&&$!=null?l.jsx(X,{windowSize:c,children:$}):null]})},ne=t=>{w(t)},ae=()=>null,de=t=>{const{menuIsOpen:i,isFocused:n,isDisabled:u,selectProps:h}=t,{value:d}=h;return l.jsx(Me,{menuIsOpen:i,isFocused:n,isDisabled:u,selectedValue:d,isError:z,isValuePlacedAtEnd:D,windowSize:c,bigMarginRightForSmallScreens:T,children:l.jsx(_.Control,{...t,className:"select-control",children:t.children})})},ce=t=>l.jsx(_.ValueContainer,{...t,className:"select-value-container",children:t.children}),ue=t=>l.jsx(Ue,{windowSize:c,children:t.children}),he=(t,i)=>i&&typeof t.label=="string"?t.label.toLowerCase().includes(i.toLowerCase())||t.data?.data?.email?.toLowerCase().includes(i.toLowerCase()):!0,pe=be();return l.jsx(xe,{placeholder:g??F.getLocalizedStrings().commonSetUp.approval.userSelectPlaceholder,selectedValue:a,pickerValues:O,valueToLabel:le,valueToData:se,backgroundColor:pe.colors.background,onPickerSelectionChanged:ne,OptionComponent:oe,PlaceholderComponent:te,SingleValueComponent:ie,isOptionRemovable:v,containerStyles:f,DropDownIndicatorComponent:ae,ControlComponent:de,classNamePrefix:"single-select-field",ValueContainerComponent:ce,MenuListComponent:ue,menuPosition:c==="small"?"right":"left",isSearchable:!0,isDisabled:P,isOptionDisabled:t=>L?.(t)===!0&&a!==t,filterOption:he})}const _e={infoLabel:new we("smallRegular","smallRegular")},He=({name:e,placeholderLabel:a,registerOptions:o,value:g,valueToSubtitle:v,showOneOffLabel:x,userContainerStyles:w,optionStyles:j,isValuePlacedAtEnd:f,isDisabled:A,additionalLabelInfo:D,isOptionDisabled:P,showOnlyAvatar:C=!1,showAvatarAndSubtitles:S=!0,disabledOptionHint:L,bigMarginRightForSmallScreens:$=!1})=>{const{control:T}=J(),V=U();return l.jsx(ge,{name:e,control:T,defaultValue:g,rules:o,render:({field:{value:z,onChange:c}})=>l.jsxs(qe,{width:w?.width,"data-testid":Z("user-single-select",e),children:[l.jsx(We,{onSelectionChanged:O=>{c({allUsers:g.allUsers,selectedUser:O})},selectedValue:z.selectedUser,valueToSubtitle:v,allUsers:g.allUsers,placeholder:a,name:e,showOneOffLabel:x,userContainerStyles:w,isValuePlacedAtEnd:f,isDisabled:A,isOptionDisabled:P,showAvatarAndSubtitles:S,showOnlyAvatar:C,disabledOptionHint:L,bigMarginRightForSmallScreens:$,optionStyles:j}),D!==null&&l.jsx(Ye,{size:V,children:D})]})})},qe=r.div`
|
|
184
184
|
display: flex;
|
|
185
185
|
flex-direction: column;
|
|
186
186
|
width: ${e=>e.width!=null?e.width:"auto"};
|
|
187
|
-
`,
|
|
187
|
+
`,Ye=r.label`
|
|
188
188
|
color: ${e=>e.theme.colors.hero};
|
|
189
189
|
${e=>`${_e.infoLabel.style(e.size)}`};
|
|
190
190
|
text-align: right;
|
|
191
191
|
padding-right: ${s.sp3};
|
|
192
|
-
`,M={width:new I(343,580,726),labelMarginLeft:new I(m[3],m[4]),labelMarginRight:new I(m[3],m[4])};function
|
|
192
|
+
`,M={width:new I(343,580,726),labelMarginLeft:new I(m[3],m[4]),labelMarginRight:new I(m[3],m[4])};function Je({isDisabled:e,label:a,userSingleSelectWithSubTitlesField:o,style:g,showTooltip:v=!1,tooltipTitle:x,toolTipWidth:w,opacity:j=1}){const f=U();return l.jsxs(Be,{size:f,style:g,isDisabled:e!=null,opacity:j,"data-testid":Z("labeled-user-single-select",o.name),children:[l.jsx(me,{isDisabled:e,label:a.label,htmlFor:o.name,style:{marginLeft:M.labelMarginLeft.value(f),marginRight:M.labelMarginRight.value(f),marginTop:s.sp2,width:a.width??"auto"},showTooltip:v,tooltipTitle:x,toolTipWidth:w}),l.jsx(He,{...o,isDisabled:e,userContainerStyles:{display:"flex",flexGrow:1,...o.showOnlyAvatar===!1&&{minWidth:"unset",maxWidth:"unset"},width:a.width!=null?`calc(100% - ${a.width}px)`:"auto",height:o.value.selectedUser==null||o.value.selectedUser!=null&&o.showOnlyAvatar===!0?s.sp6:s.sp9}})]})}const Be=r.div`
|
|
193
193
|
display: flex;
|
|
194
194
|
flex-direction: row;
|
|
195
195
|
align-items: flex-start;
|
|
@@ -226,4 +226,4 @@ import{q as U,V as l,aK as X,cU as me,o as s,y as I,c as m,cO as Z,cX as ge,cW a
|
|
|
226
226
|
background-color: ${e=>e.isDisabled?e.theme.colors.grey5:e.theme.colors.background};
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
|
-
`;export{
|
|
229
|
+
`;export{Je as Y};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as M,V as l,
|
|
1
|
+
import{q as M,V as l,cU as J,y as m,o,aM as H,c as n,cO as E,cX as q,cW as Q,d as X,b as V,bE as ie,F as te,fT as se,f_ as ae,aG as ne,a$ as de,bF as B,b8 as ce,bD as pe,cy as ue,p as D,f$ as U,cf as Y,n as he,ag as K,ak as ge,al as me,fF as be,fE as fe,bu as xe,fG as ye,bg as we,g0 as ve}from"./index-BGhFLU7w.js";import{n as d,c as $e}from"./mui-8xKzSljO.js";import{a as k}from"./sentry-C9BQzslk.js";import{Fu as W,Fv as Re}from"./zeni-epic-state-D9zDRHOK.js";import{T as je}from"./RoleWithToolTip-fC3byzzv-DvgcIN_v.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]="933d7230-91fa-4e34-9560-1d744767bf59",e._sentryDebugIdIdentifier="sentry-dbid-933d7230-91fa-4e34-9560-1d744767bf59")}catch{}})();const N={grpBtnMarginTopBottom:new m(n[1],n[3]),grpBtnMarginLeftRight:new m(n[0],n[3])},Se=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
margin-top: ${e=>N.grpBtnMarginTopBottom.valuePx(e.windowSize)};
|
|
4
4
|
margin-bottom: ${e=>N.grpBtnMarginTopBottom.valuePx(e.windowSize)};
|
|
@@ -22,7 +22,7 @@ import{q as M,V as l,aK as H,cU as J,y as m,o,c as n,cO as E,cX as q,cW as K,d a
|
|
|
22
22
|
}
|
|
23
23
|
`,ke=d.div`
|
|
24
24
|
border-left: 1px solid ${e=>e.theme.colors.grey1};
|
|
25
|
-
`,A=({allBtnOptions:e,isDisabled:s,selectedOption:i,buttonClickHandler:c})=>{const p=M(),a=
|
|
25
|
+
`,A=({allBtnOptions:e,isDisabled:s,selectedOption:i,buttonClickHandler:c})=>{const p=M(),a=X(),f=u=>i?.value===u.value?"primary":"secondary",$=u=>i?.value===u.value?{backgroundColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.primary},textColor:{default:a.colors.grey5,hover:a.colors.grey5,disabled:a.colors.hero},borderColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.grey3}}:{backgroundColor:{default:"transparent",hover:a.colors.grey4,disabled:"transparent"},textColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.hero},borderColor:{default:a.colors.grey1,hover:a.colors.primary,disabled:a.colors.grey3}},b=e.length,y=s==="disabled"||s==="readonly";return l.jsx(Se,{windowSize:p,isDisabled:y,children:e.map((u,x)=>l.jsxs(Ce,{"data-testid":H("grouped-button-container",u.value),className:"grpBtn",isDisabled:y||!u.enabled,children:[l.jsx(he,{label:u.label,size:"small",variant:f(u),"data-testid":H("grouped-button",u.value),onClick:()=>c(u.value),buttonColors:$(u),disabled:y||!u.enabled,style:{borderTopRightRadius:x===b-1?o.sp1:o.sp0,borderBottomRightRadius:x===b-1?o.sp1:o.sp0,borderTopLeftRadius:x===0?o.sp1:o.sp0,borderBottomLeftRadius:x===0?o.sp1:o.sp0,borderRight:x===b-1?"":"none",borderLeft:x===0?"":"none",width:"65px",display:"flex",alignItems:"center",justifyContent:"center"}}),x!==b-1?l.jsx(ke,{className:"verticalLine"}):null]},u.value))})},L={allRolesMarginLeftRight:new m(n[3],n[4])},De=d.div`
|
|
26
26
|
display: flex;
|
|
27
27
|
flex-direction: column;
|
|
28
28
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -51,10 +51,10 @@ import{q as M,V as l,aK as H,cU as J,y as m,o,c as n,cO as E,cX as q,cW as K,d a
|
|
|
51
51
|
flex-direction: row;
|
|
52
52
|
margin-bottom: ${o.sp3};
|
|
53
53
|
justify-content: space-between;
|
|
54
|
-
`,Oe=d(
|
|
54
|
+
`,Oe=d(Y)`
|
|
55
55
|
display: flex;
|
|
56
56
|
color: ${e=>e.theme.colors.primary};
|
|
57
|
-
`,G=d(
|
|
57
|
+
`,G=d(K)`
|
|
58
58
|
display: flex;
|
|
59
59
|
color: ${e=>e.theme.colors.hero};
|
|
60
60
|
`,Be=d.div`
|
|
@@ -87,9 +87,9 @@ import{q as M,V as l,aK as H,cU as J,y as m,o,c as n,cO as E,cX as q,cW as K,d a
|
|
|
87
87
|
`,Me=d.div`
|
|
88
88
|
display: flex;
|
|
89
89
|
flex-direction: column;
|
|
90
|
-
`,Ie=d(
|
|
90
|
+
`,Ie=d(Y)`
|
|
91
91
|
display: flex;
|
|
92
|
-
`,Ve=d(
|
|
92
|
+
`,Ve=d(K)`
|
|
93
93
|
display: flex;
|
|
94
94
|
margin-bottom: ${o.sp1};
|
|
95
95
|
`,Le=d(me)`
|
|
@@ -135,7 +135,7 @@ import{q as M,V as l,aK as H,cU as J,y as m,o,c as n,cO as E,cX as q,cW as K,d a
|
|
|
135
135
|
margin-right: ${e=>L.allRolesMarginLeftRight.valuePx(e.windowSize)};
|
|
136
136
|
margin-left: ${e=>L.allRolesMarginLeftRight.valuePx(e.windowSize)};
|
|
137
137
|
color: ${e=>e.theme.mode==="light"?D.brandColorOnyx:D.brandColorPearl};
|
|
138
|
-
`,Je=e=>{switch(e){case"bookkeeping":return l.jsx(Ue,{});case"zeni_bill_pay":return l.jsx(Ne,{});case"zeni_reimbursements":return l.jsx(He,{});case"zeni_checking":return l.jsx(We,{});case"zeni_cards":return l.jsx(Ae,{});case"zeni_treasury":return l.jsx(Ge,{});default:return null}},qe=e=>l.jsxs(Me,{children:[l.jsx(Ie,{className:"roleTitle",children:U[e].label}),l.jsx(Ve,{className:"roleSubTitle",children:U[e].subTitle}),l.jsx(Le,{className:"roleSuitableFor",children:U[e].roleSuitableFor})]}),
|
|
138
|
+
`,Je=e=>{switch(e){case"bookkeeping":return l.jsx(Ue,{});case"zeni_bill_pay":return l.jsx(Ne,{});case"zeni_reimbursements":return l.jsx(He,{});case"zeni_checking":return l.jsx(We,{});case"zeni_cards":return l.jsx(Ae,{});case"zeni_treasury":return l.jsx(Ge,{});default:return null}},qe=e=>l.jsxs(Me,{children:[l.jsx(Ie,{className:"roleTitle",children:U[e].label}),l.jsx(Ve,{className:"roleSubTitle",children:U[e].subTitle}),l.jsx(Le,{className:"roleSuitableFor",children:U[e].roleSuitableFor})]}),Qe=({name:e,isDisabled:s,selectedValue:i,onSelectionChanged:c})=>{const{formState:{errors:p}}=E(),a=Q(p,`${e}.userRole.selectedRole`),f=M(),$=i.productsByUserRole.employee.findIndex(h=>h.productType==="zeni_reimbursements"),b=k.useCallback(h=>{const t=se([h]),C=ae(h),v=ne(i.productsByUserRole[t]),R=v.findIndex(z=>z.productType===C),I=v[R].selectedOption?.value===h;R>-1&&(v[R]={...v[R],selectedOption:I?void 0:v[R].options.filter(z=>z.value===h)[0]});const _={userRole:{selectedRole:t,allRootRole:i.userRole.allRootRole},productsByUserRole:{...i.productsByUserRole,[t]:[...v]}};c(_)},[c,i]),y=i.userRole.selectedRole,u=k.useMemo(()=>y!=null?(i.productsByUserRole[y]??[]).map(h=>Re(h.selectedOption?.value)).filter(h=>h!=null):[],[y,i.productsByUserRole]);k.useEffect(()=>{y==="employee"&&u.length===0&&$>-1&&b("reimbursements_user")},[y,u,$,b]);const x=i.userRole.allRootRole,P=h=>h==="employee"&&i.userRole.selectedRole==="employee";return s==="readonly"?l.jsx(Ze,{windowSize:f,children:l.jsx(je,{roles:u})}):l.jsx(Pe,{children:x.map(h=>l.jsxs(De,{windowSize:f,children:[l.jsx(Be,{isError:a,children:l.jsx(de,{isDisabled:s,label:{label:qe(h)},style:{paddingBottom:o.sp4,alignItems:"flex-start"},radioField:{name:`${e}.userRole.selectedRole`,id:`${e}.${h}`,value:h,radioSize:"small",checked:i.userRole.selectedRole===h,style:{marginTop:o.sp1}}})}),l.jsx(ze,{windowSize:f,isCollapsed:P(h),roleCount:i.productsByUserRole[h].length,children:i.productsByUserRole[h].map(t=>l.jsxs(Te,{children:[l.jsxs(Ee,{children:[l.jsx(_e,{children:t.productType&&Je(t.productType)}),l.jsxs(Fe,{children:[l.jsx(Oe,{children:t.label}),f==="small"?l.jsx(A,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b}):null,l.jsx(G,{children:t.subTitleUser}),l.jsx(G,{children:t.subTitleAdmin})]})]}),f!=="small"?l.jsx(A,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b,isDisabled:s}):null]},t.productType))})]},h))})},Xe=({name:e,defaultValue:s,isDisabled:i,registerOptions:c})=>{const{control:p}=E();return l.jsx(q,{name:e,control:p,defaultValue:s,rules:c,render:({field:{onChange:a,value:f}})=>{const $=f;return l.jsx(Qe,{onSelectionChanged:b=>{a(b)},selectedValue:$,name:e,isDisabled:i})}})},S={width:new m(343,580,726),height:new m(n[6],n[6]),paddingTopBottom:new m(n[2],n[2]),labelPaddingLeft:new m(n[3],n[4]),labelPaddingRight:new m(n[3],n[4]),labelPaddingTop:new m(n[2],n[2]),labelPaddingBottom:new m(n[2],n[3])};function yo({isDisabled:e,label:s,rolesDropDownField:i,style:c}){const p=M();return l.jsxs(Ye,{size:p,style:c,isDisabled:e!=null,children:[l.jsx(J,{isDisabled:e,label:s.label,htmlFor:i.name,style:{paddingLeft:S.labelPaddingLeft.value(p),paddingRight:S.labelPaddingRight.value(p),paddingTop:S.labelPaddingTop.value(p),paddingBottom:S.labelPaddingBottom.value(p)}}),l.jsx(Xe,{...i,isDisabled:e})]})}const Ye=d.div`
|
|
139
139
|
display: flex;
|
|
140
140
|
flex-direction: ${e=>e.isDisabled?"row":"column"};
|
|
141
141
|
align-items: ${e=>e.isDisabled?"center":"flex-start"};
|
|
@@ -169,7 +169,7 @@ import{q as M,V as l,aK as H,cU as J,y as m,o,c as n,cO as E,cX as q,cW as K,d a
|
|
|
169
169
|
border-color: inherit;
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
|
-
`;function
|
|
172
|
+
`;function Ke({onSelectionChanged:e,forZeniUser:s,selectedRoles:i,allRoles:c,disable:p=!1,isMulti:a=!1,clearSelectedRole:f,style:$,name:b,isValuePlacedAtEnd:y=!0}){const[u,x]=k.useState(),{formState:{errors:P}}=E(),h=Q(P,b??"");k.useEffect(()=>{const r=c.filter(g=>i!=null&&i.includes(g.value));x(a?r:r[0])},[i]),k.useEffect(()=>{f===!0&&a===!1&&x(void 0)},[f]);const t=X(),C=M(),v=JSON.parse(JSON.stringify(c));if(i!=null&&s){if(!i.includes("admin")){const r=v.findIndex(g=>g.value==="admin");v.splice(r,1)}if(!i.includes("bookkeeping_admin")){const r=v.findIndex(g=>g.value==="bookkeeping_admin");v.splice(r,1)}}const R=t.colors.grey5,I=V.smallRegular.cssObject,_=I,z=u?.length>3,ee={control:r=>({...r,backgroundColor:"inherit",boxShadow:R,border:"none",cursor:"pointer",":hover":{backgroundColor:"inherit"},flexWrap:"nowrap",marginTop:"unset"}),container:r=>({...r,fill:t.colors.hero,":hover":{fill:t.colors.primary},width:"100%",...$}),valueContainer:r=>({...r,flexWrap:z?"wrap":"nowrap",width:C==="small"||!a?"auto":"263px",paddingTop:"unset",cursor:"pointer",..._,overflow:"visible",minWidth:"auto",paddingLeft:o.sp0,paddingRight:o.sp0,display:"flex",justifyContent:"flex-start",fill:t.colors.hero,":hover":{">div>div":{fill:t.colors.primary,color:t.colors.primary}},">div:last-of-type":{span:{display:"none"}}}),singleValue:(r,g)=>({...r,color:g.selectProps.menuIsOpen===!0?t.colors.primary:t.colors.hero,maxWidth:"auto",overflow:"auto",":hover":{color:t.colors.primary},marginLeft:o.sp0,position:"inherit",transform:"none",top:o.sp0,marginRight:o.sp0,padding:o.sp0,...V.standardRegular.cssObject}),multiValue:(r,g)=>({...r,margin:0,minWidth:void 0,backgroundColor:void 0,color:g.selectProps.menuIsOpen===!0?t.colors.primary:t.colors.hero,":hover":{color:t.colors.primary},">div":{borderRadius:o.sp0,padding:o.sp0,borderLeftStyle:"solid",borderWidth:o.sp0,borderColor:t.colors.grey1,color:"unset"}}),menu:r=>({...r,backgroundColor:R,boxShadow:`${o.sp0} 2px ${o.sp2} ${t.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",width:C==="small"?"230px":"100%",right:C==="small"?o.sp0:"unset",borderRadius:o.sp1,margin:o.sp0,border:C==="small"?`1px solid ${t.colors.grey3}`:"unset"}),menuList:r=>({...r,maxHeight:"240px"}),option:(r,{isSelected:g,isDisabled:O,data:T})=>{const w=W(T.value)&&s===!0,F=Z(g,w,T.value,t);return{...r,height:w?44:40,padding:w?o.sp0:`${o.sp2} 12px`,marginTop:w?o.sp1:"unset",whiteSpace:"unset",display:"flex",alignItems:"center",opacity:1,...I,color:F,cursor:O?"not-allowed":"pointer",backgroundColor:g&&!w?t.colors.background:"transparent",">div":{backgroundColor:g?t.colors.background:"transparent"},borderTop:w||T.value==="delete"?`1px solid ${t.colors.background}`:"none","& label":{paddingRight:"10px"},"svg:nth-of-type(2)":{display:"none"},":hover":{color:Z(!0,w,T.value,t),backgroundColor:g&&!w?t.colors.background:w?"transparent":t.colors.background,">div":{backgroundColor:t.colors.background},"svg:nth-of-type(1)":{display:w||s===!1?"inline-block":"none"},"svg:nth-of-type(2)":{display:w?"none":"inline-block"}},">div>div>div:first-of-type":{display:"flex"}}},indicatorsContainer:r=>({...r,alignItems:a?"flex-start":"center",paddingTop:z||!a?"unset":"5px"}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({paddingTop:a?o.sp1:"2px",svg:{marginLeft:a&&u?.length>0?"unset":"6px"}})},oe=r=>{const{isSelected:g}=r;return k.createElement(B.Option,{...r,key:r.data.value},l.jsxs(no,{role:r.data.value,forZeniUser:s,children:[l.jsx(ce,{children:r.data.label}),!!g&&l.jsxs("div",{children:[l.jsx(pe,{width:o.sp3,height:o.sp3}),s===!0?l.jsx(ue,{width:o.sp3,height:o.sp3}):null]})]}))},le=r=>{const g=[];a&&r.forEach(O=>{g.push(O.value)}),e(a?g:r.value)},re=r=>{const{menuIsOpen:g,isFocused:O,isDisabled:T,selectProps:w}=r,{value:F}=w;return l.jsx(po,{menuIsOpen:g,isFocused:O,isDisabled:T,selectedValue:F,isError:h,isValuePlacedAtEnd:y,windowSize:C,children:l.jsx(B.Control,{...r,className:"select-control",children:r.children})})};return l.jsx(ie,{isMulti:a,menuPlacement:"auto",minMenuHeight:250,menuShouldScrollIntoView:!1,defaultValue:u,value:u,closeMenuOnSelect:!0,options:v,isDisabled:p,hideSelectedOptions:!1,onChange:r=>{le(r)},isClearable:!1,isSearchable:!0,components:{Control:re,DropdownIndicator:lo,Option:oe,MultiValueRemove:ro,IndicatorSeparator:io,MultiValueLabel:to,ValueContainer:so,Placeholder:oo,Input:eo},styles:ee,theme:r=>({...r,colors:{...r.colors,primary:R}}),placeholder:te.getLocalizedStrings().peoplePage.dropdownPlaceHolderText,isOptionDisabled:r=>s===!1&&r.enabled===!1||s===!0&&W(r.value),classNamePrefix:"zeniRolesDropDown"})}const eo=e=>{const{selectProps:s}=e,{placeholder:i,value:c,isMulti:p}=s;return l.jsx(B.Input,{...e,autoComplete:"new-password",placeholder:p===!0&&c?.length===0||c==null?i:void 0,children:e.children})},oo=()=>null,Z=(e,s,i,c)=>e&&!s&&i!=="delete"?c.colors.primary:s?c.colors.grey1:i==="delete"?D.important:c.colors.hero,lo=()=>null,ro=()=>null,io=()=>null,to=({children:e,data:s,...i})=>l.jsx(B.MultiValueLabel,{...i,children:l.jsxs(ao,{children:[e,l.jsx(co,{className:"seperator",children:","})]})}),so=({children:e,...s})=>l.jsx(B.ValueContainer,{...s,className:"select-value-container",children:e}),ao=d(ge)`
|
|
173
173
|
padding: ${o.sp0} 2px;
|
|
174
174
|
max-width: 104px;
|
|
175
175
|
white-space: nowrap;
|
|
@@ -258,7 +258,7 @@ import{q as M,V as l,aK as H,cU as J,y as m,o,c as n,cO as E,cX as q,cW as K,d a
|
|
|
258
258
|
visibility: hidden;
|
|
259
259
|
}
|
|
260
260
|
}
|
|
261
|
-
`,uo=({name:e,forZeniUser:s,registerOptions:i,defaultValue:c,isDisabled:p,isMulti:a,style:f,onSelectionChanged:$,isValuePlacedAtEnd:b=!0})=>{const{control:y}=E();return l.jsx(q,{name:e,control:y,defaultValue:c,rules:i,render:({field:{value:u,onChange:x}})=>l.jsx(
|
|
261
|
+
`,uo=({name:e,forZeniUser:s,registerOptions:i,defaultValue:c,isDisabled:p,isMulti:a,style:f,onSelectionChanged:$,isValuePlacedAtEnd:b=!0})=>{const{control:y}=E();return l.jsx(q,{name:e,control:y,defaultValue:c,rules:i,render:({field:{value:u,onChange:x}})=>l.jsx(Ke,{onSelectionChanged:P=>{x({allOptions:c.allOptions,selectedOptions:P}),$?.(P)},forZeniUser:s,selectedRoles:u.selectedOptions,disable:p,isMulti:a,name:e,style:f,allRoles:c.allOptions,isValuePlacedAtEnd:b})})},j={width:new m(343,580,726),height:new m(n[6],n[6]),controlHeight:new m(n[6],n[6]),paddingTopBottom:new m(n[2],n[2]),marginRight:new m(n[2],n[2]),labelMarginLeft:new m(n[3],n[4]),labelMarginRight:new m(n[3],n[4]),labelMarginTop:new m(n[2],n[2])};function wo({isDisabled:e,label:s,zeniRolesDropDownField:i,style:c}){const p=M();return l.jsxs(ho,{size:p,style:c,isDisabled:e!=null,"data-testid":H("labeled-zeni-roles-dropdown-field",i.name),children:[l.jsx(J,{isDisabled:e,label:s.label,htmlFor:i.name,style:{marginLeft:j.labelMarginLeft.value(p),marginRight:j.labelMarginRight.value(p),marginTop:j.labelMarginTop.value(p),width:s.width??"auto"}}),l.jsx(uo,{...i,isDisabled:e==="disabled"||e==="readonly",style:{display:"flex",flexGrow:1,width:s.width!=null?`calc(100% - ${s.width}px)`:"auto",height:p==="small"?"auto":o.sp6,minHeight:j.controlHeight.value(p)}})]})}const ho=d.div`
|
|
262
262
|
display: flex;
|
|
263
263
|
flex-direction: row;
|
|
264
264
|
align-items: flex-start;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as
|
|
1
|
+
import{q as W,aN as ue,a8 as pe,cB as me,iC as E,im as I,cC as he,V as n,ab as ge,g1 as fe,aO as be,F as H,o as t,y as m,l as xe,L as ye,cE as V,iD as we,p as Ce,b as L,bf as je,c as r}from"./index-BGhFLU7w.js";import{a as B}from"./sentry-C9BQzslk.js";import{n as i}from"./mui-8xKzSljO.js";import{FW as Z,FT as Se,FU as De}from"./zeni-epic-state-D9zDRHOK.js";import $e from"./TransactionDetailPage-CX4JW9WM-gkT488m-.js";import"./liveblocks-DjrSQGDL.js";import"./core-BCGhSsNP.js";import"./recharts-BnXj3KRI.js";import"./lottie-QlMyEFez.js";import"./analytics-D090O6Wm.js";import"./lexical-CtZYfzDm.js";import"./utils-zYB6z_it.js";import"./LabeledControlledCheckBoxField-CeMM7Ci3-RHUW6sf_.js";import"./TrendWithTransactions-Gj-u5KXi-BXQxjthK.js";import"./TrendChart-D3dT6hUb-DkxaRhLn.js";import"./chartTypes-DRiSljvE-DHGd6p3G.js";import"./toCOABalancesWithID--oEGymMJ-DkNt3ShR.js";import"./toChartData-CavJzP6f-MNPPYJmI.js";import"./NoDataChart-C5ZP32zB-BxSJ1j_J.js";import"./InsightsSection-DvqCilqy-BQT_s43S.js";import"./NavigationDots-BvKSgdgh-ChF9WLMp.js";import"./TransactionList-BixeXh4Y-CBLpnxhT.js";import"./BoxItem-Bjv3WNXO-CbkK_BvO.js";import"./commonDimensions-BDftm0gJ-CtNxdt96.js";import"./uploadAttachment-BuVCsq0Q-S-SyFEfz.js";import"./radio-default-CiSgisfh-DioVIMbJ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="1326f37d-0743-45ee-bfeb-9360349bfb32",e._sentryDebugIdIdentifier="sentry-dbid-1326f37d-0743-45ee-bfeb-9360349bfb32")}catch{}})();const R={labelWidth:new m(120,145,160)},ve=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -19,7 +19,7 @@ import{q as H,aN as ue,a8 as pe,cB as me,iC as E,im as I,F as W,cC as he,V as a,
|
|
|
19
19
|
background-color: ${e=>e.theme.colors.grey3};
|
|
20
20
|
min-height: 1px;
|
|
21
21
|
max-height: 1px;
|
|
22
|
-
`,O=(e,l)=>`${e}.${l}`;function Le({sectionId:e,jePostingDate:l,qboURL:
|
|
22
|
+
`,O=(e,l)=>`${e}.${l}`;function Le({sectionId:e,jePostingDate:l,qboURL:a,isJELoading:s}){const u=H.getLocalizedStrings(),{dateFormat:C,jeSchedules:{scheduleDetails:{linkJE:o,scheduleDetailsSection:j}}}=u,h=l.format(C.visual.MMMDCommaYYYYformat),g=W();return n.jsxs(ve,{children:[n.jsx(Ee,{windowSize:g,children:j.header}),n.jsxs(ke,{children:[n.jsx(V,{label:{label:o.jePostingDate,width:R.labelWidth.value(g)},style:{width:"auto"},text:{type:"text",name:O(e,"jePostingDate"),placeholder:o.jeLinkURLPlaceholder,defaultValue:h,autoComplete:"new-password"},isDisabled:"disabled"}),n.jsx(Ie,{}),n.jsx(V,{label:{label:o.jeLink,width:R.labelWidth.value(g)},style:{width:"auto"},text:{type:"url",name:O(e,"qboURL"),placeholder:o.jeLinkURLPlaceholder,defaultValue:a?.toString()??"",autoComplete:"new-password",style:{color:Ce.link},options:{pattern:we}},isDisabled:s?"disabled":void 0})]})]})}const x={containerPaddingLeft:new m(r[3],r[3],r[6]),containerPaddingRight:new m(r[3],r[3],r[8]),navbarContainerPaddingTop:new m(r[2],r[3]),navbarContainerPaddingBottom:new m(r[4],r[5]),emptyScheduleHeight:new m(88,88)},J="linkJETransactionPage",Q="linkJETransaction",G=H.getLocalizedStrings(),{common:{footer:M},dateFormat:Pe}=G,gt=({analytics:e,scheduleTab:l,jeScheduledTransaction:a,localData:s,saveStatus:u,isCOTEnabled:C,transactionDetail:o,firstMonthOfFY:j,qboAppUrl:h,authParams:g,isDisabled:K,controllerUserDetails:P,isVendorBulkUpdateOnTransactionEnabled:X,onUpdateLocalData:ee,onBackClick:T,onCancelClick:te,onSaveClick:ne,onFetchTransactionClick:ae})=>{const p=W(),A=ue(u),y=Z(h.toString(),s.jeLink),S=Se(P.controllers),D=De(P.controllerUserIds),U=()=>{const d=a.vendor,c=a.baseTransaction;e.trackScheduleDetailsJournalEntryLinkCanceled({scheduleType:l,transaction:{...I(c)},scheduleExpenseCategoryAndClass:{expenseCategory:a.jeDebit.account?.accountName??null,expenseClass:a.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:a.jeCredit.account?.accountName??null,assetId:a.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:D}),te()},f=pe({mode:"all",reValidateMode:"onChange",resetOptions:{keepDirtyValues:!0,keepErrors:!0},defaultValues:_(s,h),values:_(s,h)}),oe=()=>{ne()},ie=async d=>{ee(d)};B.useEffect(()=>{const d=f.watch((c,{name:ce})=>{ce!=null&&c!=null&&me(()=>ie(c))});return()=>{d.unsubscribe()}}),B.useEffect(()=>{if(u==="Completed"&&A==="In-Progress"){const d=a.vendor,c=a.baseTransaction;e.trackScheduleDetailsJournalEntryLinkedSaved({scheduleType:l,transaction:{...I(c)},scheduleExpenseCategoryAndClass:{expenseCategory:a.jeDebit.account?.accountName??null,expenseClass:a.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:a.jeCredit.account?.accountName??null,assetId:a.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:D}),T()}},[u,A,T]);const{common:{strings:{empty:N}},jeSchedules:{scheduleDetails:{linkJE:b}}}=G,le=()=>{if(s.jeLink?.transactionDetailID!=null){const d=a.vendor,c=a.baseTransaction;e.trackScheduleDetailsJournalEntryQBOFetched({scheduleType:l,transaction:{...I(c)},scheduleExpenseCategoryAndClass:{expenseCategory:a.jeDebit.account?.accountName??null,expenseClass:a.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:a.jeCredit.account?.accountName??null,assetId:a.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:D}),ae(s.jeLink.transactionDetailID)}},se=o!=null&&o.fetchState==="In-Progress",re=o!=null&&o.fetchState==="Error",$=o!=null&&o.fetchState==="Completed",de=o==null||o.fetchState==="Not-Started",F=s.jeLink.type==="recommended",z=he(f.formState.dirtyFields),v=f.formState.isValid,w=$&&z&&v||$&&F&&v,k=z&&v;return n.jsxs(Te,{children:[n.jsxs(Ue,{windowSize:p,children:[n.jsx(Be,{windowSize:p,children:b.linkJE}),n.jsx(ze,{children:n.jsx(Ve,{onClick:U})})]}),n.jsxs(Ae,{children:[n.jsx(Ne,{windowSize:p,children:n.jsx(ge,{...f,children:n.jsx("form",{id:Y(J),onSubmit:f.handleSubmit(oe),children:n.jsx(Le,{jePostingDate:s.postingDate,sectionId:Q,qboURL:y,isJELoading:o?.fetchState==="In-Progress"})})})}),F?n.jsxs(Oe,{windowSize:p,children:[n.jsx(Je,{})," ",b.zeniRecommendation]}):null,$?n.jsx(Fe,{children:n.jsx($e,{isCOTEnabled:C,transactionDetail:o,firstMonthOfFY:j,transactionAttachmentEndpointToDownload:N,transactionAttachmentsEndpointToFetch:N,attachmentUploadEndpoint:"",authParams:g,isDisabled:K??"readonly",isNavBarVisible:!1,containerStyles:{boxShadow:"none",backgroundColor:"inherit"},headerStyles:{boxShadow:"none",backgroundColor:"inherit"},autoCompleteData:{entityAutoCompleteView:{customer:[],vendor:[],fetchState:"Not-Started"}},isVendorBulkUpdateOnTransactionEnabled:X,onDeleteAttachment:()=>{},autoCompleteActions:{onAutoCompleteInputChange:()=>null,onCancelAutoComplete:()=>null,onAutoCompleteEntity:()=>null,onLoadOptions:()=>null},onUploadAttachmentAttachment:()=>null,enableBackClickOnSave:!0,saveLatestSelectedEntity:()=>null,updateVendorBulkRecommendationsFetchStatus:()=>null,setIsVendorUpdateAllChecked:()=>null})}):null,n.jsxs(Re,{children:[re?n.jsx(q,{windowSize:p,children:b.transactionFetchError}):null,de?n.jsx(q,{windowSize:p,children:b.jeDetails}):null]}),se?n.jsx(fe,{fetchState:o?.fetchState}):null]}),w||k?n.jsx(be,{formId:w?Y(J):void 0,primaryBtn:{onClick:k&&!w?le:void 0,label:k&&!w?b.fetchJE:M.save,isLoading:u==="In-Progress",isDisabled:u==="In-Progress"||o?.fetchState==="In-Progress"||o?.fetchState==="Error"},cancelBtn:{label:M.cancel,shouldResetOnCancel:!0,onClick:U}}):null]})},Y=e=>`${e}_form`,_=(e,l)=>({[Q]:{qboURL:Z(l.toString(),e.jeLink),jePostingDate:e.postingDate.format(Pe.visual.MMMDCommaYYYYformat)}}),Te=i.div`
|
|
23
23
|
display: flex;
|
|
24
24
|
flex: 1 1 auto;
|
|
25
25
|
width: 100%;
|
|
@@ -28,7 +28,7 @@ import{q as H,aN as ue,a8 as pe,cB as me,iC as E,im as I,F as W,cC as he,V as a,
|
|
|
28
28
|
justify-content: flex-start;
|
|
29
29
|
background-color: ${e=>e.theme.colors.grey4};
|
|
30
30
|
box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
31
|
-
`,
|
|
31
|
+
`,Ae=i.div`
|
|
32
32
|
padding: ${t.sp0} ${t.sp8};
|
|
33
33
|
flex-grow: 1;
|
|
34
34
|
`,Ue=i.div`
|