34
0
plg_content_componentbuilde.../forms/component_dashboard.xml
Robot facdac81e4
Update on v4.0.0 (changes towards the next release)
Here's an update on the current version, which includes changes towards the next release still in development.
2024-09-20 03:01:45 +02:00

443 lines
14 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- default paths of component_dashboard form points to componentbuilder -->
<form
addruleprefix="VDM\Component\Componentbuilder\Administrator\Rule"
addfieldprefix="VDM\Component\Componentbuilder\Administrator\Field"
>
<fields name="params">
<fieldset name="component_dashboard_headers" label="PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_CLASS_HEADERS">
<fields name="component_dashboard_headers">
<!-- Add_dashboard_view Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_dashboard_view"
label="PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_ADD_DASHBOARD_VIEW_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_YES</option>
<option value="0">
PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_NO</option>
</field>
<!-- Dashboard_view Field. Type: Editor. (joomla) -->
<field
type="editor"
name="dashboard_view"
label="PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_DASHBOARD_VIEW_LABEL"
description="PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_DASHBOARD_VIEW_DESCRIPTION"
width="100%"
height="100px"
cols="15"
rows="10"
buttons="no"
syntax="php"
editor="codemirror|none"
filter="raw"
required="false"
validate="code"
showon="add_dashboard_view:1"
/>
<!-- Power_dashboard_view Field. Type: Subform. (joomla) -->
<field
type="subform"
name="power_dashboard_view"
label="PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_POWER_DASHBOARD_VIEW_LABEL"
layout="joomla.form.field.subform.repeatable-table"
multiple="true"
buttons="add,remove,move"
description="PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_POWER_DASHBOARD_VIEW_DESCRIPTION"
icon="list"
max="50"
showon="add_dashboard_view:1">
<form hidden="true" name="list_power_dashboard_view_modal" repeat="true">
<!-- Power Field. Type: Powers. (custom) -->
<field
type="powers"
name="power"
label="PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_POWER_LABEL"
class="list_class span12"
layout="joomla.form.field.list-fancy-select"
multiple="false"
default="0"
button="false"
/>
<!-- As Field. Type: Text. (joomla) -->
<field
type="text"
name="as"
label="PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_AS_LABEL"
size="10"
maxlength="50"
default="default"
class="text_area"
filter="STRING"
autocomplete="on"
/>
<!-- Build Field. Type: List. (joomla) -->
<field
type="list"
name="build"
label="PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_BUILD_LABEL"
class="list_class"
multiple="false"
default="2">
<!-- Option Set. -->
<option value="1">
PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_ALWAYS</option>
<option value="2">
PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_BASED_ON_COMPONENT</option>
<option value="6">
PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_EXCLUDE</option>
</field>
</form>
</field>
<!-- Add_dashboard_view_html Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_dashboard_view_html"
label="PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_ADD_DASHBOARD_VIEW_HTML_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_YES</option>
<option value="0">
PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_NO</option>
</field>
<!-- Dashboard_view_html Field. Type: Editor. (joomla) -->
<field
type="editor"
name="dashboard_view_html"
label="PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_DASHBOARD_VIEW_HTML_LABEL"
description="PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_DASHBOARD_VIEW_HTML_DESCRIPTION"
width="100%"
height="100px"
cols="15"
rows="10"
buttons="no"
syntax="php"
editor="codemirror|none"
filter="raw"
required="false"
validate="code"
showon="add_dashboard_view_html:1"
/>
<!-- Power_dashboard_view_html Field. Type: Subform. (joomla) -->
<field
type="subform"
name="power_dashboard_view_html"
label="PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_POWER_DASHBOARD_VIEW_HTML_LABEL"
layout="joomla.form.field.subform.repeatable-table"
multiple="true"
buttons="add,remove,move"
description="PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_POWER_DASHBOARD_VIEW_HTML_DESCRIPTION"
icon="list"
max="50"
showon="add_dashboard_view_html:1">
<form hidden="true" name="list_power_dashboard_view_html_modal" repeat="true">
<!-- Power Field. Type: Powers. (custom) -->
<field
type="powers"
name="power"
label="PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_POWER_LABEL"
class="list_class span12"
layout="joomla.form.field.list-fancy-select"
multiple="false"
default="0"
button="false"
/>
<!-- As Field. Type: Text. (joomla) -->
<field
type="text"
name="as"
label="PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_AS_LABEL"
size="10"
maxlength="50"
default="default"
class="text_area"
filter="STRING"
autocomplete="on"
/>
<!-- Build Field. Type: List. (joomla) -->
<field
type="list"
name="build"
label="PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_BUILD_LABEL"
class="list_class"
multiple="false"
default="2">
<!-- Option Set. -->
<option value="1">
PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_ALWAYS</option>
<option value="2">
PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_BASED_ON_COMPONENT</option>
<option value="6">
PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_EXCLUDE</option>
</field>
</form>
</field>
<!-- Add_dashboard_model Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_dashboard_model"
label="PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_ADD_DASHBOARD_MODEL_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_YES</option>
<option value="0">
PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_NO</option>
</field>
<!-- Dashboard_model Field. Type: Editor. (joomla) -->
<field
type="editor"
name="dashboard_model"
label="PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_DASHBOARD_MODEL_LABEL"
description="PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_DASHBOARD_MODEL_DESCRIPTION"
width="100%"
height="100px"
cols="15"
rows="10"
buttons="no"
syntax="php"
editor="codemirror|none"
filter="raw"
required="false"
validate="code"
showon="add_dashboard_model:1"
/>
<!-- Power_dashboard_model Field. Type: Subform. (joomla) -->
<field
type="subform"
name="power_dashboard_model"
label="PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_POWER_DASHBOARD_MODEL_LABEL"
layout="joomla.form.field.subform.repeatable-table"
multiple="true"
buttons="add,remove,move"
description="PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_POWER_DASHBOARD_MODEL_DESCRIPTION"
icon="list"
max="50"
showon="add_dashboard_model:1">
<form hidden="true" name="list_power_dashboard_model_modal" repeat="true">
<!-- Power Field. Type: Powers. (custom) -->
<field
type="powers"
name="power"
label="PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_POWER_LABEL"
class="list_class span12"
layout="joomla.form.field.list-fancy-select"
multiple="false"
default="0"
button="false"
/>
<!-- As Field. Type: Text. (joomla) -->
<field
type="text"
name="as"
label="PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_AS_LABEL"
size="10"
maxlength="50"
default="default"
class="text_area"
filter="STRING"
autocomplete="on"
/>
<!-- Build Field. Type: List. (joomla) -->
<field
type="list"
name="build"
label="PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_BUILD_LABEL"
class="list_class"
multiple="false"
default="2">
<!-- Option Set. -->
<option value="1">
PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_ALWAYS</option>
<option value="2">
PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_BASED_ON_COMPONENT</option>
<option value="6">
PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_EXCLUDE</option>
</field>
</form>
</field>
<!-- Add_dashboard_controller Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_dashboard_controller"
label="PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_ADD_DASHBOARD_CONTROLLER_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_YES</option>
<option value="0">
PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_NO</option>
</field>
<!-- Dashboard_controller Field. Type: Editor. (joomla) -->
<field
type="editor"
name="dashboard_controller"
label="PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_DASHBOARD_CONTROLLER_LABEL"
description="PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_DASHBOARD_CONTROLLER_DESCRIPTION"
width="100%"
height="100px"
cols="15"
rows="10"
buttons="no"
syntax="php"
editor="codemirror|none"
filter="raw"
required="false"
validate="code"
showon="add_dashboard_controller:1"
/>
<!-- Power_dashboard_controller Field. Type: Subform. (joomla) -->
<field
type="subform"
name="power_dashboard_controller"
label="PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_POWER_DASHBOARD_CONTROLLER_LABEL"
layout="joomla.form.field.subform.repeatable-table"
multiple="true"
buttons="add,remove,move"
description="PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_POWER_DASHBOARD_CONTROLLER_DESCRIPTION"
icon="list"
max="50"
showon="add_dashboard_controller:1">
<form hidden="true" name="list_power_dashboard_controller_modal" repeat="true">
<!-- Power Field. Type: Powers. (custom) -->
<field
type="powers"
name="power"
label="PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_POWER_LABEL"
class="list_class span12"
layout="joomla.form.field.list-fancy-select"
multiple="false"
default="0"
button="false"
/>
<!-- As Field. Type: Text. (joomla) -->
<field
type="text"
name="as"
label="PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_AS_LABEL"
size="10"
maxlength="50"
default="default"
class="text_area"
filter="STRING"
autocomplete="on"
/>
<!-- Build Field. Type: List. (joomla) -->
<field
type="list"
name="build"
label="PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_BUILD_LABEL"
class="list_class"
multiple="false"
default="2">
<!-- Option Set. -->
<option value="1">
PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_ALWAYS</option>
<option value="2">
PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_BASED_ON_COMPONENT</option>
<option value="6">
PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_EXCLUDE</option>
</field>
</form>
</field>
<!-- Add_ajax_model Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_ajax_model"
label="PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_ADD_AJAX_MODEL_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_YES</option>
<option value="0">
PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_NO</option>
</field>
<!-- Ajax_model Field. Type: Editor. (joomla) -->
<field
type="editor"
name="ajax_model"
label="PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_AJAX_MODEL_LABEL"
description="PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_AJAX_MODEL_DESCRIPTION"
width="100%"
height="100px"
cols="15"
rows="10"
buttons="no"
syntax="php"
editor="codemirror|none"
filter="raw"
required="false"
validate="code"
showon="add_ajax_model:1"
/>
<!-- Power_ajax_model Field. Type: Subform. (joomla) -->
<field
type="subform"
name="power_ajax_model"
label="PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_POWER_AJAX_MODEL_LABEL"
layout="joomla.form.field.subform.repeatable-table"
multiple="true"
buttons="add,remove,move"
description="PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_POWER_AJAX_MODEL_DESCRIPTION"
icon="list"
max="50"
showon="add_ajax_model:1">
<form hidden="true" name="list_power_ajax_model_modal" repeat="true">
<!-- Power Field. Type: Powers. (custom) -->
<field
type="powers"
name="power"
label="PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_POWER_LABEL"
class="list_class span12"
layout="joomla.form.field.list-fancy-select"
multiple="false"
default="0"
button="false"
/>
<!-- As Field. Type: Text. (joomla) -->
<field
type="text"
name="as"
label="PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_AS_LABEL"
size="10"
maxlength="50"
default="default"
class="text_area"
filter="STRING"
autocomplete="on"
/>
<!-- Build Field. Type: List. (joomla) -->
<field
type="list"
name="build"
label="PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_BUILD_LABEL"
class="list_class"
multiple="false"
default="2">
<!-- Option Set. -->
<option value="1">
PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_ALWAYS</option>
<option value="2">
PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_BASED_ON_COMPONENT</option>
<option value="6">
PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS_EXCLUDE</option>
</field>
</form>
</field>
</fields>
</fieldset>
</fields>
</form>