@drax/crud-vue 0.7.21 → 0.8.3

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.7.21",
6
+ "version": "0.8.3",
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.7.4",
28
- "@drax/crud-front": "^0.7.21",
29
- "@drax/crud-share": "^0.7.21",
30
- "@drax/media-vue": "^0.7.5"
27
+ "@drax/common-front": "^0.8.3",
28
+ "@drax/crud-front": "^0.8.3",
29
+ "@drax/crud-share": "^0.8.3",
30
+ "@drax/media-vue": "^0.8.3"
31
31
  },
32
32
  "peerDependencies": {
33
33
  "pinia": "^2.2.2",
@@ -64,5 +64,5 @@
64
64
  "vue-tsc": "^2.0.11",
65
65
  "vuetify": "^3.7.1"
66
66
  },
67
- "gitHead": "b334f8a21c0c263affa4dfb4afe3befb91bd110a"
67
+ "gitHead": "0c42b81c3b6e5d93a2dad9be6421d13a3a7fb3b8"
68
68
  }
package/src/EntityCrud.ts CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -46,7 +46,7 @@ const show = ref(false)
46
46
  const name = computed(() => index >= 0 ? `${parentField ? parentField + "_" : ""}${field.name}_${index}` : `${parentField ? parentField + "_" : ""}${field.name}`)
47
47
 
48
48
  const label = computed(() => {
49
- const i18n = `${entity.name}.field.${field.name}`
49
+ const i18n = `${entity.name.toLowerCase()}.field.${field.name}`
50
50
  return te(i18n) ? t(i18n) : field.label
51
51
  })
52
52
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/src/index.ts CHANGED
File without changes
File without changes