mirror of
https://github.com/ZwareBear/awx.git
synced 2026-03-31 13:13:36 -05:00
35 lines
863 B
JavaScript
35 lines
863 B
JavaScript
const templateUrl = require('~components/list/row-item.partial.html');
|
|
|
|
function atRowItem () {
|
|
return {
|
|
restrict: 'E',
|
|
replace: true,
|
|
transclude: true,
|
|
templateUrl,
|
|
scope: {
|
|
inline: '@',
|
|
badge: '@',
|
|
headerValue: '@',
|
|
headerLink: '@',
|
|
headerState: '@',
|
|
headerTag: '@',
|
|
secondaryTag: '@',
|
|
status: '@',
|
|
statusTip: '@',
|
|
statusClick: '&?',
|
|
labelValue: '@',
|
|
labelLink: '@',
|
|
labelState: '@',
|
|
value: '@',
|
|
valueLink: '@',
|
|
valueBindHtml: '@',
|
|
smartStatus: '=?',
|
|
tagValues: '=?',
|
|
// TODO: add see more for tags if applicable
|
|
tagsAreCreds: '@'
|
|
}
|
|
};
|
|
}
|
|
|
|
export default atRowItem;
|