novo-elements
Version:
Bullhorn's NOVO Element Repository for Angular 2
1 lines • 5.11 kB
JSON
[{"__symbolic":"module","version":3,"metadata":{"CardBestTimeElement":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"novo-card-best-time","template":"\n <label *ngIf=\"!hideLabel\" [attr.data-automation-id]=\"dataAutomationId + '-label'\">{{ label }}</label>\n <div class=\"best-time\">\n <i [attr.data-automation-id]=\"dataAutomationId + '-icon'\" [ngClass]=\"[timeIcon, timeStyle]\"></i>\n <div class=\"time-and-day\">\n <span class=\"time\" [ngClass]=\"timeStyle\" [attr.data-automation-id]=\"dataAutomationId + '-time'\">{{ time }}</span>\n <div class=\"days\" [attr.data-automation-id]=\"dataAutomationId + '-days'\">\n <span class=\"day\" [class.active]=\"dayLowerCase === 'sunday'\" [attr.data-automation-id]=\"'sunday'\">S</span>\n <span class=\"day\" [class.active]=\"dayLowerCase === 'monday'\" [attr.data-automation-id]=\"'monday'\">M</span>\n <span class=\"day\" [class.active]=\"dayLowerCase === 'tuesday'\" [attr.data-automation-id]=\"'tuesday'\">T</span>\n <span class=\"day\" [class.active]=\"dayLowerCase === 'wednesday'\" [attr.data-automation-id]=\"'wednesday'\">W</span>\n <span class=\"day\" [class.active]=\"dayLowerCase === 'thursday'\" [attr.data-automation-id]=\"'thursday'\">T</span>\n <span class=\"day\" [class.active]=\"dayLowerCase === 'friday'\" [attr.data-automation-id]=\"'friday'\">F</span>\n <span class=\"day\" [class.active]=\"dayLowerCase === 'saturday'\" [attr.data-automation-id]=\"'saturday'\">S</span>\n </div>\n </div>\n </div>\n "}]}],"members":{"label":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"time":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"day":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"hideLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngOnChanges":[{"__symbolic":"method"}],"getTimeOfDayStyleAndIcon":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"CardBestTimeElement":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"novo-card-best-time","template":"\n <label *ngIf=\"!hideLabel\" [attr.data-automation-id]=\"dataAutomationId + '-label'\">{{ label }}</label>\n <div class=\"best-time\">\n <i [attr.data-automation-id]=\"dataAutomationId + '-icon'\" [ngClass]=\"[timeIcon, timeStyle]\"></i>\n <div class=\"time-and-day\">\n <span class=\"time\" [ngClass]=\"timeStyle\" [attr.data-automation-id]=\"dataAutomationId + '-time'\">{{ time }}</span>\n <div class=\"days\" [attr.data-automation-id]=\"dataAutomationId + '-days'\">\n <span class=\"day\" [class.active]=\"dayLowerCase === 'sunday'\" [attr.data-automation-id]=\"'sunday'\">S</span>\n <span class=\"day\" [class.active]=\"dayLowerCase === 'monday'\" [attr.data-automation-id]=\"'monday'\">M</span>\n <span class=\"day\" [class.active]=\"dayLowerCase === 'tuesday'\" [attr.data-automation-id]=\"'tuesday'\">T</span>\n <span class=\"day\" [class.active]=\"dayLowerCase === 'wednesday'\" [attr.data-automation-id]=\"'wednesday'\">W</span>\n <span class=\"day\" [class.active]=\"dayLowerCase === 'thursday'\" [attr.data-automation-id]=\"'thursday'\">T</span>\n <span class=\"day\" [class.active]=\"dayLowerCase === 'friday'\" [attr.data-automation-id]=\"'friday'\">F</span>\n <span class=\"day\" [class.active]=\"dayLowerCase === 'saturday'\" [attr.data-automation-id]=\"'saturday'\">S</span>\n </div>\n </div>\n </div>\n "}]}],"members":{"label":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"time":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"day":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"hideLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngOnChanges":[{"__symbolic":"method"}],"getTimeOfDayStyleAndIcon":[{"__symbolic":"method"}]}}}}]