@xuda.io/runtime-bundle 1.0.980 → 1.0.981

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.
@@ -9695,7 +9695,7 @@ func.events.execute = async function (
9695
9695
  dsSession,
9696
9696
  `(async function(el,evt) {
9697
9697
  ${refIdP.value}
9698
- })(document.querySelector(\`[xu-ui-id=${elementP}]\`),evt)`,
9698
+ })(document.querySelector(\`[xu-ui-id="${elementP}"]\`),evt)`,
9699
9699
  null,
9700
9700
  null,
9701
9701
  null,
@@ -9715,7 +9715,7 @@ func.events.execute = async function (
9715
9715
  dsSession,
9716
9716
  `(async function(el,evt) {
9717
9717
  ${refIdP.value}
9718
- })(document.querySelector(\`[xu-ui-id=${elementP}]\`),evt)`,
9718
+ })(document.querySelector(\`[xu-ui-id="${elementP}"]\`),evt)`,
9719
9719
  true,
9720
9720
  null,
9721
9721
  null,
@@ -11144,10 +11144,10 @@ func.expression.secure_eval = async function (SESSION_ID, sourceP, val, job_id,
11144
11144
  return eval(val);
11145
11145
  } catch (err) {
11146
11146
  try {
11147
- if (glb.DEBUG_MODE) console.warn(err);
11147
+ if (sourceP === 'javascript') console.error(err);
11148
11148
  return JSON5.parse(val);
11149
11149
  } catch (err) {
11150
- if (glb.DEBUG_MODE) console.warn(err);
11150
+ if (sourceP === 'javascript') console.error(err);
11151
11151
  return val;
11152
11152
  }
11153
11153
  }
@@ -13834,7 +13834,7 @@ func.events.execute = async function (
13834
13834
  dsSession,
13835
13835
  `(async function(el,evt) {
13836
13836
  ${refIdP.value}
13837
- })(document.querySelector(\`[xu-ui-id=${elementP}]\`),evt)`,
13837
+ })(document.querySelector(\`[xu-ui-id="${elementP}"]\`),evt)`,
13838
13838
  null,
13839
13839
  null,
13840
13840
  null,
@@ -13854,7 +13854,7 @@ func.events.execute = async function (
13854
13854
  dsSession,
13855
13855
  `(async function(el,evt) {
13856
13856
  ${refIdP.value}
13857
- })(document.querySelector(\`[xu-ui-id=${elementP}]\`),evt)`,
13857
+ })(document.querySelector(\`[xu-ui-id="${elementP}"]\`),evt)`,
13858
13858
  true,
13859
13859
  null,
13860
13860
  null,
@@ -15283,10 +15283,10 @@ func.expression.secure_eval = async function (SESSION_ID, sourceP, val, job_id,
15283
15283
  return eval(val);
15284
15284
  } catch (err) {
15285
15285
  try {
15286
- if (glb.DEBUG_MODE) console.warn(err);
15286
+ if (sourceP === 'javascript') console.error(err);
15287
15287
  return JSON5.parse(val);
15288
15288
  } catch (err) {
15289
- if (glb.DEBUG_MODE) console.warn(err);
15289
+ if (sourceP === 'javascript') console.error(err);
15290
15290
  return val;
15291
15291
  }
15292
15292
  }