@afeefa/vue-app 0.0.126 → 0.0.128
Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.128
|
package/package.json
CHANGED
@@ -1,10 +1,11 @@
|
|
1
|
+
import { adminConfig } from '@a-admin/config/AdminConfig'
|
1
2
|
import { AlertEvent } from '@a-vue/events'
|
2
3
|
import { eventBus } from '@a-vue/plugins/event-bus/EventBus'
|
3
4
|
|
4
5
|
import { ApiAction } from './ApiAction'
|
5
6
|
|
6
7
|
export class SaveAction extends ApiAction {
|
7
|
-
_minDuration = 400
|
8
|
+
_minDuration = adminConfig.app.saveLoaderMinDuration || 400
|
8
9
|
|
9
10
|
save () {
|
10
11
|
return this.execute()
|
@@ -73,6 +73,8 @@ export default class EditForm extends Vue {
|
|
73
73
|
* as a date field, which could turn a null to a default date.
|
74
74
|
* Using the created() method would result in already having set
|
75
75
|
* the default date, hence not detecting a valid "change" anymore.
|
76
|
+
*
|
77
|
+
* comment 14.12. -> this should not be necessary if components do not alter models
|
76
78
|
*/
|
77
79
|
// @Watch('modelToEdit', {immediate: true})
|
78
80
|
// @Watch('modelToEdit')
|
package/src-admin/AfeefaAdmin.js
CHANGED
@@ -5,12 +5,14 @@ class AdminConfig {
|
|
5
5
|
logo: null,
|
6
6
|
title: null,
|
7
7
|
loaderColor: null,
|
8
|
-
rootRouteName: null
|
9
|
-
|
8
|
+
rootRouteName: null,
|
9
|
+
appLoaderMinDuration: null,
|
10
|
+
saveLoaderMinDuration: null,
|
10
11
|
|
11
|
-
|
12
|
-
|
13
|
-
|
12
|
+
components: {
|
13
|
+
Splash: null,
|
14
|
+
SidebarMenu: null
|
15
|
+
}
|
14
16
|
}
|
15
17
|
}
|
16
18
|
|