@xuda.io/xuda-worker-bundle-min 1.3.1063 → 1.3.1065

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.
Files changed (2) hide show
  1. package/index.js +4 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1532,6 +1532,7 @@ glb.attr_abbreviations_arr = [
1532
1532
  "xu-blur",
1533
1533
  "xu-init",
1534
1534
  ];
1535
+ glb.solid_attributes = ["disabled"];
1535
1536
  func.datasource = {};
1536
1537
  func.datasource.create = async function (
1537
1538
  SESSION_ID,
@@ -3400,7 +3401,7 @@ func.datasource.get_field_init_count = async function (
3400
3401
  for await (const field_obj of _view_obj.progFields) {
3401
3402
  var fieldId = field_obj.data.field_id;
3402
3403
 
3403
- if (!field_obj.triggers) {
3404
+ if (!field_obj?.triggers?.length) {
3404
3405
  continue;
3405
3406
  }
3406
3407
  for await (const trigger_obj of field_obj.triggers) {
@@ -3450,7 +3451,7 @@ func.datasource.get_field_init_count = async function (
3450
3451
  // },
3451
3452
  // };
3452
3453
 
3453
- _ds.dataSource_init_arr[rowIdP].push = {
3454
+ _ds.dataSource_init_arr[rowIdP].push({
3454
3455
  eventInfo: trigger_obj,
3455
3456
  triggerId: trigger_obj.id,
3456
3457
  fieldId: fieldId,
@@ -3467,7 +3468,7 @@ func.datasource.get_field_init_count = async function (
3467
3468
  prog_id: args.prog_id,
3468
3469
  dsSession: dataSourceSession,
3469
3470
  },
3470
- };
3471
+ });
3471
3472
  ret++;
3472
3473
  }
3473
3474
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.1063",
3
+ "version": "1.3.1065",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {