|
|
@ -69,16 +69,6 @@ export default {
|
|
|
|
this.createWeeksAndDays()
|
|
|
|
this.createWeeksAndDays()
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
onBeforeUpdate() {
|
|
|
|
|
|
|
|
store.trigger(this.state.namespace + 'change', {
|
|
|
|
|
|
|
|
date: this.state.date
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* create weeks and days
|
|
|
|
* create weeks and days
|
|
|
|
*
|
|
|
|
*
|
|
|
@ -138,6 +128,11 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
this.state.date = day
|
|
|
|
this.state.date = day
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
store.trigger(this.state.namespace + 'change', {
|
|
|
|
|
|
|
|
date: this.state.date.clone()
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
this.update()
|
|
|
|
this.update()
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|