<?xml version="1.0" encoding="UTF-8"?>
<extension type="module" client="site" method="upgrade">
	<name>mod_icagenda_calendar</name>
	<author>Cyril Reze</author>
	<creationDate>2026-05-12</creationDate>
	<copyright>Copyright (c) 2012-2026 Cyril Reze / JoomliC. All rights reserved.</copyright>
	<license>GNU General Public License version 3 or later; see LICENSE.txt</license>
	<authorEmail>info@joomlic.com</authorEmail>
	<authorUrl>www.joomlic.com</authorUrl>
	<version>4.0.7</version>
	<description>MOD_ICAGENDA_CALENDAR_XML_DESCRIPTION</description>
	<namespace path="src">WebiC\Module\IcagendaCalendar</namespace>
	<files>
		<folder module="mod_icagenda_calendar">services</folder>
		<folder>src</folder>
		<folder>tmpl</folder>
	</files>
	<languages>
		<language tag="en-GB">language/en-GB/mod_icagenda_calendar.ini</language>
		<language tag="en-GB">language/en-GB/mod_icagenda_calendar.sys.ini</language>
		<language tag="fr-FR">language/fr-FR/mod_icagenda_calendar.ini</language>
		<language tag="fr-FR">language/fr-FR/mod_icagenda_calendar.sys.ini</language>
	</languages>
	<media destination="mod_icagenda_calendar" folder="media">
		<folder>css</folder>
		<folder>js</folder>
		<filename>joomla.asset.json</filename>
	</media>
	<config>
		<fields name="params">

			<fieldset name="basic">

				<field
					name="separator_catalogue"
					type="icagenda.Separator"
					label="MOD_ICAGENDA_CALENDAR_MAIN_PARAMS"
					class="ic-lead ic-lead-bg-light"
					iconprefix="iCicon-"
					icon="calendar-2"
					iconclass="ic-text-info"
					labelclass="ic-text-info"
				/>

				<field
					name="initial_calendar_date"
					type="list"
					label="MOD_ICAGENDA_CALENDAR_INITIAL_CALENDAR_DATE_LABEL"
					description="MOD_ICAGENDA_CALENDAR_INITIAL_CALENDAR_DATE_DESC"
					default=""
					>
					<option value="">MOD_ICAGENDA_CALENDAR_CURRENT_MONTH</option>
					<option value="1">MOD_ICAGENDA_CALENDAR_CUSTOM_MONTH_YEAR</option>
				</field>

				<field
					name="load_on_date"
					type="subform"
					label=""
					multiple="false"
					min="1"
					max="1"
					layout="joomla.form.field.subform.repeatable-table"
					showon="initial_calendar_date:1"
					>
					<form>
						<field
							name="month"
							type="list"
							label="MOD_ICAGENDA_CALENDAR_CUSTOM_MONTH_LABEL"
						>
							<option value="">MOD_ICAGENDA_CALENDAR_CURRENT_MONTH</option>
							<option value="01">JANUARY</option>
							<option value="02">FEBRUARY</option>
							<option value="03">MARCH</option>
							<option value="04">APRIL</option>
							<option value="05">MAY</option>
							<option value="06">JUNE</option>
							<option value="07">JULY</option>
							<option value="08">AUGUST</option>
							<option value="09">SEPTEMBER</option>
							<option value="10">OCTOBER</option>
							<option value="11">NOVEMBER</option>
							<option value="12">DECEMBER</option>
						</field>

						<field
							name="year"
							type="text"
							label="MOD_ICAGENDA_CALENDAR_CUSTOM_YEAR_LABEL"
							description="MOD_ICAGENDA_CALENDAR_CUSTOM_YEAR_DESC"
							maxlength="4"
							filter="integer"
							validate="IC.PositiveInteger"
							default=""
							hint="MOD_ICAGENDA_CALENDAR_CUSTOM_YEAR_PLACEHOLDER"
						/>
					</form>
				</field>

				<field
					name="first_day_of_week"
					type="list"
					label="MOD_ICAGENDA_CALENDAR_FIRST_DAY_OF_WEEK_LABEL"
					default="0"
					>
					<option value="0">MONDAY</option>
					<option value="6">TUESDAY</option>
					<option value="5">WEDNESDAY</option>
					<option value="4">THURSDAY</option>
					<option value="3">FRIDAY</option>
					<option value="2">SATURDAY</option>
					<option value="1">SUNDAY</option>
				</field>

				<field
					name="this_month_only"
					type="radio"
					label="MOD_ICAGENDA_CALENDAR_THIS_MONTH_ONLY_LABEL"
					description="MOD_ICAGENDA_CALENDAR_THIS_MONTH_ONLY_DESC"
					default="0"
					layout="joomla.form.field.radio.switcher"
					>
					<option value="0">JNO</option>
					<option value="1">JYES</option>
				</field>

				<field
					name="today_timezone"
					type="list"
					label="MOD_ICAGENDA_CALENDAR_TODAY_TIMEZONE_LABEL"
					description="MOD_ICAGENDA_CALENDAR_TODAY_TIMEZONE_DESC"
					default="USER"
					>
					<option value="USER">ICAGENDA_JOOMLA_USER_TIMEZONE</option>
					<option value="SITE">ICAGENDA_JOOMLA_WEBSITE_TIMEZONE</option>
					<option value="UTC">ICAGENDA_UTC_TIMEZONE</option>
					<!--option value="VISITOR">ICAGENDA_VISITOR_TIMEZONE</option-->
				</field>

				<field
					name="separator_filters"
					type="icagenda.Separator"
					label="MOD_ICAGENDA_CALENDAR_EVENT_PARAMS"
					class="ic-lead ic-lead-bg-light"
					iconprefix="iCicon-"
					icon="calendar"
					iconclass="ic-text-info"
					labelclass="ic-text-info"
				/>

				<field
					name="separator_event_filters"
					type="icagenda.Separator"
					label="MOD_ICAGENDA_CALENDAR_FILTERS"
					separatortype="subheader"
					class="col-12"
					labelclass="ic-text-info"
				/>

				<field
					name="category_filter"
					type="list"
					label="MOD_ICAGENDA_CALENDAR_FILTERS_CATEGORY_LABEL"
					description="MOD_ICAGENDA_CALENDAR_FILTERS_CATEGORY_DESC"
					default=""
					class="form-select-color-state"
					>
					<option value="">All event categories</option>
					<option value="0">Exclude selected categories</option>
					<option value="1">Include selected categories</option>
				</field>

				<field
					name="category_selection"
					type="icagenda.MultipleCategory"
					label="MOD_ICAGENDA_CALENDAR_FILTERS_CATEGORY_SELECT_LABEL"
					description="MOD_ICAGENDA_CALENDAR_FILTERS_CATEGORY_SELECT_DESC"
					default=""
					multiple="true"
					extension="com_icagenda"
					layout="joomla.form.field.list-fancy-select"
					showon="category_filter!:"
				/>

				<field
					name="full_date_range_event"
					type="list"
					label="MOD_ICAGENDA_CALENDAR_FULL_DATE_RANGE_EVENT_LABEL"
					description="MOD_ICAGENDA_CALENDAR_FULL_DATE_RANGE_EVENT_DESC"
					default=""
					>
					<option value="">MOD_ICAGENDA_CALENDAR_SHOW_ALL_DATES</option>
					<option value="onlystart">MOD_ICAGENDA_CALENDAR_SHOW_ONLY_START_DATE</option>
				</field>

				<field
					name="separator_event_routing"
					type="icagenda.Separator"
					label="MOD_ICAGENDA_CALENDAR_ROUTING"
					separatortype="subheader"
					hr="true"
					class="col-12"
					labelclass="ic-text-info"
				/>

				<field
					name="events_menu_item"
					type="icagenda.EventsMenuItems"
					label="ICAGENDA_MODULE_PARENT_EVENTS_LIST_LABEL"
					description="ICAGENDA_MODULE_MENU_ITEM_DESC"
					default=""
					class="form-select"
				/>

				<field
					name="events_menu_item_filters"
					type="radio"
					label="ICAGENDA_MODULE_MENU_FILTERS_LABEL"
					description="ICAGENDA_MODULE_MENU_FILTERS_DESC"
					default="0"
					layout="joomla.form.field.radio.switcher"
					>
					<option value="0">JNO</option>
					<option value="1">JYES</option>
				</field>
			</fieldset>

			<fieldset
				name="calendar"
				label="MOD_ICAGENDA_CALENDAR_DISPLAY_TITLE"
				description="MOD_ICAGENDA_CALENDAR_DISPLAY_DESCRIPTION"
				>

				<field
					name="separator_style_calendar"
					type="icagenda.Separator"
					label="MOD_ICAGENDA_CALENDAR_MAIN"
					class="ic-lead ic-lead-bg-light"
					iconprefix="iCicon-"
					icon="calendar"
					iconclass="ic-text-info"
					labelclass="ic-text-info"
				/>

				<field
					name="show_week_number"
					type="radio"
					label="MOD_ICAGENDA_CALENDAR_SHOW_WEEK_NUMBER_LABEL"
					description="MOD_ICAGENDA_CALENDAR_SHOW_WEEK_NUMBER_DESC"
					default="0"
					layout="joomla.form.field.radio.switcher"
					>
					<option value="0">JHIDE</option>
					<option value="1">JSHOW</option>
				</field>

				<field
					name="separator_style_day"
					type="icagenda.Separator"
					label="MOD_ICAGENDA_CALENDAR_DAY"
					class="ic-lead ic-lead-bg-light"
					iconprefix="iCicon-"
					icon="calendar-day"
					iconclass="ic-text-info"
					labelclass="ic-text-info"
				/>

				<field
					name="day_a11y"
					type="icagenda.OnlyPro"
					label="MOD_ICAGENDA_CALENDAR_DAY_A11Y_LABEL"
					infopro="MOD_ICAGENDA_CALENDAR_DAY_A11Y_DESC"
					bydefault="ICAGENDA_A11Y_TEXT_SIZE_CONTRAST_NORMAL_WCAG_AA"
				/>

				<field
					name="day_style"
					type="icagenda.OnlyPro"
					label="MOD_ICAGENDA_CALENDAR_DAY_ACTIVE_STYLE_LABEL"
					infopro="MOD_ICAGENDA_CALENDAR_DAY_ACTIVE_STYLE_DESC"
					bydefault="ICAGENDA_STYLE_ROUNDED_MEDIUM"
				/>

				<field
					name="day_event_indicator"
					type="icagenda.OnlyPro"
					label="MOD_ICAGENDA_CALENDAR_DAY_EVENT_INDICATOR_LABEL"
					infopro="MOD_ICAGENDA_CALENDAR_DAY_EVENT_INDICATOR_DESC"
					bydefault="ICAGENDA_INDICATOR_NONE"
				/>

				<field
					name="separator_header_footer"
					type="icagenda.Separator"
					label="MOD_ICAGENDA_CALENDAR_HEADER_AND_FOOTER"
					class="ic-lead ic-lead-bg-light"
					iconprefix="icon-"
					icon="paragraph-left"
					iconclass="ic-text-info"
					labelclass="ic-text-info"
				/>

				<field
					name="header_text"
					type="icagenda.OnlyPro"
					label="MOD_ICAGENDA_CALENDAR_HEADER_TEXT_LABEL"
					infopro="MOD_ICAGENDA_CALENDAR_HEADER_TEXT_DESC"
					filter="\Joomla\CMS\Component\ComponentHelper::filterText"
				/>

				<field
					name="footer_text"
					type="icagenda.OnlyPro"
					label="MOD_ICAGENDA_CALENDAR_FOOTER_TEXT_LABEL"
					infopro="MOD_ICAGENDA_CALENDAR_FOOTER_TEXT_DESC"
					filter="\Joomla\CMS\Component\ComponentHelper::filterText"
				/>
			</fieldset>

			<fieldset
				name="dialog"
				label="MOD_ICAGENDA_CALENDAR_DIALOG_BOX_TITLE"
				description="MOD_ICAGENDA_CALENDAR_DIALOG_BOX_DESCRIPTION"
				>

				<field
					name="separator_dialog_event"
					type="icagenda.Separator"
					label="MOD_ICAGENDA_CALENDAR_DIALOG_EVENT_INFO"
					class="ic-lead ic-lead-bg-light"
					iconprefix="iCicon-"
					icon="info"
					iconclass="ic-text-info"
					labelclass="ic-text-info"
				/>

				<field
					name="show_time"
					type="radio"
					label="MOD_ICAGENDA_CALENDAR_SHOW_TIME_LABEL"
					description="MOD_ICAGENDA_CALENDAR_SHOW_TIME_DESC"
					default="1"
					layout="joomla.form.field.radio.switcher"
					>
					<option value="0">JHIDE</option>
					<option value="1">JSHOW</option>
				</field>

				<field
					name="show_category"
					type="radio"
					label="MOD_ICAGENDA_CALENDAR_SHOW_CATEGORY_LABEL"
					description="MOD_ICAGENDA_CALENDAR_SHOW_CATEGORY_DESC"
					default="0"
					layout="joomla.form.field.radio.switcher"
					>
					<option value="0">JHIDE</option>
					<option value="1">JSHOW</option>
				</field>

				<field
					name="show_venue_name"
					type="radio"
					label="MOD_ICAGENDA_CALENDAR_SHOW_VENUE_NAME_LABEL"
					description="MOD_ICAGENDA_CALENDAR_SHOW_VENUE_NAME_DESC"
					default="1"
					layout="joomla.form.field.radio.switcher"
					>
					<option value="0">JHIDE</option>
					<option value="1">JSHOW</option>
				</field>

				<field
					name="show_city"
					type="radio"
					label="MOD_ICAGENDA_CALENDAR_SHOW_CITY_LABEL"
					description="MOD_ICAGENDA_CALENDAR_SHOW_CITY_DESC"
					default="1"
					layout="joomla.form.field.radio.switcher"
					>
					<option value="0">JHIDE</option>
					<option value="1">JSHOW</option>
				</field>

				<field
					name="show_country"
					type="radio"
					label="MOD_ICAGENDA_CALENDAR_SHOW_COUNTRY_LABEL"
					description="MOD_ICAGENDA_CALENDAR_SHOW_COUNTRY_DESC"
					default="1"
					layout="joomla.form.field.radio.switcher"
					>
					<option value="0">JHIDE</option>
					<option value="1">JSHOW</option>
				</field>

				<field
					name="show_feature_tags"
					type="list"
					label="MOD_ICAGENDA_CALENDAR_SHOW_FEATURE_TAGS_LABEL"
					description="MOD_ICAGENDA_CALENDAR_SHOW_FEATURE_TAGS_DESC"
					default=""
					>
					<option value="">MOD_ICAGENDA_CALENDAR_NO_FEATURE_TAGS</option>
					<option value="1">MOD_ICAGENDA_CALENDAR_FEATURE_TAGS_ICON</option>
					<option value="2">MOD_ICAGENDA_CALENDAR_FEATURE_TAGS_ICON_AND_TITLE</option>
					<option value="3">MOD_ICAGENDA_CALENDAR_FEATURE_TAGS_TITLE</option>
				</field>

				<field
					name="feature_tags_icon_size"
					type="list"
					label="MOD_ICAGENDA_CALENDAR_FEATURE_TAGS_ICONSIZE_LABEL"
					description="MOD_ICAGENDA_CALENDAR_FEATURE_TAGS_ICONSIZE_DESC"
					default="16_bit"
					filter="options"
					showon="show_feature_tags:1,2"
					>
					<option value="16_bit">COM_ICAGENDA_FEATURES_ICONSIZE_16</option>
					<option value="24_bit">COM_ICAGENDA_FEATURES_ICONSIZE_24</option>
					<option value="32_bit">COM_ICAGENDA_FEATURES_ICONSIZE_32</option>
					<option value="48_bit">COM_ICAGENDA_FEATURES_ICONSIZE_48</option>
					<option value="64_bit">COM_ICAGENDA_FEATURES_ICONSIZE_64</option>
				</field>

				<field
					name="intro_text"
					type="list"
					label="COM_ICAGENDA_LIST_INTROTEXT_DISPLAY_LABEL"
					description="COM_ICAGENDA_LIST_INTROTEXT_DISPLAY_DESC"
					default="0"
					>
					<option value="0">JHIDE</option>
					<option value="1">IC_SHORTDESC</option>
					<option value="2">IC_AUTO_INTROTEXT</option>
					<option value="3">IC_AUTO</option>
				</field>

				<field
					name="filtering_shortDesc"
					type="list"
					label="ICAGENDA_FILTERING_SHORTDESC_LABEL"
					description="ICAGENDA_FILTERING_SHORTDESC_DESC"
					default=""
					showon="intro_text!:0[AND]intro_text!:1"
					>
					<option value="">ICAGENDA_GLOBAL_OPTION</option>
					<option value="1">ICAGENDA_FILTERING_NO_HTML</option>
					<option value="2">ICAGENDA_FILTERING_ALL_ITALIC</option>
				</field>

				<field
					name="introtext_limit"
					type="radio"
					label="ICAGENDA_AUTO_INTROTEXT_LIMIT_LABEL"
					description="ICAGENDA_AUTO_INTROTEXT_LIMIT_DESC"
					default="0"
					showon="intro_text!:0[AND]intro_text!:1"
					>
					<option value="0">JGLOBAL_USE_GLOBAL</option>
					<option value="1">COM_ICAGENDA_LBL_CUSTOM_VALUE</option>
				</field>

				<field
					name="introtext_limit_custom"
					type="text"
					label=" "
					class="form-control"
					showon="intro_text!:0[AND]introtext_limit:1"
				/>

				<field
					name="separator_dialog_event_registration"
					type="icagenda.Separator"
					label="MOD_ICAGENDA_CALENDAR_REGISTRATION_TITLE"
					class="ic-lead ic-lead-bg-light"
					iconprefix="iCicon-"
					icon="register"
					iconclass="ic-text-info"
					labelclass="ic-text-info"
				/>

				<field
					name="show_registration_button"
					type="icagenda.OnlyPro"
					label="MOD_ICAGENDA_CALENDAR_SHOW_REGISTRATION_BUTTON_LABEL"
					infopro="MOD_ICAGENDA_CALENDAR_SHOW_REGISTRATION_BUTTON_DESC"
				/>

				<field
					name="show_registration_info"
					type="radio"
					label="MOD_ICAGENDA_CALENDAR_SHOW_REGISTRATION_INFO_LABEL"
					description="MOD_ICAGENDA_CALENDAR_SHOW_REGISTRATION_INFO_DESC"
					default="0"
					layout="joomla.form.field.radio.switcher"
					>
					<option value="0">JHIDE</option>
					<option value="1">JSHOW</option>
				</field>

				<field
					name="separator_dialog_style"
					type="icagenda.Separator"
					label="MOD_ICAGENDA_CALENDAR_STYLE_TITLE"
					class="ic-lead ic-lead-bg-light"
					iconprefix="icon-"
					icon="cogs"
					iconclass="ic-text-info"
					labelclass="ic-text-info"
				/>

				<field
					name="dialog_extra_width"
					type="icagenda.OnlyPro"
					label="MOD_ICAGENDA_CALENDAR_STYLE_DIALOG_EXTRA_WIDTH_LABEL"
					infopro="MOD_ICAGENDA_CALENDAR_STYLE_DIALOG_EXTRA_WIDTH_DESC"
				/>
			</fieldset>

			<fieldset name="advanced">

				<field
					name="layout"
					type="modulelayout"
					label="JFIELD_ALT_LAYOUT_LABEL"
					class="form-select"
					validate="moduleLayout"
				/>

				<field
					name="moduleclass_sfx"
					type="textarea"
					label="COM_MODULES_FIELD_MODULECLASS_SFX_LABEL"
					rows="3"
					validate="CssIdentifier"
				/>

				<field
					name="cache"
					type="list"
					label="COM_MODULES_FIELD_CACHING_LABEL"
					default="1"
					filter="integer"
					validate="options"
					>
					<option value="1">JGLOBAL_USE_GLOBAL</option>
					<option value="0">COM_MODULES_FIELD_VALUE_NOCACHING</option>
				</field>

				<field
					name="cache_time"
					type="number"
					label="COM_MODULES_FIELD_CACHE_TIME_LABEL"
					default="900"
					filter="integer"
				/>

				<field
					name="cachemode"
					type="hidden"
					default="static"
					>
					<option value="static"></option>
				</field>
			</fieldset>
		</fields>
	</config>
</extension>
