Add Calendar Event creation and deletion dialogs (#14036)

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
This commit is contained in:
Allen Porter
2022-11-30 12:20:41 -08:00
committed by GitHub
parent e43f3b193e
commit 9b6e33cfec
19 changed files with 1655 additions and 42 deletions

View File

@@ -9,6 +9,10 @@ import { Constructor } from "../types";
const Component = Vue.extend({
props: {
timePicker: {
type: Boolean,
default: true,
},
twentyfourHours: {
type: Boolean,
default: true,
@@ -37,13 +41,19 @@ const Component = Vue.extend({
type: Number,
default: 1,
},
autoApply: {
type: Boolean,
default: false,
},
},
render(createElement) {
// @ts-ignore
return createElement(DateRangePicker, {
props: {
"time-picker": true,
"auto-apply": false,
// @ts-ignore
"time-picker": this.timePicker,
// @ts-ignore
"auto-apply": this.autoApply,
opens: "right",
"show-dropdowns": false,
// @ts-ignore