@kestra-io/ui-libs 0.0.4 → 0.0.6

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": "@kestra-io/ui-libs",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src",
@@ -62,9 +62,10 @@
62
62
  </basic-node>
63
63
  <Handle type="target" :position="targetPosition"/>
64
64
  </template>
65
-
66
- <script>
65
+ <script setup>
67
66
  import BasicNode from "./BasicNode.vue";
67
+ </script>
68
+ <script>
68
69
  import {Handle} from "@vue-flow/core";
69
70
  import State from "../../utils/state.js";
70
71
  import {EVENTS, SECTIONS} from "../../utils/constants.js";
@@ -78,6 +79,14 @@
78
79
 
79
80
  export default {
80
81
  name: "Task",
82
+ components: {
83
+ Pencil,
84
+ Delete,
85
+ ExecutionInformations,
86
+ Handle,
87
+ TextBoxSearch,
88
+ AlertOutline,
89
+ },
81
90
  inheritAttrs: false,
82
91
  mounted(){
83
92
  const tooltipTriggerList = [].slice.call(document.querySelectorAll("[data-bs-toggle=\"tooltip\"]"));
@@ -155,15 +164,6 @@
155
164
  EVENTS.DELETE,
156
165
  EVENTS.ADD_TASK
157
166
  ],
158
- components: {
159
- Pencil,
160
- Delete,
161
- ExecutionInformations,
162
- Handle,
163
- BasicNode,
164
- TextBoxSearch,
165
- AlertOutline,
166
- },
167
167
  props: {
168
168
  data: {
169
169
  type: Object,
@@ -34,9 +34,10 @@
34
34
  </basic-node>
35
35
  <Handle type="target" :position="targetPosition" />
36
36
  </template>
37
-
38
- <script>
37
+ <script setup>
39
38
  import BasicNode from "./BasicNode.vue";
39
+ </script>
40
+ <script>
40
41
  import {Handle} from "@vue-flow/core";
41
42
  import {mapState} from "vuex";
42
43
  import {EVENTS, SECTIONS} from "../../utils/constants.js";
@@ -82,7 +83,6 @@
82
83
  components: {
83
84
  Delete, Pencil,
84
85
  Handle,
85
- BasicNode,
86
86
  },
87
87
  props: {
88
88
  data: {