@community-release/nx-ui 0.0.50 → 0.0.51

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.
package/dist/module.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "ui",
3
3
  "configKey": "ui",
4
- "version": "0.0.50"
4
+ "version": "0.0.51"
5
5
  }
@@ -81,9 +81,10 @@
81
81
  });
82
82
 
83
83
  const filesList = ref([]);
84
+
84
85
  watch(filesList, e => {
85
- emit('update:modelValue', e);
86
- });
86
+ emit('update:modelValue', unwrapFiles(e));
87
+ }, { deep: true });
87
88
 
88
89
  const imagePreview = ref();
89
90
 
@@ -168,6 +169,10 @@
168
169
  return result;
169
170
  }
170
171
 
172
+ function unwrapFiles(ar) {
173
+ return ar.length ? ar.map(v => v.file) : [];
174
+ }
175
+
171
176
  // Hooks
172
177
 
173
178
  </script>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@community-release/nx-ui",
3
- "version": "0.0.50",
3
+ "version": "0.0.51",
4
4
  "packageManager": "pnpm@10.14.0",
5
5
  "description": "nx-ui - Nuxt UI library",
6
6
  "repository": {