<?php

namespace HulkPlugins\ElementorPro\Forms\AdvancedFields\Fields\Week;

use HulkPlugins\ElementorPro\Forms\AdvancedFields\Fields\FieldBase;
use const HulkPlugins\ElementorPro\Forms\AdvancedFields\PREFIX;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

class Field extends FieldBase {

	public $depended_styles = [ 'flatpickr', PREFIX . 'Week' ];
	public $depended_scripts = [ PREFIX . 'Week' ];

	protected bool $showStyleTab = false;

	/**
	 * Get field type.
	 * @return string
	 */
	public function get_type(): string {
		return PREFIX . 'native_week';
	}

	/**
	 * Get field name.
	 * @return string
	 */
	public function get_name(): string {
		return esc_attr__( 'Week', 'advanced-fields-for-elementor-forms' );
	}
}
