-
Notifications
You must be signed in to change notification settings - Fork 409
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* adding core dependencies in all * proxy components for wizard and title * using the same proxy formcontainer as headless for v2 container * updating versions of wcm and forms components * review comments: changing cmp group, added formscommunicationportal components * upgrade wcm examples if forms included, review comments closed * Update thumbnails for af2 * include core components if includeForms, use headless flag to only include headless spa * check for cloud version * check for headless for react clientlibs * template changes on par with core components it * separate adaptive form and portal components * adaptive form submit button * associate af v2 canvas theme with template * include core components in cloud only * update adaptive form json path * remove unnecessary versioning & redundant names for proxy components Related AEM issue: CQ-4348367 Co-authored-by: barshatr <barshatr@adobe.com> Co-authored-by: Vlad <vlad@bailescu.ro> Co-authored-by: Rishi Mehta <69448117+rismehta@users.noreply.github.com>
- Loading branch information
1 parent
ebfcdd9
commit 0867f0a
Showing
65 changed files
with
601 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
...s/src/main/content/jcr_root/apps/__appId__/components/adaptiveForm/accordion/.content.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" | ||
jcr:description="Adaptive Form Accordion (v1) component" | ||
jcr:primaryType="cq:Component" | ||
jcr:title="Adaptive Form Accordion" | ||
sling:resourceSuperType="core/fd/components/form/accordion/v1/accordion" | ||
componentGroup="${appTitle} - Adaptive Form"/> |
6 changes: 6 additions & 0 deletions
6
...c/main/content/jcr_root/apps/__appId__/components/adaptiveForm/accordion/_cq_template.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" | ||
xmlns:jcr="http://www.jcp.org/jcr/1.0" jcr:primaryType="nt:unstructured" | ||
fieldType="panel" | ||
jcr:title="Accordion"/> | ||
|
8 changes: 8 additions & 0 deletions
8
.../main/content/jcr_root/apps/__appId__/components/adaptiveForm/actions/submit/.content.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" | ||
cq:icon="publish" | ||
jcr:primaryType="cq:Component" | ||
jcr:title="Adaptive Form Submit Button" | ||
jcr:description="Add an interactive button for invoking a Submit action." | ||
sling:resourceSuperType="core/fd/components/form/button/v1/button" | ||
componentGroup="${appTitle} - Adaptive Form"/> |
14 changes: 14 additions & 0 deletions
14
...n/content/jcr_root/apps/__appId__/components/adaptiveForm/actions/submit/_cq_template.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:fd="http://www.adobe.com/aemfd/fd/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" | ||
jcr:primaryType="nt:unstructured" | ||
jcr:title="Submit" | ||
fieldType="button" | ||
buttonType="submit" | ||
dorExclusion="true"> | ||
<fd:rules | ||
fd:click="[{"nodeName":"ROOT"\,"items":[{"nodeName":"STATEMENT"\,"choice":{"nodeName":"EVENT_SCRIPTS"\,"items":[{"nodeName":"EVENT_CONDITION"\,"choice":{"nodeName":"EVENT_AND_COMPARISON"\,"items":[{"nodeName":"COMPONENT"\,"value":{"id":"$form.button1667450213112"\,"type":"BUTTON"\,"name":"button1667450213112"}}\,{"nodeName":"EVENT_AND_COMPARISON_OPERATOR"\,"choice":{"nodeName":"is clicked"\,"value":null}}\,{"nodeName":"PRIMITIVE_EXPRESSION"\,"choice":null}]}\,"nested":false}\,{"nodeName":"Then"\,"value":null}\,{"nodeName":"BLOCK_STATEMENTS"\,"items":[{"nodeName":"BLOCK_STATEMENT"\,"choice":{"nodeName":"SUBMIT_FORM"\,"items":[]}}]}]}}]\,"isValid":true\,"enabled":true\,"version":1\,"script":["submitForm('custom:submitSuccess'\, 'custom:submitError')"]\,"eventName":"Click"\,"ruleType":""\,"description":""}]" | ||
jcr:primaryType="nt:unstructured"/> | ||
<fd:events | ||
jcr:primaryType="nt:unstructured" | ||
click="[submitForm('custom:submitSuccess'\, 'custom:submitError')]"/> | ||
</jcr:root> |
7 changes: 7 additions & 0 deletions
7
...apps/src/main/content/jcr_root/apps/__appId__/components/adaptiveForm/button/.content.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" | ||
jcr:description="Adaptive Form Button (v1) component" | ||
jcr:primaryType="cq:Component" | ||
jcr:title="Adaptive Form Button" | ||
sling:resourceSuperType="core/fd/components/form/button/v1/button" | ||
componentGroup="${appTitle} - Adaptive Form"/> |
5 changes: 5 additions & 0 deletions
5
.../src/main/content/jcr_root/apps/__appId__/components/adaptiveForm/button/_cq_template.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" | ||
jcr:primaryType="nt:unstructured" | ||
jcr:title="Button" | ||
fieldType="button"/> |
7 changes: 7 additions & 0 deletions
7
...c/main/content/jcr_root/apps/__appId__/components/adaptiveForm/checkboxgroup/.content.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" | ||
jcr:description="Adaptive Form Check Box Group (v1) component" | ||
jcr:primaryType="cq:Component" | ||
jcr:title="Adaptive Form Check Box Group" | ||
sling:resourceSuperType="core/fd/components/form/checkboxgroup/v1/checkboxgroup" | ||
componentGroup="${appTitle} - Adaptive Form"/> |
8 changes: 8 additions & 0 deletions
8
...in/content/jcr_root/apps/__appId__/components/adaptiveForm/checkboxgroup/_cq_template.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" | ||
jcr:primaryType="nt:unstructured" | ||
jcr:title="Check Box Group" | ||
fieldType="checkbox-group" | ||
type="number[]" | ||
enum="[0,1]" | ||
enumNames="[Item 1, Item 2]"/> |
7 changes: 7 additions & 0 deletions
7
.../src/main/content/jcr_root/apps/__appId__/components/adaptiveForm/datepicker/.content.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" | ||
jcr:description="Adaptive Form Date Picker (v1) component" | ||
jcr:primaryType="cq:Component" | ||
jcr:title="Adaptive Form Date Picker" | ||
sling:resourceSuperType="core/fd/components/form/datepicker/v1/datepicker" | ||
componentGroup="${appTitle} - Adaptive Form"/> |
5 changes: 5 additions & 0 deletions
5
.../main/content/jcr_root/apps/__appId__/components/adaptiveForm/datepicker/_cq_template.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" | ||
jcr:primaryType="nt:unstructured" | ||
jcr:title="Date Input" | ||
fieldType="date-input"/> |
7 changes: 7 additions & 0 deletions
7
...ps/src/main/content/jcr_root/apps/__appId__/components/adaptiveForm/dropdown/.content.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" | ||
jcr:description="Adaptive Form Drop-down List (v1) component" | ||
jcr:primaryType="cq:Component" | ||
jcr:title="Adaptive Form Drop-down List" | ||
sling:resourceSuperType="core/fd/components/form/dropdown/v1/dropdown" | ||
componentGroup="${appTitle} - Adaptive Form"/> |
5 changes: 5 additions & 0 deletions
5
...rc/main/content/jcr_root/apps/__appId__/components/adaptiveForm/dropdown/_cq_template.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" | ||
jcr:primaryType="nt:unstructured" | ||
jcr:title="Dropdown" | ||
fieldType="drop-down"/> |
7 changes: 7 additions & 0 deletions
7
...s/src/main/content/jcr_root/apps/__appId__/components/adaptiveForm/fileinput/.content.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" | ||
jcr:description="Adaptive Form File Attachment (v1) component" | ||
jcr:primaryType="cq:Component" | ||
jcr:title="Adaptive Form File Attachment" | ||
sling:resourceSuperType="core/fd/components/form/fileinput/v1/fileinput" | ||
componentGroup="${appTitle} - Adaptive Form"/> |
8 changes: 8 additions & 0 deletions
8
...c/main/content/jcr_root/apps/__appId__/components/adaptiveForm/fileinput/_cq_template.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" | ||
jcr:primaryType="nt:unstructured" | ||
jcr:title="File Attachment" | ||
buttonText="Attach" | ||
fieldType="file-input" | ||
accept="[audio/*, video/*, image/*, text/*, application/pdf]"> | ||
</jcr:root> |
7 changes: 7 additions & 0 deletions
7
...apps/src/main/content/jcr_root/apps/__appId__/components/adaptiveForm/footer/.content.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" | ||
jcr:description="Adaptive Form Footer (v1) component" | ||
jcr:primaryType="cq:Component" | ||
jcr:title="Adaptive Form Footer" | ||
sling:resourceSuperType="core/fd/components/form/footer/v1/footer" | ||
componentGroup="${appTitle} - Adaptive Form"/> |
11 changes: 11 additions & 0 deletions
11
.../src/main/content/jcr_root/apps/__appId__/components/adaptiveForm/footer/_cq_template.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:granite="http://www.adobe.com/jcr/granite/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" | ||
jcr:primaryType="nt:unstructured" | ||
jcr:title="Footer"> | ||
<text | ||
jcr:primaryType="nt:unstructured" | ||
jcr:title="Footer" | ||
text="© YYYY Company name | All rights reserved" | ||
css="footerText" | ||
sling:resourceType="wcm/foundation/components/text"/> | ||
</jcr:root> |
Oops, something went wrong.