Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ALR-311 #70

Merged
merged 1 commit into from
Oct 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,68 @@
background: #F3F3F3;
padding: 16px;
}
.addressInformtext{
.addressInformtext strong{
color: #181818;
font: 16px;
font-size: 14px;
font-weight: 700;
}
.addressInformtext span{
font-size: 11pt !important;
}
.menudropdown{
display: flex;
justify-content: flex-end;
margin-right: 15px;
}

.icon{
color: #008000;
}
.bottomheader{
padding: 0px;
background: #F3F3F3;
height: 63.45px

}
.view-all{
text-align: center;
color: #1A5A96;
margin-top: 22px;
padding: 14px 0 5px 0px;
}

.menudropdown button.vlocity-btn{
width: 21px;
height: 21px;
padding: 1px 6px 2px 14px;
border-color: rgb(116,116,116);

}

.addressheader.header-address-bc .block-container slot > .slds-grid.slds-wrap{
display: flex;
justify-content: space-between;
}

.menudropdown{
display: flex;
justify-content: flex-end;
margin-right: 0px;
}
.menudropdown svg{
width: 14px;
fill: rgb(116,116,116);
}
.menudropdown .slds-modal__container svg {
width: auto;
fill: #fff;
}
.address-block .slds-m-bottom_x-small{
margin-bottom:0;
padding-bottom:0
}
.address-block .slds-p-around_x-small{
margin-top:2px;
padding-top:0
}
.heading-left-icon-cont{
width:5px;
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,14 @@
<omnistudio-flex-card-state if:true={record} key={record._flex.uniqueKey} data-recordid={record.Id} record={record} data-statue="true" data-index="0" data-rindex={rindex} class="cf-vlocity-state-0 cf-vlocity-state slds-size_12-of-12 " tracking-obj={_childCardTrackingObj} >
<div if:true={cardLoaded} class="slds-grid slds-wrap slds-card " style="
">
<div data-style-id="state0element0" class="slds-col addressheader slds-size_12-of-12 " data-rindex={rindex} style="
<div data-style-id="state0element0" class="slds-col addressheader header-address-bc slds-size_12-of-12 " data-rindex={rindex} style="
" >
<omnistudio-block data-style-id="state0element0_child" card={card} record={record} label="Address Header" collapsible="false" collapsed-by-default="false" theme="slds" ><div class="slds-grid slds-wrap">
<div data-style-id="state0element0block_element0" class="slds-col slds-size_1-of-12 " data-rindex={rindex} style="" ><omnistudio-flex-icon data-style-id="state0element0block_element0_child" card={card} record={record} icon-type="Salesforce SVG" icon-name="custom:custom64" size="small" extraclass="slds-icon_container slds-icon-custom-custom64" variant="inverse" imgsrc="" theme="slds" ></omnistudio-flex-icon>
<div data-style-id="state0element0block_element0" class="slds-col heading-left-icon-cont slds-size_1-of-12 " data-rindex={rindex} style="
" ><omnistudio-flex-icon data-style-id="state0element0block_element0_child" card={card} record={record} icon-type="Salesforce SVG" icon-name="custom:custom64" size="small" extraclass="slds-icon_container slds-icon-custom-custom64" variant="inverse" imgsrc="" theme="slds" ></omnistudio-flex-icon>
</div><div data-style-id="state0element0block_element1" class="slds-col addressInformtext slds-size_9-of-12 " data-rindex={rindex} style="
" ><omnistudio-output-field data-style-id="state0element0block_element1_child" card={card} record={record} merge-field="%3Cdiv%3E%3Cstrong%3E%3Cspan%20style=%22font-size:%2014pt;%22%3EAddress%20Information%20(%7BAddressCount%7D)%3C/span%3E%3C/strong%3E%3C/div%3E" theme="slds" ></omnistudio-output-field>
</div><div data-style-id="state0element0block_element2" class="slds-col slds-size_1-of-12 " data-rindex={rindex} style="
</div><div data-style-id="state0element0block_element2" class="slds-col menudropdown slds-size_1-of-12 " data-rindex={rindex} style="
" >
<omnistudio-flex-menu data-style-id="state0element0block_element2_child"
onupdateos={updateOmniscript} onselectcards={updateSelectedCards} onsetvalue={updateAction} card={card} record={record} type="action" size="xx-small" variant="outline-brand" icon-name="utility:down" overflow="true" position="right" icon-position="left" icon-size="x-small"
Expand Down Expand Up @@ -56,9 +57,10 @@
</omnistudio-flex-menu>
</div>
</div></omnistudio-block>
</div><div data-style-id="state0element1" class="slds-col slds-size_12-of-12 " data-rindex={rindex} style="" ><c-cf-display-address-information-child data-style-id="state0element1_child" tracking-obj={_childCardTrackingObj} is-inside-parent={insideParent} parent-uniquekey={uniqueKey} card-node="\{record.Account}" parent-record={record} records={_records} parent-mergefields={card} record-id={recordId} is-child-card-tracking-enabled="false" object-api-name={objectApiName} theme="slds" onupdateparent={updateParentData}></c-cf-display-address-information-child>
</div><div data-style-id="state0element1" class="slds-col address-block slds-size_12-of-12 " data-rindex={rindex} style="
" ><c-cf-display-address-information-child data-style-id="state0element1_child" tracking-obj={_childCardTrackingObj} is-inside-parent={insideParent} parent-uniquekey={uniqueKey} card-node="\{record.Account}" parent-record={record} records={_records} parent-mergefields={card} record-id={recordId} is-child-card-tracking-enabled="false" object-api-name={objectApiName} theme="slds" onupdateparent={updateParentData}></c-cf-display-address-information-child>
</div><div data-style-id="state0element2" class="slds-col bottomheader slds-size_12-of-12 " data-rindex={rindex} style="
height:63.45px; " >
" >
<omnistudio-block data-style-id="state0element2_child" card={card} record={record} label="Address Footer" collapsible="false" collapsed-by-default="false" theme="slds" ><div class="slds-grid slds-wrap">
<div data-style-id="state0element2block_element0" class="slds-col slds-text-align_center view-all slds-size_12-of-12 " data-rindex={rindex} style="
" ><omnistudio-flex-action data-style-id="state0element2block_element0_child" tracking-obj={_childCardTrackingObj} class= "state0element2block_element0_child flexActionElement"
Expand All @@ -75,13 +77,14 @@
<omnistudio-flex-card-state record={record} data-statue="false" data-index="0" data-rindex={rindex} class="cf-vlocity-state-0 cf-vlocity-state slds-size_12-of-12 " tracking-obj={_childCardTrackingObj} >
<div if:true={cardLoaded} class="slds-grid slds-wrap slds-card " style="
">
<div data-style-id="state0element0" class="slds-col addressheader slds-size_12-of-12 " data-rindex={rindex} style="
<div data-style-id="state0element0" class="slds-col addressheader header-address-bc slds-size_12-of-12 " data-rindex={rindex} style="
" >
<omnistudio-block data-style-id="state0element0_child" card={card} record={record} label="Address Header" collapsible="false" collapsed-by-default="false" theme="slds" ><div class="slds-grid slds-wrap">
<div data-style-id="state0element0block_element0" class="slds-col slds-size_1-of-12 " data-rindex={rindex} style="" ><omnistudio-flex-icon data-style-id="state0element0block_element0_child" card={card} record={record} icon-type="Salesforce SVG" icon-name="custom:custom64" size="small" extraclass="slds-icon_container slds-icon-custom-custom64" variant="inverse" imgsrc="" theme="slds" ></omnistudio-flex-icon>
<div data-style-id="state0element0block_element0" class="slds-col heading-left-icon-cont slds-size_1-of-12 " data-rindex={rindex} style="
" ><omnistudio-flex-icon data-style-id="state0element0block_element0_child" card={card} record={record} icon-type="Salesforce SVG" icon-name="custom:custom64" size="small" extraclass="slds-icon_container slds-icon-custom-custom64" variant="inverse" imgsrc="" theme="slds" ></omnistudio-flex-icon>
</div><div data-style-id="state0element0block_element1" class="slds-col addressInformtext slds-size_9-of-12 " data-rindex={rindex} style="
" ><omnistudio-output-field data-style-id="state0element0block_element1_child" card={card} record={record} merge-field="%3Cdiv%3E%3Cstrong%3E%3Cspan%20style=%22font-size:%2014pt;%22%3EAddress%20Information%20(%7BAddressCount%7D)%3C/span%3E%3C/strong%3E%3C/div%3E" theme="slds" ></omnistudio-output-field>
</div><div data-style-id="state0element0block_element2" class="slds-col slds-size_1-of-12 " data-rindex={rindex} style="
</div><div data-style-id="state0element0block_element2" class="slds-col menudropdown slds-size_1-of-12 " data-rindex={rindex} style="
" >
<omnistudio-flex-menu data-style-id="state0element0block_element2_child"
onupdateos={updateOmniscript} onselectcards={updateSelectedCards} onsetvalue={updateAction} card={card} record={record} type="action" size="xx-small" variant="outline-brand" icon-name="utility:down" overflow="true" position="right" icon-position="left" icon-size="x-small"
Expand Down Expand Up @@ -109,9 +112,10 @@
</omnistudio-flex-menu>
</div>
</div></omnistudio-block>
</div><div data-style-id="state0element1" class="slds-col slds-size_12-of-12 " data-rindex={rindex} style="" ><c-cf-display-address-information-child data-style-id="state0element1_child" tracking-obj={_childCardTrackingObj} is-inside-parent={insideParent} parent-uniquekey={uniqueKey} card-node="\{record.Account}" parent-record={record} records={_records} parent-mergefields={card} record-id={recordId} is-child-card-tracking-enabled="false" object-api-name={objectApiName} theme="slds" onupdateparent={updateParentData}></c-cf-display-address-information-child>
</div><div data-style-id="state0element1" class="slds-col address-block slds-size_12-of-12 " data-rindex={rindex} style="
" ><c-cf-display-address-information-child data-style-id="state0element1_child" tracking-obj={_childCardTrackingObj} is-inside-parent={insideParent} parent-uniquekey={uniqueKey} card-node="\{record.Account}" parent-record={record} records={_records} parent-mergefields={card} record-id={recordId} is-child-card-tracking-enabled="false" object-api-name={objectApiName} theme="slds" onupdateparent={updateParentData}></c-cf-display-address-information-child>
</div><div data-style-id="state0element2" class="slds-col bottomheader slds-size_12-of-12 " data-rindex={rindex} style="
height:63.45px; " >
" >
<omnistudio-block data-style-id="state0element2_child" card={card} record={record} label="Address Footer" collapsible="false" collapsed-by-default="false" theme="slds" ><div class="slds-grid slds-wrap">
<div data-style-id="state0element2block_element0" class="slds-col slds-text-align_center view-all slds-size_12-of-12 " data-rindex={rindex} style="
" ><omnistudio-flex-action data-style-id="state0element2block_element0_child" tracking-obj={_childCardTrackingObj} class= "state0element2block_element0_child flexActionElement"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ import { FlexCardMixin } from "omnistudio/flexCardMixin";

this.setDefinition(data);
this.registerEvents();
this.setAttribute(
"class", (this.getAttribute("class") ? this.getAttribute("class") : "") +
" card-0koAs0000000MN7IAM"
);
this.loadCustomStylesheetAttachement("00PAs000000fHJRMA2");


}
Expand Down
Loading