@nvent-addon/app 0.5.1 → 0.5.3
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/dist/module.mjs +16 -10
- package/dist/runtime/app/assets/tailwind.css +1 -0
- package/dist/runtime/app/components/ConfirmDialog.d.vue.ts +2 -2
- package/dist/runtime/app/components/ConfirmDialog.vue +0 -1
- package/dist/runtime/app/components/ConfirmDialog.vue.d.ts +2 -2
- package/dist/runtime/app/components/ListItem.vue +0 -1
- package/dist/runtime/app/components/QueueConfiguration.vue +0 -1
- package/dist/runtime/app/components/StatCard.vue +0 -1
- package/dist/runtime/app/components/TimelineList.vue +0 -1
- package/dist/runtime/app/components/flow/AwaitNode.vue +0 -1
- package/dist/runtime/app/components/flow/NodeCard.vue +0 -1
- package/dist/runtime/app/components/flow/RunOverview.vue +0 -1
- package/dist/runtime/app/components/flow/RunTimeline.vue +0 -1
- package/dist/runtime/app/components/flow/StepSelector.vue +0 -1
- package/dist/runtime/app/components/trigger/BasicInfoCard.vue +2 -1
- package/dist/runtime/app/components/trigger/EventConfig.vue +2 -1
- package/dist/runtime/app/components/trigger/ScheduleConfig.vue +2 -2
- package/dist/runtime/app/components/trigger/WebhookConfig.vue +2 -1
- package/dist/runtime/app/pages/dashboard.vue +0 -1
- package/dist/runtime/app/pages/flows/[name].vue +0 -9
- package/dist/runtime/app/pages/flows/index.vue +0 -1
- package/dist/runtime/app/pages/queues/index.vue +0 -1
- package/dist/runtime/app/pages/queues/job.vue +0 -1
- package/dist/runtime/app/pages/queues/jobs.vue +0 -1
- package/dist/runtime/app/pages/triggers/[name].vue +0 -1
- package/dist/runtime/app/pages/triggers/index.vue +0 -1
- package/package.json +1 -1
package/dist/module.mjs
CHANGED
|
@@ -1,25 +1,31 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createResolver, defineNuxtModule, addImportsDir, addServerScanDir, addPlugin, addComponentsDir, addComponent, extendPages } from '@nuxt/kit';
|
|
2
2
|
import defu from 'defu';
|
|
3
3
|
|
|
4
|
-
const
|
|
5
|
-
name: "nventapp",
|
|
6
|
-
version: "0.1",
|
|
7
|
-
configKey: "nventapp"
|
|
8
|
-
};
|
|
4
|
+
const resolver = createResolver(import.meta.url);
|
|
9
5
|
const module$1 = defineNuxtModule({
|
|
10
|
-
meta
|
|
6
|
+
meta: {
|
|
7
|
+
name: "nventapp",
|
|
8
|
+
version: "0.1",
|
|
9
|
+
configKey: "nventapp"
|
|
10
|
+
},
|
|
11
11
|
defaults: {
|
|
12
12
|
route: true,
|
|
13
13
|
routePath: "/_nvent",
|
|
14
14
|
layout: false
|
|
15
15
|
},
|
|
16
|
+
moduleDependencies: {
|
|
17
|
+
"@nuxt/ui": {
|
|
18
|
+
version: ">=4"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
16
21
|
async setup(options, nuxt) {
|
|
17
|
-
const { resolve } =
|
|
22
|
+
const { resolve } = resolver;
|
|
23
|
+
nuxt.options.css = nuxt.options.css || [];
|
|
24
|
+
nuxt.options.css.push(resolve("./runtime/app/assets/tailwind.css"));
|
|
25
|
+
nuxt.options.css.push(resolve("./runtime/app/assets/vueflow.css"));
|
|
18
26
|
addImportsDir(resolve("./runtime/shared/utils"));
|
|
19
27
|
addImportsDir(resolve("./runtime/app/composables"));
|
|
20
28
|
addServerScanDir(resolve("./runtime/server"));
|
|
21
|
-
nuxt.options.css = nuxt.options.css || [];
|
|
22
|
-
nuxt.options.css.push(resolve("./runtime/app/assets/vueflow.css"));
|
|
23
29
|
addPlugin({
|
|
24
30
|
src: resolve("./runtime/app/plugins/vueflow.client"),
|
|
25
31
|
mode: "client"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@source "../**/*.vue";
|
|
@@ -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;
|
|
@@ -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 },
|
|
@@ -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 {
|
|
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 {
|
|
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 {
|
|
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";
|