@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.
|
@@ -31051,17 +31051,17 @@ func.UI.screen.init = async function (SESSION_ID, prog_id, sourceScreenP, callin
|
|
|
31051
31051
|
|
|
31052
31052
|
// $(".skeleton_wrapper").remove();
|
|
31053
31053
|
|
|
31054
|
-
// fix for svg
|
|
31054
|
+
// fix for svg // deprecated Aug 12 25
|
|
31055
31055
|
|
|
31056
|
-
const fix_svg = function () {
|
|
31057
|
-
|
|
31058
|
-
|
|
31059
|
-
|
|
31060
|
-
|
|
31061
|
-
};
|
|
31062
|
-
setTimeout(function () {
|
|
31063
|
-
|
|
31064
|
-
}, 200);
|
|
31056
|
+
// const fix_svg = function () {
|
|
31057
|
+
// let $svg = $('svg');
|
|
31058
|
+
// $.each($svg, function (key, elm) {
|
|
31059
|
+
// elm.outerHTML = elm.outerHTML;
|
|
31060
|
+
// });
|
|
31061
|
+
// };
|
|
31062
|
+
// setTimeout(function () {
|
|
31063
|
+
// fix_svg();
|
|
31064
|
+
// }, 200);
|
|
31065
31065
|
|
|
31066
31066
|
func.UI.utils.indicator.screen.normal();
|
|
31067
31067
|
|
|
@@ -32813,7 +32813,7 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
|
|
|
32813
32813
|
// BEFORE
|
|
32814
32814
|
if (!_.isEmpty(nodeP.attributes)) {
|
|
32815
32815
|
for await (const [key, attr] of Object.entries(glb.run_xu_before)) {
|
|
32816
|
-
if (_ret.abort) break;
|
|
32816
|
+
if (_ret.abort || $container?.data()?.xuData?.pending_to_delete) break;
|
|
32817
32817
|
if (glb.html5_events_handler.includes(attr) || execute_attributes.includes(attr)) {
|
|
32818
32818
|
continue;
|
|
32819
32819
|
}
|
|
@@ -32870,7 +32870,7 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
|
|
|
32870
32870
|
// ALL
|
|
32871
32871
|
|
|
32872
32872
|
for await (const [key, val] of Object.entries(nodeP.attributes)) {
|
|
32873
|
-
if (_ret.abort) break;
|
|
32873
|
+
if (_ret.abort || $container?.data()?.xuData?.pending_to_delete) break;
|
|
32874
32874
|
if (glb.html5_events_handler.includes(key) || execute_attributes.includes(key)) {
|
|
32875
32875
|
continue;
|
|
32876
32876
|
}
|
|
@@ -32959,7 +32959,7 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
|
|
|
32959
32959
|
// EXP for
|
|
32960
32960
|
|
|
32961
32961
|
for await (const [key, val] of Object.entries(nodeP.attributes)) {
|
|
32962
|
-
if (_ret.abort) break;
|
|
32962
|
+
if (_ret.abort || $container?.data()?.xuData?.pending_to_delete) break;
|
|
32963
32963
|
|
|
32964
32964
|
const attr = key.split('xu-exp:')[1];
|
|
32965
32965
|
|
|
@@ -32998,6 +32998,8 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
|
|
|
32998
32998
|
// AFTER
|
|
32999
32999
|
|
|
33000
33000
|
for await (const [key, attr] of Object.entries(glb.run_xu_after)) {
|
|
33001
|
+
if ($container?.data()?.xuData?.pending_to_delete) break;
|
|
33002
|
+
|
|
33001
33003
|
if (glb.html5_events_handler.includes(attr) || execute_attributes.includes(attr)) continue;
|
|
33002
33004
|
|
|
33003
33005
|
if (!nodeP.attributes || !nodeP.attributes[attr] & !nodeP.attributes[`xu-exp:${attr}`]) continue;
|
|
@@ -33029,6 +33031,7 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
|
|
|
33029
33031
|
// REGISTER EVENTS ATTRIBUTES
|
|
33030
33032
|
|
|
33031
33033
|
for await (const [key, val] of Object.entries(nodeP.attributes)) {
|
|
33034
|
+
if ($container?.data()?.xuData?.pending_to_delete) break;
|
|
33032
33035
|
if (!glb.html5_events_handler.includes(key)) break;
|
|
33033
33036
|
// $elm.attr(key, await get_xuExp(key)) || val;
|
|
33034
33037
|
$elm.attr(key, await get_xuExp(key)) || val;
|
|
@@ -33177,7 +33180,7 @@ func.UI.screen.create_container = function (SESSION_ID, $root_container, nodeP,
|
|
|
33177
33180
|
return (hash32(str) >>> 0).toString(16).padStart(8, '0');
|
|
33178
33181
|
}
|
|
33179
33182
|
|
|
33180
|
-
const new_ui_id =
|
|
33183
|
+
const new_ui_id = hash32hex(ui_id);
|
|
33181
33184
|
|
|
33182
33185
|
$div.attr('xu-ui-id', new_ui_id).data({
|
|
33183
33186
|
xuData: {
|