@xuda.io/runtime-bundle 1.0.332 → 1.0.334

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.
@@ -11568,7 +11568,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
11568
11568
  const _source_xuAttributes = _$callingContainer.data()?.xuAttributes;
11569
11569
  if (_source_xuAttributes) {
11570
11570
  for (const [attr, value] of Object.entries(_source_xuAttributes)) {
11571
- if (value.includes(val_field)) {
11571
+ if (value?.includes(val_field)) {
11572
11572
  const pattern = /xu-exp:(\w+)/;
11573
11573
  const match = attr.match(pattern);
11574
11574
  if (match) {
@@ -11585,7 +11585,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
11585
11585
  let attr = [];
11586
11586
 
11587
11587
  $.each($(this).data()?.xuAttributes, function (key, val) {
11588
- if (key.substr(0, 2) !== 'xu') return true;
11588
+ if (key.substr(0, 3) !== 'xu-') return true;
11589
11589
 
11590
11590
  if (key === 'xu-for') {
11591
11591
  // match static value for xu-for
@@ -9634,7 +9634,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
9634
9634
  const _source_xuAttributes = _$callingContainer.data()?.xuAttributes;
9635
9635
  if (_source_xuAttributes) {
9636
9636
  for (const [attr, value] of Object.entries(_source_xuAttributes)) {
9637
- if (value.includes(val_field)) {
9637
+ if (value?.includes(val_field)) {
9638
9638
  const pattern = /xu-exp:(\w+)/;
9639
9639
  const match = attr.match(pattern);
9640
9640
  if (match) {
@@ -9651,7 +9651,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
9651
9651
  let attr = [];
9652
9652
 
9653
9653
  $.each($(this).data()?.xuAttributes, function (key, val) {
9654
- if (key.substr(0, 2) !== 'xu') return true;
9654
+ if (key.substr(0, 3) !== 'xu-') return true;
9655
9655
 
9656
9656
  if (key === 'xu-for') {
9657
9657
  // match static value for xu-for