- composer and npm updates

This commit is contained in:
Arno Kaimbacher 2020-09-14 13:46:27 +02:00
parent 07c0c8b7db
commit ecaf2b5790
32 changed files with 2214 additions and 2123 deletions

View file

@ -4,7 +4,8 @@ import DeleteButton from "./DeleteButton";
import "leaflet-draw";
import { Component, Inject, Vue, Prop, Watch } from "vue-property-decorator";
import VueToast from "vue-toast-notification";
import "vue-toast-notification/dist/index.css";
// import "vue-toast-notification/dist/index.css";
import 'vue-toast-notification/dist/theme-default.css';
Vue.use(VueToast);
// import ToastedPlugin from 'vue-toasted';

View file

@ -39,11 +39,11 @@ export default class VueCountdown extends Vue {
// };
// },
warningSeconds: Number = this.seconds;
warningSeconds: Number;// = this.seconds;
timer: EasyTimer = null;
time: string = '';
label: string = this.message ? this.message : 'Time\'s up!';
timerUnits = this.units ? this.units : ['hours', 'minutes', 'seconds'];
label: string;// = this.message ? this.message : 'Time\'s up!';
timerUnits: string[];// = this.units ? this.units : ['hours', 'minutes', 'seconds'];
timerOptions = {
startValues: {},
// target: {},
@ -58,6 +58,11 @@ export default class VueCountdown extends Vue {
}
return Date.parse(this.date);
}
mounted() {
this.warningSeconds = this.seconds;
this.label = this.message ? this.message : 'Time\'s up!';
this.timerUnits = this.units ? this.units : ['hours', 'minutes', 'seconds'];
}
created() {
this.timer = new EasyTimer();