@xuda.io/runtime-bundle 1.0.984 → 1.0.986
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
|
@@ -11367,17 +11367,17 @@ func.UI.screen.init = async function (SESSION_ID, prog_id, sourceScreenP, callin
|
|
|
11367
11367
|
|
|
11368
11368
|
// $(".skeleton_wrapper").remove();
|
|
11369
11369
|
|
|
11370
|
-
// fix for svg
|
|
11370
|
+
// fix for svg // deprecated Aug 12 25
|
|
11371
11371
|
|
|
11372
|
-
const fix_svg = function () {
|
|
11373
|
-
|
|
11374
|
-
|
|
11375
|
-
|
|
11376
|
-
|
|
11377
|
-
};
|
|
11378
|
-
setTimeout(function () {
|
|
11379
|
-
|
|
11380
|
-
}, 200);
|
|
11372
|
+
// const fix_svg = function () {
|
|
11373
|
+
// let $svg = $('svg');
|
|
11374
|
+
// $.each($svg, function (key, elm) {
|
|
11375
|
+
// elm.outerHTML = elm.outerHTML;
|
|
11376
|
+
// });
|
|
11377
|
+
// };
|
|
11378
|
+
// setTimeout(function () {
|
|
11379
|
+
// fix_svg();
|
|
11380
|
+
// }, 200);
|
|
11381
11381
|
|
|
11382
11382
|
func.UI.utils.indicator.screen.normal();
|
|
11383
11383
|
|
|
@@ -13129,7 +13129,7 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
|
|
|
13129
13129
|
// BEFORE
|
|
13130
13130
|
if (!_.isEmpty(nodeP.attributes)) {
|
|
13131
13131
|
for await (const [key, attr] of Object.entries(glb.run_xu_before)) {
|
|
13132
|
-
if (_ret.abort) break;
|
|
13132
|
+
if (_ret.abort || $container?.data()?.xuData?.pending_to_delete) break;
|
|
13133
13133
|
if (glb.html5_events_handler.includes(attr) || execute_attributes.includes(attr)) {
|
|
13134
13134
|
continue;
|
|
13135
13135
|
}
|
|
@@ -13186,7 +13186,7 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
|
|
|
13186
13186
|
// ALL
|
|
13187
13187
|
|
|
13188
13188
|
for await (const [key, val] of Object.entries(nodeP.attributes)) {
|
|
13189
|
-
if (_ret.abort) break;
|
|
13189
|
+
if (_ret.abort || $container?.data()?.xuData?.pending_to_delete) break;
|
|
13190
13190
|
if (glb.html5_events_handler.includes(key) || execute_attributes.includes(key)) {
|
|
13191
13191
|
continue;
|
|
13192
13192
|
}
|
|
@@ -13275,7 +13275,7 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
|
|
|
13275
13275
|
// EXP for
|
|
13276
13276
|
|
|
13277
13277
|
for await (const [key, val] of Object.entries(nodeP.attributes)) {
|
|
13278
|
-
if (_ret.abort) break;
|
|
13278
|
+
if (_ret.abort || $container?.data()?.xuData?.pending_to_delete) break;
|
|
13279
13279
|
|
|
13280
13280
|
const attr = key.split('xu-exp:')[1];
|
|
13281
13281
|
|
|
@@ -13314,6 +13314,8 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
|
|
|
13314
13314
|
// AFTER
|
|
13315
13315
|
|
|
13316
13316
|
for await (const [key, attr] of Object.entries(glb.run_xu_after)) {
|
|
13317
|
+
if ($container?.data()?.xuData?.pending_to_delete) break;
|
|
13318
|
+
|
|
13317
13319
|
if (glb.html5_events_handler.includes(attr) || execute_attributes.includes(attr)) continue;
|
|
13318
13320
|
|
|
13319
13321
|
if (!nodeP.attributes || !nodeP.attributes[attr] & !nodeP.attributes[`xu-exp:${attr}`]) continue;
|
|
@@ -13345,6 +13347,7 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
|
|
|
13345
13347
|
// REGISTER EVENTS ATTRIBUTES
|
|
13346
13348
|
|
|
13347
13349
|
for await (const [key, val] of Object.entries(nodeP.attributes)) {
|
|
13350
|
+
if ($container?.data()?.xuData?.pending_to_delete) break;
|
|
13348
13351
|
if (!glb.html5_events_handler.includes(key)) break;
|
|
13349
13352
|
// $elm.attr(key, await get_xuExp(key)) || val;
|
|
13350
13353
|
$elm.attr(key, await get_xuExp(key)) || val;
|
|
@@ -13493,7 +13496,7 @@ func.UI.screen.create_container = function (SESSION_ID, $root_container, nodeP,
|
|
|
13493
13496
|
return (hash32(str) >>> 0).toString(16).padStart(8, '0');
|
|
13494
13497
|
}
|
|
13495
13498
|
|
|
13496
|
-
const new_ui_id =
|
|
13499
|
+
const new_ui_id = hash32hex(ui_id);
|
|
13497
13500
|
|
|
13498
13501
|
$div.attr('xu-ui-id', new_ui_id).data({
|
|
13499
13502
|
xuData: {
|
|
@@ -9092,17 +9092,17 @@ func.UI.screen.init = async function (SESSION_ID, prog_id, sourceScreenP, callin
|
|
|
9092
9092
|
|
|
9093
9093
|
// $(".skeleton_wrapper").remove();
|
|
9094
9094
|
|
|
9095
|
-
// fix for svg
|
|
9095
|
+
// fix for svg // deprecated Aug 12 25
|
|
9096
9096
|
|
|
9097
|
-
const fix_svg = function () {
|
|
9098
|
-
|
|
9099
|
-
|
|
9100
|
-
|
|
9101
|
-
|
|
9102
|
-
};
|
|
9103
|
-
setTimeout(function () {
|
|
9104
|
-
|
|
9105
|
-
}, 200);
|
|
9097
|
+
// const fix_svg = function () {
|
|
9098
|
+
// let $svg = $('svg');
|
|
9099
|
+
// $.each($svg, function (key, elm) {
|
|
9100
|
+
// elm.outerHTML = elm.outerHTML;
|
|
9101
|
+
// });
|
|
9102
|
+
// };
|
|
9103
|
+
// setTimeout(function () {
|
|
9104
|
+
// fix_svg();
|
|
9105
|
+
// }, 200);
|
|
9106
9106
|
|
|
9107
9107
|
func.UI.utils.indicator.screen.normal();
|
|
9108
9108
|
|
|
@@ -10854,7 +10854,7 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
|
|
|
10854
10854
|
// BEFORE
|
|
10855
10855
|
if (!_.isEmpty(nodeP.attributes)) {
|
|
10856
10856
|
for await (const [key, attr] of Object.entries(glb.run_xu_before)) {
|
|
10857
|
-
if (_ret.abort) break;
|
|
10857
|
+
if (_ret.abort || $container?.data()?.xuData?.pending_to_delete) break;
|
|
10858
10858
|
if (glb.html5_events_handler.includes(attr) || execute_attributes.includes(attr)) {
|
|
10859
10859
|
continue;
|
|
10860
10860
|
}
|
|
@@ -10911,7 +10911,7 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
|
|
|
10911
10911
|
// ALL
|
|
10912
10912
|
|
|
10913
10913
|
for await (const [key, val] of Object.entries(nodeP.attributes)) {
|
|
10914
|
-
if (_ret.abort) break;
|
|
10914
|
+
if (_ret.abort || $container?.data()?.xuData?.pending_to_delete) break;
|
|
10915
10915
|
if (glb.html5_events_handler.includes(key) || execute_attributes.includes(key)) {
|
|
10916
10916
|
continue;
|
|
10917
10917
|
}
|
|
@@ -11000,7 +11000,7 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
|
|
|
11000
11000
|
// EXP for
|
|
11001
11001
|
|
|
11002
11002
|
for await (const [key, val] of Object.entries(nodeP.attributes)) {
|
|
11003
|
-
if (_ret.abort) break;
|
|
11003
|
+
if (_ret.abort || $container?.data()?.xuData?.pending_to_delete) break;
|
|
11004
11004
|
|
|
11005
11005
|
const attr = key.split('xu-exp:')[1];
|
|
11006
11006
|
|
|
@@ -11039,6 +11039,8 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
|
|
|
11039
11039
|
// AFTER
|
|
11040
11040
|
|
|
11041
11041
|
for await (const [key, attr] of Object.entries(glb.run_xu_after)) {
|
|
11042
|
+
if ($container?.data()?.xuData?.pending_to_delete) break;
|
|
11043
|
+
|
|
11042
11044
|
if (glb.html5_events_handler.includes(attr) || execute_attributes.includes(attr)) continue;
|
|
11043
11045
|
|
|
11044
11046
|
if (!nodeP.attributes || !nodeP.attributes[attr] & !nodeP.attributes[`xu-exp:${attr}`]) continue;
|
|
@@ -11070,6 +11072,7 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
|
|
|
11070
11072
|
// REGISTER EVENTS ATTRIBUTES
|
|
11071
11073
|
|
|
11072
11074
|
for await (const [key, val] of Object.entries(nodeP.attributes)) {
|
|
11075
|
+
if ($container?.data()?.xuData?.pending_to_delete) break;
|
|
11073
11076
|
if (!glb.html5_events_handler.includes(key)) break;
|
|
11074
11077
|
// $elm.attr(key, await get_xuExp(key)) || val;
|
|
11075
11078
|
$elm.attr(key, await get_xuExp(key)) || val;
|
|
@@ -11218,7 +11221,7 @@ func.UI.screen.create_container = function (SESSION_ID, $root_container, nodeP,
|
|
|
11218
11221
|
return (hash32(str) >>> 0).toString(16).padStart(8, '0');
|
|
11219
11222
|
}
|
|
11220
11223
|
|
|
11221
|
-
const new_ui_id =
|
|
11224
|
+
const new_ui_id = hash32hex(ui_id);
|
|
11222
11225
|
|
|
11223
11226
|
$div.attr('xu-ui-id', new_ui_id).data({
|
|
11224
11227
|
xuData: {
|