@xuda.io/runtime-bundle 1.0.310 → 1.0.312
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
|
@@ -12209,12 +12209,6 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
12209
12209
|
.find('*')
|
|
12210
12210
|
.filter(function () {
|
|
12211
12211
|
var attr = [];
|
|
12212
|
-
console.log($(this));
|
|
12213
|
-
// if (
|
|
12214
|
-
// dsSession &&
|
|
12215
|
-
// $(this).data()?.xuData?.paramsP?.dsSessionP != dsSession
|
|
12216
|
-
// )
|
|
12217
|
-
// return;
|
|
12218
12212
|
|
|
12219
12213
|
$.each($(this).data()?.xuAttributes, function (key, val) {
|
|
12220
12214
|
if (key === 'xu-for') {
|
|
@@ -12223,7 +12217,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
12223
12217
|
attr.push(key);
|
|
12224
12218
|
}
|
|
12225
12219
|
}
|
|
12226
|
-
console.log(key, val);
|
|
12220
|
+
// console.log(key, val);
|
|
12227
12221
|
if (!key.substr(0, 2) === 'xu') return;
|
|
12228
12222
|
if (key.substr(0, 6) === 'xu-exp' && key.substr(6, 1) === ':') {
|
|
12229
12223
|
if (val?.includes?.(val_field)) {
|
|
@@ -12265,7 +12259,10 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
12265
12259
|
};
|
|
12266
12260
|
|
|
12267
12261
|
get_selectors();
|
|
12268
|
-
|
|
12262
|
+
|
|
12263
|
+
if (_.isEmpty(selectors)) {
|
|
12264
|
+
}
|
|
12265
|
+
|
|
12269
12266
|
for await (let [elem_key, elem_val] of Object.entries(selectors)) {
|
|
12270
12267
|
if (elem_key === 'length') break;
|
|
12271
12268
|
|
|
@@ -14207,7 +14204,8 @@ func.UI.screen.screen_loading_done = async function (SESSION_ID, paramsP, $div,
|
|
|
14207
14204
|
|
|
14208
14205
|
func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, parent_infoP, paramsP, jobNoP, is_skeleton, keyP, is_mainP, parent_nodeP, check_existP, $root_container) {
|
|
14209
14206
|
if (!is_skeleton) {
|
|
14210
|
-
|
|
14207
|
+
const _session = SESSION_OBJ[SESSION_ID];
|
|
14208
|
+
var _ds = _session.DS_GLB[paramsP.dsSessionP];
|
|
14211
14209
|
}
|
|
14212
14210
|
var prop;
|
|
14213
14211
|
try {
|
|
@@ -14863,6 +14861,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
14863
14861
|
[`xu-single-view`]: async function () {
|
|
14864
14862
|
var exist_elm_obj = get_element_info();
|
|
14865
14863
|
var $div = exist_elm_obj.div;
|
|
14864
|
+
_session.running_$div = $div;
|
|
14866
14865
|
if (!exist_elm_obj.div) {
|
|
14867
14866
|
var $wrapper = $('<div>');
|
|
14868
14867
|
$div = func.UI.screen.create_container(SESSION_ID, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, prop, null, null, 'div', $wrapper, '');
|
|
@@ -9619,12 +9619,6 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
9619
9619
|
.find('*')
|
|
9620
9620
|
.filter(function () {
|
|
9621
9621
|
var attr = [];
|
|
9622
|
-
console.log($(this));
|
|
9623
|
-
// if (
|
|
9624
|
-
// dsSession &&
|
|
9625
|
-
// $(this).data()?.xuData?.paramsP?.dsSessionP != dsSession
|
|
9626
|
-
// )
|
|
9627
|
-
// return;
|
|
9628
9622
|
|
|
9629
9623
|
$.each($(this).data()?.xuAttributes, function (key, val) {
|
|
9630
9624
|
if (key === 'xu-for') {
|
|
@@ -9633,7 +9627,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
9633
9627
|
attr.push(key);
|
|
9634
9628
|
}
|
|
9635
9629
|
}
|
|
9636
|
-
console.log(key, val);
|
|
9630
|
+
// console.log(key, val);
|
|
9637
9631
|
if (!key.substr(0, 2) === 'xu') return;
|
|
9638
9632
|
if (key.substr(0, 6) === 'xu-exp' && key.substr(6, 1) === ':') {
|
|
9639
9633
|
if (val?.includes?.(val_field)) {
|
|
@@ -9675,7 +9669,10 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
9675
9669
|
};
|
|
9676
9670
|
|
|
9677
9671
|
get_selectors();
|
|
9678
|
-
|
|
9672
|
+
|
|
9673
|
+
if (_.isEmpty(selectors)) {
|
|
9674
|
+
}
|
|
9675
|
+
|
|
9679
9676
|
for await (let [elem_key, elem_val] of Object.entries(selectors)) {
|
|
9680
9677
|
if (elem_key === 'length') break;
|
|
9681
9678
|
|
|
@@ -11617,7 +11614,8 @@ func.UI.screen.screen_loading_done = async function (SESSION_ID, paramsP, $div,
|
|
|
11617
11614
|
|
|
11618
11615
|
func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, parent_infoP, paramsP, jobNoP, is_skeleton, keyP, is_mainP, parent_nodeP, check_existP, $root_container) {
|
|
11619
11616
|
if (!is_skeleton) {
|
|
11620
|
-
|
|
11617
|
+
const _session = SESSION_OBJ[SESSION_ID];
|
|
11618
|
+
var _ds = _session.DS_GLB[paramsP.dsSessionP];
|
|
11621
11619
|
}
|
|
11622
11620
|
var prop;
|
|
11623
11621
|
try {
|
|
@@ -12273,6 +12271,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
12273
12271
|
[`xu-single-view`]: async function () {
|
|
12274
12272
|
var exist_elm_obj = get_element_info();
|
|
12275
12273
|
var $div = exist_elm_obj.div;
|
|
12274
|
+
_session.running_$div = $div;
|
|
12276
12275
|
if (!exist_elm_obj.div) {
|
|
12277
12276
|
var $wrapper = $('<div>');
|
|
12278
12277
|
$div = func.UI.screen.create_container(SESSION_ID, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, prop, null, null, 'div', $wrapper, '');
|