Afform - Support editing new element types added by extensions
authorColeman Watts <coleman@civicrm.org>
Mon, 31 Oct 2022 11:54:33 +0000 (07:54 -0400)
committerColeman Watts <coleman@civicrm.org>
Mon, 31 Oct 2022 12:48:24 +0000 (08:48 -0400)
commit64f8f6cd8cbc45bfb51915db8daea3e2e509b29c
tree6dea3463f72ac14fa9bb7b33f5c583f0fe5bc514
parent2bd69eafc5d8147d6044bf47c5b4d90d3d5f1ff0
Afform - Support editing new element types added by extensions

This allows extensions (e.g. ReCaptcha) to provide new element types. They are editable in the GUI
via a generic template, and exensions can provide their own templates for further
configurability.
ext/afform/admin/ang/afGuiEditor.css
ext/afform/admin/ang/afGuiEditor/elements/afGuiContainer.component.js
ext/afform/admin/ang/afGuiEditor/elements/afGuiContainer.html
ext/afform/admin/ang/afGuiEditor/elements/afGuiGenericElement-menu.html [new file with mode: 0644]
ext/afform/admin/ang/afGuiEditor/elements/afGuiGenericElement.html [new file with mode: 0644]
ext/afform/admin/ang/afGuiEditor/elements/afGuiGenericElement.js [new file with mode: 0644]
ext/afform/core/ang/af/afForm.component.js