eservices-core 1.0.579 → 1.0.580

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/dist/index.js +11 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * eservices-core v1.0.579
2
+ * eservices-core v1.0.580
3
3
  * (c) 2023 ESERVICES
4
4
  */
5
5
  'use strict';
@@ -3339,7 +3339,7 @@ function useListState(list) {
3339
3339
  });
3340
3340
  // const array = reactive<IData[]>([]);
3341
3341
  list.on(List.EVENT_DATA, (data) => {
3342
- state.array.splice(0, state.array.length, ...data);
3342
+ state.array.splice(0, state.array.length, ...(data.map(a => Object.freeze(JSON.parse(JSON.stringify(a))))));
3343
3343
  });
3344
3344
  list.on(jenesiusVueForm.Form.EVENT_WAIT, () => {
3345
3345
  state.wait = list.wait;
@@ -3670,7 +3670,15 @@ function select(context, value) {
3670
3670
  context.emit('select', value);
3671
3671
  }
3672
3672
  function setupListRow(props, context) {
3673
- return () => getTableRow$1(props, context);
3673
+ return () => {
3674
+ try {
3675
+ return getTableRow$1(props, context);
3676
+ }
3677
+ catch (e) {
3678
+ console.warn(e);
3679
+ return null;
3680
+ }
3681
+ };
3674
3682
  }
3675
3683
 
3676
3684
  var script$l = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eservices-core",
3
- "version": "1.0.579",
3
+ "version": "1.0.580",
4
4
  "description": "Core library",
5
5
  "author": "",
6
6
  "scripts": {