@xuda.io/runtime-bundle 1.0.634 → 1.0.636
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-bundle.js +7 -2
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +7 -2
- package/js/xuda-runtime-slim.min.es.js +7 -2
- package/js/xuda-runtime-slim.min.js +2 -2
- package/js/xuda-server-bundle.min.mjs +2 -2
- package/js/xuda-server-bundle.mjs +6 -1
- package/js/xuda-worker-bundle.js +6 -1
- package/js/xuda-worker-bundle.min.js +2 -2
- package/js/xuda_common-bundle.js +1 -0
- package/js/xuda_common-bundle.min.js +1 -1
- package/package.json +1 -1
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -1640,6 +1640,7 @@ var PROJECT_OBJ = {};
|
|
|
1640
1640
|
|
|
1641
1641
|
var APP_OBJ = {};
|
|
1642
1642
|
var SESSION_ID = null;
|
|
1643
|
+
var EXP_BUSY = false;
|
|
1643
1644
|
|
|
1644
1645
|
glb.PROTECTED_VARS = ['_NULL', '_THIS', '_FOR_KEY', '_FOR_VAL', '_ROWNO', '_ROWID', '_ROWDOC', '_KEY', '_VAL'];
|
|
1645
1646
|
|
|
@@ -10419,6 +10420,10 @@ func.events.invoke = async function (event_id) {
|
|
|
10419
10420
|
func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, rowIdP, sourceActionP, secondPassP, calling_fieldIdP, fieldsP, debug_infoP, iterate_info, js_script_callback, jobNo, api_output_type) {
|
|
10420
10421
|
class xu_class {
|
|
10421
10422
|
async get() {
|
|
10423
|
+
if (typeof EXP_BUSY !== 'undefined') {
|
|
10424
|
+
EXP_BUSY = true;
|
|
10425
|
+
}
|
|
10426
|
+
|
|
10422
10427
|
var ret;
|
|
10423
10428
|
var fields = {};
|
|
10424
10429
|
var error;
|
|
@@ -10571,7 +10576,7 @@ func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, row
|
|
|
10571
10576
|
}
|
|
10572
10577
|
if (typeof retP.value !== 'undefined') {
|
|
10573
10578
|
var_Arr[key].type = retP.type;
|
|
10574
|
-
var_Arr[key].value = retP.value.replaceAll('"', '\\"'); // new Apr 6 2025 fixing "\"how much?\""
|
|
10579
|
+
var_Arr[key].value = typeof retP.value === 'string' ? retP.value.replaceAll('"', '\\"') : retP.value; // new Apr 6 2025 fixing "\"how much?\""
|
|
10575
10580
|
if ((val.value.indexOf('[') > -1) | (val.value.indexOf('.') > -1)) {
|
|
10576
10581
|
//get values from array '@var==="sss" && @var_B==="sss" && @obj.property===5 && @objA["value"]===123 | @objB["value"].property===1234'
|
|
10577
10582
|
var data = retP.prop;
|
|
@@ -13964,7 +13969,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
13964
13969
|
};
|
|
13965
13970
|
|
|
13966
13971
|
const hover_in = function ($div) {
|
|
13967
|
-
if (is_skeleton) return;
|
|
13972
|
+
if (is_skeleton || EXP_BUSY) return;
|
|
13968
13973
|
CLIENT_ACTIVITY_TS = Date.now();
|
|
13969
13974
|
if (_$($container)?.data()?.xuData?.debug_info) _$($container).data().xuData.debug_info.hover_item = $div.attr('xu-ui-id');
|
|
13970
13975
|
if (!_ds) return;
|
|
@@ -1641,6 +1641,7 @@ var PROJECT_OBJ = {};
|
|
|
1641
1641
|
|
|
1642
1642
|
var APP_OBJ = {};
|
|
1643
1643
|
var SESSION_ID = null;
|
|
1644
|
+
var EXP_BUSY = false;
|
|
1644
1645
|
|
|
1645
1646
|
glb.PROTECTED_VARS = ['_NULL', '_THIS', '_FOR_KEY', '_FOR_VAL', '_ROWNO', '_ROWID', '_ROWDOC', '_KEY', '_VAL'];
|
|
1646
1647
|
|
|
@@ -11695,7 +11696,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
11695
11696
|
};
|
|
11696
11697
|
|
|
11697
11698
|
const hover_in = function ($div) {
|
|
11698
|
-
if (is_skeleton) return;
|
|
11699
|
+
if (is_skeleton || EXP_BUSY) return;
|
|
11699
11700
|
CLIENT_ACTIVITY_TS = Date.now();
|
|
11700
11701
|
if (_$($container)?.data()?.xuData?.debug_info) _$($container).data().xuData.debug_info.hover_item = $div.attr('xu-ui-id');
|
|
11701
11702
|
if (!_ds) return;
|
|
@@ -14310,6 +14311,10 @@ func.events.invoke = async function (event_id) {
|
|
|
14310
14311
|
func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, rowIdP, sourceActionP, secondPassP, calling_fieldIdP, fieldsP, debug_infoP, iterate_info, js_script_callback, jobNo, api_output_type) {
|
|
14311
14312
|
class xu_class {
|
|
14312
14313
|
async get() {
|
|
14314
|
+
if (typeof EXP_BUSY !== 'undefined') {
|
|
14315
|
+
EXP_BUSY = true;
|
|
14316
|
+
}
|
|
14317
|
+
|
|
14313
14318
|
var ret;
|
|
14314
14319
|
var fields = {};
|
|
14315
14320
|
var error;
|
|
@@ -14462,7 +14467,7 @@ func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, row
|
|
|
14462
14467
|
}
|
|
14463
14468
|
if (typeof retP.value !== 'undefined') {
|
|
14464
14469
|
var_Arr[key].type = retP.type;
|
|
14465
|
-
var_Arr[key].value = retP.value.replaceAll('"', '\\"'); // new Apr 6 2025 fixing "\"how much?\""
|
|
14470
|
+
var_Arr[key].value = typeof retP.value === 'string' ? retP.value.replaceAll('"', '\\"') : retP.value; // new Apr 6 2025 fixing "\"how much?\""
|
|
14466
14471
|
if ((val.value.indexOf('[') > -1) | (val.value.indexOf('.') > -1)) {
|
|
14467
14472
|
//get values from array '@var==="sss" && @var_B==="sss" && @obj.property===5 && @objA["value"]===123 | @objB["value"].property===1234'
|
|
14468
14473
|
var data = retP.prop;
|