@nvent-addon/app 0.5.10 → 0.5.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/dist/module.json +1 -1
- package/dist/runtime/app/components/ComponentRouter.d.vue.ts +5 -1
- package/dist/runtime/app/components/ComponentRouter.vue.d.ts +5 -1
- package/dist/runtime/app/components/ComponentShell.d.vue.ts +6 -3
- package/dist/runtime/app/components/ComponentShell.vue.d.ts +6 -3
- package/dist/runtime/app/components/ConfirmDialog.d.vue.ts +6 -1
- package/dist/runtime/app/components/ConfirmDialog.vue.d.ts +6 -1
- package/dist/runtime/app/components/DashboardCard.d.vue.ts +4 -1
- package/dist/runtime/app/components/DashboardCard.vue.d.ts +4 -1
- package/dist/runtime/app/components/SelectableListItem.d.vue.ts +5 -5
- package/dist/runtime/app/components/SelectableListItem.vue.d.ts +5 -5
- package/dist/runtime/app/components/StatCard.d.vue.ts +3 -1
- package/dist/runtime/app/components/StatCard.vue.d.ts +3 -1
- package/dist/runtime/app/components/flow/RunStatusBadge.d.vue.ts +9 -1
- package/dist/runtime/app/components/flow/RunStatusBadge.vue.d.ts +9 -1
- package/dist/runtime/app/pages/flows/[name].vue +6 -6
- package/package.json +8 -8
package/dist/module.json
CHANGED
|
@@ -31,7 +31,11 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
|
31
31
|
params: Record<string, string>;
|
|
32
32
|
query: Record<string, any>;
|
|
33
33
|
} | undefined>;
|
|
34
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
34
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
35
|
+
mode: ComponentRouterMode;
|
|
36
|
+
base: string;
|
|
37
|
+
debug: boolean;
|
|
38
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
39
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
36
40
|
declare const _default: typeof __VLS_export;
|
|
37
41
|
export default _default;
|
|
@@ -31,7 +31,11 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
|
31
31
|
params: Record<string, string>;
|
|
32
32
|
query: Record<string, any>;
|
|
33
33
|
} | undefined>;
|
|
34
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
34
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
35
|
+
mode: ComponentRouterMode;
|
|
36
|
+
base: string;
|
|
37
|
+
debug: boolean;
|
|
38
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
39
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
36
40
|
declare const _default: typeof __VLS_export;
|
|
37
41
|
export default _default;
|
|
@@ -5,11 +5,14 @@ type __VLS_Props = {
|
|
|
5
5
|
activeMatch?: 'exact' | 'prefix';
|
|
6
6
|
fullPage?: boolean;
|
|
7
7
|
};
|
|
8
|
-
declare var
|
|
8
|
+
declare var __VLS_6: {};
|
|
9
9
|
type __VLS_Slots = {} & {
|
|
10
|
-
default?: (props: typeof
|
|
10
|
+
default?: (props: typeof __VLS_6) => any;
|
|
11
11
|
};
|
|
12
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
12
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
13
|
+
orientation: "horizontal" | "vertical";
|
|
14
|
+
activeMatch: "exact" | "prefix";
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
16
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
14
17
|
declare const _default: typeof __VLS_export;
|
|
15
18
|
export default _default;
|
|
@@ -5,11 +5,14 @@ type __VLS_Props = {
|
|
|
5
5
|
activeMatch?: 'exact' | 'prefix';
|
|
6
6
|
fullPage?: boolean;
|
|
7
7
|
};
|
|
8
|
-
declare var
|
|
8
|
+
declare var __VLS_6: {};
|
|
9
9
|
type __VLS_Slots = {} & {
|
|
10
|
-
default?: (props: typeof
|
|
10
|
+
default?: (props: typeof __VLS_6) => any;
|
|
11
11
|
};
|
|
12
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
12
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
13
|
+
orientation: "horizontal" | "vertical";
|
|
14
|
+
activeMatch: "exact" | "prefix";
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
16
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
14
17
|
declare const _default: typeof __VLS_export;
|
|
15
18
|
export default _default;
|
|
@@ -23,6 +23,11 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
23
23
|
onCancel?: (() => any) | undefined;
|
|
24
24
|
onConfirm?: (() => any) | undefined;
|
|
25
25
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
26
|
-
}>, {
|
|
26
|
+
}>, {
|
|
27
|
+
confirmLabel: string;
|
|
28
|
+
cancelLabel: string;
|
|
29
|
+
confirmColor: "primary" | "error" | "warning" | "success";
|
|
30
|
+
iconColor: "primary" | "error" | "warning" | "success" | "info";
|
|
31
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
32
|
declare const _default: typeof __VLS_export;
|
|
28
33
|
export default _default;
|
|
@@ -23,6 +23,11 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
23
23
|
onCancel?: (() => any) | undefined;
|
|
24
24
|
onConfirm?: (() => any) | undefined;
|
|
25
25
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
26
|
-
}>, {
|
|
26
|
+
}>, {
|
|
27
|
+
confirmLabel: string;
|
|
28
|
+
cancelLabel: string;
|
|
29
|
+
confirmColor: "primary" | "error" | "warning" | "success";
|
|
30
|
+
iconColor: "primary" | "error" | "warning" | "success" | "info";
|
|
31
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
32
|
declare const _default: typeof __VLS_export;
|
|
28
33
|
export default _default;
|
|
@@ -10,6 +10,9 @@ interface Props {
|
|
|
10
10
|
color: 'blue' | 'purple' | 'amber' | 'emerald' | 'red';
|
|
11
11
|
onClick?: () => void;
|
|
12
12
|
}
|
|
13
|
-
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
13
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
14
|
+
onClick: () => void;
|
|
15
|
+
secondaryStats: Stat[];
|
|
16
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
17
|
declare const _default: typeof __VLS_export;
|
|
15
18
|
export default _default;
|
|
@@ -10,6 +10,9 @@ interface Props {
|
|
|
10
10
|
color: 'blue' | 'purple' | 'amber' | 'emerald' | 'red';
|
|
11
11
|
onClick?: () => void;
|
|
12
12
|
}
|
|
13
|
-
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
13
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
14
|
+
onClick: () => void;
|
|
15
|
+
secondaryStats: Stat[];
|
|
16
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
17
|
declare const _default: typeof __VLS_export;
|
|
15
18
|
export default _default;
|
|
@@ -9,17 +9,17 @@ type __VLS_Props = {
|
|
|
9
9
|
meta?: string;
|
|
10
10
|
metaSecondary?: string;
|
|
11
11
|
};
|
|
12
|
-
declare var __VLS_1: {},
|
|
12
|
+
declare var __VLS_1: {}, __VLS_8: {}, __VLS_10: {}, __VLS_17: {}, __VLS_19: {};
|
|
13
13
|
type __VLS_Slots = {} & {
|
|
14
14
|
icon?: (props: typeof __VLS_1) => any;
|
|
15
15
|
} & {
|
|
16
|
-
title?: (props: typeof
|
|
16
|
+
title?: (props: typeof __VLS_8) => any;
|
|
17
17
|
} & {
|
|
18
|
-
badge?: (props: typeof
|
|
18
|
+
badge?: (props: typeof __VLS_10) => any;
|
|
19
19
|
} & {
|
|
20
|
-
subtitle?: (props: typeof
|
|
20
|
+
subtitle?: (props: typeof __VLS_17) => any;
|
|
21
21
|
} & {
|
|
22
|
-
meta?: (props: typeof
|
|
22
|
+
meta?: (props: typeof __VLS_19) => any;
|
|
23
23
|
};
|
|
24
24
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
25
|
click: () => any;
|
|
@@ -9,17 +9,17 @@ type __VLS_Props = {
|
|
|
9
9
|
meta?: string;
|
|
10
10
|
metaSecondary?: string;
|
|
11
11
|
};
|
|
12
|
-
declare var __VLS_1: {},
|
|
12
|
+
declare var __VLS_1: {}, __VLS_8: {}, __VLS_10: {}, __VLS_17: {}, __VLS_19: {};
|
|
13
13
|
type __VLS_Slots = {} & {
|
|
14
14
|
icon?: (props: typeof __VLS_1) => any;
|
|
15
15
|
} & {
|
|
16
|
-
title?: (props: typeof
|
|
16
|
+
title?: (props: typeof __VLS_8) => any;
|
|
17
17
|
} & {
|
|
18
|
-
badge?: (props: typeof
|
|
18
|
+
badge?: (props: typeof __VLS_10) => any;
|
|
19
19
|
} & {
|
|
20
|
-
subtitle?: (props: typeof
|
|
20
|
+
subtitle?: (props: typeof __VLS_17) => any;
|
|
21
21
|
} & {
|
|
22
|
-
meta?: (props: typeof
|
|
22
|
+
meta?: (props: typeof __VLS_19) => any;
|
|
23
23
|
};
|
|
24
24
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
25
|
click: () => any;
|
|
@@ -4,6 +4,8 @@ interface Props {
|
|
|
4
4
|
label: string;
|
|
5
5
|
variant?: 'gray' | 'blue' | 'amber' | 'emerald' | 'red' | 'purple';
|
|
6
6
|
}
|
|
7
|
-
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
8
|
+
variant: "gray" | "blue" | "amber" | "emerald" | "red" | "purple";
|
|
9
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
10
|
declare const _default: typeof __VLS_export;
|
|
9
11
|
export default _default;
|
|
@@ -4,6 +4,8 @@ interface Props {
|
|
|
4
4
|
label: string;
|
|
5
5
|
variant?: 'gray' | 'blue' | 'amber' | 'emerald' | 'red' | 'purple';
|
|
6
6
|
}
|
|
7
|
-
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
8
|
+
variant: "gray" | "blue" | "amber" | "emerald" | "red" | "purple";
|
|
9
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
10
|
declare const _default: typeof __VLS_export;
|
|
9
11
|
export default _default;
|
|
@@ -7,6 +7,14 @@ interface Props {
|
|
|
7
7
|
isAwaiting?: boolean;
|
|
8
8
|
isReconnecting?: boolean;
|
|
9
9
|
}
|
|
10
|
-
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
10
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
11
|
+
isReconnecting: boolean;
|
|
12
|
+
isRunning: boolean;
|
|
13
|
+
isCompleted: boolean;
|
|
14
|
+
isFailed: boolean;
|
|
15
|
+
isCanceled: boolean;
|
|
16
|
+
isStalled: boolean;
|
|
17
|
+
isAwaiting: boolean;
|
|
18
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
19
|
declare const _default: typeof __VLS_export;
|
|
12
20
|
export default _default;
|
|
@@ -7,6 +7,14 @@ interface Props {
|
|
|
7
7
|
isAwaiting?: boolean;
|
|
8
8
|
isReconnecting?: boolean;
|
|
9
9
|
}
|
|
10
|
-
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
10
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
11
|
+
isReconnecting: boolean;
|
|
12
|
+
isRunning: boolean;
|
|
13
|
+
isCompleted: boolean;
|
|
14
|
+
isFailed: boolean;
|
|
15
|
+
isCanceled: boolean;
|
|
16
|
+
isStalled: boolean;
|
|
17
|
+
isAwaiting: boolean;
|
|
18
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
19
|
declare const _default: typeof __VLS_export;
|
|
12
20
|
export default _default;
|
|
@@ -409,13 +409,13 @@ const selectedFlow = computed(() => {
|
|
|
409
409
|
const match = path.match(/\/flows\/([^/]+)/);
|
|
410
410
|
return match && match[1] ? decodeURIComponent(match[1]) : null;
|
|
411
411
|
});
|
|
412
|
-
const selectedRunId =
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
router.
|
|
412
|
+
const selectedRunId = ref(route.query.run || "");
|
|
413
|
+
watch(selectedRunId, (newValue) => {
|
|
414
|
+
if (newValue !== route.query.run) {
|
|
415
|
+
router.replace({
|
|
416
416
|
query: {
|
|
417
417
|
...route.query,
|
|
418
|
-
run:
|
|
418
|
+
run: newValue || void 0
|
|
419
419
|
}
|
|
420
420
|
});
|
|
421
421
|
}
|
|
@@ -454,7 +454,7 @@ const currentPage = computed({
|
|
|
454
454
|
return page ? Number.parseInt(page, 10) : 1;
|
|
455
455
|
},
|
|
456
456
|
set: (value) => {
|
|
457
|
-
router.
|
|
457
|
+
router.replace({
|
|
458
458
|
query: {
|
|
459
459
|
...route.query,
|
|
460
460
|
page: value > 1 ? value.toString() : void 0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nvent-addon/app",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.12",
|
|
4
4
|
"description": "nvent app module for Nuxt.js",
|
|
5
5
|
"repository": "DevJoghurt/nvent",
|
|
6
6
|
"license": "MIT",
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
"prepack": "pnpm build"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@iconify-json/devicon": "^1.2.
|
|
26
|
+
"@iconify-json/devicon": "^1.2.52",
|
|
27
27
|
"@iconify-json/heroicons": "1.2.3",
|
|
28
|
-
"@iconify-json/lucide": "^1.2.
|
|
29
|
-
"@nuxt/kit": "4.2.
|
|
28
|
+
"@iconify-json/lucide": "^1.2.80",
|
|
29
|
+
"@nuxt/kit": "4.2.2",
|
|
30
30
|
"@nuxt/ui": "4.2.1",
|
|
31
31
|
"@vue-flow/background": "^1.3.2",
|
|
32
32
|
"@vue-flow/controls": "^1.1.3",
|
|
@@ -34,15 +34,15 @@
|
|
|
34
34
|
"@vue-flow/minimap": "^1.5.4",
|
|
35
35
|
"defu": "^6.1.4",
|
|
36
36
|
"json-editor-vue": "^0.18.1",
|
|
37
|
-
"nuxt": "4.2.
|
|
37
|
+
"nuxt": "4.2.2",
|
|
38
38
|
"pathe": "^2.0.3",
|
|
39
39
|
"zod": "^4.1.13"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@nuxt/module-builder": "^1.0.2",
|
|
43
|
-
"@nuxt/schema": "4.2.
|
|
44
|
-
"@types/node": "^
|
|
43
|
+
"@nuxt/schema": "4.2.2",
|
|
44
|
+
"@types/node": "^25.0.0",
|
|
45
45
|
"typescript": "latest",
|
|
46
|
-
"vitest": "^4.0.
|
|
46
|
+
"vitest": "^4.0.15"
|
|
47
47
|
}
|
|
48
48
|
}
|