@churchapps/apphelper 0.6.24 → 0.7.0
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/donations/components/BankForm.d.ts +17 -0
- package/dist/donations/components/BankForm.d.ts.map +1 -0
- package/dist/donations/components/BankForm.js +268 -0
- package/dist/donations/components/BankForm.js.map +1 -0
- package/dist/donations/components/CardForm.d.ts +15 -0
- package/dist/donations/components/CardForm.d.ts.map +1 -0
- package/dist/donations/components/CardForm.js +132 -0
- package/dist/donations/components/CardForm.js.map +1 -0
- package/dist/donations/components/DonationForm.d.ts +17 -0
- package/dist/donations/components/DonationForm.d.ts.map +1 -0
- package/dist/donations/components/DonationForm.js +225 -0
- package/dist/donations/components/DonationForm.js.map +1 -0
- package/dist/donations/components/FormCardPayment.d.ts +8 -0
- package/dist/donations/components/FormCardPayment.d.ts.map +1 -0
- package/dist/donations/components/FormCardPayment.js +159 -0
- package/dist/donations/components/FormCardPayment.js.map +1 -0
- package/dist/donations/components/FundDonation.d.ts +13 -0
- package/dist/donations/components/FundDonation.d.ts.map +1 -0
- package/dist/donations/components/FundDonation.js +29 -0
- package/dist/donations/components/FundDonation.js.map +1 -0
- package/dist/donations/components/FundDonations.d.ts +12 -0
- package/dist/donations/components/FundDonations.d.ts.map +1 -0
- package/dist/donations/components/FundDonations.js +37 -0
- package/dist/donations/components/FundDonations.js.map +1 -0
- package/dist/donations/components/MultiGatewayDonationForm.d.ts +17 -0
- package/dist/donations/components/MultiGatewayDonationForm.d.ts.map +1 -0
- package/dist/donations/components/MultiGatewayDonationForm.js +375 -0
- package/dist/donations/components/MultiGatewayDonationForm.js.map +1 -0
- package/dist/donations/components/NonAuthDonation.d.ts +12 -0
- package/dist/donations/components/NonAuthDonation.d.ts.map +1 -0
- package/dist/donations/components/NonAuthDonation.js +68 -0
- package/dist/donations/components/NonAuthDonation.js.map +1 -0
- package/dist/donations/components/NonAuthDonationInner.d.ts +13 -0
- package/dist/donations/components/NonAuthDonationInner.d.ts.map +1 -0
- package/dist/donations/components/NonAuthDonationInner.js +431 -0
- package/dist/donations/components/NonAuthDonationInner.js.map +1 -0
- package/dist/donations/components/PayPalCardForm.d.ts +17 -0
- package/dist/donations/components/PayPalCardForm.d.ts.map +1 -0
- package/dist/donations/components/PayPalCardForm.js +118 -0
- package/dist/donations/components/PayPalCardForm.js.map +1 -0
- package/dist/donations/components/PayPalHostedFields.d.ts +19 -0
- package/dist/donations/components/PayPalHostedFields.d.ts.map +1 -0
- package/dist/donations/components/PayPalHostedFields.js +114 -0
- package/dist/donations/components/PayPalHostedFields.js.map +1 -0
- package/dist/donations/components/PayPalNonAuthDonation.d.ts +12 -0
- package/dist/donations/components/PayPalNonAuthDonation.d.ts.map +1 -0
- package/dist/donations/components/PayPalNonAuthDonation.js +20 -0
- package/dist/donations/components/PayPalNonAuthDonation.js.map +1 -0
- package/dist/donations/components/PayPalNonAuthDonationInner.d.ts +13 -0
- package/dist/donations/components/PayPalNonAuthDonationInner.d.ts.map +1 -0
- package/dist/donations/components/PayPalNonAuthDonationInner.js +309 -0
- package/dist/donations/components/PayPalNonAuthDonationInner.js.map +1 -0
- package/dist/donations/components/PaymentMethods.d.ts +15 -0
- package/dist/donations/components/PaymentMethods.d.ts.map +1 -0
- package/dist/donations/components/PaymentMethods.js +97 -0
- package/dist/donations/components/PaymentMethods.js.map +1 -0
- package/dist/donations/components/RecurringDonations.d.ts +10 -0
- package/dist/donations/components/RecurringDonations.d.ts.map +1 -0
- package/dist/donations/components/RecurringDonations.js +106 -0
- package/dist/donations/components/RecurringDonations.js.map +1 -0
- package/dist/donations/components/RecurringDonationsEdit.d.ts +12 -0
- package/dist/donations/components/RecurringDonationsEdit.d.ts.map +1 -0
- package/dist/donations/components/RecurringDonationsEdit.js +67 -0
- package/dist/donations/components/RecurringDonationsEdit.js.map +1 -0
- package/dist/donations/components/index.d.ts +17 -0
- package/dist/donations/components/index.d.ts.map +1 -0
- package/dist/donations/components/index.js +16 -0
- package/dist/donations/components/index.js.map +1 -0
- package/dist/donations/helpers/DonationHelper.d.ts +19 -0
- package/dist/donations/helpers/DonationHelper.d.ts.map +1 -0
- package/dist/donations/helpers/DonationHelper.js +62 -0
- package/dist/donations/helpers/DonationHelper.js.map +1 -0
- package/dist/donations/helpers/DonationInterface.d.ts +23 -0
- package/dist/donations/helpers/DonationInterface.d.ts.map +1 -0
- package/dist/donations/helpers/DonationInterface.js +2 -0
- package/dist/donations/helpers/DonationInterface.js.map +1 -0
- package/dist/donations/helpers/Locale.d.ts +14 -0
- package/dist/donations/helpers/Locale.d.ts.map +1 -0
- package/dist/donations/helpers/Locale.js +276 -0
- package/dist/donations/helpers/Locale.js.map +1 -0
- package/dist/donations/helpers/PayPalDonationInterface.d.ts +33 -0
- package/dist/donations/helpers/PayPalDonationInterface.d.ts.map +1 -0
- package/dist/donations/helpers/PayPalDonationInterface.js +2 -0
- package/dist/donations/helpers/PayPalDonationInterface.js.map +1 -0
- package/dist/donations/helpers/PayPalPaymentMethod.d.ts +8 -0
- package/dist/donations/helpers/PayPalPaymentMethod.d.ts.map +1 -0
- package/dist/donations/helpers/PayPalPaymentMethod.js +2 -0
- package/dist/donations/helpers/PayPalPaymentMethod.js.map +1 -0
- package/dist/donations/helpers/PaymentMethod.d.ts +19 -0
- package/dist/donations/helpers/PaymentMethod.d.ts.map +1 -0
- package/dist/donations/helpers/PaymentMethod.js +2 -0
- package/dist/donations/helpers/PaymentMethod.js.map +1 -0
- package/dist/donations/helpers/StripePaymentMethod.d.ts +16 -0
- package/dist/donations/helpers/StripePaymentMethod.d.ts.map +1 -0
- package/dist/donations/helpers/StripePaymentMethod.js +17 -0
- package/dist/donations/helpers/StripePaymentMethod.js.map +1 -0
- package/dist/donations/helpers/index.d.ts +9 -0
- package/dist/donations/helpers/index.d.ts.map +1 -0
- package/dist/donations/helpers/index.js +4 -0
- package/dist/donations/helpers/index.js.map +1 -0
- package/dist/donations/index.d.ts +5 -0
- package/dist/donations/index.d.ts.map +1 -0
- package/dist/donations/index.js +4 -0
- package/dist/donations/index.js.map +1 -0
- package/dist/donations/modals/DonationPreviewModal.d.ts +15 -0
- package/dist/donations/modals/DonationPreviewModal.d.ts.map +1 -0
- package/dist/donations/modals/DonationPreviewModal.js +27 -0
- package/dist/donations/modals/DonationPreviewModal.js.map +1 -0
- package/dist/forms/components/ErrorMessages.d.ts +7 -0
- package/dist/forms/components/ErrorMessages.d.ts.map +1 -0
- package/dist/forms/components/ErrorMessages.js +21 -0
- package/dist/forms/components/ErrorMessages.js.map +1 -0
- package/dist/forms/components/FormSubmissionEdit.d.ts +19 -0
- package/dist/forms/components/FormSubmissionEdit.d.ts.map +1 -0
- package/dist/forms/components/FormSubmissionEdit.js +141 -0
- package/dist/forms/components/FormSubmissionEdit.js.map +1 -0
- package/dist/forms/components/HelpIcon.d.ts +6 -0
- package/dist/forms/components/HelpIcon.d.ts.map +1 -0
- package/dist/forms/components/HelpIcon.js +6 -0
- package/dist/forms/components/HelpIcon.js.map +1 -0
- package/dist/forms/components/InputBox.d.ts +38 -0
- package/dist/forms/components/InputBox.d.ts.map +1 -0
- package/dist/forms/components/InputBox.js +38 -0
- package/dist/forms/components/InputBox.js.map +1 -0
- package/dist/forms/components/QuestionEdit.d.ts +14 -0
- package/dist/forms/components/QuestionEdit.d.ts.map +1 -0
- package/dist/forms/components/QuestionEdit.js +77 -0
- package/dist/forms/components/QuestionEdit.js.map +1 -0
- package/dist/forms/components/SmallButton.d.ts +15 -0
- package/dist/forms/components/SmallButton.d.ts.map +1 -0
- package/dist/forms/components/SmallButton.js +25 -0
- package/dist/forms/components/SmallButton.js.map +1 -0
- package/dist/forms/components/index.d.ts +7 -0
- package/dist/forms/components/index.d.ts.map +1 -0
- package/dist/forms/components/index.js +7 -0
- package/dist/forms/components/index.js.map +1 -0
- package/dist/forms/helpers/Locale.d.ts +14 -0
- package/dist/forms/helpers/Locale.d.ts.map +1 -0
- package/dist/forms/helpers/Locale.js +201 -0
- package/dist/forms/helpers/Locale.js.map +1 -0
- package/dist/forms/helpers/index.d.ts +2 -0
- package/dist/forms/helpers/index.d.ts.map +1 -0
- package/dist/forms/helpers/index.js +2 -0
- package/dist/forms/helpers/index.js.map +1 -0
- package/dist/forms/index.d.ts +3 -0
- package/dist/forms/index.d.ts.map +1 -0
- package/dist/forms/index.js +3 -0
- package/dist/forms/index.js.map +1 -0
- package/dist/helpers/AppearanceHelper.d.ts +4 -0
- package/dist/helpers/AppearanceHelper.d.ts.map +1 -1
- package/dist/helpers/NotificationService.d.ts +5 -0
- package/dist/helpers/NotificationService.d.ts.map +1 -1
- package/dist/helpers/NotificationService.js +21 -4
- package/dist/helpers/NotificationService.js.map +1 -1
- package/dist/login/LoginPage.d.ts +26 -0
- package/dist/login/LoginPage.d.ts.map +1 -0
- package/dist/login/LoginPage.js +315 -0
- package/dist/login/LoginPage.js.map +1 -0
- package/dist/login/LogoutPage.d.ts +9 -0
- package/dist/login/LogoutPage.d.ts.map +1 -0
- package/dist/login/LogoutPage.js +33 -0
- package/dist/login/LogoutPage.js.map +1 -0
- package/dist/login/components/Forgot.d.ts +9 -0
- package/dist/login/components/Forgot.d.ts.map +1 -0
- package/dist/login/components/Forgot.js +140 -0
- package/dist/login/components/Forgot.js.map +1 -0
- package/dist/login/components/Login.d.ts +17 -0
- package/dist/login/components/Login.d.ts.map +1 -0
- package/dist/login/components/Login.js +134 -0
- package/dist/login/components/Login.js.map +1 -0
- package/dist/login/components/LoginSetPassword.d.ts +13 -0
- package/dist/login/components/LoginSetPassword.d.ts.map +1 -0
- package/dist/login/components/LoginSetPassword.js +126 -0
- package/dist/login/components/LoginSetPassword.js.map +1 -0
- package/dist/login/components/Register.d.ts +18 -0
- package/dist/login/components/Register.d.ts.map +1 -0
- package/dist/login/components/Register.js +245 -0
- package/dist/login/components/Register.js.map +1 -0
- package/dist/login/components/SelectChurchModal.d.ts +14 -0
- package/dist/login/components/SelectChurchModal.d.ts.map +1 -0
- package/dist/login/components/SelectChurchModal.js +41 -0
- package/dist/login/components/SelectChurchModal.js.map +1 -0
- package/dist/login/components/SelectChurchRegister.d.ts +11 -0
- package/dist/login/components/SelectChurchRegister.d.ts.map +1 -0
- package/dist/login/components/SelectChurchRegister.js +89 -0
- package/dist/login/components/SelectChurchRegister.js.map +1 -0
- package/dist/login/components/SelectChurchSearch.d.ts +10 -0
- package/dist/login/components/SelectChurchSearch.d.ts.map +1 -0
- package/dist/login/components/SelectChurchSearch.js +62 -0
- package/dist/login/components/SelectChurchSearch.js.map +1 -0
- package/dist/login/components/SelectableChurch.d.ts +9 -0
- package/dist/login/components/SelectableChurch.d.ts.map +1 -0
- package/dist/login/components/SelectableChurch.js +49 -0
- package/dist/login/components/SelectableChurch.js.map +1 -0
- package/dist/login/components/VerificationCodeInput.d.ts +11 -0
- package/dist/login/components/VerificationCodeInput.d.ts.map +1 -0
- package/dist/login/components/VerificationCodeInput.js +90 -0
- package/dist/login/components/VerificationCodeInput.js.map +1 -0
- package/dist/login/helpers/AnalyticsHelper.d.ts +7 -0
- package/dist/login/helpers/AnalyticsHelper.d.ts.map +1 -0
- package/dist/login/helpers/AnalyticsHelper.js +45 -0
- package/dist/login/helpers/AnalyticsHelper.js.map +1 -0
- package/dist/login/helpers/Locale.d.ts +14 -0
- package/dist/login/helpers/Locale.d.ts.map +1 -0
- package/dist/login/helpers/Locale.js +220 -0
- package/dist/login/helpers/Locale.js.map +1 -0
- package/dist/login/helpers/index.d.ts +3 -0
- package/dist/login/helpers/index.d.ts.map +1 -0
- package/dist/login/helpers/index.js +3 -0
- package/dist/login/helpers/index.js.map +1 -0
- package/dist/login/index.d.ts +13 -0
- package/dist/login/index.d.ts.map +1 -0
- package/dist/login/index.js +13 -0
- package/dist/login/index.js.map +1 -0
- package/dist/markdown/components/htmlEditor/HtmlEditor.d.ts +11 -0
- package/dist/markdown/components/htmlEditor/HtmlEditor.d.ts.map +1 -0
- package/dist/markdown/components/htmlEditor/HtmlEditor.js +8 -0
- package/dist/markdown/components/htmlEditor/HtmlEditor.js.map +1 -0
- package/dist/markdown/components/htmlEditor/HtmlEditorInner.d.ts +12 -0
- package/dist/markdown/components/htmlEditor/HtmlEditorInner.d.ts.map +1 -0
- package/dist/markdown/components/htmlEditor/HtmlEditorInner.js +89 -0
- package/dist/markdown/components/htmlEditor/HtmlEditorInner.js.map +1 -0
- package/dist/markdown/components/htmlEditor/HtmlModal.d.ts +14 -0
- package/dist/markdown/components/htmlEditor/HtmlModal.d.ts.map +1 -0
- package/dist/markdown/components/htmlEditor/HtmlModal.js +71 -0
- package/dist/markdown/components/htmlEditor/HtmlModal.js.map +1 -0
- package/dist/markdown/components/htmlEditor/editor.css +831 -0
- package/dist/markdown/components/htmlEditor/images/emoji/1F600.png +0 -0
- package/dist/markdown/components/htmlEditor/images/emoji/1F641.png +0 -0
- package/dist/markdown/components/htmlEditor/images/emoji/1F642.png +0 -0
- package/dist/markdown/components/htmlEditor/images/emoji/2764.png +0 -0
- package/dist/markdown/components/htmlEditor/images/icons/arrow-clockwise.svg +4 -0
- package/dist/markdown/components/htmlEditor/images/icons/arrow-counterclockwise.svg +4 -0
- package/dist/markdown/components/htmlEditor/images/icons/chat-square-quote.svg +4 -0
- package/dist/markdown/components/htmlEditor/images/icons/chevron-down.svg +3 -0
- package/dist/markdown/components/htmlEditor/images/icons/code.svg +3 -0
- package/dist/markdown/components/htmlEditor/images/icons/journal-code.svg +5 -0
- package/dist/markdown/components/htmlEditor/images/icons/journal-text.svg +5 -0
- package/dist/markdown/components/htmlEditor/images/icons/justify.svg +3 -0
- package/dist/markdown/components/htmlEditor/images/icons/link.svg +4 -0
- package/dist/markdown/components/htmlEditor/images/icons/list-ol.svg +4 -0
- package/dist/markdown/components/htmlEditor/images/icons/list-ul.svg +3 -0
- package/dist/markdown/components/htmlEditor/images/icons/pencil-fill.svg +3 -0
- package/dist/markdown/components/htmlEditor/images/icons/text-center.svg +3 -0
- package/dist/markdown/components/htmlEditor/images/icons/text-left.svg +3 -0
- package/dist/markdown/components/htmlEditor/images/icons/text-paragraph.svg +3 -0
- package/dist/markdown/components/htmlEditor/images/icons/text-right.svg +3 -0
- package/dist/markdown/components/htmlEditor/images/icons/type-bold.svg +3 -0
- package/dist/markdown/components/htmlEditor/images/icons/type-h1.svg +3 -0
- package/dist/markdown/components/htmlEditor/images/icons/type-h2.svg +3 -0
- package/dist/markdown/components/htmlEditor/images/icons/type-h3.svg +3 -0
- package/dist/markdown/components/htmlEditor/images/icons/type-h4.svg +13 -0
- package/dist/markdown/components/htmlEditor/images/icons/type-italic.svg +3 -0
- package/dist/markdown/components/htmlEditor/images/icons/type-strikethrough.svg +3 -0
- package/dist/markdown/components/htmlEditor/images/icons/type-underline.svg +3 -0
- package/dist/markdown/components/htmlEditor/index.d.ts +3 -0
- package/dist/markdown/components/htmlEditor/index.d.ts.map +1 -0
- package/dist/markdown/components/htmlEditor/index.js +3 -0
- package/dist/markdown/components/htmlEditor/index.js.map +1 -0
- package/dist/markdown/components/htmlEditor/plugins/AutoLinkPlugin.d.ts +2 -0
- package/dist/markdown/components/htmlEditor/plugins/AutoLinkPlugin.d.ts.map +1 -0
- package/dist/markdown/components/htmlEditor/plugins/AutoLinkPlugin.js +28 -0
- package/dist/markdown/components/htmlEditor/plugins/AutoLinkPlugin.js.map +1 -0
- package/dist/markdown/components/htmlEditor/plugins/ControlledEditorPlugin.d.ts +6 -0
- package/dist/markdown/components/htmlEditor/plugins/ControlledEditorPlugin.d.ts.map +1 -0
- package/dist/markdown/components/htmlEditor/plugins/ControlledEditorPlugin.js +30 -0
- package/dist/markdown/components/htmlEditor/plugins/ControlledEditorPlugin.js.map +1 -0
- package/dist/markdown/components/htmlEditor/plugins/FloatingLinkEditorPlugin.d.ts +8 -0
- package/dist/markdown/components/htmlEditor/plugins/FloatingLinkEditorPlugin.d.ts.map +1 -0
- package/dist/markdown/components/htmlEditor/plugins/FloatingLinkEditorPlugin.js +280 -0
- package/dist/markdown/components/htmlEditor/plugins/FloatingLinkEditorPlugin.js.map +1 -0
- package/dist/markdown/components/htmlEditor/plugins/FloatingTextFormatToolbarPlugin.d.ts +4 -0
- package/dist/markdown/components/htmlEditor/plugins/FloatingTextFormatToolbarPlugin.d.ts.map +1 -0
- package/dist/markdown/components/htmlEditor/plugins/FloatingTextFormatToolbarPlugin.js +188 -0
- package/dist/markdown/components/htmlEditor/plugins/FloatingTextFormatToolbarPlugin.js.map +1 -0
- package/dist/markdown/components/htmlEditor/plugins/HtmlSourcePlugin.d.ts +6 -0
- package/dist/markdown/components/htmlEditor/plugins/HtmlSourcePlugin.d.ts.map +1 -0
- package/dist/markdown/components/htmlEditor/plugins/HtmlSourcePlugin.js +85 -0
- package/dist/markdown/components/htmlEditor/plugins/HtmlSourcePlugin.js.map +1 -0
- package/dist/markdown/components/htmlEditor/plugins/HtmlToolbarPlugin.d.ts +8 -0
- package/dist/markdown/components/htmlEditor/plugins/HtmlToolbarPlugin.d.ts.map +1 -0
- package/dist/markdown/components/htmlEditor/plugins/HtmlToolbarPlugin.js +249 -0
- package/dist/markdown/components/htmlEditor/plugins/HtmlToolbarPlugin.js.map +1 -0
- package/dist/markdown/components/htmlEditor/plugins/ListMaxIndentLevelPlugin.d.ts +4 -0
- package/dist/markdown/components/htmlEditor/plugins/ListMaxIndentLevelPlugin.d.ts.map +1 -0
- package/dist/markdown/components/htmlEditor/plugins/ListMaxIndentLevelPlugin.js +41 -0
- package/dist/markdown/components/htmlEditor/plugins/ListMaxIndentLevelPlugin.js.map +1 -0
- package/dist/markdown/components/htmlEditor/plugins/ReadOnlyPlugin.d.ts +6 -0
- package/dist/markdown/components/htmlEditor/plugins/ReadOnlyPlugin.d.ts.map +1 -0
- package/dist/markdown/components/htmlEditor/plugins/ReadOnlyPlugin.js +10 -0
- package/dist/markdown/components/htmlEditor/plugins/ReadOnlyPlugin.js.map +1 -0
- package/dist/markdown/components/htmlEditor/plugins/customLink/CustomLinkNode.d.ts +69 -0
- package/dist/markdown/components/htmlEditor/plugins/customLink/CustomLinkNode.d.ts.map +1 -0
- package/dist/markdown/components/htmlEditor/plugins/customLink/CustomLinkNode.js +175 -0
- package/dist/markdown/components/htmlEditor/plugins/customLink/CustomLinkNode.js.map +1 -0
- package/dist/markdown/components/htmlEditor/plugins/customLink/CustomLinkNodePlugin.d.ts +4 -0
- package/dist/markdown/components/htmlEditor/plugins/customLink/CustomLinkNodePlugin.d.ts.map +1 -0
- package/dist/markdown/components/htmlEditor/plugins/customLink/CustomLinkNodePlugin.js +19 -0
- package/dist/markdown/components/htmlEditor/plugins/customLink/CustomLinkNodePlugin.js.map +1 -0
- package/dist/markdown/components/htmlEditor/plugins/toolbarParts/AlignmentControls.d.ts +7 -0
- package/dist/markdown/components/htmlEditor/plugins/toolbarParts/AlignmentControls.d.ts.map +1 -0
- package/dist/markdown/components/htmlEditor/plugins/toolbarParts/AlignmentControls.js +8 -0
- package/dist/markdown/components/htmlEditor/plugins/toolbarParts/AlignmentControls.js.map +1 -0
- package/dist/markdown/components/htmlEditor/plugins/toolbarParts/BlockAndFontControls.d.ts +10 -0
- package/dist/markdown/components/htmlEditor/plugins/toolbarParts/BlockAndFontControls.d.ts.map +1 -0
- package/dist/markdown/components/htmlEditor/plugins/toolbarParts/BlockAndFontControls.js +26 -0
- package/dist/markdown/components/htmlEditor/plugins/toolbarParts/BlockAndFontControls.js.map +1 -0
- package/dist/markdown/components/htmlEditor/plugins/toolbarParts/ColorsAndLinkControls.d.ts +12 -0
- package/dist/markdown/components/htmlEditor/plugins/toolbarParts/ColorsAndLinkControls.d.ts.map +1 -0
- package/dist/markdown/components/htmlEditor/plugins/toolbarParts/ColorsAndLinkControls.js +7 -0
- package/dist/markdown/components/htmlEditor/plugins/toolbarParts/ColorsAndLinkControls.js.map +1 -0
- package/dist/markdown/components/htmlEditor/plugins/toolbarParts/HistoryControls.d.ts +6 -0
- package/dist/markdown/components/htmlEditor/plugins/toolbarParts/HistoryControls.d.ts.map +1 -0
- package/dist/markdown/components/htmlEditor/plugins/toolbarParts/HistoryControls.js +8 -0
- package/dist/markdown/components/htmlEditor/plugins/toolbarParts/HistoryControls.js.map +1 -0
- package/dist/markdown/components/htmlEditor/plugins/toolbarParts/ListsAndElementsControls.d.ts +7 -0
- package/dist/markdown/components/htmlEditor/plugins/toolbarParts/ListsAndElementsControls.d.ts.map +1 -0
- package/dist/markdown/components/htmlEditor/plugins/toolbarParts/ListsAndElementsControls.js +68 -0
- package/dist/markdown/components/htmlEditor/plugins/toolbarParts/ListsAndElementsControls.js.map +1 -0
- package/dist/markdown/components/htmlEditor/plugins/toolbarParts/SourceToggleControl.d.ts +7 -0
- package/dist/markdown/components/htmlEditor/plugins/toolbarParts/SourceToggleControl.d.ts.map +1 -0
- package/dist/markdown/components/htmlEditor/plugins/toolbarParts/SourceToggleControl.js +9 -0
- package/dist/markdown/components/htmlEditor/plugins/toolbarParts/SourceToggleControl.js.map +1 -0
- package/dist/markdown/components/htmlEditor/plugins/toolbarParts/TextFormattingControls.d.ts +14 -0
- package/dist/markdown/components/htmlEditor/plugins/toolbarParts/TextFormattingControls.d.ts.map +1 -0
- package/dist/markdown/components/htmlEditor/plugins/toolbarParts/TextFormattingControls.js +8 -0
- package/dist/markdown/components/htmlEditor/plugins/toolbarParts/TextFormattingControls.js.map +1 -0
- package/dist/markdown/components/htmlEditor/theme.d.ts +77 -0
- package/dist/markdown/components/htmlEditor/theme.d.ts.map +1 -0
- package/dist/markdown/components/htmlEditor/theme.js +75 -0
- package/dist/markdown/components/htmlEditor/theme.js.map +1 -0
- package/dist/markdown/components/htmlEditor/utils/cleanHtml.d.ts +6 -0
- package/dist/markdown/components/htmlEditor/utils/cleanHtml.d.ts.map +1 -0
- package/dist/markdown/components/htmlEditor/utils/cleanHtml.js +69 -0
- package/dist/markdown/components/htmlEditor/utils/cleanHtml.js.map +1 -0
- package/dist/markdown/components/markdownEditor/Editor.d.ts +14 -0
- package/dist/markdown/components/markdownEditor/Editor.d.ts.map +1 -0
- package/dist/markdown/components/markdownEditor/Editor.js +86 -0
- package/dist/markdown/components/markdownEditor/Editor.js.map +1 -0
- package/dist/markdown/components/markdownEditor/IconNamesList.d.ts +3 -0
- package/dist/markdown/components/markdownEditor/IconNamesList.d.ts.map +1 -0
- package/dist/markdown/components/markdownEditor/IconNamesList.js +59 -0
- package/dist/markdown/components/markdownEditor/IconNamesList.js.map +1 -0
- package/dist/markdown/components/markdownEditor/MarkdownEditor.d.ts +10 -0
- package/dist/markdown/components/markdownEditor/MarkdownEditor.d.ts.map +1 -0
- package/dist/markdown/components/markdownEditor/MarkdownEditor.js +9 -0
- package/dist/markdown/components/markdownEditor/MarkdownEditor.js.map +1 -0
- package/dist/markdown/components/markdownEditor/MarkdownModal.d.ts +9 -0
- package/dist/markdown/components/markdownEditor/MarkdownModal.d.ts.map +1 -0
- package/dist/markdown/components/markdownEditor/MarkdownModal.js +20 -0
- package/dist/markdown/components/markdownEditor/MarkdownModal.js.map +1 -0
- package/dist/markdown/components/markdownEditor/MarkdownPreview.d.ts +9 -0
- package/dist/markdown/components/markdownEditor/MarkdownPreview.d.ts.map +1 -0
- package/dist/markdown/components/markdownEditor/MarkdownPreview.js +9 -0
- package/dist/markdown/components/markdownEditor/MarkdownPreview.js.map +1 -0
- package/dist/markdown/components/markdownEditor/MarkdownPreviewLight.d.ts +7 -0
- package/dist/markdown/components/markdownEditor/MarkdownPreviewLight.d.ts.map +1 -0
- package/dist/markdown/components/markdownEditor/MarkdownPreviewLight.js +50 -0
- package/dist/markdown/components/markdownEditor/MarkdownPreviewLight.js.map +1 -0
- package/dist/markdown/components/markdownEditor/editor.css +787 -0
- package/dist/markdown/components/markdownEditor/images/emoji/1F600.png +0 -0
- package/dist/markdown/components/markdownEditor/images/emoji/1F641.png +0 -0
- package/dist/markdown/components/markdownEditor/images/emoji/1F642.png +0 -0
- package/dist/markdown/components/markdownEditor/images/emoji/2764.png +0 -0
- package/dist/markdown/components/markdownEditor/images/icons/arrow-clockwise.svg +4 -0
- package/dist/markdown/components/markdownEditor/images/icons/arrow-counterclockwise.svg +4 -0
- package/dist/markdown/components/markdownEditor/images/icons/chat-square-quote.svg +4 -0
- package/dist/markdown/components/markdownEditor/images/icons/chevron-down.svg +3 -0
- package/dist/markdown/components/markdownEditor/images/icons/code.svg +3 -0
- package/dist/markdown/components/markdownEditor/images/icons/journal-code.svg +5 -0
- package/dist/markdown/components/markdownEditor/images/icons/journal-text.svg +5 -0
- package/dist/markdown/components/markdownEditor/images/icons/justify.svg +3 -0
- package/dist/markdown/components/markdownEditor/images/icons/link.svg +4 -0
- package/dist/markdown/components/markdownEditor/images/icons/list-ol.svg +4 -0
- package/dist/markdown/components/markdownEditor/images/icons/list-ul.svg +3 -0
- package/dist/markdown/components/markdownEditor/images/icons/pencil-fill.svg +3 -0
- package/dist/markdown/components/markdownEditor/images/icons/text-center.svg +3 -0
- package/dist/markdown/components/markdownEditor/images/icons/text-left.svg +3 -0
- package/dist/markdown/components/markdownEditor/images/icons/text-paragraph.svg +3 -0
- package/dist/markdown/components/markdownEditor/images/icons/text-right.svg +3 -0
- package/dist/markdown/components/markdownEditor/images/icons/type-bold.svg +3 -0
- package/dist/markdown/components/markdownEditor/images/icons/type-h1.svg +3 -0
- package/dist/markdown/components/markdownEditor/images/icons/type-h2.svg +3 -0
- package/dist/markdown/components/markdownEditor/images/icons/type-h3.svg +3 -0
- package/dist/markdown/components/markdownEditor/images/icons/type-h4.svg +13 -0
- package/dist/markdown/components/markdownEditor/images/icons/type-italic.svg +3 -0
- package/dist/markdown/components/markdownEditor/images/icons/type-strikethrough.svg +3 -0
- package/dist/markdown/components/markdownEditor/images/icons/type-underline.svg +3 -0
- package/dist/markdown/components/markdownEditor/index.d.ts +4 -0
- package/dist/markdown/components/markdownEditor/index.d.ts.map +1 -0
- package/dist/markdown/components/markdownEditor/index.js +4 -0
- package/dist/markdown/components/markdownEditor/index.js.map +1 -0
- package/dist/markdown/components/markdownEditor/plugins/AutoLinkPlugin.d.ts +2 -0
- package/dist/markdown/components/markdownEditor/plugins/AutoLinkPlugin.d.ts.map +1 -0
- package/dist/markdown/components/markdownEditor/plugins/AutoLinkPlugin.js +28 -0
- package/dist/markdown/components/markdownEditor/plugins/AutoLinkPlugin.js.map +1 -0
- package/dist/markdown/components/markdownEditor/plugins/ControlledEditorPlugin.d.ts +8 -0
- package/dist/markdown/components/markdownEditor/plugins/ControlledEditorPlugin.d.ts.map +1 -0
- package/dist/markdown/components/markdownEditor/plugins/ControlledEditorPlugin.js +16 -0
- package/dist/markdown/components/markdownEditor/plugins/ControlledEditorPlugin.js.map +1 -0
- package/dist/markdown/components/markdownEditor/plugins/FloatingTextMenu/FloatingTextFormatToolbarPlugin.d.ts +6 -0
- package/dist/markdown/components/markdownEditor/plugins/FloatingTextMenu/FloatingTextFormatToolbarPlugin.d.ts.map +1 -0
- package/dist/markdown/components/markdownEditor/plugins/FloatingTextMenu/FloatingTextFormatToolbarPlugin.js +296 -0
- package/dist/markdown/components/markdownEditor/plugins/FloatingTextMenu/FloatingTextFormatToolbarPlugin.js.map +1 -0
- package/dist/markdown/components/markdownEditor/plugins/FloatingTextMenu/getDOMRangeRect.d.ts +2 -0
- package/dist/markdown/components/markdownEditor/plugins/FloatingTextMenu/getDOMRangeRect.d.ts.map +1 -0
- package/dist/markdown/components/markdownEditor/plugins/FloatingTextMenu/getDOMRangeRect.js +16 -0
- package/dist/markdown/components/markdownEditor/plugins/FloatingTextMenu/getDOMRangeRect.js.map +1 -0
- package/dist/markdown/components/markdownEditor/plugins/FloatingTextMenu/getSelectNode.d.ts +2 -0
- package/dist/markdown/components/markdownEditor/plugins/FloatingTextMenu/getSelectNode.d.ts.map +1 -0
- package/dist/markdown/components/markdownEditor/plugins/FloatingTextMenu/getSelectNode.js +18 -0
- package/dist/markdown/components/markdownEditor/plugins/FloatingTextMenu/getSelectNode.js.map +1 -0
- package/dist/markdown/components/markdownEditor/plugins/FloatingTextMenu/setFloatingElemPosition.d.ts +2 -0
- package/dist/markdown/components/markdownEditor/plugins/FloatingTextMenu/setFloatingElemPosition.d.ts.map +1 -0
- package/dist/markdown/components/markdownEditor/plugins/FloatingTextMenu/setFloatingElemPosition.js +26 -0
- package/dist/markdown/components/markdownEditor/plugins/FloatingTextMenu/setFloatingElemPosition.js.map +1 -0
- package/dist/markdown/components/markdownEditor/plugins/ListMaxIndentLevelPlugin.d.ts +2 -0
- package/dist/markdown/components/markdownEditor/plugins/ListMaxIndentLevelPlugin.d.ts.map +1 -0
- package/dist/markdown/components/markdownEditor/plugins/ListMaxIndentLevelPlugin.js +42 -0
- package/dist/markdown/components/markdownEditor/plugins/ListMaxIndentLevelPlugin.js.map +1 -0
- package/dist/markdown/components/markdownEditor/plugins/MarkdownTransformers.d.ts +12 -0
- package/dist/markdown/components/markdownEditor/plugins/MarkdownTransformers.d.ts.map +1 -0
- package/dist/markdown/components/markdownEditor/plugins/MarkdownTransformers.js +82 -0
- package/dist/markdown/components/markdownEditor/plugins/MarkdownTransformers.js.map +1 -0
- package/dist/markdown/components/markdownEditor/plugins/ReadOnlyPlugin.d.ts +6 -0
- package/dist/markdown/components/markdownEditor/plugins/ReadOnlyPlugin.d.ts.map +1 -0
- package/dist/markdown/components/markdownEditor/plugins/ReadOnlyPlugin.js +9 -0
- package/dist/markdown/components/markdownEditor/plugins/ReadOnlyPlugin.js.map +1 -0
- package/dist/markdown/components/markdownEditor/plugins/ToolbarPlugin.d.ts +7 -0
- package/dist/markdown/components/markdownEditor/plugins/ToolbarPlugin.d.ts.map +1 -0
- package/dist/markdown/components/markdownEditor/plugins/ToolbarPlugin.js +280 -0
- package/dist/markdown/components/markdownEditor/plugins/ToolbarPlugin.js.map +1 -0
- package/dist/markdown/components/markdownEditor/plugins/customLink/CustomLinkNode.d.ts +58 -0
- package/dist/markdown/components/markdownEditor/plugins/customLink/CustomLinkNode.d.ts.map +1 -0
- package/dist/markdown/components/markdownEditor/plugins/customLink/CustomLinkNode.js +158 -0
- package/dist/markdown/components/markdownEditor/plugins/customLink/CustomLinkNode.js.map +1 -0
- package/dist/markdown/components/markdownEditor/plugins/customLink/CustomLinkNodePlugin.d.ts +4 -0
- package/dist/markdown/components/markdownEditor/plugins/customLink/CustomLinkNodePlugin.d.ts.map +1 -0
- package/dist/markdown/components/markdownEditor/plugins/customLink/CustomLinkNodePlugin.js +19 -0
- package/dist/markdown/components/markdownEditor/plugins/customLink/CustomLinkNodePlugin.js.map +1 -0
- package/dist/markdown/components/markdownEditor/plugins/customLink/CustomLinkNodeTransformer.d.ts +3 -0
- package/dist/markdown/components/markdownEditor/plugins/customLink/CustomLinkNodeTransformer.d.ts.map +1 -0
- package/dist/markdown/components/markdownEditor/plugins/customLink/CustomLinkNodeTransformer.js +91 -0
- package/dist/markdown/components/markdownEditor/plugins/customLink/CustomLinkNodeTransformer.js.map +1 -0
- package/dist/markdown/components/markdownEditor/plugins/customLink/FloatingLinkEditor.d.ts +5 -0
- package/dist/markdown/components/markdownEditor/plugins/customLink/FloatingLinkEditor.d.ts.map +1 -0
- package/dist/markdown/components/markdownEditor/plugins/customLink/FloatingLinkEditor.js +190 -0
- package/dist/markdown/components/markdownEditor/plugins/customLink/FloatingLinkEditor.js.map +1 -0
- package/dist/markdown/components/markdownEditor/plugins/customLink/FloatingLinkEditor.types.d.ts +11 -0
- package/dist/markdown/components/markdownEditor/plugins/customLink/FloatingLinkEditor.types.d.ts.map +1 -0
- package/dist/markdown/components/markdownEditor/plugins/customLink/FloatingLinkEditor.types.js +2 -0
- package/dist/markdown/components/markdownEditor/plugins/customLink/FloatingLinkEditor.types.js.map +1 -0
- package/dist/markdown/components/markdownEditor/plugins/emoji/EmojiNode.d.ts +24 -0
- package/dist/markdown/components/markdownEditor/plugins/emoji/EmojiNode.d.ts.map +1 -0
- package/dist/markdown/components/markdownEditor/plugins/emoji/EmojiNode.js +59 -0
- package/dist/markdown/components/markdownEditor/plugins/emoji/EmojiNode.js.map +1 -0
- package/dist/markdown/components/markdownEditor/plugins/emoji/EmojiNodeTransform.d.ts +4 -0
- package/dist/markdown/components/markdownEditor/plugins/emoji/EmojiNodeTransform.d.ts.map +1 -0
- package/dist/markdown/components/markdownEditor/plugins/emoji/EmojiNodeTransform.js +29 -0
- package/dist/markdown/components/markdownEditor/plugins/emoji/EmojiNodeTransform.js.map +1 -0
- package/dist/markdown/components/markdownEditor/plugins/emoji/EmojiPickerPlugin.d.ts +9 -0
- package/dist/markdown/components/markdownEditor/plugins/emoji/EmojiPickerPlugin.d.ts.map +1 -0
- package/dist/markdown/components/markdownEditor/plugins/emoji/EmojiPickerPlugin.js +62 -0
- package/dist/markdown/components/markdownEditor/plugins/emoji/EmojiPickerPlugin.js.map +1 -0
- package/dist/markdown/components/markdownEditor/plugins/emoji/EmojisPlugin.d.ts +10 -0
- package/dist/markdown/components/markdownEditor/plugins/emoji/EmojisPlugin.d.ts.map +1 -0
- package/dist/markdown/components/markdownEditor/plugins/emoji/EmojisPlugin.js +53 -0
- package/dist/markdown/components/markdownEditor/plugins/emoji/EmojisPlugin.js.map +1 -0
- package/dist/markdown/components/markdownEditor/plugins/index.d.ts +7 -0
- package/dist/markdown/components/markdownEditor/plugins/index.d.ts.map +1 -0
- package/dist/markdown/components/markdownEditor/plugins/index.js +7 -0
- package/dist/markdown/components/markdownEditor/plugins/index.js.map +1 -0
- package/dist/markdown/components/markdownEditor/theme.d.ts +66 -0
- package/dist/markdown/components/markdownEditor/theme.d.ts.map +1 -0
- package/dist/markdown/components/markdownEditor/theme.js +64 -0
- package/dist/markdown/components/markdownEditor/theme.js.map +1 -0
- package/dist/markdown/index.d.ts +7 -0
- package/dist/markdown/index.d.ts.map +1 -0
- package/dist/markdown/index.js +7 -0
- package/dist/markdown/index.js.map +1 -0
- package/dist/markdown/stubs/stripe.d.ts +8 -0
- package/dist/markdown/stubs/stripe.d.ts.map +1 -0
- package/dist/markdown/stubs/stripe.js +9 -0
- package/dist/markdown/stubs/stripe.js.map +1 -0
- package/dist/website/components/Animate.d.ts +2 -0
- package/dist/website/components/Animate.d.ts.map +1 -0
- package/dist/website/components/Animate.js +11 -0
- package/dist/website/components/Animate.js.map +1 -0
- package/dist/website/components/Element.d.ts +15 -0
- package/dist/website/components/Element.d.ts.map +1 -0
- package/dist/website/components/Element.js +214 -0
- package/dist/website/components/Element.js.map +1 -0
- package/dist/website/components/Theme.d.ts +9 -0
- package/dist/website/components/Theme.d.ts.map +1 -0
- package/dist/website/components/Theme.js +107 -0
- package/dist/website/components/Theme.js.map +1 -0
- package/dist/website/components/YoutubeBackground.d.ts +13 -0
- package/dist/website/components/YoutubeBackground.d.ts.map +1 -0
- package/dist/website/components/YoutubeBackground.js +86 -0
- package/dist/website/components/YoutubeBackground.js.map +1 -0
- package/dist/website/components/admin/DraggableWrapper.d.ts +11 -0
- package/dist/website/components/admin/DraggableWrapper.d.ts.map +1 -0
- package/dist/website/components/admin/DraggableWrapper.js +13 -0
- package/dist/website/components/admin/DraggableWrapper.js.map +1 -0
- package/dist/website/components/admin/DroppableArea.d.ts +13 -0
- package/dist/website/components/admin/DroppableArea.d.ts.map +1 -0
- package/dist/website/components/admin/DroppableArea.js +112 -0
- package/dist/website/components/admin/DroppableArea.js.map +1 -0
- package/dist/website/components/admin/calendar/CuratedCalendar.d.ts +10 -0
- package/dist/website/components/admin/calendar/CuratedCalendar.d.ts.map +1 -0
- package/dist/website/components/admin/calendar/CuratedCalendar.js +22 -0
- package/dist/website/components/admin/calendar/CuratedCalendar.js.map +1 -0
- package/dist/website/components/admin/calendar/CuratedEventCalendar.d.ts +12 -0
- package/dist/website/components/admin/calendar/CuratedEventCalendar.d.ts.map +1 -0
- package/dist/website/components/admin/calendar/CuratedEventCalendar.js +99 -0
- package/dist/website/components/admin/calendar/CuratedEventCalendar.js.map +1 -0
- package/dist/website/components/admin/calendar/DisplayCalendarEventModal.d.ts +10 -0
- package/dist/website/components/admin/calendar/DisplayCalendarEventModal.d.ts.map +1 -0
- package/dist/website/components/admin/calendar/DisplayCalendarEventModal.js +42 -0
- package/dist/website/components/admin/calendar/DisplayCalendarEventModal.js.map +1 -0
- package/dist/website/components/admin/calendar/EditCalendarEventModal.d.ts +9 -0
- package/dist/website/components/admin/calendar/EditCalendarEventModal.d.ts.map +1 -0
- package/dist/website/components/admin/calendar/EditCalendarEventModal.js +101 -0
- package/dist/website/components/admin/calendar/EditCalendarEventModal.js.map +1 -0
- package/dist/website/components/admin/calendar/index.d.ts +5 -0
- package/dist/website/components/admin/calendar/index.d.ts.map +1 -0
- package/dist/website/components/admin/calendar/index.js +5 -0
- package/dist/website/components/admin/calendar/index.js.map +1 -0
- package/dist/website/components/admin/index.d.ts +4 -0
- package/dist/website/components/admin/index.d.ts.map +1 -0
- package/dist/website/components/admin/index.js +4 -0
- package/dist/website/components/admin/index.js.map +1 -0
- package/dist/website/components/donate/NonAuthDonationWrapper.d.ts +11 -0
- package/dist/website/components/donate/NonAuthDonationWrapper.d.ts.map +1 -0
- package/dist/website/components/donate/NonAuthDonationWrapper.js +25 -0
- package/dist/website/components/donate/NonAuthDonationWrapper.js.map +1 -0
- package/dist/website/components/donate/index.d.ts +2 -0
- package/dist/website/components/donate/index.d.ts.map +1 -0
- package/dist/website/components/donate/index.js +2 -0
- package/dist/website/components/donate/index.js.map +1 -0
- package/dist/website/components/elementTypes/BoxElement.d.ts +11 -0
- package/dist/website/components/elementTypes/BoxElement.d.ts.map +1 -0
- package/dist/website/components/elementTypes/BoxElement.js +68 -0
- package/dist/website/components/elementTypes/BoxElement.js.map +1 -0
- package/dist/website/components/elementTypes/ButtonLink.d.ts +7 -0
- package/dist/website/components/elementTypes/ButtonLink.d.ts.map +1 -0
- package/dist/website/components/elementTypes/ButtonLink.js +6 -0
- package/dist/website/components/elementTypes/ButtonLink.js.map +1 -0
- package/dist/website/components/elementTypes/CalendarElement.d.ts +14 -0
- package/dist/website/components/elementTypes/CalendarElement.d.ts.map +1 -0
- package/dist/website/components/elementTypes/CalendarElement.js +21 -0
- package/dist/website/components/elementTypes/CalendarElement.js.map +1 -0
- package/dist/website/components/elementTypes/CardElement.d.ts +9 -0
- package/dist/website/components/elementTypes/CardElement.d.ts.map +1 -0
- package/dist/website/components/elementTypes/CardElement.js +31 -0
- package/dist/website/components/elementTypes/CardElement.js.map +1 -0
- package/dist/website/components/elementTypes/CarouselElement.d.ts +11 -0
- package/dist/website/components/elementTypes/CarouselElement.d.ts.map +1 -0
- package/dist/website/components/elementTypes/CarouselElement.js +120 -0
- package/dist/website/components/elementTypes/CarouselElement.js.map +1 -0
- package/dist/website/components/elementTypes/DonateLinkElement.d.ts +7 -0
- package/dist/website/components/elementTypes/DonateLinkElement.d.ts.map +1 -0
- package/dist/website/components/elementTypes/DonateLinkElement.js +15 -0
- package/dist/website/components/elementTypes/DonateLinkElement.js.map +1 -0
- package/dist/website/components/elementTypes/ElementBlock.d.ts +10 -0
- package/dist/website/components/elementTypes/ElementBlock.d.ts.map +1 -0
- package/dist/website/components/elementTypes/ElementBlock.js +14 -0
- package/dist/website/components/elementTypes/ElementBlock.js.map +1 -0
- package/dist/website/components/elementTypes/FaqElement.d.ts +8 -0
- package/dist/website/components/elementTypes/FaqElement.d.ts.map +1 -0
- package/dist/website/components/elementTypes/FaqElement.js +38 -0
- package/dist/website/components/elementTypes/FaqElement.js.map +1 -0
- package/dist/website/components/elementTypes/FormElement.d.ts +20 -0
- package/dist/website/components/elementTypes/FormElement.d.ts.map +1 -0
- package/dist/website/components/elementTypes/FormElement.js +39 -0
- package/dist/website/components/elementTypes/FormElement.js.map +1 -0
- package/dist/website/components/elementTypes/GroupListElement.d.ts +8 -0
- package/dist/website/components/elementTypes/GroupListElement.d.ts.map +1 -0
- package/dist/website/components/elementTypes/GroupListElement.js +4 -0
- package/dist/website/components/elementTypes/GroupListElement.js.map +1 -0
- package/dist/website/components/elementTypes/HtmlPreview.d.ts +12 -0
- package/dist/website/components/elementTypes/HtmlPreview.d.ts.map +1 -0
- package/dist/website/components/elementTypes/HtmlPreview.js +8 -0
- package/dist/website/components/elementTypes/HtmlPreview.js.map +1 -0
- package/dist/website/components/elementTypes/IframeElement.d.ts +7 -0
- package/dist/website/components/elementTypes/IframeElement.d.ts.map +1 -0
- package/dist/website/components/elementTypes/IframeElement.js +6 -0
- package/dist/website/components/elementTypes/IframeElement.js.map +1 -0
- package/dist/website/components/elementTypes/ImageElement.d.ts +8 -0
- package/dist/website/components/elementTypes/ImageElement.d.ts.map +1 -0
- package/dist/website/components/elementTypes/ImageElement.js +67 -0
- package/dist/website/components/elementTypes/ImageElement.js.map +1 -0
- package/dist/website/components/elementTypes/LogoElement.d.ts +10 -0
- package/dist/website/components/elementTypes/LogoElement.d.ts.map +1 -0
- package/dist/website/components/elementTypes/LogoElement.js +11 -0
- package/dist/website/components/elementTypes/LogoElement.js.map +1 -0
- package/dist/website/components/elementTypes/MapElement.d.ts +7 -0
- package/dist/website/components/elementTypes/MapElement.d.ts.map +1 -0
- package/dist/website/components/elementTypes/MapElement.js +33 -0
- package/dist/website/components/elementTypes/MapElement.js.map +1 -0
- package/dist/website/components/elementTypes/RawHTMLElement.d.ts +8 -0
- package/dist/website/components/elementTypes/RawHTMLElement.d.ts.map +1 -0
- package/dist/website/components/elementTypes/RawHTMLElement.js +22 -0
- package/dist/website/components/elementTypes/RawHTMLElement.js.map +1 -0
- package/dist/website/components/elementTypes/RowElement.d.ts +13 -0
- package/dist/website/components/elementTypes/RowElement.d.ts.map +1 -0
- package/dist/website/components/elementTypes/RowElement.js +60 -0
- package/dist/website/components/elementTypes/RowElement.js.map +1 -0
- package/dist/website/components/elementTypes/SermonElement.d.ts +7 -0
- package/dist/website/components/elementTypes/SermonElement.d.ts.map +1 -0
- package/dist/website/components/elementTypes/SermonElement.js +53 -0
- package/dist/website/components/elementTypes/SermonElement.js.map +1 -0
- package/dist/website/components/elementTypes/StreamElement.d.ts +11 -0
- package/dist/website/components/elementTypes/StreamElement.d.ts.map +1 -0
- package/dist/website/components/elementTypes/StreamElement.js +14 -0
- package/dist/website/components/elementTypes/StreamElement.js.map +1 -0
- package/dist/website/components/elementTypes/TableElement.d.ts +7 -0
- package/dist/website/components/elementTypes/TableElement.d.ts.map +1 -0
- package/dist/website/components/elementTypes/TableElement.js +33 -0
- package/dist/website/components/elementTypes/TableElement.js.map +1 -0
- package/dist/website/components/elementTypes/TextOnly.d.ts +8 -0
- package/dist/website/components/elementTypes/TextOnly.d.ts.map +1 -0
- package/dist/website/components/elementTypes/TextOnly.js +13 -0
- package/dist/website/components/elementTypes/TextOnly.js.map +1 -0
- package/dist/website/components/elementTypes/TextWithPhoto.d.ts +8 -0
- package/dist/website/components/elementTypes/TextWithPhoto.d.ts.map +1 -0
- package/dist/website/components/elementTypes/TextWithPhoto.js +28 -0
- package/dist/website/components/elementTypes/TextWithPhoto.js.map +1 -0
- package/dist/website/components/elementTypes/VideoElement.d.ts +7 -0
- package/dist/website/components/elementTypes/VideoElement.d.ts.map +1 -0
- package/dist/website/components/elementTypes/VideoElement.js +9 -0
- package/dist/website/components/elementTypes/VideoElement.js.map +1 -0
- package/dist/website/components/elementTypes/WhiteSpaceElement.d.ts +8 -0
- package/dist/website/components/elementTypes/WhiteSpaceElement.d.ts.map +1 -0
- package/dist/website/components/elementTypes/WhiteSpaceElement.js +8 -0
- package/dist/website/components/elementTypes/WhiteSpaceElement.js.map +1 -0
- package/dist/website/components/elementTypes/index.d.ts +25 -0
- package/dist/website/components/elementTypes/index.d.ts.map +1 -0
- package/dist/website/components/elementTypes/index.js +25 -0
- package/dist/website/components/elementTypes/index.js.map +1 -0
- package/dist/website/components/eventCalendar/DisplayEventModal.d.ts +11 -0
- package/dist/website/components/eventCalendar/DisplayEventModal.d.ts.map +1 -0
- package/dist/website/components/eventCalendar/DisplayEventModal.js +37 -0
- package/dist/website/components/eventCalendar/DisplayEventModal.js.map +1 -0
- package/dist/website/components/eventCalendar/EditEventModal.d.ts +9 -0
- package/dist/website/components/eventCalendar/EditEventModal.d.ts.map +1 -0
- package/dist/website/components/eventCalendar/EditEventModal.js +133 -0
- package/dist/website/components/eventCalendar/EditEventModal.js.map +1 -0
- package/dist/website/components/eventCalendar/EditRecurringModal.d.ts +8 -0
- package/dist/website/components/eventCalendar/EditRecurringModal.d.ts.map +1 -0
- package/dist/website/components/eventCalendar/EditRecurringModal.js +12 -0
- package/dist/website/components/eventCalendar/EditRecurringModal.js.map +1 -0
- package/dist/website/components/eventCalendar/EventCalendar.d.ts +11 -0
- package/dist/website/components/eventCalendar/EventCalendar.d.ts.map +1 -0
- package/dist/website/components/eventCalendar/EventCalendar.js +91 -0
- package/dist/website/components/eventCalendar/EventCalendar.js.map +1 -0
- package/dist/website/components/eventCalendar/GroupCalendar.d.ts +9 -0
- package/dist/website/components/eventCalendar/GroupCalendar.d.ts.map +1 -0
- package/dist/website/components/eventCalendar/GroupCalendar.js +22 -0
- package/dist/website/components/eventCalendar/GroupCalendar.js.map +1 -0
- package/dist/website/components/eventCalendar/RRuleEditor.d.ts +9 -0
- package/dist/website/components/eventCalendar/RRuleEditor.d.ts.map +1 -0
- package/dist/website/components/eventCalendar/RRuleEditor.js +147 -0
- package/dist/website/components/eventCalendar/RRuleEditor.js.map +1 -0
- package/dist/website/components/eventCalendar/index.d.ts +7 -0
- package/dist/website/components/eventCalendar/index.d.ts.map +1 -0
- package/dist/website/components/eventCalendar/index.js +7 -0
- package/dist/website/components/eventCalendar/index.js.map +1 -0
- package/dist/website/components/groups/GroupCard.d.ts +7 -0
- package/dist/website/components/groups/GroupCard.d.ts.map +1 -0
- package/dist/website/components/groups/GroupCard.js +43 -0
- package/dist/website/components/groups/GroupCard.js.map +1 -0
- package/dist/website/components/groups/GroupList.d.ts +7 -0
- package/dist/website/components/groups/GroupList.d.ts.map +1 -0
- package/dist/website/components/groups/GroupList.js +26 -0
- package/dist/website/components/groups/GroupList.js.map +1 -0
- package/dist/website/components/index.d.ts +9 -0
- package/dist/website/components/index.d.ts.map +1 -0
- package/dist/website/components/index.js +9 -0
- package/dist/website/components/index.js.map +1 -0
- package/dist/website/components/video/LiveStream.d.ts +12 -0
- package/dist/website/components/video/LiveStream.d.ts.map +1 -0
- package/dist/website/components/video/LiveStream.js +44 -0
- package/dist/website/components/video/LiveStream.js.map +1 -0
- package/dist/website/components/video/VideoContainer.d.ts +11 -0
- package/dist/website/components/video/VideoContainer.d.ts.map +1 -0
- package/dist/website/components/video/VideoContainer.js +118 -0
- package/dist/website/components/video/VideoContainer.js.map +1 -0
- package/dist/website/helpers/AnimationHelper.d.ts +8 -0
- package/dist/website/helpers/AnimationHelper.d.ts.map +1 -0
- package/dist/website/helpers/AnimationHelper.js +46 -0
- package/dist/website/helpers/AnimationHelper.js.map +1 -0
- package/dist/website/helpers/EnvironmentHelper.d.ts +10 -0
- package/dist/website/helpers/EnvironmentHelper.d.ts.map +1 -0
- package/dist/website/helpers/EnvironmentHelper.js +43 -0
- package/dist/website/helpers/EnvironmentHelper.js.map +1 -0
- package/dist/website/helpers/StreamingServiceHelper.d.ts +13 -0
- package/dist/website/helpers/StreamingServiceHelper.d.ts.map +1 -0
- package/dist/website/helpers/StreamingServiceHelper.js +64 -0
- package/dist/website/helpers/StreamingServiceHelper.js.map +1 -0
- package/dist/website/helpers/StyleHelper.d.ts +23 -0
- package/dist/website/helpers/StyleHelper.d.ts.map +1 -0
- package/dist/website/helpers/StyleHelper.js +171 -0
- package/dist/website/helpers/StyleHelper.js.map +1 -0
- package/dist/website/helpers/index.d.ts +36 -0
- package/dist/website/helpers/index.d.ts.map +1 -0
- package/dist/website/helpers/index.js +6 -0
- package/dist/website/helpers/index.js.map +1 -0
- package/dist/website/helpers/interfaces.d.ts +58 -0
- package/dist/website/helpers/interfaces.d.ts.map +1 -0
- package/dist/website/helpers/interfaces.js +2 -0
- package/dist/website/helpers/interfaces.js.map +1 -0
- package/dist/website/index.d.ts +3 -0
- package/dist/website/index.d.ts.map +1 -0
- package/dist/website/index.js +3 -0
- package/dist/website/index.js.map +1 -0
- package/dist/website/styles/animations.css +65 -0
- package/dist/website/styles/pages.css +797 -0
- package/package.json +157 -109
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-arrow-clockwise" viewBox="0 0 16 16">
|
|
2
|
+
<path fill-rule="evenodd" d="M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2v1z"/>
|
|
3
|
+
<path d="M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466z"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-arrow-counterclockwise" viewBox="0 0 16 16">
|
|
2
|
+
<path fill-rule="evenodd" d="M8 3a5 5 0 1 1-4.546 2.914.5.5 0 0 0-.908-.417A6 6 0 1 0 8 2v1z"/>
|
|
3
|
+
<path d="M8 4.466V.534a.25.25 0 0 0-.41-.192L5.23 2.308a.25.25 0 0 0 0 .384l2.36 1.966A.25.25 0 0 0 8 4.466z"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chat-square-quote" viewBox="0 0 16 16">
|
|
2
|
+
<path d="M14 1a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1h-2.5a2 2 0 0 0-1.6.8L8 14.333 6.1 11.8a2 2 0 0 0-1.6-.8H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h12zM2 0a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h2.5a1 1 0 0 1 .8.4l1.9 2.533a1 1 0 0 0 1.6 0l1.9-2.533a1 1 0 0 1 .8-.4H14a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/>
|
|
3
|
+
<path d="M7.066 4.76A1.665 1.665 0 0 0 4 5.668a1.667 1.667 0 0 0 2.561 1.406c-.131.389-.375.804-.777 1.22a.417.417 0 1 0 .6.58c1.486-1.54 1.293-3.214.682-4.112zm4 0A1.665 1.665 0 0 0 8 5.668a1.667 1.667 0 0 0 2.561 1.406c-.131.389-.375.804-.777 1.22a.417.417 0 1 0 .6.58c1.486-1.54 1.293-3.214.682-4.112z"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-down" viewBox="0 0 16 16">
|
|
2
|
+
<path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-code" viewBox="0 0 16 16">
|
|
2
|
+
<path d="M5.854 4.854a.5.5 0 1 0-.708-.708l-3.5 3.5a.5.5 0 0 0 0 .708l3.5 3.5a.5.5 0 0 0 .708-.708L2.707 8l3.147-3.146zm4.292 0a.5.5 0 0 1 .708-.708l3.5 3.5a.5.5 0 0 1 0 .708l-3.5 3.5a.5.5 0 0 1-.708-.708L13.293 8l-3.147-3.146z"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-journal-code" viewBox="0 0 16 16">
|
|
2
|
+
<path fill-rule="evenodd" d="M8.646 5.646a.5.5 0 0 1 .708 0l2 2a.5.5 0 0 1 0 .708l-2 2a.5.5 0 0 1-.708-.708L10.293 8 8.646 6.354a.5.5 0 0 1 0-.708zm-1.292 0a.5.5 0 0 0-.708 0l-2 2a.5.5 0 0 0 0 .708l2 2a.5.5 0 0 0 .708-.708L5.707 8l1.647-1.646a.5.5 0 0 0 0-.708z"/>
|
|
3
|
+
<path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-1H1zm0 3v-.5a.5.5 0 0 1 1 0v.5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1z"/>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-justify" viewBox="0 0 16 16">
|
|
2
|
+
<path fill-rule="evenodd" d="M2 12.5a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5z"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-link" viewBox="0 0 16 16">
|
|
2
|
+
<path d="M6.354 5.5H4a3 3 0 0 0 0 6h3a3 3 0 0 0 2.83-4H9c-.086 0-.17.01-.25.031A2 2 0 0 1 7 10.5H4a2 2 0 1 1 0-4h1.535c.218-.376.495-.714.82-1z"/>
|
|
3
|
+
<path d="M9 5.5a3 3 0 0 0-2.83 4h1.098A2 2 0 0 1 9 6.5h3a2 2 0 1 1 0 4h-1.535a4.02 4.02 0 0 1-.82 1H12a3 3 0 1 0 0-6H9z"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-list-ol" viewBox="0 0 16 16">
|
|
2
|
+
<path fill-rule="evenodd" d="M5 11.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5z"/>
|
|
3
|
+
<path d="M1.713 11.865v-.474H2c.217 0 .363-.137.363-.317 0-.185-.158-.31-.361-.31-.223 0-.367.152-.373.31h-.59c.016-.467.373-.787.986-.787.588-.002.954.291.957.703a.595.595 0 0 1-.492.594v.033a.615.615 0 0 1 .569.631c.003.533-.502.8-1.051.8-.656 0-1-.37-1.008-.794h.582c.008.178.186.306.422.309.254 0 .424-.145.422-.35-.002-.195-.155-.348-.414-.348h-.3zm-.004-4.699h-.604v-.035c0-.408.295-.844.958-.844.583 0 .96.326.96.756 0 .389-.257.617-.476.848l-.537.572v.03h1.054V9H1.143v-.395l.957-.99c.138-.142.293-.304.293-.508 0-.18-.147-.32-.342-.32a.33.33 0 0 0-.342.338v.041zM2.564 5h-.635V2.924h-.031l-.598.42v-.567l.629-.443h.635V5z"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-list-ul" viewBox="0 0 16 16">
|
|
2
|
+
<path fill-rule="evenodd" d="M5 11.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm-3 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm0 4a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm0 4a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-pencil-fill" viewBox="0 0 16 16">
|
|
2
|
+
<path d="M12.854.146a.5.5 0 0 0-.707 0L10.5 1.793 14.207 5.5l1.647-1.646a.5.5 0 0 0 0-.708l-3-3zm.646 6.061L9.793 2.5 3.293 9H3.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.207l6.5-6.5zm-7.468 7.468A.5.5 0 0 1 6 13.5V13h-.5a.5.5 0 0 1-.5-.5V12h-.5a.5.5 0 0 1-.5-.5V11h-.5a.5.5 0 0 1-.5-.5V10h-.5a.499.499 0 0 1-.175-.032l-.179.178a.5.5 0 0 0-.11.168l-2 5a.5.5 0 0 0 .65.65l5-2a.5.5 0 0 0 .168-.11l.178-.178z"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-text-center" viewBox="0 0 16 16">
|
|
2
|
+
<path fill-rule="evenodd" d="M4 12.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm-2-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm2-3a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm-2-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5z"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-text-left" viewBox="0 0 16 16">
|
|
2
|
+
<path fill-rule="evenodd" d="M2 12.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5z"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-text-paragraph" viewBox="0 0 16 16">
|
|
2
|
+
<path fill-rule="evenodd" d="M2 12.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm4-3a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5z"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-text-right" viewBox="0 0 16 16">
|
|
2
|
+
<path fill-rule="evenodd" d="M6 12.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm-4-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm4-3a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm-4-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5z"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-type-bold" viewBox="0 0 16 16">
|
|
2
|
+
<path d="M8.21 13c2.106 0 3.412-1.087 3.412-2.823 0-1.306-.984-2.283-2.324-2.386v-.055a2.176 2.176 0 0 0 1.852-2.14c0-1.51-1.162-2.46-3.014-2.46H3.843V13H8.21zM5.908 4.674h1.696c.963 0 1.517.451 1.517 1.244 0 .834-.629 1.32-1.73 1.32H5.908V4.673zm0 6.788V8.598h1.73c1.217 0 1.88.492 1.88 1.415 0 .943-.643 1.449-1.832 1.449H5.907z"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-type-h1" viewBox="0 0 16 16">
|
|
2
|
+
<path d="M8.637 13V3.669H7.379V7.62H2.758V3.67H1.5V13h1.258V8.728h4.62V13h1.259zm5.329 0V3.669h-1.244L10.5 5.316v1.265l2.16-1.565h.062V13h1.244z"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-type-h2" viewBox="0 0 16 16">
|
|
2
|
+
<path d="M7.638 13V3.669H6.38V7.62H1.759V3.67H.5V13h1.258V8.728h4.62V13h1.259zm3.022-6.733v-.048c0-.889.63-1.668 1.716-1.668.957 0 1.675.608 1.675 1.572 0 .855-.554 1.504-1.067 2.085l-3.513 3.999V13H15.5v-1.094h-4.245v-.075l2.481-2.844c.875-.998 1.586-1.784 1.586-2.953 0-1.463-1.155-2.556-2.919-2.556-1.941 0-2.966 1.326-2.966 2.74v.049h1.223z"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-type-h3" viewBox="0 0 16 16">
|
|
2
|
+
<path d="M7.637 13V3.669H6.379V7.62H1.758V3.67H.5V13h1.258V8.728h4.62V13h1.259zm3.625-4.272h1.018c1.142 0 1.935.67 1.949 1.674.013 1.005-.78 1.737-2.01 1.73-1.08-.007-1.853-.588-1.935-1.32H9.108c.069 1.327 1.224 2.386 3.083 2.386 1.935 0 3.343-1.155 3.309-2.789-.027-1.51-1.251-2.16-2.037-2.249v-.068c.704-.123 1.764-.91 1.723-2.229-.035-1.353-1.176-2.4-2.954-2.385-1.873.006-2.857 1.162-2.898 2.358h1.196c.062-.69.711-1.299 1.696-1.299.998 0 1.695.622 1.695 1.525.007.922-.718 1.592-1.695 1.592h-.964v1.074z"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<svg width="800px" height="800px" viewBox="0 0 24 24"
|
|
3
|
+
xmlns="http://www.w3.org/2000/svg">
|
|
4
|
+
|
|
5
|
+
<rect x="0" fill="none" width="24" height="24"/>
|
|
6
|
+
|
|
7
|
+
<g>
|
|
8
|
+
|
|
9
|
+
<path d="M11 17H9v-4H5v4H3V7h2v4h4V7h2v10zm10-2h-1v2h-2v-2h-5v-2l4.05-6H20v6h1v2zm-3-2V9l-2.79 4H18z"/>
|
|
10
|
+
|
|
11
|
+
</g>
|
|
12
|
+
|
|
13
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-type-italic" viewBox="0 0 16 16">
|
|
2
|
+
<path d="M7.991 11.674 9.53 4.455c.123-.595.246-.71 1.347-.807l.11-.52H7.211l-.11.52c1.06.096 1.128.212 1.005.807L6.57 11.674c-.123.595-.246.71-1.346.806l-.11.52h3.774l.11-.52c-1.06-.095-1.129-.211-1.006-.806z"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-type-strikethrough" viewBox="0 0 16 16">
|
|
2
|
+
<path d="M6.333 5.686c0 .31.083.581.27.814H5.166a2.776 2.776 0 0 1-.099-.76c0-1.627 1.436-2.768 3.48-2.768 1.969 0 3.39 1.175 3.445 2.85h-1.23c-.11-1.08-.964-1.743-2.25-1.743-1.23 0-2.18.602-2.18 1.607zm2.194 7.478c-2.153 0-3.589-1.107-3.705-2.81h1.23c.144 1.06 1.129 1.703 2.544 1.703 1.34 0 2.31-.705 2.31-1.675 0-.827-.547-1.374-1.914-1.675L8.046 8.5H1v-1h14v1h-3.504c.468.437.675.994.675 1.697 0 1.826-1.436 2.967-3.644 2.967z"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-type-underline" viewBox="0 0 16 16">
|
|
2
|
+
<path d="M5.313 3.136h-1.23V9.54c0 2.105 1.47 3.623 3.917 3.623s3.917-1.518 3.917-3.623V3.136h-1.23v6.323c0 1.49-.978 2.57-2.687 2.57-1.709 0-2.687-1.08-2.687-2.57V3.136zM12.5 15h-9v-1h9v1z"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/markdown/components/markdownEditor/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/markdown/components/markdownEditor/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AutoLinkPlugin.d.ts","sourceRoot":"","sources":["../../../../../src/markdown/components/markdownEditor/plugins/AutoLinkPlugin.tsx"],"names":[],"mappings":"AAgCA,wBAAgB,oBAAoB,4CAEnC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { AutoLinkPlugin } from "@lexical/react/LexicalAutoLinkPlugin";
|
|
3
|
+
const URL_MATCHER = /((https?:\/\/(www\.)?)|(www\.))[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_+.~#?&//=]*)/;
|
|
4
|
+
const EMAIL_MATCHER = /(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))/;
|
|
5
|
+
const MATCHERS = [
|
|
6
|
+
(text) => {
|
|
7
|
+
const match = URL_MATCHER.exec(text);
|
|
8
|
+
return (match && {
|
|
9
|
+
index: match.index,
|
|
10
|
+
length: match[0].length,
|
|
11
|
+
text: match[0],
|
|
12
|
+
url: match[0]
|
|
13
|
+
});
|
|
14
|
+
},
|
|
15
|
+
(text) => {
|
|
16
|
+
const match = EMAIL_MATCHER.exec(text);
|
|
17
|
+
return (match && {
|
|
18
|
+
index: match.index,
|
|
19
|
+
length: match[0].length,
|
|
20
|
+
text: match[0],
|
|
21
|
+
url: `mailto:${match[0]}`
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
];
|
|
25
|
+
export function CustomAutoLinkPlugin() {
|
|
26
|
+
return _jsx(AutoLinkPlugin, { matchers: MATCHERS });
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=AutoLinkPlugin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AutoLinkPlugin.js","sourceRoot":"","sources":["../../../../../src/markdown/components/markdownEditor/plugins/AutoLinkPlugin.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AAGtE,MAAM,WAAW,GAAG,iHAAiH,CAAC;AAEtI,MAAM,aAAa,GAAG,qJAAqJ,CAAC;AAE5K,MAAM,QAAQ,GAAG;IACf,CAAC,IAAS,EAAE,EAAE;QACZ,MAAM,KAAK,GAAG,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACrC,OAAO,CACL,KAAK,IAAI;YACP,KAAK,EAAE,KAAK,CAAC,KAAK;YAClB,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM;YACvB,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC;YACd,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC;SACd,CACF,CAAC;IACJ,CAAC;IACD,CAAC,IAAS,EAAE,EAAE;QACZ,MAAM,KAAK,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACvC,OAAO,CACL,KAAK,IAAI;YACP,KAAK,EAAE,KAAK,CAAC,KAAK;YAClB,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM;YACvB,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC;YACd,GAAG,EAAE,UAAU,KAAK,CAAC,CAAC,CAAC,EAAE;SAC1B,CACF,CAAC;IACJ,CAAC;CACF,CAAC;AAEF,MAAM,UAAU,oBAAoB;IAClC,OAAO,KAAC,cAAc,IAAC,QAAQ,EAAE,QAAQ,GAAI,CAAC;AAChD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ControlledEditorPlugin.d.ts","sourceRoot":"","sources":["../../../../../src/markdown/components/markdownEditor/plugins/ControlledEditorPlugin.tsx"],"names":[],"mappings":"AAKA,UAAU,KAAK;IACb,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,wBAAgB,sBAAsB,CAAC,EAAE,YAAY,EAAE,KAAK,EAAE,SAAiB,EAAE,EAAE,KAAK,GAAG,GAAG,CAY7F"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { useEffect } from "react";
|
|
2
|
+
import { useLexicalComposerContext } from "@lexical/react/LexicalComposerContext";
|
|
3
|
+
import { $convertFromMarkdownString } from "@lexical/markdown";
|
|
4
|
+
import { PLAYGROUND_TRANSFORMERS } from "./MarkdownTransformers";
|
|
5
|
+
export function ControlledEditorPlugin({ isFullscreen, value, isPreview = false }) {
|
|
6
|
+
const [editor] = useLexicalComposerContext();
|
|
7
|
+
useEffect(() => {
|
|
8
|
+
if (isFullscreen || isPreview) {
|
|
9
|
+
editor.update(() => {
|
|
10
|
+
$convertFromMarkdownString(value, PLAYGROUND_TRANSFORMERS);
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
}, [value]); //eslint-disable-line
|
|
14
|
+
return null;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=ControlledEditorPlugin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ControlledEditorPlugin.js","sourceRoot":"","sources":["../../../../../src/markdown/components/markdownEditor/plugins/ControlledEditorPlugin.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAClF,OAAO,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AAQjE,MAAM,UAAU,sBAAsB,CAAC,EAAE,YAAY,EAAE,KAAK,EAAE,SAAS,GAAG,KAAK,EAAS;IACtF,MAAM,CAAC,MAAM,CAAC,GAAG,yBAAyB,EAAE,CAAC;IAE7C,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,YAAY,IAAI,SAAS,EAAE,CAAC;YAC9B,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE;gBACjB,0BAA0B,CAAC,KAAK,EAAE,uBAAuB,CAAC,CAAC;YAC7D,CAAC,CAAC,CAAC;QACL,CAAC;IACH,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAA,CAAC,qBAAqB;IAEjC,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare const FloatingDivContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
3
|
+
export default function FloatingTextFormatToolbarPlugin({ anchorElem }: {
|
|
4
|
+
anchorElem?: HTMLElement;
|
|
5
|
+
}): React.ReactPortal;
|
|
6
|
+
//# sourceMappingURL=FloatingTextFormatToolbarPlugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FloatingTextFormatToolbarPlugin.d.ts","sourceRoot":"","sources":["../../../../../../src/markdown/components/markdownEditor/plugins/FloatingTextMenu/FloatingTextFormatToolbarPlugin.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAWxE,eAAO,MAAM,oBAAoB,+VAgB/B,CAAC;AA+YH,MAAM,CAAC,OAAO,UAAU,+BAA+B,CAAC,EAAE,UAA0B,EAAE;;CAAA,qBAGrF"}
|
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { $isCodeHighlightNode } from "@lexical/code";
|
|
3
|
+
import { $isLinkNode } from "@lexical/link";
|
|
4
|
+
import { useLexicalComposerContext } from "@lexical/react/LexicalComposerContext";
|
|
5
|
+
import { mergeRegister } from "@lexical/utils";
|
|
6
|
+
import { $convertToMarkdownString } from "@lexical/markdown";
|
|
7
|
+
import { $createParagraphNode, $getSelection, $isRangeSelection, $isTextNode, COMMAND_PRIORITY_LOW, FORMAT_TEXT_COMMAND, SELECTION_CHANGE_COMMAND } from "lexical";
|
|
8
|
+
import { $createHeadingNode, $isHeadingNode } from "@lexical/rich-text";
|
|
9
|
+
import { $wrapNodes } from "@lexical/selection";
|
|
10
|
+
import { useCallback, useEffect, useRef, useState } from "react";
|
|
11
|
+
import { createPortal } from "react-dom";
|
|
12
|
+
import { Box, IconButton, Icon, Select, MenuItem } from "@mui/material";
|
|
13
|
+
import { styled } from "@mui/material/styles";
|
|
14
|
+
import { getDOMRangeRect } from "./getDOMRangeRect";
|
|
15
|
+
import { getSelectedNode } from "./getSelectNode";
|
|
16
|
+
import { setFloatingElemPosition } from "./setFloatingElemPosition";
|
|
17
|
+
import { PLAYGROUND_TRANSFORMERS } from "../MarkdownTransformers";
|
|
18
|
+
import { ApiHelper } from "@churchapps/helpers";
|
|
19
|
+
export const FloatingDivContainer = styled(Box)({
|
|
20
|
+
display: "flex",
|
|
21
|
+
background: "#fff",
|
|
22
|
+
padding: 4,
|
|
23
|
+
verticalAlign: "middle",
|
|
24
|
+
position: "absolute",
|
|
25
|
+
top: 0,
|
|
26
|
+
left: 0,
|
|
27
|
+
zIndex: 1400,
|
|
28
|
+
opacity: 0,
|
|
29
|
+
backgroundColor: "#fff",
|
|
30
|
+
boxShadow: "0px 5px 10px rgba(0, 0, 0, 0.3)",
|
|
31
|
+
borderRadius: 8,
|
|
32
|
+
transition: "opacity 0.5s",
|
|
33
|
+
height: 35,
|
|
34
|
+
willChange: "transform"
|
|
35
|
+
});
|
|
36
|
+
function TextFormatFloatingToolbar({ editor, anchorElem, isLink, isBold, isItalic, isUnderline, isCode, isStrikethrough, isSubscript, isSuperscript, blockType, setBlockType }) {
|
|
37
|
+
const popupCharStylesEditorRef = useRef(null);
|
|
38
|
+
const applyFormatting = (command) => {
|
|
39
|
+
editor.dispatchCommand(FORMAT_TEXT_COMMAND, command);
|
|
40
|
+
saveChanges(editor);
|
|
41
|
+
};
|
|
42
|
+
function mouseMoveListener(e) {
|
|
43
|
+
if (popupCharStylesEditorRef?.current &&
|
|
44
|
+
(e.buttons === 1 || e.buttons === 3)) {
|
|
45
|
+
popupCharStylesEditorRef.current.style.pointerEvents = "none";
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
function mouseUpListener(e) {
|
|
49
|
+
if (popupCharStylesEditorRef?.current) {
|
|
50
|
+
popupCharStylesEditorRef.current.style.pointerEvents = "auto";
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
useEffect(() => {
|
|
54
|
+
if (popupCharStylesEditorRef?.current) {
|
|
55
|
+
document.addEventListener("mousemove", mouseMoveListener);
|
|
56
|
+
document.addEventListener("mouseup", mouseUpListener);
|
|
57
|
+
return () => {
|
|
58
|
+
document.removeEventListener("mousemove", mouseMoveListener);
|
|
59
|
+
document.removeEventListener("mouseup", mouseUpListener);
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
}, [popupCharStylesEditorRef]);
|
|
63
|
+
const updateTextFormatFloatingToolbar = useCallback(() => {
|
|
64
|
+
const selection = $getSelection();
|
|
65
|
+
const popupCharStylesEditorElem = popupCharStylesEditorRef.current;
|
|
66
|
+
const nativeSelection = window.getSelection();
|
|
67
|
+
if (popupCharStylesEditorElem === null) {
|
|
68
|
+
return;
|
|
69
|
+
}
|
|
70
|
+
const rootElement = editor.getRootElement();
|
|
71
|
+
if (selection !== null &&
|
|
72
|
+
nativeSelection !== null &&
|
|
73
|
+
!nativeSelection.isCollapsed &&
|
|
74
|
+
rootElement !== null &&
|
|
75
|
+
rootElement.contains(nativeSelection.anchorNode)) {
|
|
76
|
+
const rangeRect = getDOMRangeRect(nativeSelection, rootElement);
|
|
77
|
+
setFloatingElemPosition(rangeRect, popupCharStylesEditorElem, anchorElem);
|
|
78
|
+
}
|
|
79
|
+
}, [editor, anchorElem]);
|
|
80
|
+
useEffect(() => {
|
|
81
|
+
const scrollerElem = anchorElem.parentElement;
|
|
82
|
+
const update = () => {
|
|
83
|
+
editor.getEditorState().read(() => {
|
|
84
|
+
updateTextFormatFloatingToolbar();
|
|
85
|
+
});
|
|
86
|
+
};
|
|
87
|
+
window.addEventListener("resize", update);
|
|
88
|
+
if (scrollerElem) {
|
|
89
|
+
scrollerElem.addEventListener("scroll", update);
|
|
90
|
+
}
|
|
91
|
+
return () => {
|
|
92
|
+
window.removeEventListener("resize", update);
|
|
93
|
+
if (scrollerElem) {
|
|
94
|
+
scrollerElem.removeEventListener("scroll", update);
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
}, [editor, updateTextFormatFloatingToolbar, anchorElem]);
|
|
98
|
+
useEffect(() => {
|
|
99
|
+
editor.getEditorState().read(() => {
|
|
100
|
+
updateTextFormatFloatingToolbar();
|
|
101
|
+
});
|
|
102
|
+
return mergeRegister(editor.registerUpdateListener(({ editorState }) => {
|
|
103
|
+
editorState.read(() => {
|
|
104
|
+
updateTextFormatFloatingToolbar();
|
|
105
|
+
});
|
|
106
|
+
}), editor.registerCommand(SELECTION_CHANGE_COMMAND, () => {
|
|
107
|
+
updateTextFormatFloatingToolbar();
|
|
108
|
+
return false;
|
|
109
|
+
}, COMMAND_PRIORITY_LOW));
|
|
110
|
+
}, [editor, updateTextFormatFloatingToolbar]);
|
|
111
|
+
const formatBlock = (type) => {
|
|
112
|
+
editor.update(() => {
|
|
113
|
+
const selection = $getSelection();
|
|
114
|
+
if ($isRangeSelection(selection)) {
|
|
115
|
+
$wrapNodes(selection, () =>
|
|
116
|
+
//@ts-ignore
|
|
117
|
+
type === "paragraph" ? $createParagraphNode() : $createHeadingNode(type));
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
setBlockType(type);
|
|
121
|
+
saveChanges(editor);
|
|
122
|
+
};
|
|
123
|
+
return (_jsx(FloatingDivContainer, { ref: popupCharStylesEditorRef, children: _jsxs(_Fragment, { children: [_jsxs(Select, { value: blockType, onChange: (e) => formatBlock(e.target.value), sx: {
|
|
124
|
+
minWidth: 120,
|
|
125
|
+
backgroundColor: "#fff",
|
|
126
|
+
borderRadius: 2,
|
|
127
|
+
marginRight: 0.3
|
|
128
|
+
}, "aria-label": "Text format", children: [_jsx(MenuItem, { value: "paragraph", children: "Normal" }), _jsx(MenuItem, { value: "h1", children: "Heading 1" }), _jsx(MenuItem, { value: "h2", children: "Heading 2" }), _jsx(MenuItem, { value: "h3", children: "Heading 3" }), _jsx(MenuItem, { value: "h4", children: "Heading 4" })] }), _jsx(IconButton, { onClick: () => {
|
|
129
|
+
applyFormatting("bold");
|
|
130
|
+
}, sx: { backgroundColor: isBold ? "#e0e0e0" : undefined, borderRadius: 2, marginRight: 0.3 }, "aria-label": "Bold", children: _jsx(Icon, { children: "format_bold_outline" }) }), _jsx(IconButton, { onClick: () => {
|
|
131
|
+
applyFormatting("italic");
|
|
132
|
+
}, sx: { backgroundColor: isItalic ? "#e0e0e0" : undefined, borderRadius: 2, marginRight: 0.3 }, "aria-label": "Italic", children: _jsx(Icon, { children: "format_italic_outline" }) }), _jsx(IconButton, { onClick: () => {
|
|
133
|
+
applyFormatting("underline");
|
|
134
|
+
}, sx: { backgroundColor: isUnderline ? "#e0e0e0" : undefined, borderRadius: 2, marginRight: 0.3 }, "aria-label": "Underline", children: _jsx(Icon, { children: "format_underlined_outline" }) }), _jsx(IconButton, { onClick: () => {
|
|
135
|
+
applyFormatting("code");
|
|
136
|
+
}, sx: { backgroundColor: isCode ? "#e0e0e0" : undefined, borderRadius: 2, marginRight: 0.3 }, "aria-label": "Code", children: _jsx(Icon, { children: "code" }) })] }) }));
|
|
137
|
+
}
|
|
138
|
+
let lastFormattingState = {}; // Track last formatting state
|
|
139
|
+
//@ts-ignore
|
|
140
|
+
const getFormattingState = (selection) => {
|
|
141
|
+
const node = getSelectedNode(selection);
|
|
142
|
+
let blockType = "paragraph";
|
|
143
|
+
if ($isHeadingNode(node)) {
|
|
144
|
+
blockType = node.getTag(); // "h1", "h2", etc.
|
|
145
|
+
}
|
|
146
|
+
return {
|
|
147
|
+
isBold: selection.hasFormat("bold"),
|
|
148
|
+
isItalic: selection.hasFormat("italic"),
|
|
149
|
+
isUnderline: selection.hasFormat("underline"),
|
|
150
|
+
// isStrikethrough: selection.hasFormat("strikethrough"),
|
|
151
|
+
isCode: selection.hasFormat("code"),
|
|
152
|
+
blockType
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
const saveChanges = (editor) => {
|
|
156
|
+
editor.update(() => {
|
|
157
|
+
const selection = $getSelection();
|
|
158
|
+
if ($isRangeSelection(selection)) {
|
|
159
|
+
const newFormattingState = getFormattingState(selection); // Get current formatting
|
|
160
|
+
// Get the parent block node (ensuring it's not just a text node)
|
|
161
|
+
const node = getSelectedNode(selection);
|
|
162
|
+
const parentNode = node.getParent(); // Get the parent block-level node
|
|
163
|
+
let blockType = "paragraph";
|
|
164
|
+
if ($isHeadingNode(parentNode)) {
|
|
165
|
+
blockType = parentNode.getTag(); // Get heading type
|
|
166
|
+
}
|
|
167
|
+
else if ($isHeadingNode(node)) {
|
|
168
|
+
blockType = node.getTag();
|
|
169
|
+
}
|
|
170
|
+
//@ts-ignore
|
|
171
|
+
if (JSON.stringify(newFormattingState) !== JSON.stringify(lastFormattingState) || blockType !== lastFormattingState.blockType) {
|
|
172
|
+
lastFormattingState = { ...newFormattingState, blockType };
|
|
173
|
+
const editorNode = editor.getRootElement();
|
|
174
|
+
const elementJSON = editorNode?.dataset?.element;
|
|
175
|
+
if (elementJSON) {
|
|
176
|
+
const markdown = $convertToMarkdownString(PLAYGROUND_TRANSFORMERS);
|
|
177
|
+
const element = JSON.parse(elementJSON);
|
|
178
|
+
element.answers.text = markdown;
|
|
179
|
+
element.answersJSON = JSON.stringify(element.answers);
|
|
180
|
+
ApiHelper.post("/elements", [element], "ContentApi");
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
});
|
|
185
|
+
};
|
|
186
|
+
const updateFormattingState = (editor) => {
|
|
187
|
+
editor.update(() => {
|
|
188
|
+
const selection = $getSelection();
|
|
189
|
+
if ($isRangeSelection(selection)) {
|
|
190
|
+
lastFormattingState = getFormattingState(selection);
|
|
191
|
+
}
|
|
192
|
+
});
|
|
193
|
+
};
|
|
194
|
+
function useFloatingTextFormatToolbar(editor, anchorElem) {
|
|
195
|
+
const [isText, setIsText] = useState(false);
|
|
196
|
+
const [isLink, setIsLink] = useState(false);
|
|
197
|
+
const [isBold, setIsBold] = useState(false);
|
|
198
|
+
const [isItalic, setIsItalic] = useState(false);
|
|
199
|
+
const [isUnderline, setIsUnderline] = useState(false);
|
|
200
|
+
const [isStrikethrough, setIsStrikethrough] = useState(false);
|
|
201
|
+
const [isSubscript, setIsSubscript] = useState(false);
|
|
202
|
+
const [isSuperscript, setIsSuperscript] = useState(false);
|
|
203
|
+
const [isCode, setIsCode] = useState(false);
|
|
204
|
+
const [blockType, setBlockType] = useState("paragraph");
|
|
205
|
+
const updatePopup = useCallback(() => {
|
|
206
|
+
editor.getEditorState().read(() => {
|
|
207
|
+
// Should not to pop up the floating toolbar when using IME input
|
|
208
|
+
if (editor.isComposing()) {
|
|
209
|
+
return;
|
|
210
|
+
}
|
|
211
|
+
const selection = $getSelection();
|
|
212
|
+
const nativeSelection = window.getSelection();
|
|
213
|
+
const rootElement = editor.getRootElement();
|
|
214
|
+
if (nativeSelection !== null &&
|
|
215
|
+
(!$isRangeSelection(selection) ||
|
|
216
|
+
rootElement === null ||
|
|
217
|
+
!rootElement.contains(nativeSelection.anchorNode))) {
|
|
218
|
+
setIsText(false);
|
|
219
|
+
return;
|
|
220
|
+
}
|
|
221
|
+
if (!$isRangeSelection(selection)) {
|
|
222
|
+
return;
|
|
223
|
+
}
|
|
224
|
+
const node = getSelectedNode(selection);
|
|
225
|
+
// Update text format
|
|
226
|
+
setIsBold(selection.hasFormat("bold"));
|
|
227
|
+
setIsItalic(selection.hasFormat("italic"));
|
|
228
|
+
setIsUnderline(selection.hasFormat("underline"));
|
|
229
|
+
setIsStrikethrough(selection.hasFormat("strikethrough"));
|
|
230
|
+
setIsSubscript(selection.hasFormat("subscript"));
|
|
231
|
+
setIsSuperscript(selection.hasFormat("superscript"));
|
|
232
|
+
setIsCode(selection.hasFormat("code"));
|
|
233
|
+
// Update links
|
|
234
|
+
const parent = node.getParent();
|
|
235
|
+
if ($isLinkNode(parent) || $isLinkNode(node)) {
|
|
236
|
+
setIsLink(true);
|
|
237
|
+
}
|
|
238
|
+
else {
|
|
239
|
+
setIsLink(false);
|
|
240
|
+
}
|
|
241
|
+
if (!$isCodeHighlightNode(selection.anchor.getNode()) &&
|
|
242
|
+
selection.getTextContent() !== "") {
|
|
243
|
+
setIsText($isTextNode(node));
|
|
244
|
+
}
|
|
245
|
+
else {
|
|
246
|
+
setIsText(false);
|
|
247
|
+
}
|
|
248
|
+
const rawTextContent = selection.getTextContent().replace(/\n/g, "");
|
|
249
|
+
if (!selection.isCollapsed() && rawTextContent === "") {
|
|
250
|
+
setIsText(false);
|
|
251
|
+
return;
|
|
252
|
+
}
|
|
253
|
+
if ($isRangeSelection(selection)) {
|
|
254
|
+
const text = selection.getTextContent().trim();
|
|
255
|
+
if (text && JSON.stringify(lastFormattingState === "{}")) {
|
|
256
|
+
updateFormattingState(editor);
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
let type = "paragraph";
|
|
260
|
+
if ($isHeadingNode(parent)) {
|
|
261
|
+
type = parent.getTag();
|
|
262
|
+
}
|
|
263
|
+
else if ($isHeadingNode(node)) {
|
|
264
|
+
type = node.getTag();
|
|
265
|
+
}
|
|
266
|
+
setBlockType(type);
|
|
267
|
+
});
|
|
268
|
+
}, [editor]);
|
|
269
|
+
useEffect(() => {
|
|
270
|
+
document.addEventListener("selectionchange", updatePopup);
|
|
271
|
+
return () => {
|
|
272
|
+
document.removeEventListener("selectionchange", updatePopup);
|
|
273
|
+
};
|
|
274
|
+
}, [updatePopup]);
|
|
275
|
+
useEffect(() => {
|
|
276
|
+
return mergeRegister(editor.registerUpdateListener(() => {
|
|
277
|
+
updatePopup();
|
|
278
|
+
}), editor.registerCommand(SELECTION_CHANGE_COMMAND, () => {
|
|
279
|
+
updatePopup();
|
|
280
|
+
return false;
|
|
281
|
+
}, COMMAND_PRIORITY_LOW), editor.registerRootListener(() => {
|
|
282
|
+
if (editor.getRootElement() === null) {
|
|
283
|
+
setIsText(false);
|
|
284
|
+
}
|
|
285
|
+
}));
|
|
286
|
+
}, [editor, updatePopup]);
|
|
287
|
+
if (!isText || isLink) {
|
|
288
|
+
return null;
|
|
289
|
+
}
|
|
290
|
+
return createPortal(_jsx(TextFormatFloatingToolbar, { editor: editor, anchorElem: anchorElem, isLink: isLink, isBold: isBold, isItalic: isItalic, isStrikethrough: isStrikethrough, isSubscript: isSubscript, isSuperscript: isSuperscript, isUnderline: isUnderline, isCode: isCode, blockType: blockType, setBlockType: setBlockType }), anchorElem);
|
|
291
|
+
}
|
|
292
|
+
export default function FloatingTextFormatToolbarPlugin({ anchorElem = document.body }) {
|
|
293
|
+
const [editor] = useLexicalComposerContext();
|
|
294
|
+
return useFloatingTextFormatToolbar(editor, anchorElem);
|
|
295
|
+
}
|
|
296
|
+
//# sourceMappingURL=FloatingTextFormatToolbarPlugin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FloatingTextFormatToolbarPlugin.js","sourceRoot":"","sources":["../../../../../../src/markdown/components/markdownEditor/plugins/FloatingTextMenu/FloatingTextFormatToolbarPlugin.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,O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C;IAED,OAAO,YAAY,CACjB,KAAC,yBAAyB,IACxB,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,UAAU,EACtB,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ,EAClB,eAAe,EAAE,eAAe,EAChC,WAAW,EAAE,WAAW,EACxB,aAAa,EAAE,aAAa,EAC5B,WAAW,EAAE,WAAW,EACxB,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,SAAS,EACpB,YAAY,EAAE,YAAY,GAC1B,EACF,UAAU,CACX,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,OAAO,UAAU,+BAA+B,CAAC,EAAE,UAAU,GAAG,QAAQ,CAAC,IAAI,EAAE;IACpF,MAAM,CAAC,MAAM,CAAC,GAAG,yBAAyB,EAAE,CAAC;IAC7C,OAAO,4BAA4B,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;AAC1D,CAAC"}
|
package/dist/markdown/components/markdownEditor/plugins/FloatingTextMenu/getDOMRangeRect.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDOMRangeRect.d.ts","sourceRoot":"","sources":["../../../../../../src/markdown/components/markdownEditor/plugins/FloatingTextMenu/getDOMRangeRect.tsx"],"names":[],"mappings":"AAAA,wBAAgB,eAAe,CAAC,eAAe,EAAE,GAAG,EAAE,WAAW,EAAE,GAAG,OAgBrE"}
|