@xuda.io/runtime-bundle 1.0.469 → 1.0.470
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -9073,7 +9073,7 @@ func.UI.refs_garbage_collector = function (SESSION_ID = Object.keys(SESSION_OBJ)
|
|
|
9073
9073
|
const _data_system = _session?.DS_GLB?.[0]?.data_system;
|
|
9074
9074
|
|
|
9075
9075
|
for (const [key, val] of Object.entries(_data_system?.SYS_GLOBAL_OBJ_REFS || {})) {
|
|
9076
|
-
if (!$(`[xu-ui-id='${val.xu_ui_id}`)?.length && !$(`[
|
|
9076
|
+
if (!$(`[xu-ui-id='${val.xu_ui_id}`)?.length && !$(`[xu-panel-wrapper-id='${val.xu_ui_id}`)?.length) {
|
|
9077
9077
|
delete _data_system.SYS_GLOBAL_OBJ_REFS[key];
|
|
9078
9078
|
}
|
|
9079
9079
|
}
|
|
@@ -13079,7 +13079,7 @@ func.UI.screen.panel_post_render_handler = async function (
|
|
|
13079
13079
|
var $old_panel_div = find_old_panels_elements();
|
|
13080
13080
|
const set_xuPanelData_to_the_new_rendered_items = () => {
|
|
13081
13081
|
$container.data().xuPanelWrapper = { isWrapper: true, panelXuAttributes: _.clone($wrapper.data().xuAttributes), panelDivData: _.clone($wrapper.data()) };
|
|
13082
|
-
$container.attr(
|
|
13082
|
+
$container.attr('xuPanelWrapperId', $wrapper.attr('xu-ui-id'));
|
|
13083
13083
|
$.each($wrapper.children(), function (key, val) {
|
|
13084
13084
|
if (!$(val).data().xuPanelData) {
|
|
13085
13085
|
$(val).data().xuPanelData = {};
|
|
@@ -9074,7 +9074,7 @@ func.UI.refs_garbage_collector = function (SESSION_ID = Object.keys(SESSION_OBJ)
|
|
|
9074
9074
|
const _data_system = _session?.DS_GLB?.[0]?.data_system;
|
|
9075
9075
|
|
|
9076
9076
|
for (const [key, val] of Object.entries(_data_system?.SYS_GLOBAL_OBJ_REFS || {})) {
|
|
9077
|
-
if (!$(`[xu-ui-id='${val.xu_ui_id}`)?.length && !$(`[
|
|
9077
|
+
if (!$(`[xu-ui-id='${val.xu_ui_id}`)?.length && !$(`[xu-panel-wrapper-id='${val.xu_ui_id}`)?.length) {
|
|
9078
9078
|
delete _data_system.SYS_GLOBAL_OBJ_REFS[key];
|
|
9079
9079
|
}
|
|
9080
9080
|
}
|
|
@@ -11152,7 +11152,7 @@ func.UI.screen.panel_post_render_handler = async function (
|
|
|
11152
11152
|
var $old_panel_div = find_old_panels_elements();
|
|
11153
11153
|
const set_xuPanelData_to_the_new_rendered_items = () => {
|
|
11154
11154
|
$container.data().xuPanelWrapper = { isWrapper: true, panelXuAttributes: _.clone($wrapper.data().xuAttributes), panelDivData: _.clone($wrapper.data()) };
|
|
11155
|
-
$container.attr(
|
|
11155
|
+
$container.attr('xuPanelWrapperId', $wrapper.attr('xu-ui-id'));
|
|
11156
11156
|
$.each($wrapper.children(), function (key, val) {
|
|
11157
11157
|
if (!$(val).data().xuPanelData) {
|
|
11158
11158
|
$(val).data().xuPanelData = {};
|