Skip to content

Commit

Permalink
Merge pull request #902 from adobe/dev2Master
Browse files Browse the repository at this point in the history
Dev to Master
  • Loading branch information
rismehta authored Oct 4, 2023
2 parents 2216f1d + aaa0e82 commit 8b30f3b
Show file tree
Hide file tree
Showing 5 changed files with 161 additions and 104 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:dam="http://www.day.com/dam/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:fd="http://www.adobe.com/aemfd/fd/1.0"
jcr:primaryType="dam:Asset">
<jcr:content
jcr:lastModified="{Date}2023-05-30T17:15:39.239+05:30"
jcr:primaryType="dam:AssetContent"
sling:resourceType="fd/fm/af/render"
guide="1"
type="guide">
<metadata
fd:version="2.1"
jcr:primaryType="nt:unstructured"
allowedRenderFormat="HTML"
author="admin"
availableInMobileApp="{Boolean}false"
dorType="none"
formmodel="none"
hasCustomThumbnail="{Boolean}false"
title="focusWithRule"/>
</jcr:content>
</jcr:root>
Original file line number Diff line number Diff line change
@@ -1,95 +1,128 @@
<?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" xmlns:sling="http://sling.apache.org/jcr/sling/1.0"
xmlns:fd="http://www.adobe.com/aemfd/fd/1.0"
jcr:primaryType="cq:Page">
<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" xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:fd="http://www.adobe.com/aemfd/fd/1.0"
jcr:primaryType="cq:Page">
<jcr:content
cq:deviceGroups="[/etc/mobile/groups/responsive]"
cq:lastModified="{Date}2023-03-02T08:16:42.769+05:30"
cq:lastModifiedBy="admin"
cq:template="/conf/core-components-examples/settings/wcm/templates/af-blank-v2"
jcr:language="en"
jcr:primaryType="cq:PageContent"
jcr:title="afv2_tabs"
sling:resourceType="forms-components-examples/components/page">
cq:deviceGroups="[/etc/mobile/groups/responsive]"
cq:lastModified="{Date}2023-09-29T16:44:34.202+05:30"
cq:lastModifiedBy="admin"
cq:template="/conf/core-components-examples/settings/wcm/templates/af-blank-v2"
jcr:language="en"
jcr:primaryType="cq:PageContent"
jcr:title="afv2_tabs"
sling:resourceType="forms-components-examples/components/page">
<guideContainer
fd:version="2.1"
jcr:primaryType="nt:unstructured"
sling:resourceType="forms-components-examples/components/form/container"
dorType="none"
fieldType="form"
thankYouOption="page"
themeRef="/libs/fd/af/themes/canvas">
fd:version="2.1"
jcr:primaryType="nt:unstructured"
sling:resourceType="forms-components-examples/components/form/container"
dorType="none"
fieldType="form"
thankYouOption="page"
themeRef="/libs/fd/af/themes/canvas">
<tabsontop
jcr:lastModified="{Date}2023-03-01T13:01:26.589+05:30"
jcr:lastModified="{Date}2023-03-01T13:01:26.589+05:30"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="tabs"
sling:resourceType="forms-components-examples/components/form/tabsontop"
fieldType="panel"
name="tabsfp">
<panelcontainerft1
jcr:lastModified="{Date}2023-03-01T13:01:44.222+05:30"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="tabs"
sling:resourceType="forms-components-examples/components/form/tabsontop"
jcr:title="FT1"
sling:resourceType="forms-components-examples/components/form/panelcontainer"
enabled="{Boolean}true"
fieldType="panel"
name="tabsfp">
<panelcontainerft1
jcr:lastModified="{Date}2023-03-01T13:01:44.222+05:30"
name="FT1"
visible="{Boolean}true"
wrapData="{Boolean}false">
<textinputft1
jcr:lastModified="{Date}2023-03-02T08:07:56.078+05:30"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="FT1"
sling:resourceType="forms-components-examples/components/form/panelcontainer"
jcr:title="Text Input 1"
sling:resourceType="forms-components-examples/components/form/textinput"
enabled="{Boolean}true"
fieldType="panel"
name="FT1"
visible="{Boolean}true"
wrapData="{Boolean}false">
<textinputft1
jcr:lastModified="{Date}2023-03-02T08:07:56.078+05:30"
jcr:lastModifiedBy="admin"
fieldType="text-input"
name="textinputft1"
readOnly="{Boolean}false"
type="string"
visible="{Boolean}true"/>
<button
jcr:created="{Date}2023-09-29T16:39:32.767+05:30"
jcr:createdBy="admin"
jcr:lastModified="{Date}2023-09-29T16:40:10.695+05:30"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="goto FT2"
sling:resourceType="forms-components-examples/components/form/button"
dorExclusion="true"
enabled="{Boolean}true"
fieldType="button"
hideTitle="false"
name="goto FT2"
readOnly="{Boolean}false"
textIsRich="[true,true]"
unboundFormElement="{Boolean}false"
visible="{Boolean}true">
<fd:rules
fd:click="[{&quot;nodeName&quot;:&quot;ROOT&quot;\,&quot;items&quot;:[{&quot;nodeName&quot;:&quot;STATEMENT&quot;\,&quot;choice&quot;:{&quot;nodeName&quot;:&quot;EVENT_SCRIPTS&quot;\,&quot;items&quot;:[{&quot;nodeName&quot;:&quot;EVENT_CONDITION&quot;\,&quot;choice&quot;:{&quot;nodeName&quot;:&quot;EVENT_AND_COMPARISON&quot;\,&quot;items&quot;:[{&quot;nodeName&quot;:&quot;COMPONENT&quot;\,&quot;value&quot;:{&quot;id&quot;:&quot;$form.tabsfp.FT1.goto FT2&quot;\,&quot;type&quot;:&quot;BUTTON&quot;\,&quot;name&quot;:&quot;goto FT2&quot;}}\,{&quot;nodeName&quot;:&quot;EVENT_AND_COMPARISON_OPERATOR&quot;\,&quot;choice&quot;:{&quot;nodeName&quot;:&quot;is clicked&quot;\,&quot;value&quot;:null}}\,{&quot;nodeName&quot;:&quot;PRIMITIVE_EXPRESSION&quot;\,&quot;choice&quot;:null}]}\,&quot;nested&quot;:false}\,{&quot;nodeName&quot;:&quot;Then&quot;\,&quot;value&quot;:null}\,{&quot;nodeName&quot;:&quot;BLOCK_STATEMENTS&quot;\,&quot;items&quot;:[{&quot;nodeName&quot;:&quot;BLOCK_STATEMENT&quot;\,&quot;choice&quot;:{&quot;nodeName&quot;:&quot;SET_FOCUS&quot;\,&quot;items&quot;:[{&quot;nodeName&quot;:&quot;to&quot;\,&quot;value&quot;:null}\,{&quot;nodeName&quot;:&quot;AFCOMPONENT&quot;\,&quot;value&quot;:{&quot;id&quot;:&quot;$form.tabsfp.FT2&quot;\,&quot;displayName&quot;:&quot;FT2&quot;\,&quot;type&quot;:&quot;AFCOMPONENT&quot;\,&quot;displayPath&quot;:&quot;FORM/tabs/FT2/&quot;\,&quot;name&quot;:&quot;FT2&quot;\,&quot;parent&quot;:&quot;$form.tabsfp&quot;}}]}}]}]}}]\,&quot;isValid&quot;:true\,&quot;enabled&quot;:true\,&quot;version&quot;:1\,&quot;script&quot;:[&quot;setFocus($form.tabsfp.FT2)&quot;]\,&quot;eventName&quot;:&quot;Click&quot;\,&quot;ruleType&quot;:&quot;&quot;\,&quot;description&quot;:&quot;&quot;}]"
jcr:primaryType="nt:unstructured"
validationStatus="valid"/>
<fd:events
jcr:primaryType="nt:unstructured"
jcr:title="Text Input 1"
sling:resourceType="forms-components-examples/components/form/textinput"
enabled="{Boolean}true"
fieldType="text-input"
name="textinputft1"
readOnly="{Boolean}false"
type="string"
visible="{Boolean}true"/>
click="[setFocus($form.tabsfp.FT2)]"/>
</button>
</panelcontainerft1>
<panelcontainerft2
jcr:lastModified="{Date}2023-03-01T13:01:44.222+05:30"
jcr:lastModified="{Date}2023-03-01T13:01:44.222+05:30"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="FT2"
sling:resourceType="forms-components-examples/components/form/panelcontainer"
enabled="{Boolean}true"
fieldType="panel"
name="FT2"
visible="{Boolean}true"
wrapData="{Boolean}false">
<textinputft2
jcr:lastModified="{Date}2023-03-02T08:07:56.078+05:30"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="FT2"
sling:resourceType="forms-components-examples/components/form/panelcontainer"
jcr:title="Text Input 2"
sling:resourceType="forms-components-examples/components/form/textinput"
enabled="{Boolean}true"
fieldType="panel"
name="FT2"
visible="{Boolean}true"
wrapData="{Boolean}false">
<textinputft2
jcr:lastModified="{Date}2023-03-02T08:07:56.078+05:30"
jcr:lastModifiedBy="admin"
fieldType="text-input"
name="textinputft2"
readOnly="{Boolean}false"
type="string"
visible="{Boolean}true"/>
<button
jcr:lastModified="{Date}2023-09-29T16:44:34.196+05:30"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="goto FT1"
sling:resourceType="forms-components-examples/components/form/button"
enabled="{Boolean}true"
fieldType="button"
hideTitle="false"
name="button"
readOnly="{Boolean}false"
textIsRich="[true,true]"
type="button"
unboundFormElement="{Boolean}false"
visible="{Boolean}true">
<fd:rules
fd:click="[{&quot;nodeName&quot;:&quot;ROOT&quot;\,&quot;items&quot;:[{&quot;nodeName&quot;:&quot;STATEMENT&quot;\,&quot;choice&quot;:{&quot;nodeName&quot;:&quot;EVENT_SCRIPTS&quot;\,&quot;items&quot;:[{&quot;nodeName&quot;:&quot;EVENT_CONDITION&quot;\,&quot;choice&quot;:{&quot;nodeName&quot;:&quot;EVENT_AND_COMPARISON&quot;\,&quot;items&quot;:[{&quot;nodeName&quot;:&quot;COMPONENT&quot;\,&quot;value&quot;:{&quot;id&quot;:&quot;$form.tabsfp.FT2.button&quot;\,&quot;type&quot;:&quot;BUTTON&quot;\,&quot;name&quot;:&quot;button&quot;}}\,{&quot;nodeName&quot;:&quot;EVENT_AND_COMPARISON_OPERATOR&quot;\,&quot;choice&quot;:{&quot;nodeName&quot;:&quot;is clicked&quot;\,&quot;value&quot;:null}}\,{&quot;nodeName&quot;:&quot;PRIMITIVE_EXPRESSION&quot;\,&quot;choice&quot;:null}]}\,&quot;nested&quot;:false}\,{&quot;nodeName&quot;:&quot;Then&quot;\,&quot;value&quot;:null}\,{&quot;nodeName&quot;:&quot;BLOCK_STATEMENTS&quot;\,&quot;items&quot;:[{&quot;nodeName&quot;:&quot;BLOCK_STATEMENT&quot;\,&quot;choice&quot;:{&quot;nodeName&quot;:&quot;SET_FOCUS&quot;\,&quot;items&quot;:[{&quot;nodeName&quot;:&quot;to&quot;\,&quot;value&quot;:null}\,{&quot;nodeName&quot;:&quot;AFCOMPONENT&quot;\,&quot;value&quot;:{&quot;id&quot;:&quot;$form.tabsfp.FT1&quot;\,&quot;displayName&quot;:&quot;FT1&quot;\,&quot;type&quot;:&quot;AFCOMPONENT&quot;\,&quot;displayPath&quot;:&quot;FORM/tabs/FT1/&quot;\,&quot;name&quot;:&quot;FT1&quot;\,&quot;parent&quot;:&quot;$form.tabsfp&quot;}}]}}]}]}}]\,&quot;isValid&quot;:true\,&quot;enabled&quot;:true\,&quot;version&quot;:1\,&quot;script&quot;:[&quot;setFocus($form.tabsfp.FT1)&quot;]\,&quot;eventName&quot;:&quot;Click&quot;\,&quot;ruleType&quot;:&quot;&quot;\,&quot;description&quot;:&quot;&quot;}]"
jcr:primaryType="nt:unstructured"
jcr:title="Text Input 2"
sling:resourceType="forms-components-examples/components/form/textinput"
enabled="{Boolean}true"
fieldType="text-input"
name="textinputft2"
readOnly="{Boolean}false"
type="string"
visible="{Boolean}true"/>
validationStatus="valid"/>
<fd:events
jcr:primaryType="nt:unstructured"
click="[setFocus($form.tabsfp.FT1)]"/>
</button>
</panelcontainerft2>
</tabsontop>
<button
type="button"
jcr:primaryType="nt:unstructured"
name="button"
fieldType="button"
jcr:title="button"
enabled="{Boolean}true"
visible="{Boolean}true"
sling:resourceType="forms-components-examples/components/form/button">
<fd:events
jcr:primaryType="nt:unstructured"
click="[setFocus($form.tabsfp.FT2)]"/>
</button>
</guideContainer>
</jcr:content>
</jcr:root>
50 changes: 22 additions & 28 deletions ui.frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8b30f3b

Please sign in to comment.