@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/htmlEditor/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/markdown/components/htmlEditor/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AutoLinkPlugin.d.ts","sourceRoot":"","sources":["../../../../../src/markdown/components/htmlEditor/plugins/AutoLinkPlugin.tsx"],"names":[],"mappings":"AAgCA,MAAM,CAAC,OAAO,UAAU,cAAc,4CAErC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { AutoLinkPlugin as LexicalAutoLinkPlugin } 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 default function AutoLinkPlugin() {
|
|
26
|
+
return _jsx(LexicalAutoLinkPlugin, { matchers: MATCHERS });
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=AutoLinkPlugin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AutoLinkPlugin.js","sourceRoot":"","sources":["../../../../../src/markdown/components/htmlEditor/plugins/AutoLinkPlugin.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,IAAI,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAG/F,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,CAAC,OAAO,UAAU,cAAc;IACpC,OAAO,KAAC,qBAAqB,IAAC,QAAQ,EAAE,QAAQ,GAAI,CAAC;AACvD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ControlledEditorPlugin.d.ts","sourceRoot":"","sources":["../../../../../src/markdown/components/htmlEditor/plugins/ControlledEditorPlugin.tsx"],"names":[],"mappings":"AAKA,UAAU,KAAK;IACb,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAAC,EAAE,KAAK,EAAE,EAAE,KAAK,OA4B9D"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { useEffect, useRef } from "react";
|
|
2
|
+
import { useLexicalComposerContext } from "@lexical/react/LexicalComposerContext";
|
|
3
|
+
import { $generateNodesFromDOM } from "@lexical/html";
|
|
4
|
+
import { $getRoot, $insertNodes } from "lexical";
|
|
5
|
+
export default function ControlledEditorPlugin({ value }) {
|
|
6
|
+
const [editor] = useLexicalComposerContext();
|
|
7
|
+
const isInitialized = useRef(false);
|
|
8
|
+
const lastValue = useRef(value);
|
|
9
|
+
useEffect(() => {
|
|
10
|
+
// Only update if this is the initial load or if the external value actually changed
|
|
11
|
+
// (not from internal editor changes)
|
|
12
|
+
if (!isInitialized.current || (value !== lastValue.current && value)) {
|
|
13
|
+
editor.update(() => {
|
|
14
|
+
const root = $getRoot();
|
|
15
|
+
// Only clear and set content on initial load or when external value changes
|
|
16
|
+
if (!isInitialized.current) {
|
|
17
|
+
root.clear();
|
|
18
|
+
const parser = new DOMParser();
|
|
19
|
+
const dom = parser.parseFromString(value, "text/html");
|
|
20
|
+
const nodes = $generateNodesFromDOM(editor, dom);
|
|
21
|
+
$insertNodes(nodes);
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
isInitialized.current = true;
|
|
25
|
+
lastValue.current = value;
|
|
26
|
+
}
|
|
27
|
+
}, [value, editor]);
|
|
28
|
+
return null;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=ControlledEditorPlugin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ControlledEditorPlugin.js","sourceRoot":"","sources":["../../../../../src/markdown/components/htmlEditor/plugins/ControlledEditorPlugin.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAClF,OAAO,EAAE,qB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
+
isLinkEditMode: boolean;
|
|
4
|
+
setIsLinkEditMode: (value: boolean) => void;
|
|
5
|
+
}
|
|
6
|
+
export default function FloatingLinkEditorPlugin({ anchorElem, isLinkEditMode, setIsLinkEditMode }: Props): import("react").ReactPortal;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=FloatingLinkEditorPlugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FloatingLinkEditorPlugin.d.ts","sourceRoot":"","sources":["../../../../../src/markdown/components/htmlEditor/plugins/FloatingLinkEditorPlugin.tsx"],"names":[],"mappings":"AAUA,UAAU,KAAK;IACb,UAAU,EAAE,WAAW,CAAC;IACxB,cAAc,EAAE,OAAO,CAAC;IACxB,iBAAiB,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CAC7C;AAED,MAAM,CAAC,OAAO,UAAU,wBAAwB,CAAC,EAAE,UAAU,EAAE,cAAc,EAAE,iBAAiB,EAAE,EAAE,KAAK,+BA6ZxG"}
|
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { useCallback, useEffect, useRef, useState } from "react";
|
|
3
|
+
import { $getSelection, $isRangeSelection, SELECTION_CHANGE_COMMAND, COMMAND_PRIORITY_LOW } from "lexical";
|
|
4
|
+
import { $isLinkNode } from "@lexical/link";
|
|
5
|
+
import { useLexicalComposerContext } from "@lexical/react/LexicalComposerContext";
|
|
6
|
+
import { mergeRegister } from "@lexical/utils";
|
|
7
|
+
import { createPortal } from "react-dom";
|
|
8
|
+
import { Box, TextField, FormControl, InputLabel, Select, MenuItem, Button, Checkbox, FormControlLabel, Typography, Divider } from "@mui/material";
|
|
9
|
+
import { Check, Link as LinkIcon } from "@mui/icons-material";
|
|
10
|
+
import { TOGGLE_CUSTOM_LINK_NODE_COMMAND } from "./customLink/CustomLinkNode";
|
|
11
|
+
export default function FloatingLinkEditorPlugin({ anchorElem, isLinkEditMode, setIsLinkEditMode }) {
|
|
12
|
+
const [editor] = useLexicalComposerContext();
|
|
13
|
+
const [linkUrl, setLinkUrl] = useState("https://");
|
|
14
|
+
const [classNamesList, setClassNamesList] = useState(["", "btn-primary", "btn-medium"]);
|
|
15
|
+
const [targetAttribute, setTargetAttribute] = useState("_self");
|
|
16
|
+
const [isEditingLink, setIsEditingLink] = useState(false);
|
|
17
|
+
const linkEditorRef = useRef(null);
|
|
18
|
+
const currentLinkNodeKey = useRef(null);
|
|
19
|
+
const updateLinkEditor = useCallback(() => {
|
|
20
|
+
// Don't update if we're already in link edit mode
|
|
21
|
+
if (isLinkEditMode) {
|
|
22
|
+
return;
|
|
23
|
+
}
|
|
24
|
+
const selection = $getSelection();
|
|
25
|
+
if ($isRangeSelection(selection)) {
|
|
26
|
+
const node = selection.anchor.getNode();
|
|
27
|
+
const parent = node.getParent();
|
|
28
|
+
if ($isLinkNode(parent)) {
|
|
29
|
+
setLinkUrl(parent.getURL());
|
|
30
|
+
setIsEditingLink(true);
|
|
31
|
+
}
|
|
32
|
+
else if ($isLinkNode(node)) {
|
|
33
|
+
setLinkUrl(node.getURL());
|
|
34
|
+
setIsEditingLink(true);
|
|
35
|
+
}
|
|
36
|
+
else {
|
|
37
|
+
setIsEditingLink(false);
|
|
38
|
+
setLinkUrl("https://");
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}, [isLinkEditMode]);
|
|
42
|
+
useEffect(() => {
|
|
43
|
+
const handleDoubleClick = (e) => {
|
|
44
|
+
const target = e.target;
|
|
45
|
+
if (target.tagName === "A" || target.closest("a")) {
|
|
46
|
+
e.preventDefault();
|
|
47
|
+
const linkElement = (target.tagName === "A" ? target : target.closest("a"));
|
|
48
|
+
editor.update(() => {
|
|
49
|
+
// Find the link node from the DOM element
|
|
50
|
+
const linkNodes = editor._editorState._nodeMap;
|
|
51
|
+
let foundLinkNode = null;
|
|
52
|
+
linkNodes.forEach((node) => {
|
|
53
|
+
if ($isLinkNode(node)) {
|
|
54
|
+
const domElement = editor.getElementByKey(node.__key);
|
|
55
|
+
if (domElement === linkElement) {
|
|
56
|
+
foundLinkNode = node;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
if (foundLinkNode) {
|
|
61
|
+
// Store the link node key for later use
|
|
62
|
+
currentLinkNodeKey.current = foundLinkNode.__key;
|
|
63
|
+
// Select the entire link node
|
|
64
|
+
foundLinkNode.select();
|
|
65
|
+
// Get link attributes
|
|
66
|
+
const url = foundLinkNode.getURL();
|
|
67
|
+
const target = foundLinkNode.getTarget();
|
|
68
|
+
// Extract class names from the DOM element
|
|
69
|
+
const classes = Array.from(linkElement.classList);
|
|
70
|
+
// Determine the proper class list structure
|
|
71
|
+
let newClassList = ["", "btn-primary", "btn-medium"];
|
|
72
|
+
if (classes.length > 0) {
|
|
73
|
+
// Check if it's a button by looking for btn class or btn-* classes
|
|
74
|
+
const hasBtn = classes.includes("btn");
|
|
75
|
+
const hasBtnBlock = classes.includes("btn-block");
|
|
76
|
+
// Look for appearance class (first position)
|
|
77
|
+
let appearanceClass = "";
|
|
78
|
+
if (hasBtn && hasBtnBlock) {
|
|
79
|
+
appearanceClass = "btn btn-block";
|
|
80
|
+
}
|
|
81
|
+
else if (hasBtn) {
|
|
82
|
+
appearanceClass = "btn";
|
|
83
|
+
}
|
|
84
|
+
// Look for variant class (second position)
|
|
85
|
+
const variantClass = classes.find(c => c.startsWith("btn-") &&
|
|
86
|
+
c !== "btn-block" &&
|
|
87
|
+
!c.match(/btn-(small|medium|large|xl|2x|3x|4x)$/i)) || "btn-primary";
|
|
88
|
+
// Look for size class (third position)
|
|
89
|
+
const sizeClass = classes.find(c => c.match(/btn-(small|medium|large|xl|2x|3x|4x)$/i)) || "btn-medium";
|
|
90
|
+
newClassList = [
|
|
91
|
+
appearanceClass,
|
|
92
|
+
variantClass,
|
|
93
|
+
sizeClass
|
|
94
|
+
];
|
|
95
|
+
}
|
|
96
|
+
setLinkUrl(url || "https://");
|
|
97
|
+
setTargetAttribute(target || "_self");
|
|
98
|
+
setClassNamesList(newClassList);
|
|
99
|
+
setIsLinkEditMode(true);
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
const rootElement = editor.getRootElement();
|
|
105
|
+
if (rootElement) {
|
|
106
|
+
rootElement.addEventListener("dblclick", handleDoubleClick);
|
|
107
|
+
}
|
|
108
|
+
return mergeRegister(editor.registerUpdateListener(({ editorState }) => {
|
|
109
|
+
editorState.read(() => {
|
|
110
|
+
updateLinkEditor();
|
|
111
|
+
});
|
|
112
|
+
}), editor.registerCommand(SELECTION_CHANGE_COMMAND, () => {
|
|
113
|
+
updateLinkEditor();
|
|
114
|
+
return false;
|
|
115
|
+
}, COMMAND_PRIORITY_LOW), () => {
|
|
116
|
+
if (rootElement) {
|
|
117
|
+
rootElement.removeEventListener("dblclick", handleDoubleClick);
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
}, [editor, updateLinkEditor, setIsLinkEditMode, setLinkUrl, setTargetAttribute, setClassNamesList]);
|
|
121
|
+
const handleLinkSubmit = () => {
|
|
122
|
+
const appearance = classNamesList[0];
|
|
123
|
+
const classes = [];
|
|
124
|
+
if (appearance && appearance.length > 0) {
|
|
125
|
+
classes.push(appearance);
|
|
126
|
+
classes.push(classNamesList[1]);
|
|
127
|
+
classes.push(classNamesList[2]);
|
|
128
|
+
}
|
|
129
|
+
// Update the specific link node directly using its stored key
|
|
130
|
+
if (currentLinkNodeKey.current) {
|
|
131
|
+
editor.update(() => {
|
|
132
|
+
const lexicalNode = editor._editorState._nodeMap.get(currentLinkNodeKey.current);
|
|
133
|
+
if (lexicalNode && $isLinkNode(lexicalNode)) {
|
|
134
|
+
// Get a writable version of the node
|
|
135
|
+
const writableNode = lexicalNode.getWritable();
|
|
136
|
+
// Update the node's properties using the writable node
|
|
137
|
+
writableNode.__url = linkUrl;
|
|
138
|
+
writableNode.__target = targetAttribute;
|
|
139
|
+
writableNode.__classNames = classes;
|
|
140
|
+
// Manually update the DOM element since updateDOM returns false
|
|
141
|
+
const domElement = editor.getElementByKey(currentLinkNodeKey.current);
|
|
142
|
+
if (domElement && domElement instanceof HTMLAnchorElement) {
|
|
143
|
+
domElement.href = linkUrl;
|
|
144
|
+
domElement.target = targetAttribute;
|
|
145
|
+
domElement.className = classes.join(" ");
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
else {
|
|
151
|
+
// Creating a new link - dispatch the command to wrap selected text
|
|
152
|
+
editor.dispatchCommand(TOGGLE_CUSTOM_LINK_NODE_COMMAND, {
|
|
153
|
+
url: linkUrl,
|
|
154
|
+
classNames: classes,
|
|
155
|
+
target: targetAttribute
|
|
156
|
+
});
|
|
157
|
+
}
|
|
158
|
+
setIsLinkEditMode(false);
|
|
159
|
+
setIsEditingLink(false);
|
|
160
|
+
currentLinkNodeKey.current = null;
|
|
161
|
+
};
|
|
162
|
+
const handleCancel = () => {
|
|
163
|
+
setIsLinkEditMode(false);
|
|
164
|
+
setIsEditingLink(false);
|
|
165
|
+
setLinkUrl("");
|
|
166
|
+
currentLinkNodeKey.current = null;
|
|
167
|
+
};
|
|
168
|
+
if (!isLinkEditMode)
|
|
169
|
+
return null;
|
|
170
|
+
const variants = [
|
|
171
|
+
"Light",
|
|
172
|
+
"Light Accent",
|
|
173
|
+
"Accent",
|
|
174
|
+
"Dark Accent",
|
|
175
|
+
"Dark",
|
|
176
|
+
"Transparent Light",
|
|
177
|
+
"Transparent Light Accent",
|
|
178
|
+
"Transparent Accent",
|
|
179
|
+
"Transparent Dark Accent",
|
|
180
|
+
"Transparent Dark",
|
|
181
|
+
"Primary",
|
|
182
|
+
"Secondary",
|
|
183
|
+
"Success",
|
|
184
|
+
"Danger",
|
|
185
|
+
"Warning",
|
|
186
|
+
"Info"
|
|
187
|
+
];
|
|
188
|
+
const sizes = ["Small", "Medium", "Large", "XL", "2X", "3X", "4X"];
|
|
189
|
+
let appearance = "link";
|
|
190
|
+
if (classNamesList[0]?.indexOf("btn") > -1)
|
|
191
|
+
appearance = "btn";
|
|
192
|
+
if (classNamesList[0]?.indexOf("btn-block") > -1)
|
|
193
|
+
appearance = "btn btn-block";
|
|
194
|
+
const getVariantKeyName = (variant) => {
|
|
195
|
+
const keyNameParts = variant.split(" ");
|
|
196
|
+
keyNameParts[0] = keyNameParts[0].toLowerCase();
|
|
197
|
+
return keyNameParts.join("");
|
|
198
|
+
};
|
|
199
|
+
const getVariantItems = () => {
|
|
200
|
+
const result = [];
|
|
201
|
+
variants.forEach((variant, idx) => {
|
|
202
|
+
result.push(_jsx(MenuItem, { value: "btn-" + getVariantKeyName(variant), children: variant }, appearance + " btn-" + getVariantKeyName(variant)));
|
|
203
|
+
if (idx === 4 || idx === 9)
|
|
204
|
+
result.push(_jsx(MenuItem, { disabled: true, children: "\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500" }));
|
|
205
|
+
});
|
|
206
|
+
return result;
|
|
207
|
+
};
|
|
208
|
+
return createPortal(_jsxs(_Fragment, { children: [_jsx(Box, { onClick: (e) => {
|
|
209
|
+
if (e.target === e.currentTarget) {
|
|
210
|
+
handleCancel();
|
|
211
|
+
}
|
|
212
|
+
}, sx: {
|
|
213
|
+
position: "fixed",
|
|
214
|
+
top: 0,
|
|
215
|
+
left: 0,
|
|
216
|
+
right: 0,
|
|
217
|
+
bottom: 0,
|
|
218
|
+
backgroundColor: "rgba(0, 0, 0, 0.5)",
|
|
219
|
+
zIndex: 1499
|
|
220
|
+
} }), _jsxs(Box, { ref: linkEditorRef, sx: {
|
|
221
|
+
position: "fixed",
|
|
222
|
+
top: "50%",
|
|
223
|
+
left: "50%",
|
|
224
|
+
transform: "translate(-50%, -50%)",
|
|
225
|
+
background: "#fff",
|
|
226
|
+
borderRadius: 2,
|
|
227
|
+
boxShadow: "0px 11px 15px -7px rgba(0,0,0,0.2), 0px 24px 38px 3px rgba(0,0,0,0.14), 0px 9px 46px 8px rgba(0,0,0,0.12)",
|
|
228
|
+
minWidth: 420,
|
|
229
|
+
maxWidth: 500,
|
|
230
|
+
zIndex: 1500
|
|
231
|
+
}, children: [_jsxs(Box, { sx: { p: 3, pb: 2 }, children: [_jsxs(Box, { sx: { display: "flex", alignItems: "center", gap: 1.5, mb: 2 }, children: [_jsx(LinkIcon, { color: "primary" }), _jsx(Typography, { variant: "h6", component: "h2", sx: { fontWeight: 600 }, children: "Edit Link" })] }), _jsxs(Box, { sx: { display: "flex", flexDirection: "column", gap: 2 }, children: [_jsx(TextField, { label: "URL", value: linkUrl, onChange: (e) => setLinkUrl(e.target.value), size: "small", fullWidth: true, placeholder: "https://example.com" }), _jsxs(FormControl, { fullWidth: true, size: "small", children: [_jsx(InputLabel, { children: "Appearance" }), _jsxs(Select, { name: "classNames", fullWidth: true, label: "Appearance", size: "small", value: appearance, onChange: (e) => {
|
|
232
|
+
let className = "";
|
|
233
|
+
if (e.target.value.toString() !== "link")
|
|
234
|
+
className = e.target.value.toString();
|
|
235
|
+
setClassNamesList([className, "btn-primary", "btn-medium"]);
|
|
236
|
+
}, MenuProps: {
|
|
237
|
+
slotProps: {
|
|
238
|
+
paper: { sx: { zIndex: 9999 } },
|
|
239
|
+
root: { sx: { zIndex: 9999 } }
|
|
240
|
+
},
|
|
241
|
+
style: { zIndex: 9999 }
|
|
242
|
+
}, children: [_jsx(MenuItem, { value: "link", children: "Standard Link" }), _jsx(MenuItem, { value: "btn", children: "Button" }), _jsx(MenuItem, { value: "btn btn-block", children: "Full Width Button" })] })] }), appearance !== "link" && (_jsxs(_Fragment, { children: [_jsxs(FormControl, { fullWidth: true, size: "small", children: [_jsx(InputLabel, { children: "Variant" }), _jsx(Select, { name: "classNames", fullWidth: true, label: "Variant", size: "small", value: classNamesList[1], onChange: (e) => {
|
|
243
|
+
const newArray = [...classNamesList];
|
|
244
|
+
let index = 0;
|
|
245
|
+
newArray.forEach((item, i) => {
|
|
246
|
+
variants.forEach((element) => {
|
|
247
|
+
if (item.includes(getVariantKeyName(element))) {
|
|
248
|
+
index = i;
|
|
249
|
+
}
|
|
250
|
+
});
|
|
251
|
+
});
|
|
252
|
+
newArray.splice(index, 1, e.target.value.toString());
|
|
253
|
+
setClassNamesList(newArray);
|
|
254
|
+
}, MenuProps: {
|
|
255
|
+
slotProps: {
|
|
256
|
+
paper: { sx: { zIndex: 9999 } },
|
|
257
|
+
root: { sx: { zIndex: 9999 } }
|
|
258
|
+
},
|
|
259
|
+
style: { zIndex: 9999 }
|
|
260
|
+
}, children: getVariantItems() })] }), _jsxs(FormControl, { fullWidth: true, size: "small", children: [_jsx(InputLabel, { children: "Size" }), _jsx(Select, { name: "classNames", fullWidth: true, label: "Size", size: "small", value: classNamesList[2], onChange: (e) => {
|
|
261
|
+
const newArray = [...classNamesList];
|
|
262
|
+
let index = 0;
|
|
263
|
+
newArray.forEach((item, i) => {
|
|
264
|
+
sizes.forEach((element) => {
|
|
265
|
+
if (item.includes(element.toLowerCase())) {
|
|
266
|
+
index = i;
|
|
267
|
+
}
|
|
268
|
+
});
|
|
269
|
+
});
|
|
270
|
+
newArray.splice(index, 1, e.target.value.toString());
|
|
271
|
+
setClassNamesList(newArray);
|
|
272
|
+
}, MenuProps: {
|
|
273
|
+
slotProps: {
|
|
274
|
+
paper: { sx: { zIndex: 9999 } },
|
|
275
|
+
root: { sx: { zIndex: 9999 } }
|
|
276
|
+
},
|
|
277
|
+
style: { zIndex: 9999 }
|
|
278
|
+
}, children: sizes.map((optionValue) => (_jsx(MenuItem, { value: "btn-" + optionValue.toLowerCase(), children: optionValue }, appearance + " btn-" + optionValue.toLowerCase()))) })] })] })), _jsx(FormControlLabel, { control: _jsx(Checkbox, { checked: targetAttribute === "_blank", onChange: () => setTargetAttribute((v) => (v === "_blank" ? "_self" : "_blank")), size: "small" }), label: "Open in new window", sx: { mt: -0.5 } })] })] }), _jsx(Divider, {}), _jsxs(Box, { sx: { display: "flex", justifyContent: "flex-end", gap: 1.5, p: 2 }, children: [_jsx(Button, { onClick: handleCancel, variant: "outlined", size: "medium", children: "Cancel" }), _jsx(Button, { onClick: handleLinkSubmit, variant: "contained", color: "primary", size: "medium", startIcon: _jsx(Check, {}), children: "Save" })] })] })] }), document.body);
|
|
279
|
+
}
|
|
280
|
+
//# sourceMappingURL=FloatingLinkEditorPlugin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FloatingLinkEditorPlugin.js","sourceRoot":"","sources":["../../../../../src/markdown/components/htmlEditor/plugins/FloatingLinkEditorPlugin.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjE,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAC3G,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAClF,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,gBAAgB,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACnJ,OAAO,EAAE,KAAK,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,+BAA+B,EAAE,MAAM,6BAA6B,CAAC;AAQ9E,MAAM,CAAC,OAAO,UAAU,wBAAwB,CAAC,EAAE,UAAU,EAAE,cAAc,EAAE,iBAAiB,EAAS;IACvG,MAAM,CAAC,MAAM,CAAC,GAAG,yBAAyB,EAAE,CA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
|
|
1
|
+
{"version":3,"file":"FloatingTextFormatToolbarPlugin.d.ts","sourceRoot":"","sources":["../../../../../src/markdown/components/htmlEditor/plugins/FloatingTextFormatToolbarPlugin.tsx"],"names":[],"mappings":"AA+QA,MAAM,CAAC,OAAO,UAAU,+BAA+B,CAAC,EAAE,UAAU,EAAE,EAAE;IAAE,UAAU,EAAE,WAAW,CAAA;CAAE,+BAGlG"}
|