Refactor af-block directive into af-repeat and af-join
authorColeman Watts <coleman@civicrm.org>
Fri, 27 Dec 2019 19:55:49 +0000 (14:55 -0500)
committerCiviCRM <info@civicrm.org>
Wed, 16 Sep 2020 02:13:20 +0000 (19:13 -0700)
commit344e8290127f78eb32c4b66322bbca24bffb7e4a
tree277876ac57024efe51b4886a5bdc7e8d7f845534
parent9c84a124cd89491309eb3b458b0f85393b0d7d33
Refactor af-block directive into af-repeat and af-join

This allows mix-n-match between blocks and repeatable things, allowing
entity fieldsets to be repeated, as well as arbitrary non-repeatable blocks.
40 files changed:
ext/afform/core/CRM/Afform/ArrayHtml.php
ext/afform/core/Civi/Afform/FormDataModel.php
ext/afform/core/Civi/Api4/Action/Afform/AbstractProcessor.php
ext/afform/core/Civi/Api4/Action/Afform/Get.php
ext/afform/core/Civi/Api4/Action/Afform/Prefill.php
ext/afform/core/Civi/Api4/Action/Afform/Submit.php
ext/afform/core/Civi/Api4/Afform.php
ext/afform/core/afform.php
ext/afform/core/ang/af.ang.php
ext/afform/core/ang/af/Block.js [deleted file]
ext/afform/core/ang/af/Field.js
ext/afform/core/ang/af/Fieldset.js
ext/afform/core/ang/af/Form.js
ext/afform/core/ang/af/Join.js [new file with mode: 0644]
ext/afform/core/ang/af/Repeat.js [new file with mode: 0644]
ext/afform/core/ang/af/afBlock.html [deleted file]
ext/afform/core/ang/af/afRepeat.html [new file with mode: 0644]
ext/afform/core/ang/af/fields/CheckBox.html
ext/afform/core/ang/af/fields/Date.html
ext/afform/core/ang/af/fields/Number.html
ext/afform/core/ang/af/fields/Radio.html
ext/afform/core/ang/af/fields/RichTextEditor.html
ext/afform/core/ang/af/fields/Select.html
ext/afform/core/ang/af/fields/Text.html
ext/afform/core/ang/af/fields/TextArea.html
ext/afform/core/ang/afCore.css
ext/afform/core/ang/blockEmailDefault.aff.json
ext/afform/core/ang/blockIMDefault.aff.json
ext/afform/core/ang/blockNameIndividual.aff.html [new file with mode: 0644]
ext/afform/core/ang/blockNameIndividual.aff.json [new file with mode: 0644]
ext/afform/core/ang/blockPhoneDefault.aff.json
ext/afform/core/ang/blockWebsiteDefault.aff.json
ext/afform/core/tests/phpunit/Civi/Afform/FormDataModelTest.php
ext/afform/gui/afform_gui.php
ext/afform/gui/ang/afGuiEditor.js
ext/afform/gui/ang/afGuiEditor/canvas.html
ext/afform/gui/ang/afGuiEditor/container-menu.html
ext/afform/gui/ang/afGuiEditor/container.html
ext/afform/gui/ang/afGuiEditor/entity.html
ext/afform/mock/tests/phpunit/api/v4/AfformUsageTest.php