@xuda.io/runtime-bundle 1.0.736 → 1.0.738
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
|
@@ -11613,7 +11613,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
11613
11613
|
};
|
|
11614
11614
|
|
|
11615
11615
|
get_selectors();
|
|
11616
|
-
console.log('selectors>>>>', selectors);
|
|
11616
|
+
// console.log('selectors>>>>', selectors);
|
|
11617
11617
|
for await (let [elem_key, elem_val] of Object.entries(selectors)) {
|
|
11618
11618
|
if (elem_key === 'length') break;
|
|
11619
11619
|
|
|
@@ -11639,11 +11639,8 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
11639
11639
|
if (!elem_val?.$elm?.data()?.xuAttributes) continue;
|
|
11640
11640
|
|
|
11641
11641
|
if (elem_val.attributes.includes('xu-exp:xu-render')) {
|
|
11642
|
-
|
|
11643
|
-
|
|
11644
|
-
} catch (error) {
|
|
11645
|
-
debugger;
|
|
11646
|
-
}
|
|
11642
|
+
var res = await func.expression.get(SESSION_ID, elem_val.$elm.data().xuAttributes['xu-exp:xu-render'], elem_val.$elm.data().xuData.paramsP.dsSessionP, 'UI Property EXP', elem_val.$elm.data().xuData.recordid);
|
|
11643
|
+
|
|
11647
11644
|
var attr_value = await func.common.get_cast_val(SESSION_ID, 'refresh xu-attributes', 'xu-render', 'bool', res.result);
|
|
11648
11645
|
|
|
11649
11646
|
if (!attr_value && elem_val.$elm[0].tagName === 'XURENDER') continue; // bypass job
|
|
@@ -13100,6 +13097,10 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
13100
13097
|
let properties = _.clone(plugin_index_resources.properties);
|
|
13101
13098
|
for await (let [prop_name, prop_val] of Object.entries(properties)) {
|
|
13102
13099
|
prop_val.value = value?.attributes?.[prop_name];
|
|
13100
|
+
if (value?.attributes?.[`xu-exp:${prop_name}`]) {
|
|
13101
|
+
const res = await func.expression.get(SESSION_ID, `xu-exp:${prop_name}`, paramsP.dsSessionP, 'UI Attr EXP');
|
|
13102
|
+
prop_val.value = res.result;
|
|
13103
|
+
}
|
|
13103
13104
|
}
|
|
13104
13105
|
|
|
13105
13106
|
const plugin_runtime_src = await func.utils.get_plugin_npm_cdn(SESSION_ID, plugin_name, `${_plugin.manifest['runtime.mjs'].dist ? 'dist/' : ''}runtime.mjs`);
|
|
@@ -9323,7 +9323,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
9323
9323
|
};
|
|
9324
9324
|
|
|
9325
9325
|
get_selectors();
|
|
9326
|
-
console.log('selectors>>>>', selectors);
|
|
9326
|
+
// console.log('selectors>>>>', selectors);
|
|
9327
9327
|
for await (let [elem_key, elem_val] of Object.entries(selectors)) {
|
|
9328
9328
|
if (elem_key === 'length') break;
|
|
9329
9329
|
|
|
@@ -9349,11 +9349,8 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
9349
9349
|
if (!elem_val?.$elm?.data()?.xuAttributes) continue;
|
|
9350
9350
|
|
|
9351
9351
|
if (elem_val.attributes.includes('xu-exp:xu-render')) {
|
|
9352
|
-
|
|
9353
|
-
|
|
9354
|
-
} catch (error) {
|
|
9355
|
-
debugger;
|
|
9356
|
-
}
|
|
9352
|
+
var res = await func.expression.get(SESSION_ID, elem_val.$elm.data().xuAttributes['xu-exp:xu-render'], elem_val.$elm.data().xuData.paramsP.dsSessionP, 'UI Property EXP', elem_val.$elm.data().xuData.recordid);
|
|
9353
|
+
|
|
9357
9354
|
var attr_value = await func.common.get_cast_val(SESSION_ID, 'refresh xu-attributes', 'xu-render', 'bool', res.result);
|
|
9358
9355
|
|
|
9359
9356
|
if (!attr_value && elem_val.$elm[0].tagName === 'XURENDER') continue; // bypass job
|
|
@@ -10810,6 +10807,10 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
10810
10807
|
let properties = _.clone(plugin_index_resources.properties);
|
|
10811
10808
|
for await (let [prop_name, prop_val] of Object.entries(properties)) {
|
|
10812
10809
|
prop_val.value = value?.attributes?.[prop_name];
|
|
10810
|
+
if (value?.attributes?.[`xu-exp:${prop_name}`]) {
|
|
10811
|
+
const res = await func.expression.get(SESSION_ID, `xu-exp:${prop_name}`, paramsP.dsSessionP, 'UI Attr EXP');
|
|
10812
|
+
prop_val.value = res.result;
|
|
10813
|
+
}
|
|
10813
10814
|
}
|
|
10814
10815
|
|
|
10815
10816
|
const plugin_runtime_src = await func.utils.get_plugin_npm_cdn(SESSION_ID, plugin_name, `${_plugin.manifest['runtime.mjs'].dist ? 'dist/' : ''}runtime.mjs`);
|