@nvent-addon/app 0.5.0 → 0.5.2

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.
Files changed (26) hide show
  1. package/dist/module.mjs +0 -5
  2. package/dist/runtime/app/components/ConfirmDialog.d.vue.ts +2 -2
  3. package/dist/runtime/app/components/ConfirmDialog.vue +0 -1
  4. package/dist/runtime/app/components/ConfirmDialog.vue.d.ts +2 -2
  5. package/dist/runtime/app/components/ListItem.vue +0 -1
  6. package/dist/runtime/app/components/QueueConfiguration.vue +0 -1
  7. package/dist/runtime/app/components/StatCard.vue +0 -1
  8. package/dist/runtime/app/components/TimelineList.vue +0 -1
  9. package/dist/runtime/app/components/flow/AwaitNode.vue +0 -1
  10. package/dist/runtime/app/components/flow/NodeCard.vue +0 -1
  11. package/dist/runtime/app/components/flow/RunOverview.vue +0 -1
  12. package/dist/runtime/app/components/flow/RunTimeline.vue +0 -1
  13. package/dist/runtime/app/components/flow/StepSelector.vue +0 -1
  14. package/dist/runtime/app/components/trigger/BasicInfoCard.vue +2 -1
  15. package/dist/runtime/app/components/trigger/EventConfig.vue +2 -1
  16. package/dist/runtime/app/components/trigger/ScheduleConfig.vue +2 -2
  17. package/dist/runtime/app/components/trigger/WebhookConfig.vue +2 -1
  18. package/dist/runtime/app/pages/dashboard.vue +0 -1
  19. package/dist/runtime/app/pages/flows/[name].vue +0 -9
  20. package/dist/runtime/app/pages/flows/index.vue +0 -1
  21. package/dist/runtime/app/pages/queues/index.vue +0 -1
  22. package/dist/runtime/app/pages/queues/job.vue +0 -1
  23. package/dist/runtime/app/pages/queues/jobs.vue +0 -1
  24. package/dist/runtime/app/pages/triggers/[name].vue +0 -1
  25. package/dist/runtime/app/pages/triggers/index.vue +0 -1
  26. package/package.json +1 -1
package/dist/module.mjs CHANGED
@@ -13,11 +13,6 @@ const module$1 = defineNuxtModule({
13
13
  routePath: "/_nvent",
14
14
  layout: false
15
15
  },
16
- moduleDependencies: {
17
- "json-editor-vue/nuxt": {
18
- version: "0.18.1"
19
- }
20
- },
21
16
  async setup(options, nuxt) {
22
17
  const { resolve } = createResolver(import.meta.url);
23
18
  addImportsDir(resolve("./runtime/shared/utils"));
@@ -17,12 +17,12 @@ type __VLS_ModelProps = {
17
17
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
18
18
  declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
19
  cancel: () => any;
20
- "update:open": (value: boolean) => any;
21
20
  confirm: () => any;
21
+ "update:open": (value: boolean) => any;
22
22
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
23
23
  onCancel?: (() => any) | undefined;
24
- "onUpdate:open"?: ((value: boolean) => any) | undefined;
25
24
  onConfirm?: (() => any) | undefined;
25
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
26
26
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
27
27
  declare const _default: typeof __VLS_export;
28
28
  export default _default;
@@ -82,7 +82,6 @@
82
82
 
83
83
  <script setup>
84
84
  import { computed } from "#imports";
85
- import { UModal, UButton, UIcon } from "#components";
86
85
  const props = defineProps({
87
86
  title: { type: String, required: true },
88
87
  description: { type: String, required: false },
@@ -17,12 +17,12 @@ type __VLS_ModelProps = {
17
17
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
18
18
  declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
19
  cancel: () => any;
20
- "update:open": (value: boolean) => any;
21
20
  confirm: () => any;
21
+ "update:open": (value: boolean) => any;
22
22
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
23
23
  onCancel?: (() => any) | undefined;
24
- "onUpdate:open"?: ((value: boolean) => any) | undefined;
25
24
  onConfirm?: (() => any) | undefined;
25
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
26
26
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
27
27
  declare const _default: typeof __VLS_export;
28
28
  export default _default;
@@ -59,7 +59,6 @@
59
59
 
60
60
  <script setup>
61
61
  import { useComponentRouter } from "#imports";
62
- import { ULink, UDropdownMenu, UButton, UIcon, UBadge } from "#components";
63
62
  defineProps({
64
63
  title: { type: String, required: false, default: "" },
65
64
  link: { type: String, required: true },
@@ -364,7 +364,6 @@
364
364
 
365
365
  <script setup>
366
366
  import { computed } from "#imports";
367
- import { UIcon, UBadge } from "#components";
368
367
  const props = defineProps({
369
368
  queueName: { type: String, required: true },
370
369
  queueConfig: { type: Object, required: false },
@@ -25,7 +25,6 @@
25
25
 
26
26
  <script setup>
27
27
  import { computed } from "#imports";
28
- import { UIcon } from "#components";
29
28
  const props = defineProps({
30
29
  icon: { type: String, required: true },
31
30
  count: { type: [Number, String], required: true },
@@ -180,7 +180,6 @@
180
180
 
181
181
  <script setup>
182
182
  import { computed } from "#imports";
183
- import { UTimeline, UIcon, UBadge } from "#components";
184
183
  const props = defineProps({
185
184
  items: { type: Array, required: true },
186
185
  heightClass: { type: String, required: false }
@@ -38,7 +38,6 @@
38
38
 
39
39
  <script setup>
40
40
  import { computed } from "#imports";
41
- import { UIcon, UBadge } from "#components";
42
41
  const props = defineProps({
43
42
  data: { type: Object, required: true }
44
43
  });
@@ -119,7 +119,6 @@
119
119
 
120
120
  <script setup>
121
121
  import { computed } from "#imports";
122
- import { UCard, UButton, UBadge, UIcon } from "#components";
123
122
  const props = defineProps({
124
123
  id: { type: String, required: true },
125
124
  data: { type: Object, required: true },
@@ -112,7 +112,6 @@
112
112
 
113
113
  <script setup>
114
114
  import { ref, computed, watch } from "#imports";
115
- import { UIcon, UButton } from "#components";
116
115
  import FlowStepSelector from "./StepSelector.vue";
117
116
  const props = defineProps({
118
117
  runStatus: { type: String, required: false },
@@ -59,7 +59,6 @@
59
59
  <script setup>
60
60
  import { ref, computed } from "#imports";
61
61
  import TimelineList from "../TimelineList.vue";
62
- import { UButton, UIcon, URadioGroup } from "#components";
63
62
  const props = defineProps({
64
63
  events: { type: Array, required: true },
65
64
  logs: { type: Array, required: true },
@@ -293,7 +293,6 @@
293
293
  import { computed, ref } from "vue";
294
294
  import { tv } from "tailwind-variants";
295
295
  import { twMerge } from "tailwind-merge";
296
- import { UIcon, UBadge } from "#components";
297
296
  const props = defineProps({
298
297
  modelValue: { type: String, required: true },
299
298
  items: { type: Array, required: true },
@@ -109,8 +109,9 @@
109
109
  </template>
110
110
 
111
111
  <script setup>
112
- import { UCard } from "#components";
112
+ import { resolveComponent } from "#imports";
113
113
  import { z } from "zod";
114
+ const UCard = resolveComponent("UCard");
114
115
  const { noCard = false, isEdit = false } = defineProps({
115
116
  noCard: { type: Boolean, required: false },
116
117
  isEdit: { type: Boolean, required: false }
@@ -54,8 +54,9 @@
54
54
  </template>
55
55
 
56
56
  <script setup>
57
- import { UCard } from "#components";
57
+ import { resolveComponent } from "#imports";
58
58
  import { z } from "zod";
59
+ const UCard = resolveComponent("UCard");
59
60
  const { noCard = false, name = "config" } = defineProps({
60
61
  noCard: { type: Boolean, required: false },
61
62
  name: { type: String, required: false }
@@ -178,9 +178,9 @@
178
178
  </template>
179
179
 
180
180
  <script setup>
181
- import { ref, computed, watch } from "#imports";
182
- import { UCard } from "#components";
181
+ import { ref, computed, watch, resolveComponent } from "#imports";
183
182
  import { z } from "zod";
183
+ const UCard = resolveComponent("UCard");
184
184
  const { noCard = false, name = "schedule" } = defineProps({
185
185
  noCard: { type: Boolean, required: false },
186
186
  name: { type: String, required: false }
@@ -81,8 +81,9 @@
81
81
  </template>
82
82
 
83
83
  <script setup>
84
- import { UCard } from "#components";
84
+ import { resolveComponent } from "#imports";
85
85
  import { z } from "zod";
86
+ const UCard = resolveComponent("UCard");
86
87
  const { noCard = false, name = "webhook" } = defineProps({
87
88
  noCard: { type: Boolean, required: false },
88
89
  name: { type: String, required: false }
@@ -497,7 +497,6 @@
497
497
 
498
498
  <script setup>
499
499
  import { ref, computed, onMounted } from "#imports";
500
- import { UIcon } from "#components";
501
500
  import { useComponentRouter } from "../composables/useComponentRouter";
502
501
  import { useQueuesWebSocket } from "../composables/useQueuesWebSocket";
503
502
  import { useFlowWebSocket } from "../composables/useFlowWebSocket";
@@ -395,15 +395,6 @@ import FlowRunOverview from "../../components/flow/RunOverview.vue";
395
395
  import FlowRunTimeline from "../../components/flow/RunTimeline.vue";
396
396
  import FlowRunStatusBadge from "../../components/flow/RunStatusBadge.vue";
397
397
  import ConfirmDialog from "../../components/ConfirmDialog.vue";
398
- import {
399
- UIcon,
400
- UButton,
401
- UModal,
402
- UTextarea,
403
- UTabs,
404
- UDropdownMenu,
405
- UBadge
406
- } from "#components";
407
398
  import { useRoute, useRouter } from "#app";
408
399
  import { useAnalyzedFlows } from "../../composables/useAnalyzedFlows";
409
400
  import { useFlowRunsInfinite } from "../../composables/useFlowRunsInfinite";
@@ -223,7 +223,6 @@
223
223
 
224
224
  <script setup>
225
225
  import { ref, computed, onMounted, onBeforeUnmount } from "#imports";
226
- import { UButton, UIcon, UBadge, UInput } from "#components";
227
226
  import { useComponentRouter } from "../../composables/useComponentRouter";
228
227
  import { useFlowWebSocket } from "../../composables/useFlowWebSocket";
229
228
  import StatCard from "../../components/StatCard.vue";
@@ -189,7 +189,6 @@
189
189
 
190
190
  <script setup>
191
191
  import { ref, computed } from "#imports";
192
- import { UIcon, UPagination, UButton, UBadge } from "#components";
193
192
  import { useQueues } from "../../composables/useQueues";
194
193
  import { useQueuesLive } from "../../composables/useQueuesLive";
195
194
  import { useComponentRouter } from "../../composables/useComponentRouter";
@@ -205,7 +205,6 @@
205
205
 
206
206
  <script setup>
207
207
  import { computed, useFetch } from "#imports";
208
- import { UCard, UButton, UBadge } from "#components";
209
208
  import { useComponentRouter } from "../../composables/useComponentRouter";
210
209
  const router = useComponentRouter();
211
210
  const queueName = computed(() => router.route.value?.params?.name || "");
@@ -400,7 +400,6 @@
400
400
 
401
401
  <script setup>
402
402
  import { ref, computed, watch } from "#imports";
403
- import { UButton, UBadge, UPagination, USelectMenu, UIcon, UTabs, USlideover } from "#components";
404
403
  import { useQueueJobs } from "../../composables/useQueueJobs";
405
404
  import { useQueueUpdates } from "../../composables/useQueueUpdates";
406
405
  import { useQueues } from "../../composables/useQueues";
@@ -544,7 +544,6 @@
544
544
 
545
545
  <script setup>
546
546
  import { ref, computed, onUnmounted, watch, onMounted } from "#imports";
547
- import { UButton, UIcon, UBadge, USelectMenu, UTabs } from "#components";
548
547
  import { useTrigger, useTriggerEvents } from "../../composables/useTrigger";
549
548
  import { useComponentRouter } from "../../composables/useComponentRouter";
550
549
  import { useTriggerWebSocket } from "../../composables/useTriggerWebSocket";
@@ -306,7 +306,6 @@
306
306
 
307
307
  <script setup>
308
308
  import { ref, computed, onMounted, onBeforeUnmount } from "#imports";
309
- import { UButton, UIcon, UBadge, UInput, USelectMenu, UPagination } from "#components";
310
309
  import { useComponentRouter } from "../../composables/useComponentRouter";
311
310
  import { useTriggerWebSocket } from "../../composables/useTriggerWebSocket";
312
311
  import StatCard from "../../components/StatCard.vue";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nvent-addon/app",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "description": "nvent app module for Nuxt.js",
5
5
  "repository": "DevJoghurt/nvent",
6
6
  "license": "MIT",