-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #63 from bjanderson70/master
Needed Code Coverage > 75%
- Loading branch information
Showing
22 changed files
with
999 additions
and
152 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,21 @@ | ||
{ | ||
"orgName": "Acme DF18 Enterprise Company", | ||
"orgName": "force-di-scratch-ent", | ||
"edition": "Enterprise", | ||
"features": ["MultiCurrency","AuthorApex"], | ||
"settings": { | ||
"communitiesSettings": { | ||
"enableNetworksEnabled": false | ||
}, | ||
"mobileSettings": { | ||
"enableS1EncryptedStoragePref2": false | ||
}, | ||
"lightningExperienceSettings": { | ||
"enableS1DesktopEnabled": true | ||
"enableS1DesktopEnabled": true | ||
}, | ||
"securitySettings": { | ||
"sessionSettings":{ | ||
"sessionTimeout": "TwelveHours" | ||
} | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -1,9 +1,21 @@ | ||
{ | ||
"orgName": "force-di", | ||
"orgName": "force-di-scratch-dev", | ||
"edition": "Developer", | ||
"features": ["MultiCurrency","AuthorApex"], | ||
"settings": { | ||
"communitiesSettings": { | ||
"enableNetworksEnabled": false | ||
}, | ||
"mobileSettings": { | ||
"enableS1EncryptedStoragePref2": false | ||
}, | ||
"lightningExperienceSettings": { | ||
"enableS1DesktopEnabled": true | ||
"enableS1DesktopEnabled": true | ||
}, | ||
"securitySettings": { | ||
"sessionSettings":{ | ||
"sessionTimeout": "TwelveHours" | ||
} | ||
} | ||
} | ||
} |
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
11 changes: 11 additions & 0 deletions
11
force-di/main/aura/di_injectorAttribute/di_injectorAttributeController.js
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 @@ | ||
({ | ||
// Leon Kempers - handle dynamic value change via event | ||
handleValueChange : function(component, event, helper) { | ||
let name = component.get('v.name'); | ||
let newValue = event.getParam('value'); | ||
|
||
let changeEvent = component.getEvent('attributeChangeEvent'); | ||
changeEvent.setParams({ 'name' : name, 'newValue' : newValue }); | ||
changeEvent.fire(); | ||
} | ||
}) |
8 changes: 8 additions & 0 deletions
8
force-di/main/aura/di_injectorAttributeChangeEvent/di_injectorAttributeChangeEvent.evt
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 @@ | ||
<!-- | ||
Added Event - Leon Kempers | ||
Component Event to indicate when an attribute value has changed | ||
--> | ||
<aura:event type="COMPONENT" description="Event for sending information to encapsulated component"> | ||
<aura:attribute name="name" type="String" /> | ||
<aura:attribute name="newValue" type="String" /> | ||
</aura:event> |
5 changes: 5 additions & 0 deletions
5
...di/main/aura/di_injectorAttributeChangeEvent/di_injectorAttributeChangeEvent.evt-meta.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"?> | ||
<AuraDefinitionBundle xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<apiVersion>48.0</apiVersion> | ||
<description>A Lightning Event Bundle</description> | ||
</AuraDefinitionBundle> |
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
Oops, something went wrong.