atom-nuxt 1.0.153 → 1.0.155

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@atomengine/atom-nuxt",
3
3
  "configKey": "atomNuxt",
4
- "version": "1.0.153",
4
+ "version": "1.0.155",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.1",
7
7
  "unbuild": "3.5.0"
@@ -77,6 +77,11 @@ const props = defineProps({
77
77
  required: false,
78
78
  default: false
79
79
  },
80
+ hideActions: {
81
+ type: Boolean,
82
+ required: false,
83
+ default: false
84
+ },
80
85
  originalItem: {
81
86
  type: Object,
82
87
  required: false,
@@ -154,7 +159,7 @@ const isLarge = computed(() => display.lgAndUp.value);
154
159
  </suspense>
155
160
  </div>
156
161
  </div>
157
- <v-card-actions class="pa-0 border-t pa-4 elevation-5">
162
+ <v-card-actions v-if="!hideActions" class="pa-0 border-t pa-4 elevation-5">
158
163
  <v-btn
159
164
  size="large"
160
165
  class="px-5"
@@ -17,6 +17,7 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
17
17
  btnIcon: string;
18
18
  btnColor: string;
19
19
  fullScreen: boolean;
20
+ hideActions: boolean;
20
21
  originalItem: Record<string, any>;
21
22
  btnText?: string | undefined;
22
23
  $props: any;
@@ -74,7 +74,6 @@ export const useCrudApi = (path, watchPage = true, transformItem = null, transfo
74
74
  try {
75
75
  pending.value = true;
76
76
  errors.value = {};
77
- debugger;
78
77
  if (crudHeadersGenerator) {
79
78
  const dynamicHeaders = await crudHeadersGenerator();
80
79
  options.headers = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "atom-nuxt",
3
- "version": "1.0.153",
3
+ "version": "1.0.155",
4
4
  "description": "My new Nuxt module",
5
5
  "repository": "atomengine/atom-nuxt",
6
6
  "license": "MIT",