@zeniai/web-components 3.16.66 → 3.16.68
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/ACHDetailsPage-8Qney9yc.js +160 -0
- package/dist/ACHDetailsPage-B9aeWxdN.cjs +21 -0
- package/dist/AIPerformancePage-Bke13M3d.js +1341 -0
- package/dist/AIPerformancePage-GiWCUyez.cjs +534 -0
- package/dist/AccountInfoPage-Bs0PyvIM.js +78 -0
- package/dist/AccountInfoPage-Cg3lQUCW.cjs +18 -0
- package/dist/AccountInfoPageContent-BfYqg3Qi.js +428 -0
- package/dist/AccountInfoPageContent-D2B0hkuJ.cjs +149 -0
- package/dist/AccountLockedInfoModal-CBttn77i.cjs +59 -0
- package/dist/AccountLockedInfoModal-DuT4FgoZ.js +125 -0
- package/dist/AccountReconDetailsDrawerPage-CWTYmygA.js +686 -0
- package/dist/AccountReconDetailsDrawerPage-D5SRuctX.cjs +239 -0
- package/dist/AccountRow-BJJ8boGd.js +1012 -0
- package/dist/AccountRow-OZGMNeH1.cjs +298 -0
- package/dist/AccountsPromoCardStack-BDgd10pi.cjs +207 -0
- package/dist/AccountsPromoCardStack-hGJH8jN3.js +664 -0
- package/dist/AddAddressForCardDrawer-BxEYOnrM.js +82 -0
- package/dist/AddAddressForCardDrawer-DsjQGwAe.cjs +6 -0
- package/dist/AddToWalletPage-BI6ELyAm.js +642 -0
- package/dist/AddToWalletPage-DxSQSgK3.cjs +344 -0
- package/dist/AgingReportsPage-B9TC0aMI.cjs +79 -0
- package/dist/AgingReportsPage-dx4S6S1T.js +827 -0
- package/dist/AllUserItems-Bba9S4Am.cjs +192 -0
- package/dist/AllUserItems-CtpQmqj0.js +979 -0
- package/dist/ApAgingDetailPage-5tzRSTAC.cjs +46 -0
- package/dist/ApAgingDetailPage-COhXHqLD.js +239 -0
- package/dist/AppBasePage-CBuVrc9t.js +120 -0
- package/dist/AppBasePage-D3Lw9Phi.cjs +71 -0
- package/dist/AppDrawerContent-9Qr0j3FY.cjs +91 -0
- package/dist/AppDrawerContent-DsImped8.js +375 -0
- package/dist/ApprovalRulesSettingsPage-C_yRmz7P.js +145 -0
- package/dist/ApprovalRulesSettingsPage-VjR97wJB.cjs +47 -0
- package/dist/ArAgingChart-CNRjTHQZ.js +529 -0
- package/dist/ArAgingChart-yo0tGgOY.cjs +24 -0
- package/dist/ArAgingDetailPage-BoKb2wxa.js +243 -0
- package/dist/ArAgingDetailPage-qPV8wms_.cjs +46 -0
- package/dist/AttachmentView-BZh54TBp.cjs +101 -0
- package/dist/AttachmentView-zuLFijwb.js +260 -0
- package/dist/BankAccountSection-B1IyUpt_.cjs +79 -0
- package/dist/BankAccountSection-DEIZ_0fA.js +398 -0
- package/dist/BankAccountWarningSection-BioM5orz.js +110 -0
- package/dist/BankAccountWarningSection-By_rDYbv.cjs +51 -0
- package/dist/BankConnectionsSettingsPage-DZFFSm-Q.js +1693 -0
- package/dist/BankConnectionsSettingsPage-DrWGrZd0.cjs +425 -0
- package/dist/BillDetailPage-CO80h8Jo.js +1798 -0
- package/dist/BillDetailPage-DcByIPBD.cjs +266 -0
- package/dist/BillPayApprovalRuleDetailPage-Snvatus4.js +247 -0
- package/dist/BillPayApprovalRuleDetailPage-p5EngntM.cjs +27 -0
- package/dist/BillPayApprovalRulesPage-BuakKvPf.js +415 -0
- package/dist/BillPayApprovalRulesPage-C_aYIImZ.cjs +235 -0
- package/dist/BillPayPromoPage-CXHNQS0r.cjs +84 -0
- package/dist/BillPayPromoPage-tMpnaVrc.js +292 -0
- package/dist/BillPaySetUpPage-CA5HbHV8.js +409 -0
- package/dist/BillPaySetUpPage-IMCHZihe.cjs +42 -0
- package/dist/BillingSettingsPage-CGz3zgfj.cjs +44 -0
- package/dist/BillingSettingsPage-DlTtUQay.js +336 -0
- package/dist/BillsBulkReviewDrawerPage-Ak6s_7bv.js +216 -0
- package/dist/BillsBulkReviewDrawerPage-C12ZUY-B.cjs +1 -0
- package/dist/BoxItem-DnTGPAaB.js +118 -0
- package/dist/BoxItem-DwshWv8Y.cjs +53 -0
- package/dist/BusinessVerificationPage-BNXwezP0.cjs +138 -0
- package/dist/BusinessVerificationPage-BiHGcpj2.js +716 -0
- package/dist/BusyIndication-B4fEoSl1.js +19 -0
- package/dist/BusyIndication-_PljfHrH.cjs +9 -0
- package/dist/CardNumberSubText-BlBnp0P6.js +59 -0
- package/dist/CardNumberSubText-Dy4sIfif.cjs +21 -0
- package/dist/CashbackDetailPage-DDQ81o-f.js +824 -0
- package/dist/CashbackDetailPage-DzaMK9tE.cjs +285 -0
- package/dist/ChargeCardDetailPage-C9QVLOnp.cjs +1462 -0
- package/dist/ChargeCardDetailPage-D9iQ0MXR.js +5453 -0
- package/dist/ChargeCardListPage-Casa5IIi.cjs +406 -0
- package/dist/ChargeCardListPage-ngo5T8l1.js +1775 -0
- package/dist/ChargeCardListTable-C5_YAESl.js +2871 -0
- package/dist/ChargeCardListTable-CKSEh7VE.cjs +711 -0
- package/dist/ChargeCardPromoPage-BN8_zUgb.js +805 -0
- package/dist/ChargeCardPromoPage-CQ5CR4oI.cjs +222 -0
- package/dist/ChargeCardSetupPage-BTL4Ms7V.cjs +36 -0
- package/dist/ChargeCardSetupPage-D42Sag_t.js +359 -0
- package/dist/ChargeCardStatementsPage-BdJk33F2.cjs +60 -0
- package/dist/ChargeCardStatementsPage-P-fGIbW5.js +243 -0
- package/dist/CheckDepositDrawerPage-D8GsDj9A.cjs +206 -0
- package/dist/CheckDepositDrawerPage-IHeaDOJZ.js +726 -0
- package/dist/CollapsableReportTable-7jcLcVFk.cjs +2932 -0
- package/dist/CollapsableReportTable-CPTMCFQg.js +11758 -0
- package/dist/CompanyOfficerDetailsSection-1Siyd2nM.cjs +260 -0
- package/dist/CompanyOfficerDetailsSection-CWPxRMfw.js +1633 -0
- package/dist/CompanyPassportCard-BAohvr9u.js +146 -0
- package/dist/CompanyPassportCard-DAzEYpWb.cjs +42 -0
- package/dist/CompanyPassportPage-igU19IYN.cjs +574 -0
- package/dist/CompanyPassportPage-xY8Ew-Vw.js +2160 -0
- package/dist/CompleteProfile-BBExgLbw.cjs +52 -0
- package/dist/CompleteProfile-jdN-Cp6f.js +301 -0
- package/dist/ConfettiBurst-BfW6opht.cjs +1 -0
- package/dist/ConfettiBurst-SWbuRF1m.js +37 -0
- package/dist/CreateOrEditVendorPage-6vv_Mfwl.js +755 -0
- package/dist/CreateOrEditVendorPage-DXtD7mks.cjs +281 -0
- package/dist/CreditCardPaymentDrawerPage-D3J62mMi.cjs +224 -0
- package/dist/CreditCardPaymentDrawerPage-DZiCMC3v.js +1169 -0
- package/dist/CurrencySelectField-BhJh1avj.cjs +139 -0
- package/dist/CurrencySelectField-REEfW8Cg.js +348 -0
- package/dist/CustomerOnboardingActivationPage-C_XHOZxZ.cjs +88 -0
- package/dist/CustomerOnboardingActivationPage-DfJ_qIi2.js +143 -0
- package/dist/CustomerOnboardingContainerPage-CGGqCdyA.cjs +1 -0
- package/dist/CustomerOnboardingContainerPage-_WCQErEk.js +7 -0
- package/dist/CustomerOnboardingDetailPageSkeleton-BEzdg7FT.js +434 -0
- package/dist/CustomerOnboardingDetailPageSkeleton-CEvrKKIt.cjs +162 -0
- package/dist/CustomerOnboardingNoStepsPage-CNsqlVBJ.js +424 -0
- package/dist/CustomerOnboardingNoStepsPage-Dio5_XxX.cjs +66 -0
- package/dist/CustomerOnboardingPage-B0_m3T9x.cjs +107 -0
- package/dist/CustomerOnboardingPage-CpE0YXvi.js +1059 -0
- package/dist/CustomerOnboardingProductSuitePage-0RmE7E-L.cjs +202 -0
- package/dist/CustomerOnboardingProductSuitePage-C8B8efcx.js +348 -0
- package/dist/Dashboard-Dq12LvnP.js +5539 -0
- package/dist/Dashboard-rjrZWR7W.cjs +1551 -0
- package/dist/DashboardReportPage-CUkhCavJ.js +2536 -0
- package/dist/DashboardReportPage-DENapl8d.cjs +371 -0
- package/dist/DashboardSidebarBackgroundAnimation-CN0IdQfo.js +50 -0
- package/dist/DashboardSidebarBackgroundAnimation-ChqE0Sq4.cjs +12 -0
- package/dist/DepositAccTransactionItem-CVuDjuzP.cjs +76 -0
- package/dist/DepositAccTransactionItem-DPBBm19K.js +112 -0
- package/dist/DepositAccTransactionListPage-CERgPTQj.cjs +66 -0
- package/dist/DepositAccTransactionListPage-D2qxdsIy.js +152 -0
- package/dist/DomesticWireDetailsPage-CfU4OmHX.cjs +21 -0
- package/dist/DomesticWireDetailsPage-yTjZCAIW.js +189 -0
- package/dist/DownloadOverlay-BfcJJTV1.js +2148 -0
- package/dist/DownloadOverlay-DDoWm5f2.cjs +439 -0
- package/dist/DrawerPage-BHqt4A7P.cjs +118 -0
- package/dist/DrawerPage-D_u5HnMP.js +208 -0
- package/dist/EditPeoplePage-9xfZOqsK.js +392 -0
- package/dist/EditPeoplePage-WxPw8f0Q.cjs +55 -0
- package/dist/EditReimbursementDetailPage-BVZtzjja.js +4460 -0
- package/dist/EditReimbursementDetailPage-BoasG7fh.cjs +865 -0
- package/dist/EmptySearchResults-BTUlyepx.js +70 -0
- package/dist/EmptySearchResults-Do69YCdm.cjs +46 -0
- package/dist/EntityDetailPage-BY-AJRkv.js +82 -0
- package/dist/EntityDetailPage-DFPe8NGM.cjs +18 -0
- package/dist/EntitySummarySection-25O7hjK9.cjs +149 -0
- package/dist/EntitySummarySection-DFBCBFmY.js +530 -0
- package/dist/ExpenseAutomationOverviewPage-4GY07ckz.cjs +281 -0
- package/dist/ExpenseAutomationOverviewPage-Dbu6DNfw.js +806 -0
- package/dist/ExpenseAutomationPage-B9sKOOqY.js +11544 -0
- package/dist/ExpenseAutomationPage-DbGa4Di1.cjs +1650 -0
- package/dist/ExpressPayPage-3vDnAb87.js +1136 -0
- package/dist/ExpressPayPage-sgltk7VC.cjs +168 -0
- package/dist/FeaturePreviewPage-Do4vjpYL.js +114 -0
- package/dist/FeaturePreviewPage-_MCpXkRd.cjs +11 -0
- package/dist/FollowStepsSection-BygWW0Pe.cjs +390 -0
- package/dist/FollowStepsSection-CbFb-vgN.js +1313 -0
- package/dist/GlobalReviewListPage-CgZ9cSh2.js +1674 -0
- package/dist/GlobalReviewListPage-DrDYvOHO.cjs +291 -0
- package/dist/InformationCardStack-BRh4-b1B.js +219 -0
- package/dist/InformationCardStack-Dtj19bNg.cjs +31 -0
- package/dist/InsightsCardStack-DIuYkJYp.cjs +79 -0
- package/dist/InsightsCardStack-GSPQCJbl.js +305 -0
- package/dist/InsightsSection-LczdmJlq.cjs +27 -0
- package/dist/InsightsSection-Lng8NTeX.js +97 -0
- package/dist/IntegrationsSettingsPage-BzGYc_1N.cjs +57 -0
- package/dist/IntegrationsSettingsPage-CEUt2_R5.js +136 -0
- package/dist/InternationalWireSwiftDetailsPage-CKHMXTvX.cjs +171 -0
- package/dist/InternationalWireSwiftDetailsPage-CSAASEUw.js +753 -0
- package/dist/InternationalWireVerificationPage-3ZJkKEql.cjs +292 -0
- package/dist/InternationalWireVerificationPage-AVV5W1iS.js +877 -0
- package/dist/InviteFormPage-BZfreu8k.cjs +312 -0
- package/dist/InviteFormPage-DbkopBgh.js +873 -0
- package/dist/InvitePageListView-BFcJTerN.cjs +739 -0
- package/dist/InvitePageListView-Cm9RBOOK.js +1764 -0
- package/dist/InvitePeoplePage-B7G2tqGk.cjs +12 -0
- package/dist/InvitePeoplePage-BDxwh3Wp.js +286 -0
- package/dist/InvoiceUploadSection-C-Pe2Q53.cjs +140 -0
- package/dist/InvoiceUploadSection-DxY_x8UK.js +465 -0
- package/dist/IssueChargeCardPage-IvgttxLt.js +2875 -0
- package/dist/IssueChargeCardPage-Ls8bB2pu.cjs +532 -0
- package/dist/LabeledAddressValue-B3KEXf9-.cjs +49 -0
- package/dist/LabeledAddressValue-BXFYdpzo.js +115 -0
- package/dist/LabeledAddressValueField-Dqettjwf.cjs +45 -0
- package/dist/LabeledAddressValueField-ujNf_gZP.js +130 -0
- package/dist/LabeledControlledCheckBoxField-C7x3VdFM.cjs +16 -0
- package/dist/LabeledControlledCheckBoxField-EEmNHedK.js +73 -0
- package/dist/LabeledCreatableSingleSelectField-CFz4lyk2.cjs +204 -0
- package/dist/LabeledCreatableSingleSelectField-CbOfibWD.js +515 -0
- package/dist/LabeledDocumentField-BycQZhIq.cjs +41 -0
- package/dist/LabeledDocumentField-DMpVD8OE.js +147 -0
- package/dist/LabeledDropDownFormattedTextField-8jsoWtFe.js +163 -0
- package/dist/LabeledDropDownFormattedTextField-C-nhGmw8.cjs +59 -0
- package/dist/LabeledEmailInputField-BCwUB1Qw.cjs +182 -0
- package/dist/LabeledEmailInputField-Cx0zctSj.js +425 -0
- package/dist/LabeledItemWithButton-D1SQ9zj9.cjs +21 -0
- package/dist/LabeledItemWithButton-DwvU8lGn.js +74 -0
- package/dist/LabeledNameField-D7TmvFKd.js +293 -0
- package/dist/LabeledNameField-Dtw3S3-D.cjs +141 -0
- package/dist/LabeledSingleSelectField-DYoPeXXi.js +372 -0
- package/dist/LabeledSingleSelectField-qV_0_brc.cjs +136 -0
- package/dist/LabeledSingleSelectWithoutClearableField-85X1Z9zo.cjs +38 -0
- package/dist/LabeledSingleSelectWithoutClearableField-CgXMGcjx.js +103 -0
- package/dist/LabeledText-D9bkH53V.js +103 -0
- package/dist/LabeledText-DmZxDf9O.cjs +42 -0
- package/dist/LabeledUserSingleSelectWithSubtitlesField-C1E88nle.cjs +229 -0
- package/dist/LabeledUserSingleSelectWithSubtitlesField-CuXp9_hC.js +572 -0
- package/dist/LabeledZeniRolesDropDownField-B3xfd8wI.js +975 -0
- package/dist/LabeledZeniRolesDropDownField-McjYPR-d.cjs +297 -0
- package/dist/LinkJETransactionPage-CMwHlmac.cjs +98 -0
- package/dist/LinkJETransactionPage-CqQhtzOl.js +406 -0
- package/dist/LockCardPage-DWq8yqbh.cjs +623 -0
- package/dist/LockCardPage-DX9nzprZ.js +2032 -0
- package/dist/LowBalancePopup-BRmZctKw.cjs +34 -0
- package/dist/LowBalancePopup-DFKECB32.js +219 -0
- package/dist/MagicLinkACHDetailsPage-DiWEUm8T.js +39 -0
- package/dist/MagicLinkACHDetailsPage-Dra_2Too.cjs +1 -0
- package/dist/MagicLinkDomesticWireDetailsPage-COd-micH.cjs +1 -0
- package/dist/MagicLinkDomesticWireDetailsPage-Ce5Uk_Bd.js +44 -0
- package/dist/MagicLinkInternationalWireDetailsPage-DvOnoheD.cjs +1 -0
- package/dist/MagicLinkInternationalWireDetailsPage-qy6crUY3.js +43 -0
- package/dist/MagicLinkSuccessPage-C-d-y0KS.js +59 -0
- package/dist/MagicLinkSuccessPage-Dk-4rguq.cjs +31 -0
- package/dist/MagicLinkTitleSection-CB0KjHiN.cjs +17 -0
- package/dist/MagicLinkTitleSection-CJDUb3n0.js +40 -0
- package/dist/MailingDetailsSection-B4vHs5s1.js +74 -0
- package/dist/MailingDetailsSection-CdJD6WE8.cjs +21 -0
- package/dist/MatchingOperatorDropdown-fK3fsMJf.cjs +130 -0
- package/dist/MatchingOperatorDropdown-j6FGGYfj.js +572 -0
- package/dist/Menu-AbO5beMM.js +110 -0
- package/dist/Menu-C_I1kA_u.cjs +17 -0
- package/dist/MoreMenuButton-B_aeuMkC.js +569 -0
- package/dist/MoreMenuButton-kt8qYsUH.cjs +167 -0
- package/dist/MyBankConnectionsSettingsPage-CpCfndzj.js +296 -0
- package/dist/MyBankConnectionsSettingsPage-DQ7Tw8TM.cjs +110 -0
- package/dist/MyPendingActivationChargeCardListPage-DaLeTEO7.cjs +6 -0
- package/dist/MyPendingActivationChargeCardListPage-DqFAAbIy.js +168 -0
- package/dist/MyProfileSettingsPage-BFmRiGbJ.cjs +85 -0
- package/dist/MyProfileSettingsPage-CP7Ce779.js +641 -0
- package/dist/NavBarWithPicker-COKImLbZ.js +106 -0
- package/dist/NavBarWithPicker-qDhCl_h6.cjs +30 -0
- package/dist/NavigationArrow-C7TQ3Q0h.cjs +47 -0
- package/dist/NavigationArrow-DNQL29QL.js +88 -0
- package/dist/NavigationDots-CEe-2T3I.cjs +15 -0
- package/dist/NavigationDots-D6gRcier.js +44 -0
- package/dist/NewGlobalMerchantPage-DyiTrwCw.cjs +160 -0
- package/dist/NewGlobalMerchantPage-JDrcScug.js +543 -0
- package/dist/NoDataChart-D7rL1rEY.js +58 -0
- package/dist/NoDataChart-DMaaY1Dw.cjs +26 -0
- package/dist/NoDataTable-BSMotn-_.cjs +8 -0
- package/dist/NoDataTable-Dny70m0b.js +27 -0
- package/dist/NotFoundPage-BHHcGJCm.js +71 -0
- package/dist/NotFoundPage-DhTrpm8B.cjs +46 -0
- package/dist/NotificationSettingsPage-B3Rb2NHM.cjs +163 -0
- package/dist/NotificationSettingsPage-BGenMfJf.js +541 -0
- package/dist/NotificationsListConfig-CVdK1Vlp.js +10 -0
- package/dist/NotificationsListConfig-j4OLXpYf.cjs +1 -0
- package/dist/NotificationsPage-CwZdqoWh.js +2664 -0
- package/dist/NotificationsPage-zI4qfe1H.cjs +685 -0
- package/dist/OpExByVendorPage-DYCImAfX.js +1057 -0
- package/dist/OpExByVendorPage-Df30i0tB.cjs +100 -0
- package/dist/PandLWithForecastPage-B-nsuESP.cjs +107 -0
- package/dist/PandLWithForecastPage-B5eMHcdx.js +563 -0
- package/dist/PaymentAccountSetupBillingAddressSection-BycOroxC.cjs +106 -0
- package/dist/PaymentAccountSetupBillingAddressSection-DSZgzrfN.js +623 -0
- package/dist/PeoplePage-CciMY8p0.js +1994 -0
- package/dist/PeoplePage-unbO7_i3.cjs +675 -0
- package/dist/ProductsCarousel-BXPYEKYV.cjs +142 -0
- package/dist/ProductsCarousel-ONX-0VPn.js +309 -0
- package/dist/PromoBaseCards-CjWulCQh.js +356 -0
- package/dist/PromoBaseCards-D61gixMe.cjs +218 -0
- package/dist/QBOConnectionDialog-CDS-qteJ.js +115 -0
- package/dist/QBOConnectionDialog-DAasxOVQ.cjs +51 -0
- package/dist/QBOSetupSection-CGvIeI9g.cjs +79 -0
- package/dist/QBOSetupSection-FGfaB3cs.js +167 -0
- package/dist/ReimbursementApprovalRuleDetailPage-DKsQjMEH.cjs +26 -0
- package/dist/ReimbursementApprovalRuleDetailPage-DcEDGAdE.js +247 -0
- package/dist/ReimbursementApprovalRulesPage-B6ENLIlW.js +410 -0
- package/dist/ReimbursementApprovalRulesPage-ZmhYRwHB.cjs +237 -0
- package/dist/ReimbursementDetailPage-BBbQJY6X.js +1511 -0
- package/dist/ReimbursementDetailPage-BJkLD7CG.cjs +314 -0
- package/dist/ReimbursementPromoPage-Dip98Buq.cjs +84 -0
- package/dist/ReimbursementPromoPage-Dmfiv7xp.js +363 -0
- package/dist/ReimbursementSetUpPage-C6p1u_cs.cjs +140 -0
- package/dist/ReimbursementSetUpPage-yWHpHCJA.js +663 -0
- package/dist/ReimbursementsBulkReviewDrawerPage-CPdz30w4.cjs +1 -0
- package/dist/ReimbursementsBulkReviewDrawerPage-FpbnvCGq.js +204 -0
- package/dist/ReloadCard-BigPBED9.js +137 -0
- package/dist/ReloadCard-C3mEYiJO.cjs +26 -0
- package/dist/ReloadContainer-BS0A9bWN.js +2144 -0
- package/dist/ReloadContainer-DKUWc2ib.cjs +596 -0
- package/dist/ReportTableViewSelector-DNJgAkER.cjs +150 -0
- package/dist/ReportTableViewSelector-Dy-KblfY.js +679 -0
- package/dist/ReportsPage-3LFxaiGT.cjs +121 -0
- package/dist/ReportsPage-Bl0QAoL3.js +1315 -0
- package/dist/RevenueChart-BcTBgxkx.cjs +280 -0
- package/dist/RevenueChart-DEUnDfwX.js +2239 -0
- package/dist/ReviewDetailsPage-C_YtgB51.cjs +290 -0
- package/dist/ReviewDetailsPage-vTbdo4WD.js +1073 -0
- package/dist/ReviewOverlay-CNrIp82e.js +299 -0
- package/dist/ReviewOverlay-DNo28Vz-.cjs +152 -0
- package/dist/RoleWithToolTip-BEW8Gzh1.js +72 -0
- package/dist/RoleWithToolTip-BWE4Byew.cjs +22 -0
- package/dist/ScheduleDetailsFixedAssetsPage-BlQq4H5I.js +806 -0
- package/dist/ScheduleDetailsFixedAssetsPage-sj50Tbl0.cjs +37 -0
- package/dist/ScheduleDetailsPage-BsirHOSY.cjs +37 -0
- package/dist/ScheduleDetailsPage-Dax6bmtO.js +726 -0
- package/dist/ScheduleSequenceTable-CJ-Wia6X.cjs +324 -0
- package/dist/ScheduleSequenceTable-DSsOIma-.js +1261 -0
- package/dist/SetUpAccountSection-BeSntehd.js +1468 -0
- package/dist/SetUpAccountSection-C0AAiwFX.cjs +378 -0
- package/dist/SignIn-CjomKfvB.js +1075 -0
- package/dist/SignIn-eoRUq-Lp.cjs +448 -0
- package/dist/SpendManagementListViewPage-BVFDVCJr.cjs +122 -0
- package/dist/SpendManagementListViewPage-CJ68DTU3.js +627 -0
- package/dist/SpendManagementPerTabPage-BVoowsqS.cjs +754 -0
- package/dist/SpendManagementPerTabPage-SZcy9tAZ.js +2735 -0
- package/dist/SpendManagementSection-CG9ADjVG.js +1043 -0
- package/dist/SpendManagementSection-CXtDkHmo.cjs +230 -0
- package/dist/StatementItem-CufIatKb.cjs +31 -0
- package/dist/StatementItem-yDb_W1Mx.js +81 -0
- package/dist/StatementsPage-DeNdKrT9.js +130 -0
- package/dist/StatementsPage-DtS_Z-_U.cjs +58 -0
- package/dist/StatusSwitcher-ByihRprM.js +319 -0
- package/dist/StatusSwitcher-DbYXvOXW.cjs +120 -0
- package/dist/SubTabSwitcher-DkBb1-1i.js +113 -0
- package/dist/SubTabSwitcher-N4NNNgD1.cjs +58 -0
- package/dist/SuccessAnimation-Cbnb2kPY.js +52 -0
- package/dist/SuccessAnimation-DmsZvyeg.cjs +13 -0
- package/dist/SummaryCard-dWGc9gTp.js +25 -0
- package/dist/SummaryCard-mPNjQDmv.cjs +1 -0
- package/dist/TaskDetailPage-DUT2w2nX.js +2533 -0
- package/dist/TaskDetailPage-Dhyz_g1A.cjs +775 -0
- package/dist/TaskListRow-CLZ_NppO.cjs +556 -0
- package/dist/TaskListRow-DWbpYGLZ.js +1950 -0
- package/dist/TaskManagementPage-BdabB-91.js +1935 -0
- package/dist/TaskManagementPage-D2Apu4xW.cjs +508 -0
- package/dist/TimeRangeSwitcher-CBV8gx2g.cjs +64 -0
- package/dist/TimeRangeSwitcher-sgttOkg0.js +265 -0
- package/dist/TimeframeSwitcher-D9mqnrRn.cjs +31 -0
- package/dist/TimeframeSwitcher-DN42Tc1m.js +103 -0
- package/dist/TimeframeSwitcherWithToggle-BF9UOv7c.cjs +31 -0
- package/dist/TimeframeSwitcherWithToggle-D0ocvjrA.js +157 -0
- package/dist/TopExCard-BiuQT-WC.js +568 -0
- package/dist/TopExCard-BwA6K8L_.cjs +38 -0
- package/dist/TopExDetailPage-QsZyRwv2.js +318 -0
- package/dist/TopExDetailPage-gY9dFVHR.cjs +132 -0
- package/dist/TransactionDetailPage-B6P8DkDb.cjs +912 -0
- package/dist/TransactionDetailPage-DqO6_SAi.js +5238 -0
- package/dist/TransactionList-BsdHLW2E.js +558 -0
- package/dist/TransactionList-DEk_GKcC.cjs +147 -0
- package/dist/TransactionListBig-BBhObvwi.js +658 -0
- package/dist/TransactionListBig-CAC9dYBL.cjs +284 -0
- package/dist/TransactionListPage-BcSaRuWv.cjs +35 -0
- package/dist/TransactionListPage-DZISe_jd.js +144 -0
- package/dist/TransactionVendorDetailPage-BpUBAFuw.js +425 -0
- package/dist/TransactionVendorDetailPage-Bwmn3aK0.cjs +80 -0
- package/dist/TransferDrawerPage-BiEWQyQp.cjs +362 -0
- package/dist/TransferDrawerPage-C2dTH2gI.js +1435 -0
- package/dist/TreasuryOverviewPage-C67Q7b3z.js +1889 -0
- package/dist/TreasuryOverviewPage-JFzv2ZMK.cjs +708 -0
- package/dist/TreasuryPromoPage-CxvroSDr.cjs +505 -0
- package/dist/TreasuryPromoPage-DYZJcqox.js +1123 -0
- package/dist/TreasuryStatementsPage-CV979g8B.js +131 -0
- package/dist/TreasuryStatementsPage-rMTz7G_h.cjs +58 -0
- package/dist/TreasuryTaxLetterPage-acWSa3tn.cjs +58 -0
- package/dist/TreasuryTaxLetterPage-uTK04LD9.js +131 -0
- package/dist/TrendChart-9Nx-N7ch.cjs +16 -0
- package/dist/TrendChart-CqcSkjTO.js +333 -0
- package/dist/TrendWithTransactions-D2aem5PN.js +346 -0
- package/dist/TrendWithTransactions-DTqMUEqc.cjs +116 -0
- package/dist/UncategorizedAccountsMappingPage-B6m7OY9M.js +1159 -0
- package/dist/UncategorizedAccountsMappingPage-OWeHopPm.cjs +244 -0
- package/dist/UnitIntegrationPage-C8YMJ0Z2.js +405 -0
- package/dist/UnitIntegrationPage-DwV54d8C.cjs +67 -0
- package/dist/UploadAdditionalDocumentOverlay-BaDdVH1Y.cjs +38 -0
- package/dist/UploadAdditionalDocumentOverlay-XSwDsR8u.js +211 -0
- package/dist/Vendor2FAPopup-DoEntVz8.js +69 -0
- package/dist/Vendor2FAPopup-d2A6zSTo.cjs +1 -0
- package/dist/VendorACHDetailsPage-DZra6YTl.cjs +1 -0
- package/dist/VendorACHDetailsPage-Dl8N19Wd.js +43 -0
- package/dist/VendorDetailPage-B4hsbiFW.cjs +257 -0
- package/dist/VendorDetailPage-C70cGoK-.js +1236 -0
- package/dist/VendorDomesticWireDetailsPage--tg50xAC.cjs +1 -0
- package/dist/VendorDomesticWireDetailsPage-UC8ROpe8.js +53 -0
- package/dist/VendorFiling1099EditablePage-BUTMt-mz.cjs +175 -0
- package/dist/VendorFiling1099EditablePage-Dns4MVf_.js +842 -0
- package/dist/VendorFirstReviewPage-BlongjkS.cjs +730 -0
- package/dist/VendorFirstReviewPage-Cxxy3piV.js +2748 -0
- package/dist/VendorInternationalWireDetailsPage-CgnHOaQ3.cjs +152 -0
- package/dist/VendorInternationalWireDetailsPage-Db5UwGbX.js +968 -0
- package/dist/VendorInternationalWireSwiftDetailsPage-5VVH8Mdr.js +52 -0
- package/dist/VendorInternationalWireSwiftDetailsPage-BFxN8Hsj.cjs +1 -0
- package/dist/VendorsAccountsSection-B52wJB6Y.js +279 -0
- package/dist/VendorsAccountsSection-BtGWPLEB.cjs +68 -0
- package/dist/VerifyDevice-B5Sz_SFc.cjs +112 -0
- package/dist/VerifyDevice-CqQhUq6f.js +298 -0
- package/dist/VideoPlayer-D0yXsOY9.js +169 -0
- package/dist/VideoPlayer-DQxSMa6r.cjs +77 -0
- package/dist/VideoPopup-Ra_oMOPc.js +60 -0
- package/dist/VideoPopup-Thm51h-d.cjs +31 -0
- package/dist/WarningsDrawerPage-BdvegF1p.js +228 -0
- package/dist/WarningsDrawerPage-K2RomS_M.cjs +92 -0
- package/dist/ZeniAccountDetailPage-DXNb-nMw.js +907 -0
- package/dist/ZeniAccountDetailPage-ysGoLQAX.cjs +300 -0
- package/dist/ZeniAccountListViewPage-BtAdYJMC.cjs +441 -0
- package/dist/ZeniAccountListViewPage-i_iTORTu.js +1078 -0
- package/dist/ZeniAccountNavBarPieces-DbSmdrEW.cjs +14 -0
- package/dist/ZeniAccountNavBarPieces-DzRZqV-0.js +89 -0
- package/dist/ZeniAccountPromoPage-DqE6wB6o.cjs +184 -0
- package/dist/ZeniAccountPromoPage-giB8AqGm.js +522 -0
- package/dist/ZeniAccountSetupPage-CmugcSb8.js +309 -0
- package/dist/ZeniAccountSetupPage-CtiEJqjh.cjs +36 -0
- package/dist/ZeniAvatar-C03iRsu-.js +34 -0
- package/dist/ZeniAvatar-DOFQKzd6.cjs +13 -0
- package/dist/ZeniCopyright-Btfoa7EE.cjs +1 -0
- package/dist/ZeniCopyright-DRoQc2Ra.js +9 -0
- package/dist/ZeniDatePicker-5NT5X5Wn.js +386 -0
- package/dist/ZeniDatePicker-CUQ6nXb7.cjs +187 -0
- package/dist/ZeniTransferAmountSlider-BMKTTqR5.js +215 -0
- package/dist/ZeniTransferAmountSlider-BfTutk3T.cjs +63 -0
- package/dist/analyticsHelper-BlH84d-F.cjs +1 -0
- package/dist/analyticsHelper-DOVw-ykA.js +65 -0
- package/dist/appLocale.d.ts +0 -2
- package/dist/calculateSize-B28Hk_ek.cjs +1 -0
- package/dist/calculateSize-BdN1Ggbg.js +22 -0
- package/dist/chartTypes-m-tKCPPT.cjs +1 -0
- package/dist/chartTypes-s0hlp6i4.js +47 -0
- package/dist/cockpit.cjs.js +2 -2
- package/dist/cockpit.esm.js +15 -15
- package/dist/common-8EFgMkGM.cjs +1 -0
- package/dist/common-CdCJOg7j.js +22 -0
- package/dist/commonDimensions-Bn6VpGdl.js +13 -0
- package/dist/commonDimensions-DGNkmgS9.cjs +1 -0
- package/dist/components/spendManagement/reimbursement/AllReimbursementLineItems.d.ts +3 -12
- package/dist/detailCommon-DVO7L6bK.js +124 -0
- package/dist/detailCommon-DZFKEJp0.cjs +38 -0
- package/dist/downloadPdf-ChLWemwb.js +32 -0
- package/dist/downloadPdf-DxkX793E.cjs +1 -0
- package/dist/index-BbWHLDfl.cjs +21096 -0
- package/dist/index-SJFqjz6R.js +92016 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/mapLoadingInProgressToTreeNode-DqW5aggR.js +25 -0
- package/dist/mapLoadingInProgressToTreeNode-smM-5IWP.cjs +1 -0
- package/dist/mapSectionWithAcOnlyToTreeNode-CznJ2DYI.js +388 -0
- package/dist/mapSectionWithAcOnlyToTreeNode-D4mZ4OFt.cjs +1 -0
- package/dist/mapSpacerToTreeNode-BDlEAKsX.cjs +1 -0
- package/dist/mapSpacerToTreeNode-CD-SVA0T.js +25 -0
- package/dist/mapTimeframeBalancesToTreeNode-BMgMKqKK.js +24 -0
- package/dist/mapTimeframeBalancesToTreeNode-BRZWQHsm.cjs +1 -0
- package/dist/mapTimeframeBalancesToTreeNode-CMHK4OlX.cjs +1 -0
- package/dist/mapTimeframeBalancesToTreeNode-DcgPvmFg.js +24 -0
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-CqMNAbxY.cjs +1 -0
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-DGBEgZgZ.js +32 -0
- package/dist/sectionColor-Cz7rBVLR.js +32 -0
- package/dist/sectionColor-DuSIu6B1.cjs +1 -0
- package/dist/strings/strings-en-in.d.ts +0 -2
- package/dist/strings/strings.d.ts +0 -2
- package/dist/toCOABalancesWithID-DAIJGnHw.cjs +1 -0
- package/dist/toCOABalancesWithID-XgaWkMRd.js +8 -0
- package/dist/toChartData-CV8PEnf4.cjs +1 -0
- package/dist/toChartData-Dd63do4Z.js +76 -0
- package/dist/uploadAttachment-BReu-zRB.cjs +286 -0
- package/dist/uploadAttachment-mDHVJ8Mp.js +952 -0
- package/dist/zeniDatePicker.helpers-C3AuTTBB.cjs +1 -0
- package/dist/zeniDatePicker.helpers-DuYddQRG.js +14 -0
- package/package.json +3 -3
- package/dist/ACHDetailsPage-B0TaODEd.cjs +0 -21
- package/dist/ACHDetailsPage-DvQSsyqc.js +0 -160
- package/dist/AIPerformancePage-CDxjPMVC.cjs +0 -534
- package/dist/AIPerformancePage-CtINl9Hn.js +0 -1341
- package/dist/AccountInfoPage-A_-IsMjY.js +0 -78
- package/dist/AccountInfoPage-Di6rZMH7.cjs +0 -18
- package/dist/AccountInfoPageContent-GSU5sIZD.js +0 -428
- package/dist/AccountInfoPageContent-UHXfi7Po.cjs +0 -149
- package/dist/AccountLockedInfoModal-BuCFMQKC.js +0 -125
- package/dist/AccountLockedInfoModal-CUwOv_Qk.cjs +0 -59
- package/dist/AccountReconDetailsDrawerPage-BWSn1slr.js +0 -686
- package/dist/AccountReconDetailsDrawerPage-CT1KmBNr.cjs +0 -239
- package/dist/AccountRow-CZ6ffhtT.cjs +0 -298
- package/dist/AccountRow-DYr7zk5v.js +0 -1012
- package/dist/AccountsPromoCardStack-BMmvjUG6.cjs +0 -207
- package/dist/AccountsPromoCardStack-KmldHNXV.js +0 -664
- package/dist/AddAddressForCardDrawer-BXeGmekZ.js +0 -82
- package/dist/AddAddressForCardDrawer-Ba7vbV8E.cjs +0 -6
- package/dist/AddToWalletPage-BLs0vF9Z.js +0 -642
- package/dist/AddToWalletPage-BM_FvN_2.cjs +0 -344
- package/dist/AgingReportsPage-Do3IHDmm.js +0 -827
- package/dist/AgingReportsPage-w6ITYmDX.cjs +0 -79
- package/dist/AllUserItems-7mK0BUdQ.cjs +0 -192
- package/dist/AllUserItems-DiGBDtxF.js +0 -979
- package/dist/ApAgingDetailPage-B_70u3q6.cjs +0 -46
- package/dist/ApAgingDetailPage-DsMsnH01.js +0 -239
- package/dist/AppBasePage-DGVSGeJ_.js +0 -120
- package/dist/AppBasePage-DZ6CX59Z.cjs +0 -71
- package/dist/AppDrawerContent-DBm7vOyM.js +0 -375
- package/dist/AppDrawerContent-DmPAT0-W.cjs +0 -91
- package/dist/ApprovalRulesSettingsPage-C0XHtjGk.cjs +0 -47
- package/dist/ApprovalRulesSettingsPage-kHzxO75v.js +0 -145
- package/dist/ArAgingChart-CVPkPlYg.cjs +0 -24
- package/dist/ArAgingChart-DcOZpIrQ.js +0 -529
- package/dist/ArAgingDetailPage-6G8WVykK.cjs +0 -46
- package/dist/ArAgingDetailPage-CmcRL-Z3.js +0 -243
- package/dist/AttachmentView-DIaDYQjM.js +0 -260
- package/dist/AttachmentView-QFU0vVCc.cjs +0 -101
- package/dist/BankAccountSection-FPeYiJUC.js +0 -398
- package/dist/BankAccountSection-sUnwX03P.cjs +0 -79
- package/dist/BankAccountWarningSection-81wjqNhG.js +0 -110
- package/dist/BankAccountWarningSection-BhZuNYWz.cjs +0 -51
- package/dist/BankConnectionsSettingsPage-0cuDBopT.cjs +0 -425
- package/dist/BankConnectionsSettingsPage-DKhLdEz2.js +0 -1693
- package/dist/BillDetailPage-CJCXZimT.js +0 -1798
- package/dist/BillDetailPage-Cm-LjfcI.cjs +0 -266
- package/dist/BillPayApprovalRuleDetailPage-BOEQUlwB.cjs +0 -27
- package/dist/BillPayApprovalRuleDetailPage-C1DswBDZ.js +0 -247
- package/dist/BillPayApprovalRulesPage-D6IJuYrx.cjs +0 -235
- package/dist/BillPayApprovalRulesPage-xcM1V1vf.js +0 -415
- package/dist/BillPayPromoPage-BNCrSsM8.js +0 -292
- package/dist/BillPayPromoPage-unGDcnja.cjs +0 -84
- package/dist/BillPaySetUpPage-ChweSnBT.cjs +0 -42
- package/dist/BillPaySetUpPage-DzWF_idC.js +0 -409
- package/dist/BillingSettingsPage-BjwTK_Bs.cjs +0 -44
- package/dist/BillingSettingsPage-DmQwArYj.js +0 -336
- package/dist/BillsBulkReviewDrawerPage-B6P2KakS.js +0 -216
- package/dist/BillsBulkReviewDrawerPage-DZHmVLDh.cjs +0 -1
- package/dist/BoxItem-CJsmJL2f.cjs +0 -53
- package/dist/BoxItem-LxK5yZ41.js +0 -118
- package/dist/BusinessVerificationPage-DrY8WJqA.cjs +0 -138
- package/dist/BusinessVerificationPage-utAKKQV0.js +0 -716
- package/dist/BusyIndication-D9eT_RFF.js +0 -19
- package/dist/BusyIndication-DT01U0tm.cjs +0 -9
- package/dist/CardNumberSubText-Dpik1cbn.js +0 -59
- package/dist/CardNumberSubText-J5tHljrL.cjs +0 -21
- package/dist/CashbackDetailPage-Cn5q9woa.js +0 -824
- package/dist/CashbackDetailPage-rKQXYI0r.cjs +0 -285
- package/dist/ChargeCardDetailPage-DmlBhWdY.js +0 -5453
- package/dist/ChargeCardDetailPage-Dzyt3ZCO.cjs +0 -1462
- package/dist/ChargeCardListPage-BIVr5t_q.js +0 -1775
- package/dist/ChargeCardListPage-CL9s7Omi.cjs +0 -406
- package/dist/ChargeCardListTable-BFmYBlYQ.cjs +0 -711
- package/dist/ChargeCardListTable-ClDcN4Ql.js +0 -2871
- package/dist/ChargeCardPromoPage-C7OqATT_.js +0 -805
- package/dist/ChargeCardPromoPage-CRBCyUiq.cjs +0 -222
- package/dist/ChargeCardSetupPage-3K14figi.js +0 -359
- package/dist/ChargeCardSetupPage-BaudwUwV.cjs +0 -36
- package/dist/ChargeCardStatementsPage-CywxReDq.js +0 -243
- package/dist/ChargeCardStatementsPage-D-44Bh8a.cjs +0 -60
- package/dist/CheckDepositDrawerPage-DPT2TPAe.js +0 -726
- package/dist/CheckDepositDrawerPage-gcVQp0oA.cjs +0 -206
- package/dist/CollapsableReportTable-2f5UFxuV.js +0 -11758
- package/dist/CollapsableReportTable-DA8xdrML.cjs +0 -2932
- package/dist/CompanyOfficerDetailsSection-CAHfjIks.cjs +0 -260
- package/dist/CompanyOfficerDetailsSection-kpioMN5h.js +0 -1633
- package/dist/CompanyPassportCard-BYl0P9IK.js +0 -146
- package/dist/CompanyPassportCard-YDtZ65zr.cjs +0 -42
- package/dist/CompanyPassportPage-BCftxhVP.js +0 -2160
- package/dist/CompanyPassportPage-BS2rephp.cjs +0 -574
- package/dist/CompleteProfile-D2fYZ_0l.cjs +0 -52
- package/dist/CompleteProfile-uAKwzF4i.js +0 -301
- package/dist/ConfettiBurst-DTfOzLdH.cjs +0 -1
- package/dist/ConfettiBurst-DnwXwTr9.js +0 -37
- package/dist/CreateOrEditVendorPage-DS_GJcrI.js +0 -755
- package/dist/CreateOrEditVendorPage-vFgL-51m.cjs +0 -281
- package/dist/CreditCardPaymentDrawerPage-CQdaqbjF.cjs +0 -224
- package/dist/CreditCardPaymentDrawerPage-DDR4VnO8.js +0 -1169
- package/dist/CurrencySelectField-DdsU9aKz.js +0 -348
- package/dist/CurrencySelectField-sL4lJQqc.cjs +0 -139
- package/dist/CustomerOnboardingActivationPage-BqkNH0XX.js +0 -143
- package/dist/CustomerOnboardingActivationPage-CRe0GACf.cjs +0 -88
- package/dist/CustomerOnboardingContainerPage-CXNC3yUo.cjs +0 -1
- package/dist/CustomerOnboardingContainerPage-D8ObThCI.js +0 -7
- package/dist/CustomerOnboardingDetailPageSkeleton-BfFQ07DY.js +0 -434
- package/dist/CustomerOnboardingDetailPageSkeleton-CZqtx17j.cjs +0 -162
- package/dist/CustomerOnboardingNoStepsPage-BHFvTou2.js +0 -424
- package/dist/CustomerOnboardingNoStepsPage-DA_dQ_92.cjs +0 -66
- package/dist/CustomerOnboardingPage-BPV4y7f-.js +0 -1059
- package/dist/CustomerOnboardingPage-gvpo8JN3.cjs +0 -107
- package/dist/CustomerOnboardingProductSuitePage-DX6prczD.js +0 -348
- package/dist/CustomerOnboardingProductSuitePage-DxfQu5xZ.cjs +0 -202
- package/dist/Dashboard-Btea1PBa.js +0 -5539
- package/dist/Dashboard-Cjcc-8Ya.cjs +0 -1551
- package/dist/DashboardReportPage-BSiD8t9k.js +0 -2536
- package/dist/DashboardReportPage-COQBknrI.cjs +0 -371
- package/dist/DashboardSidebarBackgroundAnimation-CccGnEjO.js +0 -50
- package/dist/DashboardSidebarBackgroundAnimation-DPYtDb0A.cjs +0 -12
- package/dist/DepositAccTransactionItem-CxJWNhNz.cjs +0 -76
- package/dist/DepositAccTransactionItem-Dn3eohpV.js +0 -112
- package/dist/DepositAccTransactionListPage-BmGhGol-.js +0 -152
- package/dist/DepositAccTransactionListPage-DL__OWwI.cjs +0 -66
- package/dist/DomesticWireDetailsPage-DNUjRfTr.cjs +0 -21
- package/dist/DomesticWireDetailsPage-DT3WDK5E.js +0 -189
- package/dist/DownloadOverlay-BjwLjgiU.js +0 -2148
- package/dist/DownloadOverlay-CIAzGDy8.cjs +0 -439
- package/dist/DrawerPage-BILy2z1h.js +0 -208
- package/dist/DrawerPage-D4WEE4Tl.cjs +0 -118
- package/dist/EditPeoplePage-B3FmXHNp.cjs +0 -55
- package/dist/EditPeoplePage-BQHKD0jp.js +0 -392
- package/dist/EditReimbursementDetailPage-B7MgVB8Z.cjs +0 -865
- package/dist/EditReimbursementDetailPage-DSr7bdlU.js +0 -4553
- package/dist/EmptySearchResults-Cm15QrbE.js +0 -70
- package/dist/EmptySearchResults-DTUhcBUe.cjs +0 -46
- package/dist/EntityDetailPage-BsxFtpbP.cjs +0 -18
- package/dist/EntityDetailPage-DSbxsTEb.js +0 -82
- package/dist/EntitySummarySection-CB15375N.cjs +0 -149
- package/dist/EntitySummarySection-DxLtDw1S.js +0 -530
- package/dist/ExpenseAutomationOverviewPage-7EG3LJoF.js +0 -806
- package/dist/ExpenseAutomationOverviewPage-BPQCXPO9.cjs +0 -281
- package/dist/ExpenseAutomationPage-C0019y-o.js +0 -11550
- package/dist/ExpenseAutomationPage-DXue35N3.cjs +0 -1650
- package/dist/ExpressPayPage-BAl3E8Cr.js +0 -1136
- package/dist/ExpressPayPage-W4FXp_LF.cjs +0 -168
- package/dist/FeaturePreviewPage-DF2sBRk-.cjs +0 -11
- package/dist/FeaturePreviewPage-hm7XW0Uv.js +0 -114
- package/dist/FollowStepsSection-B6Ulft3I.cjs +0 -390
- package/dist/FollowStepsSection-CRYo58fT.js +0 -1313
- package/dist/GlobalReviewListPage-CCV7Gsh9.cjs +0 -291
- package/dist/GlobalReviewListPage-DrsyULMH.js +0 -1674
- package/dist/InformationCardStack-B6rYtBvs.cjs +0 -31
- package/dist/InformationCardStack-DhbsL4eC.js +0 -219
- package/dist/InsightsCardStack-C8n7gff1.js +0 -305
- package/dist/InsightsCardStack-C9UdWIzu.cjs +0 -79
- package/dist/InsightsSection-C-GdV3SN.js +0 -97
- package/dist/InsightsSection-CBBrZR7l.cjs +0 -27
- package/dist/IntegrationsSettingsPage-C-MfDZ4B.cjs +0 -57
- package/dist/IntegrationsSettingsPage-myvuAfXm.js +0 -136
- package/dist/InternationalWireSwiftDetailsPage-BSE6ciXX.cjs +0 -171
- package/dist/InternationalWireSwiftDetailsPage-X4xa3in_.js +0 -753
- package/dist/InternationalWireVerificationPage-C6IaA1VK.js +0 -877
- package/dist/InternationalWireVerificationPage-CafbFUCD.cjs +0 -292
- package/dist/InviteFormPage-BLW9nknb.js +0 -873
- package/dist/InviteFormPage-Cb1_h3aD.cjs +0 -312
- package/dist/InvitePageListView-Bm9A2gNg.js +0 -1764
- package/dist/InvitePageListView-DR3D3oJu.cjs +0 -739
- package/dist/InvitePeoplePage-CXe0r9h-.js +0 -286
- package/dist/InvitePeoplePage-Df2tel13.cjs +0 -12
- package/dist/InvoiceUploadSection-D0TORlbk.cjs +0 -140
- package/dist/InvoiceUploadSection-D7cfFBMZ.js +0 -465
- package/dist/IssueChargeCardPage-CFNUIZLv.js +0 -2875
- package/dist/IssueChargeCardPage-D26N68KM.cjs +0 -532
- package/dist/LabeledAddressValue-CO8Y2wN1.js +0 -115
- package/dist/LabeledAddressValue-S4WxiF5-.cjs +0 -49
- package/dist/LabeledAddressValueField-68SiYCW6.js +0 -130
- package/dist/LabeledAddressValueField-BetyAlB3.cjs +0 -45
- package/dist/LabeledControlledCheckBoxField-DIKsQPBv.cjs +0 -16
- package/dist/LabeledControlledCheckBoxField-Duk03Sy3.js +0 -73
- package/dist/LabeledCreatableSingleSelectField-B0L6B-yK.js +0 -515
- package/dist/LabeledCreatableSingleSelectField-BOgQkYX8.cjs +0 -204
- package/dist/LabeledDocumentField-0Q3TcKrS.cjs +0 -41
- package/dist/LabeledDocumentField-Dr058nG0.js +0 -147
- package/dist/LabeledDropDownFormattedTextField-Bslp3Men.js +0 -163
- package/dist/LabeledDropDownFormattedTextField-o4L_dQDg.cjs +0 -59
- package/dist/LabeledEmailInputField-CPJKJBPf.cjs +0 -182
- package/dist/LabeledEmailInputField-obYkuh_u.js +0 -425
- package/dist/LabeledItemWithButton-3M1AtF3_.js +0 -74
- package/dist/LabeledItemWithButton-Dy8SV1hs.cjs +0 -21
- package/dist/LabeledNameField-BDGDy2DO.js +0 -293
- package/dist/LabeledNameField-CV42mlpD.cjs +0 -141
- package/dist/LabeledSingleSelectField-CJafdZeL.cjs +0 -136
- package/dist/LabeledSingleSelectField-YRLFqZkg.js +0 -372
- package/dist/LabeledSingleSelectWithoutClearableField-CFkSlfM2.js +0 -103
- package/dist/LabeledSingleSelectWithoutClearableField-DB53OcL9.cjs +0 -38
- package/dist/LabeledText-DBpg2vqD.js +0 -103
- package/dist/LabeledText-DZRyQOc6.cjs +0 -42
- package/dist/LabeledUserSingleSelectWithSubtitlesField-D5wjehIW.js +0 -572
- package/dist/LabeledUserSingleSelectWithSubtitlesField-DGpdw-d1.cjs +0 -229
- package/dist/LabeledZeniRolesDropDownField-B2R8XFJX.js +0 -975
- package/dist/LabeledZeniRolesDropDownField-C9OEqTMc.cjs +0 -297
- package/dist/LinkJETransactionPage-DRJU_Y-r.js +0 -406
- package/dist/LinkJETransactionPage-leL7PyEa.cjs +0 -98
- package/dist/LockCardPage-uVHdoThD.js +0 -2032
- package/dist/LockCardPage-zYVDU0Sz.cjs +0 -623
- package/dist/LowBalancePopup-BklIIT84.cjs +0 -34
- package/dist/LowBalancePopup-QZfuguRn.js +0 -219
- package/dist/MagicLinkACHDetailsPage-Am6eJI0l.js +0 -39
- package/dist/MagicLinkACHDetailsPage-BzYHshwF.cjs +0 -1
- package/dist/MagicLinkDomesticWireDetailsPage-B1ljU0dr.cjs +0 -1
- package/dist/MagicLinkDomesticWireDetailsPage-DWUwnrPj.js +0 -44
- package/dist/MagicLinkInternationalWireDetailsPage-BP68HgsU.cjs +0 -1
- package/dist/MagicLinkInternationalWireDetailsPage-DQY6hs3B.js +0 -43
- package/dist/MagicLinkSuccessPage-BNJvYCns.js +0 -59
- package/dist/MagicLinkSuccessPage-DCmJ2XTs.cjs +0 -31
- package/dist/MagicLinkTitleSection-Bd8jGMPR.js +0 -40
- package/dist/MagicLinkTitleSection-CkFhyuRd.cjs +0 -17
- package/dist/MailingDetailsSection-DJ79GngR.js +0 -74
- package/dist/MailingDetailsSection-DQhRbq_e.cjs +0 -21
- package/dist/MatchingOperatorDropdown-85umOKDr.cjs +0 -130
- package/dist/MatchingOperatorDropdown-M0sWDkeG.js +0 -572
- package/dist/Menu-B7DktVXC.cjs +0 -17
- package/dist/Menu-ByGN673y.js +0 -110
- package/dist/MoreMenuButton-CHpmb1nr.js +0 -569
- package/dist/MoreMenuButton-DbJg2i8g.cjs +0 -167
- package/dist/MyBankConnectionsSettingsPage-DA8o41vS.cjs +0 -110
- package/dist/MyBankConnectionsSettingsPage-DflC2bgO.js +0 -296
- package/dist/MyPendingActivationChargeCardListPage-B0bLU07w.cjs +0 -6
- package/dist/MyPendingActivationChargeCardListPage-D9cNtdiT.js +0 -168
- package/dist/MyProfileSettingsPage-BF5Vimqm.js +0 -641
- package/dist/MyProfileSettingsPage-CLIms_8G.cjs +0 -85
- package/dist/NavBarWithPicker-Cs_MnnwZ.cjs +0 -30
- package/dist/NavBarWithPicker-DzCMjxEh.js +0 -106
- package/dist/NavigationArrow-DIxTlGja.cjs +0 -47
- package/dist/NavigationArrow-DnNWGbn1.js +0 -88
- package/dist/NavigationDots-BCps4LkS.cjs +0 -15
- package/dist/NavigationDots-DDeQpZyN.js +0 -44
- package/dist/NewGlobalMerchantPage-BH4K-EfB.js +0 -543
- package/dist/NewGlobalMerchantPage-CvEr9Dow.cjs +0 -160
- package/dist/NoDataChart-CC0m3ZTb.cjs +0 -26
- package/dist/NoDataChart-DZ2Rihu9.js +0 -58
- package/dist/NoDataTable-8__bkpR9.js +0 -27
- package/dist/NoDataTable-DsuktS5F.cjs +0 -8
- package/dist/NotFoundPage-BsfqZbia.js +0 -71
- package/dist/NotFoundPage-DB3d7KTV.cjs +0 -46
- package/dist/NotificationSettingsPage-Dfr4NP_2.cjs +0 -163
- package/dist/NotificationSettingsPage-mRPNj6h3.js +0 -541
- package/dist/NotificationsListConfig-CYvYFnDo.cjs +0 -1
- package/dist/NotificationsListConfig-DYFQNDPv.js +0 -10
- package/dist/NotificationsPage-BKI-K9hE.js +0 -2664
- package/dist/NotificationsPage-D1T0wisy.cjs +0 -685
- package/dist/OpExByVendorPage-BAb-vJjb.js +0 -1057
- package/dist/OpExByVendorPage-CkOz9jhG.cjs +0 -100
- package/dist/PandLWithForecastPage-18heunps.js +0 -563
- package/dist/PandLWithForecastPage-uVJ9QAUI.cjs +0 -107
- package/dist/PaymentAccountSetupBillingAddressSection-CwgPmz59.js +0 -623
- package/dist/PaymentAccountSetupBillingAddressSection-tqBMEibv.cjs +0 -106
- package/dist/PeoplePage-93RwGa89.js +0 -1994
- package/dist/PeoplePage-Bxdac5jI.cjs +0 -675
- package/dist/ProductsCarousel-Cj73VzMQ.js +0 -309
- package/dist/ProductsCarousel-tRB-7a-l.cjs +0 -142
- package/dist/PromoBaseCards-DBuy1n1K.cjs +0 -218
- package/dist/PromoBaseCards-hkX_0VF5.js +0 -356
- package/dist/QBOConnectionDialog-BMCgBnHO.cjs +0 -51
- package/dist/QBOConnectionDialog-BoibW-w9.js +0 -115
- package/dist/QBOSetupSection-CYuBlI6A.js +0 -167
- package/dist/QBOSetupSection-Dm3okyqS.cjs +0 -79
- package/dist/ReimbursementApprovalRuleDetailPage-LstZ8GGR.js +0 -247
- package/dist/ReimbursementApprovalRuleDetailPage-maVIuP2Z.cjs +0 -26
- package/dist/ReimbursementApprovalRulesPage-BezmaOZk.cjs +0 -237
- package/dist/ReimbursementApprovalRulesPage-DS40kvbN.js +0 -410
- package/dist/ReimbursementDetailPage-Bvf_nc_u.js +0 -1514
- package/dist/ReimbursementDetailPage-CZ2pXhkA.cjs +0 -314
- package/dist/ReimbursementPromoPage-Df10-5ER.cjs +0 -84
- package/dist/ReimbursementPromoPage-wscZy02a.js +0 -363
- package/dist/ReimbursementSetUpPage-NsrMCNkH.js +0 -663
- package/dist/ReimbursementSetUpPage-jGsmQe0s.cjs +0 -140
- package/dist/ReimbursementsBulkReviewDrawerPage-BEqNgna8.js +0 -204
- package/dist/ReimbursementsBulkReviewDrawerPage-BfIgslb2.cjs +0 -1
- package/dist/ReloadCard-D7E6RX-3.cjs +0 -26
- package/dist/ReloadCard-QT3BYC1t.js +0 -137
- package/dist/ReloadContainer-Bq_8jvtO.cjs +0 -596
- package/dist/ReloadContainer-WQN3bUrG.js +0 -2144
- package/dist/ReportTableViewSelector-Cib2Xby7.js +0 -679
- package/dist/ReportTableViewSelector-CkN8Qd0A.cjs +0 -150
- package/dist/ReportsPage-BnmjlD7c.js +0 -1315
- package/dist/ReportsPage-DBLqaMAX.cjs +0 -121
- package/dist/RevenueChart-DfJj7k3j.cjs +0 -280
- package/dist/RevenueChart-Dq7_ocZf.js +0 -2239
- package/dist/ReviewDetailsPage-D-9W2fKX.js +0 -1073
- package/dist/ReviewDetailsPage-F1a2JRJv.cjs +0 -290
- package/dist/ReviewOverlay-CmDKukvX.js +0 -299
- package/dist/ReviewOverlay-D-YK1Bga.cjs +0 -152
- package/dist/RoleWithToolTip-Cd2lSv1A.cjs +0 -22
- package/dist/RoleWithToolTip-sM5XfkMr.js +0 -72
- package/dist/ScheduleDetailsFixedAssetsPage-CpK_VRbC.cjs +0 -37
- package/dist/ScheduleDetailsFixedAssetsPage-w5t7E2Gn.js +0 -806
- package/dist/ScheduleDetailsPage-CY-3TeHN.js +0 -726
- package/dist/ScheduleDetailsPage-yyQVZcdG.cjs +0 -37
- package/dist/ScheduleSequenceTable-Banupvhk.js +0 -1261
- package/dist/ScheduleSequenceTable-CKWUnzef.cjs +0 -324
- package/dist/SetUpAccountSection-DNzbxbd5.js +0 -1468
- package/dist/SetUpAccountSection-IO9fcBkM.cjs +0 -378
- package/dist/SignIn-D3H1f0Bm.cjs +0 -448
- package/dist/SignIn-DABeUbTc.js +0 -1075
- package/dist/SpendManagementListViewPage-BLKdWJVI.cjs +0 -122
- package/dist/SpendManagementListViewPage-BcmbRV5V.js +0 -627
- package/dist/SpendManagementPerTabPage-CB69UjnQ.cjs +0 -754
- package/dist/SpendManagementPerTabPage-mYMIWLfG.js +0 -2735
- package/dist/SpendManagementSection-BpNxW9Or.js +0 -1043
- package/dist/SpendManagementSection-DF0lR1Nx.cjs +0 -230
- package/dist/StatementItem-0PBHTbHG.cjs +0 -31
- package/dist/StatementItem-StuXFGm4.js +0 -81
- package/dist/StatementsPage-BeH4zam1.js +0 -130
- package/dist/StatementsPage-C3V4oWJr.cjs +0 -58
- package/dist/StatusSwitcher-B6F9ef4F.cjs +0 -120
- package/dist/StatusSwitcher-BouiuxoR.js +0 -319
- package/dist/SubTabSwitcher-5vWQ2g1j.cjs +0 -58
- package/dist/SubTabSwitcher-DYzPnbVn.js +0 -113
- package/dist/SuccessAnimation-BK1k1DVJ.cjs +0 -13
- package/dist/SuccessAnimation-DJ0kTPiL.js +0 -52
- package/dist/SummaryCard-Ck7LB-PG.js +0 -25
- package/dist/SummaryCard-V5OSBt_5.cjs +0 -1
- package/dist/TaskDetailPage-CtxwG1cL.js +0 -2533
- package/dist/TaskDetailPage-DdS62FyE.cjs +0 -775
- package/dist/TaskListRow-BxzSDBKo.cjs +0 -556
- package/dist/TaskListRow-DtWI8X4h.js +0 -1950
- package/dist/TaskManagementPage-BYO25qpF.js +0 -1935
- package/dist/TaskManagementPage-DNk7g171.cjs +0 -508
- package/dist/TimeRangeSwitcher-DxBsoTKh.js +0 -265
- package/dist/TimeRangeSwitcher-zDGk-50z.cjs +0 -64
- package/dist/TimeframeSwitcher-E_lJilOH.cjs +0 -31
- package/dist/TimeframeSwitcher-TZ5skUgj.js +0 -103
- package/dist/TimeframeSwitcherWithToggle-C8sOGoqi.cjs +0 -31
- package/dist/TimeframeSwitcherWithToggle-uG_8HCZv.js +0 -157
- package/dist/TopExCard-C9954ews.cjs +0 -38
- package/dist/TopExCard-Pogft9eJ.js +0 -568
- package/dist/TopExDetailPage-C6KxniFi.cjs +0 -132
- package/dist/TopExDetailPage-DbezKmjZ.js +0 -318
- package/dist/TransactionDetailPage-CuLcAfUk.js +0 -5238
- package/dist/TransactionDetailPage-DL3tq6d0.cjs +0 -912
- package/dist/TransactionList-BqLGEKaT.cjs +0 -147
- package/dist/TransactionList-Drwy-Ecy.js +0 -558
- package/dist/TransactionListBig-CHeitFrP.js +0 -658
- package/dist/TransactionListBig-ZcyorN2N.cjs +0 -284
- package/dist/TransactionListPage-B73GpwMD.cjs +0 -35
- package/dist/TransactionListPage-BRygEdgb.js +0 -144
- package/dist/TransactionVendorDetailPage-CQmV1UR4.cjs +0 -80
- package/dist/TransactionVendorDetailPage-DELofIxC.js +0 -425
- package/dist/TransferDrawerPage--pLlUVmj.js +0 -1435
- package/dist/TransferDrawerPage-B4lYh4YQ.cjs +0 -362
- package/dist/TreasuryOverviewPage-BfIrBlkR.js +0 -1889
- package/dist/TreasuryOverviewPage-JG0TkNrF.cjs +0 -708
- package/dist/TreasuryPromoPage-CqspS0gT.cjs +0 -505
- package/dist/TreasuryPromoPage-GSDR2siq.js +0 -1123
- package/dist/TreasuryStatementsPage-B7_GanYY.js +0 -131
- package/dist/TreasuryStatementsPage-VeswYJN-.cjs +0 -58
- package/dist/TreasuryTaxLetterPage-C5lAdHhN.cjs +0 -58
- package/dist/TreasuryTaxLetterPage-DwrcQTZM.js +0 -131
- package/dist/TrendChart-1rvR6MjM.cjs +0 -16
- package/dist/TrendChart-CfFlybne.js +0 -333
- package/dist/TrendWithTransactions-CBDKBziX.js +0 -346
- package/dist/TrendWithTransactions-Dx-fLhsf.cjs +0 -116
- package/dist/UncategorizedAccountsMappingPage-BAMfXf1m.js +0 -1159
- package/dist/UncategorizedAccountsMappingPage-Dv8axQIm.cjs +0 -244
- package/dist/UnitIntegrationPage-CpI0g7nW.cjs +0 -67
- package/dist/UnitIntegrationPage-D9UFiSWg.js +0 -405
- package/dist/UploadAdditionalDocumentOverlay-BAVaWZFK.js +0 -211
- package/dist/UploadAdditionalDocumentOverlay-CDqTbh8U.cjs +0 -38
- package/dist/Vendor2FAPopup-J5kdrVEG.cjs +0 -1
- package/dist/Vendor2FAPopup-oOHsPs74.js +0 -69
- package/dist/VendorACHDetailsPage-DniGMjqC.js +0 -43
- package/dist/VendorACHDetailsPage-OkT6tcet.cjs +0 -1
- package/dist/VendorDetailPage-CFX7VBRB.cjs +0 -257
- package/dist/VendorDetailPage-CvBXSzAQ.js +0 -1236
- package/dist/VendorDomesticWireDetailsPage-D65U0dUe.js +0 -53
- package/dist/VendorDomesticWireDetailsPage-Dxt99u3Q.cjs +0 -1
- package/dist/VendorFiling1099EditablePage-B9UWvRBr.js +0 -842
- package/dist/VendorFiling1099EditablePage-npi06RXf.cjs +0 -175
- package/dist/VendorFirstReviewPage-DvYZN4qg.js +0 -2748
- package/dist/VendorFirstReviewPage-icMTeDmv.cjs +0 -730
- package/dist/VendorInternationalWireDetailsPage-C9A-Anp2.js +0 -968
- package/dist/VendorInternationalWireDetailsPage-h-VEFAK5.cjs +0 -152
- package/dist/VendorInternationalWireSwiftDetailsPage-1E9uSc_E.js +0 -52
- package/dist/VendorInternationalWireSwiftDetailsPage-DuRPdpka.cjs +0 -1
- package/dist/VendorsAccountsSection-GOmghdKT.js +0 -279
- package/dist/VendorsAccountsSection-sH-0b69I.cjs +0 -68
- package/dist/VerifyDevice-C5hBGUUo.cjs +0 -112
- package/dist/VerifyDevice-DeEx7f1Q.js +0 -298
- package/dist/VideoPlayer-BT6mpX49.js +0 -169
- package/dist/VideoPlayer-DF9T3HwI.cjs +0 -77
- package/dist/VideoPopup-DZ_ISyDw.js +0 -60
- package/dist/VideoPopup-q0rw8yTx.cjs +0 -31
- package/dist/WarningsDrawerPage-DZq9yVls.cjs +0 -92
- package/dist/WarningsDrawerPage-g2Mj9kXl.js +0 -228
- package/dist/ZeniAccountDetailPage-CQcvUOrQ.cjs +0 -300
- package/dist/ZeniAccountDetailPage-UQpgLov4.js +0 -907
- package/dist/ZeniAccountListViewPage-1HChKY7z.js +0 -1078
- package/dist/ZeniAccountListViewPage-BY_Cb88e.cjs +0 -441
- package/dist/ZeniAccountNavBarPieces-Cysl8vIn.js +0 -89
- package/dist/ZeniAccountNavBarPieces-eYsK8BAF.cjs +0 -14
- package/dist/ZeniAccountPromoPage-BaKc1M1r.cjs +0 -184
- package/dist/ZeniAccountPromoPage-CWvGybrm.js +0 -522
- package/dist/ZeniAccountSetupPage-Bel2rXXp.js +0 -309
- package/dist/ZeniAccountSetupPage-COaVK227.cjs +0 -36
- package/dist/ZeniAvatar-BZfMlsOD.js +0 -34
- package/dist/ZeniAvatar-DJA_S67F.cjs +0 -13
- package/dist/ZeniCopyright-BLXjNDyh.cjs +0 -1
- package/dist/ZeniCopyright-CS188c1P.js +0 -9
- package/dist/ZeniDatePicker-DvgFoAlK.js +0 -386
- package/dist/ZeniDatePicker-keJbdcYF.cjs +0 -187
- package/dist/ZeniTransferAmountSlider-Bq2FNosp.js +0 -215
- package/dist/ZeniTransferAmountSlider-DGLWOwU1.cjs +0 -63
- package/dist/analyticsHelper-lPvQOd4r.js +0 -65
- package/dist/analyticsHelper-lcv2xsFY.cjs +0 -1
- package/dist/calculateSize-B2r0fsqq.js +0 -22
- package/dist/calculateSize-BqA8pF5S.cjs +0 -1
- package/dist/chartTypes-B_ryIMWl.cjs +0 -1
- package/dist/chartTypes-BqIAJjXL.js +0 -47
- package/dist/common-BR6RKmc5.cjs +0 -1
- package/dist/common-D_fSjHFN.js +0 -22
- package/dist/commonDimensions--BNDKAU6.cjs +0 -1
- package/dist/commonDimensions-CzFG07N-.js +0 -13
- package/dist/detailCommon-D1QpPzXY.cjs +0 -38
- package/dist/detailCommon-DIkCRejO.js +0 -124
- package/dist/downloadPdf-BnQMYssX.js +0 -32
- package/dist/downloadPdf-DZQrS_tY.cjs +0 -1
- package/dist/index-BUq811J_.js +0 -92020
- package/dist/index-DzNHLrCM.cjs +0 -21096
- package/dist/mapLoadingInProgressToTreeNode-BpfT1bm2.js +0 -25
- package/dist/mapLoadingInProgressToTreeNode-MSCzNxuO.cjs +0 -1
- package/dist/mapSectionWithAcOnlyToTreeNode-BJ2fG2kN.js +0 -388
- package/dist/mapSectionWithAcOnlyToTreeNode-COmt2Voo.cjs +0 -1
- package/dist/mapSpacerToTreeNode-BOTcKlwd.cjs +0 -1
- package/dist/mapSpacerToTreeNode-BYBiOftt.js +0 -25
- package/dist/mapTimeframeBalancesToTreeNode-BcOffR7T.cjs +0 -1
- package/dist/mapTimeframeBalancesToTreeNode-ChxTOW4S.cjs +0 -1
- package/dist/mapTimeframeBalancesToTreeNode-D3c4jKRJ.js +0 -24
- package/dist/mapTimeframeBalancesToTreeNode-DRWWAb2x.js +0 -24
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-C8yO1zQ-.js +0 -32
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-MSp998-H.cjs +0 -1
- package/dist/sectionColor-C9OblQ6g.cjs +0 -1
- package/dist/sectionColor-llrn9KFH.js +0 -32
- package/dist/toCOABalancesWithID-BXu7ezse.cjs +0 -1
- package/dist/toCOABalancesWithID-CvuAyGla.js +0 -8
- package/dist/toChartData-CLvIvl1n.cjs +0 -1
- package/dist/toChartData-DNohv-tx.js +0 -76
- package/dist/uploadAttachment-DJrcrprE.cjs +0 -286
- package/dist/uploadAttachment-rLH78UYa.js +0 -952
- package/dist/zeniDatePicker.helpers-Cv3bnrb3.js +0 -14
- package/dist/zeniDatePicker.helpers-DQIrm3og.cjs +0 -1
|
@@ -0,0 +1,2144 @@
|
|
|
1
|
+
import * as l from "react";
|
|
2
|
+
import ut, { useState as L, useEffect as T, useRef as K, useContext as Oe, useMemo as Ne, useCallback as V } from "react";
|
|
3
|
+
import { j as t, u as Re, b as Pe, k as pt, C as mt, b6 as g, b7 as ht, b8 as ue, b9 as we, ba as P, bb as pe, bc as ge, bd as $e, be as ve, bf as X, bg as gt, bh as ye, bi as xt, bj as ft, bk as Ct, bl as kt, bm as Et, bn as bt, bo as Nt, bp as yt, bq as Lt } from "./vendor-.pnpm-DtFedGku.js";
|
|
4
|
+
import d from "@emotion/styled";
|
|
5
|
+
import { S as r, a as J, fv as Tt, G as De, A as nt, C as H, ai as wt, v as $t, s as vt, p as ke, E as jt, u as rt, R as Le, av as Mt, aj as St, P as _t, J as At, D as ee, aQ as Ot, b as Rt, T as Ie, fw as st, a4 as Dt, N as xe, fx as me, fy as It, fz as Ht, fA as je, fB as Pt, t as Me, M as Wt, fC as Ft, fD as Bt, eq as zt, Z as Y, a3 as Ut, aq as Vt, j as Yt, x as Gt } from "./index-SJFqjz6R.js";
|
|
6
|
+
import { S as Xt } from "./SuccessAnimation-Cbnb2kPY.js";
|
|
7
|
+
import { zeniDate as We, dateNow as it } from "@zeniai/client-epic-state";
|
|
8
|
+
import { S as qt } from "./clock-CJkylEKt.js";
|
|
9
|
+
import { L as Kt } from "./LabeledEmailInputField-Cx0zctSj.js";
|
|
10
|
+
import { useCreateThread as Jt } from "@liveblocks/react";
|
|
11
|
+
import { Composer as Qt } from "@liveblocks/react-ui";
|
|
12
|
+
import { Global as Zt, css as eo, keyframes as to } from "@emotion/react";
|
|
13
|
+
import { createPortal as oo } from "react-dom";
|
|
14
|
+
import { S as no } from "./undo-b_3XZ5CX.js";
|
|
15
|
+
import { g as ro } from "./zeniDatePicker.helpers-DuYddQRG.js";
|
|
16
|
+
const lr = (e, n) => {
|
|
17
|
+
const [o, s] = L(!1);
|
|
18
|
+
return T(() => {
|
|
19
|
+
let a;
|
|
20
|
+
return e && !o ? s(!0) : !e && o && (a = setTimeout(() => s(!1), n)), () => clearTimeout(a);
|
|
21
|
+
}, [e, n, o]), o;
|
|
22
|
+
}, {
|
|
23
|
+
common: { texts: so }
|
|
24
|
+
} = J.getLocalizedStrings();
|
|
25
|
+
function ar({
|
|
26
|
+
coords: e,
|
|
27
|
+
alignment: n = "top",
|
|
28
|
+
style: o,
|
|
29
|
+
onClick: s
|
|
30
|
+
}) {
|
|
31
|
+
return /* @__PURE__ */ t.jsx(
|
|
32
|
+
io,
|
|
33
|
+
{
|
|
34
|
+
style: {
|
|
35
|
+
top: e.top,
|
|
36
|
+
left: e.left,
|
|
37
|
+
...n === "top" ? { transform: `translateY(calc(-100% - ${r.sp1}))` } : { transform: `translateX(calc(-100% - ${r.sp1}))` },
|
|
38
|
+
userSelect: "none",
|
|
39
|
+
...o
|
|
40
|
+
},
|
|
41
|
+
onClick: (a) => {
|
|
42
|
+
a.stopPropagation(), s();
|
|
43
|
+
},
|
|
44
|
+
children: /* @__PURE__ */ t.jsxs(lo, { children: [
|
|
45
|
+
/* @__PURE__ */ t.jsx(ao, {}),
|
|
46
|
+
/* @__PURE__ */ t.jsx(co, { children: so.addComment })
|
|
47
|
+
] })
|
|
48
|
+
}
|
|
49
|
+
);
|
|
50
|
+
}
|
|
51
|
+
const io = d.div`
|
|
52
|
+
position: absolute;
|
|
53
|
+
background-color: ${(e) => e.theme.colors.grey5};
|
|
54
|
+
border: 1px solid ${(e) => e.theme.colors.grey3};
|
|
55
|
+
padding: ${r.sp1} ${r.sp0};
|
|
56
|
+
border-radius: ${r.sp2};
|
|
57
|
+
z-index: 5;
|
|
58
|
+
width: max-content;
|
|
59
|
+
top: ${r.sp7};
|
|
60
|
+
box-shadow: ${(e) => `${r.sp0} 1px 2px ${r.sp0} ${e.theme.colors.grey1}3D`};
|
|
61
|
+
`, lo = d.div`
|
|
62
|
+
color: ${(e) => e.theme.colors.hero};
|
|
63
|
+
height: ${r.sp6};
|
|
64
|
+
padding: ${r.sp0} ${r.sp3};
|
|
65
|
+
&:hover {
|
|
66
|
+
color: ${(e) => e.theme.colors.primary};
|
|
67
|
+
background-color: ${(e) => e.theme.colors.background};
|
|
68
|
+
}
|
|
69
|
+
cursor: pointer;
|
|
70
|
+
display: flex;
|
|
71
|
+
align-items: center;
|
|
72
|
+
`, ao = d(Tt)`
|
|
73
|
+
color: inherit;
|
|
74
|
+
margin-right: ${r.sp2};
|
|
75
|
+
height: ${r.sp3};
|
|
76
|
+
width: ${r.sp3};
|
|
77
|
+
`, co = d(De)`
|
|
78
|
+
color: inherit;
|
|
79
|
+
`, lt = (e) => /* @__PURE__ */ l.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ l.createElement("path", { d: "M9.95093 16.1016V9.94922C9.95093 8.59078 10.6425 7.48828 12.0017 7.48828C13.361 7.48828 14.0525 8.59078 14.0525 9.94922V17.7422C14.0525 19.7815 12.8097 21.4336 10.7712 21.4336C8.73276 21.4336 7.48999 19.7815 7.48999 17.7422V7.48828C7.48999 4.76977 9.28401 2.56641 12.0017 2.56641C14.7194 2.56641 16.5134 4.76977 16.5134 7.48828V14.8711", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), uo = d.div`
|
|
80
|
+
display: flex;
|
|
81
|
+
min-width: ${r.sp5};
|
|
82
|
+
width: ${r.sp5};
|
|
83
|
+
height: ${r.sp5};
|
|
84
|
+
position: relative;
|
|
85
|
+
background-color: ${(e) => e.theme.colors.grey5};
|
|
86
|
+
border: ${(e) => `1px solid ${e.theme.colors.grey2}`};
|
|
87
|
+
border-radius: ${r.sp3};
|
|
88
|
+
box-shadow: ${(e) => `${r.sp0} 2px ${r.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
89
|
+
align-items: center;
|
|
90
|
+
justify-content: center;
|
|
91
|
+
color: ${(e) => e.color ?? H.neutralGrey2Light};
|
|
92
|
+
cursor: pointer;
|
|
93
|
+
`, po = d(lt)`
|
|
94
|
+
width: ${r.sp4};
|
|
95
|
+
height: ${r.sp4};
|
|
96
|
+
color: ${(e) => e.theme.colors.primary};
|
|
97
|
+
`, mo = d(wt)`
|
|
98
|
+
width: ${r.sp3};
|
|
99
|
+
height: ${r.sp3};
|
|
100
|
+
color: ${H.important};
|
|
101
|
+
`, Fe = d.div`
|
|
102
|
+
position: absolute;
|
|
103
|
+
top: -${r.sp1};
|
|
104
|
+
right: -${r.sp2};
|
|
105
|
+
display: flex;
|
|
106
|
+
align-items: center;
|
|
107
|
+
justify-content: center;
|
|
108
|
+
`;
|
|
109
|
+
function cr({
|
|
110
|
+
fileSizeError: e,
|
|
111
|
+
loading: n,
|
|
112
|
+
showAnimation: o = !1,
|
|
113
|
+
setFileSizeError: s
|
|
114
|
+
}) {
|
|
115
|
+
const [a, c] = L(!1);
|
|
116
|
+
return T(() => {
|
|
117
|
+
if (!n && o) {
|
|
118
|
+
c(!0);
|
|
119
|
+
const u = setTimeout(() => c(!1), 2e3);
|
|
120
|
+
return () => clearTimeout(u);
|
|
121
|
+
}
|
|
122
|
+
if (e) {
|
|
123
|
+
const u = setTimeout(() => s(!1), 2e3);
|
|
124
|
+
return () => clearTimeout(u);
|
|
125
|
+
}
|
|
126
|
+
}, [e, n, s, o]), /* @__PURE__ */ t.jsx(uo, { children: n ? /* @__PURE__ */ t.jsx(
|
|
127
|
+
nt,
|
|
128
|
+
{
|
|
129
|
+
size: "Small",
|
|
130
|
+
start: n,
|
|
131
|
+
style: {
|
|
132
|
+
alignItems: "center",
|
|
133
|
+
display: "flex"
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
137
|
+
a && o && /* @__PURE__ */ t.jsx(Fe, { children: /* @__PURE__ */ t.jsx(
|
|
138
|
+
Xt,
|
|
139
|
+
{
|
|
140
|
+
shouldDisplay: a,
|
|
141
|
+
width: 20,
|
|
142
|
+
height: 20,
|
|
143
|
+
animationInLoop: !1,
|
|
144
|
+
onAnimationComplete: () => c(!1)
|
|
145
|
+
}
|
|
146
|
+
) }),
|
|
147
|
+
e && /* @__PURE__ */ t.jsx(Fe, { children: /* @__PURE__ */ t.jsx(mo, {}) }),
|
|
148
|
+
/* @__PURE__ */ t.jsx(po, {})
|
|
149
|
+
] }) });
|
|
150
|
+
}
|
|
151
|
+
const ho = d.div`
|
|
152
|
+
flex: none;
|
|
153
|
+
order: 0;
|
|
154
|
+
flex-grow: 0;
|
|
155
|
+
margin-right: 6px;
|
|
156
|
+
`, go = d.div`
|
|
157
|
+
flex: none;
|
|
158
|
+
order: 1;
|
|
159
|
+
flex-grow: 0;
|
|
160
|
+
display: flex;
|
|
161
|
+
align-items: center;
|
|
162
|
+
column-gap: 6px;
|
|
163
|
+
`, xo = d.div`
|
|
164
|
+
flex: none;
|
|
165
|
+
order: 3;
|
|
166
|
+
flex-grow: 0;
|
|
167
|
+
`, fo = d.div`
|
|
168
|
+
margin-right: ${r.sp2};
|
|
169
|
+
`, Co = d(jt)`
|
|
170
|
+
display: flex;
|
|
171
|
+
color: ${(e) => e.theme.colors.hero};
|
|
172
|
+
`, ko = d(ke)`
|
|
173
|
+
color: ${(e) => e.theme.colors.primary};
|
|
174
|
+
`, Eo = d.div`
|
|
175
|
+
display: flex;
|
|
176
|
+
flex-direction: column;
|
|
177
|
+
`, bo = d.div`
|
|
178
|
+
display: flex;
|
|
179
|
+
flex-direction: row;
|
|
180
|
+
`, No = d.img`
|
|
181
|
+
height: ${r.sp4};
|
|
182
|
+
width: ${r.sp4};
|
|
183
|
+
border-radius: 50%;
|
|
184
|
+
justify-content: center;
|
|
185
|
+
color: ${(e) => e.theme.colors.hero};
|
|
186
|
+
`, yo = d.div`
|
|
187
|
+
margin: ${r.sp2} 5px 6px;
|
|
188
|
+
border-radius: 50%;
|
|
189
|
+
width: ${r.sp1};
|
|
190
|
+
height: ${r.sp1};
|
|
191
|
+
background-color: ${(e) => e.theme.colors.grey1};
|
|
192
|
+
order: 2;
|
|
193
|
+
`, dr = ({
|
|
194
|
+
time: e,
|
|
195
|
+
user: n,
|
|
196
|
+
timeStampLabel: o
|
|
197
|
+
}) => {
|
|
198
|
+
const {
|
|
199
|
+
cockpit: s,
|
|
200
|
+
dateFormat: { visual: a },
|
|
201
|
+
timeFormat: c
|
|
202
|
+
} = J.getLocalizedStrings();
|
|
203
|
+
return /* @__PURE__ */ t.jsxs(bo, { children: [
|
|
204
|
+
!!n && /* @__PURE__ */ t.jsx(fo, { children: n?.photo !== void 0 ? /* @__PURE__ */ t.jsx(
|
|
205
|
+
No,
|
|
206
|
+
{
|
|
207
|
+
src: n?.photo.href,
|
|
208
|
+
alt: s.userProfileAltText,
|
|
209
|
+
onError: ({ currentTarget: u }) => {
|
|
210
|
+
u.onerror = null, u.src = $t;
|
|
211
|
+
},
|
|
212
|
+
loading: "lazy"
|
|
213
|
+
}
|
|
214
|
+
) : /* @__PURE__ */ t.jsx(
|
|
215
|
+
vt,
|
|
216
|
+
{
|
|
217
|
+
firstName: n?.firstName ?? "",
|
|
218
|
+
lastName: n?.lastName ?? "",
|
|
219
|
+
size: `${r.sp4}`
|
|
220
|
+
}
|
|
221
|
+
) }),
|
|
222
|
+
/* @__PURE__ */ t.jsxs(Eo, { children: [
|
|
223
|
+
n && /* @__PURE__ */ t.jsx(ko, { children: `${n.firstName} ${n.lastName}` }),
|
|
224
|
+
!!e && /* @__PURE__ */ t.jsxs(Co, { children: [
|
|
225
|
+
o != null ? /* @__PURE__ */ t.jsx(ho, { children: o }) : null,
|
|
226
|
+
e != null && /* @__PURE__ */ t.jsxs(go, { children: [
|
|
227
|
+
/* @__PURE__ */ t.jsx(qt, { width: r.sp3, height: r.sp3 }),
|
|
228
|
+
We(e.toISOString()).format(
|
|
229
|
+
e.year() === it().year() ? a.MMMDFormat : a.MMMDCommaYYYYformat
|
|
230
|
+
)
|
|
231
|
+
] }),
|
|
232
|
+
/* @__PURE__ */ t.jsx(yo, {}),
|
|
233
|
+
e != null && /* @__PURE__ */ t.jsx(xo, { children: We(e.toISOString()).format(c.hhmmAFormat) })
|
|
234
|
+
] })
|
|
235
|
+
] })
|
|
236
|
+
] });
|
|
237
|
+
}, Lo = (e) => /* @__PURE__ */ l.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ l.createElement("path", { d: "M5.20129 8.55841H8.85011", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M5.20129 11.6004H11.7072", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M16.1623 13.6136V7.20566L16.1668 6.05666C16.1668 5.95589 16.1483 5.85611 16.1123 5.76303C16.0763 5.66994 16.0235 5.58537 15.957 5.51416L12.0839 1.36303C12.0172 1.29154 11.9381 1.23487 11.851 1.19629C11.7638 1.1577 11.6705 1.13796 11.5762 1.13819H2.47558C2.2859 1.13819 2.10398 1.21895 1.96986 1.3627C1.83573 1.50645 1.76038 1.70142 1.76038 1.90472V18.0076C1.76038 18.2109 1.83573 18.4058 1.96986 18.5496C2.10398 18.6934 2.2859 18.7741 2.47558 18.7741H7.60821H15.3642", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M11.2159 1.20715V5.02387C11.2159 5.12591 11.236 5.22694 11.2751 5.32121C11.3141 5.41547 11.3714 5.50113 11.4435 5.57327C11.5157 5.64542 11.6013 5.70265 11.6956 5.7417C11.7898 5.78075 11.8909 5.80084 11.9929 5.80084H15.8088", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M5.20129 5.5174H8.3145", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M5.20129 14.6414H8.69612", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M19.4695 22.8615L16.2797 20.9737C15.9998 20.7731 15.7818 20.4979 15.6507 20.1795C15.5196 19.8611 15.4806 19.5123 15.5381 19.1727V17.2044L14.3421 16.0115C14.0743 15.7436 13.9239 15.3803 13.9239 15.0014C13.9239 14.6226 14.0743 14.2593 14.3421 13.9913C14.4085 13.9248 14.4812 13.8648 14.5592 13.8123C14.8341 13.6301 15.1634 13.5484 15.4916 13.581C15.8197 13.6136 16.1266 13.7586 16.3602 13.9913L18.0404 15.6725", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M16.341 8.40369L20.2861 11.8996C20.874 12.7217 21.1899 13.707 21.1898 14.7176V17.0673C21.1888 17.7421 21.4555 18.3898 21.9314 18.8682L22.2396 19.1755", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), he = {
|
|
238
|
+
iconContainerMaxWidthHeight: new Le(ee[6], ee[7]),
|
|
239
|
+
iconContainerMarginRight: new Le(12, ee[3]),
|
|
240
|
+
iconPadding: new Le(10, 12)
|
|
241
|
+
}, To = {
|
|
242
|
+
title: new Mt("standardMedium", "largeMedium")
|
|
243
|
+
}, wo = d.div`
|
|
244
|
+
background-color: ${(e) => e.theme.colors.grey5};
|
|
245
|
+
border: ${(e) => `1px solid ${e.theme.colors.background}`};
|
|
246
|
+
border-radius: ${r.sp2};
|
|
247
|
+
box-shadow: ${(e) => `${r.sp0} 2px ${r.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
248
|
+
padding: ${r.sp3} ${r.sp4};
|
|
249
|
+
display: flex;
|
|
250
|
+
align-items: center;
|
|
251
|
+
cursor: ${(e) => e.disabled ? "not-allowed" : "pointer"};
|
|
252
|
+
pointer-events: ${(e) => e.disabled ? "none" : "auto"};
|
|
253
|
+
&:hover {
|
|
254
|
+
outline: ${(e) => e.disabled ? "none" : `1px solid ${e.theme.colors.primary}`};
|
|
255
|
+
}
|
|
256
|
+
`, $o = d.div`
|
|
257
|
+
display: flex;
|
|
258
|
+
align-items: center;
|
|
259
|
+
column-gap: ${r.sp2};
|
|
260
|
+
justify-content: space-between;
|
|
261
|
+
width: 100%;
|
|
262
|
+
`, vo = d.div`
|
|
263
|
+
display: flex;
|
|
264
|
+
flex-direction: row;
|
|
265
|
+
align-items: center;
|
|
266
|
+
`, jo = d.div`
|
|
267
|
+
display: flex;
|
|
268
|
+
flex-direction: row;
|
|
269
|
+
align-items: flex-start;
|
|
270
|
+
padding: ${(e) => he.iconPadding.valuePx(e.windowSize)};
|
|
271
|
+
background: ${(e) => e.iconColor.toString()};
|
|
272
|
+
border-radius: ${r.sp11};
|
|
273
|
+
width: fit-content;
|
|
274
|
+
height: fit-content;
|
|
275
|
+
color: ${(e) => e.isDarkMode ? H.neutralGrey5Light : e.theme.colors.brandColorOnyx}; // As per design
|
|
276
|
+
max-width: ${(e) => he.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
277
|
+
max-height: ${(e) => he.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
278
|
+
margin-right: ${(e) => he.iconContainerMarginRight.valuePx(e.windowSize)};
|
|
279
|
+
`, Mo = d(Lo)`
|
|
280
|
+
width: ${r.sp4};
|
|
281
|
+
height: ${r.sp4};
|
|
282
|
+
`, So = d.div`
|
|
283
|
+
display: flex;
|
|
284
|
+
flex-direction: row;
|
|
285
|
+
align-items: center;
|
|
286
|
+
justify-content: space-between;
|
|
287
|
+
`, _o = d.div``, Ao = d.div`
|
|
288
|
+
display: flex;
|
|
289
|
+
align-items: center;
|
|
290
|
+
column-gap: ${r.sp2};
|
|
291
|
+
`, Oo = d.div`
|
|
292
|
+
${(e) => `${To.title.style(e.windowSize)}`};
|
|
293
|
+
color: ${(e) => e.theme.colors.primary};
|
|
294
|
+
`, Ro = d(St)`
|
|
295
|
+
color: ${H.brandColorGoldDark};
|
|
296
|
+
`, Do = d.div`
|
|
297
|
+
display: flex;
|
|
298
|
+
align-items: center;
|
|
299
|
+
justify-content: flex-start;
|
|
300
|
+
`, Io = d(_t)`
|
|
301
|
+
color: ${(e) => e.theme.colors.hero};
|
|
302
|
+
`, Ho = d.div`
|
|
303
|
+
display: flex;
|
|
304
|
+
color: ${(e) => e.theme.colors.hero};
|
|
305
|
+
justify-content: flex-end;
|
|
306
|
+
`, Po = d(At)`
|
|
307
|
+
width: ${r.sp4};
|
|
308
|
+
height: ${r.sp4};
|
|
309
|
+
`;
|
|
310
|
+
function ur({
|
|
311
|
+
totalItems: e,
|
|
312
|
+
onClickCustomerRequest: n
|
|
313
|
+
}) {
|
|
314
|
+
const o = J.getLocalizedStrings(), s = Re(), a = rt(), c = s.mode === "light" ? new Pe(s.colors.brandColorJadeLight) : new Pe(s.colors.brandColorJadeDark);
|
|
315
|
+
return /* @__PURE__ */ t.jsx(
|
|
316
|
+
wo,
|
|
317
|
+
{
|
|
318
|
+
disabled: e === 0,
|
|
319
|
+
onClick: e > 0 ? n : void 0,
|
|
320
|
+
children: /* @__PURE__ */ t.jsxs($o, { children: [
|
|
321
|
+
/* @__PURE__ */ t.jsxs(vo, { children: [
|
|
322
|
+
/* @__PURE__ */ t.jsx(
|
|
323
|
+
jo,
|
|
324
|
+
{
|
|
325
|
+
iconColor: c,
|
|
326
|
+
windowSize: a,
|
|
327
|
+
isDarkMode: s.mode === "dark",
|
|
328
|
+
children: /* @__PURE__ */ t.jsx(Mo, { width: r.sp4, height: r.sp4 })
|
|
329
|
+
}
|
|
330
|
+
),
|
|
331
|
+
/* @__PURE__ */ t.jsx(So, { children: /* @__PURE__ */ t.jsxs(_o, { children: [
|
|
332
|
+
/* @__PURE__ */ t.jsxs(Ao, { children: [
|
|
333
|
+
/* @__PURE__ */ t.jsx(Oo, { windowSize: a, children: o.cockpit.monthEndReport.customerRequestSectionTitle }),
|
|
334
|
+
/* @__PURE__ */ t.jsx(Ro, { children: e >= 0 ? `${o.common.strings.openingBrace}${e} ${e > 1 ? o.common.texts.items : o.common.texts.item}${o.common.strings.closingBrace}` : o.common.strings.empty })
|
|
335
|
+
] }),
|
|
336
|
+
/* @__PURE__ */ t.jsx(Do, { children: /* @__PURE__ */ t.jsx(Io, { children: o.cockpit.monthEndReport.customerRequestSectionSubtitle }) })
|
|
337
|
+
] }) })
|
|
338
|
+
] }),
|
|
339
|
+
/* @__PURE__ */ t.jsx(Ho, { windowSize: a, children: /* @__PURE__ */ t.jsx(Po, { width: r.sp4, height: r.sp4 }) })
|
|
340
|
+
] })
|
|
341
|
+
}
|
|
342
|
+
);
|
|
343
|
+
}
|
|
344
|
+
const Wo = d.div`
|
|
345
|
+
display: flex;
|
|
346
|
+
flex-direction: column;
|
|
347
|
+
`, Fo = d.div`
|
|
348
|
+
display: flex;
|
|
349
|
+
flex-direction: column;
|
|
350
|
+
`, Bo = d.div`
|
|
351
|
+
background-color: ${(e) => e.theme.colors.grey5};
|
|
352
|
+
border: ${(e) => `1px solid ${e.theme.colors.background}`};
|
|
353
|
+
border-top-left-radius: ${r.sp2};
|
|
354
|
+
border-top-right-radius: ${r.sp2};
|
|
355
|
+
box-shadow: ${(e) => `${r.sp0} 2px ${r.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
356
|
+
display: flex;
|
|
357
|
+
align-items: center;
|
|
358
|
+
`, zo = d.div`
|
|
359
|
+
background-color: ${(e) => e.theme.colors.grey5};
|
|
360
|
+
border: ${(e) => `1px solid ${e.theme.colors.background}`};
|
|
361
|
+
border-bottom-left-radius: ${r.sp2};
|
|
362
|
+
border-bottom-right-radius: ${r.sp2};
|
|
363
|
+
box-shadow: ${(e) => `${r.sp0} 2px ${r.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
364
|
+
padding: 0;
|
|
365
|
+
display: flex;
|
|
366
|
+
align-items: center;
|
|
367
|
+
`;
|
|
368
|
+
function pr({
|
|
369
|
+
previewMode: e,
|
|
370
|
+
sectionId: n,
|
|
371
|
+
subject: o
|
|
372
|
+
}) {
|
|
373
|
+
const s = J.getLocalizedStrings();
|
|
374
|
+
return /* @__PURE__ */ t.jsx(Wo, { children: /* @__PURE__ */ t.jsxs(Fo, { children: [
|
|
375
|
+
/* @__PURE__ */ t.jsx(Bo, { children: /* @__PURE__ */ t.jsx(
|
|
376
|
+
Kt,
|
|
377
|
+
{
|
|
378
|
+
label: `${s.cockpit.monthEndReport.sendEmailTo}${s.common.strings.colon}`,
|
|
379
|
+
name: Be(n, "recipientEmailList"),
|
|
380
|
+
registerOptions: {
|
|
381
|
+
required: !0,
|
|
382
|
+
disabled: e === !0
|
|
383
|
+
},
|
|
384
|
+
style: {
|
|
385
|
+
paddingTop: r.sp2,
|
|
386
|
+
paddingBottom: r.sp2,
|
|
387
|
+
paddingRight: r.sp2
|
|
388
|
+
},
|
|
389
|
+
description: s.cockpit.monthEndReport.addUserForInsights,
|
|
390
|
+
placeholder: s.cockpit.monthEndReport.addEmailAddress
|
|
391
|
+
}
|
|
392
|
+
) }),
|
|
393
|
+
/* @__PURE__ */ t.jsx(zo, { children: /* @__PURE__ */ t.jsx(
|
|
394
|
+
Ot,
|
|
395
|
+
{
|
|
396
|
+
text: {
|
|
397
|
+
type: "text",
|
|
398
|
+
name: Be(n, "subject"),
|
|
399
|
+
placeholder: s.cockpit.monthEndReport.addSubject,
|
|
400
|
+
defaultValue: o,
|
|
401
|
+
options: {
|
|
402
|
+
required: !0,
|
|
403
|
+
disabled: e === !0
|
|
404
|
+
}
|
|
405
|
+
},
|
|
406
|
+
label: {
|
|
407
|
+
label: s.common.labels.subject,
|
|
408
|
+
width: 150
|
|
409
|
+
},
|
|
410
|
+
style: { flex: 1 }
|
|
411
|
+
}
|
|
412
|
+
) })
|
|
413
|
+
] }) });
|
|
414
|
+
}
|
|
415
|
+
const Be = (e, n) => `${e}.${n}`, Uo = d.div`
|
|
416
|
+
background-color: ${(e) => e.theme.colors.grey3};
|
|
417
|
+
&:hover {
|
|
418
|
+
background-color: ${(e) => e.theme.colors.primary};
|
|
419
|
+
}
|
|
420
|
+
width: fit-content;
|
|
421
|
+
border-radius: ${r.sp1};
|
|
422
|
+
border-color: ${(e) => e.theme.colors.primary};
|
|
423
|
+
display: flex;
|
|
424
|
+
align-items: center;
|
|
425
|
+
padding: 6px 12px;
|
|
426
|
+
margin-top: ${r.sp3};
|
|
427
|
+
`, Vo = d(ke)`
|
|
428
|
+
margin-right: ${r.sp2};
|
|
429
|
+
overflow: visible;
|
|
430
|
+
text-overflow: ellipsis;
|
|
431
|
+
white-space: nowrap;
|
|
432
|
+
color: ${(e) => e.theme.colors.hero};
|
|
433
|
+
`, Yo = d(ke)`
|
|
434
|
+
color: ${(e) => e.theme.colors.grey1};
|
|
435
|
+
margin-right: ${r.sp2};
|
|
436
|
+
`, Go = d(Rt)`
|
|
437
|
+
width: ${r.sp3};
|
|
438
|
+
height: ${r.sp3};
|
|
439
|
+
background-color: transparent;
|
|
440
|
+
color: ${(e) => e.theme.colors.champion};
|
|
441
|
+
&:hover {
|
|
442
|
+
color: ${(e) => e.theme.colors.grey5};
|
|
443
|
+
}
|
|
444
|
+
border: none;
|
|
445
|
+
cursor: pointer;
|
|
446
|
+
margin-left: auto;
|
|
447
|
+
`, mr = ut.forwardRef(
|
|
448
|
+
({ fileName: e, fileSize: n, onRemove: o, isRemovable: s }, a) => {
|
|
449
|
+
const c = rt();
|
|
450
|
+
return /* @__PURE__ */ t.jsxs(Uo, { className: "attachFileSeparator", ref: a, children: [
|
|
451
|
+
/* @__PURE__ */ t.jsx(Vo, { windowSize: c, children: e }),
|
|
452
|
+
/* @__PURE__ */ t.jsx(Yo, { windowSize: c, children: n }),
|
|
453
|
+
s && /* @__PURE__ */ t.jsx(Go, { onClick: o })
|
|
454
|
+
] });
|
|
455
|
+
}
|
|
456
|
+
), Se = "data-highlight-id";
|
|
457
|
+
function ze({
|
|
458
|
+
rect: e,
|
|
459
|
+
isOpenThread: n,
|
|
460
|
+
threadId: o
|
|
461
|
+
}) {
|
|
462
|
+
return /* @__PURE__ */ t.jsx(
|
|
463
|
+
Xo,
|
|
464
|
+
{
|
|
465
|
+
[Se]: o,
|
|
466
|
+
rect: e,
|
|
467
|
+
isOpenThread: n
|
|
468
|
+
}
|
|
469
|
+
);
|
|
470
|
+
}
|
|
471
|
+
const Xo = d.div`
|
|
472
|
+
position: absolute;
|
|
473
|
+
background: ${(e) => e.isOpenThread ? e.theme.mode === "dark" ? H.alertDark : H.alertLight : e.theme.mode === "dark" ? `${H.alertDark}80` : `${H.alertLight}80`};
|
|
474
|
+
width: ${(e) => e.rect.width}px;
|
|
475
|
+
height: ${(e) => e.rect.height}px;
|
|
476
|
+
top: ${(e) => e.rect.top}px;
|
|
477
|
+
left: ${(e) => e.rect.left}px;
|
|
478
|
+
`, hr = 726, gr = 450, xr = 360, Te = "<!--editorComesHere-->", He = "editor-input", Ue = "month-end-email-header-section", Ee = "month-end-email-editor-section", Ve = "month-end-email-body-section", fr = "monthEndReportCanvas", Ye = ee[3], _e = ee[3], qo = ee[4], Ge = 3, Ko = 2e3, {
|
|
479
|
+
dateFormat: Ce,
|
|
480
|
+
common: {
|
|
481
|
+
strings: { hash: fe, empty: q }
|
|
482
|
+
}
|
|
483
|
+
} = J.getLocalizedStrings(), Jo = (e, n, o) => o.findIndex(
|
|
484
|
+
(s) => s.format(Ce.visual.MMMMFormat) === e && s.format(Ce.visual.YYYYformat) === n
|
|
485
|
+
) > -1, Cr = (e, n) => {
|
|
486
|
+
const o = [];
|
|
487
|
+
for (let s = 11; s >= 0; s--) {
|
|
488
|
+
const a = it().subtract(s, "month"), c = a.format(Ce.visual.MMMMFormat), u = a.format(Ce.visual.YYYYformat), p = ro(c);
|
|
489
|
+
o.push({
|
|
490
|
+
month: p,
|
|
491
|
+
year: e > p ? Number(u) - 1 : Number(u),
|
|
492
|
+
disabled: Jo(c, u, n) === !1
|
|
493
|
+
});
|
|
494
|
+
}
|
|
495
|
+
return o;
|
|
496
|
+
}, ie = (e, n) => {
|
|
497
|
+
const { startNodeId: o, startPath: s, endPath: a, startOffset: c, endOffset: u } = e;
|
|
498
|
+
if (o == null || s == null || a == null || c == null || u == null)
|
|
499
|
+
return null;
|
|
500
|
+
const i = n && o === Ee ? document.getElementsByClassName(He)[0] : document.getElementById(o);
|
|
501
|
+
if (!(i instanceof HTMLElement))
|
|
502
|
+
return null;
|
|
503
|
+
const h = Qe(
|
|
504
|
+
s.split(",").map((x) => parseInt(x, 10)),
|
|
505
|
+
i
|
|
506
|
+
), E = Qe(
|
|
507
|
+
a.split(",").map((x) => parseInt(x, 10)),
|
|
508
|
+
i
|
|
509
|
+
);
|
|
510
|
+
if (!h || !E)
|
|
511
|
+
return null;
|
|
512
|
+
const f = document.createRange();
|
|
513
|
+
try {
|
|
514
|
+
f.setStart(
|
|
515
|
+
h,
|
|
516
|
+
Math.min(c, h.textContent?.trim().length ?? 0)
|
|
517
|
+
), f.setEnd(
|
|
518
|
+
E,
|
|
519
|
+
Math.min(u, E.textContent?.trim().length ?? 0)
|
|
520
|
+
);
|
|
521
|
+
} catch (x) {
|
|
522
|
+
return console.warn("Failed to set range:", x), null;
|
|
523
|
+
}
|
|
524
|
+
return f;
|
|
525
|
+
}, Ae = (e, n) => ie(e, n)?.getBoundingClientRect().top ?? 0, Xe = (e) => {
|
|
526
|
+
for (; e != null; ) {
|
|
527
|
+
if (e instanceof HTMLElement && (e.id || e.className === He))
|
|
528
|
+
return e;
|
|
529
|
+
e = e.parentElement;
|
|
530
|
+
}
|
|
531
|
+
return null;
|
|
532
|
+
}, kr = () => {
|
|
533
|
+
const e = window.getSelection();
|
|
534
|
+
if (!e || e.rangeCount === 0)
|
|
535
|
+
return null;
|
|
536
|
+
const n = e.getRangeAt(0), { startContainer: o, endContainer: s } = n, a = e.anchorNode?.parentElement?.closest(
|
|
537
|
+
fe + Ee
|
|
538
|
+
), c = Xe(o), u = Xe(s);
|
|
539
|
+
if (!c || !u)
|
|
540
|
+
return null;
|
|
541
|
+
const p = Je(o, c), i = Je(s, u), h = qe(o, n.startOffset), E = qe(s, n.endOffset);
|
|
542
|
+
return {
|
|
543
|
+
startPath: p,
|
|
544
|
+
startOffset: h,
|
|
545
|
+
endPath: i,
|
|
546
|
+
endOffset: E,
|
|
547
|
+
startNodeId: a != null ? a.id : c.id,
|
|
548
|
+
endNodeId: a != null ? a.id : u.id
|
|
549
|
+
};
|
|
550
|
+
}, qe = (e, n) => {
|
|
551
|
+
if (e.nodeType === Node.TEXT_NODE) {
|
|
552
|
+
const o = e.textContent ?? q, s = o.match(/^\s*/)?.[0], a = s?.length != null ? s.length : 0, c = n - a;
|
|
553
|
+
return Math.max(0, Math.min(c, o.trim().length));
|
|
554
|
+
}
|
|
555
|
+
return n;
|
|
556
|
+
}, Ke = (e) => {
|
|
557
|
+
if (e) {
|
|
558
|
+
let n = e;
|
|
559
|
+
for (; n; ) {
|
|
560
|
+
if (n.nodeType === Node.ELEMENT_NODE) {
|
|
561
|
+
const o = n;
|
|
562
|
+
if (o.id)
|
|
563
|
+
return o;
|
|
564
|
+
}
|
|
565
|
+
n = n.parentNode;
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
return null;
|
|
569
|
+
}, Je = (e, n) => {
|
|
570
|
+
const o = [];
|
|
571
|
+
let s = e;
|
|
572
|
+
for (; s != null && s !== n; ) {
|
|
573
|
+
const a = s.parentNode;
|
|
574
|
+
if (!a)
|
|
575
|
+
break;
|
|
576
|
+
const u = Array.from(
|
|
577
|
+
a.childNodes
|
|
578
|
+
).filter((p) => !(p.nodeType === Node.ELEMENT_NODE && p.tagName === "BR") && !(p.nodeType === Node.TEXT_NODE && !p.nodeValue?.trim()) && !(p.nodeType === Node.ELEMENT_NODE && window.getComputedStyle(p).display === "none") && !(p.nodeType === Node.ELEMENT_NODE && p.getAttribute("contenteditable") === "false" && p.getAttribute("data-lexical-cursor") === "true") && !(p.nodeType === Node.ELEMENT_NODE && p.tagName === "P" && Array.from(p.childNodes).every(
|
|
579
|
+
(i) => i.nodeType === Node.ELEMENT_NODE && i.tagName === "BR" || i.nodeType === Node.TEXT_NODE && i.nodeValue?.trim() === ""
|
|
580
|
+
)) && // Exclude self-closing or empty <p> tags
|
|
581
|
+
!(p.nodeType === Node.ELEMENT_NODE && p.tagName === "P" && p.childNodes.length === 0) && p.nodeType !== Node.COMMENT_NODE).indexOf(s);
|
|
582
|
+
o.unshift(u), s = a;
|
|
583
|
+
}
|
|
584
|
+
return o;
|
|
585
|
+
}, Qe = (e, n) => {
|
|
586
|
+
let o = n;
|
|
587
|
+
for (const s of e) {
|
|
588
|
+
if (o == null)
|
|
589
|
+
return null;
|
|
590
|
+
o = Array.from(
|
|
591
|
+
o.childNodes
|
|
592
|
+
).filter((c) => !(c.nodeType === Node.ELEMENT_NODE && c.tagName === "BR") && !(c.nodeType === Node.TEXT_NODE && !c.nodeValue?.trim()) && !(c.nodeType === Node.ELEMENT_NODE && window.getComputedStyle(c).display === "none") && !(c.nodeType === Node.ELEMENT_NODE && c.getAttribute("contenteditable") === "false" && c.getAttribute("data-lexical-cursor") === "true") && !(c.nodeType === Node.ELEMENT_NODE && c.tagName === "P" && Array.from(c.childNodes).every(
|
|
593
|
+
(u) => u.nodeType === Node.ELEMENT_NODE && u.tagName === "BR" || u.nodeType === Node.TEXT_NODE && u.nodeValue?.trim() === ""
|
|
594
|
+
)) && // Exclude self-closing or empty <p> tags
|
|
595
|
+
!(c.nodeType === Node.ELEMENT_NODE && c.tagName === "P" && c.childNodes.length === 0) && c.nodeType !== Node.COMMENT_NODE)[s] ?? null;
|
|
596
|
+
}
|
|
597
|
+
return o;
|
|
598
|
+
}, Er = (e, n, o, s, a = !0) => {
|
|
599
|
+
const [c, u] = L([]), [p, i] = L(/* @__PURE__ */ new Set()), h = K([]), E = K(/* @__PURE__ */ new Set()), [f, x] = L(0), j = K(), _ = a ? Ie : st, { threads: z, openThread: b, removeThread: w, setOpenThread: A } = Oe(_), v = Dt(z, e, !1), U = Array.from(v), G = U.map((C) => C[0]).join(","), le = Ne(() => U.map((C) => C[0]), [G]);
|
|
600
|
+
T(() => {
|
|
601
|
+
n.current != null && i(/* @__PURE__ */ new Set([...le]));
|
|
602
|
+
}, [n, le]);
|
|
603
|
+
const [D, ae] = L(!1), [O, te] = L(!1);
|
|
604
|
+
T(() => {
|
|
605
|
+
ae(s);
|
|
606
|
+
}, [s]), T(() => {
|
|
607
|
+
let C = null;
|
|
608
|
+
const m = U.filter(([k]) => E.current.has(k)).filter(([k, { metadata: N }]) => ie(N, o)?.getClientRects()[0] != null).map(([k]) => k);
|
|
609
|
+
return s === !1 && f < Ge ? E.current.size > 0 ? (E.current.size === m.length && m.every(
|
|
610
|
+
(k) => E.current.has(k)
|
|
611
|
+
) && te(!0), C = setInterval(() => {
|
|
612
|
+
x((k) => k + 1);
|
|
613
|
+
}, Ko)) : (te(!1), x(0), C != null && clearInterval(C)) : f >= Ge && C != null && clearInterval(C), () => {
|
|
614
|
+
C && clearInterval(C);
|
|
615
|
+
};
|
|
616
|
+
}, [f, s]);
|
|
617
|
+
const W = Ne(() => U.sort(
|
|
618
|
+
([C, { metadata: m }], [k, { metadata: N }]) => {
|
|
619
|
+
if (s && !D)
|
|
620
|
+
return 0;
|
|
621
|
+
const M = ie(m, o)?.getClientRects()[0], S = ie(N, o)?.getClientRects()[0];
|
|
622
|
+
if (M == null && (E.current = /* @__PURE__ */ new Set([
|
|
623
|
+
...E.current,
|
|
624
|
+
C
|
|
625
|
+
])), S == null && (E.current = /* @__PURE__ */ new Set([
|
|
626
|
+
...E.current,
|
|
627
|
+
k
|
|
628
|
+
])), M) {
|
|
629
|
+
const $ = /* @__PURE__ */ new Set([...E.current]);
|
|
630
|
+
$.delete(C), E.current = /* @__PURE__ */ new Set([...$]);
|
|
631
|
+
}
|
|
632
|
+
if (S) {
|
|
633
|
+
const $ = /* @__PURE__ */ new Set([...E.current]);
|
|
634
|
+
$.delete(k), E.current = /* @__PURE__ */ new Set([...$]);
|
|
635
|
+
}
|
|
636
|
+
if (!M || !S)
|
|
637
|
+
return M ? -1 : S ? 1 : 0;
|
|
638
|
+
const y = M.top - S.top, R = M.left - S.left;
|
|
639
|
+
return y === 0 ? R : y;
|
|
640
|
+
}
|
|
641
|
+
), [
|
|
642
|
+
G,
|
|
643
|
+
p,
|
|
644
|
+
s,
|
|
645
|
+
D,
|
|
646
|
+
O,
|
|
647
|
+
o
|
|
648
|
+
]), oe = V(
|
|
649
|
+
(C, m) => {
|
|
650
|
+
if (b == null)
|
|
651
|
+
return;
|
|
652
|
+
const k = W.findIndex(
|
|
653
|
+
([N]) => N === b
|
|
654
|
+
);
|
|
655
|
+
if (k >= 0) {
|
|
656
|
+
const N = Ae(
|
|
657
|
+
W[k][1].metadata,
|
|
658
|
+
o
|
|
659
|
+
) - m, M = C[k].top;
|
|
660
|
+
if (N - M < 0) {
|
|
661
|
+
const S = N - M;
|
|
662
|
+
b.includes(xe) === !1 && h.current?.[k]?.scrollIntoView({
|
|
663
|
+
behavior: "smooth",
|
|
664
|
+
block: "center",
|
|
665
|
+
inline: "center"
|
|
666
|
+
});
|
|
667
|
+
for (const y of C)
|
|
668
|
+
y.top += S;
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
},
|
|
672
|
+
[b, W, o]
|
|
673
|
+
), ne = V(() => {
|
|
674
|
+
if (h.current?.length == null || h.current.length === 0 || !W.length || !n.current?.getBoundingClientRect())
|
|
675
|
+
return;
|
|
676
|
+
j.current = n.current?.getBoundingClientRect();
|
|
677
|
+
const m = j.current?.top ?? 0, k = (y) => Ae(y, o) - m, N = (y, R, $) => y + R + Ye > $, [, { metadata: M }] = W[0], S = [
|
|
678
|
+
{ top: k(M), left: _e }
|
|
679
|
+
];
|
|
680
|
+
for (let y = 1; y < W.length; y++) {
|
|
681
|
+
const R = y - 1, $ = S[R].top, se = h.current[R]?.getBoundingClientRect().height ?? 0, [, { metadata: be }] = W[y], ce = k(be);
|
|
682
|
+
S[y] = {
|
|
683
|
+
top: N($, se, ce) ? $ + se + Ye : ce,
|
|
684
|
+
left: _e
|
|
685
|
+
};
|
|
686
|
+
}
|
|
687
|
+
return oe(S, m), S;
|
|
688
|
+
}, [n, o, W, oe]), Q = V(() => {
|
|
689
|
+
u((C) => {
|
|
690
|
+
const m = ne();
|
|
691
|
+
return m && !pt(C, m) ? m : C;
|
|
692
|
+
});
|
|
693
|
+
}, [ne]), F = Ne(() => new ResizeObserver(Q), [Q]);
|
|
694
|
+
T(() => {
|
|
695
|
+
const C = ne();
|
|
696
|
+
return C && u(C), () => {
|
|
697
|
+
F.disconnect();
|
|
698
|
+
};
|
|
699
|
+
}, [ne, F, W, p, s]), T(() => (window.addEventListener("resize", Q), () => {
|
|
700
|
+
window.removeEventListener("resize", Q);
|
|
701
|
+
}), [Q]);
|
|
702
|
+
const re = V(
|
|
703
|
+
(C) => {
|
|
704
|
+
i((m) => {
|
|
705
|
+
const k = /* @__PURE__ */ new Set([...m]);
|
|
706
|
+
return k.delete(C), k;
|
|
707
|
+
}), w(C), A(null);
|
|
708
|
+
},
|
|
709
|
+
[w, A]
|
|
710
|
+
), Z = V(
|
|
711
|
+
(C) => {
|
|
712
|
+
b == null || C.key !== "Escape" || (b && v.get(b)?.comments.length === 0 ? re(b) : A(null));
|
|
713
|
+
},
|
|
714
|
+
[
|
|
715
|
+
re,
|
|
716
|
+
b,
|
|
717
|
+
A,
|
|
718
|
+
v
|
|
719
|
+
]
|
|
720
|
+
);
|
|
721
|
+
return T(() => (document.addEventListener("keydown", Z), () => {
|
|
722
|
+
document.removeEventListener("keydown", Z);
|
|
723
|
+
}), [Z]), T(() => {
|
|
724
|
+
const C = (m) => {
|
|
725
|
+
if (window.getSelection()?.isCollapsed !== !0)
|
|
726
|
+
return;
|
|
727
|
+
const k = document.elementsFromPoint(m.clientX, m.clientY).find((N) => N.matches(`[${Se}]`))?.getAttribute(Se);
|
|
728
|
+
k != null && A(k);
|
|
729
|
+
};
|
|
730
|
+
return document.addEventListener("click", C), () => document.removeEventListener("click", C);
|
|
731
|
+
}), {
|
|
732
|
+
observer: F,
|
|
733
|
+
sortedThreads: W,
|
|
734
|
+
threadsPositions: c,
|
|
735
|
+
threadsRefs: h,
|
|
736
|
+
sheetContainerBoundingClientRect: j,
|
|
737
|
+
threadsReady: p,
|
|
738
|
+
unresolvedThreadsMap: v,
|
|
739
|
+
setThreadsPositions: u,
|
|
740
|
+
handleRemoveFloatingThread: re
|
|
741
|
+
};
|
|
742
|
+
}, br = (e, n, o) => {
|
|
743
|
+
const [s, a] = L(), [c, u] = L("top"), p = V(() => {
|
|
744
|
+
const i = document.getSelection(), h = i?.anchorNode?.parentElement?.closest(fe + e) != null && i?.focusNode?.parentElement?.closest(fe + e) != null;
|
|
745
|
+
if (!i || i.isCollapsed || h !== !0) {
|
|
746
|
+
a(void 0);
|
|
747
|
+
return;
|
|
748
|
+
}
|
|
749
|
+
if (i.rangeCount > 0) {
|
|
750
|
+
const f = i.getRangeAt(0), x = Ke(f.startContainer), j = Ke(f.endContainer);
|
|
751
|
+
x && j && x.id !== j.id && (f.setEnd(f.startContainer, f.startOffset), i.removeAllRanges(), i.addRange(f));
|
|
752
|
+
}
|
|
753
|
+
if (i.toString().trim().length > 0) {
|
|
754
|
+
const f = i.getRangeAt(0), { top: x, left: j } = f.getClientRects()[0], _ = i.anchorNode?.parentElement?.closest(
|
|
755
|
+
fe + Ee
|
|
756
|
+
);
|
|
757
|
+
u(o && _ ? "left" : "top"), a({
|
|
758
|
+
top: o && _ ? x - 10 : x,
|
|
759
|
+
left: j
|
|
760
|
+
});
|
|
761
|
+
}
|
|
762
|
+
}, [e, o, n]);
|
|
763
|
+
return T(() => (document.addEventListener("selectionchange", p), () => {
|
|
764
|
+
document.removeEventListener("selectionchange", p);
|
|
765
|
+
}), [p]), { coords: s, alignment: c };
|
|
766
|
+
}, Nr = (e) => {
|
|
767
|
+
let n = q;
|
|
768
|
+
const o = Qo(e);
|
|
769
|
+
if (o == null || !o)
|
|
770
|
+
return n;
|
|
771
|
+
if (me.test(o)) {
|
|
772
|
+
const s = me.lastIndex, a = o.substring(0, s).replace("<style>", "<div><style>").replace(
|
|
773
|
+
Te,
|
|
774
|
+
`</div>${Te}`
|
|
775
|
+
).replace(
|
|
776
|
+
o.match(me)?.[0] ?? q,
|
|
777
|
+
"<div>".concat(
|
|
778
|
+
o.match(me)?.[0] ?? q,
|
|
779
|
+
"</div>"
|
|
780
|
+
)
|
|
781
|
+
), c = o.substring(s), u = It.exec(c)?.index, p = `<div id="${Ue}">`.concat(a).concat("</div>");
|
|
782
|
+
let i = q, h = q;
|
|
783
|
+
if (u != null) {
|
|
784
|
+
const E = c.substring(0, u - 1), f = c.substring(u);
|
|
785
|
+
i = `<div id="${Ee}">`.concat(E).concat("</div>"), h = `<div id="${Ve}">`.concat(f).concat("</div>"), n = p.concat(
|
|
786
|
+
i.concat(h)
|
|
787
|
+
);
|
|
788
|
+
} else
|
|
789
|
+
n = p.concat(c);
|
|
790
|
+
} else {
|
|
791
|
+
const s = o.split(
|
|
792
|
+
Te
|
|
793
|
+
), a = s[1] != null ? `<div id="${Ve}">`.concat(s[1]).concat("</div>") : q;
|
|
794
|
+
n = `<div id="${Ue}">`.concat(s[0]).concat("</div>").concat(
|
|
795
|
+
a
|
|
796
|
+
);
|
|
797
|
+
}
|
|
798
|
+
return n;
|
|
799
|
+
}, Qo = (e) => {
|
|
800
|
+
if (e == null)
|
|
801
|
+
return q;
|
|
802
|
+
let n = e.replace(
|
|
803
|
+
Ht,
|
|
804
|
+
`<span class=${je}>`
|
|
805
|
+
);
|
|
806
|
+
const o = /<\/p>/g;
|
|
807
|
+
return n = n.replace(o, "</span>"), n;
|
|
808
|
+
}, Zo = d.div`
|
|
809
|
+
position: relative;
|
|
810
|
+
`, en = d.div``, tn = d.div`
|
|
811
|
+
align-items: center;
|
|
812
|
+
justify-content: center;
|
|
813
|
+
display: flex;
|
|
814
|
+
width: 300px;
|
|
815
|
+
box-sizing: border-box;
|
|
816
|
+
cursor: pointer;
|
|
817
|
+
flex-direction: column;
|
|
818
|
+
background-color: ${(e) => e.theme.colors.grey5};
|
|
819
|
+
border-radius: ${r.sp2};
|
|
820
|
+
${Me.standardRegular.css};
|
|
821
|
+
`;
|
|
822
|
+
function yr({
|
|
823
|
+
observer: e,
|
|
824
|
+
editorMode: n,
|
|
825
|
+
threadsPositions: o,
|
|
826
|
+
canvasContainerRef: s,
|
|
827
|
+
threadsRefs: a,
|
|
828
|
+
sortedThreads: c,
|
|
829
|
+
unresolvedThreadsMap: u,
|
|
830
|
+
style: p,
|
|
831
|
+
handleRemoveFloatingThread: i
|
|
832
|
+
}) {
|
|
833
|
+
const { openThread: h, removeThread: E, setOpenThread: f } = Oe(Ie), [x, j] = L(h != null), [_, z] = L(
|
|
834
|
+
s.current != null
|
|
835
|
+
);
|
|
836
|
+
T(() => {
|
|
837
|
+
z(s.current != null);
|
|
838
|
+
}, [s.current]);
|
|
839
|
+
const b = s.current?.getBoundingClientRect()?.top ?? 0;
|
|
840
|
+
T(() => {
|
|
841
|
+
h != null && x === !1 && j(!0);
|
|
842
|
+
}, [h]);
|
|
843
|
+
const w = Jt(), A = V(
|
|
844
|
+
({ body: v }, U, G) => {
|
|
845
|
+
U.preventDefault(), U.stopPropagation(), w({
|
|
846
|
+
body: v,
|
|
847
|
+
metadata: G
|
|
848
|
+
}), h != null && (E(h), f(null));
|
|
849
|
+
},
|
|
850
|
+
[w, h, E, f]
|
|
851
|
+
);
|
|
852
|
+
return /* @__PURE__ */ t.jsx(Zo, { style: p, children: c.map(([v, { metadata: U }], G) => {
|
|
853
|
+
if (!ie(U, n) || _ === !1)
|
|
854
|
+
return null;
|
|
855
|
+
const D = u.get(v), ae = h === v;
|
|
856
|
+
return /* @__PURE__ */ t.jsx(
|
|
857
|
+
mt,
|
|
858
|
+
{
|
|
859
|
+
onClickAway: () => {
|
|
860
|
+
h != null && (j(!1), i(h));
|
|
861
|
+
},
|
|
862
|
+
children: /* @__PURE__ */ t.jsx(
|
|
863
|
+
en,
|
|
864
|
+
{
|
|
865
|
+
ref: (O) => {
|
|
866
|
+
a.current && O instanceof Element && (a.current[G] = O, e.observe(O));
|
|
867
|
+
},
|
|
868
|
+
className: "floating-thread-container " + (h === v ? "open " : "") + (v.includes(xe) === !0 ? "new-thread" : ""),
|
|
869
|
+
onClick: (O) => {
|
|
870
|
+
O.stopPropagation(), O.preventDefault();
|
|
871
|
+
},
|
|
872
|
+
style: {
|
|
873
|
+
position: "absolute",
|
|
874
|
+
left: (o[G]?.left ?? 0) + +(ae ? -qo * 2 : _e),
|
|
875
|
+
top: (o[G]?.top ?? Ae(U, n) - b) - ee[6],
|
|
876
|
+
transition: "all 0.8s ease 0.1s",
|
|
877
|
+
transitionProperty: h != null && h.includes(xe) === !1 ? "left, left" : "top, left",
|
|
878
|
+
// The first time the thread gets rendered it's `hidden`, but
|
|
879
|
+
// it has the right height. Once we know its height, we mark it
|
|
880
|
+
// as ready, and we can correctly compute the position of the thread
|
|
881
|
+
// below it.
|
|
882
|
+
visibility: u.has(v) ? "visible" : "hidden"
|
|
883
|
+
},
|
|
884
|
+
children: D != null ? D.id.includes(xe) === !0 ? /* @__PURE__ */ t.jsx(tn, { children: /* @__PURE__ */ t.jsx(
|
|
885
|
+
Qt,
|
|
886
|
+
{
|
|
887
|
+
onComposerSubmit: (O, te) => A(
|
|
888
|
+
O,
|
|
889
|
+
te,
|
|
890
|
+
D.metadata
|
|
891
|
+
),
|
|
892
|
+
onCollapsedChange: (O) => {
|
|
893
|
+
h !== D.id && O === !1 && f(D.id);
|
|
894
|
+
},
|
|
895
|
+
showAttachments: !1,
|
|
896
|
+
defaultCollapsed: !1,
|
|
897
|
+
autoFocus: !0,
|
|
898
|
+
style: { userSelect: "none" }
|
|
899
|
+
}
|
|
900
|
+
) }) : /* @__PURE__ */ t.jsx(
|
|
901
|
+
Pt,
|
|
902
|
+
{
|
|
903
|
+
thread: D,
|
|
904
|
+
showDeleted: !1,
|
|
905
|
+
showActions: !0,
|
|
906
|
+
showReactions: !0,
|
|
907
|
+
indentContent: !0,
|
|
908
|
+
showAttachments: !1,
|
|
909
|
+
autoExpand: h === D.id,
|
|
910
|
+
autoFocus: x,
|
|
911
|
+
style: { width: "300px" },
|
|
912
|
+
textOverrides: {},
|
|
913
|
+
onThreadClick: (O) => f(D.id),
|
|
914
|
+
onReplyElementClick: (O) => {
|
|
915
|
+
O && f(D.id);
|
|
916
|
+
}
|
|
917
|
+
},
|
|
918
|
+
D.id
|
|
919
|
+
) : null
|
|
920
|
+
}
|
|
921
|
+
)
|
|
922
|
+
},
|
|
923
|
+
v
|
|
924
|
+
);
|
|
925
|
+
}) });
|
|
926
|
+
}
|
|
927
|
+
class at extends g.ParagraphNode {
|
|
928
|
+
__customClass;
|
|
929
|
+
static getType() {
|
|
930
|
+
return "custom-paragraph";
|
|
931
|
+
}
|
|
932
|
+
constructor(n, o) {
|
|
933
|
+
super(o), this.__customClass = n;
|
|
934
|
+
}
|
|
935
|
+
createDOM(n) {
|
|
936
|
+
const o = super.createDOM(n);
|
|
937
|
+
return o.classList.add(this.__customClass), o;
|
|
938
|
+
}
|
|
939
|
+
updateDOM(n, o, s) {
|
|
940
|
+
const a = super.updateDOM(n, o, s);
|
|
941
|
+
return this.__customClass !== n.__customClass && (o.classList.remove(n.__customClass), o.classList.add(this.__customClass)), a;
|
|
942
|
+
}
|
|
943
|
+
exportJSON() {
|
|
944
|
+
return {
|
|
945
|
+
...super.exportJSON(),
|
|
946
|
+
type: "custom-paragraph",
|
|
947
|
+
customClass: this.__customClass
|
|
948
|
+
};
|
|
949
|
+
}
|
|
950
|
+
}
|
|
951
|
+
function Ze(e) {
|
|
952
|
+
return g.$applyNodeReplacement(new at(e));
|
|
953
|
+
}
|
|
954
|
+
const on = to`
|
|
955
|
+
from {
|
|
956
|
+
background-color: ${H.brandColorGoldLight};
|
|
957
|
+
}
|
|
958
|
+
to {
|
|
959
|
+
background-color: transparent;
|
|
960
|
+
}
|
|
961
|
+
`, nn = () => /* @__PURE__ */ t.jsx(
|
|
962
|
+
Zt,
|
|
963
|
+
{
|
|
964
|
+
styles: eo`
|
|
965
|
+
.lexicalEditor__textBold {
|
|
966
|
+
font-weight: ${Wt.bold};
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
.lexicalEditor__textItalic {
|
|
970
|
+
font-style: ${Ft.italic};
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
.lexicalEditor__textUnderline {
|
|
974
|
+
text-decoration: underline;
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
.lexicalEditor__ol1 {
|
|
978
|
+
padding: 0;
|
|
979
|
+
margin: 0;
|
|
980
|
+
list-style-position: inside;
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
.lexicalEditor__ol2 {
|
|
984
|
+
padding: 0;
|
|
985
|
+
margin: 0;
|
|
986
|
+
list-style-type: upper-alpha;
|
|
987
|
+
list-style-position: inside;
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
.lexicalEditor__ol3 {
|
|
991
|
+
padding: 0;
|
|
992
|
+
margin: 0;
|
|
993
|
+
list-style-type: lower-alpha;
|
|
994
|
+
list-style-position: inside;
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
.lexicalEditor__ol4 {
|
|
998
|
+
padding: 0;
|
|
999
|
+
margin: 0;
|
|
1000
|
+
list-style-type: upper-roman;
|
|
1001
|
+
list-style-position: inside;
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
.lexicalEditor__ol5 {
|
|
1005
|
+
padding: 0;
|
|
1006
|
+
margin: 0;
|
|
1007
|
+
list-style-type: lower-roman;
|
|
1008
|
+
list-style-position: inside;
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
.lexicalEditor__ul {
|
|
1012
|
+
padding: 0;
|
|
1013
|
+
margin: 0;
|
|
1014
|
+
list-style-position: inside;
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
.lexicalEditor__listItem {
|
|
1018
|
+
margin: 0 ${r.sp5};
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
.lexicalEditor__nestedListItem {
|
|
1022
|
+
list-style-type: none;
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
.lexicalEditor__nestedListItem:before,
|
|
1026
|
+
.lexicalEditor__nestedListItem:after {
|
|
1027
|
+
display: none;
|
|
1028
|
+
}
|
|
1029
|
+
.highlighted {
|
|
1030
|
+
animation: ${on} 2s ease-in-out;
|
|
1031
|
+
}
|
|
1032
|
+
`
|
|
1033
|
+
}
|
|
1034
|
+
), rn = {
|
|
1035
|
+
link: "editor__link",
|
|
1036
|
+
list: {
|
|
1037
|
+
listitem: "lexicalEditor__listItem",
|
|
1038
|
+
nested: {
|
|
1039
|
+
listitem: "lexicalEditor__nestedListItem"
|
|
1040
|
+
},
|
|
1041
|
+
olDepth: [
|
|
1042
|
+
"lexicalEditor__ol1",
|
|
1043
|
+
"lexicalEditor__ol2",
|
|
1044
|
+
"lexicalEditor__ol3",
|
|
1045
|
+
"lexicalEditor__ol4",
|
|
1046
|
+
"lexicalEditor__ol5"
|
|
1047
|
+
],
|
|
1048
|
+
ul: "lexicalEditor__ul"
|
|
1049
|
+
},
|
|
1050
|
+
text: {
|
|
1051
|
+
bold: "lexicalEditor__textBold",
|
|
1052
|
+
code: "lexicalEditor__textCode",
|
|
1053
|
+
italic: "lexicalEditor__textItalic",
|
|
1054
|
+
underline: "lexicalEditor__textUnderline"
|
|
1055
|
+
}
|
|
1056
|
+
}, sn = [
|
|
1057
|
+
(e) => {
|
|
1058
|
+
const n = Bt.exec(e);
|
|
1059
|
+
return n && {
|
|
1060
|
+
index: n.index,
|
|
1061
|
+
length: n[0].length,
|
|
1062
|
+
text: n[0],
|
|
1063
|
+
url: n[0]
|
|
1064
|
+
};
|
|
1065
|
+
},
|
|
1066
|
+
(e) => {
|
|
1067
|
+
const n = zt.exec(e);
|
|
1068
|
+
return n && {
|
|
1069
|
+
index: n.index,
|
|
1070
|
+
length: n[0].length,
|
|
1071
|
+
text: n[0],
|
|
1072
|
+
url: `mailto:${n[0]}`
|
|
1073
|
+
};
|
|
1074
|
+
}
|
|
1075
|
+
];
|
|
1076
|
+
function ln() {
|
|
1077
|
+
return /* @__PURE__ */ t.jsx(ht.AutoLinkPlugin, { matchers: sn });
|
|
1078
|
+
}
|
|
1079
|
+
function an() {
|
|
1080
|
+
const [e] = ue.useLexicalComposerContext();
|
|
1081
|
+
return T(() => we.registerCodeHighlighting(e), [e]), null;
|
|
1082
|
+
}
|
|
1083
|
+
const cn = () => {
|
|
1084
|
+
const [e] = ue.useLexicalComposerContext();
|
|
1085
|
+
return e.registerCommand(
|
|
1086
|
+
g.PASTE_COMMAND,
|
|
1087
|
+
(n, o) => (o.update(() => {
|
|
1088
|
+
const s = g.$getSelection();
|
|
1089
|
+
if (g.$isRangeSelection(s) && n.type === "beforeinput") {
|
|
1090
|
+
const u = n.dataTransfer?.getData("text/plain");
|
|
1091
|
+
u != null && s.insertText(u);
|
|
1092
|
+
}
|
|
1093
|
+
return !0;
|
|
1094
|
+
}), !0),
|
|
1095
|
+
g.COMMAND_PRIORITY_LOW
|
|
1096
|
+
), null;
|
|
1097
|
+
}, dn = () => {
|
|
1098
|
+
const [e] = ue.useLexicalComposerContext();
|
|
1099
|
+
return e.registerCommand(
|
|
1100
|
+
g.KEY_TAB_COMMAND,
|
|
1101
|
+
(n) => {
|
|
1102
|
+
const o = n;
|
|
1103
|
+
return o.preventDefault(), e.dispatchCommand(
|
|
1104
|
+
o.shiftKey ? g.OUTDENT_CONTENT_COMMAND : g.INDENT_CONTENT_COMMAND,
|
|
1105
|
+
void 0
|
|
1106
|
+
);
|
|
1107
|
+
},
|
|
1108
|
+
g.COMMAND_PRIORITY_EDITOR
|
|
1109
|
+
), null;
|
|
1110
|
+
};
|
|
1111
|
+
function un(e) {
|
|
1112
|
+
const n = e?.getNodes();
|
|
1113
|
+
return n?.length === 0 ? /* @__PURE__ */ new Set([
|
|
1114
|
+
e.anchor.getNode().getParentOrThrow(),
|
|
1115
|
+
e.focus.getNode().getParentOrThrow()
|
|
1116
|
+
]) : new Set(
|
|
1117
|
+
n.map(
|
|
1118
|
+
(o) => g.$isElementNode(o) ? o : o.getParentOrThrow()
|
|
1119
|
+
)
|
|
1120
|
+
);
|
|
1121
|
+
}
|
|
1122
|
+
function pn(e) {
|
|
1123
|
+
const n = g.$getSelection();
|
|
1124
|
+
if (!g.$isRangeSelection(n))
|
|
1125
|
+
return !1;
|
|
1126
|
+
const o = un(n);
|
|
1127
|
+
let s = 0;
|
|
1128
|
+
for (const a of o)
|
|
1129
|
+
if (P.$isListNode(a))
|
|
1130
|
+
s = Math.max(P.$getListDepth(a) + 1, s);
|
|
1131
|
+
else if (P.$isListItemNode(a)) {
|
|
1132
|
+
const c = a.getParent();
|
|
1133
|
+
if (!P.$isListNode(c))
|
|
1134
|
+
throw new Error(
|
|
1135
|
+
"ListMaxIndentLevelPlugin: A ListItemNode must have a ListNode for a parent."
|
|
1136
|
+
);
|
|
1137
|
+
s = Math.max(P.$getListDepth(c) + 1, s);
|
|
1138
|
+
}
|
|
1139
|
+
return s <= e;
|
|
1140
|
+
}
|
|
1141
|
+
function mn({
|
|
1142
|
+
maxDepth: e
|
|
1143
|
+
}) {
|
|
1144
|
+
const [n] = ue.useLexicalComposerContext();
|
|
1145
|
+
return T(() => n.registerCommand(
|
|
1146
|
+
g.INDENT_CONTENT_COMMAND,
|
|
1147
|
+
() => !pn(e ?? 7),
|
|
1148
|
+
g.COMMAND_PRIORITY_HIGH
|
|
1149
|
+
), [n, e]), null;
|
|
1150
|
+
}
|
|
1151
|
+
const hn = (e) => /* @__PURE__ */ l.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ l.createElement("path", { d: "M9.74707 6.07052L11.2433 2.02682C11.5032 1.32439 12.4968 1.32439 12.7567 2.02683L14.2529 6.07052C14.8833 7.77389 16.2261 9.1167 17.9295 9.74707L21.9732 11.2433C22.6756 11.5032 22.6756 12.4968 21.9732 12.7567L17.9295 14.2529C16.2261 14.8833 14.8833 16.2261 14.2529 17.9295L12.7567 21.9732C12.4968 22.6756 11.5032 22.6756 11.2433 21.9732L9.74707 17.9295C9.1167 16.2261 7.77389 14.8833 6.07052 14.2529L2.02682 12.7567C1.32439 12.4968 1.32439 11.5032 2.02683 11.2433L6.07052 9.74707C7.77389 9.1167 9.1167 7.77389 9.74707 6.07052Z", fill: "currentColor", stroke: "currentColor", strokeWidth: 1.5 })), gn = (e) => /* @__PURE__ */ l.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ l.createElement("path", { d: "M7.60846 2V21.9982", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M7.60847 11.5664H13.2601C14.5285 11.5664 15.7448 11.0626 16.6417 10.1657C17.5385 9.26889 18.0423 8.05252 18.0423 6.7842C18.0423 5.51589 17.5385 4.29952 16.6417 3.40269C15.7448 2.50585 14.5285 2.00201 13.2601 2.00201H5", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M13.2601 11.5661H14.5644C15.948 11.5661 17.2749 12.1157 18.2533 13.0941C19.2317 14.0725 19.7813 15.3994 19.7813 16.783C19.7813 18.1667 19.2317 19.4936 18.2533 20.472C17.2749 21.4503 15.948 22 14.5644 22H5", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), xn = (e) => /* @__PURE__ */ l.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ l.createElement("path", { d: "M3.78525 5H20.7448", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M4.67783 9.46301H19.8522", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M2 13.9261H22.53", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M5.57047 18.3891H18.9596", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), fn = (e) => /* @__PURE__ */ l.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ l.createElement("path", { d: "M22.375 3H13", stroke: "currentColor", strokeWidth: 1.5, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M22.375 9H13", stroke: "currentColor", strokeWidth: 1.5, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M22.375 15H13", stroke: "currentColor", strokeWidth: 1.5, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M18.1562 21H13", stroke: "currentColor", strokeWidth: 1.5, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M3.48409 8L7.7924 11.8119C7.81051 11.8279 7.82501 11.8477 7.83494 11.8698C7.84487 11.8918 7.85001 11.9158 7.85001 11.94C7.85001 11.9642 7.84487 11.9882 7.83494 12.0102C7.82501 12.0323 7.81051 12.0521 7.7924 12.0681L3.48409 15.88", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), Cn = (e) => /* @__PURE__ */ l.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ l.createElement("path", { d: "M18.9595 1.5L5.57042 22.03", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M2 22.03H9.14086", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M15.3891 1.5H22.53", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), kn = (e) => /* @__PURE__ */ l.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ l.createElement("path", { d: "M0.979614 5H23.0204", stroke: "currentColor", strokeWidth: 1.5, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M0.979614 9.31012H23.0204", stroke: "currentColor", strokeWidth: 1.5, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M0.979614 13.8163H23.0204", stroke: "currentColor", strokeWidth: 1.5, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M0.979614 18.1265H23.0204", stroke: "currentColor", strokeWidth: 1.5, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" })), En = (e) => /* @__PURE__ */ l.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ l.createElement("path", { d: "M2 5H19.8522", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M2 9.46301H16.2817", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M2 13.9261H22.53", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M2 18.3891H18.9596", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), bn = (e) => /* @__PURE__ */ l.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ l.createElement("path", { d: "M13.6039 13.8557C13.6039 14.3291 13.792 14.7832 14.1268 15.118C14.4616 15.4528 14.9157 15.6409 15.3891 15.6409H19.8522C20.5618 15.639 21.2418 15.3563 21.7436 14.8545C22.2454 14.3527 22.5281 13.6727 22.53 12.963V11.1778C22.5279 10.4683 22.2451 9.78839 21.7433 9.28666C21.2416 8.78493 20.5617 8.50212 19.8522 8.5H15.3891C14.9157 8.5 14.4616 8.68809 14.1268 9.02288C13.792 9.35767 13.6039 9.81175 13.6039 10.2852", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M10.9261 13.8557C10.9261 14.3291 10.738 14.7832 10.4032 15.118C10.0684 15.4528 9.61434 15.6409 9.14087 15.6409H4.67783C3.9682 15.639 3.28818 15.3563 2.7864 14.8545C2.28462 14.3527 2.00188 13.6727 2 12.963V11.1778C2.00212 10.4683 2.28493 9.78839 2.78666 9.28666C3.28839 8.78493 3.96827 8.50212 4.67783 8.5H9.14087C9.61434 8.5 10.0684 8.68809 10.4032 9.02288C10.738 9.35767 10.9261 9.81175 10.9261 10.2852", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M7.35565 12.0696H17.1743", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), Nn = (e) => /* @__PURE__ */ l.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ l.createElement("path", { d: "M2 4.78522C2 5.25869 2.18808 5.71276 2.52288 6.04756C2.85767 6.38235 3.31175 6.57044 3.78522 6.57044C4.25869 6.57044 4.71276 6.38235 5.04756 6.04756C5.38235 5.71276 5.57044 5.25869 5.57044 4.78522C5.57044 4.31175 5.38235 3.85767 5.04756 3.52288C4.71276 3.18809 4.25869 3 3.78522 3C3.31175 3 2.85767 3.18809 2.52288 3.52288C2.18808 3.85767 2 4.31175 2 4.78522Z", stroke: "currentColor", strokeWidth: 1.46939, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M9.14087 4.78522H22.53", stroke: "currentColor", strokeWidth: 1.46939, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M2 11.9261C2 12.3996 2.18808 12.8536 2.52288 13.1884C2.85767 13.5232 3.31175 13.7113 3.78522 13.7113C4.25869 13.7113 4.71276 13.5232 5.04756 13.1884C5.38235 12.8536 5.57044 12.3996 5.57044 11.9261C5.57044 11.4526 5.38235 10.9985 5.04756 10.6637C4.71276 10.329 4.25869 10.1409 3.78522 10.1409C3.31175 10.1409 2.85767 10.329 2.52288 10.6637C2.18808 10.9985 2 11.4526 2 11.9261Z", stroke: "currentColor", strokeWidth: 1.46939, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M9.14087 11.9261H22.53", stroke: "currentColor", strokeWidth: 1.46939, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M2 19.067C2 19.5404 2.18808 19.9945 2.52288 20.3293C2.85767 20.6641 3.31175 20.8522 3.78522 20.8522C4.25869 20.8522 4.71276 20.6641 5.04756 20.3293C5.38235 19.9945 5.57044 19.5404 5.57044 19.067C5.57044 18.5935 5.38235 18.1394 5.04756 17.8046C4.71276 17.4698 4.25869 17.2817 3.78522 17.2817C3.31175 17.2817 2.85767 17.4698 2.52288 17.8046C2.18808 18.1394 2 18.5935 2 19.067Z", stroke: "currentColor", strokeWidth: 1.46939, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M9.14087 19.067H22.53", stroke: "currentColor", strokeWidth: 1.46939, strokeLinecap: "round", strokeLinejoin: "round" })), yn = (e) => /* @__PURE__ */ l.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ l.createElement("path", { d: "M1.625 3H11", stroke: "currentColor", strokeWidth: 1.5, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M1.625 9H11", stroke: "currentColor", strokeWidth: 1.5, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M1.625 15H11", stroke: "currentColor", strokeWidth: 1.5, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M5.84375 21H11", stroke: "currentColor", strokeWidth: 1.5, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M20.5159 8L16.2076 11.8119C16.1895 11.8279 16.175 11.8477 16.1651 11.8698C16.1551 11.8918 16.15 11.9158 16.15 11.94C16.15 11.9642 16.1551 11.9882 16.1651 12.0102C16.175 12.0323 16.1895 12.0521 16.2076 12.0681L20.5159 15.88", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), Ln = (e) => /* @__PURE__ */ l.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ l.createElement("path", { d: "M21.74 2V8.24772H15.4923", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M21.74 8.2496C20.129 6.03385 17.709 4.54298 15.0054 4.10065C12.3019 3.65833 9.53293 4.30026 7.29977 5.88707C5.97812 6.83145 4.8993 8.07583 4.15188 9.51804C3.40446 10.9602 3.00976 12.5592 3.00018 14.1835C2.9906 15.8079 3.36641 17.4113 4.09676 18.8623C4.82711 20.3132 5.89117 21.5702 7.20159 22.5301", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), Tn = (e) => /* @__PURE__ */ l.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ l.createElement("path", { d: "M5.57047 5H22.53", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M8.24826 9.46307H22.53", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M2 13.9261H22.53", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M5.57047 18.3892H22.53", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), wn = (e) => /* @__PURE__ */ l.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ l.createElement("path", { d: "M3 21.2H21.7", stroke: "currentColor", strokeWidth: 1.35, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M6.25217 2.50165V11.8516C6.25217 13.4689 6.89462 15.0199 8.03819 16.1635C9.18175 17.307 10.7328 17.9495 12.35 17.9495C13.9672 17.9495 15.5183 17.307 16.6618 16.1635C17.8054 15.0199 18.4478 13.4689 18.4478 11.8516V2.50165", stroke: "currentColor", strokeWidth: 1.35, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M3.81304 2.5H8.6913", stroke: "currentColor", strokeWidth: 1.35, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M16.0087 2.5H20.887", stroke: "currentColor", strokeWidth: 1.35, strokeLinecap: "round", strokeLinejoin: "round" })), de = 1;
|
|
1152
|
+
function et() {
|
|
1153
|
+
return /* @__PURE__ */ t.jsx("div", { className: "divider" });
|
|
1154
|
+
}
|
|
1155
|
+
function tt(e, n) {
|
|
1156
|
+
n === null ? (e.style.opacity = "0", e.style.top = "-1000px", e.style.left = "-1000px") : (e.style.opacity = "1", e.style.top = `${n.top + n.height + window.pageYOffset + 10}px`, e.style.left = `${n.left + window.pageXOffset - e.offsetWidth / 2 + n.width / 2}px`);
|
|
1157
|
+
}
|
|
1158
|
+
function $n({ editor: e }) {
|
|
1159
|
+
const n = Re(), o = K(null), s = K(null), a = K(!1), [c, u] = L(""), [p, i] = L(!1), [h, E] = L(null), f = V(() => {
|
|
1160
|
+
const x = g.$getSelection();
|
|
1161
|
+
if (g.$isRangeSelection(x)) {
|
|
1162
|
+
const w = ct(x), A = w.getParent();
|
|
1163
|
+
X.$isLinkNode(A) ? u(A.getURL()) : X.$isLinkNode(w) ? u(w.getURL()) : u("");
|
|
1164
|
+
}
|
|
1165
|
+
const j = o.current, _ = window.getSelection(), z = document.activeElement;
|
|
1166
|
+
if (j === null)
|
|
1167
|
+
return;
|
|
1168
|
+
const b = e.getRootElement();
|
|
1169
|
+
if (x !== null && _ != null && !_.isCollapsed && b !== null && b.contains(_.anchorNode)) {
|
|
1170
|
+
const w = _.getRangeAt(0);
|
|
1171
|
+
let A;
|
|
1172
|
+
if (_.anchorNode === b) {
|
|
1173
|
+
let v = b;
|
|
1174
|
+
for (; v.firstElementChild != null; )
|
|
1175
|
+
v = v.firstElementChild;
|
|
1176
|
+
A = v.getBoundingClientRect();
|
|
1177
|
+
} else
|
|
1178
|
+
A = w.getBoundingClientRect();
|
|
1179
|
+
a.current || tt(j, A), E(x);
|
|
1180
|
+
} else (!z || z.className !== "link-input") && (tt(j, null), E(null), i(!1), u(""));
|
|
1181
|
+
return !0;
|
|
1182
|
+
}, [e]);
|
|
1183
|
+
return T(() => ge.mergeRegister(
|
|
1184
|
+
e.registerUpdateListener(({ editorState: x }) => {
|
|
1185
|
+
x.read(() => {
|
|
1186
|
+
f();
|
|
1187
|
+
});
|
|
1188
|
+
}),
|
|
1189
|
+
e.registerCommand(
|
|
1190
|
+
g.SELECTION_CHANGE_COMMAND,
|
|
1191
|
+
() => (f(), !0),
|
|
1192
|
+
de
|
|
1193
|
+
)
|
|
1194
|
+
), [e, f]), T(() => {
|
|
1195
|
+
e.getEditorState().read(() => {
|
|
1196
|
+
f();
|
|
1197
|
+
});
|
|
1198
|
+
}, [e, f]), T(() => {
|
|
1199
|
+
p && s.current != null && s.current?.focus();
|
|
1200
|
+
}, [p]), /* @__PURE__ */ t.jsx(_n, { ref: o, children: p ? /* @__PURE__ */ t.jsx(
|
|
1201
|
+
"input",
|
|
1202
|
+
{
|
|
1203
|
+
ref: s,
|
|
1204
|
+
className: "link-input",
|
|
1205
|
+
value: c,
|
|
1206
|
+
onChange: (x) => {
|
|
1207
|
+
u(x.target.value);
|
|
1208
|
+
},
|
|
1209
|
+
onKeyDown: (x) => {
|
|
1210
|
+
x.key === "Enter" ? (x.preventDefault(), h !== null && (c !== "" && e.dispatchCommand(X.TOGGLE_LINK_COMMAND, c), i(!1))) : x.key === "Escape" && (x.preventDefault(), i(!1));
|
|
1211
|
+
}
|
|
1212
|
+
}
|
|
1213
|
+
) : /* @__PURE__ */ t.jsxs(An, { className: "link-input", children: [
|
|
1214
|
+
/* @__PURE__ */ t.jsx(On, { href: c, target: "_blank", rel: "noopener noreferrer", children: c }),
|
|
1215
|
+
/* @__PURE__ */ t.jsx(
|
|
1216
|
+
I,
|
|
1217
|
+
{
|
|
1218
|
+
className: "link-edit",
|
|
1219
|
+
type: "button",
|
|
1220
|
+
tabIndex: 0,
|
|
1221
|
+
onMouseDown: (x) => x.preventDefault(),
|
|
1222
|
+
onClick: () => {
|
|
1223
|
+
i(!0);
|
|
1224
|
+
},
|
|
1225
|
+
children: /* @__PURE__ */ t.jsx(
|
|
1226
|
+
Ut,
|
|
1227
|
+
{
|
|
1228
|
+
style: {
|
|
1229
|
+
width: r.sp3,
|
|
1230
|
+
height: r.sp3,
|
|
1231
|
+
color: n.colors.primary
|
|
1232
|
+
}
|
|
1233
|
+
}
|
|
1234
|
+
)
|
|
1235
|
+
}
|
|
1236
|
+
)
|
|
1237
|
+
] }) });
|
|
1238
|
+
}
|
|
1239
|
+
function ct(e) {
|
|
1240
|
+
const n = e.anchor, o = e.focus, s = e.anchor.getNode(), a = e.focus.getNode();
|
|
1241
|
+
return s === a ? s : e?.isBackward() ? ve.$isAtNodeEnd(o) ? s : a : ve.$isAtNodeEnd(n) ? a : s;
|
|
1242
|
+
}
|
|
1243
|
+
function vn({
|
|
1244
|
+
fileAttached: e,
|
|
1245
|
+
enableZeniGPTFeature: n,
|
|
1246
|
+
isZeniGPTResponseLoading: o,
|
|
1247
|
+
customerRequestData: s,
|
|
1248
|
+
initialHtmlString: a,
|
|
1249
|
+
handleFileInputClick: c,
|
|
1250
|
+
improveUsingZeniGPTClick: u,
|
|
1251
|
+
setZeniRequestsHtml: p
|
|
1252
|
+
}) {
|
|
1253
|
+
const [i] = ue.useLexicalComposerContext(), h = K(null), [E, f] = L(!1), [x, j] = L(!1), [_, z] = L("paragraph"), [, b] = L(!1), [w, A] = L(!1), [v, U] = L(!1), [G, le] = L(!1), [D, ae] = L(!1), O = V(
|
|
1254
|
+
(m) => {
|
|
1255
|
+
const N = new DOMParser().parseFromString(m, "text/html"), M = N.getElementsByTagName("p");
|
|
1256
|
+
for (let R = M.length - 1; R >= 0; R--) {
|
|
1257
|
+
const $ = M[R];
|
|
1258
|
+
$.textContent?.trim() === "" && ($.innerHTML = "");
|
|
1259
|
+
}
|
|
1260
|
+
const S = pe.$generateNodesFromDOM(i, N), y = g.$getRoot();
|
|
1261
|
+
y.clear(), y.append(...S);
|
|
1262
|
+
},
|
|
1263
|
+
[i]
|
|
1264
|
+
);
|
|
1265
|
+
T(() => {
|
|
1266
|
+
i.update(() => {
|
|
1267
|
+
a != null && a.length > 0 && O(a);
|
|
1268
|
+
});
|
|
1269
|
+
}, [i, a, O]), T(() => {
|
|
1270
|
+
i.update(() => {
|
|
1271
|
+
o === !0 ? i.setEditable(!1) : i.setEditable(!0);
|
|
1272
|
+
});
|
|
1273
|
+
}, [i, o]), T(() => ge.mergeRegister(
|
|
1274
|
+
i.registerCommand(
|
|
1275
|
+
g.BLUR_COMMAND,
|
|
1276
|
+
() => {
|
|
1277
|
+
const m = pe.$generateHtmlFromNodes(i, null);
|
|
1278
|
+
return p?.(m), !0;
|
|
1279
|
+
},
|
|
1280
|
+
de
|
|
1281
|
+
)
|
|
1282
|
+
), [i, p]);
|
|
1283
|
+
const te = () => {
|
|
1284
|
+
i.update(() => {
|
|
1285
|
+
const m = pe.$generateHtmlFromNodes(i, null);
|
|
1286
|
+
u?.(m);
|
|
1287
|
+
});
|
|
1288
|
+
}, W = V(
|
|
1289
|
+
(m) => {
|
|
1290
|
+
i.update(() => {
|
|
1291
|
+
const k = new DOMParser(), N = Ze(je), M = P.$createListNode("bullet");
|
|
1292
|
+
m.forEach(($) => {
|
|
1293
|
+
const se = k.parseFromString($, "text/html"), be = pe.$generateNodesFromDOM(i, se), ce = P.$createListItemNode();
|
|
1294
|
+
be.forEach((dt) => {
|
|
1295
|
+
ce.append(dt);
|
|
1296
|
+
}), M.append(ce);
|
|
1297
|
+
}), N.append(M);
|
|
1298
|
+
const S = Ze(je);
|
|
1299
|
+
S.append(g.$createTextNode(""));
|
|
1300
|
+
const y = g.$getRoot(), R = y.getFirstChild();
|
|
1301
|
+
R ? R.insertBefore(N) : y.append(N), R ? R.insertBefore(S) : y.append(S), y.getFirstChild() === null && y.append(
|
|
1302
|
+
g.$createParagraphNode().append(
|
|
1303
|
+
g.$createTextNode(
|
|
1304
|
+
J.getLocalizedStrings().common.strings.empty
|
|
1305
|
+
)
|
|
1306
|
+
)
|
|
1307
|
+
), setTimeout(() => {
|
|
1308
|
+
i.update(() => {
|
|
1309
|
+
const $ = P.ListNode.clone(M);
|
|
1310
|
+
N.replace($);
|
|
1311
|
+
});
|
|
1312
|
+
}, 1e3);
|
|
1313
|
+
});
|
|
1314
|
+
},
|
|
1315
|
+
[i]
|
|
1316
|
+
);
|
|
1317
|
+
T(() => {
|
|
1318
|
+
s.length > 0 && W(s);
|
|
1319
|
+
}, [s, W]);
|
|
1320
|
+
const oe = V(() => {
|
|
1321
|
+
const m = g.$getSelection();
|
|
1322
|
+
if (g.$isRangeSelection(m)) {
|
|
1323
|
+
const k = m.anchor.getNode(), N = k.getKey() === "root" ? k : k.getTopLevelElementOrThrow(), M = N.getKey();
|
|
1324
|
+
if (i.getElementByKey(M) !== null)
|
|
1325
|
+
if (P.$isListNode(N)) {
|
|
1326
|
+
const $ = ge.$getNearestNodeOfType(k, P.ListNode), se = $ ? $.getTag() : N.getTag();
|
|
1327
|
+
z(se);
|
|
1328
|
+
} else {
|
|
1329
|
+
const $ = $e.$isHeadingNode(N) ? N.getTag() : N.getType();
|
|
1330
|
+
z($);
|
|
1331
|
+
}
|
|
1332
|
+
ae(m.hasFormat("bold")), U(m.hasFormat("italic")), le(m.hasFormat("underline")), b(ve.$isParentElementRTL(m));
|
|
1333
|
+
const y = ct(m), R = y.getParent();
|
|
1334
|
+
X.$isLinkNode(R) || X.$isLinkNode(y) ? A(!0) : A(!1);
|
|
1335
|
+
}
|
|
1336
|
+
}, [i]);
|
|
1337
|
+
T(() => ge.mergeRegister(
|
|
1338
|
+
i.registerUpdateListener(({ editorState: m }) => {
|
|
1339
|
+
m.read(() => {
|
|
1340
|
+
oe();
|
|
1341
|
+
});
|
|
1342
|
+
}),
|
|
1343
|
+
i.registerCommand(
|
|
1344
|
+
g.SELECTION_CHANGE_COMMAND,
|
|
1345
|
+
(m) => (oe(), !1),
|
|
1346
|
+
de
|
|
1347
|
+
),
|
|
1348
|
+
i.registerCommand(
|
|
1349
|
+
g.CAN_UNDO_COMMAND,
|
|
1350
|
+
(m) => (f(m), !1),
|
|
1351
|
+
de
|
|
1352
|
+
),
|
|
1353
|
+
i.registerCommand(
|
|
1354
|
+
g.CAN_REDO_COMMAND,
|
|
1355
|
+
(m) => (j(m), !1),
|
|
1356
|
+
de
|
|
1357
|
+
)
|
|
1358
|
+
), [i, oe]);
|
|
1359
|
+
const ne = V(() => {
|
|
1360
|
+
w ? i.dispatchCommand(X.TOGGLE_LINK_COMMAND, null) : i.dispatchCommand(X.TOGGLE_LINK_COMMAND, "https://");
|
|
1361
|
+
}, [i, w]), Q = () => {
|
|
1362
|
+
_ !== "ul" ? i.dispatchCommand(P.INSERT_UNORDERED_LIST_COMMAND, void 0) : i.dispatchCommand(P.REMOVE_LIST_COMMAND, void 0);
|
|
1363
|
+
}, {
|
|
1364
|
+
cockpit: {
|
|
1365
|
+
monthEndReport: { toolbarPluginTooltip: F, editorZeniGPTButton: re }
|
|
1366
|
+
},
|
|
1367
|
+
common: { documents: Z, strings: C }
|
|
1368
|
+
} = J.getLocalizedStrings();
|
|
1369
|
+
return /* @__PURE__ */ t.jsxs("div", { className: "toolbar", ref: h, children: [
|
|
1370
|
+
/* @__PURE__ */ t.jsxs(ot, { children: [
|
|
1371
|
+
/* @__PURE__ */ t.jsx(
|
|
1372
|
+
Y,
|
|
1373
|
+
{
|
|
1374
|
+
placement: "bottom",
|
|
1375
|
+
title: /* @__PURE__ */ t.jsx(B, { children: F.bold }),
|
|
1376
|
+
children: /* @__PURE__ */ t.jsx(
|
|
1377
|
+
I,
|
|
1378
|
+
{
|
|
1379
|
+
type: "button",
|
|
1380
|
+
onClick: () => {
|
|
1381
|
+
i.dispatchCommand(g.FORMAT_TEXT_COMMAND, "bold");
|
|
1382
|
+
},
|
|
1383
|
+
className: "toolbar-item spaced " + (D ? "active" : ""),
|
|
1384
|
+
style: { padding: r.sp1 },
|
|
1385
|
+
disabled: o,
|
|
1386
|
+
"aria-label": "Format Bold",
|
|
1387
|
+
children: /* @__PURE__ */ t.jsx(gn, { className: "format" })
|
|
1388
|
+
}
|
|
1389
|
+
)
|
|
1390
|
+
}
|
|
1391
|
+
),
|
|
1392
|
+
/* @__PURE__ */ t.jsx(
|
|
1393
|
+
Y,
|
|
1394
|
+
{
|
|
1395
|
+
placement: "bottom",
|
|
1396
|
+
title: /* @__PURE__ */ t.jsx(B, { children: F.italic }),
|
|
1397
|
+
children: /* @__PURE__ */ t.jsx(
|
|
1398
|
+
I,
|
|
1399
|
+
{
|
|
1400
|
+
type: "button",
|
|
1401
|
+
onClick: () => {
|
|
1402
|
+
i.dispatchCommand(g.FORMAT_TEXT_COMMAND, "italic");
|
|
1403
|
+
},
|
|
1404
|
+
className: "toolbar-item spaced " + (v ? "active" : ""),
|
|
1405
|
+
style: { padding: r.sp1 },
|
|
1406
|
+
disabled: o,
|
|
1407
|
+
"aria-label": "Format Italics",
|
|
1408
|
+
children: /* @__PURE__ */ t.jsx(Cn, { className: "format" })
|
|
1409
|
+
}
|
|
1410
|
+
)
|
|
1411
|
+
}
|
|
1412
|
+
),
|
|
1413
|
+
/* @__PURE__ */ t.jsx(
|
|
1414
|
+
Y,
|
|
1415
|
+
{
|
|
1416
|
+
placement: "bottom",
|
|
1417
|
+
title: /* @__PURE__ */ t.jsx(B, { children: F.underline }),
|
|
1418
|
+
children: /* @__PURE__ */ t.jsx(
|
|
1419
|
+
I,
|
|
1420
|
+
{
|
|
1421
|
+
type: "button",
|
|
1422
|
+
onClick: () => {
|
|
1423
|
+
i.dispatchCommand(g.FORMAT_TEXT_COMMAND, "underline");
|
|
1424
|
+
},
|
|
1425
|
+
className: "toolbar-item spaced " + (G ? "active" : ""),
|
|
1426
|
+
style: { padding: r.sp1 },
|
|
1427
|
+
disabled: o,
|
|
1428
|
+
"aria-label": "Format Underline",
|
|
1429
|
+
children: /* @__PURE__ */ t.jsx(wn, { className: "format" })
|
|
1430
|
+
}
|
|
1431
|
+
)
|
|
1432
|
+
}
|
|
1433
|
+
),
|
|
1434
|
+
/* @__PURE__ */ t.jsx(
|
|
1435
|
+
Y,
|
|
1436
|
+
{
|
|
1437
|
+
placement: "bottom",
|
|
1438
|
+
title: /* @__PURE__ */ t.jsx(B, { children: F.link }),
|
|
1439
|
+
children: /* @__PURE__ */ t.jsxs(
|
|
1440
|
+
I,
|
|
1441
|
+
{
|
|
1442
|
+
type: "button",
|
|
1443
|
+
onClick: ne,
|
|
1444
|
+
className: "toolbar-item spaced " + (w ? "active" : ""),
|
|
1445
|
+
style: { padding: r.sp1 },
|
|
1446
|
+
disabled: o,
|
|
1447
|
+
"aria-label": "Insert Link",
|
|
1448
|
+
children: [
|
|
1449
|
+
/* @__PURE__ */ t.jsx(Rn, { className: "format link" }),
|
|
1450
|
+
/* @__PURE__ */ t.jsx(bn, { className: "format" })
|
|
1451
|
+
]
|
|
1452
|
+
}
|
|
1453
|
+
)
|
|
1454
|
+
}
|
|
1455
|
+
),
|
|
1456
|
+
w && oo(/* @__PURE__ */ t.jsx($n, { editor: i }), document.body),
|
|
1457
|
+
/* @__PURE__ */ t.jsx(et, {}),
|
|
1458
|
+
/* @__PURE__ */ t.jsx(
|
|
1459
|
+
Y,
|
|
1460
|
+
{
|
|
1461
|
+
placement: "bottom",
|
|
1462
|
+
title: /* @__PURE__ */ t.jsx(B, { children: F.list }),
|
|
1463
|
+
children: /* @__PURE__ */ t.jsx(
|
|
1464
|
+
I,
|
|
1465
|
+
{
|
|
1466
|
+
type: "button",
|
|
1467
|
+
onClick: Q,
|
|
1468
|
+
className: "toolbar-item spaced " + (_ === "ul" ? "active" : ""),
|
|
1469
|
+
style: { padding: r.sp1 },
|
|
1470
|
+
disabled: o,
|
|
1471
|
+
"aria-label": "Format Underline",
|
|
1472
|
+
children: /* @__PURE__ */ t.jsx(Nn, { className: "format" })
|
|
1473
|
+
}
|
|
1474
|
+
)
|
|
1475
|
+
}
|
|
1476
|
+
),
|
|
1477
|
+
/* @__PURE__ */ t.jsx(et, {}),
|
|
1478
|
+
/* @__PURE__ */ t.jsx(
|
|
1479
|
+
I,
|
|
1480
|
+
{
|
|
1481
|
+
type: "button",
|
|
1482
|
+
onClick: () => {
|
|
1483
|
+
i.dispatchCommand(g.FORMAT_ELEMENT_COMMAND, "left");
|
|
1484
|
+
},
|
|
1485
|
+
className: "toolbar-item spaced",
|
|
1486
|
+
style: { padding: r.sp1 },
|
|
1487
|
+
disabled: o,
|
|
1488
|
+
"aria-label": "Left Align",
|
|
1489
|
+
children: /* @__PURE__ */ t.jsx(En, { className: "format" })
|
|
1490
|
+
}
|
|
1491
|
+
),
|
|
1492
|
+
/* @__PURE__ */ t.jsx(
|
|
1493
|
+
I,
|
|
1494
|
+
{
|
|
1495
|
+
type: "button",
|
|
1496
|
+
onClick: () => {
|
|
1497
|
+
i.dispatchCommand(g.FORMAT_ELEMENT_COMMAND, "center");
|
|
1498
|
+
},
|
|
1499
|
+
className: "toolbar-item spaced",
|
|
1500
|
+
style: { padding: r.sp1 },
|
|
1501
|
+
disabled: o,
|
|
1502
|
+
"aria-label": "Center Align",
|
|
1503
|
+
children: /* @__PURE__ */ t.jsx(xn, { className: "format" })
|
|
1504
|
+
}
|
|
1505
|
+
),
|
|
1506
|
+
/* @__PURE__ */ t.jsx(
|
|
1507
|
+
I,
|
|
1508
|
+
{
|
|
1509
|
+
type: "button",
|
|
1510
|
+
onClick: () => {
|
|
1511
|
+
i.dispatchCommand(g.FORMAT_ELEMENT_COMMAND, "right");
|
|
1512
|
+
},
|
|
1513
|
+
className: "toolbar-item spaced",
|
|
1514
|
+
style: { padding: r.sp1 },
|
|
1515
|
+
disabled: o,
|
|
1516
|
+
"aria-label": "Right Align",
|
|
1517
|
+
children: /* @__PURE__ */ t.jsx(Tn, { className: "format" })
|
|
1518
|
+
}
|
|
1519
|
+
),
|
|
1520
|
+
/* @__PURE__ */ t.jsx(
|
|
1521
|
+
I,
|
|
1522
|
+
{
|
|
1523
|
+
type: "button",
|
|
1524
|
+
onClick: () => {
|
|
1525
|
+
i.dispatchCommand(g.FORMAT_ELEMENT_COMMAND, "justify");
|
|
1526
|
+
},
|
|
1527
|
+
className: "toolbar-item",
|
|
1528
|
+
style: { padding: r.sp1 },
|
|
1529
|
+
disabled: o,
|
|
1530
|
+
"aria-label": "Justify Align",
|
|
1531
|
+
children: /* @__PURE__ */ t.jsx(kn, { className: "format" })
|
|
1532
|
+
}
|
|
1533
|
+
),
|
|
1534
|
+
/* @__PURE__ */ t.jsx(
|
|
1535
|
+
Y,
|
|
1536
|
+
{
|
|
1537
|
+
placement: "bottom",
|
|
1538
|
+
title: /* @__PURE__ */ t.jsx(B, { children: F.indent }),
|
|
1539
|
+
children: /* @__PURE__ */ t.jsx(
|
|
1540
|
+
I,
|
|
1541
|
+
{
|
|
1542
|
+
type: "button",
|
|
1543
|
+
onClick: () => {
|
|
1544
|
+
i.dispatchCommand(g.INDENT_CONTENT_COMMAND, void 0);
|
|
1545
|
+
},
|
|
1546
|
+
className: "toolbar-item",
|
|
1547
|
+
style: { padding: r.sp1 },
|
|
1548
|
+
disabled: o,
|
|
1549
|
+
"aria-label": "Indent",
|
|
1550
|
+
children: /* @__PURE__ */ t.jsx(fn, { className: "format" })
|
|
1551
|
+
}
|
|
1552
|
+
)
|
|
1553
|
+
}
|
|
1554
|
+
),
|
|
1555
|
+
/* @__PURE__ */ t.jsx(
|
|
1556
|
+
Y,
|
|
1557
|
+
{
|
|
1558
|
+
placement: "bottom",
|
|
1559
|
+
title: /* @__PURE__ */ t.jsx(B, { children: F.outdent }),
|
|
1560
|
+
children: /* @__PURE__ */ t.jsx(
|
|
1561
|
+
I,
|
|
1562
|
+
{
|
|
1563
|
+
type: "button",
|
|
1564
|
+
onClick: () => {
|
|
1565
|
+
i.dispatchCommand(g.OUTDENT_CONTENT_COMMAND, void 0);
|
|
1566
|
+
},
|
|
1567
|
+
className: "toolbar-item",
|
|
1568
|
+
style: { padding: r.sp1 },
|
|
1569
|
+
disabled: o,
|
|
1570
|
+
"aria-label": "Outdent",
|
|
1571
|
+
children: /* @__PURE__ */ t.jsx(yn, { className: "format" })
|
|
1572
|
+
}
|
|
1573
|
+
)
|
|
1574
|
+
}
|
|
1575
|
+
),
|
|
1576
|
+
/* @__PURE__ */ t.jsx(
|
|
1577
|
+
Y,
|
|
1578
|
+
{
|
|
1579
|
+
placement: "bottom",
|
|
1580
|
+
style: { padding: `2px ${r.sp2}` },
|
|
1581
|
+
title: /* @__PURE__ */ t.jsxs(Dn, { children: [
|
|
1582
|
+
/* @__PURE__ */ t.jsxs(B, { children: [
|
|
1583
|
+
Z.attachFile,
|
|
1584
|
+
C.space
|
|
1585
|
+
] }),
|
|
1586
|
+
/* @__PURE__ */ t.jsx(B, { children: Z.formatImageAndDocumentAttachments }),
|
|
1587
|
+
/* @__PURE__ */ t.jsxs(B, { children: [
|
|
1588
|
+
C.space,
|
|
1589
|
+
Z.attachmentFileSize700KB
|
|
1590
|
+
] })
|
|
1591
|
+
] }),
|
|
1592
|
+
children: /* @__PURE__ */ t.jsx(
|
|
1593
|
+
I,
|
|
1594
|
+
{
|
|
1595
|
+
type: "button",
|
|
1596
|
+
onClick: c,
|
|
1597
|
+
className: "toolbar-item",
|
|
1598
|
+
style: { padding: r.sp1 },
|
|
1599
|
+
disabled: o || e,
|
|
1600
|
+
"aria-label": "Attachment",
|
|
1601
|
+
children: /* @__PURE__ */ t.jsx(lt, { className: "format" })
|
|
1602
|
+
}
|
|
1603
|
+
)
|
|
1604
|
+
}
|
|
1605
|
+
)
|
|
1606
|
+
] }),
|
|
1607
|
+
/* @__PURE__ */ t.jsxs(ot, { children: [
|
|
1608
|
+
n ? /* @__PURE__ */ t.jsx(
|
|
1609
|
+
Y,
|
|
1610
|
+
{
|
|
1611
|
+
placement: "top",
|
|
1612
|
+
title: /* @__PURE__ */ t.jsx(B, { children: re.tooltip }),
|
|
1613
|
+
children: /* @__PURE__ */ t.jsxs(
|
|
1614
|
+
Mn,
|
|
1615
|
+
{
|
|
1616
|
+
isZeniGPTResponseLoading: o,
|
|
1617
|
+
type: "button",
|
|
1618
|
+
onClick: te,
|
|
1619
|
+
disabled: o,
|
|
1620
|
+
children: [
|
|
1621
|
+
/* @__PURE__ */ t.jsx(Sn, {}),
|
|
1622
|
+
/* @__PURE__ */ t.jsx(jn, { children: re.label })
|
|
1623
|
+
]
|
|
1624
|
+
}
|
|
1625
|
+
)
|
|
1626
|
+
}
|
|
1627
|
+
) : null,
|
|
1628
|
+
/* @__PURE__ */ t.jsx(
|
|
1629
|
+
Y,
|
|
1630
|
+
{
|
|
1631
|
+
placement: "bottom",
|
|
1632
|
+
title: /* @__PURE__ */ t.jsx(B, { children: F.undo }),
|
|
1633
|
+
children: /* @__PURE__ */ t.jsx(
|
|
1634
|
+
I,
|
|
1635
|
+
{
|
|
1636
|
+
type: "button",
|
|
1637
|
+
disabled: !E || o,
|
|
1638
|
+
onClick: () => {
|
|
1639
|
+
i.dispatchCommand(g.UNDO_COMMAND, void 0);
|
|
1640
|
+
},
|
|
1641
|
+
className: "toolbar-item spaced",
|
|
1642
|
+
style: { padding: r.sp1 },
|
|
1643
|
+
"aria-label": "Undo",
|
|
1644
|
+
children: /* @__PURE__ */ t.jsx(no, { className: "format" })
|
|
1645
|
+
}
|
|
1646
|
+
)
|
|
1647
|
+
}
|
|
1648
|
+
),
|
|
1649
|
+
/* @__PURE__ */ t.jsx(
|
|
1650
|
+
Y,
|
|
1651
|
+
{
|
|
1652
|
+
placement: "bottom",
|
|
1653
|
+
title: /* @__PURE__ */ t.jsx(B, { children: F.redo }),
|
|
1654
|
+
children: /* @__PURE__ */ t.jsx(
|
|
1655
|
+
I,
|
|
1656
|
+
{
|
|
1657
|
+
type: "button",
|
|
1658
|
+
disabled: !x || o,
|
|
1659
|
+
onClick: () => {
|
|
1660
|
+
i.dispatchCommand(g.REDO_COMMAND, void 0);
|
|
1661
|
+
},
|
|
1662
|
+
className: "toolbar-item",
|
|
1663
|
+
style: { padding: r.sp1 },
|
|
1664
|
+
"aria-label": "Redo",
|
|
1665
|
+
children: /* @__PURE__ */ t.jsx(Ln, { className: "format" })
|
|
1666
|
+
}
|
|
1667
|
+
)
|
|
1668
|
+
}
|
|
1669
|
+
)
|
|
1670
|
+
] })
|
|
1671
|
+
] });
|
|
1672
|
+
}
|
|
1673
|
+
const I = d.button``, ot = d.div`
|
|
1674
|
+
display: flex;
|
|
1675
|
+
align-items: center;
|
|
1676
|
+
gap: ${r.sp1};
|
|
1677
|
+
`, B = d.div`
|
|
1678
|
+
padding: 2px ${r.sp2};
|
|
1679
|
+
color: ${H.neutralGrey4Light};
|
|
1680
|
+
`, jn = d(Vt)`
|
|
1681
|
+
color: ${H.neutralGrey5Light};
|
|
1682
|
+
`, Mn = d.button`
|
|
1683
|
+
display: flex;
|
|
1684
|
+
align-items: center;
|
|
1685
|
+
justify-content: center;
|
|
1686
|
+
min-width: 165px;
|
|
1687
|
+
background-color: ${(e) => e.isZeniGPTResponseLoading ? e.theme.colors.brandColorSapphireLight : e.theme.colors.brandColorSapphire};
|
|
1688
|
+
color: ${H.neutralGrey5Light};
|
|
1689
|
+
border-radius: ${r.sp1};
|
|
1690
|
+
border: none;
|
|
1691
|
+
height: 26px;
|
|
1692
|
+
&:hover {
|
|
1693
|
+
background-color: ${H.brandColorSapphireDark};
|
|
1694
|
+
}
|
|
1695
|
+
`, Sn = d(hn)`
|
|
1696
|
+
height: ${r.sp3};
|
|
1697
|
+
width: ${r.sp3};
|
|
1698
|
+
margin-right: ${r.sp1};
|
|
1699
|
+
color: ${H.brandColorPearl};
|
|
1700
|
+
`, _n = d.div`
|
|
1701
|
+
position: absolute;
|
|
1702
|
+
z-index: 100;
|
|
1703
|
+
top: -10000px;
|
|
1704
|
+
left: -10000px;
|
|
1705
|
+
margin-top: -6px;
|
|
1706
|
+
max-width: 300px;
|
|
1707
|
+
width: 100%;
|
|
1708
|
+
opacity: 0;
|
|
1709
|
+
border: 1px solid ${(e) => e.theme.colors.grey3};
|
|
1710
|
+
background-color: ${(e) => e.theme.colors.grey5};
|
|
1711
|
+
box-shadow: ${r.sp0} 5px 10px ${H.overlayLight};
|
|
1712
|
+
border-radius: ${r.sp2};
|
|
1713
|
+
transition: opacity 0.5s;
|
|
1714
|
+
z-index: 10000;
|
|
1715
|
+
|
|
1716
|
+
.link-input {
|
|
1717
|
+
display: block;
|
|
1718
|
+
box-sizing: border-box;
|
|
1719
|
+
padding: ${r.sp3};
|
|
1720
|
+
border-radius: ${r.sp3};
|
|
1721
|
+
background-color: ${(e) => e.theme.colors.grey5};
|
|
1722
|
+
font-size: 15px;
|
|
1723
|
+
color: ${(e) => e.theme.colors.primary};
|
|
1724
|
+
border: 0;
|
|
1725
|
+
outline: 0;
|
|
1726
|
+
position: relative;
|
|
1727
|
+
font-family: inherit;
|
|
1728
|
+
}
|
|
1729
|
+
|
|
1730
|
+
button.link-edit {
|
|
1731
|
+
display: flex;
|
|
1732
|
+
align-items: center;
|
|
1733
|
+
width: 35px;
|
|
1734
|
+
position: absolute;
|
|
1735
|
+
right: ${r.sp0};
|
|
1736
|
+
top: ${r.sp0};
|
|
1737
|
+
bottom: ${r.sp0};
|
|
1738
|
+
cursor: pointer;
|
|
1739
|
+
background: none;
|
|
1740
|
+
border: none;
|
|
1741
|
+
padding: 0;
|
|
1742
|
+
margin: 0;
|
|
1743
|
+
|
|
1744
|
+
&:focus {
|
|
1745
|
+
outline: none;
|
|
1746
|
+
}
|
|
1747
|
+
}
|
|
1748
|
+
|
|
1749
|
+
.link-input a {
|
|
1750
|
+
color: ${(e) => e.theme.colors.link};
|
|
1751
|
+
text-decoration: none;
|
|
1752
|
+
display: block;
|
|
1753
|
+
white-space: nowrap;
|
|
1754
|
+
overflow: hidden;
|
|
1755
|
+
margin-right: 30px;
|
|
1756
|
+
text-overflow: ellipsis;
|
|
1757
|
+
}
|
|
1758
|
+
|
|
1759
|
+
.link-input a:hover {
|
|
1760
|
+
text-decoration: underline;
|
|
1761
|
+
}
|
|
1762
|
+
|
|
1763
|
+
.button {
|
|
1764
|
+
width: 20px;
|
|
1765
|
+
height: 20px;
|
|
1766
|
+
display: inline-block;
|
|
1767
|
+
padding: 6px;
|
|
1768
|
+
border-radius: ${r.sp2};
|
|
1769
|
+
cursor: pointer;
|
|
1770
|
+
margin: 0 2px;
|
|
1771
|
+
}
|
|
1772
|
+
|
|
1773
|
+
.button.hovered {
|
|
1774
|
+
width: 20px;
|
|
1775
|
+
height: 20px;
|
|
1776
|
+
display: inline-block;
|
|
1777
|
+
background-color: ${(e) => e.theme.colors.background};
|
|
1778
|
+
}
|
|
1779
|
+
|
|
1780
|
+
.button i,
|
|
1781
|
+
.actions i {
|
|
1782
|
+
background-size: contain;
|
|
1783
|
+
display: inline-block;
|
|
1784
|
+
height: 20px;
|
|
1785
|
+
width: 20px;
|
|
1786
|
+
vertical-align: -0.25em;
|
|
1787
|
+
}
|
|
1788
|
+
`, An = d.div``, On = d.a``, Rn = d.i``, Dn = d.div`
|
|
1789
|
+
display: flex;
|
|
1790
|
+
flex-direction: column; /* Align children vertically */
|
|
1791
|
+
align-items: center; /* Center children horizontally */
|
|
1792
|
+
justify-content: center; /* Center children vertically */
|
|
1793
|
+
height: 100%; /* Adjust to your desired height */
|
|
1794
|
+
width: 100%; /* Adjust to your desired width */
|
|
1795
|
+
`, In = d(ke)`
|
|
1796
|
+
color: ${(e) => e.theme.colors.grey2};
|
|
1797
|
+
overflow: hidden;
|
|
1798
|
+
position: absolute;
|
|
1799
|
+
text-overflow: ellipsis;
|
|
1800
|
+
top: ${r.sp3};
|
|
1801
|
+
left: 12px;
|
|
1802
|
+
user-select: none;
|
|
1803
|
+
display: inline-block;
|
|
1804
|
+
pointer-events: none;
|
|
1805
|
+
`, Hn = d(De)`
|
|
1806
|
+
position: relative;
|
|
1807
|
+
margin: ${r.sp0};
|
|
1808
|
+
border-radius: ${r.sp2};
|
|
1809
|
+
color: ${(e) => e.theme.colors.primary};
|
|
1810
|
+
text-align: left;
|
|
1811
|
+
border: 1px solid ${(e) => e.theme.colors.grey2};
|
|
1812
|
+
overflow: hidden;
|
|
1813
|
+
|
|
1814
|
+
&:hover {
|
|
1815
|
+
border: ${(e) => `1px solid ${e.isZeniGPTResponseLoading ? e.theme.colors.grey2 : e.theme.colors.primary}`};
|
|
1816
|
+
|
|
1817
|
+
.toolbar {
|
|
1818
|
+
border-bottom: ${(e) => `1px solid ${e.isZeniGPTResponseLoading ? e.theme.colors.grey2 : e.theme.colors.primary}`};
|
|
1819
|
+
}
|
|
1820
|
+
}
|
|
1821
|
+
|
|
1822
|
+
&:focus-within {
|
|
1823
|
+
border: ${(e) => `1px solid ${e.isZeniGPTResponseLoading ? e.theme.colors.grey2 : e.theme.colors.primary}`};
|
|
1824
|
+
|
|
1825
|
+
.toolbar {
|
|
1826
|
+
border-bottom: ${(e) => `1px solid ${e.isZeniGPTResponseLoading ? e.theme.colors.grey2 : e.theme.colors.primary}`};
|
|
1827
|
+
}
|
|
1828
|
+
}
|
|
1829
|
+
|
|
1830
|
+
.editor-input {
|
|
1831
|
+
min-height: 120px;
|
|
1832
|
+
max-height: 360px;
|
|
1833
|
+
overflow: auto;
|
|
1834
|
+
resize: none;
|
|
1835
|
+
${Me.standardRegular.css};
|
|
1836
|
+
color: ${(e) => e.isZeniGPTResponseLoading ? e.theme.colors.grey2 : e.theme.colors.primary};
|
|
1837
|
+
position: relative;
|
|
1838
|
+
tab-size: 1;
|
|
1839
|
+
outline: 0;
|
|
1840
|
+
padding: ${r.sp3} 12px;
|
|
1841
|
+
|
|
1842
|
+
.editor__link {
|
|
1843
|
+
color: ${(e) => e.isZeniGPTResponseLoading ? e.theme.colors.grey2 : e.theme.colors.link};
|
|
1844
|
+
text-decoration: none;
|
|
1845
|
+
}
|
|
1846
|
+
.editor__link:hover {
|
|
1847
|
+
text-decoration: underline;
|
|
1848
|
+
cursor: pointer;
|
|
1849
|
+
}
|
|
1850
|
+
}
|
|
1851
|
+
|
|
1852
|
+
.editor-input p {
|
|
1853
|
+
margin: 0;
|
|
1854
|
+
}
|
|
1855
|
+
|
|
1856
|
+
.toolbar {
|
|
1857
|
+
display: flex;
|
|
1858
|
+
margin-bottom: 1px;
|
|
1859
|
+
background: ${(e) => e.theme.colors.grey5};
|
|
1860
|
+
padding: ${r.sp1};
|
|
1861
|
+
border-top-left-radius: 10px;
|
|
1862
|
+
border-top-right-radius: 10px;
|
|
1863
|
+
vertical-align: middle;
|
|
1864
|
+
border-bottom: 1px solid ${(e) => e.theme.colors.grey2};
|
|
1865
|
+
justify-content: space-between;
|
|
1866
|
+
}
|
|
1867
|
+
|
|
1868
|
+
.toolbar button.toolbar-item {
|
|
1869
|
+
border: 0;
|
|
1870
|
+
display: flex;
|
|
1871
|
+
background: none;
|
|
1872
|
+
border-radius: ${r.sp2};
|
|
1873
|
+
padding: ${r.sp2};
|
|
1874
|
+
cursor: pointer;
|
|
1875
|
+
vertical-align: middle;
|
|
1876
|
+
}
|
|
1877
|
+
|
|
1878
|
+
.toolbar button.toolbar-item:disabled {
|
|
1879
|
+
cursor: not-allowed;
|
|
1880
|
+
}
|
|
1881
|
+
|
|
1882
|
+
.toolbar button.toolbar-item.spaced {
|
|
1883
|
+
margin-right: 2px;
|
|
1884
|
+
}
|
|
1885
|
+
|
|
1886
|
+
.toolbar button.toolbar-item svg.format {
|
|
1887
|
+
background-size: contain;
|
|
1888
|
+
display: inline-block;
|
|
1889
|
+
height: ${r.sp3};
|
|
1890
|
+
width: ${r.sp3};
|
|
1891
|
+
vertical-align: -0.25em;
|
|
1892
|
+
display: flex;
|
|
1893
|
+
color: ${(e) => e.theme.colors.grey1};
|
|
1894
|
+
}
|
|
1895
|
+
|
|
1896
|
+
.toolbar button.toolbar-item:disabled svg.format {
|
|
1897
|
+
opacity: 0.2;
|
|
1898
|
+
}
|
|
1899
|
+
|
|
1900
|
+
.toolbar button.toolbar-item.active {
|
|
1901
|
+
svg.format {
|
|
1902
|
+
color: ${(e) => e.theme.colors.primary};
|
|
1903
|
+
}
|
|
1904
|
+
}
|
|
1905
|
+
|
|
1906
|
+
.toolbar .toolbar-item:hover:not([disabled]) {
|
|
1907
|
+
svg.format {
|
|
1908
|
+
color: ${(e) => e.theme.colors.primary};
|
|
1909
|
+
}
|
|
1910
|
+
}
|
|
1911
|
+
|
|
1912
|
+
.toolbar .divider {
|
|
1913
|
+
width: 1px;
|
|
1914
|
+
background-color: ${(e) => e.theme.colors.background};
|
|
1915
|
+
margin: ${r.sp0} ${r.sp1};
|
|
1916
|
+
}
|
|
1917
|
+
|
|
1918
|
+
.toolbar .toolbar-item .text {
|
|
1919
|
+
display: flex;
|
|
1920
|
+
width: 200px;
|
|
1921
|
+
vertical-align: middle;
|
|
1922
|
+
${Me.smallRegular.css};
|
|
1923
|
+
color: ${(e) => e.theme.colors.primary};
|
|
1924
|
+
text-overflow: ellipsis;
|
|
1925
|
+
width: 70px;
|
|
1926
|
+
overflow: hidden;
|
|
1927
|
+
height: 20px;
|
|
1928
|
+
text-align: left;
|
|
1929
|
+
}
|
|
1930
|
+
`, Pn = d.div`
|
|
1931
|
+
position: absolute;
|
|
1932
|
+
display: flex;
|
|
1933
|
+
justify-content: center;
|
|
1934
|
+
align-items: center;
|
|
1935
|
+
height: 100%;
|
|
1936
|
+
width: 100%;
|
|
1937
|
+
z-index: 1;
|
|
1938
|
+
`, Wn = d.div`
|
|
1939
|
+
background-color: transparent;
|
|
1940
|
+
position: relative;
|
|
1941
|
+
`;
|
|
1942
|
+
function Fn() {
|
|
1943
|
+
return /* @__PURE__ */ t.jsx(In, { children: J.getLocalizedStrings().cockpit.monthEndReport.editorPlaceholder });
|
|
1944
|
+
}
|
|
1945
|
+
const Bn = {
|
|
1946
|
+
namespace: "",
|
|
1947
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1948
|
+
onError(e) {
|
|
1949
|
+
throw e;
|
|
1950
|
+
},
|
|
1951
|
+
nodes: [
|
|
1952
|
+
$e.HeadingNode,
|
|
1953
|
+
P.ListNode,
|
|
1954
|
+
P.ListItemNode,
|
|
1955
|
+
$e.QuoteNode,
|
|
1956
|
+
we.CodeNode,
|
|
1957
|
+
we.CodeHighlightNode,
|
|
1958
|
+
ye.TableNode,
|
|
1959
|
+
ye.TableCellNode,
|
|
1960
|
+
ye.TableRowNode,
|
|
1961
|
+
X.AutoLinkNode,
|
|
1962
|
+
X.LinkNode,
|
|
1963
|
+
at
|
|
1964
|
+
],
|
|
1965
|
+
theme: rn
|
|
1966
|
+
};
|
|
1967
|
+
function Lr({
|
|
1968
|
+
fileAttached: e,
|
|
1969
|
+
enableZeniGPTFeature: n,
|
|
1970
|
+
isZeniGPTResponseLoading: o,
|
|
1971
|
+
initialHtmlString: s,
|
|
1972
|
+
customerRequestData: a,
|
|
1973
|
+
handleFileInputClick: c,
|
|
1974
|
+
improveUsingZeniGPTClick: u,
|
|
1975
|
+
setZeniRequestsHtml: p
|
|
1976
|
+
}) {
|
|
1977
|
+
const i = Re();
|
|
1978
|
+
return /* @__PURE__ */ t.jsxs(gt.LexicalComposer, { initialConfig: Bn, children: [
|
|
1979
|
+
/* @__PURE__ */ t.jsx(nn, {}),
|
|
1980
|
+
/* @__PURE__ */ t.jsxs(Hn, { isZeniGPTResponseLoading: o, children: [
|
|
1981
|
+
o ? /* @__PURE__ */ t.jsx(Pn, { children: /* @__PURE__ */ t.jsx(
|
|
1982
|
+
nt,
|
|
1983
|
+
{
|
|
1984
|
+
size: "Standard",
|
|
1985
|
+
start: !0,
|
|
1986
|
+
style: {
|
|
1987
|
+
display: "flex",
|
|
1988
|
+
padding: r.sp4,
|
|
1989
|
+
borderRadius: "100%",
|
|
1990
|
+
backgroundColor: i.colors.grey5,
|
|
1991
|
+
border: `2px solid ${i.colors.grey3}`,
|
|
1992
|
+
boxShadow: `${r.sp0} 2px ${r.sp1} ${i.colors.dropShadowNormal}`
|
|
1993
|
+
}
|
|
1994
|
+
}
|
|
1995
|
+
) }) : null,
|
|
1996
|
+
/* @__PURE__ */ t.jsx(
|
|
1997
|
+
vn,
|
|
1998
|
+
{
|
|
1999
|
+
handleFileInputClick: c,
|
|
2000
|
+
fileAttached: e,
|
|
2001
|
+
customerRequestData: a,
|
|
2002
|
+
enableZeniGPTFeature: n,
|
|
2003
|
+
isZeniGPTResponseLoading: o,
|
|
2004
|
+
initialHtmlString: s,
|
|
2005
|
+
improveUsingZeniGPTClick: u,
|
|
2006
|
+
setZeniRequestsHtml: p
|
|
2007
|
+
}
|
|
2008
|
+
),
|
|
2009
|
+
/* @__PURE__ */ t.jsxs(Wn, { children: [
|
|
2010
|
+
/* @__PURE__ */ t.jsx(
|
|
2011
|
+
xt.RichTextPlugin,
|
|
2012
|
+
{
|
|
2013
|
+
contentEditable: /* @__PURE__ */ t.jsx(Ct.ContentEditable, { className: He }),
|
|
2014
|
+
placeholder: /* @__PURE__ */ t.jsx(Fn, {}),
|
|
2015
|
+
ErrorBoundary: ft
|
|
2016
|
+
}
|
|
2017
|
+
),
|
|
2018
|
+
/* @__PURE__ */ t.jsx(cn, {}),
|
|
2019
|
+
/* @__PURE__ */ t.jsx(dn, {}),
|
|
2020
|
+
/* @__PURE__ */ t.jsx(kt.HistoryPlugin, {}),
|
|
2021
|
+
/* @__PURE__ */ t.jsx(Et.AutoFocusPlugin, {}),
|
|
2022
|
+
/* @__PURE__ */ t.jsx(an, {}),
|
|
2023
|
+
/* @__PURE__ */ t.jsx(bt.ListPlugin, {}),
|
|
2024
|
+
/* @__PURE__ */ t.jsx(Nt.LinkPlugin, {}),
|
|
2025
|
+
/* @__PURE__ */ t.jsx(ln, {}),
|
|
2026
|
+
/* @__PURE__ */ t.jsx(mn, { maxDepth: 7 }),
|
|
2027
|
+
/* @__PURE__ */ t.jsx(yt.MarkdownShortcutPlugin, { transformers: Lt.TRANSFORMERS })
|
|
2028
|
+
] })
|
|
2029
|
+
] })
|
|
2030
|
+
] });
|
|
2031
|
+
}
|
|
2032
|
+
const zn = d.div``;
|
|
2033
|
+
function Tr({
|
|
2034
|
+
canvasContainerRef: e,
|
|
2035
|
+
sortedThreads: n,
|
|
2036
|
+
editorMode: o,
|
|
2037
|
+
isZeniUser: s = !0
|
|
2038
|
+
}) {
|
|
2039
|
+
const a = s ? Ie : st, { openThread: c } = Oe(a), [u, p] = L(
|
|
2040
|
+
e.current != null
|
|
2041
|
+
);
|
|
2042
|
+
T(() => {
|
|
2043
|
+
p(e.current != null);
|
|
2044
|
+
}, [e.current]);
|
|
2045
|
+
const i = K();
|
|
2046
|
+
return /* @__PURE__ */ t.jsx(zn, { children: n.map(([h, { metadata: E }]) => {
|
|
2047
|
+
const f = ie(E, o);
|
|
2048
|
+
if (!f || u === !1)
|
|
2049
|
+
return null;
|
|
2050
|
+
i.current = e.current?.getBoundingClientRect();
|
|
2051
|
+
const x = i.current?.top ?? 0, j = i.current?.left ?? 0, _ = c === h, z = Array.from(
|
|
2052
|
+
f.getClientRects()
|
|
2053
|
+
).filter((b) => b.width > 0);
|
|
2054
|
+
if (z.length === 0) {
|
|
2055
|
+
const b = f.getBoundingClientRect();
|
|
2056
|
+
let w = b.width;
|
|
2057
|
+
return w === 0 && (w = f.toString().length * 6), /* @__PURE__ */ t.jsx(
|
|
2058
|
+
ze,
|
|
2059
|
+
{
|
|
2060
|
+
rect: {
|
|
2061
|
+
...b.toJSON(),
|
|
2062
|
+
top: b.top - x,
|
|
2063
|
+
left: b.left - j,
|
|
2064
|
+
width: w
|
|
2065
|
+
// Use calculated width
|
|
2066
|
+
},
|
|
2067
|
+
isOpenThread: _,
|
|
2068
|
+
threadId: h
|
|
2069
|
+
},
|
|
2070
|
+
h
|
|
2071
|
+
);
|
|
2072
|
+
}
|
|
2073
|
+
return z.map((b, w) => /* @__PURE__ */ t.jsx(
|
|
2074
|
+
ze,
|
|
2075
|
+
{
|
|
2076
|
+
rect: {
|
|
2077
|
+
// Getting the DOMRect object as a JSON so
|
|
2078
|
+
// we can spread its properties and easily
|
|
2079
|
+
// modify the top and left properties with
|
|
2080
|
+
// the values we just calculated a few lines
|
|
2081
|
+
// above.
|
|
2082
|
+
...b.toJSON(),
|
|
2083
|
+
top: b.top - x,
|
|
2084
|
+
left: b.left - j
|
|
2085
|
+
},
|
|
2086
|
+
isOpenThread: _,
|
|
2087
|
+
threadId: h
|
|
2088
|
+
},
|
|
2089
|
+
w
|
|
2090
|
+
));
|
|
2091
|
+
}) });
|
|
2092
|
+
}
|
|
2093
|
+
const Un = d(De)`
|
|
2094
|
+
color: ${(e) => e.theme.colors.hero};
|
|
2095
|
+
`, Vn = d.div`
|
|
2096
|
+
justify-content: center;
|
|
2097
|
+
align-items: center;
|
|
2098
|
+
display: flex;
|
|
2099
|
+
flex-direction: column;
|
|
2100
|
+
cursor: pointer;
|
|
2101
|
+
`, Yn = d(Gt)`
|
|
2102
|
+
width: ${r.sp10};
|
|
2103
|
+
height: ${r.sp10};
|
|
2104
|
+
color: ${(e) => e.theme.colors.primary};
|
|
2105
|
+
`, wr = ({
|
|
2106
|
+
message: e,
|
|
2107
|
+
onReload: n
|
|
2108
|
+
}) => /* @__PURE__ */ t.jsxs(
|
|
2109
|
+
Vn,
|
|
2110
|
+
{
|
|
2111
|
+
onClick: n,
|
|
2112
|
+
"data-testid": Yt("reload-container"),
|
|
2113
|
+
children: [
|
|
2114
|
+
/* @__PURE__ */ t.jsx(Yn, {}),
|
|
2115
|
+
/* @__PURE__ */ t.jsx(Un, { children: e })
|
|
2116
|
+
]
|
|
2117
|
+
}
|
|
2118
|
+
);
|
|
2119
|
+
export {
|
|
2120
|
+
ar as A,
|
|
2121
|
+
xr as C,
|
|
2122
|
+
Lr as E,
|
|
2123
|
+
hr as F,
|
|
2124
|
+
Ve as M,
|
|
2125
|
+
wr as R,
|
|
2126
|
+
Tr as T,
|
|
2127
|
+
dr as U,
|
|
2128
|
+
gr as a,
|
|
2129
|
+
Er as b,
|
|
2130
|
+
br as c,
|
|
2131
|
+
fr as d,
|
|
2132
|
+
Te as e,
|
|
2133
|
+
pr as f,
|
|
2134
|
+
kr as g,
|
|
2135
|
+
ur as h,
|
|
2136
|
+
cr as i,
|
|
2137
|
+
Ue as j,
|
|
2138
|
+
Ee as k,
|
|
2139
|
+
Nr as l,
|
|
2140
|
+
mr as m,
|
|
2141
|
+
yr as n,
|
|
2142
|
+
Cr as o,
|
|
2143
|
+
lr as u
|
|
2144
|
+
};
|