@xuda.io/runtime-bundle 1.0.891 → 1.0.893
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.
|
@@ -31115,15 +31115,13 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
31115
31115
|
.find('*')
|
|
31116
31116
|
.filter(function () {
|
|
31117
31117
|
// // look if the changed field include in the calling in parameters
|
|
31118
|
-
|
|
31118
|
+
let parameter_in_filed_id;
|
|
31119
31119
|
|
|
31120
31120
|
let attr = [];
|
|
31121
31121
|
|
|
31122
|
-
$.each(
|
|
31122
|
+
$.each($(this).data()?.xuAttributes, function (key, val) {
|
|
31123
31123
|
if (key.substr(0, 3) !== 'xu-') return true;
|
|
31124
31124
|
|
|
31125
|
-
let parameter_in_filed_id; //= elm_data?.xuData?.paramsP?.parameters_raw_obj?.[val.substr(1)] ? val.substr(1) : undefined;
|
|
31126
|
-
|
|
31127
31125
|
if (key === 'xu-bind') {
|
|
31128
31126
|
if (val?.includes?.(val_field) || val?.includes?.(parameter_in_filed_id)) {
|
|
31129
31127
|
attr.push(key);
|
|
@@ -32181,15 +32179,6 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
32181
32179
|
|
|
32182
32180
|
return { abort: true };
|
|
32183
32181
|
},
|
|
32184
|
-
'xu-text': async function ($elm, val) {
|
|
32185
|
-
try {
|
|
32186
|
-
$elm.text(val.value);
|
|
32187
|
-
} catch (error) {
|
|
32188
|
-
console.warn(e);
|
|
32189
|
-
}
|
|
32190
|
-
|
|
32191
|
-
return { abort: true };
|
|
32192
|
-
},
|
|
32193
32182
|
'xu-for': async function ($elm, data) {
|
|
32194
32183
|
// exit if call from rendered xu-for item to prevent infante loop (parent_infoP?.iterate_info indicate call from rendered item)
|
|
32195
32184
|
if (parent_infoP?.iterate_info) return {};
|
|
@@ -34177,7 +34166,6 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34177
34166
|
if (nodeP.content && nodeP.attributes) {
|
|
34178
34167
|
nodeP.attributes['xu-content'] = nodeP.content;
|
|
34179
34168
|
}
|
|
34180
|
-
|
|
34181
34169
|
if (nodeP.tagName === 'xu-widget') {
|
|
34182
34170
|
if (is_skeleton) return;
|
|
34183
34171
|
return await fx['widget']();
|