@churchapps/apphelper 0.6.25 → 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/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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BoxElement.d.ts","sourceRoot":"","sources":["../../../../src/website/components/elementTypes/BoxElement.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAKnE,UAAU,KAAK;IAAG,OAAO,EAAE,gBAAgB,CAAC;IAAC,cAAc,EAAE,GAAG,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,gBAAgB,GAAG,IAAI,EAAE,OAAO,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;CAAE;AAE1L,wBAAgB,UAAU,CAAC,KAAK,EAAE,KAAK,2CAqEtC"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { DroppableArea } from "../admin/DroppableArea";
|
|
3
|
+
import { Element } from "../Element";
|
|
4
|
+
import { ApiHelper } from "../../..";
|
|
5
|
+
export function BoxElement(props) {
|
|
6
|
+
const handleDrop = (data, sort) => {
|
|
7
|
+
if (data.data) {
|
|
8
|
+
const e = data.data;
|
|
9
|
+
e.sort = sort;
|
|
10
|
+
e.parentId = props.element.id;
|
|
11
|
+
ApiHelper.post("/elements", [e], "ContentApi").then(() => { if (props.onMove)
|
|
12
|
+
props.onMove(); });
|
|
13
|
+
}
|
|
14
|
+
else {
|
|
15
|
+
const e = { sectionId: props.element.sectionId, elementType: data.elementType, sort, parentId: props.element.id, blockId: props.element.blockId };
|
|
16
|
+
if (props.onEdit)
|
|
17
|
+
props.onEdit(null, e);
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
const getAddElement = (s) => {
|
|
21
|
+
const sort = s;
|
|
22
|
+
return (_jsx(DroppableArea, { accept: ["element", "elementBlock"], text: "Drop here to add to box", onDrop: (data) => handleDrop(data, sort), dndDeps: props.element?.elements }, "addToBox"));
|
|
23
|
+
};
|
|
24
|
+
const getElements = () => {
|
|
25
|
+
const textColor = props.element.answers?.textColor || props.textColor;
|
|
26
|
+
const result = [];
|
|
27
|
+
if (props.onEdit)
|
|
28
|
+
result.push(getAddElement(1));
|
|
29
|
+
props.element.elements?.forEach(c => {
|
|
30
|
+
result.push(_jsx(Element, { element: c, onEdit: props.onEdit, churchSettings: props.churchSettings, textColor: textColor, parentId: props.element.id, onMove: props.onMove }, c.id));
|
|
31
|
+
});
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
const getStyle = () => {
|
|
35
|
+
let result = {};
|
|
36
|
+
if (props.element.answers?.background?.indexOf("/") > -1) {
|
|
37
|
+
result = { backgroundImage: "url('" + props.element.answers?.background + "')" };
|
|
38
|
+
}
|
|
39
|
+
else {
|
|
40
|
+
result = { background: props.element.answers?.background };
|
|
41
|
+
}
|
|
42
|
+
if (props.element.answers?.textColor?.startsWith("var("))
|
|
43
|
+
result.color = props.element.answers?.textColor;
|
|
44
|
+
result.padding = 15;
|
|
45
|
+
if (props.element.answers?.rounded === "true")
|
|
46
|
+
result.borderRadius = 15;
|
|
47
|
+
if (props.element.answers?.translucent === "true")
|
|
48
|
+
result.opacity = 0.9;
|
|
49
|
+
return result;
|
|
50
|
+
};
|
|
51
|
+
const getClass = () => {
|
|
52
|
+
let result = "elBox";
|
|
53
|
+
let hc = props.element.answers?.headingColor;
|
|
54
|
+
if (hc) {
|
|
55
|
+
hc = hc.replace("var(--", "").replace(")", "");
|
|
56
|
+
result += " headings" + hc[0].toUpperCase() + hc.slice(1);
|
|
57
|
+
}
|
|
58
|
+
let lc = props.element.answers?.linkColor;
|
|
59
|
+
if (lc) {
|
|
60
|
+
lc = lc.replace("var(--", "").replace(")", "");
|
|
61
|
+
result += " links" + lc[0].toUpperCase() + lc.slice(1);
|
|
62
|
+
}
|
|
63
|
+
return result;
|
|
64
|
+
};
|
|
65
|
+
const result = (_jsxs("div", { id: "el-" + props.element.id, style: getStyle(), className: getClass(), children: [props.onEdit && (!props.element.elements || props.element.elements?.length === 0) && _jsx("p", { children: "Box: Add elements" }), getElements()] }));
|
|
66
|
+
return result;
|
|
67
|
+
}
|
|
68
|
+
//# sourceMappingURL=BoxElement.js.map
|
|
@@ -0,0 +1 @@
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,GAAG,EAAE,EAAE,CAAC,CAAC;YAC/C,MAAM,IAAI,QAAQ,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QACzD,CAAC;QACD,OAAO,MAAM,CAAC;IAChB,CAAC,CAAC;IAEF,MAAM,MAAM,GAAG,CACb,eAAK,EAAE,EAAE,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,aACxE,KAAK,CAAC,MAAM,IAAI,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,EAAE,MAAM,KAAK,CAAC,CAAC,IAAI,4CAAwB,EAC7G,WAAW,EAAE,IACV,CACP,CAAC;IAEF,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonLink.d.ts","sourceRoot":"","sources":["../../../../src/website/components/elementTypes/ButtonLink.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEjD,UAAU,KAAK;IACb,OAAO,EAAE,gBAAgB,CAAC;CAC3B;AAED,wBAAgB,UAAU,CAAC,EAAE,OAAO,EAAE,EAAE,KAAK,2CAe5C"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Button } from "@mui/material";
|
|
3
|
+
export function ButtonLink({ element }) {
|
|
4
|
+
return (_jsx(Button, { href: element.answers?.buttonLinkUrl, variant: element.answers?.buttonLinkVariant || "contained", color: element.answers?.buttonLinkColor, target: element.answers?.external === "true" ? "_blank" : "_self", fullWidth: element.answers?.fullWidth === "true", id: "el-" + element.id, "data-testid": `button-link-${element.id}`, "aria-label": element.answers?.buttonLinkText || "Button link", children: element.answers?.buttonLinkText }));
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=ButtonLink.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonLink.js","sourceRoot":"","sources":["../../../../src/website/components/elementTypes/ButtonLink.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAOvC,MAAM,UAAU,UAAU,CAAC,EAAE,OAAO,EAAS;IAC3C,OAAO,CACL,KAAC,MAAM,IACL,IAAI,EAAE,OAAO,CAAC,OAAO,EAAE,aAAa,EACpC,OAAO,EAAE,OAAO,CAAC,OAAO,EAAE,iBAAiB,IAAI,WAAW,EAC1D,KAAK,EAAE,OAAO,CAAC,OAAO,EAAE,eAAe,EACvC,MAAM,EAAE,OAAO,CAAC,OAAO,EAAE,QAAQ,KAAK,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,EACjE,SAAS,EAAE,OAAO,CAAC,OAAO,EAAE,SAAS,KAAK,MAAM,EAChD,EAAE,EAAE,KAAK,GAAG,OAAO,CAAC,EAAE,iBACT,eAAe,OAAO,CAAC,EAAE,EAAE,gBAC5B,OAAO,CAAC,OAAO,EAAE,cAAc,IAAI,aAAa,YAE3D,OAAO,CAAC,OAAO,EAAE,cAAc,GACzB,CACV,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ElementInterface } from "../../helpers";
|
|
2
|
+
interface Props {
|
|
3
|
+
element: ElementInterface;
|
|
4
|
+
churchId: string;
|
|
5
|
+
/**
|
|
6
|
+
* Optional: Set to true to enable calendar editing capabilities.
|
|
7
|
+
* When used in authenticated contexts (e.g., admin panels), pass canEdit based on user permissions.
|
|
8
|
+
* When used in public websites, this should be false (default behavior).
|
|
9
|
+
*/
|
|
10
|
+
canEdit?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare const CalendarElement: ({ element, churchId, canEdit }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=CalendarElement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalendarElement.d.ts","sourceRoot":"","sources":["../../../../src/website/components/elementTypes/CalendarElement.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAIjD,UAAU,KAAK;IACb,OAAO,EAAE,gBAAgB,CAAC;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,eAAe,GAAI,gCAAwC,KAAK,4CA+B5E,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { GroupCalendar } from "../eventCalendar/GroupCalendar";
|
|
3
|
+
import { CuratedCalendar } from "../admin/calendar/CuratedCalendar";
|
|
4
|
+
export const CalendarElement = ({ element, churchId, canEdit = false }) => {
|
|
5
|
+
const calendarType = element.answers?.calendarType;
|
|
6
|
+
const calendarId = element.answers?.calendarId;
|
|
7
|
+
const renderCalendar = () => {
|
|
8
|
+
if (!calendarId) {
|
|
9
|
+
return (_jsx("div", { style: { textAlign: "center", padding: "20px" }, children: _jsx("p", { children: "No calendar selected. Please configure this element." }) }));
|
|
10
|
+
}
|
|
11
|
+
if (calendarType === "group") {
|
|
12
|
+
return _jsx(GroupCalendar, { churchId: churchId, groupId: calendarId, canEdit: canEdit });
|
|
13
|
+
}
|
|
14
|
+
else if (calendarType === "curated") {
|
|
15
|
+
return _jsx(CuratedCalendar, { churchId: churchId, curatedCalendarId: calendarId, mode: canEdit ? "edit" : "view" });
|
|
16
|
+
}
|
|
17
|
+
return (_jsx("div", { style: { textAlign: "center", padding: "20px" }, children: _jsxs("p", { children: ["Unknown calendar type: ", calendarType] }) }));
|
|
18
|
+
};
|
|
19
|
+
return (_jsx("div", { id: "el-" + element.id, style: { backgroundColor: "white", padding: 50, borderRadius: 15 }, children: renderCalendar() }));
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=CalendarElement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalendarElement.js","sourceRoot":"","sources":["../../../../src/website/components/elementTypes/CalendarElement.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAapE,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,GAAG,KAAK,EAAS,EAAE,EAAE;IAC/E,MAAM,YAAY,GAAG,OAAO,CAAC,OAAO,EAAE,YAAY,CAAC;IACnD,MAAM,UAAU,GAAG,OAAO,CAAC,OAAO,EAAE,UAAU,CAAC;IAE/C,MAAM,cAAc,GAAG,GAAG,EAAE;QAC1B,IAAI,CAAC,UAAU,EAAE,CAAC;YAChB,OAAO,CACL,cAAK,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,YAClD,+EAA2D,GACvD,CACP,CAAC;QACJ,CAAC;QAED,IAAI,YAAY,KAAK,OAAO,EAAE,CAAC;YAC7B,OAAO,KAAC,aAAa,IAAC,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAI,CAAC;QACtF,CAAC;aAAM,IAAI,YAAY,KAAK,SAAS,EAAE,CAAC;YACtC,OAAO,KAAC,eAAe,IAAC,QAAQ,EAAE,QAAQ,EAAE,iBAAiB,EAAE,UAAU,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,GAAI,CAAC;QACjH,CAAC;QAED,OAAO,CACL,cAAK,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,YAClD,mDAA2B,YAAY,IAAK,GACxC,CACP,CAAC;IACJ,CAAC,CAAC;IAEF,OAAO,CACL,cAAK,EAAE,EAAE,KAAK,GAAG,OAAO,CAAC,EAAE,EAAE,KAAK,EAAE,EAAE,eAAe,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,YAAY,EAAE,EAAE,EAAE,YAC5F,cAAc,EAAE,GACb,CACP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ElementInterface, SectionInterface } from "../../helpers";
|
|
3
|
+
interface Props {
|
|
4
|
+
element: ElementInterface;
|
|
5
|
+
onEdit?: (section: SectionInterface | null, element: ElementInterface) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const CardElement: React.FC<Props>;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=CardElement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardElement.d.ts","sourceRoot":"","sources":["../../../../src/website/components/elementTypes/CardElement.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAKnE,UAAU,KAAK;IAAG,OAAO,EAAE,gBAAgB,CAAC;IAAC,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,gBAAgB,GAAG,IAAI,EAAE,OAAO,EAAE,gBAAgB,KAAK,IAAI,CAAC;CAAE;AAE9H,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAiCvC,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { HtmlPreview } from "./HtmlPreview";
|
|
3
|
+
import { Card, CardContent } from "@mui/material";
|
|
4
|
+
export const CardElement = (props) => {
|
|
5
|
+
const textContent = props.element.answers?.text || "";
|
|
6
|
+
const textAlign = props.element.answers?.textAlignment;
|
|
7
|
+
// Create text component - use HtmlPreview for edit mode, HTML rendering for display
|
|
8
|
+
const textComponent = props.onEdit
|
|
9
|
+
? _jsx(HtmlPreview, { value: textContent, textAlign: textAlign, element: props.element, showFloatingEditor: true, onEdit: props.onEdit })
|
|
10
|
+
: _jsx("div", { style: { textAlign: textAlign }, dangerouslySetInnerHTML: { __html: textContent } });
|
|
11
|
+
let photoContent = _jsx(_Fragment, {});
|
|
12
|
+
if (props.element.answers?.photo) {
|
|
13
|
+
const photo = _jsx("img", { src: props.element.answers?.photo || "about:blank", alt: props.element.answers?.photoAlt || "", style: { borderRadius: 3 } });
|
|
14
|
+
if (props.element.answers?.url)
|
|
15
|
+
photoContent = (_jsx("a", { href: props.element.answers?.url, children: photo }));
|
|
16
|
+
else
|
|
17
|
+
photoContent = (photo);
|
|
18
|
+
}
|
|
19
|
+
const result = [];
|
|
20
|
+
if (props.element.answers?.title) {
|
|
21
|
+
const title = _jsx("h3", { style: { textAlign: props.element.answers?.titleAlignment || "center" }, children: props.element.answers?.title });
|
|
22
|
+
if (props.element.answers?.url)
|
|
23
|
+
result.push(_jsx("a", { href: props.element.answers?.url, children: title }, "title-link"));
|
|
24
|
+
else
|
|
25
|
+
result.push(_jsx("div", { children: title }, "title"));
|
|
26
|
+
}
|
|
27
|
+
if (props.element.answers?.text)
|
|
28
|
+
result.push(_jsx("div", { children: textComponent }, "text"));
|
|
29
|
+
return _jsxs(Card, { id: "el-" + props.element.id, children: [photoContent, _jsx(CardContent, { children: result })] });
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=CardElement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardElement.js","sourceRoot":"","sources":["../../../../src/website/components/elementTypes/CardElement.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,WAAW,EAAE,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M,GAAyB,EAAE,CAAC;IACxC,IAAI,KAAK,CAAC,OAAO,CAAC,OAAO,EAAE,KAAK,EAAE,CAAC;QACjC,MAAM,KAAK,GAAG,aAAI,KAAK,EAAE,EAAE,SAAS,EAAE,KAAK,CAAC,OAAO,CAAC,OAAO,EAAE,cAAc,IAAI,QAAQ,EAAE,YAAG,KAAK,CAAC,OAAO,CAAC,OAAO,EAAE,KAAK,GAAM,CAAC;QAC/H,IAAI,KAAK,CAAC,OAAO,CAAC,OAAO,EAAE,GAAG;YAAE,MAAM,CAAC,IAAI,CAAC,YAAG,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,OAAO,EAAE,GAAG,YAAoB,KAAK,IAAnB,YAAY,CAAY,CAAC,CAAC;;YAC1G,MAAM,CAAC,IAAI,CAAC,wBAAkB,KAAK,IAAd,OAAO,CAAc,CAAC,CAAC;IACnD,CAAC;IACD,IAAI,KAAK,CAAC,OAAO,CAAC,OAAO,EAAE,IAAI;QAAE,MAAM,CAAC,IAAI,CAAC,wBAAiB,aAAa,IAArB,MAAM,CAAsB,CAAC,CAAC;IAEpF,OAAO,MAAC,IAAI,IAAC,EAAE,EAAE,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC,EAAE,aACtC,YAAY,EACb,KAAC,WAAW,cACT,MAAM,GACK,IACT,CAAC;AACV,CAAC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ElementInterface, SectionInterface } from "../../helpers";
|
|
2
|
+
interface Props {
|
|
3
|
+
element: ElementInterface;
|
|
4
|
+
churchSettings: any;
|
|
5
|
+
textColor: string;
|
|
6
|
+
onEdit?: (section: SectionInterface | null, element: ElementInterface) => void;
|
|
7
|
+
onMove?: () => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const CarouselElement: ({ element, churchSettings, textColor, onEdit, onMove }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=CarouselElement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CarouselElement.d.ts","sourceRoot":"","sources":["../../../../src/website/components/elementTypes/CarouselElement.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAKnE,UAAU,KAAK;IACb,OAAO,EAAE,gBAAgB,CAAC;IAC1B,cAAc,EAAE,GAAG,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,gBAAgB,GAAG,IAAI,EAAE,OAAO,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAC/E,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB;AAKD,eAAO,MAAM,eAAe,GAAI,wDAAwD,KAAK,4CA6K5F,CAAC"}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useState, useEffect, useRef } from "react";
|
|
4
|
+
import { ApiHelper } from "../../..";
|
|
5
|
+
import { DroppableArea } from "../admin/DroppableArea";
|
|
6
|
+
import { Element } from "../Element";
|
|
7
|
+
// Module-level storage for carousel positions (persists across remounts)
|
|
8
|
+
const carouselPositions = new Map();
|
|
9
|
+
export const CarouselElement = ({ element, churchSettings, textColor, onEdit, onMove }) => {
|
|
10
|
+
// Initialize from stored position or default to 0
|
|
11
|
+
const [current, setCurrent] = useState(() => (element.id ? carouselPositions.get(element.id) : undefined) || 0);
|
|
12
|
+
// Persist position changes to the Map so they survive remounts
|
|
13
|
+
useEffect(() => {
|
|
14
|
+
if (element.id)
|
|
15
|
+
carouselPositions.set(element.id, current);
|
|
16
|
+
}, [element.id, current]);
|
|
17
|
+
const interval = (parseInt(element.answers.interval) || 4) * 1000;
|
|
18
|
+
const timerRef = useRef(null);
|
|
19
|
+
const fade = element.answers.animationOptions === "fade";
|
|
20
|
+
const autoPlay = element.answers.autoplay === "true" && !onEdit;
|
|
21
|
+
const length = element.elements?.length || 0;
|
|
22
|
+
const goTo = (idx) => setCurrent(idx);
|
|
23
|
+
const prev = () => setCurrent((prev) => (prev - 1 + length) % length);
|
|
24
|
+
const next = () => setCurrent((prev) => (prev + 1) % length);
|
|
25
|
+
const handleDrop = (data, sort, column) => {
|
|
26
|
+
if (data.data) {
|
|
27
|
+
const e = data.data;
|
|
28
|
+
e.sort = sort;
|
|
29
|
+
e.parentId = column.id;
|
|
30
|
+
ApiHelper.post("/elements", [e], "ContentApi").then(() => { if (onMove)
|
|
31
|
+
onMove(); });
|
|
32
|
+
}
|
|
33
|
+
else {
|
|
34
|
+
const e = { sectionId: element.sectionId, elementType: data.elementType, sort, parentId: column.id, blockId: element.blockId };
|
|
35
|
+
if (onEdit)
|
|
36
|
+
onEdit(null, e);
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
const getAddElement = (column, s) => {
|
|
40
|
+
const sort = s;
|
|
41
|
+
return (_jsx(DroppableArea, { accept: ["element", "elementBlock"], text: "Drop here to add slide", onDrop: (data) => handleDrop(data, sort, column), dndDeps: column }, "add" + column.id));
|
|
42
|
+
};
|
|
43
|
+
const getElements = (column, elements) => {
|
|
44
|
+
const result = [];
|
|
45
|
+
if (onEdit)
|
|
46
|
+
result.push(getAddElement(column, 1));
|
|
47
|
+
elements?.forEach((c) => {
|
|
48
|
+
result.push(_jsx(Element, { element: c, onEdit: onEdit, churchSettings: churchSettings, textColor: textColor, parentId: column.id, onMove: onMove }, c.id));
|
|
49
|
+
});
|
|
50
|
+
return result;
|
|
51
|
+
};
|
|
52
|
+
const getFadeSlides = () => (_jsx("div", { style: { position: "relative", width: "100%", height: "100%" }, children: element.elements && element.elements.map((c, idx) => (_jsx("div", { style: {
|
|
53
|
+
position: "absolute",
|
|
54
|
+
top: 0,
|
|
55
|
+
left: 0,
|
|
56
|
+
width: "100%",
|
|
57
|
+
height: "100%",
|
|
58
|
+
opacity: idx === current ? 1 : 0,
|
|
59
|
+
transition: "opacity 0.5s",
|
|
60
|
+
zIndex: idx === current ? 1 : 0
|
|
61
|
+
}, children: _jsx("div", { style: { height: "100%" }, children: getElements(c, c.elements || []) }) }, c.id))) }));
|
|
62
|
+
const getSlideAnimation = () => (_jsx("div", { style: {
|
|
63
|
+
display: "flex",
|
|
64
|
+
transition: "transform 0.5s",
|
|
65
|
+
transform: `translateX(-${current * 100}%)`,
|
|
66
|
+
height: "100%"
|
|
67
|
+
// width: `${length * 100}%`,
|
|
68
|
+
}, children: element.elements && element.elements.map((c) => (_jsx("div", { style: { flex: "0 0 100%", height: "100%" }, children: _jsx("div", { style: { height: "100%" }, children: getElements(c, c.elements || []) }) }, c.id))) }));
|
|
69
|
+
const getNavigation = () => (_jsxs(_Fragment, { children: [_jsx("div", { onClick: prev, style: {
|
|
70
|
+
position: "absolute",
|
|
71
|
+
left: 5,
|
|
72
|
+
top: "50%",
|
|
73
|
+
transform: "translateY(-50%)",
|
|
74
|
+
zIndex: 2,
|
|
75
|
+
backgroundColor: "#494949",
|
|
76
|
+
borderRadius: 20,
|
|
77
|
+
cursor: "pointer"
|
|
78
|
+
}, children: _jsx("div", { style: { padding: "8px 16px" }, children: "<" }) }), _jsx("div", { onClick: next, style: {
|
|
79
|
+
position: "absolute",
|
|
80
|
+
right: 5,
|
|
81
|
+
top: "50%",
|
|
82
|
+
transform: "translateY(-50%)",
|
|
83
|
+
zIndex: 2,
|
|
84
|
+
backgroundColor: "#494949",
|
|
85
|
+
borderRadius: 20,
|
|
86
|
+
cursor: "pointer"
|
|
87
|
+
}, children: _jsx("div", { style: { padding: "8px 16px" }, children: ">" }) }), _jsx("div", { style: {
|
|
88
|
+
position: "absolute",
|
|
89
|
+
bottom: 10,
|
|
90
|
+
left: "50%",
|
|
91
|
+
transform: "translateX(-50%)",
|
|
92
|
+
zIndex: 2
|
|
93
|
+
}, children: element.elements && element.elements.map((el, idx) => (_jsx("button", { onClick: () => goTo(idx), style: {
|
|
94
|
+
margin: 2,
|
|
95
|
+
width: 12,
|
|
96
|
+
height: 12,
|
|
97
|
+
borderRadius: "50%",
|
|
98
|
+
background: idx === current ? "#333" : "#ccc",
|
|
99
|
+
border: "none",
|
|
100
|
+
cursor: "pointer"
|
|
101
|
+
} }, el.id || `carousel-dot-${idx}`))) })] }));
|
|
102
|
+
useEffect(() => {
|
|
103
|
+
if (!autoPlay || length <= 1)
|
|
104
|
+
return;
|
|
105
|
+
timerRef.current = setInterval(() => {
|
|
106
|
+
setCurrent((prev) => (prev + 1) % length);
|
|
107
|
+
}, interval);
|
|
108
|
+
return () => {
|
|
109
|
+
if (timerRef.current)
|
|
110
|
+
clearInterval(timerRef.current);
|
|
111
|
+
};
|
|
112
|
+
}, [autoPlay, interval, length]);
|
|
113
|
+
return (_jsxs("div", { id: "el-" + element.id, style: {
|
|
114
|
+
margin: "0 auto",
|
|
115
|
+
height: parseInt(element.answers.height) || 250,
|
|
116
|
+
position: "relative",
|
|
117
|
+
overflow: "hidden"
|
|
118
|
+
}, children: [fade ? getFadeSlides() : getSlideAnimation(), length > 1 && getNavigation()] }));
|
|
119
|
+
};
|
|
120
|
+
//# sourceMappingURL=CarouselElement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CarouselElement.js","sourceRoot":"","sources":["../../../../src/website/components/elementTypes/CarouselElement.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE3D,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAUrC,yEAAyE;AACzE,MAAM,iBAAiB,GAAG,IAAI,GAAG,EAAkB,CAAC;AAEpD,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,EAAE,OAAO,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AQ,CAAC,OAAO,CAAC,CAAC;QACxD,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC;IAEjC,OAAO,CACL,eACE,EAAE,EAAE,KAAK,GAAG,OAAO,CAAC,EAAE,EACtB,KAAK,EAAE;YACL,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ,CAAC,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,GAAG;YAC/C,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,QAAQ;SACnB,aAEA,IAAI,CAAC,CAAC,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC,iBAAiB,EAAE,EAC5C,MAAM,GAAG,CAAC,IAAI,aAAa,EAAE,IAC1B,CACP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ElementInterface } from "../../helpers";
|
|
2
|
+
interface Props {
|
|
3
|
+
element: ElementInterface;
|
|
4
|
+
}
|
|
5
|
+
export declare function DonateLinkElement({ element }: Props): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=DonateLinkElement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DonateLinkElement.d.ts","sourceRoot":"","sources":["../../../../src/website/components/elementTypes/DonateLinkElement.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEjD,UAAU,KAAK;IACb,OAAO,EAAE,gBAAgB,CAAC;CAC3B;AAED,wBAAgB,iBAAiB,CAAC,EAAE,OAAO,EAAE,EAAE,KAAK,2CA4CnD"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Box, Button } from "@mui/material";
|
|
3
|
+
export function DonateLinkElement({ element }) {
|
|
4
|
+
let amounts = [];
|
|
5
|
+
if (element.answers?.amounts && element.answers.amounts.length > 0) {
|
|
6
|
+
try {
|
|
7
|
+
amounts = JSON.parse(element.answers.amounts);
|
|
8
|
+
}
|
|
9
|
+
catch (e) {
|
|
10
|
+
console.error("Failed to parse donation amounts JSON:", e);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
return (_jsx("div", { id: "el-" + element.id, "data-testid": `donate-link-element-${element.id}`, "aria-label": "Donation options", children: _jsxs(Box, { sx: { backgroundColor: "white", padding: "20px", borderRadius: "15px", marginBottom: "15px" }, children: [_jsx("h4", { style: { marginTop: 10, marginBottom: 15 }, children: element.answers?.text?.toUpperCase() || "DONATE NOW" }), amounts?.map((a) => (_jsxs(Button, { variant: "outlined", size: "small", sx: { minWidth: "70px", marginRight: "10px", marginTop: "5px", borderWidth: "2px", borderRadius: "10px", fontWeight: "bold" }, href: `${element.answers?.url}?amount=${a}&fundId=${element.answers?.fundId}`, target: "_blank", "data-testid": `donate-amount-${a}-button`, "aria-label": `Donate $${a}`, children: ["$ ", a] }, a))), _jsx(Button, { variant: "outlined", size: "small", sx: { marginTop: "5px", borderWidth: "2px", borderRadius: "10px", fontWeight: "bold" }, href: `${element.answers?.url}?fundId=${element.answers?.fundId}`, target: "_blank", "data-testid": "donate-other-amount-button", "aria-label": "Donate custom amount", children: "Other" })] }) }));
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=DonateLinkElement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DonateLinkElement.js","sourceRoot":"","sources":["../../../../src/website/components/elementTypes/DonateLinkElement.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAO5C,MAAM,UAAU,iBAAiB,CAAC,EAAE,OAAO,EAAS;IAClD,IAAI,OAAO,GAAa,EAAE,CAAC;IAC3B,IAAI,OAAO,CAAC,OAAO,EAAE,OAAO,IAAI,OAAO,CAAC,OAA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AM,IACL,OAAO,EAAC,UAAU,EAClB,IAAI,EAAC,OAAO,EACZ,EAAE,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,EACtF,IAAI,EAAE,GAAG,OAAO,CAAC,OAAO,EAAE,GAAG,WAAW,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,EACjE,MAAM,EAAC,QAAQ,iBACH,4BAA4B,gBAC7B,sBAAsB,sBAG1B,IACL,GACF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ElementInterface } from "../../helpers";
|
|
3
|
+
interface Props {
|
|
4
|
+
element: ElementInterface;
|
|
5
|
+
churchSettings: any;
|
|
6
|
+
textColor: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const ElementBlock: React.FC<Props>;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=ElementBlock.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElementBlock.d.ts","sourceRoot":"","sources":["../../../../src/website/components/elementTypes/ElementBlock.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAGjD,UAAU,KAAK;IACb,OAAO,EAAE,gBAAgB,CAAC;IAC1B,cAAc,EAAE,GAAG,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAcxC,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { Element } from "../Element";
|
|
3
|
+
export const ElementBlock = (props) => {
|
|
4
|
+
const getChildren = (elements) => {
|
|
5
|
+
const result = [];
|
|
6
|
+
elements?.forEach(c => {
|
|
7
|
+
result.push(_jsx(Element, { element: c, churchSettings: props.churchSettings, textColor: props.textColor }, c.id));
|
|
8
|
+
});
|
|
9
|
+
return result;
|
|
10
|
+
};
|
|
11
|
+
const result = _jsx(_Fragment, { children: props.element.elements && getChildren(props.element.elements) });
|
|
12
|
+
return result;
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=ElementBlock.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElementBlock.js","sourceRoot":"","sources":["../../../../src/website/components/elementTypes/ElementBlock.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAQrC,MAAM,CAAC,MAAM,YAAY,GAAoB,CAAC,KAAK,EAAE,EAAE;IAErD,MAAM,WAAW,GAAG,CAAC,QAA4B,EAAE,EAAE;QACnD,MAAM,MAAM,GAAyB,EAAE,CAAC;QACxC,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE;YACpB,MAAM,CAAC,IAAI,CAAC,KAAC,OAAO,IAAY,OAAO,EAAE,CAAC,EAAE,cAAc,EAAE,KAAK,CAAC,cAAc,EAAE,SAAS,EAAE,KAAK,CAAC,SAAS,IAAlF,CAAC,CAAC,EAAE,CAAkF,CAAC,CAAC;QACpH,CAAC,CAAC,CAAC;QACH,OAAO,MAAM,CAAC;IAChB,CAAC,CAAC;IAEF,MAAM,MAAM,GAAG,4BACZ,KAAK,CAAC,OAAO,CAAC,QAAQ,IAAI,WAAW,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,GAC7D,CAAC;IACJ,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ElementInterface } from "../../helpers";
|
|
2
|
+
interface Props {
|
|
3
|
+
element: ElementInterface;
|
|
4
|
+
textColor: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const FaqElement: ({ element, textColor }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=FaqElement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FaqElement.d.ts","sourceRoot":"","sources":["../../../../src/website/components/elementTypes/FaqElement.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEjD,UAAU,KAAK;IACb,OAAO,EAAE,gBAAgB,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;CACnB;AAkCD,eAAO,MAAM,UAAU,GAAI,wBAAwB,KAAK,4CAgBvD,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
|
+
import { Typography } from "@mui/material";
|
|
4
|
+
import { styled } from "@mui/material/styles";
|
|
5
|
+
import MuiAccordionSummary from "@mui/material/AccordionSummary";
|
|
6
|
+
import MuiAccordion from "@mui/material/Accordion";
|
|
7
|
+
import MuiAccordionDetails from "@mui/material/AccordionDetails";
|
|
8
|
+
import DoubleArrowIcon from "@mui/icons-material/DoubleArrow";
|
|
9
|
+
const Accordion = styled((props) => (_jsx(MuiAccordion, { disableGutters: true, elevation: 0, square: true, ...props })))(() => ({
|
|
10
|
+
background: "transparent",
|
|
11
|
+
"&:before": { display: "none" }
|
|
12
|
+
}));
|
|
13
|
+
const AccordionSummary = styled((props) => {
|
|
14
|
+
const { iconColor, ...accordionProps } = props;
|
|
15
|
+
return _jsx(MuiAccordionSummary, { expandIcon: _jsx(DoubleArrowIcon, { sx: { color: iconColor } }), ...accordionProps });
|
|
16
|
+
})(({ theme }) => ({
|
|
17
|
+
flexDirection: "row-reverse",
|
|
18
|
+
backgroundColor: "transparent",
|
|
19
|
+
marginTop: 10,
|
|
20
|
+
"& .MuiAccordionSummary-expandIconWrapper.Mui-expanded": { transform: "rotate(90deg)" },
|
|
21
|
+
"& .MuiAccordionSummary-content": { marginLeft: theme.spacing(1) },
|
|
22
|
+
"& .MuiAccordionSummary-content.Mui-expanded": { marginLeft: theme.spacing(1) }
|
|
23
|
+
}));
|
|
24
|
+
const SimpleAccordionSummary = styled((props) => (_jsx(MuiAccordionSummary, { ...props })))(({ theme }) => ({
|
|
25
|
+
flexDirection: "row-reverse",
|
|
26
|
+
backgroundColor: "transparent",
|
|
27
|
+
"& .MuiAccordionSummary-content": { marginTop: 0, marginBottom: 0, marginLeft: theme.spacing(1) },
|
|
28
|
+
"& .MuiAccordionSummary-content.Mui-expanded": { marginLeft: theme.spacing(1) }
|
|
29
|
+
}));
|
|
30
|
+
const AccordionDetails = styled(MuiAccordionDetails)(({ theme, color }) => ({
|
|
31
|
+
marginLeft: theme.spacing(1),
|
|
32
|
+
color: color
|
|
33
|
+
}));
|
|
34
|
+
export const FaqElement = ({ element, textColor }) => {
|
|
35
|
+
const simple = element?.answers?.headingType === "link";
|
|
36
|
+
return (_jsx(_Fragment, { children: _jsxs(Accordion, { id: "el-" + element.id, style: (simple) ? { marginTop: 0 } : undefined, children: [!simple && _jsx(AccordionSummary, { iconColor: element?.answers?.iconColor || "#03a9f4", children: _jsx(Typography, { variant: "h6", fontWeight: 600, color: textColor === "dark" ? "#444" : "#eee", children: element?.answers?.title }) }), simple && _jsx(SimpleAccordionSummary, { children: _jsx("a", { style: { display: "block", textAlign: "center", width: "100%" }, children: element?.answers?.title }) }), _jsx(AccordionDetails, { color: textColor === "dark" ? "#444" : "#eee", children: _jsx("div", { dangerouslySetInnerHTML: { __html: element?.answers?.description || "" } }) })] }) }));
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=FaqElement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FaqElement.js","sourceRoot":"","sources":["../../../../src/website/components/elementTypes/FaqElement.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,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AC,MAAM,YACpF,OAAO,EAAE,OAAO,EAAE,KAAK,GACb,GACI,EAClB,MAAM,IAAI,KAAC,sBAAsB,cAAC,YAAG,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,YAAG,OAAO,EAAE,OAAO,EAAE,KAAK,GAAK,GAAyB,EAC7J,KAAC,gBAAgB,IAAC,KAAK,EAAE,SAAS,KAAK,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,YAC7D,cAAK,uBAAuB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,WAAW,IAAI,EAAE,EAAE,GAAI,GAChE,IACT,GACX,CAAC,CAAC;AACT,CAAC,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ElementInterface } from "../../helpers";
|
|
2
|
+
import type { ChurchInterface } from "@churchapps/helpers";
|
|
3
|
+
interface Props {
|
|
4
|
+
element: ElementInterface;
|
|
5
|
+
church: ChurchInterface;
|
|
6
|
+
}
|
|
7
|
+
export interface FormInterface {
|
|
8
|
+
id?: string;
|
|
9
|
+
name?: string;
|
|
10
|
+
contentType?: string;
|
|
11
|
+
restricted?: boolean;
|
|
12
|
+
accessStartTime?: Date;
|
|
13
|
+
accessEndTime?: Date;
|
|
14
|
+
archived: boolean;
|
|
15
|
+
action?: string;
|
|
16
|
+
thankYouMessage?: string;
|
|
17
|
+
}
|
|
18
|
+
export declare const FormElement: (props: Props) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=FormElement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormElement.d.ts","sourceRoot":"","sources":["../../../../src/website/components/elementTypes/FormElement.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAqB,MAAM,eAAe,CAAC;AAIpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,UAAU,KAAK;IACb,OAAO,EAAE,gBAAgB,CAAC;IAC1B,MAAM,EAAE,eAAe,CAAC;CACzB;AAED,MAAM,WAAW,aAAa;IAAG,EAAE,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAAC,UAAU,CAAC,EAAE,OAAO,CAAC;IAAC,eAAe,CAAC,EAAE,IAAI,CAAC;IAAC,aAAa,CAAC,EAAE,IAAI,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,eAAe,CAAC,EAAE,MAAM,CAAA;CAAE;AAErN,eAAO,MAAM,WAAW,GAAI,OAAO,KAAK,4CAgEvC,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
|
+
import { useEffect, useState } from "react";
|
|
4
|
+
import { Button } from "@mui/material";
|
|
5
|
+
import { EnvironmentHelper } from "../../helpers";
|
|
6
|
+
import { Loading, UserHelper } from "../../..";
|
|
7
|
+
import { FormSubmissionEdit } from "../../../forms";
|
|
8
|
+
import { ApiHelper } from "../../..";
|
|
9
|
+
export const FormElement = (props) => {
|
|
10
|
+
const [addFormId, setAddFormId] = useState("");
|
|
11
|
+
const [isFormSubmitted, setIsFormSubmitted] = useState(false);
|
|
12
|
+
const [unRestrictedFormId, setUnRestrictedFormId] = useState("");
|
|
13
|
+
const formId = props.element.answers.formId;
|
|
14
|
+
const [form, setForm] = useState(undefined);
|
|
15
|
+
useEffect(() => {
|
|
16
|
+
if (formId && props.church) {
|
|
17
|
+
loadData();
|
|
18
|
+
}
|
|
19
|
+
}, [formId, props.church]);
|
|
20
|
+
const loadData = async () => {
|
|
21
|
+
await EnvironmentHelper.init();
|
|
22
|
+
ApiHelper.get("/forms/standalone/" + formId + "?churchId=" + props.church.id, "MembershipApi").then((data) => {
|
|
23
|
+
if (data.restricted)
|
|
24
|
+
setAddFormId(formId);
|
|
25
|
+
else
|
|
26
|
+
setUnRestrictedFormId(formId);
|
|
27
|
+
setForm(data);
|
|
28
|
+
});
|
|
29
|
+
};
|
|
30
|
+
const handleUpdate = () => setIsFormSubmitted(true);
|
|
31
|
+
if (!(props.church && formId && (addFormId || unRestrictedFormId))) {
|
|
32
|
+
return _jsx(Loading, {});
|
|
33
|
+
}
|
|
34
|
+
if (isFormSubmitted) {
|
|
35
|
+
return (_jsxs("p", { children: [form?.thankYouMessage ? form.thankYouMessage : "Your form has been successfully submitted.", _jsx(Button, { variant: "text", size: "small", onClick: () => setIsFormSubmitted(false), "data-testid": "form-fill-again-button", children: "Fill Again" })] }));
|
|
36
|
+
}
|
|
37
|
+
return (_jsx(_Fragment, { children: _jsx(FormSubmissionEdit, { churchId: props.church.id, addFormId: addFormId, unRestrictedFormId: unRestrictedFormId, contentType: "form", contentId: formId, formSubmissionId: "", personId: UserHelper?.person?.id, updatedFunction: handleUpdate, showHeader: false, noBackground: true }) }));
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=FormElement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormElement.js","sourceRoot":"","sources":["../../../../src/website/components/elementTypes/FormElement.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAoB,iBAAiB,EAAE,MAAM,eAAe,CAAC;AACpE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;A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AAS,IAAI,kBAAkB,CAAC,CAAC,EAAE,CAAC;QACnE,OAAO,KAAC,OAAO,KAAG,CAAC;IACrB,CAAC;IAED,IAAI,eAAe,EAAE,CAAC;QACpB,OAAO,CACL,wBACG,IAAI,EAAE,eAAe,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,4CAA4C,EAC5F,KAAC,MAAM,IACL,OAAO,EAAC,MAAM,EACd,IAAI,EAAC,OAAO,EACZ,OAAO,EAAE,GAAG,EAAE,CAAC,kBAAkB,CAAC,KAAK,CAAC,iBAC5B,wBAAwB,2BAG7B,IACP,CACL,CAAC;IACJ,CAAC;IAED,OAAO,CACL,4BACE,KAAC,kBAAkB,IACjB,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,EACzB,SAAS,EAAE,SAAS,EACpB,kBAAkB,EAAE,kBAAkB,EACtC,WAAW,EAAC,MAAM,EAClB,SAAS,EAAE,MAAM,EACjB,gBAAgB,EAAC,EAAE,EACnB,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,EAChC,eAAe,EAAE,YAAY,EAC7B,UAAU,EAAE,KAAK,EACjB,YAAY,EAAE,IAAI,GAClB,GACD,CACJ,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ElementInterface } from "../../helpers";
|
|
2
|
+
interface Props {
|
|
3
|
+
churchId: string;
|
|
4
|
+
element: ElementInterface;
|
|
5
|
+
}
|
|
6
|
+
export declare const GroupListElement: (props: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=GroupListElement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GroupListElement.d.ts","sourceRoot":"","sources":["../../../../src/website/components/elementTypes/GroupListElement.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAGjD,UAAU,KAAK;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,gBAAgB,CAAC;CAC3B;AAED,eAAO,MAAM,gBAAgB,GAAI,OAAO,KAAK,4CAE5C,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { GroupList } from "../groups/GroupList";
|
|
3
|
+
export const GroupListElement = (props) => (_jsx(GroupList, { churchId: props.churchId, label: props.element?.answers?.label }));
|
|
4
|
+
//# sourceMappingURL=GroupListElement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GroupListElement.js","sourceRoot":"","sources":["../../../../src/website/components/elementTypes/GroupListElement.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAOhD,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,KAAY,EAAE,EAAE,CAAC,CAChD,KAAC,SAAS,IAAC,QAAQ,EAAE,KAAK,CAAC,QAAQ,EAAE,KAAK,EAAE,KAAK,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,GAAI,CAC9E,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ElementInterface, SectionInterface } from "../../helpers";
|
|
3
|
+
interface Props {
|
|
4
|
+
value: string;
|
|
5
|
+
textAlign?: string;
|
|
6
|
+
element: ElementInterface;
|
|
7
|
+
showFloatingEditor?: boolean;
|
|
8
|
+
onEdit?: (section: SectionInterface | null, element: ElementInterface) => void;
|
|
9
|
+
}
|
|
10
|
+
export declare const HtmlPreview: React.FC<Props>;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=HtmlPreview.d.ts.map
|