@drax/crud-vue 3.48.1 → 3.50.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": "3.48.1",
6
+ "version": "3.50.0",
7
7
  "type": "module",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -26,8 +26,8 @@
26
26
  "dependencies": {
27
27
  "@drax/common-front": "^3.29.0",
28
28
  "@drax/crud-front": "^3.21.0",
29
- "@drax/crud-share": "^3.48.0",
30
- "@drax/media-vue": "^3.48.1"
29
+ "@drax/crud-share": "^3.50.0",
30
+ "@drax/media-vue": "^3.50.0"
31
31
  },
32
32
  "peerDependencies": {
33
33
  "pinia": "^3.0.4",
@@ -50,5 +50,5 @@
50
50
  "vue-tsc": "^3.2.4",
51
51
  "vuetify": "^3.11.8"
52
52
  },
53
- "gitHead": "2f53ec44a763aa31d89aa2688116af3604765450"
53
+ "gitHead": "1f7040e46eafd8ed45dcdec95d3c1ba41e567e75"
54
54
  }
@@ -244,7 +244,7 @@ watch(dialog, (value) => {
244
244
  >
245
245
  <template #toolbar-actions>
246
246
  <crud-open-route-form-button
247
- v-if="canOpenRouteCrudForm"
247
+ v-if="entity.isRouteFormEnable && canOpenRouteCrudForm"
248
248
  id="crud-open-route-form-button"
249
249
  class="crud__open-route-form-button"
250
250
  @click="openRouteCrudForm"
@@ -28,7 +28,7 @@ const {
28
28
  <v-btn
29
29
  v-bind="props"
30
30
  id="crud-columns-button"
31
- class="crud-columns-button"
31
+ class="crud-columns-button mr-1"
32
32
  icon
33
33
  :variant="buttonConfig.variant"
34
34
  :rounded="buttonConfig.rounded"
@@ -16,7 +16,6 @@ const buttonConfig = useCrudButtonConfig("view")
16
16
  :variant="buttonConfig.variant"
17
17
  :rounded="buttonConfig.rounded"
18
18
  :color="buttonConfig.color"
19
- slim
20
19
  >
21
20
  </v-btn>
22
21
  </template>
@@ -355,6 +355,10 @@ class EntityCrud implements IEntityCrud {
355
355
  return false
356
356
  }
357
357
 
358
+ get isRouteFormEnable(): boolean{
359
+ return true
360
+ }
361
+
358
362
  get navigationOperations(): IEntityCrudOperation[] {
359
363
  return ['view']
360
364
  }