@drax/crud-vue 0.25.0 → 0.27.0

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/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.25.0",
6
+ "version": "0.27.0",
7
7
  "type": "module",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -24,10 +24,10 @@
24
24
  "format": "prettier --write src/"
25
25
  },
26
26
  "dependencies": {
27
- "@drax/common-front": "^0.25.0",
28
- "@drax/crud-front": "^0.25.0",
29
- "@drax/crud-share": "^0.25.0",
30
- "@drax/media-vue": "^0.25.0"
27
+ "@drax/common-front": "^0.27.0",
28
+ "@drax/crud-front": "^0.27.0",
29
+ "@drax/crud-share": "^0.27.0",
30
+ "@drax/media-vue": "^0.27.0"
31
31
  },
32
32
  "peerDependencies": {
33
33
  "pinia": "^2.2.2",
@@ -64,5 +64,5 @@
64
64
  "vue-tsc": "^2.1.10",
65
65
  "vuetify": "^3.8.2"
66
66
  },
67
- "gitHead": "5238915c16f72cba683c64c42cb6764ad146ec53"
67
+ "gitHead": "b8c4047451d7bcae320e5b9e50b8e60fb69229a8"
68
68
  }
@@ -174,7 +174,8 @@ export function useCrud(entity: IEntityCrud) {
174
174
  separator: ";",
175
175
  orderBy: store.sortBy[0]?.key,
176
176
  order: store.sortBy[0]?.order,
177
- search: store.search
177
+ search: store.search,
178
+ filters: store.filters
178
179
  })
179
180
 
180
181
  if (r && r.url) {
@@ -225,6 +226,7 @@ export function useCrud(entity: IEntityCrud) {
225
226
 
226
227
  function onCreate() {
227
228
  store.setForm(entity.form)
229
+ store.resetErrors()
228
230
  store.setOperation("create")
229
231
  openDialog()
230
232
  }