const { inject } = Vue;
export default {
name: 'AssignmentEditor',
setup() {
const appState = inject('appState');
return { ...appState };
},
template: `
Shift Date
{{ selectedDate.toLocaleDateString('en-US', { weekday: 'long', month: 'long', day: 'numeric' }) }}
Standard Shifts
Cell Identifier
#cell-{{selectedAgent.id}}-{{formatDateForId(selectedDate)}}
`
};