@afeefa/vue-app 0.0.127 → 0.0.129
Sign up to get free protection for your applications and to get access to all the features.
- package/.afeefa/package/release/version.txt +1 -1
- package/package.json +1 -1
- package/src/api-resources/SaveAction.js +2 -1
- package/src/components/ATableRow.vue +1 -0
- package/src/components/form/fields/FormFieldSearchSelect.vue +4 -1
- package/src-admin/AfeefaAdmin.js +1 -1
- package/src-admin/config/AdminConfig.js +7 -5
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.129
|
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()
|
@@ -94,7 +94,10 @@ export default class FormFieldSearchSelect extends Mixins(FormFieldMixin) {
|
|
94
94
|
}
|
95
95
|
|
96
96
|
get listAction () {
|
97
|
-
|
97
|
+
const request = this.field
|
98
|
+
.getOptionsRequest()
|
99
|
+
.addParams(this.optionRequestParams || {})
|
100
|
+
return ListAction.fromRequest(request)
|
98
101
|
}
|
99
102
|
|
100
103
|
itemSelected (model) {
|
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
|
|