@xuda.io/runtime-bundle 1.0.783 → 1.0.784
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.
|
@@ -33504,26 +33504,33 @@ func.UI.screen.execute_screen_ready_events = async function (SESSION_ID, paramsP
|
|
|
33504
33504
|
};
|
|
33505
33505
|
func.UI.screen.screen_loading_done = async function (SESSION_ID, paramsP, $div, jobNoP) {
|
|
33506
33506
|
// await
|
|
33507
|
-
|
|
33508
|
-
|
|
33509
|
-
|
|
33510
|
-
|
|
33511
|
-
|
|
33512
|
-
|
|
33513
|
-
|
|
33514
|
-
|
|
33515
|
-
|
|
33516
|
-
|
|
33517
|
-
|
|
33518
|
-
|
|
33519
|
-
|
|
33520
|
-
|
|
33521
|
-
|
|
33522
|
-
|
|
33523
|
-
|
|
33524
|
-
|
|
33507
|
+
|
|
33508
|
+
let interval = setInterval(() => {
|
|
33509
|
+
if (!$(SESSION_OBJ[SESSION_ID].root_element).find(`[xu-ui-id=${ret_render_$container.attr('xu-ui-id')}]`).length) return;
|
|
33510
|
+
|
|
33511
|
+
clearInterval(interval);
|
|
33512
|
+
|
|
33513
|
+
func.UI.screen.execute_screen_ready_events(SESSION_ID, paramsP, paramsP.screenInfo.properties?.renderType, $div, jobNoP);
|
|
33514
|
+
var _session = SESSION_OBJ[SESSION_ID];
|
|
33515
|
+
func.events.delete_job(SESSION_ID, jobNoP);
|
|
33516
|
+
func.UI.utils.screen_blocker(false, paramsP.prog_id + (paramsP.sourceScreenP ? '_' + paramsP.sourceScreenP : ''));
|
|
33517
|
+
if (_session.prog_id === paramsP.prog_id) {
|
|
33518
|
+
_session.system_ready = true;
|
|
33519
|
+
if (_session.engine_mode === 'live_preview' && STUDIO_PEER_CONN_SEND_METHOD) {
|
|
33520
|
+
STUDIO_PEER_CONN_SEND_METHOD({
|
|
33521
|
+
service: 'system_ready',
|
|
33522
|
+
data: {},
|
|
33523
|
+
id: STUDIO_PEER.id,
|
|
33524
|
+
source: 'runtime',
|
|
33525
|
+
session_id: SESSION_ID,
|
|
33526
|
+
app_id: _session.app_id,
|
|
33527
|
+
gtp_token: _session.gtp_token,
|
|
33528
|
+
app_token: _session.app_token,
|
|
33529
|
+
});
|
|
33530
|
+
// }
|
|
33531
|
+
}
|
|
33525
33532
|
}
|
|
33526
|
-
}
|
|
33533
|
+
}, 100);
|
|
33527
33534
|
|
|
33528
33535
|
return $div;
|
|
33529
33536
|
};
|