@xuda.io/runtime-bundle 1.0.563 → 1.0.564
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.
|
@@ -32042,6 +32042,11 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
32042
32042
|
return ret;
|
|
32043
32043
|
},
|
|
32044
32044
|
},
|
|
32045
|
+
[`xu-teleport`]: {
|
|
32046
|
+
to: async function ($elm, val) {
|
|
32047
|
+
debugger;
|
|
32048
|
+
},
|
|
32049
|
+
},
|
|
32045
32050
|
};
|
|
32046
32051
|
|
|
32047
32052
|
const load_cdn = async function (resource) {
|
|
@@ -32299,7 +32304,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
32299
32304
|
$xurender.data('xuData', cloned_$div.data().xuData);
|
|
32300
32305
|
$xurender.data().xuData.original_data_obj = original_data_obj;
|
|
32301
32306
|
$xurender.data().xuData.xurender_node = cloned_$div;
|
|
32302
|
-
$xurender.data().xuAttributes = nodeP.attributes;
|
|
32307
|
+
$xurender.data().xuAttributes = nodeP.attributes || {};
|
|
32303
32308
|
$xurender.hide();
|
|
32304
32309
|
|
|
32305
32310
|
$elm.remove();
|
|
@@ -32338,7 +32343,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
32338
32343
|
|
|
32339
32344
|
new_$div.data().xuData.original_data_obj = original_data_obj;
|
|
32340
32345
|
new_$div.data().xuData.xurender_node = $elm.clone(true);
|
|
32341
|
-
new_$div.data().xuAttributes = $elm.data().xuAttributes;
|
|
32346
|
+
new_$div.data().xuAttributes = $elm.data().xuAttributes || {};
|
|
32342
32347
|
|
|
32343
32348
|
const replace = async function () {
|
|
32344
32349
|
$elm.replaceWith(new_$div);
|
|
@@ -32375,15 +32380,15 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
32375
32380
|
// was true before
|
|
32376
32381
|
if ($elm.data().xuData.xurender_node) {
|
|
32377
32382
|
$xurender.data({
|
|
32378
|
-
xuAttributes: $elm.data().xuData.xurender_node.data().xuAttributes,
|
|
32379
|
-
xuData: $elm.data().xuData.xurender_node.data().xuData,
|
|
32383
|
+
xuAttributes: $elm.data().xuData.xurender_node.data().xuAttributes || {},
|
|
32384
|
+
xuData: $elm.data().xuData.xurender_node.data().xuData || {},
|
|
32380
32385
|
});
|
|
32381
32386
|
} else {
|
|
32382
32387
|
// default new state
|
|
32383
32388
|
|
|
32384
32389
|
$xurender.data({
|
|
32385
|
-
xuAttributes: $elm.data().xuAttributes,
|
|
32386
|
-
xuData: $elm.data().xuData,
|
|
32390
|
+
xuAttributes: $elm.data().xuAttributes || {},
|
|
32391
|
+
xuData: $elm.data().xuData || {},
|
|
32387
32392
|
});
|
|
32388
32393
|
$xurender.data().xuData.original_data_obj = {
|
|
32389
32394
|
nodeP: _.cloneDeep($elm.data().xuData.node_org),
|
|
@@ -34060,7 +34065,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34060
34065
|
}
|
|
34061
34066
|
|
|
34062
34067
|
const ret = await iterate_child($div, nodeP, null, null, $div);
|
|
34063
|
-
if ($container.data().xuAttributes) {
|
|
34068
|
+
if (_.isEmpty($container.data().xuAttributes)) {
|
|
34064
34069
|
await func.UI.screen.set_attributes_new(SESSION_ID, is_skeleton, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, $container, true);
|
|
34065
34070
|
}
|
|
34066
34071
|
|
|
@@ -34157,7 +34162,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34157
34162
|
_ds.currentRecordId = val._ROWID;
|
|
34158
34163
|
const ret = await iterate_child($div, node, { continuous_idx }, null, $root_container);
|
|
34159
34164
|
|
|
34160
|
-
if ($container.data().xuAttributes) {
|
|
34165
|
+
if (_.isEmpty($container.data().xuAttributes)) {
|
|
34161
34166
|
await func.UI.screen.set_attributes_new(SESSION_ID, is_skeleton, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, $container, true);
|
|
34162
34167
|
}
|
|
34163
34168
|
}
|