@xuda.io/runtime-bundle 1.0.441 → 1.0.443
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
|
@@ -8638,6 +8638,7 @@ func.UI.utils.get_panels_wrapper_from_dom = async function (SESSION_ID, $xu_embe
|
|
|
8638
8638
|
var $panel_div = $(elem_val);
|
|
8639
8639
|
|
|
8640
8640
|
const panelXuAttributes = $panel_div?.data().xuPanelWrapper?.panelXuAttributes;
|
|
8641
|
+
const panelDivData = $panel_div?.data().xuPanelWrapper?.panelDivData;
|
|
8641
8642
|
|
|
8642
8643
|
if (!panelXuAttributes) continue; // skip if no longer in dom
|
|
8643
8644
|
|
|
@@ -8652,7 +8653,7 @@ func.UI.utils.get_panels_wrapper_from_dom = async function (SESSION_ID, $xu_embe
|
|
|
8652
8653
|
|
|
8653
8654
|
if (!panels_obj[xu_ui_id]) {
|
|
8654
8655
|
var _session = SESSION_OBJ[SESSION_ID];
|
|
8655
|
-
let _ds = _session?.DS_GLB[
|
|
8656
|
+
let _ds = _session?.DS_GLB[panelDivData.xuData.paramsP.dsSessionP];
|
|
8656
8657
|
|
|
8657
8658
|
let prog_doc = await func.utils.DOCS_OBJ.get(SESSION_ID, _ds.prog_id);
|
|
8658
8659
|
if (!ignore_disableAutoRefresh && prog_doc.properties.disableAutoRefresh) {
|
|
@@ -13106,7 +13107,7 @@ func.UI.screen.panel_post_render_handler = async function (
|
|
|
13106
13107
|
};
|
|
13107
13108
|
var $old_panel_div = find_old_panels_elements();
|
|
13108
13109
|
const set_xuPanelData_to_the_new_rendered_items = () => {
|
|
13109
|
-
$container.data().xuPanelWrapper = { isWrapper: true, panelXuAttributes: _.clone($wrapper.data().xuAttributes),
|
|
13110
|
+
$container.data().xuPanelWrapper = { isWrapper: true, panelXuAttributes: _.clone($wrapper.data().xuAttributes), panelDivData: _.clone($wrapper.data()) };
|
|
13110
13111
|
$.each($wrapper.children(), function (key, val) {
|
|
13111
13112
|
if (!$(val).data().xuPanelData) {
|
|
13112
13113
|
$(val).data().xuPanelData = {};
|
|
@@ -8639,6 +8639,7 @@ func.UI.utils.get_panels_wrapper_from_dom = async function (SESSION_ID, $xu_embe
|
|
|
8639
8639
|
var $panel_div = $(elem_val);
|
|
8640
8640
|
|
|
8641
8641
|
const panelXuAttributes = $panel_div?.data().xuPanelWrapper?.panelXuAttributes;
|
|
8642
|
+
const panelDivData = $panel_div?.data().xuPanelWrapper?.panelDivData;
|
|
8642
8643
|
|
|
8643
8644
|
if (!panelXuAttributes) continue; // skip if no longer in dom
|
|
8644
8645
|
|
|
@@ -8653,7 +8654,7 @@ func.UI.utils.get_panels_wrapper_from_dom = async function (SESSION_ID, $xu_embe
|
|
|
8653
8654
|
|
|
8654
8655
|
if (!panels_obj[xu_ui_id]) {
|
|
8655
8656
|
var _session = SESSION_OBJ[SESSION_ID];
|
|
8656
|
-
let _ds = _session?.DS_GLB[
|
|
8657
|
+
let _ds = _session?.DS_GLB[panelDivData.xuData.paramsP.dsSessionP];
|
|
8657
8658
|
|
|
8658
8659
|
let prog_doc = await func.utils.DOCS_OBJ.get(SESSION_ID, _ds.prog_id);
|
|
8659
8660
|
if (!ignore_disableAutoRefresh && prog_doc.properties.disableAutoRefresh) {
|
|
@@ -11179,7 +11180,7 @@ func.UI.screen.panel_post_render_handler = async function (
|
|
|
11179
11180
|
};
|
|
11180
11181
|
var $old_panel_div = find_old_panels_elements();
|
|
11181
11182
|
const set_xuPanelData_to_the_new_rendered_items = () => {
|
|
11182
|
-
$container.data().xuPanelWrapper = { isWrapper: true, panelXuAttributes: _.clone($wrapper.data().xuAttributes),
|
|
11183
|
+
$container.data().xuPanelWrapper = { isWrapper: true, panelXuAttributes: _.clone($wrapper.data().xuAttributes), panelDivData: _.clone($wrapper.data()) };
|
|
11183
11184
|
$.each($wrapper.children(), function (key, val) {
|
|
11184
11185
|
if (!$(val).data().xuPanelData) {
|
|
11185
11186
|
$(val).data().xuPanelData = {};
|