@xuda.io/runtime-bundle 1.0.910 → 1.0.912

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.
@@ -32420,6 +32420,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
32420
32420
  CLIENT_ACTIVITY_TS = Date.now();
32421
32421
  const trigger = val.key.split('xu-on:')[1].toLowerCase();
32422
32422
  $elm.on(trigger, async function (evt) {
32423
+ if (_.isEmpty($elm.data().xuAttributes)) return;
32424
+
32423
32425
  for await (const [key, val] of Object.entries($elm.data().xuAttributes['xu-on:' + evt.type])) {
32424
32426
  if (!_.isEmpty(val.props.condition)) {
32425
32427
  const expCond = await func.expression.get(SESSION_ID, val.props.condition, paramsP.dsSessionP, 'condition', paramsP.recordid); // execute expression
@@ -35022,7 +35024,7 @@ func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, row
35022
35024
  }
35023
35025
  if (typeof retP.value !== 'undefined') {
35024
35026
  var_Arr[key].type = retP.type;
35025
- var_Arr[key].value = typeof retP.value === 'string' ? retP.value.replaceAll('"', '\\"') : retP.value; // new Apr 6 2025 fixing "\"how much?\""
35027
+ var_Arr[key].value = typeof retP.value === 'string' && !retP.value.includes('<svg xmlns=') && retP.value.indexOf('\\') === -1 ? retP.value.replaceAll('"', '\\"') : retP.value; // new Apr 6 2025 fixing "\"how much?\""
35026
35028
  if ((val.value.indexOf('[') > -1) | (val.value.indexOf('.') > -1)) {
35027
35029
  //get values from array '@var==="sss" && @var_B==="sss" && @obj.property===5 && @objA["value"]===123 | @objB["value"].property===1234'
35028
35030
  var data = retP.prop;