@xuda.io/runtime-bundle 1.0.252 → 1.0.253
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
|
@@ -14388,7 +14388,7 @@ func.UI.screen.execute_xu_functions = async function (
|
|
|
14388
14388
|
"xu-bind": async function ($elm, val) {
|
|
14389
14389
|
if (is_skeleton) return;
|
|
14390
14390
|
$f = $elm;
|
|
14391
|
-
|
|
14391
|
+
let view_field_id = val.value;
|
|
14392
14392
|
let _prog_id = $elm.data().xuData.paramsP.prog_id;
|
|
14393
14393
|
let _dsP = $elm.data().xuData.paramsP.dsSessionP;
|
|
14394
14394
|
const view_ret = await func.utils.VIEWS_OBJ.get(SESSION_ID, _prog_id);
|
|
@@ -14401,6 +14401,10 @@ func.UI.screen.execute_xu_functions = async function (
|
|
|
14401
14401
|
const iterate_info = $elm?.data()?.xuData?.iterate_info
|
|
14402
14402
|
const reference_source_obj = iterate_info?.reference_source_obj
|
|
14403
14403
|
|
|
14404
|
+
if (reference_source_obj) {
|
|
14405
|
+
view_field_id = (reference_source_obj.fieldIdP || "") + val.value;
|
|
14406
|
+
}
|
|
14407
|
+
|
|
14404
14408
|
if (["_FOR_VAL", "_FOR_KEY"].includes(view_field_id)) {
|
|
14405
14409
|
is_dynamic_field = true
|
|
14406
14410
|
field_prop = _ds.dynamic_fields[view_field_id]
|
|
@@ -11798,7 +11798,7 @@ func.UI.screen.execute_xu_functions = async function (
|
|
|
11798
11798
|
"xu-bind": async function ($elm, val) {
|
|
11799
11799
|
if (is_skeleton) return;
|
|
11800
11800
|
$f = $elm;
|
|
11801
|
-
|
|
11801
|
+
let view_field_id = val.value;
|
|
11802
11802
|
let _prog_id = $elm.data().xuData.paramsP.prog_id;
|
|
11803
11803
|
let _dsP = $elm.data().xuData.paramsP.dsSessionP;
|
|
11804
11804
|
const view_ret = await func.utils.VIEWS_OBJ.get(SESSION_ID, _prog_id);
|
|
@@ -11811,6 +11811,10 @@ func.UI.screen.execute_xu_functions = async function (
|
|
|
11811
11811
|
const iterate_info = $elm?.data()?.xuData?.iterate_info
|
|
11812
11812
|
const reference_source_obj = iterate_info?.reference_source_obj
|
|
11813
11813
|
|
|
11814
|
+
if (reference_source_obj) {
|
|
11815
|
+
view_field_id = (reference_source_obj.fieldIdP || "") + val.value;
|
|
11816
|
+
}
|
|
11817
|
+
|
|
11814
11818
|
if (["_FOR_VAL", "_FOR_KEY"].includes(view_field_id)) {
|
|
11815
11819
|
is_dynamic_field = true
|
|
11816
11820
|
field_prop = _ds.dynamic_fields[view_field_id]
|