@zeniai/web-cockpit-ui 1.15.9-dev → 1.15.10-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-BVkQ4K87-2mUod8Ze.js → ACHDetailsPage-BtE9TY6d-C9maaZu_.js} +1 -1
- package/dist/assets/{AIPerformancePage-BRTJZGiA-Uj0zJbS1.js → AIPerformancePage-BkDJ2ST0-Dzxt81Gg.js} +12 -12
- package/dist/assets/AccountInfoPage-CTbeJLI7-C29oNV5j.js +18 -0
- package/dist/assets/{AccountInfoPageContent-PRtq3bFi-vLA60ZOz.js → AccountInfoPageContent-BUTcEduM-DVKpBXHq.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-BPtkVnq9-Bo6KEtUJ.js → AccountLockedInfoModal-v6aQO7JB-xH0-ZPkG.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-vJYKDiYF-DDXxWgsE.js → AccountReconDetailsDrawerPage-DIAg-5PN-B1-bYNLU.js} +1 -1
- package/dist/assets/{AccountRow-DvTUqeYB-Coj4ZTWN.js → AccountRow-BVKk7u7h-CDJSAP1l.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-B8BaHMXs-D4T6qOCp.js → AccountsPromoCardStack-CM2kVta7-D4DDSl1Z.js} +17 -17
- package/dist/assets/{AddAddressForCardDrawer-B7RkZqGh-CR2hhnGw.js → AddAddressForCardDrawer-DDTSYpDb-gu3pix_O.js} +1 -1
- package/dist/assets/{AddToWalletPage-DuHNwXF4-B3zEKxpl.js → AddToWalletPage-D2Qg0MR_-DL2aRvxj.js} +1 -1
- package/dist/assets/{AgingReportsPage-BK1LaJ_w-yS7wx6wk.js → AgingReportsPage-_mSqD2hW-Boesp-Ca.js} +1 -1
- package/dist/assets/{AllUserItems-CH9ybX41-BtFVBAV4.js → AllUserItems-CLsMcXeg-B7yfRaza.js} +3 -3
- package/dist/assets/{ApAgingDetailPage-pA0gVWwq-0kF3KvyT.js → ApAgingDetailPage-BsJuvMuy-C0lGm0Hq.js} +4 -4
- package/dist/assets/{AppBasePage-DhCn4MFY-D-3ZnoCB.js → AppBasePage-BxGd2ny5-CxKcTkZB.js} +1 -1
- package/dist/assets/{AppDrawerContent-oxbBkFJu-CMnZN7jn.js → AppDrawerContent-DzQ2jw8d-B8p2K7qi.js} +5 -5
- package/dist/assets/{ApprovalRulesSettingsPage-B2Bp687h-BxxU0eeP.js → ApprovalRulesSettingsPage-6n8xLG5c-9HDMDjw5.js} +1 -1
- package/dist/assets/{ArAgingChart-DDYQFnOL-BvAsGOBT.js → ArAgingChart-B3T4qk8t-CVyLgEv4.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-BHX3sNTi-BYBOdJhr.js → ArAgingDetailPage-pdf0VjeI-BUmI9Ihk.js} +5 -5
- package/dist/assets/{AttachmentView-BreMzQ_m-BNxecg_Q.js → AttachmentView-BJfqJ9hP-BtlO-7I1.js} +1 -1
- package/dist/assets/{BankAccountSection-1WOCLgt5-BoGJh_uP.js → BankAccountSection-Cd_h3co--DCzIyA5D.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-Ddj7HexZ-DdPqPHd3.js → BankAccountWarningSection-Cz9fzMVv-CvaYS3T_.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-9nczNfIe-BzLc4VYR.js → BankConnectionsSettingsPage-P-hobvq_-BOnK_glB.js} +1 -1
- package/dist/assets/{BillDetailPage-NeZduyMi-6p7P1QOU.js → BillDetailPage-B-_gbDGZ-BtpvnzvD.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-BBTe3n92-C8p-rxLw.js → BillPayApprovalRuleDetailPage-CyoqtTu1-C1sdR4PX.js} +4 -4
- package/dist/assets/BillPayApprovalRulesPage-CTRvfoZN-BLcwl2yw.js +241 -0
- package/dist/assets/{BillPayPromoPage-DFXybg0r-B5uuR3JI.js → BillPayPromoPage-OYlocjA7-7DEWsR0V.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-CP6gsxaz-BVI06dHo.js → BillPaySetUpPage-B8_IEgff-CAWPUMJX.js} +1 -1
- package/dist/assets/{BillingSettingsPage-D6BmklmO-DmihnPn_.js → BillingSettingsPage-DqO-9dDI-7RCoKyM1.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-D0JHXr9f-D-HkiVRv.js → BillsBulkReviewDrawerPage-B-nfpiM2-CiONs4dM.js} +1 -1
- package/dist/assets/{BoxItem-CjZDlBaw-C6EB-mJ-.js → BoxItem-C-LLQ7NS-CyKsGaF0.js} +5 -5
- package/dist/assets/{BusinessVerificationPage-cqBBWqBX-CZxCO1R2.js → BusinessVerificationPage-BD-G0QbW-BuRfqr04.js} +1 -1
- package/dist/assets/{CardNumberSubText-BFe7Gawq-B8S1I_DT.js → CardNumberSubText-CPcuTV6V-CmAy0kVV.js} +1 -1
- package/dist/assets/{CashbackDetailPage-4R2WSvUG-DpCyR1av.js → CashbackDetailPage-CzEHO7NM-DhooXBnW.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-DgvJC7HX-DrGkLiOb.js → ChargeCardDetailPage-DpA9C48D-Cg9lUs5_.js} +21 -21
- package/dist/assets/{ChargeCardListPage-y3xkEXMi-Dfnd6MIF.js → ChargeCardListPage-igseWp-z-CgO4ULTe.js} +1 -1
- package/dist/assets/{ChargeCardListTable-BZVA1znA-1HTc8EZK.js → ChargeCardListTable-C-nM1SEM-CukpO46W.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage-DUqCYxCZ-Bi49patK.js → ChargeCardPaymentHistoryPage-TCuBt2Cv-BDmH-kNH.js} +13 -13
- package/dist/assets/{ChargeCardPromoPage-BGwXpSoW-CFyoJOm3.js → ChargeCardPromoPage-DEjWh0Ax-DtQMu7KS.js} +10 -10
- package/dist/assets/{ChargeCardSetupPage-CH6gSyU_-2ky3cmbf.js → ChargeCardSetupPage-zdLpdeJV-CBsuPE8U.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-B1FjTF7r-Dy-EmhIk.js → ChargeCardStatementsPage-D42XfAtE-RchDbumz.js} +2 -2
- package/dist/assets/{CheckDepositDrawerPage-B30gCDxH-DoiHXVEd.js → CheckDepositDrawerPage-DC1L83fB-BCa5n7-H.js} +1 -1
- package/dist/assets/{CollapsableReportTable-CpOmWQO--CCW_jG6A.js → CollapsableReportTable-BWfFYJbH-BIiPdpTy.js} +74 -74
- package/dist/assets/{CompanyOfficerDetailsSection-0lnfwwSs-DTL-A6zC.js → CompanyOfficerDetailsSection-TNyVByDX-D2759MDx.js} +1 -1
- package/dist/assets/{CompanyPassportCard-BPpSNcXb-DiAvuMuN.js → CompanyPassportCard-DjBkQwpn-Dd7qvLcE.js} +4 -4
- package/dist/assets/{CompanyPassportPage-DwNjeLgb-D9KCZAQQ.js → CompanyPassportPage-CrqL6_wm-C8yNeeq6.js} +12 -12
- package/dist/assets/{CompleteProfile-BPllbFai-CKGTWhqU.js → CompleteProfile-BP-MRXpZ-BD6u4U_v.js} +2 -2
- package/dist/assets/{ConfettiBurst-DweZPNXH-B1074GKy.js → ConfettiBurst-D2FdlxTA-BPfMfLCc.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-C_tIWYWJ-DrZr7pRF.js → CreateOrEditVendorPage-D2Cuyhtu-CjSilO-g.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-DmYHQq7L-KNs23igZ.js → CreditCardPaymentDrawerPage-LQiWqyEO-5RaHGm67.js} +1 -1
- package/dist/assets/{CurrencySelectField-DoUpgUNU-D3sxrlik.js → CurrencySelectField-Dpcv7_rA-DStJFuSr.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-fr40BxEG-BAtGkwek.js → CustomerOnboardingActivationPage-BRWiLUVc-B8_ST9_b.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-BLGGDdc6-DSwc8Dwv.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CbEuqDGK-DBipeF2y.js → CustomerOnboardingDetailPageSkeleton-D4fUQLXG-BvBHzbJv.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-CNolx9VQ-BJ-qYAip.js → CustomerOnboardingNoStepsPage-CxF6ZEAa-CMxQsxHY.js} +2 -2
- package/dist/assets/{CustomerOnboardingPage-DrDjl8iB-Dx9AAiNO.js → CustomerOnboardingPage-DKcr5stz-DRi352cJ.js} +1 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-B84wAHDe-CoEVNP5O.js +202 -0
- package/dist/assets/{Dashboard-C1UoKVNa-DwZITN_K.js → Dashboard-DMAOn7Hi-CGGVivU9.js} +1 -1
- package/dist/assets/{DashboardReportPage-b0pHN0Cw-BW6hDiSR.js → DashboardReportPage-UUd1-ITz-DMCD3HWG.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-Dql-Odcw-CrREhWdb.js → DashboardSidebarBackgroundAnimation-BuINHqA--61tWJjrX.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-Buzx5B8J-B4X-L_gR.js → DepositAccTransactionItem-BE8LeqlM-hlhKmXR8.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-DmxWPS6J-CPhkjFGO.js → DepositAccTransactionListPage-DyH-aZDX-DTHKAa1Z.js} +2 -2
- package/dist/assets/{DomesticWireDetailsPage-o6cbscCg-D6yaIcSg.js → DomesticWireDetailsPage-Bk5AZOQt-CMcHRFaW.js} +1 -1
- package/dist/assets/{DownloadOverlay-CxtxqO0q-Dz3uXEue.js → DownloadOverlay-BOYOF8Po-BwD6Afat.js} +1 -1
- package/dist/assets/{DrawerPage-iKzWhzfT-CLN7Nqu9.js → DrawerPage-BGGHNo0X-DCBr8o9E.js} +1 -1
- package/dist/assets/{EditPeoplePage-CjM-4H28-mYmRRYC8.js → EditPeoplePage-CEiwvizd-D-zbL-nU.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-BIPtvhlo-COIsNVhm.js → EditReimbursementDetailPage-DBLDLvqO-C54aQF5d.js} +1 -1
- package/dist/assets/{EntityDetailPage-B0W-V9jY-CqJeONU8.js → EntityDetailPage-Cd3eku5o-D0l7oH4S.js} +2 -2
- package/dist/assets/{EntitySummarySection--ty3w4lI-o5ULFAtA.js → EntitySummarySection-Ddaj1RmO-DBcpL5Yc.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-C62kbOQv-D4JsR6Ol.js → ExpenseAutomationOverviewPage-B_BlqiWf-CaFabiLU.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-KMTXCmGT-DZpekdJc.js → ExpenseAutomationPage-DfUf0zEN-B6VJ2UJy.js} +1 -1
- package/dist/assets/{ExpressPayPage-DITkk_1c-BtyionmY.js → ExpressPayPage-Da8lLZso-Cwv7Clar.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-ZSyZuPj0-CJiy9EUi.js → FeaturePreviewPage-CmrPDUFU-5rcSl0eb.js} +1 -1
- package/dist/assets/{FollowStepsSection-CaSXYy6M-CzewjFd_.js → FollowStepsSection-DbxSUIzC-BaXmlzKU.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-D1MK5CDU-DobUC1e8.js → GlobalReviewListPage-Du_3tupM--fNfq6rW.js} +1 -1
- package/dist/assets/{InformationCardStack-WI0CkBUF-D7YCWLUH.js → InformationCardStack-Bx_9X95v-xPOrStCv.js} +3 -3
- package/dist/assets/{InsightsCardStack-28f145Lw-BuefuxqU.js → InsightsCardStack-Xn2rGwX0-BAx1TkHE.js} +1 -1
- package/dist/assets/{InsightsSection-iq6BFe-O-DA4Jx3vy.js → InsightsSection-CwyGEE7C-BgS40gth.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-QfH-2B7s-BNyYW5Gn.js → IntegrationsSettingsPage-CEL26-eE-DfibyIun.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-DhNqaJ-7-RtzP87XE.js → InternationalWireSwiftDetailsPage-IUz-DwAH-CGr6Gc70.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-CRnGH05I-vQbDV8jX.js → InternationalWireVerificationPage-C66rHdsi-fqJ5C72A.js} +1 -1
- package/dist/assets/{InviteFormPage-CZ9su_ZA-CsfVdhXE.js → InviteFormPage-Do-6PG8h-C-rzmYCh.js} +1 -1
- package/dist/assets/{InvitePageListView-Db5vL4dK-NFzFyNlR.js → InvitePageListView-DYKcMtIL-nvuj34Qe.js} +1 -1
- package/dist/assets/{InvitePeoplePage-C7Ij2l1O-Dbf_TXXj.js → InvitePeoplePage-C2SmS7y8-BN_wFYgu.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-DEchJrtp-C92WVr8V.js → InvoiceUploadSection-rCCcSbbj-CFzlgKg9.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-DVdMjgbO-mkT6Gcda.js → IssueChargeCardPage-DZvVosb3-C2W1gOfV.js} +1 -1
- package/dist/assets/{LabeledAddressValue-jMXXok9a-C_alXtK_.js → LabeledAddressValue-CAX5YTSE-BfVvpzvP.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-BMQUZAxr-B3DdD5Cx.js → LabeledAddressValueField-BraOMDrG-CfBm_XIY.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-CrOtltBs-BgazwPA0.js → LabeledControlledCheckBoxField-DBcPQa79-B_0nrSFr.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-uBMn5XNT-nRQiUi6Y.js → LabeledCountryMultiSelectField-DYid8vvM-BfPOTgp8.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-BMRdFPtx--AY2rrpE.js → LabeledCreatableSingleSelectField-DzB7KPXf-BwfCQ3vj.js} +1 -1
- package/dist/assets/{LabeledDocumentField-DtsIRcRg-LgfBBRyq.js → LabeledDocumentField-BdQjt44W-EnLXAA71.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-rLwWoG-Y-aM061UXo.js → LabeledDropDownFormattedTextField-BheK7sFg-D0D4XYai.js} +1 -1
- package/dist/assets/{LabeledMultiSelectField-BhRoctp7-CtOCs4Ag.js → LabeledMultiSelectField-m2Y_IFK_-DBGqM9Nr.js} +1 -1
- package/dist/assets/{LabeledText-Deyr6isW-Cw3u4ojj.js → LabeledText-C6M4paXi-dAFR23d7.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-u_6eDShW-BsQOZeOj.js → LabeledUserSingleSelectWithSubtitlesField-i7qOybJ3-QdNWRUWG.js} +3 -3
- package/dist/assets/{LabeledZeniRolesDropDownField-CdAAgiie-C2bU99c9.js → LabeledZeniRolesDropDownField-BhNbXDjb-DgKv1slV.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-A9rqpCyG-CiYf2g5t.js → LinkJETransactionPage--sqluuih-VivXIc5D.js} +2 -2
- package/dist/assets/{LockCardPage-CXZAffaX-CqLS5XfJ.js → LockCardPage-Bq0Tu8g8-C6m1-JJ1.js} +1 -1
- package/dist/assets/{LowBalancePopup-BRxiaGRC-CJ9ANz96.js → LowBalancePopup-hlu_jjTZ-DZ1z8xe6.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-C1pJBTPa-Dk0xalTl.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-C77X02bo-Dbss_Tqv.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DUHpAm8_-BkDmu3l4.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-BiR4YUoK-xHaH-3WR.js → MagicLinkSuccessPage-D6ZDRs5F-DQNiPx3u.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-euMftC6_-Bdpw9jEH.js → MagicLinkTitleSection-e9WYeJQA-BdMlQ905.js} +1 -1
- package/dist/assets/MailingDetailsSection--Lx7QBGW-BxmiDkr6.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-9Zw-bIsu-Uzll3gZc.js → MyBankConnectionsSettingsPage-Bb7UZRJf-B5XKMom_.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-_MhlKwOj-4wTxZJyE.js → MyPendingActivationChargeCardListPage-BToJWGM8-CjAx4TXN.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-BeSze0xM-Do6mSiuu.js → MyProfileSettingsPage-CGxf42bP-Cc5RApxz.js} +5 -5
- package/dist/assets/{NavBarWithPicker-C4ExxFQW-CBeQSmTW.js → NavBarWithPicker-DcDs1pe7-RUEHjYNa.js} +1 -1
- package/dist/assets/{NavigationArrow-CJOSZIEx-Vi5xYiOy.js → NavigationArrow-DGSdnTKQ-CgfnFgIs.js} +1 -1
- package/dist/assets/{NavigationDots-DgfBVlG5-Begp91rh.js → NavigationDots-BPsFQiss-Dqh0y0c_.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-BXTlzEbY-AVMqLh8E.js → NewGlobalMerchantPage-od2IF__o-BUeowAQW.js} +1 -1
- package/dist/assets/{NoDataChart-Bwc_xftR-BPirwt2c.js → NoDataChart-qG0jmc8Z-Dctec7eR.js} +1 -1
- package/dist/assets/{NoDataTable-D_VKD0kA-DmQluo-I.js → NoDataTable-CgKT7NGU-CuzMQ4sx.js} +1 -1
- package/dist/assets/{NotFoundPage-CLkfFo_R-C8j5B2Ga.js → NotFoundPage-CdUJ7M5p-DbLXvN2b.js} +6 -6
- package/dist/assets/{NotificationSettingsPage-CC1kNoTw-DotH2NS5.js → NotificationSettingsPage-D1PKq-ED-ChTF7VDn.js} +1 -1
- package/dist/assets/{NotificationsListConfig-CEDk57Lr-DAddVQQW.js → NotificationsListConfig-Ctfr3h3b-B2C7Z_Di.js} +1 -1
- package/dist/assets/{NotificationsPage-DR_MVYdY-CTDJJoO4.js → NotificationsPage-_5Yn9uTy-mxWdg1FN.js} +33 -33
- package/dist/assets/{OpExByVendorPage-CRkTiAd5-C0As_oOM.js → OpExByVendorPage-Dqr805s1-CqYYgxC3.js} +5 -5
- package/dist/assets/{OverlayContainerPage-IDTUbuAC-CRFgbke2.js → OverlayContainerPage-IDTUbuAC-YfbThdai.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-BCEjC9iA-DALj3dPN.js → PandLWithForecastPage-CQ5IMW_B-BHtqAaTy.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-BFcZtn5n-qrQdGMeL.js → PaymentAccountSetupBillingAddressSection-DtOeyTmL-DXDwBnq6.js} +7 -7
- package/dist/assets/{PeoplePage-D7D1SrW0-QS6a-b0Q.js → PeoplePage-DEp24LGx-BkYkgzLW.js} +1 -1
- package/dist/assets/Preview-XG6ky5VX.js +1 -0
- package/dist/assets/{ProductsCarousel-CSUU4sEb-_cwSUdhx.js → ProductsCarousel-Dgwws_g9-_dPrFjDV.js} +1 -1
- package/dist/assets/{PromoBaseCards-CSisWvqE-flcR83jC.js → PromoBaseCards-wfvFaqMw-CY2jDhRy.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-gTTF-Gc0-DtM6eHvu.js → QBOConnectionDialog-CSMrKgrY-gVbZ-mZ8.js} +1 -1
- package/dist/assets/{QBOSetupSection-B2c7ZErC-C8usnCBc.js → QBOSetupSection--FQKYLxN-LYuddynp.js} +7 -7
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-DRxHZeeM-BSDkdjQ8.js → ReimbursementApprovalRuleDetailPage-Dzg2pNcJ-BdMg1RhW.js} +5 -5
- package/dist/assets/ReimbursementApprovalRulesPage-eyZWsjXs-Du4OL-aC.js +243 -0
- package/dist/assets/{ReimbursementDetailPage-C8P6S9yn-CjGqaV3N.js → ReimbursementDetailPage-DnSo6uTd-B2fnQcOh.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-Bv6Eg8CH-iUgCjzha.js → ReimbursementPromoPage-0st3rBmg-BJkFCzXz.js} +4 -4
- package/dist/assets/{ReimbursementSetUpPage-CL1j_14z-1ntDkasP.js → ReimbursementSetUpPage-DCMgwGAM-CVZuk20s.js} +5 -5
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BXlm8qfr-DFnWXpWm.js → ReimbursementsBulkReviewDrawerPage-Cx7BlVAb-BW2L-YXt.js} +1 -1
- package/dist/assets/{ReloadCard-DQ8-0JyV-DB-bkjWN.js → ReloadCard-8Tiu9Mq9-WidMrFBg.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-BDXux6ow-8eyOx1Yh.js → ReportTableViewSelector-BwBEG73W-D23xRsEe.js} +7 -7
- package/dist/assets/{ReportsPage-fjTk3JSs-DUY58vJz.js → ReportsPage-BxXxsNBv-dsPUH8v1.js} +5 -5
- package/dist/assets/{RevenueChart-BAlErS9A-BXzh7yRj.js → RevenueChart-D13bncyo-DisVSBsZ.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-CSNmpZKJ-CmkvpWlb.js → ReviewDetailsPage-C5q0Abn_-DCYfD4eU.js} +53 -53
- package/dist/assets/{ReviewOverlay-Zcv9Vljd-hWfuTO7b.js → ReviewOverlay-BNnNWFdW-Dc8TbL95.js} +1 -1
- package/dist/assets/{RoleWithToolTip-D4abtguM-CazMvZo7.js → RoleWithToolTip-DvYf0VUz-DfyQTHhc.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-AzGpMIv9-qvpVTvvJ.js → ScheduleDetailsFixedAssetsPage-DqrwF4kG-YxjHzQUp.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-FXdL5BP_-BIXnOShB.js → ScheduleDetailsPage-CH2lKmlN-Db_nhPQU.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-D4NEi6ZW-FMzTzWLm.js → ScheduleSequenceTable-BzDIvZ9H-BagpGi8M.js} +1 -1
- package/dist/assets/{ScreenRoutes-esZWtP8Y.js → ScreenRoutes-l2ZSRE3X.js} +1 -1
- package/dist/assets/{SetUpAccountSection-DHNGWTAX-B_r28Ehm.js → SetUpAccountSection-DOvqcC8t-DxYvNTsg.js} +1 -1
- package/dist/assets/{SignIn-8lCVuAse-CHvndysC.js → SignIn-CBRwaiPC-DSZbn4tf.js} +12 -12
- package/dist/assets/SignInScreen-DA-QJIMK.js +1 -0
- package/dist/assets/SpendManagementListViewPage-BjdD7zHz-duCSBxrR.js +134 -0
- package/dist/assets/SpendManagementPerTabPage-S5zX9fWg-B69ncWCU.js +754 -0
- package/dist/assets/{SpendManagementSection-p_rbwPsi-DexNllt-.js → SpendManagementSection-vo9WEGWQ-DV0kvnxH.js} +1 -1
- package/dist/assets/{StatementItem-BrFonWga-DiqKGCh-.js → StatementItem-BxnOzchG-C1vR7F9V.js} +5 -5
- package/dist/assets/StatementsPage-0BpH6B2F-c3HeY-pH.js +58 -0
- package/dist/assets/{StatusSwitcher-BWCVuAz5-D3jo7wqm.js → StatusSwitcher-Cj2oyfqn-GHqh8PSV.js} +1 -1
- package/dist/assets/{SubTabSwitcher-W-flws9A-BTelX8y_.js → SubTabSwitcher-B-gfkK-k-9khtx1-k.js} +1 -1
- package/dist/assets/{SummaryCard-Cy_49HY6-B5IOHtbz.js → SummaryCard-D92z4WU0-Dk2J87_c.js} +1 -1
- package/dist/assets/{TaskManagementPage-CgcgC28Q-DPD0nZtS.js → TaskManagementPage-DND-MEly-DfQOsUTI.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-xEM6Ast5-BNVisZRV.js → TimeRangeSwitcher-BCfDT5nQ-BnXndCyZ.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-CJnjD8oY-C839RlNd.js → TimeframeSwitcher-CCMyvSSI-DIRa_Jc4.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-CTsXGTZM-Y9gaGt4o.js → TimeframeSwitcherWithToggle-Di1hQ-WC-DVlTpSsC.js} +2 -2
- package/dist/assets/{TopExCard-CK7rIKlo-BNMHqp-4.js → TopExCard-B4CpuO-v-CxDodwtl.js} +3 -3
- package/dist/assets/{TopExDetailPage-Dc310wcN-BBhzZoVz.js → TopExDetailPage-BWdJnu-c-DDcIl_DR.js} +6 -6
- package/dist/assets/{TransactionDetailPage-BsSYhKxb-BeUI9jq4.js → TransactionDetailPage-CL_VbaJy-BG7mpSq_.js} +1 -1
- package/dist/assets/{TransactionList-CKgtf7lj-CeKhT4wB.js → TransactionList-CSfzB0gM-Dw6vqliW.js} +6 -6
- package/dist/assets/{TransactionListBig-DY6b3Ezl-DffujAvB.js → TransactionListBig-Dkdt0pvn-BZrDL6CH.js} +1 -1
- package/dist/assets/{TransactionListPage-CDc30p4A-D4rmxF8E.js → TransactionListPage-DBAqpKkc-SGyXtVgm.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-Ca8K8WSI-CLXVHv_c.js → TransactionVendorDetailPage-BPb6IGMd-D5zJvpum.js} +1 -1
- package/dist/assets/{TransferDrawerPage-xTOs2aDo-Cdu71p0I.js → TransferDrawerPage-oyNu_G0D-C-dL6Rya.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-CnJn5fQJ-BMNFC9wv.js → TreasuryOverviewPage-DIPEykKC-C5rL0Wer.js} +9 -9
- package/dist/assets/{TreasuryPromoPage-PW6ExJSX-C2E-AneM.js → TreasuryPromoPage-wmxtzW1N-BB1K5PqR.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-Dh5jSrh1-DVLMH1-Q.js → TreasuryStatementsPage-vHS-mb3R-Ddrpn04Q.js} +2 -2
- package/dist/assets/{TreasuryTaxLetterPage-K4MAoNHw-C_oxTn6C.js → TreasuryTaxLetterPage-3fiYxv2D-Dg0xbQQQ.js} +1 -1
- package/dist/assets/{TrendChart-DGkb9XC6-TghRUAyK.js → TrendChart-dVd4QdGQ-CLKuTzb2.js} +2 -2
- package/dist/assets/{TrendWithTransactions-BhIw1vzx-DxHaizu4.js → TrendWithTransactions-zZUv_Qrs-BElxtx49.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-U-ABmUHs-HkDX3n37.js → UncategorizedAccountsMappingPage-CcyG64pA-0yQuhcbM.js} +5 -5
- package/dist/assets/{UnitIntegrationPage-XOk1iw8U-R_8yzBvv.js → UnitIntegrationPage-BL6g4XY0-fYnhKg75.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-ucIA0by--ChniuyNy.js → UploadAdditionalDocumentOverlay-CBg0WhaZ-C_8-7GFi.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-CNfFCjsZ-CkoROyAM.js → Vendor2FAPopup-CF5AV8a5-BsgzaDOa.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-B_wVoMw5-D4XhjcJ1.js +1 -0
- package/dist/assets/{VendorDetailPage-DRLUdE3F-D_wc_LO2.js → VendorDetailPage-C168zV-E-B3dEwSOF.js} +1 -1
- package/dist/assets/VendorDomesticWireDetailsPage-cAu_hGIj-CosrcI_S.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-Yq4XoFtd-SHoE98jg.js → VendorFiling1099EditablePage-DVrk7af6-wOFW-4Wi.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-BTFeQPW6-CV-VtP76.js → VendorFirstReviewPage-kiMBuYID-CtvtJJUg.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-CdXjkgWl-DUXdXswt.js → VendorInternationalWireDetailsPage-CtGJurq9-CCXwNCAZ.js} +1 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-Cy8QoA_b-vnefUABQ.js +1 -0
- package/dist/assets/{VendorsAccountsSection-CIZ6amoh-iOdKNRxH.js → VendorsAccountsSection-B9Ik1T2V-BaqvYUX_.js} +1 -1
- package/dist/assets/{VerifyDevice-BLi9cbRT-CwhVwlo_.js → VerifyDevice-DfX9VA7b-BdOPIyEo.js} +9 -9
- package/dist/assets/{VideoPlayer-BDCZd8K1-B6XIA6Sy.js → VideoPlayer-_FcQClfH-cuN5RcOe.js} +2 -2
- package/dist/assets/{VideoPopup-Cni9gWLX-Db1l5e36.js → VideoPopup-D0XTfD6q-CZBktelE.js} +3 -3
- package/dist/assets/{WarningsDrawerPage-DO3TH_cI-DqJoX6_I.js → WarningsDrawerPage-DIwWkX4B-B-UdjfAF.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-CBbqwtvo-DCLT-Box.js → ZeniAccountDetailPage-mo0trXHB-B20udciT.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-bS_K_U_k-C2TK8yr_.js → ZeniAccountListViewPage-CVzyx1Sx-CoJhvG_N.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-D4Nhv6iC-CW7ZMFVA.js → ZeniAccountNavBarPieces-CbXVnnp9-Dnxyvh_X.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-C40ORHL2-5Ose9Cov.js → ZeniAccountPromoPage-gZMYr_Ux-DJicJ7wt.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-DfGwW1gJ-N18Rwn0q.js → ZeniAccountSetupPage-DPOLAjZV-DJVpJ_Nd.js} +1 -1
- package/dist/assets/{ZeniCopyright-D_tc-vwm-DQ7m38Jq.js → ZeniCopyright-BDUQdaKP-B6B-IB0N.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-CwO6861o-9MWcE76i.js → ZeniTransferAmountSlider-B-nq8t_K-ANSQo16z.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-DMQostt2.js → add-to-wallet-DgdBD8_G-BBEivBdQ.js} +1 -1
- package/dist/assets/{analytics-YsywGP0I.js → analytics-DO1unY4G.js} +1 -1
- package/dist/assets/{analyticsHelper-Bv2VSRHR-D5TeO7Fb.js → analyticsHelper-7cF4XxuH-_xEf-TSd.js} +1 -1
- package/dist/assets/{analyticsHelper-CM3pI6rO.js → analyticsHelper-ZZI8M_53.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-BwMp8Z1R.js → arrow-south-east-round-PEovUgvH-CV7FSM6U.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-CCCTiB9K.js → auto-transfer-rule-mbafm5D3-CJUhOMj-.js} +1 -1
- package/dist/assets/{chartTypes-CiiHHtlc-DhZqwiAZ.js → chartTypes-DjzTOuyH-BFNN0c4F.js} +1 -1
- package/dist/assets/{commonDimensions-B94VpAp0-CDUYcayo.js → commonDimensions-CtIrih5r-CfslRtQI.js} +1 -1
- package/dist/assets/{commonTypes-CG4vvGyc-CziHlkCE.js → commonTypes-9h2Y-L4i-CJG-nO2R.js} +1 -1
- package/dist/assets/{constants-D9J3MLx1.js → constants-pYZADjo8.js} +1 -1
- package/dist/assets/{core-mVc5WAnu.js → core-B9Znwqny.js} +1 -1
- package/dist/assets/{dash.all.min-DEG4Ymx5.js → dash.all.min-CS5kHJkT.js} +1 -1
- package/dist/assets/{detailCommon-D84jR8Js-CvDn1aAe.js → detailCommon-CEOeZl26-CdFIe8qF.js} +6 -6
- package/dist/assets/{downloadPdf-CU0hwe3m-B1XwfpLd.js → downloadPdf-Pyk_BhF7-WEbr68vS.js} +1 -1
- package/dist/assets/{empty-5WWfUuj_.js → empty-ChJVx-YB.js} +1 -1
- package/dist/assets/{empty-DgV33Jfm.js → empty-CpGZk5F5.js} +1 -1
- package/dist/assets/{epic-BDbWyMmO.js → epic-C_GKKQik.js} +2 -2
- package/dist/assets/{gift-box-Cmt9OgIZ-DkfKk8Ub.js → gift-box-Cmt9OgIZ-DNEMczKk.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-DdD14QZ1.js → graphic-no-data-l-DU4J8fDt-Bx_mQw5e.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-Bxmoc4Q1.js → graphic-no-data-net-burn-l-CzmycA0m-C46dJM7J.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-BtKj2QSx.js → handshake-BPg58FML-C6X_P0qB.js} +1 -1
- package/dist/assets/{index-DfP1TP46.js → index-1k0W8uO3.js} +1 -1
- package/dist/assets/{index-DBHzoy-Y.js → index-BFgzVTwo.js} +1 -1
- package/dist/assets/{index-AqGiWrum.js → index-BhvUwV_v.js} +8 -8
- package/dist/assets/{index-B0WS5HXc.js → index-CPEwTrV2.js} +1 -1
- package/dist/assets/{index-0lgepYHN.js → index-CfJ2tiIp.js} +1 -1
- package/dist/assets/{index-CneahQyi.js → index-DpdT_X0L.js} +1 -1
- package/dist/assets/{index-s8Qql19x.js → index-POT-Iy9l.js} +1 -1
- package/dist/assets/{lexical-D1NyDz9G.js → lexical-DSIpBzCF.js} +1 -1
- package/dist/assets/{liveblocks-D8QW-YrN.js → liveblocks-BqcT5iTZ.js} +1 -1
- package/dist/assets/{lottie-CoVfqInY.js → lottie-oQfNS8l-.js} +2 -2
- package/dist/assets/{mapLoadingInProgressToTreeNode-dE6c_J7g-BidRqUlX.js → mapLoadingInProgressToTreeNode-DoHalh0I-DytjKdZ3.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-C9RPV_Hz-BdcAtsjX.js → mapSectionWithAcOnlyToTreeNode-CjiNTI8L-BE28qPgb.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-Di-_Qhw7-nEHRbBKZ.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-BaIl_VbE-C25WmKnk.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-mMtwXmJx-B8gyB0Lt.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Dj8VTtaz-BeBYiLrc.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Bz1bR9oN-BR28SX0V.js} +1 -1
- package/dist/assets/{mui-C_Pjuwl5.js → mui-DqYnCiYu.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-CwgQ04Z1.js → page-detail-CWX5S47F-C4YmGfRe.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-DOAN6MGR.js → radio-default-CiSgisfh-C5tnzklf.js} +1 -1
- package/dist/assets/{react-UmTxIL5W.js → react-B-LXbQdG.js} +2 -2
- package/dist/assets/{react-B4qkP2kJ.js → react-BPazyT0C.js} +1 -1
- package/dist/assets/{react-B1uWJZNI.js → react-Bu5BHG8O.js} +2 -2
- package/dist/assets/{react-COMbZ_ke.js → react-CBiOQOL3.js} +2 -2
- package/dist/assets/{react-CYpEpWLK.js → react-D2eQzOPv.js} +1 -1
- package/dist/assets/{react-CzW7TnV7.js → react-DEOv3QaS.js} +3 -3
- package/dist/assets/{react-Dk6KMPxp.js → react-DbRD5tNt.js} +2 -2
- package/dist/assets/{react-VqVdlbBp.js → react-xLrt57tQ.js} +3 -3
- package/dist/assets/{recharts-BGj_NTVO.js → recharts-D7E0WJGk.js} +1 -1
- package/dist/assets/{sentry-CTKU7CLc.js → sentry-DgGQRl6g.js} +2 -2
- package/dist/assets/{shield-DOlUxcFf-Chnu35pG.js → shield-DOlUxcFf-DK1OxwF6.js} +1 -1
- package/dist/assets/toCOABalancesWithID-CjVmQxAs-8r-ogQXf.js +1 -0
- package/dist/assets/{toChartData-DShY1WZ8-5FxZpBKl.js → toChartData-BFuIgA2L-C4IkmCYG.js} +1 -1
- package/dist/assets/{uploadAttachment-DKMAkDBt-BNugFjMC.js → uploadAttachment-ux9baWqa-BwjN4G2_.js} +1 -1
- package/dist/assets/{uploadReceipts-DJRtId-4-Bz9k1YgZ.js → uploadReceipts-DJRtId-4-xnWXJPvb.js} +1 -1
- package/dist/assets/{url-QugEHHKq.js → url-CW650CMO.js} +1 -1
- package/dist/assets/{url-CQ0hVJlH.js → url-DxcM52GB.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-B-Cv7oJI.js → useLongPress-GCK2COYQ-D9KvmRO7.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-DQyOXy13.js → usp-line-BBd1wKwW-EmNWFdhU.js} +1 -1
- package/dist/assets/{utils-DJxCyxGL.js → utils-C_quS4m3.js} +1 -1
- package/dist/assets/{zeni-epic-state-Cl3KIlic.js → zeni-epic-state-WWg2r7iB.js} +31 -31
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/AccountInfoPage-5HB6qYYU-DqbEDlqg.js +0 -18
- package/dist/assets/BillPayApprovalRulesPage-Blk0_0Ou-58r-fHor.js +0 -241
- package/dist/assets/CustomerOnboardingContainerPage-9g2L_yuF-C903cC5U.js +0 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-CE2ztcG2-D-ZOZhc2.js +0 -202
- package/dist/assets/MagicLinkACHDetailsPage-DwbFsGsL-BQPyG1YA.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BgjMH36H-BbUZS1ad.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-C0jHD-87-CatMqDsO.js +0 -1
- package/dist/assets/MailingDetailsSection-B8g--tZ7-9mvfahRZ.js +0 -21
- package/dist/assets/Preview-o2DriYSg.js +0 -1
- package/dist/assets/ReimbursementApprovalRulesPage-CA54CNCd-BZeyQfno.js +0 -243
- package/dist/assets/SignInScreen-4muhcIyV.js +0 -1
- package/dist/assets/SpendManagementListViewPage-D0iaA1Tz-COkv1PV-.js +0 -134
- package/dist/assets/SpendManagementPerTabPage-NhC0DYPW-Dwrce6yO.js +0 -785
- package/dist/assets/StatementsPage-1LjLplay-CRMJqr5z.js +0 -58
- package/dist/assets/VendorACHDetailsPage-DbsvUZbM-D7Jtn49D.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-zrRC15oK-WziwpShk.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BjUdW9fP-BIKyz_yo.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-CxY0Ic8W-W7hZE2p5.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-BJHD6cPI-DvQ95SJz.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-rysmkLch-Dj7OJ6xq.js +0 -1
- package/dist/assets/toCOABalancesWithID-RFiSMP1Z-CSbaIcFr.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import{B as ue,aQ as Ne,b as ee,o as u,p as q,Q as ce,V as s,bR as Ue,g as je,cI as Me,aV as ne,F as ke,y as oe,bw as Ve,bU as Fe,al as Ae,aR as qe,ae as de,u as He,gT as Ke,am as Je,a as Ge}from"./index-
|
|
2
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var k=function(e,r,n){var o=!!n,i=l.useRef(n);l.useEffect(function(){i.current=n},[n]),l.useEffect(function(){if(!o||!e)return function(){};var c=function(){i.current&&i.current.apply(i,arguments)};return e.on(r,c),function(){e.off(r,c)}},[o,r,e,i])},ie=function(e){var r=l.useRef(e);return l.useEffect(function(){r.current=e},[e]),r.current},H=function(e){return e!==null&&te(e)==="object"},tt=function(e){return H(e)&&typeof e.then=="function"},rt=function(e){return H(e)&&typeof e.elements=="function"&&typeof e.createToken=="function"&&typeof e.createPaymentMethod=="function"&&typeof e.confirmCardPayment=="function"},he="[object Object]",nt=function t(e,r){if(!H(e)||!H(r))return e===r;var n=Array.isArray(e),o=Array.isArray(r);if(n!==o)return!1;var i=Object.prototype.toString.call(e)===he,c=Object.prototype.toString.call(r)===he;if(i!==c)return!1;if(!i&&!n)return e===r;var p=Object.keys(e),a=Object.keys(r);if(p.length!==a.length)return!1;for(var h={},f=0;f<p.length;f+=1)h[p[f]]=!0;for(var b=0;b<a.length;b+=1)h[a[b]]=!0;var m=Object.keys(h);if(m.length!==p.length)return!1;var w=e,x=r,S=function(I){return t(w[I],x[I])};return m.every(S)},Oe=function(e,r,n){return H(e)?Object.keys(e).reduce(function(o,i){var c=!H(r)||!nt(e[i],r[i]);return n.includes(i)?(c&&console.warn("Unsupported prop change: options.".concat(i," is not a mutable property.")),o):c?fe(fe({},o||{}),{},Ie({},i,e[i])):o},null):null},Le="Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.",ge=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Le;if(e===null||rt(e))return e;throw new Error(r)},ot=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Le;if(tt(e))return{tag:"async",stripePromise:Promise.resolve(e).then(function(o){return ge(o,r)})};var n=ge(e,r);return n===null?{tag:"empty"}:{tag:"sync",stripe:n}},at=function(e){!e||!e._registerWrapper||!e.registerAppInfo||(e._registerWrapper({name:"react-stripe-js",version:"2.7.3"}),e.registerAppInfo({name:"react-stripe-js",version:"2.7.3",url:"https://stripe.com/docs/stripe-js/react"}))},re=l.createContext(null);re.displayName="ElementsContext";var Re=function(e,r){if(!e)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(r," in an <Elements> provider."));return e},Te=function(e){var r=e.stripe,n=e.options,o=e.children,i=l.useMemo(function(){return ot(r)},[r]),c=l.useState(function(){return{stripe:i.tag==="sync"?i.stripe:null,elements:i.tag==="sync"?i.stripe.elements(n):null}}),p=$e(c,2),a=p[0],h=p[1];l.useEffect(function(){var m=!0,w=function(S){h(function(
|
|
1
|
+
import{B as ue,aQ as Ne,b as ee,o as u,p as q,Q as ce,V as s,bR as Ue,g as je,cI as Me,aV as ne,F as ke,y as oe,bw as Ve,bU as Fe,al as Ae,aR as qe,ae as de,u as He,gT as Ke,am as Je,a as Ge}from"./index-BhvUwV_v.js";import{P as l,a as L}from"./sentry-DgGQRl6g.js";import{n as y}from"./mui-DqYnCiYu.js";import{P as d}from"./core-B9Znwqny.js";import{n as ae}from"./commonTypes-9h2Y-L4i-CJG-nO2R.js";import{F as Ye}from"./SetUpAccountSection-DOvqcC8t-DxYvNTsg.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="9ca9a12b-8d9b-4c5f-a924-838ed99a6db8",t._sentryDebugIdIdentifier="sentry-dbid-9ca9a12b-8d9b-4c5f-a924-838ed99a6db8")}catch{}})();function pe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),r.push.apply(r,n)}return r}function fe(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?pe(Object(r),!0).forEach(function(n){Ie(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):pe(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function te(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?te=function(e){return typeof e}:te=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},te(t)}function Ie(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function $e(t,e){return Qe(t)||Ze(t,e)||Xe(t,e)||et()}function Qe(t){if(Array.isArray(t))return t}function Ze(t,e){var r=t&&(typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"]);if(r!=null){var n=[],o=!0,i=!1,c,p;try{for(r=r.call(t);!(o=(c=r.next()).done)&&(n.push(c.value),!(e&&n.length===e));o=!0);}catch(a){i=!0,p=a}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw p}}return n}}function Xe(t,e){if(t){if(typeof t=="string")return me(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return me(t,e)}}function me(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function et(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var k=function(e,r,n){var o=!!n,i=l.useRef(n);l.useEffect(function(){i.current=n},[n]),l.useEffect(function(){if(!o||!e)return function(){};var c=function(){i.current&&i.current.apply(i,arguments)};return e.on(r,c),function(){e.off(r,c)}},[o,r,e,i])},ie=function(e){var r=l.useRef(e);return l.useEffect(function(){r.current=e},[e]),r.current},H=function(e){return e!==null&&te(e)==="object"},tt=function(e){return H(e)&&typeof e.then=="function"},rt=function(e){return H(e)&&typeof e.elements=="function"&&typeof e.createToken=="function"&&typeof e.createPaymentMethod=="function"&&typeof e.confirmCardPayment=="function"},he="[object Object]",nt=function t(e,r){if(!H(e)||!H(r))return e===r;var n=Array.isArray(e),o=Array.isArray(r);if(n!==o)return!1;var i=Object.prototype.toString.call(e)===he,c=Object.prototype.toString.call(r)===he;if(i!==c)return!1;if(!i&&!n)return e===r;var p=Object.keys(e),a=Object.keys(r);if(p.length!==a.length)return!1;for(var h={},f=0;f<p.length;f+=1)h[p[f]]=!0;for(var b=0;b<a.length;b+=1)h[a[b]]=!0;var m=Object.keys(h);if(m.length!==p.length)return!1;var w=e,x=r,S=function(I){return t(w[I],x[I])};return m.every(S)},Oe=function(e,r,n){return H(e)?Object.keys(e).reduce(function(o,i){var c=!H(r)||!nt(e[i],r[i]);return n.includes(i)?(c&&console.warn("Unsupported prop change: options.".concat(i," is not a mutable property.")),o):c?fe(fe({},o||{}),{},Ie({},i,e[i])):o},null):null},Le="Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.",ge=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Le;if(e===null||rt(e))return e;throw new Error(r)},ot=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Le;if(tt(e))return{tag:"async",stripePromise:Promise.resolve(e).then(function(o){return ge(o,r)})};var n=ge(e,r);return n===null?{tag:"empty"}:{tag:"sync",stripe:n}},at=function(e){!e||!e._registerWrapper||!e.registerAppInfo||(e._registerWrapper({name:"react-stripe-js",version:"2.7.3"}),e.registerAppInfo({name:"react-stripe-js",version:"2.7.3",url:"https://stripe.com/docs/stripe-js/react"}))},re=l.createContext(null);re.displayName="ElementsContext";var Re=function(e,r){if(!e)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(r," in an <Elements> provider."));return e},Te=function(e){var r=e.stripe,n=e.options,o=e.children,i=l.useMemo(function(){return ot(r)},[r]),c=l.useState(function(){return{stripe:i.tag==="sync"?i.stripe:null,elements:i.tag==="sync"?i.stripe.elements(n):null}}),p=$e(c,2),a=p[0],h=p[1];l.useEffect(function(){var m=!0,w=function(S){h(function(E){return E.stripe?E:{stripe:S,elements:S.elements(n)}})};return i.tag==="async"&&!a.stripe?i.stripePromise.then(function(x){x&&m&&w(x)}):i.tag==="sync"&&!a.stripe&&w(i.stripe),function(){m=!1}},[i,a,n]);var f=ie(r);l.useEffect(function(){f!==null&&f!==r&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it.")},[f,r]);var b=ie(n);return l.useEffect(function(){if(a.elements){var m=Oe(n,b,["clientSecret","fonts"]);m&&a.elements.update(m)}},[n,b,a.elements]),l.useEffect(function(){at(a.stripe)},[a.stripe]),l.createElement(re.Provider,{value:a},o)};Te.propTypes={stripe:d.any,options:d.object};var it=function(e){var r=l.useContext(re);return Re(r,e)},st=function(){var e=it("calls useElements()"),r=e.elements;return r};d.func.isRequired;var _e=l.createContext(null);_e.displayName="CustomCheckoutSdkContext";var ct=function(e,r){if(!e)throw new Error("Could not find CustomCheckoutProvider context; You need to wrap the part of your app that ".concat(r," in an <CustomCheckoutProvider> provider."));return e},lt=l.createContext(null);lt.displayName="CustomCheckoutContext";d.any,d.shape({clientSecret:d.string.isRequired,elementsOptions:d.object}).isRequired;var se=function(e){var r=l.useContext(_e),n=l.useContext(re);if(r&&n)throw new Error("You cannot wrap the part of your app that ".concat(e," in both <CustomCheckoutProvider> and <Elements> providers."));return r?ct(r,e):Re(n,e)},ut=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},v=function(e,r){var n="".concat(ut(e),"Element"),o=function(a){var h=a.id,f=a.className,b=a.options,m=b===void 0?{}:b,w=a.onBlur,x=a.onFocus,S=a.onReady,E=a.onChange,I=a.onEscape,U=a.onClick,M=a.onLoadError,V=a.onLoaderStart,D=a.onNetworksChange,$=a.onConfirm,K=a.onCancel,B=a.onShippingAddressChange,N=a.onShippingRateChange,R=se("mounts <".concat(n,">")),_="elements"in R?R.elements:null,P="customCheckoutSdk"in R?R.customCheckoutSdk:null,T=l.useState(null),z=$e(T,2),g=z[0],W=z[1],j=l.useRef(null),F=l.useRef(null);k(g,"blur",w),k(g,"focus",x),k(g,"escape",I),k(g,"click",U),k(g,"loaderror",M),k(g,"loaderstart",V),k(g,"networkschange",D),k(g,"confirm",$),k(g,"cancel",K),k(g,"shippingaddresschange",B),k(g,"shippingratechange",N),k(g,"change",E);var J;S&&(e==="expressCheckout"?J=S:J=function(){S(g)}),k(g,"ready",J),l.useLayoutEffect(function(){if(j.current===null&&F.current!==null&&(_||P)){var O=null;P?O=P.createElement(e,m):_&&(O=_.create(e,m)),j.current=O,W(O),O&&O.mount(F.current)}},[_,P,m]);var le=ie(m);return l.useEffect(function(){if(j.current){var O=Oe(m,le,["paymentRequest"]);O&&j.current.update(O)}},[m,le]),l.useLayoutEffect(function(){return function(){if(j.current&&typeof j.current.destroy=="function")try{j.current.destroy(),j.current=null}catch{}}},[]),l.createElement("div",{id:h,className:f,ref:F})},i=function(a){se("mounts <".concat(n,">"));var h=a.id,f=a.className;return l.createElement("div",{id:h,className:f})},c=r?i:o;return c.propTypes={id:d.string,className:d.string,onChange:d.func,onBlur:d.func,onFocus:d.func,onReady:d.func,onEscape:d.func,onClick:d.func,onLoadError:d.func,onLoaderStart:d.func,onNetworksChange:d.func,onConfirm:d.func,onCancel:d.func,onShippingAddressChange:d.func,onShippingRateChange:d.func,options:d.object},c.displayName=n,c.__elementType=e,c},C=typeof window>"u",dt=l.createContext(null);dt.displayName="EmbeddedCheckoutProviderContext";var pt=function(){var e=se("calls useStripe()"),r=e.stripe;return r};v("auBankAccount",C);v("card",C);var ye=v("cardNumber",C),Se=v("cardExpiry",C),ve=v("cardCvc",C);v("fpxBank",C);v("iban",C);v("idealBank",C);v("p24Bank",C);v("epsBank",C);v("payment",C);v("expressCheckout",C);v("paymentRequestButton",C);v("linkAuthentication",C);v("address",C);v("shippingAddress",C);v("paymentMethodMessaging",C);v("affirmMessage",C);v("afterpayClearpayMessage",C);var ze="https://js.stripe.com/v3",ft=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/;var mt=function(){for(var e=document.querySelectorAll('script[src^="'.concat(ze,'"]')),r=0;r<e.length;r++){var n=e[r];if(ft.test(n.src))return n}return null},Ce=function(e){var r="",n=document.createElement("script");n.src="".concat(ze).concat(r);var o=document.head||document.body;if(!o)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return o.appendChild(n),n},ht=function(e,r){!e||!e._registerWrapper||e._registerWrapper({name:"stripe-js",version:"4.3.0",startTime:r})},G=null,Z=null,X=null,gt=function(e){return function(){e(new Error("Failed to load Stripe.js"))}},yt=function(e,r){return function(){window.Stripe?e(window.Stripe):r(new Error("Stripe.js not available"))}},St=function(e){return G!==null?G:(G=new Promise(function(r,n){if(typeof window>"u"||typeof document>"u"){r(null);return}if(window.Stripe){r(window.Stripe);return}try{var o=mt();if(!(o&&e)){if(!o)o=Ce(e);else if(o&&X!==null&&Z!==null){var i;o.removeEventListener("load",X),o.removeEventListener("error",Z),(i=o.parentNode)===null||i===void 0||i.removeChild(o),o=Ce(e)}}X=yt(r,n),Z=gt(n),o.addEventListener("load",X),o.addEventListener("error",Z)}catch(c){n(c);return}}),G.catch(function(r){return G=null,Promise.reject(r)}))},vt=function(e,r,n){if(e===null)return null;var o=e.apply(void 0,r);return ht(o,n),o},Y,We=!1,De=function(){return Y||(Y=St(null).catch(function(e){return Y=null,Promise.reject(e)}),Y)};Promise.resolve().then(function(){return De()}).catch(function(t){We||console.warn(t)});var Ct=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];We=!0;var o=Date.now();return De().then(function(i){return vt(i,r,o)})};const bt={containerHeight:new oe(656,720)},xt=y.div`
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
5
5
|
gap: 20px;
|
|
@@ -12,11 +12,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
12
12
|
display: flex;
|
|
13
13
|
flex-direction: column;
|
|
14
14
|
margin-bottom: ${u.sp2};
|
|
15
|
-
`,
|
|
15
|
+
`,Pt=y(Fe)`
|
|
16
16
|
padding-top: ${u.sp4};
|
|
17
17
|
text-align: center;
|
|
18
18
|
color: ${t=>t.theme.colors.primary};
|
|
19
|
-
`,
|
|
19
|
+
`,Et=y(Ae)`
|
|
20
20
|
color: ${t=>t.theme.colors.hero};
|
|
21
21
|
text-align: center;
|
|
22
22
|
`,jt=y.div`
|
|
@@ -86,10 +86,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
86
86
|
color: ${t=>t.theme.colors.hero};
|
|
87
87
|
text-align: center;
|
|
88
88
|
margin-top: ${u.sp2};
|
|
89
|
-
`,we=t=>`${t}_form`,
|
|
89
|
+
`,we=t=>`${t}_form`,Pe="CardPaymentPaymentForm",_t=({cardPaymentView:t,clientSecret:e,cardSetupInProgress:r,handleConfirmCardSetupIntent:n,updateCardPaymentModalState:o,handleAddCardPaymentSource:i,setCardSetupInProgress:c})=>{const p=pt(),a=st(),[h,f]=L.useState(!1),[b,m]=L.useState(!1),[w,x]=L.useState(!1),[S,E]=L.useState(!1),I=ce(),U=t.cardSetupConfirmStatus.fetchState,M=t.addCardPaymentSourceStatus.fetchState,V=t.cardSetupIntentStatus.fetchState,[D,$]=L.useState(!1),K=async P=>{if(P.preventDefault(),!p||!a)return;const T=a.getElement(ye),z=a.getElement(Se),g=a.getElement(ve);(!T||!z||!g)&&$(!0),E(!0),c(!0),T!=null&&z!=null&&g!=null&&p.confirmCardSetup(e,{payment_method:{card:T}}).then(W=>{E(!1),n(W),W.setupIntent?.id!=null&&i("card","payment_intent",W.setupIntent?.id)}).catch(()=>{E(!1),setTimeout(()=>{c(!1)},2e3)})},B=je(),N={showIcon:!0,style:{base:{...ee.standardRegular.cssObject,color:B.colors.primary,"::placeholder":{color:B.colors.grey2}},invalid:{color:q.important,iconColor:q.important}}},R=U==="In-Progress"||M==="In-Progress"||V==="In-Progress"||S===!0||r===!0,_=h||b||w||U==="In-Progress"||M==="In-Progress"||V==="In-Progress"||S===!0||r===!0;return s.jsx(jt,{windowSize:I,children:s.jsxs(wt,{onSubmit:K,id:we(Pe),children:[s.jsxs(It,{children:[s.jsx($t,{children:s.jsx(Ot,{children:s.jsx(ye,{options:N,onChange:P=>f(!!P.error)})})}),s.jsx(Lt,{children:s.jsxs(kt,{children:[s.jsx(be,{children:A.cardNumber}),s.jsx(Se,{options:N,onChange:P=>m(!!P.error)})]})}),s.jsx(Rt,{children:s.jsxs(At,{children:[s.jsx(be,{children:A.CVC}),s.jsx(ve,{options:N,onChange:P=>x(!!P.error)})]})})]}),t.cardSetupConfirmStatus.error||D?s.jsx(Be,{children:A.errorMsg}):null,s.jsx(qe,{style:{width:"100%",padding:`${u.sp3} 0 0 0`,borderTop:"none",position:"inherit"},formId:we(Pe),primaryBtn:{label:xe.linkCard,style:{width:"104px",height:u.sp6},isLoading:R,isDisabled:_,type:"submit"},cancelBtn:{label:xe.cancel,style:{width:"104px",height:u.sp6},onClick:()=>{o(!1)}}}),s.jsxs(Tt,{windowSize:I,children:[A.terms.term1,s.jsx(de,{href:A.terms.term2Link,linkText:A.terms.term2}),A.terms.term3,s.jsx(de,{href:A.terms.term4Link,linkText:A.terms.term4})]})]})})},Yt=({isCardPaymentOpen:t,cardPaymentView:e,stripeKey:r,cardSetupInProgress:n,handleConfirmCardSetupIntent:o,updateCardPaymentModalState:i,handleCreateCardSetupIntent:c,handleAddCardPaymentSource:p,handleResetCardPaymentErrorStatuses:a,setCardSetupInProgress:h})=>{const[f,b]=L.useState(""),m=Ct(r),w=Ne(e.addCardPaymentSourceStatus.fetchState),x=e.addCardPaymentSourceStatus.fetchState;L.useEffect(()=>(c(["card"]),()=>{i(!1),b(""),a()}),[]),L.useEffect(()=>{a()},[t]),L.useEffect(()=>{w==="In-Progress"&&x==="Error"?(h(!1),setTimeout(()=>{i(!1)},2e3)):w==="In-Progress"&&x==="Completed"&&(c(["card"]),setTimeout(()=>{i(!1),h(!1)},2e3))},[w,x]),L.useEffect(()=>{(e.cardSetupConfirmStatus.error||e.addCardPaymentSourceStatus.error)&&(c(["card"]),setTimeout(()=>{h(!1)},2e3))},[e.cardSetupConfirmStatus.error,e.addCardPaymentSourceStatus.error]),L.useEffect(()=>{e.clientSecret!=null&&b(e.clientSecret)},[e.clientSecret]);const S={theme:"stripe",variables:{borderRadius:u.sp1,fontSizeBase:ee.standardRegular.fontSize,fontFamily:ee.standardRegular.fontFamily},rules:{".Input":{border:`1px solid ${q.neutralGrey3Light}`,borderRadius:u.sp1,padding:"10px",fontSize:ee.standardRegular.fontSize}}},E={clientSecret:f,appearance:S},I=ce();return s.jsx(Ue,{open:t,children:s.jsxs(xt,{windowSize:I,isError:!!e.cardSetupConfirmStatus.error,children:[s.jsx(Pt,{children:A.title}),s.jsx(Et,{children:A.subtitle}),f&&m!=null?s.jsx(Te,{options:E,stripe:m,children:s.jsx(_t,{clientSecret:f,handleConfirmCardSetupIntent:o,updateCardPaymentModalState:i,handleAddCardPaymentSource:p,cardPaymentView:e,cardSetupInProgress:n,setCardSetupInProgress:h})}):s.jsx(Be,{children:A.errorMsg})]})})},Q={sectionWidth:new oe(343,580,726),iconWidthHeight:new oe(20,He[4])},zt={title:new Ge("standardSemiBold","largeSemiBold")},Ee=t=>t?ae[t]??{name:"Other",iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"}:{name:"Other",iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},Wt=(t,e,r,n)=>({header:t,title:`${ue(ae[n.cardsList[0]?.brand]?.name??"")} ${e}`,subtitle:`${ue(ae[n.cardsList[0]?.brand]?.name??"")} ${r} ${n.cardsList[0]?.last4}`,status:n.cardsList[0]?.status}),Dt=y.img`
|
|
90
90
|
width: ${t=>t.width}px;
|
|
91
91
|
height: ${t=>t.height}px;
|
|
92
|
-
`,Qt=({paymentAccount:t,plaidConnectionDetails:e,connectedAccountProvider:r,sectionId:n,isDisabled:o,hasError:i=!1,isValid:c,style:p,analytics:a,onFetchLinkTokenClick:h,onEstablishConnectionClick:f,onUpdatePaymentAccountStatus:b,onUpdatePaymentAccountLoginStatus:m,onEstablishConnectionSuccess:w,updateCardPaymentModalState:x,cardPaymentView:S,resetCardPaymentViewState:
|
|
92
|
+
`,Qt=({paymentAccount:t,plaidConnectionDetails:e,connectedAccountProvider:r,sectionId:n,isDisabled:o,hasError:i=!1,isValid:c,style:p,analytics:a,onFetchLinkTokenClick:h,onEstablishConnectionClick:f,onUpdatePaymentAccountStatus:b,onUpdatePaymentAccountLoginStatus:m,onEstablishConnectionSuccess:w,updateCardPaymentModalState:x,cardPaymentView:S,resetCardPaymentViewState:E,cardSetupInProgress:I=!1,googleAPIKey:U,subscriptionBillingAddress:M,subscriptionBillingAddressSectionId:V})=>{const D=je(),$=ce(),{register:K}=Me(),B=D.mode==="light"?new ne(D.colors.brandColorJadeLight):new ne(D.colors.brandColorJadeDark),{common:N,customerOnboardingPage:{sections:{link_payment_account:{title:R,text:_,subText:P},card_payment_method:T}}}=ke.getLocalizedStrings(),z=S.cardsList.length>0,g=S.cardsList[0]?.brand??"other",W=S.addCardPaymentSourceStatus.fetchState,j=Wt(T.header,T.titleText,T.protectedCardNo,S);let F;return z&&(F={header:j.header,title:j.title,subtitle:j.subtitle,status:j.status==="valid"?{name:"Verified",code:"verified"}:{name:"Pending",code:"pending"},showAddPaymentMethodDropDown:z===!0,icon:{element:s.jsx(Dt,{src:Ee(g).iconURL,width:Q.iconWidthHeight.valuePx($),height:Q.iconWidthHeight.valuePx($),alt:Ee(g).name,loading:"lazy"}),color:new ne(B)},showCompletedIcon:!1,isError:W==="Error",isLoading:W==="In-Progress",isCompleted:!0,showRightArrow:!1}),s.jsxs(Nt,{windowSize:$,children:[s.jsx(Ut,{type:"hidden",...K(`${n}.connected`,{validate:J=>i?J==="true":!0}),value:c?"true":"false"}),s.jsx(Ye,{connectedAccountProvider:r,paymentAccount:t,plaidConnectionDetails:e,allBankAccounts:[],header:R,sectionTitle:R,defaultSectionTitle:_,defaultSectionSubTitle:P,sectionId:n,isDisabled:o,hasError:i,showZeniAccountSection:!1,isCompleted:t?.providerVerificationStatus?.code?.includes("verified")===!0&&t?.isLoginRequired===!1,showCompletedIcon:$==="small",onFetchLinkTokenClick:h,onEstablishConnectionClick:f,onUpdatePaymentAccountStatus:b,onUpdatePaymentAccountLoginStatus:m,onEstablishConnectionSuccess:w,style:p,icon:{element:s.jsx(Ve,{width:Q.iconWidthHeight.valuePx($),height:Q.iconWidthHeight.valuePx($)}),color:B},analytics:a,productType:"onboarding",resetCardPaymentViewState:E,cardPaymentSectionValues:F,cardPaymentView:S,updateCardPaymentModalState:x,referrer:"Onboarding",cardSetupInProgress:I}),Bt($,N.headers.billingAddress,V,a,M,U,o)]})},Bt=(t,e,r,n,o,i,c)=>{const p={"Add street address":"street_address","Add suite":"suite","Add city":"city","Add state":"state","Select country":"country","Add ZIP code":"zip_code","Add secondary info":"secondary_info"};return s.jsxs(Vt,{children:[s.jsx(Mt,{windowSize:t,isDisabled:c==="disabled",children:e}),s.jsx(Ke,{googleAPIKey:i??"",addressToEdit:o,sectionId:`${r}`,style:{marginLeft:"0px"},elementsStyle:{paddingRight:"0px"},onFormFieldClick:a=>{if(a.target instanceof HTMLInputElement){const{placeholder:h}=a.target;if(h){const f=p[h];f&&n.trackOnboardingBillingAddress(f)}}}})]})},Nt=y.div`
|
|
93
93
|
display: flex;
|
|
94
94
|
flex-direction: column;
|
|
95
95
|
width: ${t=>Q.sectionWidth.valuePx(t.windowSize)};
|
|
@@ -104,4 +104,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
104
104
|
`,Vt=y.div`
|
|
105
105
|
margin-top: ${u.sp5};
|
|
106
106
|
margin-bottom: ${u.sp4};
|
|
107
|
-
`;export{Wt as M,
|
|
107
|
+
`;export{Wt as M,Ee as o,Qt as r,Yt as t};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as $e,Q as I,F as y,V as t,bB as le,aP as a,bN as De,o as s,ck as Oe,cl as _e,T as U,aT as Y,cm as we,r as Le,b as be,cn as Ae,aQ as Ve,co as Me,ap as We,cp as Be,cq as He,b3 as Ue,aD as B,cr as Ke,y as $,cs as Ee,ct as je,u as b,cu as ee,cd as N,cv as Se,a9 as Fe,ac as Ze,cw as qe,cx as Qe,aJ as Je,ai as D,cy as Xe,al as O,am as te,p as A,cz as Ge,ch as ke,ba as ie,cA as Ie,bL as Ye,cB as et}from"./index-
|
|
1
|
+
import{g as $e,Q as I,F as y,V as t,bB as le,aP as a,bN as De,o as s,ck as Oe,cl as _e,T as U,aT as Y,cm as we,r as Le,b as be,cn as Ae,aQ as Ve,co as Me,ap as We,cp as Be,cq as He,b3 as Ue,aD as B,cr as Ke,y as $,cs as Ee,ct as je,u as b,cu as ee,cd as N,cv as Se,a9 as Fe,ac as Ze,cw as qe,cx as Qe,aJ as Je,ai as D,cy as Xe,al as O,am as te,p as A,cz as Ge,ch as ke,ba as ie,cA as Ie,bL as Ye,cB as et}from"./index-BhvUwV_v.js";import{P as ce,a as v}from"./sentry-DgGQRl6g.js";import{n as i}from"./mui-DqYnCiYu.js";import{oV as Ce,bg as X}from"./zeni-epic-state-WWg2r7iB.js";import{T as Re}from"./RoleWithToolTip-DvYf0VUz-DfyQTHhc.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.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]="c14f1773-5495-4f15-97fc-bfd099a9abbc",e._sentryDebugIdIdentifier="sentry-dbid-c14f1773-5495-4f15-97fc-bfd099a9abbc")}catch{}})();const P=y.getLocalizedStrings().peoplePage.header,S=[{key:"name",value:P.name,sortOrder:"ascending",width:new $(32,26,26,30,32)},{key:"role",value:P.role,sortOrder:"ascending",width:new $(18,17,17,21,19)},{key:"manager",value:P.manager,sortOrder:"ascending",width:new $(20,20,20,19,20)},{key:"department",value:P.department,sortOrder:"ascending",width:new $(20,20,20,19,20)},{key:"lastSeen",value:P.lastSeen,sortOrder:"ascending",width:new $(10,17,17,11,9)}],H=[{key:"name",value:P.name,sortOrder:"ascending",width:new $(32,26,26,32,33)},{key:"role",value:P.role,sortOrder:"ascending",width:new $(58,57,57,57,58)},{key:"lastSeen",value:P.lastSeen,sortOrder:"ascending",width:new $(10,17,17,11,9)}],tt=58;function it({userNameSticky:e,sortConfig:o,onColumnSortConfigChanged:l,mode:d}){const m=I(),[p,x]=v.useState(Je(d==="off"?S:H));v.useEffect(()=>{const n=[...p];for(const r of n)r.key===o.sortKey?r.sortOrder=o.sortOrder:r.sortOrder="ascending";x(n)},[o.sortKey,o.sortOrder]);const h=(n,r)=>{let u=r;o.sortKey===n&&(u=r==="ascending"?"descending":"ascending"),l?.(n,u)};return t.jsx(rt,{height:tt,"data-testid":a("people-list-header-row"),children:p.map(n=>t.jsxs(lt,{userNameSticky:!!e&&n.key==="name",sortDataValue:o.sortKey,actualDataValue:n.key,wrapperWidth:n.width,windowSize:m,children:[t.jsxs(dt,{"data-testid":a("people-list-header",n.key),onClick:()=>h(n.key,n.sortOrder),children:[t.jsx(D,{children:n.value}),t.jsx(ot,{sortDataValue:o.sortKey,headerdata:n,children:t.jsx(Xe,{width:12,height:12})})]}),t.jsx(at,{isVisible:o.sortKey===n.key&&n.key!=="name",children:t.jsx(nt,{"data-testid":a("people-list-header-sort-cancel",n.key),onClick:()=>h("name","ascending")})})]},n.key))})}const st=ce.memo(it),ot=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
transform: ${e=>e.sortDataValue===e.headerdata.key&&e.headerdata.sortOrder==="descending"?"rotate(180deg)":"rotate(0deg)"};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as h,P as n}from"./sentry-DgGQRl6g.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="1e21bcae-92bc-4f72-b3b7-b9f34ad2806c",t._sentryDebugIdIdentifier="sentry-dbid-1e21bcae-92bc-4f72-b3b7-b9f34ad2806c")}catch{}})();const c="64px",u={},k=({src:t,light:a,oEmbedUrl:r,onClickPreview:s,playIcon:m,previewTabIndex:I,previewAriaLabel:f})=>{const[b,o]=h.useState(null);h.useEffect(()=>{!t||!a||!r||_({src:t,light:a,oEmbedUrl:r})},[t,a,r]);const _=async({src:e,light:i,oEmbedUrl:E})=>{if(n.isValidElement(i))return;if(typeof i=="string"){o(i);return}if(u[e]){o(u[e]);return}o(null);const y=await(await fetch(E.replace("{url}",e))).json();if(y.thumbnail_url){const g=y.thumbnail_url.replace("height=100","height=480").replace("-d_295x166","-d_640");o(g),u[e]=g}},w=e=>{(e.key==="Enter"||e.key===" ")&&s?.(e)},v=e=>{s?.(e)},l=n.isValidElement(a),p={display:"flex",alignItems:"center",justifyContent:"center"},d={preview:{width:"100%",height:"100%",backgroundImage:b&&!l?`url(${b})`:void 0,backgroundSize:"cover",backgroundPosition:"center",cursor:"pointer",...p},shadow:{background:"radial-gradient(rgb(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%)",borderRadius:c,width:c,height:c,position:l?"absolute":void 0,...p},playIcon:{borderStyle:"solid",borderWidth:"16px 0 16px 26px",borderColor:"transparent transparent transparent white",marginLeft:"7px"}},x=n.createElement("div",{style:d.shadow,className:"react-player__shadow"},n.createElement("div",{style:d.playIcon,className:"react-player__play-icon"}));return n.createElement("div",{style:d.preview,className:"react-player__preview",tabIndex:I,onClick:v,onKeyDown:w,...f?{"aria-label":f}:{}},l?a:null,m||x)};var P=k;export{P as default};
|
package/dist/assets/{ProductsCarousel-CSUU4sEb-_cwSUdhx.js → ProductsCarousel-Dgwws_g9-_dPrFjDV.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{F as D,V as t,a8 as B,o as c,c1 as N,a$ as U,u as V,d6 as q,aq as G,al as T,d7 as H,p as v}from"./index-
|
|
1
|
+
import{F as D,V as t,a8 as B,o as c,c1 as N,a$ as U,u as V,d6 as q,aq as G,al as T,d7 as H,p as v}from"./index-BhvUwV_v.js";import{a as $}from"./sentry-DgGQRl6g.js";import{n as i}from"./mui-DqYnCiYu.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]="35aab6a8-e086-4cb1-a970-fa4a4051f904",e._sentryDebugIdIdentifier="sentry-dbid-35aab6a8-e086-4cb1-a970-fa4a4051f904")}catch{}})();const u=D.getLocalizedStrings(),w={large:{labelComp:q,title:G,subtitle:T,seeMoreLink:T}},J={large:{width:496,height:512,padding:32,svgSize:12,svgContainerHeight:24,gap:8,imageGap:16,borderRadius:16}},r=J.large,Y=i.div`
|
|
2
2
|
width: ${e=>e.scale*r.width}px;
|
|
3
3
|
height: ${e=>e.scale*r.height}px;
|
|
4
4
|
overflow: hidden;
|
package/dist/assets/{PromoBaseCards-CSisWvqE-flcR83jC.js → PromoBaseCards-wfvFaqMw-CY2jDhRy.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as b,V as a,db as m,dc as v,dd as y,bx as z,o as e,p as d,y as r,a as c,u as p}from"./index-
|
|
1
|
+
import{Q as b,V as a,db as m,dc as v,dd as y,bx as z,o as e,p as d,y as r,a as c,u as p}from"./index-BhvUwV_v.js";import{c as i,n as g,k as f}from"./mui-DqYnCiYu.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},h=new o.Error().stack;h&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[h]="9917682f-43bc-49b5-975f-26b3954cbe8c",o._sentryDebugIdIdentifier="sentry-dbid-9917682f-43bc-49b5-975f-26b3954cbe8c")}catch{}})();const t={plasticCardMarginLeft:new r(p[6],120),plasticCardMarginTop:new r(12,-9),businessTextRight:new r(p[2],13),businessTextBottom:new r(p[8],81),chargeCardWidth:new r(240,384),chargeCardHeight:new r(153,243),styledLogoWidth:new r(47,76),styledLogoHeight:new r(46,74),styledFullLogoTop:new r(12,28),styledFullLogoRight:new r(p[2],13),styledFullLogoHeight:new r(20,34),styledFullLogoWidth:new r(88,142),chipLogoWidth:new r(31,50),chipLogoHeight:new r(p[4],39),visaLogoWidth:new r(52,84),visaLogoHeight:new r(17,27),visaLogoRight:new r(p[2],13),visaLogoBottom:new r(p[2],13)},u={businessText:new c("extraSmallRegular","largeRegular"),promoBusinessText:new c("tinyLight","tinyLight")},R=({cardText:o,shouldAnimate:h,showChip:w,forDashboard:s,forListPage:l,cardPromoType:$,style:x})=>{const n=b();return a.jsxs(B,{cardPromoType:$,windowSize:n,shouldAnimate:h,forListPage:l,forDashboard:s,style:x,children:[w&&a.jsx(P,{windowSize:n,forDashboard:s,children:a.jsx(m,{})}),a.jsx(j,{windowSize:n,forDashboard:s,forListPage:l,children:a.jsx(z,{})}),a.jsx(L,{windowSize:n,forDashboard:s,forListPage:l,children:o}),a.jsx(S,{windowSize:n,forDashboard:s,forListPage:l,children:a.jsx(y,{})})]})},A=({cardText:o,shouldAnimate:h,showChip:w,forDashboard:s,forListPage:l,cardPromoType:$,style:x})=>{const n=b();return a.jsxs(H,{cardPromoType:$,windowSize:n,shouldAnimate:h,forListPage:l,forDashboard:s,style:x,children:[w&&a.jsx(P,{windowSize:n,forDashboard:s,children:a.jsx(m,{})}),a.jsx(k,{windowSize:n,forDashboard:s,forListPage:l,children:a.jsx(v,{})}),a.jsx(L,{windowSize:n,forDashboard:s,forListPage:l,children:o}),a.jsx(S,{windowSize:n,forDashboard:s,forListPage:l,children:a.jsx(y,{})})]})},C=f`
|
|
2
2
|
0%{
|
|
3
3
|
transform: rotate(12.4deg);
|
|
4
4
|
translate: ${e.sp0} ${e.sp0};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as f,F as r,V as n,bR as y,r as l,y as c,o as i,aq as w,al as $,af as j,bv as P,eM as v,u as t}from"./index-
|
|
1
|
+
import{Q as f,F as r,V as n,bR as y,r as l,y as c,o as i,aq as w,al as $,af as j,bv as P,eM as v,u as t}from"./index-BhvUwV_v.js";import{n as o}from"./mui-DqYnCiYu.js";import"./sentry-DgGQRl6g.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./zeni-epic-state-WWg2r7iB.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.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]="8e8db6a4-4174-422c-b5da-a5366977725e",e._sentryDebugIdIdentifier="sentry-dbid-8e8db6a4-4174-422c-b5da-a5366977725e")}catch{}})();const s={containerPaddingTop:new c(t[5],t[7]),containerPaddingBottom:new c(t[5],t[5]),containerPaddingLeftRight:new c(t[6],t[11])},_=o.div`
|
|
2
2
|
border-radius: inherit;
|
|
3
3
|
max-width: 520px;
|
|
4
4
|
text-align: center;
|
package/dist/assets/{QBOSetupSection-B2c7ZErC-C8usnCBc.js → QBOSetupSection--FQKYLxN-LYuddynp.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as O,F as u,V as i,r as k,o,y as a,p as c,fN as I,a as T,af as E,bv as B,eM as D,fE as Q,aV as h,ai as f,u as r}from"./index-
|
|
1
|
+
import{Q as O,F as u,V as i,r as k,o,y as a,p as c,fN as I,a as T,af as E,bv as B,eM as D,fE as Q,aV as h,ai as f,u as r}from"./index-BhvUwV_v.js";import{n}from"./mui-DqYnCiYu.js";import W from"./QBOConnectionDialog-CSMrKgrY-gVbZ-mZ8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8a882a0e-214d-4bb0-b720-8df2ee0487cd",e._sentryDebugIdIdentifier="sentry-dbid-8a882a0e-214d-4bb0-b720-8df2ee0487cd")}catch{}})();const l={containerPadding:new a(r[3],r[4]),sectionWidth:new a(343,580,726),topElementsRowGap:new a(r[3],r[0]),arrowIconWidthHeight:new a(r[3],r[4])},_={title:new T("standardMedium","largeMedium")},ee=({isAdmin:e,hasError:t=!1,isValid:d,saveConnectionState:p,isQBOPopupOpen:y,companyName:$,updateQBOPopupState:w,handleOnConnectClick:b})=>{const s=O(),{qbo_connection:j}=u.getLocalizedStrings().customerOnboardingPage.sections,{title:S,sucessText:v,button:z,errorText:P,requiredText:C}=j;return i.jsxs(F,{windowSize:s,children:[i.jsxs(G,{windowSize:s,children:[s==="small"?i.jsx(J,{children:d?i.jsx(K,{}):i.jsx(U,{})}):null,i.jsx(N,{windowSize:s,children:S})]}),i.jsxs(V,{windowSize:s,children:[i.jsxs(A,{windowSize:s,children:[i.jsxs(M,{children:[i.jsx(q,{}),i.jsx(L,{windowSize:s}),i.jsx(R,{})]}),d?s!=="small"?i.jsx(m,{}):null:i.jsx(k,{variant:"primary",size:s!=="small"?"standard":"xs-small",label:z.connect,style:{width:"fit-content"},onClick:()=>w(!0),loading:p==="In-Progress"})]}),d?i.jsxs(i.Fragment,{children:[i.jsx(H,{children:v}),s==="small"?i.jsx(m,{}):null]}):null,p==="Error"?i.jsx(x,{children:i.jsx(g,{windowSize:s,children:P})}):null,t&&!d?i.jsx(x,{children:i.jsx(g,{windowSize:s,children:C})}):null]}),i.jsx(W,{isAdmin:e,isGoBackAllowed:!0,isQBOPopupOpen:y,companyName:$,saveConnectionState:p,handleOnConnectClick:b,handleGoBack:()=>w(!1)})]})},m=()=>{const{tags:e}=u.getLocalizedStrings().customerOnboardingPage,{connected:t}=e;return i.jsx(Q,{style:{width:"max-content",padding:0,marginTop:o.sp2},tagTitle:t,textColor:{color:new h(c.successDark),borderColor:new h(c.successDark)}})},F=n.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
|
@@ -8,7 +8,7 @@ import{Q as O,F as u,V as i,r as k,o,y as a,p as c,fN as I,a as T,af as E,bv as
|
|
|
8
8
|
align-items: center;
|
|
9
9
|
padding-top: ${o.sp3};
|
|
10
10
|
padding-bottom: ${o.sp3};
|
|
11
|
-
width: ${e=>
|
|
11
|
+
width: ${e=>l.sectionWidth.valuePx(e.windowSize)};
|
|
12
12
|
`,N=n.div`
|
|
13
13
|
display: flex;
|
|
14
14
|
align-items: center;
|
|
@@ -17,7 +17,7 @@ import{Q as O,F as u,V as i,r as k,o,y as a,p as c,fN as I,a as T,af as E,bv as
|
|
|
17
17
|
`,V=n.div`
|
|
18
18
|
display: flex;
|
|
19
19
|
flex-direction: column;
|
|
20
|
-
width: ${e=>
|
|
20
|
+
width: ${e=>l.sectionWidth.valuePx(e.windowSize)};
|
|
21
21
|
background-color: ${e=>e.theme.colors.grey5};
|
|
22
22
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
23
23
|
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
@@ -25,7 +25,7 @@ import{Q as O,F as u,V as i,r as k,o,y as a,p as c,fN as I,a as T,af as E,bv as
|
|
|
25
25
|
fill: ${e=>e.theme.colors.grey1};
|
|
26
26
|
justify-content: space-between;
|
|
27
27
|
box-sizing: border-box;
|
|
28
|
-
padding: ${e=>
|
|
28
|
+
padding: ${e=>l.containerPadding.valuePx(e.windowSize)};
|
|
29
29
|
&:hover {
|
|
30
30
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
31
31
|
fill: ${e=>e.theme.colors.primary};
|
|
@@ -41,7 +41,7 @@ import{Q as O,F as u,V as i,r as k,o,y as a,p as c,fN as I,a as T,af as E,bv as
|
|
|
41
41
|
width: 100%;
|
|
42
42
|
display: flex;
|
|
43
43
|
justify-content: space-between;
|
|
44
|
-
row-gap: ${e=>
|
|
44
|
+
row-gap: ${e=>l.topElementsRowGap.valuePx(e.windowSize)};
|
|
45
45
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
46
46
|
`,H=n(f)`
|
|
47
47
|
display: flex;
|
|
@@ -59,8 +59,8 @@ import{Q as O,F as u,V as i,r as k,o,y as a,p as c,fN as I,a as T,af as E,bv as
|
|
|
59
59
|
color: ${e=>e.theme.colors.primary};
|
|
60
60
|
cursor: pointer;
|
|
61
61
|
`,L=n(B)`
|
|
62
|
-
height: ${e=>
|
|
63
|
-
width: ${e=>
|
|
62
|
+
height: ${e=>l.arrowIconWidthHeight.valuePx(e.windowSize)};
|
|
63
|
+
width: ${e=>l.arrowIconWidthHeight.valuePx(e.windowSize)};
|
|
64
64
|
color: ${e=>e.theme.colors.hero};
|
|
65
65
|
`,R=n(D)`
|
|
66
66
|
height: ${o.sp4};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import{y as W,u as L,g as M,Q as G,F as U,a9 as Q,aQ as J,aJ as X,cE as H,V as r,bB as K,ac as Y,aR as Z,o as b,g5 as ee}from"./index-
|
|
1
|
+
import{y as W,u as L,g as M,Q as G,F as U,a9 as Q,aQ as J,aJ as X,cE as H,V as r,bB as K,ac as Y,aR as Z,o as b,g5 as ee}from"./index-BhvUwV_v.js";import{a as B}from"./sentry-DgGQRl6g.js";import{n as c}from"./mui-DqYnCiYu.js";import{b as ae,f as te,o as T,l as $}from"./FollowStepsSection-DbxSUIzC-BaXmlzKU.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./zeni-epic-state-WWg2r7iB.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="eba6b669-a412-4e7b-af71-f6115468e299",e._sentryDebugIdIdentifier="sentry-dbid-eba6b669-a412-4e7b-af71-f6115468e299")}catch{}})();const k="reimbursementApprovalRuleDetailPage",C="lowerBound",j="upperBound",I="steps",h="applyToExistingReimbursements",le={footerPadding:new W(L[2],L[3])};function Re({localData:e,approvalUpdateActionType:t,isLowerBoundDisabled:a=!1,isUpperBoundDisabled:o=!0,hideUpperBoundField:s=!1,onBackClick:p,onApprovalRuleDataUpdated:g,onResetClick:E,onSaveRuleClick:N,onSaveRuleSuccess:A}){const V=M(),S=G(),l=U.getLocalizedStrings().commonSetUp.approval,w=U.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,x=re(e,t==="approval_create"&&!a),y=Q({mode:"all",reValidateMode:"onChange",defaultValues:x}),u=e.remiSetupApproverViewUpdateData?.updateStatus,R=J(u?.fetchState),{upperBound:P}=x,{allApprovalRules:i,allAccountingClasses:F,remiSetupApproverViewUpdateData:m}=e;let f=i.length>1?i.length-1:0,v=i.length>0?i[f].criteria[0].range.min.amount:0;if(m!=null&&m.type==="approval_update"&&m.data!=null){const{approvalRuleId:n}=m.data;f=i.findIndex(d=>d.approvalRuleId===n),v=f>0?i[f-1].criteria[0].range.min.amount:0}const q=y.handleSubmit(()=>{N()}),z=async(n,d)=>{g(d)};return B.useEffect(()=>{const n=y.watch((d,{name:D})=>{if(D!=null&&d!=null){const O=X(d);H(()=>z(D,O))}});return()=>{n.unsubscribe()}}),B.useEffect(()=>{R==="In-Progress"&&u?.fetchState==="Completed"&&A()},[R,u?.fetchState,A]),r.jsxs(ie,{children:[r.jsx(K,{title:t==="approval_create"?l.newApproval:l.editApproval,backgroundColor:V.colors.grey4,style:{zIndex:4},onBackClick:()=>{p()},source:"ReimbursementApprovalRuleDetailPage"}),r.jsx(de,{children:r.jsxs(Y,{...y,children:[r.jsx(ue,{children:r.jsx("form",{id:_(k),onSubmit:q,children:r.jsxs(pe,{children:[r.jsx(ae,{label:{label:s?w.amountPerRemiGreaterLabel:w.amountPerRemiLabel},firstText:{type:"number",name:C,placeholder:"$0",options:{required:!0,max:P===1/0?Number.MAX_SAFE_INTEGER-1:P-1,min:v,validate:n=>a?!0:n!=null&&n>v},isDisabled:a,additionalInfoLabel:l.firstRuleLowerBoundInfoLabel,additionalErrorLabel:l.firstRuleErrorInfoLabel},secondText:{type:"number",name:j,placeholder:"Infinity",isDisabled:o,hideField:s,additionalInfoLabel:l.upperBoundInfoLabel}}),r.jsx(ce,{}),r.jsx(te,{sectionId:I,label:{label:l.followStepsLabel},approversPlaceholder:l.approversPlaceholder,notifiersPlaceholder:l.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(n=>n.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:F,stepsInfo:x[I],userSelectPlaceholder:l.userSelectPlaceholder,approveNotifyPlaceholder:l.approveNotifyPlaceholder,productType:"zeni_reimbursements"})]})})}),r.jsx(Z,{formId:_(k),primaryBtn:{label:l.saveBtnText,isLoading:u?.fetchState==="In-Progress",isDisabled:u?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},topComponent:t==="approval_create"?null:r.jsx(ee,{name:h,mode:"always_on",checkBoxes:[{value:h,label:l.applyToExistingReimbursements,defaultChecked:!0,groupLabel:!1}],style:{width:"100%"}}),showCancel:!0,cancelBtn:{label:l.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:E},containerStyle:{justifyContent:S==="small"?"space-between":"center"},style:{padding:le.footerPadding.valuePx(S)},separatorStyle:{marginRight:b.sp4}})]})})]})}const re=(e,t)=>{const{criteria:a,steps:o}=e.remiSetupApproverViewUpdateData?.data??{};return{[h]:[h],[I]:oe(e.allApprovers.map(s=>s.user),e.filteredApprovers.map(s=>s.user),T(e.allAttributes),T(e.filteredAttributes),o??[])??[],[C]:t?void 0:a!=null?a.range.min.amount??0:0,[j]:a!=null?a.range.max==null?1/0:a.range.max.amount:1/0}},oe=(e,t,a,o,s)=>s&&s.length>0?s.map((p,g)=>({stepIndex:g,stepType:{selectedOption:p.action,allOptions:$},actors:{allUsers:t,selectedUsers:se(e,p.actors),allNonUsers:o,selectedNonUsers:ne(a,p.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:$},actors:{allUsers:t,selectedUsers:[],allNonUsers:o,selectedNonUsers:[]}}],se=(e,t)=>e.filter(a=>a.userId!=null&&t.findIndex(o=>o.userId===a.userId)>-1),ne=(e,t)=>e.filter(a=>t.findIndex(o=>o.subType===a.value)>-1),_=e=>`${e}_form`,Pe=e=>`${e}`,ie=c.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
height: 100%;
|
|
4
4
|
flex-direction: column;
|
|
5
5
|
width: 100%;
|
|
6
6
|
background-color: ${e=>e.theme.colors.grey4};
|
|
7
|
-
`,de=
|
|
7
|
+
`,de=c.div`
|
|
8
8
|
display: flex;
|
|
9
9
|
flex: 1;
|
|
10
10
|
flex-direction: column;
|
|
11
11
|
min-height: 0;
|
|
12
|
-
`,pe=
|
|
12
|
+
`,pe=c.div`
|
|
13
13
|
display: flex;
|
|
14
14
|
flex-direction: column;
|
|
15
15
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
16
16
|
box-shadow: ${e=>`${b.sp0} 2px ${b.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
17
17
|
border-radius: ${b.sp2};
|
|
18
|
-
`,
|
|
18
|
+
`,ue=c.div`
|
|
19
19
|
display: flex;
|
|
20
20
|
justify-content: flex-start;
|
|
21
21
|
flex: 1;
|
|
@@ -23,7 +23,7 @@ import{y as W,u as L,g as M,Q as G,F as U,a9 as Q,aQ as J,aJ as X,cE as H,V as r
|
|
|
23
23
|
overflow-y: auto;
|
|
24
24
|
flex-direction: column;
|
|
25
25
|
align-items: center;
|
|
26
|
-
`,
|
|
26
|
+
`,ce=c.div`
|
|
27
27
|
display: flex;
|
|
28
28
|
flex: 1;
|
|
29
29
|
background-color: ${e=>e.theme.colors.grey3};
|
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
import{g as F,Q as N,F as j,V as t,bB as G,T as V,aP as m,o,y as r,al as M,aN as P,bS as T,co as q,cp as J,cq as K,c_ as O,u as l,b9 as Q,a as k,b8 as Z,p as z,cZ as X,bt as Y,b as ee}from"./index-BhvUwV_v.js";import{n as i}from"./mui-DqYnCiYu.js";import{a as te}from"./sentry-DgGQRl6g.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./zeni-epic-state-WWg2r7iB.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="3c064886-73de-446a-9f26-4d7f1d711a16",e._sentryDebugIdIdentifier="sentry-dbid-3c064886-73de-446a-9f26-4d7f1d711a16")}catch{}})();const s={sectionWidth:new r(343,580,726),ruleWrapperPadding:new r(l[3],l[4]),wrapperGap:new r(l[4],l[3]),wrapperMarginBottom:new r(l[6],l[8]),lastWrapperMarginBottom:new r(l[5],l[9]),stepperWidthHeight:new r(20,l[5]),stepperItemLeft:new r(-29,-23),stepperItemTop:new r(2,l[0]),stepperItemPaddingLeft:new r(l[0],10),stepperItemMinHeight:new r(22,28),stepperLeft:new r(11,17),stepperTop:new r(2,l[0]),stepperContentTop:new r(l[0],-4)},E={stepper:new k("smallRegular","standardRegular"),amount:new k("standardRegular","largeRegular")},oe=({showDeleteBtn:e=!1,disableButtons:c=!1,isLastSection:g=!1,approvalRule:b,onEditRuleClick:S,onDeleteRuleClick:y})=>{const[x,w]=te.useState(!1),n=N(),{range:u}=b.criteria[0],{steps:$,approvalRuleId:p}=b,a=j.getLocalizedStrings().commonSetUp.approval,v=()=>{w(!0)},U={onOkClick:()=>{w(!1),y?.(p)},onCancelClick:()=>{w(!1)}};return t.jsxs(ie,{windowSize:n,isLastSection:g,isUpdatingApprovalRules:c,"data-testid":m("approval-rule-section",p),children:[t.jsxs(re,{windowSize:n,children:[t.jsxs(he,{children:[t.jsxs(W,{windowSize:n,children:[a.from," ",P("0,0",u.min)]}),t.jsxs(le,{children:[t.jsx(R,{}),t.jsx(se,{}),t.jsx(R,{})]}),u.max==null?t.jsx(me,{}):t.jsx(W,{windowSize:n,children:P("0,0",{...u.min,amount:u.max.amount})})]}),t.jsxs(ue,{className:"icons",children:[e?c?t.jsx(T,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:t.jsx(C,{children:t.jsx(I,{isDisabled:!0,"data-testid":m("delete-approval-rule",p)})})}):t.jsx(I,{onClick:v,"data-testid":m("delete-approval-rule",p)}):null,c?t.jsx(T,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:t.jsx(C,{children:t.jsx(B,{isDisabled:!0,"data-testid":m("edit-approval-rule",p)})})}):t.jsx(B,{onClick:()=>{S(p)},"data-testid":m("edit-approval-rule",p)})]})]}),t.jsx(ae,{windowSize:n,children:t.jsx(ne,{isSingleStep:$.length===1,windowSize:n,children:$.map((h,H)=>t.jsxs(pe,{isSingleStep:$.length===1,className:"stepperItem",windowSize:n,children:[h.action==="require_approval"?t.jsx(de,{children:a.requireText}):t.jsx(ce,{children:a.notifyText}),h.nonUserActors.filter(d=>d.subType!=null).map((d,_)=>t.jsxs(A,{children:[t.jsx(D,{children:d.subType!=null?a.nonUsers[d.subType].label:null}),h.operator!="is"?t.jsx(L,{className:"operator",children:h.operator}):null]},`${d.subType}_${_}`)),h.actors.map(d=>t.jsxs(A,{children:[t.jsxs(D,{children:[d.firstName," ",d.lastName]}),h.operator!="is"?t.jsx(L,{className:"operator",children:h.operator}):null]},d.userId))]},H))})}),x?t.jsx(q,{titleComponent:t.jsx(K,{children:a.deleteApprovalRuleTitle}),descriptionComponent:t.jsx(J,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:U}):null]})},ie=i.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
gap: ${e=>s.wrapperGap.valuePx(e.windowSize)};
|
|
5
|
+
margin-bottom: ${e=>e.isLastSection?s.lastWrapperMarginBottom.valuePx(e.windowSize):s.wrapperMarginBottom.valuePx(e.windowSize)};
|
|
6
|
+
.icons {
|
|
7
|
+
display: none;
|
|
8
|
+
}
|
|
9
|
+
&:hover {
|
|
10
|
+
.icons {
|
|
11
|
+
display: flex;
|
|
12
|
+
}
|
|
13
|
+
> div:last-of-type {
|
|
14
|
+
border-color: ${e=>e.isUpdatingApprovalRules===!0?e.theme.colors.grey3:e.theme.colors.primary};
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
`,re=i(Q)`
|
|
18
|
+
display: flex;
|
|
19
|
+
position: relative;
|
|
20
|
+
align-items: center;
|
|
21
|
+
justify-content: space-between;
|
|
22
|
+
text-align: center;
|
|
23
|
+
width: ${e=>s.sectionWidth.valuePx(e.windowSize)};
|
|
24
|
+
gap: ${o.sp2};
|
|
25
|
+
`,le=i.div`
|
|
26
|
+
align-items: center;
|
|
27
|
+
display: flex;
|
|
28
|
+
justify-content: center;
|
|
29
|
+
`,se=i.div`
|
|
30
|
+
width: ${o.sp8};
|
|
31
|
+
height: 2px;
|
|
32
|
+
background-color: ${e=>e.theme.colors.primary};
|
|
33
|
+
`,R=i.div`
|
|
34
|
+
width: 6px;
|
|
35
|
+
height: 6px;
|
|
36
|
+
border-radius: 3px;
|
|
37
|
+
background-color: ${e=>e.theme.colors.primary};
|
|
38
|
+
`,ae=i.div`
|
|
39
|
+
display: flex;
|
|
40
|
+
flex-direction: column;
|
|
41
|
+
align-items: flex-start;
|
|
42
|
+
padding: ${e=>s.ruleWrapperPadding.valuePx(e.windowSize)};
|
|
43
|
+
gap: 10px;
|
|
44
|
+
|
|
45
|
+
width: ${e=>s.sectionWidth.valuePx(e.windowSize)};
|
|
46
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
47
|
+
|
|
48
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
49
|
+
|
|
50
|
+
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
51
|
+
border-radius: ${o.sp2};
|
|
52
|
+
|
|
53
|
+
flex: none;
|
|
54
|
+
order: 1;
|
|
55
|
+
flex-grow: 0;
|
|
56
|
+
justify-content: center;
|
|
57
|
+
box-sizing: border-box;
|
|
58
|
+
position: relative;
|
|
59
|
+
`,ne=i.ul`
|
|
60
|
+
${e=>`${E.stepper.style(e.windowSize)}`};
|
|
61
|
+
position: relative;
|
|
62
|
+
padding-left: ${o.sp6};
|
|
63
|
+
list-style: none;
|
|
64
|
+
box-sizing: initial;
|
|
65
|
+
margin: 0;
|
|
66
|
+
&::before {
|
|
67
|
+
display: inline-block;
|
|
68
|
+
content: "";
|
|
69
|
+
position: absolute;
|
|
70
|
+
top: ${e=>s.stepperTop.valuePx(e.windowSize)};
|
|
71
|
+
left: ${e=>s.stepperLeft.valuePx(e.windowSize)};
|
|
72
|
+
width: 10px;
|
|
73
|
+
height: ${e=>e.isSingleStep?"0%":"100%"};
|
|
74
|
+
border-left: 2px solid ${e=>e.theme.colors.grey1};
|
|
75
|
+
}
|
|
76
|
+
`,pe=i.li`
|
|
77
|
+
position: relative;
|
|
78
|
+
counter-increment: list;
|
|
79
|
+
min-height: ${e=>s.stepperItemMinHeight.valuePx(e.windowSize)};
|
|
80
|
+
display: flex;
|
|
81
|
+
justify-content: flex-start;
|
|
82
|
+
align-items: center;
|
|
83
|
+
padding-left: ${e=>s.stepperItemPaddingLeft.valuePx(e.windowSize)};
|
|
84
|
+
gap: ${o.sp1};
|
|
85
|
+
|
|
86
|
+
> div:last-of-type > span.operator:last-of-type {
|
|
87
|
+
visibility: hidden;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
&:not(:last-child) {
|
|
91
|
+
padding-bottom: 20px;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&::before {
|
|
95
|
+
display: inline-block;
|
|
96
|
+
content: "";
|
|
97
|
+
position: absolute;
|
|
98
|
+
top: ${e=>s.stepperItemTop.valuePx(e.windowSize)};
|
|
99
|
+
left: ${e=>s.stepperItemLeft.valuePx(e.windowSize)};
|
|
100
|
+
height: ${e=>e.isSingleStep?"0%":"100%"};
|
|
101
|
+
width: 10px;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&.stepperItem {
|
|
105
|
+
flex-wrap: wrap;
|
|
106
|
+
&::before {
|
|
107
|
+
border-left: 2px solid ${e=>e.theme.colors.grey1};
|
|
108
|
+
}
|
|
109
|
+
&:last-child::before {
|
|
110
|
+
border-left: 2px solid ${e=>e.theme.colors.grey5};
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
&::after {
|
|
114
|
+
content: counter(list);
|
|
115
|
+
position: absolute;
|
|
116
|
+
width: ${e=>s.stepperWidthHeight.valuePx(e.windowSize)};
|
|
117
|
+
height: ${e=>s.stepperWidthHeight.valuePx(e.windowSize)};
|
|
118
|
+
top: ${e=>s.stepperContentTop.valuePx(e.windowSize)};
|
|
119
|
+
left: -${o.sp6};
|
|
120
|
+
${ee.standardMedium.css};
|
|
121
|
+
text-align: center;
|
|
122
|
+
color: ${e=>e.theme.colors.grey1};
|
|
123
|
+
border: 2px solid ${e=>e.theme.colors.grey1};
|
|
124
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
125
|
+
display: flex;
|
|
126
|
+
justify-content: center;
|
|
127
|
+
align-items: center;
|
|
128
|
+
border-radius: 50%;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
`,de=i.span`
|
|
132
|
+
color: ${z.alertDark};
|
|
133
|
+
`,ce=i.span`
|
|
134
|
+
color: ${z.successDark};
|
|
135
|
+
`,D=i.span`
|
|
136
|
+
color: ${e=>e.theme.colors.primary};
|
|
137
|
+
`,he=i.div`
|
|
138
|
+
display: flex;
|
|
139
|
+
align-items: center;
|
|
140
|
+
gap: ${o.sp2};
|
|
141
|
+
`,ue=i.div`
|
|
142
|
+
display: flex;
|
|
143
|
+
gap: ${o.sp5};
|
|
144
|
+
`,I=i(X,{shouldForwardProp:e=>e!=="isDisabled"})`
|
|
145
|
+
width: ${o.sp3};
|
|
146
|
+
height: ${o.sp3};
|
|
147
|
+
cursor: ${e=>e.isDisabled===!0?"not-allowed":"pointer"};
|
|
148
|
+
color: ${e=>e.isDisabled===!0?e.theme.colors.grey2:e.theme.colors.hero};
|
|
149
|
+
pointer-events: ${e=>e.isDisabled===!0?"none":"auto"};
|
|
150
|
+
&:hover {
|
|
151
|
+
color: ${e=>e.isDisabled===!0?e.theme.colors.grey2:z.important};
|
|
152
|
+
}
|
|
153
|
+
`,C=i.span`
|
|
154
|
+
display: inline-flex;
|
|
155
|
+
cursor: not-allowed;
|
|
156
|
+
`,B=i(Y,{shouldForwardProp:e=>e!=="isDisabled"})`
|
|
157
|
+
width: ${o.sp3};
|
|
158
|
+
height: ${o.sp3};
|
|
159
|
+
cursor: ${e=>e.isDisabled===!0?"not-allowed":"pointer"};
|
|
160
|
+
color: ${e=>e.isDisabled===!0?e.theme.colors.grey2:e.theme.colors.hero};
|
|
161
|
+
pointer-events: ${e=>e.isDisabled===!0?"none":"auto"};
|
|
162
|
+
&:hover {
|
|
163
|
+
color: ${e=>e.isDisabled===!0?e.theme.colors.grey2:e.theme.colors.primary};
|
|
164
|
+
}
|
|
165
|
+
`,me=i(Z)`
|
|
166
|
+
width: ${o.sp4};
|
|
167
|
+
height: ${o.sp4};
|
|
168
|
+
color: ${e=>e.theme.colors.hero};
|
|
169
|
+
`,L=i.span`
|
|
170
|
+
color: ${e=>e.theme.colors.hero};
|
|
171
|
+
`,A=i.div`
|
|
172
|
+
display: inherit;
|
|
173
|
+
gap: inherit;
|
|
174
|
+
`,W=i.span`
|
|
175
|
+
${e=>`${E.amount.style(e.windowSize)}`};
|
|
176
|
+
color: ${e=>e.theme.colors.primary};
|
|
177
|
+
word-break: break-word;
|
|
178
|
+
`,f={width:new r(343,580,726),titleWidth:new r(343,580,780),addApprovalGap:new r(6,l[2]),subTitlePaddingTop:new r(12,l[3]),subTitlePaddingBottom:new r(28,l[7])},Be=({approvalView:e,onBackClick:c,onEditRuleClick:g,onDeleteRuleClick:b})=>{const S=F(),y=N(),{fetchState:x,deleteStatus:w}=e,n=j.getLocalizedStrings().commonSetUp.approval,u=j.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,$=w.fetchState,p=e.listeningToPusherEvent;return t.jsxs(ge,{children:[t.jsx(G,{title:n.approvalPageHeader,backgroundColor:S.colors.grey4,style:{zIndex:4},onBackClick:()=>{c()},source:"ReimbursementApprovalRulesPage"}),t.jsxs(xe,{children:[t.jsx($e,{windowSize:y,children:u.approvalPageSubTitle}),x==="In-Progress"||x==="Not-Started"||$==="In-Progress"?t.jsx(we,{children:t.jsx(V,{size:"ExtraLarge",start:!0})}):x==="Completed"?t.jsxs(t.Fragment,{children:[e.allApprovalRules.map((a,v)=>t.jsx(oe,{showDeleteBtn:v!==0,disableButtons:p===!0&&a.approvalRuleId===e.newApprovalRuleId,approvalRule:a,isLastSection:v===e.allApprovalRules.length-1,onEditRuleClick:g,onDeleteRuleClick:b},a.approvalRuleId)),t.jsxs(fe,{windowSize:y,onClick:()=>{g()},"data-testid":m("add-approval-rule"),children:[t.jsx(be,{}),t.jsx(ye,{children:n.addApprovalText})]})]}):null]})]})},ge=i.div`
|
|
179
|
+
display: flex;
|
|
180
|
+
min-height: 100%;
|
|
181
|
+
flex-direction: column;
|
|
182
|
+
width: 100%;
|
|
183
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
184
|
+
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1}
|
|
185
|
+
${e.theme.colors.dropShadowNormal}`};
|
|
186
|
+
`,xe=i.div`
|
|
187
|
+
display: flex;
|
|
188
|
+
justify-content: flex-start;
|
|
189
|
+
height: 100%;
|
|
190
|
+
overflow-y: auto;
|
|
191
|
+
flex-direction: column;
|
|
192
|
+
align-items: center;
|
|
193
|
+
`,we=i.div`
|
|
194
|
+
display: flex;
|
|
195
|
+
width: 100%;
|
|
196
|
+
min-height: calc(100vh - 150px);
|
|
197
|
+
flex-direction: column;
|
|
198
|
+
justify-content: center;
|
|
199
|
+
align-items: center;
|
|
200
|
+
gap: ${o.sp3};
|
|
201
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
202
|
+
`,$e=i(M)`
|
|
203
|
+
color: ${e=>e.theme.colors.hero};
|
|
204
|
+
display: flex;
|
|
205
|
+
justify-content: center;
|
|
206
|
+
width: ${e=>f.titleWidth.valuePx(e.windowSize)};
|
|
207
|
+
padding-top: ${e=>f.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
208
|
+
padding-bottom: ${e=>f.subTitlePaddingBottom.valuePx(e.windowSize)};
|
|
209
|
+
`,fe=i(M)`
|
|
210
|
+
cursor: pointer;
|
|
211
|
+
display: flex;
|
|
212
|
+
flex-direction: row;
|
|
213
|
+
justify-content: center;
|
|
214
|
+
align-items: center;
|
|
215
|
+
padding: ${o.sp3} ${o.sp4};
|
|
216
|
+
gap: ${e=>f.addApprovalGap.valuePx(e.windowSize)};
|
|
217
|
+
|
|
218
|
+
width: ${e=>f.width.valuePx(e.windowSize)};
|
|
219
|
+
height: ${o.sp8};
|
|
220
|
+
|
|
221
|
+
background: ${e=>e.theme.colors.grey5};
|
|
222
|
+
|
|
223
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
224
|
+
|
|
225
|
+
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1}
|
|
226
|
+
${e.theme.colors.dropShadowNormal}`};
|
|
227
|
+
border-radius: ${o.sp2};
|
|
228
|
+
color: ${e=>e.theme.colors.hero};
|
|
229
|
+
box-sizing: border-box;
|
|
230
|
+
&:hover {
|
|
231
|
+
div {
|
|
232
|
+
color: ${e=>e.theme.colors.primary};
|
|
233
|
+
}
|
|
234
|
+
color: ${e=>e.theme.colors.primary};
|
|
235
|
+
border-color: ${e=>e.theme.colors.primary};
|
|
236
|
+
}
|
|
237
|
+
margin-bottom: ${o.sp6};
|
|
238
|
+
`,be=i(O)`
|
|
239
|
+
width: ${o.sp3};
|
|
240
|
+
height: ${o.sp3};
|
|
241
|
+
`,ye=i.div`
|
|
242
|
+
color: ${e=>e.theme.colors.hero};
|
|
243
|
+
`;export{Be as default};
|