@xuda.io/runtime-bundle 1.0.643 → 1.0.645
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
|
@@ -13251,50 +13251,55 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
|
|
|
13251
13251
|
}
|
|
13252
13252
|
|
|
13253
13253
|
// BEFORE
|
|
13254
|
+
if (!_.isEmpty(nodeP.attributes)) {
|
|
13255
|
+
for await (const [key, attr] of Object.entries(glb.run_xu_before)) {
|
|
13256
|
+
if (_ret.abort) break;
|
|
13257
|
+
if (glb.html5_events_handler.includes(attr) || execute_attributes.includes(attr)) {
|
|
13258
|
+
continue;
|
|
13259
|
+
}
|
|
13254
13260
|
|
|
13255
|
-
|
|
13256
|
-
|
|
13257
|
-
|
|
13258
|
-
continue;
|
|
13259
|
-
}
|
|
13261
|
+
// if (!nodeP.attributes || !nodeP.attributes[attr] & !nodeP.attributes[`xu-exp:${attr}`]) {
|
|
13262
|
+
// continue;
|
|
13263
|
+
// }
|
|
13260
13264
|
|
|
13261
|
-
|
|
13262
|
-
|
|
13263
|
-
|
|
13265
|
+
// if (_.isEmpty(nodeP.attributes)) {
|
|
13266
|
+
// break;
|
|
13267
|
+
// }
|
|
13264
13268
|
|
|
13265
|
-
|
|
13266
|
-
|
|
13267
|
-
|
|
13269
|
+
// if (typeof nodeP.attributes[attr] === 'undefined') {
|
|
13270
|
+
// continue;
|
|
13271
|
+
// }
|
|
13268
13272
|
|
|
13269
|
-
|
|
13270
|
-
|
|
13271
|
-
|
|
13273
|
+
// if (typeof func.UI.screen.fix_val_defaults(attr, (await get_xuExp(attr)) || nodeP.attributes[attr]) === 'undefined') {
|
|
13274
|
+
// continue;
|
|
13275
|
+
// }
|
|
13272
13276
|
|
|
13273
|
-
|
|
13274
|
-
|
|
13275
|
-
|
|
13277
|
+
if (!nodeP.attributes[`xu-exp:${attr}`] && nodeP.attributes.hasOwnProperty('xu-render') && typeof func.UI.screen.fix_val_defaults(attr, nodeP.attributes[attr]) === 'undefined') {
|
|
13278
|
+
continue;
|
|
13279
|
+
}
|
|
13276
13280
|
|
|
13277
|
-
|
|
13278
|
-
|
|
13279
|
-
|
|
13280
|
-
|
|
13281
|
-
|
|
13282
|
-
|
|
13283
|
-
|
|
13284
|
-
|
|
13285
|
-
|
|
13286
|
-
|
|
13287
|
-
|
|
13288
|
-
|
|
13289
|
-
|
|
13290
|
-
|
|
13291
|
-
|
|
13292
|
-
|
|
13293
|
-
|
|
13294
|
-
|
|
13295
|
-
|
|
13296
|
-
|
|
13297
|
-
|
|
13281
|
+
let ret = await func.UI.screen.execute_xu_functions(
|
|
13282
|
+
SESSION_ID,
|
|
13283
|
+
is_skeleton,
|
|
13284
|
+
$root_container,
|
|
13285
|
+
nodeP,
|
|
13286
|
+
$container,
|
|
13287
|
+
paramsP,
|
|
13288
|
+
parent_infoP,
|
|
13289
|
+
jobNoP,
|
|
13290
|
+
keyP,
|
|
13291
|
+
parent_nodeP,
|
|
13292
|
+
attr,
|
|
13293
|
+
$elm,
|
|
13294
|
+
{
|
|
13295
|
+
key: attr,
|
|
13296
|
+
// value: _value,
|
|
13297
|
+
value: (await get_xuExp(attr)) || nodeP.attributes[attr],
|
|
13298
|
+
},
|
|
13299
|
+
is_init,
|
|
13300
|
+
);
|
|
13301
|
+
_ret = _.assignIn(_ret, ret);
|
|
13302
|
+
}
|
|
13298
13303
|
}
|
|
13299
13304
|
|
|
13300
13305
|
// ALL
|
|
@@ -10973,50 +10973,55 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
|
|
|
10973
10973
|
}
|
|
10974
10974
|
|
|
10975
10975
|
// BEFORE
|
|
10976
|
+
if (!_.isEmpty(nodeP.attributes)) {
|
|
10977
|
+
for await (const [key, attr] of Object.entries(glb.run_xu_before)) {
|
|
10978
|
+
if (_ret.abort) break;
|
|
10979
|
+
if (glb.html5_events_handler.includes(attr) || execute_attributes.includes(attr)) {
|
|
10980
|
+
continue;
|
|
10981
|
+
}
|
|
10976
10982
|
|
|
10977
|
-
|
|
10978
|
-
|
|
10979
|
-
|
|
10980
|
-
continue;
|
|
10981
|
-
}
|
|
10983
|
+
// if (!nodeP.attributes || !nodeP.attributes[attr] & !nodeP.attributes[`xu-exp:${attr}`]) {
|
|
10984
|
+
// continue;
|
|
10985
|
+
// }
|
|
10982
10986
|
|
|
10983
|
-
|
|
10984
|
-
|
|
10985
|
-
|
|
10987
|
+
// if (_.isEmpty(nodeP.attributes)) {
|
|
10988
|
+
// break;
|
|
10989
|
+
// }
|
|
10986
10990
|
|
|
10987
|
-
|
|
10988
|
-
|
|
10989
|
-
|
|
10991
|
+
// if (typeof nodeP.attributes[attr] === 'undefined') {
|
|
10992
|
+
// continue;
|
|
10993
|
+
// }
|
|
10990
10994
|
|
|
10991
|
-
|
|
10992
|
-
|
|
10993
|
-
|
|
10995
|
+
// if (typeof func.UI.screen.fix_val_defaults(attr, (await get_xuExp(attr)) || nodeP.attributes[attr]) === 'undefined') {
|
|
10996
|
+
// continue;
|
|
10997
|
+
// }
|
|
10994
10998
|
|
|
10995
|
-
|
|
10996
|
-
|
|
10997
|
-
|
|
10999
|
+
if (!nodeP.attributes[`xu-exp:${attr}`] && nodeP.attributes.hasOwnProperty('xu-render') && typeof func.UI.screen.fix_val_defaults(attr, nodeP.attributes[attr]) === 'undefined') {
|
|
11000
|
+
continue;
|
|
11001
|
+
}
|
|
10998
11002
|
|
|
10999
|
-
|
|
11000
|
-
|
|
11001
|
-
|
|
11002
|
-
|
|
11003
|
-
|
|
11004
|
-
|
|
11005
|
-
|
|
11006
|
-
|
|
11007
|
-
|
|
11008
|
-
|
|
11009
|
-
|
|
11010
|
-
|
|
11011
|
-
|
|
11012
|
-
|
|
11013
|
-
|
|
11014
|
-
|
|
11015
|
-
|
|
11016
|
-
|
|
11017
|
-
|
|
11018
|
-
|
|
11019
|
-
|
|
11003
|
+
let ret = await func.UI.screen.execute_xu_functions(
|
|
11004
|
+
SESSION_ID,
|
|
11005
|
+
is_skeleton,
|
|
11006
|
+
$root_container,
|
|
11007
|
+
nodeP,
|
|
11008
|
+
$container,
|
|
11009
|
+
paramsP,
|
|
11010
|
+
parent_infoP,
|
|
11011
|
+
jobNoP,
|
|
11012
|
+
keyP,
|
|
11013
|
+
parent_nodeP,
|
|
11014
|
+
attr,
|
|
11015
|
+
$elm,
|
|
11016
|
+
{
|
|
11017
|
+
key: attr,
|
|
11018
|
+
// value: _value,
|
|
11019
|
+
value: (await get_xuExp(attr)) || nodeP.attributes[attr],
|
|
11020
|
+
},
|
|
11021
|
+
is_init,
|
|
11022
|
+
);
|
|
11023
|
+
_ret = _.assignIn(_ret, ret);
|
|
11024
|
+
}
|
|
11020
11025
|
}
|
|
11021
11026
|
|
|
11022
11027
|
// ALL
|