-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Lisa Backer
committed
Oct 30, 2020
1 parent
6654cfc
commit f834589
Showing
16 changed files
with
5,073 additions
and
1,393 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 |
---|---|---|
|
@@ -4,7 +4,6 @@ | |
|
||
root = true | ||
|
||
|
||
[*] | ||
end_of_line = lf | ||
charset = utf-8 | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
'use strict'; | ||
|
||
module.exports = { | ||
extends: 'recommended' | ||
extends: 'octane' | ||
}; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,55 @@ | ||
{{#if includeBlank}} | ||
{{#if this.includeBlank}} | ||
<option value="" | ||
disabled={{promptIsDisabled}} | ||
selected={{if nothingSelected "selected"}}> | ||
{{prompt}} | ||
disabled={{this.promptIsDisabled}} | ||
selected={{if this.nothingSelected "selected"}}> | ||
{{this.prompt}} | ||
</option> | ||
{{/if}} | ||
{{#if hasGrouping}} | ||
{{#each optionGroups as |optionGroup groupIndex|}} | ||
{{#if this.hasGrouping}} | ||
{{#each this.optionGroups as |optionGroup groupIndex|}} | ||
<optgroup label={{optionGroup.groupName}}> | ||
{{#each optionGroup.options as |option index|}} | ||
{{#if hasBlock}} | ||
{{#one-way-select/option | ||
selected=selectedValue | ||
option=option | ||
optionValuePath=computedOptionValuePath | ||
optionTargetPath=optionTargetPath}} | ||
<OneWaySelect::option | ||
@selected={{this.selectedValue}} | ||
@option={{option}} | ||
@optionValuePath={{this.computedOptionValuePath}} | ||
@optionTargetPath={{@optionTargetPath}}> | ||
{{yield option index groupIndex}} | ||
{{/one-way-select/option}} | ||
</OneWaySelect::option> | ||
{{else}} | ||
{{one-way-select/option | ||
selected=selectedValue | ||
option=option | ||
index=index | ||
groupIndex=groupIndex | ||
optionComponent=optionComponent | ||
optionValuePath=computedOptionValuePath | ||
optionTargetPath=optionTargetPath | ||
optionLabelPath=optionLabelPath}} | ||
<OneWaySelect::option | ||
@selected={{this.selectedValue}} | ||
@option={{option}} | ||
@index={{index}} | ||
@groupIndex={{groupIndex}} | ||
@optionComponent={{@optionComponent}} | ||
@optionValuePath={{this.computedOptionValuePath}} | ||
@optionTargetPath={{@optionTargetPath}} | ||
@optionLabelPath={{@optionLabelPath}} /> | ||
{{/if}} | ||
{{/each}} | ||
</optgroup> | ||
{{/each}} | ||
{{else}} | ||
{{#each options as |option index|}} | ||
{{#each this.options as |option index|}} | ||
{{#if hasBlock}} | ||
{{#one-way-select/option | ||
selected=selectedValue | ||
option=option | ||
optionValuePath=computedOptionValuePath | ||
optionTargetPath=optionTargetPath}} | ||
<OneWaySelect::Option | ||
@selected={{this.selectedValue}} | ||
@option={{@option}} | ||
@optionValuePath={{this.computedOptionValuePath}} | ||
@optionTargetPath={{@optionTargetPath}}> | ||
{{yield option index}} | ||
{{/one-way-select/option}} | ||
</OneWaySelect::Option> | ||
{{else}} | ||
{{one-way-select/option | ||
selected=selectedValue | ||
option=option | ||
index=index | ||
optionComponent=optionComponent | ||
optionValuePath=computedOptionValuePath | ||
optionTargetPath=optionTargetPath | ||
optionLabelPath=optionLabelPath}} | ||
<OneWaySelect::Option | ||
@selected={{this.selectedValue}} | ||
@option={{option}} | ||
@index={{index}} | ||
@optionComponent={{@optionComponent}} | ||
@optionValuePath={{this.computedOptionValuePath}} | ||
@optionTargetPath={{@optionTargetPath}} | ||
@optionLabelPath={{@optionLabelPath}} /> | ||
{{/if}} | ||
{{/each}} | ||
{{/if}} |
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,19 +1,19 @@ | ||
<option value={{if optionValuePath (get option optionValuePath) option}} | ||
selected={{one-way-select/contains selected option optionValuePath optionTargetPath}}> | ||
<option value={{if @optionValuePath (get @option @optionValuePath) @option}} | ||
selected={{one-way-select/contains @selected @option @optionValuePath @optionTargetPath}}> | ||
{{#if hasBlock}} | ||
{{yield}} | ||
{{else if optionComponent}} | ||
{{component optionComponent | ||
option=option | ||
index=index | ||
groupIndex=groupIndex}} | ||
{{else if optionLabelPath}} | ||
{{get option optionLabelPath}} | ||
{{else if optionValuePath}} | ||
{{get option optionValuePath}} | ||
{{else if optionTargetPath}} | ||
{{get option optionTargetPath}} | ||
{{else if @optionComponent}} | ||
{{component @optionComponent | ||
option=@option | ||
index=@index | ||
groupIndex=@groupIndex}} | ||
{{else if @optionLabelPath}} | ||
{{get @option @optionLabelPath}} | ||
{{else if @optionValuePath}} | ||
{{get @option @optionValuePath}} | ||
{{else if @optionTargetPath}} | ||
{{get @option @optionTargetPath}} | ||
{{else}} | ||
{{option}} | ||
{{@option}} | ||
{{/if}} | ||
</option> |
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.