atom-nuxt 1.3.7 → 1.4.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/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@atomengine/atom-nuxt",
3
3
  "configKey": "atomNuxt",
4
- "version": "1.3.7",
4
+ "version": "1.4.0",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.1",
7
7
  "unbuild": "3.5.0"
@@ -221,7 +221,8 @@ const dialogTransition = computed(() => {
221
221
  <v-progress-circular indeterminate color="primary"></v-progress-circular>
222
222
  </div>
223
223
  </template>
224
- <slot :action="action"
224
+ <slot
225
+ :action="action"
225
226
  :readonly="readonly"
226
227
  :item="item"
227
228
  :errors="formErrors">
@@ -508,6 +508,9 @@ const exportAction = async () => {
508
508
  :errors="formErrors">
509
509
 
510
510
  </slot>
511
+ <template #beforeActions="{action, item, pending, formPending, errors}">
512
+ <slot name="beforeActions" :action="action" :item="item" :pending="pending" :formPending="formPending" :errors="errors"></slot>
513
+ </template>
511
514
  </crud-form-dialog>
512
515
 
513
516
  </div>
@@ -86,4 +86,12 @@ type __VLS_Slots = {
86
86
  originalItem: any;
87
87
  errors: any;
88
88
  }) => any) | undefined;
89
+ } & {
90
+ beforeActions?: ((props: {
91
+ action: any;
92
+ item: any;
93
+ pending: any;
94
+ formPending: any;
95
+ errors: any;
96
+ }) => any) | undefined;
89
97
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "atom-nuxt",
3
- "version": "1.3.7",
3
+ "version": "1.4.0",
4
4
  "description": "My new Nuxt module",
5
5
  "repository": "atomengine/atom-nuxt",
6
6
  "license": "MIT",