@processmaker/screen-builder 2.77.11 → 2.77.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@processmaker/screen-builder",
3
- "version": "2.77.11",
3
+ "version": "2.77.12",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -4,7 +4,7 @@
4
4
  <span class="title">
5
5
  {{ $t(title) }}
6
6
  </span>
7
- <b-link :href="url">
7
+ <b-link v-if="url !== ''" @click="openLink()">
8
8
  {{ linkText }}
9
9
  </b-link>
10
10
  </div>
@@ -18,6 +18,11 @@ export default {
18
18
  return {
19
19
  linkText
20
20
  };
21
+ },
22
+ methods: {
23
+ openLink() {
24
+ window.open(this.link, "_blank");
25
+ }
21
26
  }
22
27
  };
23
28
  </script>
@@ -20,13 +20,13 @@
20
20
  </template>
21
21
  <b-dropdown-item
22
22
  @click="handleDropdownSelection('requests_filter', 'by_me')"
23
- >{{ $t("Request Started By Me") }}</b-dropdown-item
23
+ >{{ $t("Requester") }}</b-dropdown-item
24
24
  >
25
25
  <b-dropdown-item
26
26
  @click="
27
27
  handleDropdownSelection('requests_filter', 'as_participant')
28
28
  "
29
- >{{ $t("With Me as Participant") }}
29
+ >{{ $t("Participant") }}
30
30
  </b-dropdown-item>
31
31
  </b-dropdown>
32
32
  </template>
@@ -28,14 +28,18 @@
28
28
  </b-container>
29
29
  </div>
30
30
  </div>
31
+ <div v-else>
32
+ <formEmpty link="" title="No Request to Start" url="" />
33
+ </div>
31
34
  </div>
32
35
  </template>
33
36
 
34
37
  <script>
35
38
  import ProcessCard from "./card.vue";
39
+ import formEmpty from "./form-empty-table.vue";
36
40
 
37
41
  export default {
38
- components: { ProcessCard },
42
+ components: { ProcessCard, formEmpty },
39
43
  data() {
40
44
  return {
41
45
  filter: "",