@xuda.io/runtime-bundle 1.0.727 → 1.0.729
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 +19 -8
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +19 -8
- package/js/xuda-runtime-slim.min.es.js +19 -8
- package/js/xuda-runtime-slim.min.js +2 -2
- package/js/xuda-server-bundle.min.mjs +2 -2
- package/js/xuda-server-bundle.mjs +19 -7
- package/js/xuda-worker-bundle.js +19 -7
- package/js/xuda-worker-bundle.min.js +2 -2
- package/package.json +1 -1
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -4855,7 +4855,7 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
|
|
|
4855
4855
|
try {
|
|
4856
4856
|
const row_idx = func.common.find_ROWID_idx(_ds, record_id);
|
|
4857
4857
|
// if (_ds.data_feed.rows[row_idx][field_id] !== value) {
|
|
4858
|
-
if (!_.isEqual(_ds.data_feed.rows[row_idx][field_id], value)) {
|
|
4858
|
+
if (true || !_.isEqual(_ds.data_feed.rows[row_idx][field_id], value)) {
|
|
4859
4859
|
_ds.data_feed.rows[row_idx][field_id] = value;
|
|
4860
4860
|
await set_fieldComputed_dependencies(dataSource, field_id, null);
|
|
4861
4861
|
|
|
@@ -8539,7 +8539,6 @@ func.UI.worker.add_to_queue = async function (SESSION_ID, source, functionP, par
|
|
|
8539
8539
|
obj.queue_key = queue_key;
|
|
8540
8540
|
|
|
8541
8541
|
let exist_job = UI_WORKER_OBJ.jobs.find((e) => {
|
|
8542
|
-
return false;
|
|
8543
8542
|
if (e.queue_key === queue_key) {
|
|
8544
8543
|
return e;
|
|
8545
8544
|
}
|
|
@@ -10312,16 +10311,28 @@ func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, row
|
|
|
10312
10311
|
EXP_BUSY = false;
|
|
10313
10312
|
}
|
|
10314
10313
|
|
|
10315
|
-
|
|
10314
|
+
const results = {
|
|
10316
10315
|
result: ret,
|
|
10317
|
-
fields
|
|
10318
|
-
res
|
|
10316
|
+
fields,
|
|
10317
|
+
res,
|
|
10319
10318
|
explain: result,
|
|
10320
|
-
error
|
|
10321
|
-
warning
|
|
10319
|
+
error,
|
|
10320
|
+
warning,
|
|
10322
10321
|
req: valP,
|
|
10323
|
-
var_error_found
|
|
10322
|
+
var_error_found,
|
|
10324
10323
|
};
|
|
10324
|
+
console.log('EXP>>>', results);
|
|
10325
|
+
return results;
|
|
10326
|
+
// return {
|
|
10327
|
+
// result: ret,
|
|
10328
|
+
// fields: fields,
|
|
10329
|
+
// res: res,
|
|
10330
|
+
// explain: result,
|
|
10331
|
+
// error: error,
|
|
10332
|
+
// warning: warning,
|
|
10333
|
+
// req: valP,
|
|
10334
|
+
// var_error_found: var_error_found,
|
|
10335
|
+
// };
|
|
10325
10336
|
};
|
|
10326
10337
|
const variable_not_exist = async function () {
|
|
10327
10338
|
try {
|
|
@@ -4856,7 +4856,7 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
|
|
|
4856
4856
|
try {
|
|
4857
4857
|
const row_idx = func.common.find_ROWID_idx(_ds, record_id);
|
|
4858
4858
|
// if (_ds.data_feed.rows[row_idx][field_id] !== value) {
|
|
4859
|
-
if (!_.isEqual(_ds.data_feed.rows[row_idx][field_id], value)) {
|
|
4859
|
+
if (true || !_.isEqual(_ds.data_feed.rows[row_idx][field_id], value)) {
|
|
4860
4860
|
_ds.data_feed.rows[row_idx][field_id] = value;
|
|
4861
4861
|
await set_fieldComputed_dependencies(dataSource, field_id, null);
|
|
4862
4862
|
|
|
@@ -8540,7 +8540,6 @@ func.UI.worker.add_to_queue = async function (SESSION_ID, source, functionP, par
|
|
|
8540
8540
|
obj.queue_key = queue_key;
|
|
8541
8541
|
|
|
8542
8542
|
let exist_job = UI_WORKER_OBJ.jobs.find((e) => {
|
|
8543
|
-
return false;
|
|
8544
8543
|
if (e.queue_key === queue_key) {
|
|
8545
8544
|
return e;
|
|
8546
8545
|
}
|
|
@@ -14401,16 +14400,28 @@ func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, row
|
|
|
14401
14400
|
EXP_BUSY = false;
|
|
14402
14401
|
}
|
|
14403
14402
|
|
|
14404
|
-
|
|
14403
|
+
const results = {
|
|
14405
14404
|
result: ret,
|
|
14406
|
-
fields
|
|
14407
|
-
res
|
|
14405
|
+
fields,
|
|
14406
|
+
res,
|
|
14408
14407
|
explain: result,
|
|
14409
|
-
error
|
|
14410
|
-
warning
|
|
14408
|
+
error,
|
|
14409
|
+
warning,
|
|
14411
14410
|
req: valP,
|
|
14412
|
-
var_error_found
|
|
14411
|
+
var_error_found,
|
|
14413
14412
|
};
|
|
14413
|
+
console.log('EXP>>>', results);
|
|
14414
|
+
return results;
|
|
14415
|
+
// return {
|
|
14416
|
+
// result: ret,
|
|
14417
|
+
// fields: fields,
|
|
14418
|
+
// res: res,
|
|
14419
|
+
// explain: result,
|
|
14420
|
+
// error: error,
|
|
14421
|
+
// warning: warning,
|
|
14422
|
+
// req: valP,
|
|
14423
|
+
// var_error_found: var_error_found,
|
|
14424
|
+
// };
|
|
14414
14425
|
};
|
|
14415
14426
|
const variable_not_exist = async function () {
|
|
14416
14427
|
try {
|