import { r as registerInstance, h, H as Host } from './index-b6f10a81.js';

const takvimCreateCustomAvailabilityFormCss = "takvim-create-custom-availability-form{display:flex;flex-direction:column;width:100%}takvim-create-custom-availability-form dvn-form-field{min-width:160px}";

const TakvimCreateCustomAvailabilityForm = class {
  constructor(hostRef) {
    registerInstance(this, hostRef);
    this.breakDuration = 0;
    this.endHour = 5;
    this.endMinute = 0;
    this.location = '';
    this.meetingDuration = 60;
    this.startHour = 9;
    this.startMinute = 0;
    this.videoConferencePlatform = 'none';
  }
  render() {
    const { breakDuration, endHour, endMinute, location, meetingDuration, startHour, startMinute, videoConferencePlatform, } = this;
    return (h(Host, null, h("div", { class: "d-flex" }, h("dvn-form-field", { required: true, fieldTitle: "Start Time" }, h("dvn-time-picker", { hour: startHour, minute: startMinute })), h("dvn-form-field", { required: true, fieldTitle: "End Time" }, h("dvn-time-picker", { hour: endHour, minute: endMinute }))), h("dvn-form-field", { required: true, fieldTitle: "Meeting Duration" }, h("dvn-select", { leaned: true, value: `${meetingDuration}` }, h("dvn-select-option", { value: "15" }, "15 minutes"), h("dvn-select-option", { value: "30" }, "30 minutes"), h("dvn-select-option", { value: "45" }, "45 minutes"), h("dvn-select-option", { value: "60" }, "60 minutes"), h("dvn-select-option", { value: "90" }, "1.5 Hours"), h("dvn-select-option", { value: "120" }, "2 Hours"), h("dvn-select-option", { value: "150" }, "2.5 Hours"), h("dvn-select-option", { value: "180" }, "3 Hours"))), h("dvn-form-field", { required: true, fieldTitle: "Breaks Between Meetings" }, h("dvn-select", { leaned: true, value: `${breakDuration}` }, h("dvn-select-option", { value: "0" }, "None"), h("dvn-select-option", { value: "5" }, "5 minutes"), h("dvn-select-option", { value: "10" }, "10 minutes"), h("dvn-select-option", { value: "15" }, "15 minutes"))), h("dvn-form-field", { required: true, fieldTitle: "Video Conference Platform" }, h("dvn-select", { leaned: true, value: videoConferencePlatform }, h("dvn-select-option", { value: "none" }, "None"), h("dvn-select-option", { value: "jitsi" }, "Jitsi Meet"), h("dvn-select-option", { value: "zoom" }, "ZOOM"))), h("dvn-form-field", { fieldTitle: "Location" }, h("dvn-input", { leaned: true, value: location }))));
  }
};
TakvimCreateCustomAvailabilityForm.style = takvimCreateCustomAvailabilityFormCss;

export { TakvimCreateCustomAvailabilityForm as takvim_create_custom_availability_form };
