@xuda.io/runtime-bundle 1.0.635 → 1.0.637
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 +11 -1
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +11 -1
- package/js/xuda-runtime-slim.min.es.js +11 -1
- package/js/xuda-runtime-slim.min.js +2 -2
- package/js/xuda-server-bundle.min.mjs +2 -2
- package/js/xuda-server-bundle.mjs +10 -0
- package/js/xuda-worker-bundle.js +10 -0
- 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;
|
|
@@ -10483,6 +10488,11 @@ func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, row
|
|
|
10483
10488
|
};
|
|
10484
10489
|
if (error) log_error();
|
|
10485
10490
|
// if (error || warning) log_error();
|
|
10491
|
+
|
|
10492
|
+
if (typeof EXP_BUSY !== 'undefined') {
|
|
10493
|
+
EXP_BUSY = false;
|
|
10494
|
+
}
|
|
10495
|
+
|
|
10486
10496
|
return {
|
|
10487
10497
|
result: ret,
|
|
10488
10498
|
fields: fields,
|
|
@@ -13964,7 +13974,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
13964
13974
|
};
|
|
13965
13975
|
|
|
13966
13976
|
const hover_in = function ($div) {
|
|
13967
|
-
if (is_skeleton) return;
|
|
13977
|
+
if (is_skeleton || EXP_BUSY) return;
|
|
13968
13978
|
CLIENT_ACTIVITY_TS = Date.now();
|
|
13969
13979
|
if (_$($container)?.data()?.xuData?.debug_info) _$($container).data().xuData.debug_info.hover_item = $div.attr('xu-ui-id');
|
|
13970
13980
|
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;
|
|
@@ -14374,6 +14379,11 @@ func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, row
|
|
|
14374
14379
|
};
|
|
14375
14380
|
if (error) log_error();
|
|
14376
14381
|
// if (error || warning) log_error();
|
|
14382
|
+
|
|
14383
|
+
if (typeof EXP_BUSY !== 'undefined') {
|
|
14384
|
+
EXP_BUSY = false;
|
|
14385
|
+
}
|
|
14386
|
+
|
|
14377
14387
|
return {
|
|
14378
14388
|
result: ret,
|
|
14379
14389
|
fields: fields,
|