@xuda.io/runtime-bundle 1.0.1103 → 1.0.1105
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
|
@@ -11614,17 +11614,22 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
11614
11614
|
|
|
11615
11615
|
const add_execute_queue = async function (type) {
|
|
11616
11616
|
if (!elem_val.$elm?.data?.()?.xuData) return;
|
|
11617
|
-
|
|
11618
|
-
|
|
11619
|
-
|
|
11620
|
-
|
|
11621
|
-
|
|
11622
|
-
|
|
11623
|
-
|
|
11624
|
-
|
|
11617
|
+
try {
|
|
11618
|
+
const obj = {
|
|
11619
|
+
ui_type: elem_val.$elm.data().xuData.ui_type,
|
|
11620
|
+
SESSION_ID,
|
|
11621
|
+
fields_arr,
|
|
11622
|
+
elem_key,
|
|
11623
|
+
elem_val,
|
|
11624
|
+
};
|
|
11625
11625
|
|
|
11626
|
-
|
|
11627
|
-
|
|
11626
|
+
new_job = await func.UI.worker.add_to_queue(SESSION_ID, 'gui event', type, obj, new_job, elem_val.$elm);
|
|
11627
|
+
|
|
11628
|
+
if (glb.DEBUG_MODE) {
|
|
11629
|
+
console.log(type + '>>>', new_job, obj);
|
|
11630
|
+
}
|
|
11631
|
+
} catch (error) {
|
|
11632
|
+
debugger;
|
|
11628
11633
|
}
|
|
11629
11634
|
};
|
|
11630
11635
|
//////////// process render first ///////////////
|
|
@@ -11796,16 +11801,19 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
11796
11801
|
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);
|
|
11797
11802
|
|
|
11798
11803
|
var attr_value = await func.common.get_cast_val(SESSION_ID, 'refresh xu-attributes', 'xu-render', 'bool', res.result);
|
|
11799
|
-
|
|
11800
|
-
|
|
11801
|
-
|
|
11802
|
-
|
|
11803
|
-
|
|
11804
|
-
|
|
11805
|
-
|
|
11806
|
-
|
|
11807
|
-
|
|
11808
|
-
|
|
11804
|
+
try {
|
|
11805
|
+
const obj = {
|
|
11806
|
+
ui_type: elem_val.$elm.data().xuData.ui_type,
|
|
11807
|
+
SESSION_ID,
|
|
11808
|
+
elem_key,
|
|
11809
|
+
elem_val,
|
|
11810
|
+
fields_arr,
|
|
11811
|
+
attr_value,
|
|
11812
|
+
};
|
|
11813
|
+
func.UI.worker.add_to_queue(SESSION_ID, 'gui event', 'execute_xu_render_attributes', obj, new_job, elem_val.$elm, elem_val.$elm.data().xuData.paramsP.dsSessionP);
|
|
11814
|
+
} catch (error) {
|
|
11815
|
+
debugger;
|
|
11816
|
+
}
|
|
11809
11817
|
}
|
|
11810
11818
|
}
|
|
11811
11819
|
}
|
|
@@ -9339,17 +9339,22 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
9339
9339
|
|
|
9340
9340
|
const add_execute_queue = async function (type) {
|
|
9341
9341
|
if (!elem_val.$elm?.data?.()?.xuData) return;
|
|
9342
|
-
|
|
9343
|
-
|
|
9344
|
-
|
|
9345
|
-
|
|
9346
|
-
|
|
9347
|
-
|
|
9348
|
-
|
|
9349
|
-
|
|
9342
|
+
try {
|
|
9343
|
+
const obj = {
|
|
9344
|
+
ui_type: elem_val.$elm.data().xuData.ui_type,
|
|
9345
|
+
SESSION_ID,
|
|
9346
|
+
fields_arr,
|
|
9347
|
+
elem_key,
|
|
9348
|
+
elem_val,
|
|
9349
|
+
};
|
|
9350
9350
|
|
|
9351
|
-
|
|
9352
|
-
|
|
9351
|
+
new_job = await func.UI.worker.add_to_queue(SESSION_ID, 'gui event', type, obj, new_job, elem_val.$elm);
|
|
9352
|
+
|
|
9353
|
+
if (glb.DEBUG_MODE) {
|
|
9354
|
+
console.log(type + '>>>', new_job, obj);
|
|
9355
|
+
}
|
|
9356
|
+
} catch (error) {
|
|
9357
|
+
debugger;
|
|
9353
9358
|
}
|
|
9354
9359
|
};
|
|
9355
9360
|
//////////// process render first ///////////////
|
|
@@ -9521,16 +9526,19 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
9521
9526
|
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);
|
|
9522
9527
|
|
|
9523
9528
|
var attr_value = await func.common.get_cast_val(SESSION_ID, 'refresh xu-attributes', 'xu-render', 'bool', res.result);
|
|
9524
|
-
|
|
9525
|
-
|
|
9526
|
-
|
|
9527
|
-
|
|
9528
|
-
|
|
9529
|
-
|
|
9530
|
-
|
|
9531
|
-
|
|
9532
|
-
|
|
9533
|
-
|
|
9529
|
+
try {
|
|
9530
|
+
const obj = {
|
|
9531
|
+
ui_type: elem_val.$elm.data().xuData.ui_type,
|
|
9532
|
+
SESSION_ID,
|
|
9533
|
+
elem_key,
|
|
9534
|
+
elem_val,
|
|
9535
|
+
fields_arr,
|
|
9536
|
+
attr_value,
|
|
9537
|
+
};
|
|
9538
|
+
func.UI.worker.add_to_queue(SESSION_ID, 'gui event', 'execute_xu_render_attributes', obj, new_job, elem_val.$elm, elem_val.$elm.data().xuData.paramsP.dsSessionP);
|
|
9539
|
+
} catch (error) {
|
|
9540
|
+
debugger;
|
|
9541
|
+
}
|
|
9534
9542
|
}
|
|
9535
9543
|
}
|
|
9536
9544
|
}
|