@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.
@@ -1 +1 @@
1
- 0.0.127
1
+ 0.0.129
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@afeefa/vue-app",
3
- "version": "0.0.127",
3
+ "version": "0.0.129",
4
4
  "description": "",
5
5
  "author": "Afeefa Kollektiv <kollektiv@afeefa.de>",
6
6
  "license": "MIT",
@@ -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()
@@ -46,6 +46,7 @@ export default class ATableRow extends Vue {
46
46
  > * {
47
47
  padding: .15rem;
48
48
  padding-right: 1.5rem;
49
+ vertical-align: top;
49
50
 
50
51
  &:last-child {
51
52
  padding-right: .1rem;
@@ -94,7 +94,10 @@ export default class FormFieldSearchSelect extends Mixins(FormFieldMixin) {
94
94
  }
95
95
 
96
96
  get listAction () {
97
- return ListAction.fromRequest(this.field.getOptionsRequest())
97
+ const request = this.field
98
+ .getOptionsRequest()
99
+ .addParams(this.optionRequestParams || {})
100
+ return ListAction.fromRequest(request)
98
101
  }
99
102
 
100
103
  itemSelected (model) {
@@ -109,6 +109,6 @@ export class AfeefaAdmin {
109
109
  splash
110
110
  }
111
111
  })
112
- }, 300)
112
+ }, adminConfig.app.appLoaderMinDuration || 300)
113
113
  }
114
114
  }
@@ -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
- components = {
12
- Splash: null,
13
- SidebarMenu: null
12
+ components: {
13
+ Splash: null,
14
+ SidebarMenu: null
15
+ }
14
16
  }
15
17
  }
16
18