-
Notifications
You must be signed in to change notification settings - Fork 1
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 #453 from lblod/karel/lmb-809-library-of-fields
library of fields
- Loading branch information
Showing
17 changed files
with
313 additions
and
30 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<RdfInputFields::CustomFieldWrapper | ||
@field={{@field}} | ||
@form={{@form}} | ||
@formStore={{@formStore}} | ||
> | ||
<div class="au-o-box au-u-background-gray-100 au-u-margin-top-tiny"> | ||
<RdfInputFields::AddressSelector | ||
@inTable={{true}} | ||
@field={{@field}} | ||
@form={{@form}} | ||
@formStore={{@formStore}} | ||
@graphs={{@graphs}} | ||
@sourceNode={{@sourceNode}} | ||
@forceShowErrors={{@forceShowErrors}} | ||
@cacheConditionals={{@cacheConditionals}} | ||
@show={{@show}} | ||
/> | ||
</div> | ||
</RdfInputFields::CustomFieldWrapper> |
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,19 @@ | ||
<RdfInputFields::CustomFieldWrapper | ||
@inline={{true}} | ||
@field={{@field}} | ||
@form={{@form}} | ||
@formStore={{@formStore}} | ||
> | ||
<RdfInputFields::RdfDateInput | ||
@inTable={{true}} | ||
@field={{@field}} | ||
@form={{@form}} | ||
@formStore={{@formStore}} | ||
@graphs={{@graphs}} | ||
@sourceNode={{@sourceNode}} | ||
@forceShowErrors={{@forceShowErrors}} | ||
@cacheConditionals={{@cacheConditionals}} | ||
@show={{@show}} | ||
/> | ||
|
||
</RdfInputFields::CustomFieldWrapper> |
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<RdfInputFields::CustomFieldWrapper | ||
@inline={{true}} | ||
@field={{@field}} | ||
@form={{@form}} | ||
@formStore={{@formStore}} | ||
> | ||
<RdfInputFields::NumericalInput | ||
@inTable={{true}} | ||
@field={{@field}} | ||
@form={{@form}} | ||
@formStore={{@formStore}} | ||
@graphs={{@graphs}} | ||
@sourceNode={{@sourceNode}} | ||
@forceShowErrors={{@forceShowErrors}} | ||
@cacheConditionals={{@cacheConditionals}} | ||
@show={{@show}} | ||
/> | ||
|
||
</RdfInputFields::CustomFieldWrapper> |
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<RdfInputFields::CustomFieldWrapper | ||
@inline={{true}} | ||
@field={{@field}} | ||
@form={{@form}} | ||
@formStore={{@formStore}} | ||
> | ||
<RdfInputFields::TextArea | ||
@inTable={{true}} | ||
@field={{@field}} | ||
@form={{@form}} | ||
@formStore={{@formStore}} | ||
@graphs={{@graphs}} | ||
@sourceNode={{@sourceNode}} | ||
@forceShowErrors={{@forceShowErrors}} | ||
@cacheConditionals={{@cacheConditionals}} | ||
@show={{@show}} | ||
/> | ||
|
||
</RdfInputFields::CustomFieldWrapper> |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import Model, { attr } from '@ember-data/model'; | ||
|
||
export default class DisplayTypeModel extends Model { | ||
@attr label; | ||
@attr uri; | ||
} |
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 @@ | ||
import Model, { attr, belongsTo } from '@ember-data/model'; | ||
|
||
export default class LibraryEntryModel extends Model { | ||
@attr uri; | ||
@attr name; | ||
@attr path; | ||
@attr options; | ||
|
||
@belongsTo('displayType', { | ||
async: true, | ||
inverse: null, | ||
}) | ||
displayType; | ||
} |
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.