<?php
if(!defined('ABSPATH')) exit; setrio_bizcal_get_template_part('vue/part/availability-loader', array()); ?>
<?php 
$bizcalendar_web_key = basename(__FILE__, '.php');
// phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound
$args['key'] = $bizcalendar_web_key;
// phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound
$args['wargs'] = array_replace((isset($args['wargs']) ? $args['wargs'] : array()), array(
	'model_suffix' => '_value',
	'hide-details' => "'always'",
	'texts' => array(
		'required' => setrio_bizcal_message('msgErrAppointmentTimeMissing'),
	),
	'rules' => "[v => (!!\$data['notify_only'] || !!v && !!v.trim().length) || objVal(\$data,'texts." . $bizcalendar_web_key . ".required') || '']",
)); ?>
<?php setrio_bizcal_get_template_part('vue/part/input', $args); ?>
<?php setrio_bizcal_get_template_part('vue/part/availability-alert-no-intervals-inline', $args); ?>
<?php // setrio_bizcal_get_template_part('vue/part/availability-dialog-no-intervals', array()); ?>
<?php // setrio_bizcal_get_template_part('vue/part/availability-dialog-recommended-intervals', array()); ?>
<?php setrio_bizcal_get_template_part('vue/part/availability-panels', $args); ?>