Release of v3.2.3-beta3

Keep jQuery in dynamicGet area for Joomla 3.
This commit is contained in:
Robot 2024-08-01 19:40:49 +02:00
parent ce13c13f05
commit 3aaa91daf7
Signed by untrusted user: Robot
GPG Key ID: 14DECD44E7E1BB95
7 changed files with 45 additions and 47 deletions

View File

@ -1,10 +1,11 @@
# v3.2.3-beta2 # v3.2.3-beta3
- Fix dynamicGet so that the table values will load again. #1155 - Keep jQuery in dynamicGet area for Joomla 3
# v3.2.3-beta # v3.2.3-beta
- Fix abstract schema class function check default index warring - Fix abstract schema class function check default index warring
- Fix dynamicGet so that the table values will load again. #1155
# v3.2.3-alpha # v3.2.3-alpha

View File

@ -9,7 +9,7 @@ The Component Builder for [Joomla](https://extensions.joomla.org/extension/compo
Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will save you lots of time and money. A real must have! Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will save you lots of time and money. A real must have!
You can install it quite easily and with no limitations. On [gitea](https://git.vdm.dev/joomla/Component-Builder/tags) is the latest release (3.2.3-beta2) with **ALL** its features and **ALL** concepts totally open-source and free! You can install it quite easily and with no limitations. On [gitea](https://git.vdm.dev/joomla/Component-Builder/tags) is the latest release (3.2.3-beta3) with **ALL** its features and **ALL** concepts totally open-source and free!
> Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45) > Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45)
@ -145,10 +145,10 @@ TODO
+ *Name*: [Component Builder](https://git.vdm.dev/joomla/Component-Builder) + *Name*: [Component Builder](https://git.vdm.dev/joomla/Component-Builder)
+ *First Build*: 30th April, 2015 + *First Build*: 30th April, 2015
+ *Last Build*: 1st August, 2024 + *Last Build*: 1st August, 2024
+ *Version*: 3.2.3-beta2 + *Version*: 3.2.3-beta3
+ *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved. + *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved.
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt + *License*: GNU General Public License version 2 or later; see LICENSE.txt
+ *Line count*: **799949** + *Line count*: **799947**
+ *Field count*: **2093** + *Field count*: **2093**
+ *File count*: **5508** + *File count*: **5508**
+ *Folder count*: **482** + *Folder count*: **482**

View File

@ -9,7 +9,7 @@ The Component Builder for [Joomla](https://extensions.joomla.org/extension/compo
Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will save you lots of time and money. A real must have! Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will save you lots of time and money. A real must have!
You can install it quite easily and with no limitations. On [gitea](https://git.vdm.dev/joomla/Component-Builder/tags) is the latest release (3.2.3-beta2) with **ALL** its features and **ALL** concepts totally open-source and free! You can install it quite easily and with no limitations. On [gitea](https://git.vdm.dev/joomla/Component-Builder/tags) is the latest release (3.2.3-beta3) with **ALL** its features and **ALL** concepts totally open-source and free!
> Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45) > Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45)
@ -145,10 +145,10 @@ TODO
+ *Name*: [Component Builder](https://git.vdm.dev/joomla/Component-Builder) + *Name*: [Component Builder](https://git.vdm.dev/joomla/Component-Builder)
+ *First Build*: 30th April, 2015 + *First Build*: 30th April, 2015
+ *Last Build*: 1st August, 2024 + *Last Build*: 1st August, 2024
+ *Version*: 3.2.3-beta2 + *Version*: 3.2.3-beta3
+ *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved. + *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved.
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt + *License*: GNU General Public License version 2 or later; see LICENSE.txt
+ *Line count*: **799949** + *Line count*: **799947**
+ *Field count*: **2093** + *Field count*: **2093**
+ *File count*: **5508** + *File count*: **5508**
+ *Folder count*: **482** + *Folder count*: **482**

View File

@ -641,47 +641,44 @@ jQuery('#adminForm').on('change', '#jform_gettype',function (e)
<?php $fieldNrs = range(0, 50, 1); ?> <?php $fieldNrs = range(0,50,1); ?>
<?php $fieldNames = array('db' => 'Db', 'view' => 'View'); ?> <?php $fieldNames = array('db' => 'Db','view' => 'View'); ?>
// for the vlaues already set // for the vlaues already set
document.addEventListener('DOMContentLoaded', function() { jQuery(document).ready(function(){
<?php foreach($fieldNames as $fieldName => $funcName): ?> <?php foreach($fieldNames as $fieldName => $funcName): ?>
<?php foreach($fieldNrs as $fieldNr): ?> <?php foreach($fieldNrs as $fieldNr): ?>
updateSubItems('<?php echo $fieldName ?>', <?php echo $fieldNr ?>, '_', '_'); updateSubItems('<?php echo $fieldName ?>', <?php echo $fieldNr ?>, '_', '_');
<?php endforeach; ?> <?php endforeach; ?>
<?php endforeach; ?> <?php endforeach; ?>
}); });
// for the values the will still be set // for the values the will still be set
document.addEventListener('DOMContentLoaded', function() { jQuery(document).ready(function(){
document.addEventListener('subform-row-add', function(event) { jQuery(document).on('subform-row-add', function(event, row){
var row = event.detail.row; var groupName = jQuery(row).data('group');
var groupName = row.getAttribute('data-group');
var fieldName = groupName.replace('join_', '').replace('_table', '').replace(/([0-9])/g, ''); var fieldName = groupName.replace('join_', '').replace('_table', '').replace(/([0-9])/g, '');
var fieldNr = groupName.replace(/([A-z_])/g, ''); var fieldNr = groupName.replace(/([A-z_])/g, '');
updateSubItems(fieldName, fieldNr, '_', '_'); updateSubItems(fieldName, fieldNr, '_', '_');
}); });
});
<?php foreach($fieldNames as $fieldName => $funcName): ?> });
document.getElementById('adminForm').addEventListener('change', function(e) { <?php foreach($fieldNames as $fieldName => $funcName): ?>jQuery('#adminForm').on('change', '#jform_<?php echo $fieldName ?>_table_main',function (e) {
if (e.target && e.target.id === 'jform_<?php echo $fieldName ?>_table_main') { // get options
let value_<?php echo $fieldName ?> = e.target.options[e.target.selectedIndex].value; var value_<?php echo $fieldName ?> = jQuery("#jform_<?php echo $fieldName ?>_table_main option:selected").val();
get<?php echo $funcName; ?>TableColumns(value_<?php echo $fieldName ?>, 'a', '<?php echo $fieldName ?>', 3, true, '', ''); get<?php echo $funcName; ?>TableColumns(value_<?php echo $fieldName ?>, 'a', '<?php echo $fieldName ?>', 3, true, '', '');
}
}); });
<?php endforeach; ?> <?php endforeach; ?>
// #jform_add_php_router_parse listeners
document.getElementById('jform_add_php_router_parse').addEventListener('change', function() { jQuery('#jform_add_php_router_parse').on('change',function() {
var valueSwitch = document.querySelector("#jform_add_php_router_parse input[type='radio']:checked").value; var valueSwitch = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val();
getDynamicScripts(valueSwitch); getDynamicScripts(valueSwitch);
}); });
jQuery('#adminForm').on('change', '#jform_select_all',function (e)
document.getElementById('adminForm').addEventListener('change', function(e) { {
if (e.target && e.target.matches('#jform_select_all input[type="radio"]')) {
e.preventDefault(); e.preventDefault();
var selectAll = e.target.value; // get the selected value
setSelectAll(selectAll); var select_all = jQuery("#jform_select_all input[type='radio']:checked").val();
} setSelectAll(select_all);
}); });
<?php <?php

View File

@ -7,9 +7,9 @@
<authorUrl>https://dev.vdm.io</authorUrl> <authorUrl>https://dev.vdm.io</authorUrl>
<copyright>Copyright (C) 2015 Vast Development Method. All rights reserved.</copyright> <copyright>Copyright (C) 2015 Vast Development Method. All rights reserved.</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license> <license>GNU General Public License version 2 or later; see LICENSE.txt</license>
<version>3.2.3-beta2</version> <version>3.2.3-beta3</version>
<description><![CDATA[ <description><![CDATA[
<h1>Component Builder (v.3.2.3-beta2)</h1> <h1>Component Builder (v.3.2.3-beta3)</h1>
<div style="clear: both;"></div> <div style="clear: both;"></div>
<p>The Component Builder for [Joomla](https://extensions.joomla.org/extension/component-builder/) is highly advanced tool that is truly able to build extremely complex components in a fraction of the time. <p>The Component Builder for [Joomla](https://extensions.joomla.org/extension/component-builder/) is highly advanced tool that is truly able to build extremely complex components in a fraction of the time.

View File

@ -202,10 +202,10 @@
<element>pkg_component_builder</element> <element>pkg_component_builder</element>
<type>package</type> <type>package</type>
<client>site</client> <client>site</client>
<version>3.2.3-beta2</version> <version>3.2.3-beta3</version>
<infourl title="Component Builder!">https://dev.vdm.io</infourl> <infourl title="Component Builder!">https://dev.vdm.io</infourl>
<downloads> <downloads>
<downloadurl type="full" format="zip">https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v3.2.3-beta2.zip</downloadurl> <downloadurl type="full" format="zip">https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v3.2.3-beta3.zip</downloadurl>
</downloads> </downloads>
<tags> <tags>
<tag>beta</tag> <tag>beta</tag>

View File

@ -10001,7 +10001,7 @@ class Com_ComponentbuilderInstallerScript
echo '<div style="background-color: #fff;" class="alert alert-info"><a target="_blank" href="https://dev.vdm.io" title="Component Builder"> echo '<div style="background-color: #fff;" class="alert alert-info"><a target="_blank" href="https://dev.vdm.io" title="Component Builder">
<img src="components/com_componentbuilder/assets/images/vdm-component.jpg"/> <img src="components/com_componentbuilder/assets/images/vdm-component.jpg"/>
</a> </a>
<h3>Upgrade to Version 3.2.3-beta2 Was Successful! Let us know if anything is not working as expected.</h3></div>'; <h3>Upgrade to Version 3.2.3-beta3 Was Successful! Let us know if anything is not working as expected.</h3></div>';
// Set db if not set already. // Set db if not set already.
if (!isset($db)) if (!isset($db))