@xuda.io/runtime-bundle 1.0.1245 → 1.0.1247
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 -11
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +11 -11
- package/js/xuda-runtime-slim.min.es.js +11 -11
- package/js/xuda-runtime-slim.min.js +1 -1
- package/js/xuda-server-bundle.min.mjs +1 -1
- package/js/xuda-server-bundle.mjs +4 -4
- package/js/xuda-worker-bundle.js +4 -4
- package/js/xuda-worker-bundle.min.js +1 -1
- package/js/xuda_worker.js +2 -3
- package/js/xuda_worker.min.js +1 -1
- package/package.json +1 -1
|
@@ -28583,7 +28583,7 @@ func.datasource.prepare = async function (SESSION_ID, prog_id, dataSourceNoP, pa
|
|
|
28583
28583
|
_ds.data_feed = {};
|
|
28584
28584
|
|
|
28585
28585
|
// _ds.v.old_dataSource = _.cloneDeep(_ds);
|
|
28586
|
-
_ds.v.old_dataSource = klona(_ds);
|
|
28586
|
+
_ds.v.old_dataSource = klona.klona(_ds);
|
|
28587
28587
|
} catch (err) {
|
|
28588
28588
|
console.error('function: init_existing_dataSource - error');
|
|
28589
28589
|
return;
|
|
@@ -30214,11 +30214,11 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
|
|
|
30214
30214
|
}
|
|
30215
30215
|
|
|
30216
30216
|
// await func.UI.screen.refresh_xu_attributes(SESSION_ID, _.cloneDeep(fields_changed), null, null, findMin(datasource_changed), avoid_xu_for_refresh, trigger);
|
|
30217
|
-
await func.UI.screen.refresh_xu_attributes(SESSION_ID, klona(fields_changed), null, null, findMin(datasource_changed), avoid_xu_for_refresh, trigger);
|
|
30217
|
+
await func.UI.screen.refresh_xu_attributes(SESSION_ID, klona.klona(fields_changed), null, null, findMin(datasource_changed), avoid_xu_for_refresh, trigger);
|
|
30218
30218
|
// await removed from the below function cause to dead lock Mar 3 25
|
|
30219
30219
|
await func.UI.screen.refresh_screen(
|
|
30220
30220
|
SESSION_ID,
|
|
30221
|
-
klona(fields_changed), // _.cloneDeep(fields_changed),
|
|
30221
|
+
klona.klona(fields_changed), // _.cloneDeep(fields_changed),
|
|
30222
30222
|
null,
|
|
30223
30223
|
datasource_changed[0], // refresh the current datasource only
|
|
30224
30224
|
);
|
|
@@ -30870,7 +30870,7 @@ func.datasource.set_VIEW_data = async function (SESSION_ID, args, _ds) {
|
|
|
30870
30870
|
_ds.viewEventExec_arr = {};
|
|
30871
30871
|
|
|
30872
30872
|
// var view = _.cloneDeep(await func.utils.VIEWS_OBJ.get(SESSION_ID, args.prog_id));
|
|
30873
|
-
var view = klona(await func.utils.VIEWS_OBJ.get(SESSION_ID, args.prog_id));
|
|
30873
|
+
var view = klona.klona(await func.utils.VIEWS_OBJ.get(SESSION_ID, args.prog_id));
|
|
30874
30874
|
|
|
30875
30875
|
_ds.v.dataSourceSrcType = view.dataSourceSrcType;
|
|
30876
30876
|
|
|
@@ -31040,7 +31040,7 @@ func.UI.screen.init = async function (SESSION_ID, prog_id, sourceScreenP, callin
|
|
|
31040
31040
|
let _session = SESSION_OBJ[SESSION_ID];
|
|
31041
31041
|
|
|
31042
31042
|
// const screenInfo = _.cloneDeep(screen_ret);
|
|
31043
|
-
const screenInfo = klona(screen_ret);
|
|
31043
|
+
const screenInfo = klona.klona(screen_ret);
|
|
31044
31044
|
|
|
31045
31045
|
var screen_type = source_functionP?.split('_')?.[1]; //|| (is_panelP && "panel");
|
|
31046
31046
|
|
|
@@ -31185,7 +31185,7 @@ func.UI.screen.init = async function (SESSION_ID, prog_id, sourceScreenP, callin
|
|
|
31185
31185
|
}
|
|
31186
31186
|
var node;
|
|
31187
31187
|
// node = _.cloneDeep(viewDoc.progUi);
|
|
31188
|
-
node = klona(viewDoc.progUi);
|
|
31188
|
+
node = klona.klona(viewDoc.progUi);
|
|
31189
31189
|
if (!node.length) return console.warn('ui node empty');
|
|
31190
31190
|
const ret_render_$container = await func.UI.screen.render_ui_tree(SESSION_ID, $rootFrame, node[0], null, params, jobNoP, null, null, null, null, null, $rootFrame);
|
|
31191
31191
|
|
|
@@ -31752,7 +31752,7 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
31752
31752
|
const new_$div = await func.UI.screen.render_ui_tree(
|
|
31753
31753
|
SESSION_ID,
|
|
31754
31754
|
$elm, // the wrapper
|
|
31755
|
-
klona($elm.data().xuData.node), //_.cloneDeep($elm.data().xuData.node), // the xu-panel node
|
|
31755
|
+
klona.klona($elm.data().xuData.node), //_.cloneDeep($elm.data().xuData.node), // the xu-panel node
|
|
31756
31756
|
{},
|
|
31757
31757
|
elm_data.xuData.paramsP, // the wrapper params
|
|
31758
31758
|
null,
|
|
@@ -32716,7 +32716,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
32716
32716
|
reference_source_obj,
|
|
32717
32717
|
};
|
|
32718
32718
|
// let _parent_info = _.cloneDeep(parent_infoP) || {};
|
|
32719
|
-
let _parent_info = klona(parent_infoP) || {};
|
|
32719
|
+
let _parent_info = klona.klona(parent_infoP) || {};
|
|
32720
32720
|
_parent_info.iterate_info = iterate_info;
|
|
32721
32721
|
|
|
32722
32722
|
const $divP = await func.UI.screen.render_ui_tree(
|
|
@@ -33431,7 +33431,7 @@ func.UI.screen.panel_post_render_handler = async function (
|
|
|
33431
33431
|
|
|
33432
33432
|
const generate_xu_ui_id = async function (SESSION_ID, nodeP, $container, paramsP, keyP) {
|
|
33433
33433
|
// const _paramsP = _.cloneDeep(paramsP);
|
|
33434
|
-
const _paramsP = klona(paramsP);
|
|
33434
|
+
const _paramsP = klona.klona(paramsP);
|
|
33435
33435
|
var _ds = SESSION_OBJ[SESSION_ID].DS_GLB[_paramsP.dsSessionP];
|
|
33436
33436
|
|
|
33437
33437
|
const currentRecordId = $container?.data?.()?.xuData?.recordid || (_ds ? _ds.currentRecordId : '');
|
|
@@ -33445,7 +33445,7 @@ const generate_xu_ui_id = async function (SESSION_ID, nodeP, $container, paramsP
|
|
|
33445
33445
|
|
|
33446
33446
|
func.UI.screen.create_container = async function (SESSION_ID, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, prop, classP, elem_propP, div_typeP, $appendToP, attr_str, is_placeholder) {
|
|
33447
33447
|
// const _paramsP = _.cloneDeep(paramsP);
|
|
33448
|
-
const _paramsP = klona(paramsP);
|
|
33448
|
+
const _paramsP = klona.klona(paramsP);
|
|
33449
33449
|
var _ds = SESSION_OBJ[SESSION_ID].DS_GLB[_paramsP.dsSessionP];
|
|
33450
33450
|
var $appendTo = $container;
|
|
33451
33451
|
if ($appendToP) $appendTo = $appendToP;
|
|
@@ -34463,7 +34463,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34463
34463
|
});
|
|
34464
34464
|
$.each($div.data().xuAttributes, function (key, val) {
|
|
34465
34465
|
// $container.data().xuAttributes[key] = _.cloneDeep(val);
|
|
34466
|
-
$container.data().xuAttributes[key] = klona(val);
|
|
34466
|
+
$container.data().xuAttributes[key] = klona.klona(val);
|
|
34467
34467
|
});
|
|
34468
34468
|
|
|
34469
34469
|
return await render_screen_type($div);
|