@afeefa/vue-app 0.0.128 → 0.0.130

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- 0.0.128
1
+ 0.0.130
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@afeefa/vue-app",
3
- "version": "0.0.128",
3
+ "version": "0.0.130",
4
4
  "description": "",
5
5
  "author": "Afeefa Kollektiv <kollektiv@afeefa.de>",
6
6
  "license": "MIT",
@@ -13,7 +13,9 @@ export class ApiAction extends ApiResourcesApiAction {
13
13
  _showError = true
14
14
 
15
15
  id (id) {
16
- this.param('id', id)
16
+ if (id) {
17
+ this.param('id', id)
18
+ }
17
19
  return this
18
20
  }
19
21
 
@@ -96,6 +96,15 @@ export default class ATableRow extends Vue {
96
96
  padding-bottom: .2rem;
97
97
  }
98
98
  }
99
+
100
+ .textblock--small {
101
+ font-size: .8rem;
102
+ }
103
+ }
104
+
105
+ .textblock--small {
106
+ font-size: .9rem;
107
+ line-height: .9;
99
108
  }
100
109
 
101
110
  [class*=text-] {
@@ -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) {
@@ -30,6 +30,9 @@
30
30
  {{ subtitle }}
31
31
  </h3>
32
32
  <h2>{{ title }}</h2>
33
+ <h3 v-if="detail">
34
+ {{ detail }}
35
+ </h3>
33
36
  </div>
34
37
  </a-row>
35
38
  </template>
@@ -38,7 +41,7 @@
38
41
  import { Component, Vue } from '@a-vue'
39
42
 
40
43
  @Component({
41
- props: ['back', 'icon', 'title', 'subtitle']
44
+ props: ['back', 'icon', 'title', 'subtitle', 'detail']
42
45
  })
43
46
  export default class appBarTitle extends Vue {
44
47
  mounted () {
@@ -89,4 +92,9 @@ h2 {
89
92
  overflow: hidden;
90
93
  text-overflow: ellipsis;
91
94
  }
95
+
96
+ h2 + h3 {
97
+ color: #666666;
98
+ font-size: 1rem;
99
+ }
92
100
  </style>