diff --git a/components/@mixins/MixinNavigationTabs.js b/components/@mixins/MixinNavigationTabs.js
new file mode 100644
index 0000000..57fd72b
--- /dev/null
+++ b/components/@mixins/MixinNavigationTabs.js
@@ -0,0 +1,6 @@
+import { uniqid } from 'genesis/support/utils'
+
+export default {
+ props: {},
+ methods: {}
+}
diff --git a/components/@mixins/MixinNavigationWizard.js b/components/@mixins/MixinNavigationWizard.js
new file mode 100644
index 0000000..7c9a5ac
--- /dev/null
+++ b/components/@mixins/MixinNavigationWizard.js
@@ -0,0 +1,13 @@
+import { uniqid } from 'genesis/support/utils'
+
+export default {
+ props: {},
+ methods: {
+ nextStep () {
+ this.$refs.form.$refs.stepper.next()
+ },
+ previousStep () {
+ this.$refs.form.$refs.stepper.previous()
+ }
+ }
+}
diff --git a/components/crud/Form.vue b/components/crud/Form.vue
index 5593e0c..a688e73 100644
--- a/components/crud/Form.vue
+++ b/components/crud/Form.vue
@@ -9,13 +9,13 @@
-
-
+
@@ -34,8 +34,12 @@
diff --git a/components/crud/model/form/MixinForm.js b/components/crud/model/form/MixinForm.js
index d47e6e8..425df81 100644
--- a/components/crud/model/form/MixinForm.js
+++ b/components/crud/model/form/MixinForm.js
@@ -60,6 +60,14 @@ export default {
type: String,
default: () => ''
},
+ steps: {
+ type: Array,
+ default: () => ([])
+ },
+ step: {
+ type: String,
+ default: () => ''
+ },
change: {
type: Function
},
@@ -177,6 +185,12 @@ export default {
if (this.scopes[this.scope]) {
this.readonly = this.scopes[this.scope].readonly
}
+ if (this.tabs.length) {
+ this.$g.emit('app-crud-enviroment', 'tabs')
+ }
+ if (this.steps.length) {
+ this.$g.emit('app-crud-enviroment', 'steps')
+ }
this.renderAll()
},
mounted () {
diff --git a/components/form/AppForm.vue b/components/form/AppForm.vue
index 2a03a4d..001bd41 100644
--- a/components/form/AppForm.vue
+++ b/components/form/AppForm.vue
@@ -11,6 +11,7 @@
@input="formInput(schema.field, arguments)" @event="formEvent">
+