@geode/opengeodeweb-front 10.13.1-rc.2 → 10.13.1-rc.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.
|
@@ -5,8 +5,13 @@ import { Status } from "@ogw_front/utils/status";
|
|
|
5
5
|
import { appMode } from "@ogw_front/utils/local/app_mode";
|
|
6
6
|
import { useInfraStore } from "@ogw_front/stores/infra";
|
|
7
7
|
|
|
8
|
-
const { logo } = defineProps({
|
|
8
|
+
const { logo, appName } = defineProps({
|
|
9
9
|
logo: {
|
|
10
|
+
type: String,
|
|
11
|
+
required: false,
|
|
12
|
+
default: "",
|
|
13
|
+
},
|
|
14
|
+
appName: {
|
|
10
15
|
type: String,
|
|
11
16
|
required: true,
|
|
12
17
|
},
|
|
@@ -31,7 +36,7 @@ if (infraStore.app_mode !== appMode.CLOUD) {
|
|
|
31
36
|
<Recaptcha :button_color="'secondary'" />
|
|
32
37
|
</v-col>
|
|
33
38
|
<v-col v-else-if="infraStore.status === Status.CREATING">
|
|
34
|
-
<Loading :logo="logo" />
|
|
39
|
+
<Loading :logo="logo" :app-name="appName" />
|
|
35
40
|
</v-col>
|
|
36
41
|
</v-row>
|
|
37
42
|
</v-container>
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
-
const
|
|
2
|
+
const { appName } = defineProps({
|
|
3
|
+
appName: {
|
|
4
|
+
type: String,
|
|
5
|
+
required: true,
|
|
6
|
+
},
|
|
7
|
+
});
|
|
8
|
+
|
|
9
|
+
const ecoMessages = computed(() => [
|
|
3
10
|
{
|
|
4
11
|
icon: "mdi-leaf",
|
|
5
12
|
title: "Why the wait?",
|
|
@@ -13,17 +20,17 @@ const ecoMessages = [
|
|
|
13
20
|
{
|
|
14
21
|
icon: "mdi-earth",
|
|
15
22
|
title: "Your choice matters",
|
|
16
|
-
message:
|
|
23
|
+
message: `By using ${appName}, you're part of a more sustainable way to work with data.`,
|
|
17
24
|
},
|
|
18
|
-
];
|
|
25
|
+
]);
|
|
19
26
|
|
|
20
|
-
const MESSAGE_INTERVAL_MS =
|
|
27
|
+
const MESSAGE_INTERVAL_MS = 5000;
|
|
21
28
|
const currentMessage = ref(0);
|
|
22
29
|
let interval = undefined;
|
|
23
30
|
|
|
24
31
|
onMounted(() => {
|
|
25
32
|
interval = setInterval(() => {
|
|
26
|
-
currentMessage.value = (currentMessage.value + 1) % ecoMessages.length;
|
|
33
|
+
currentMessage.value = (currentMessage.value + 1) % ecoMessages.value.length;
|
|
27
34
|
}, MESSAGE_INTERVAL_MS);
|
|
28
35
|
});
|
|
29
36
|
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
-
const { logo } = defineProps({
|
|
2
|
+
const { logo, appName } = defineProps({
|
|
3
3
|
logo: {
|
|
4
4
|
type: String,
|
|
5
5
|
default: "",
|
|
6
6
|
},
|
|
7
|
+
appName: {
|
|
8
|
+
type: String,
|
|
9
|
+
required: true,
|
|
10
|
+
},
|
|
7
11
|
});
|
|
8
12
|
|
|
9
13
|
const show = ref(false);
|
|
@@ -68,7 +72,7 @@ onUnmounted(() => {
|
|
|
68
72
|
style="max-width: 650px; width: 100%; padding: 0 24px; gap: 1.5rem"
|
|
69
73
|
>
|
|
70
74
|
<LoadingHeader :logo="logo" />
|
|
71
|
-
<LoadingEcoMessages />
|
|
75
|
+
<LoadingEcoMessages :app-name="appName" />
|
|
72
76
|
<LoadingProgress :progress="progress" />
|
|
73
77
|
<LoadingFooter />
|
|
74
78
|
</div>
|
|
@@ -7,8 +7,9 @@ import { useInfraStore } from "@ogw_front/stores/infra";
|
|
|
7
7
|
|
|
8
8
|
const infraStore = useInfraStore();
|
|
9
9
|
|
|
10
|
-
const { versions_schema } = defineProps({
|
|
10
|
+
const { versions_schema, appName } = defineProps({
|
|
11
11
|
versions_schema: { type: Object, required: true },
|
|
12
|
+
appName: { type: String, required: true },
|
|
12
13
|
});
|
|
13
14
|
</script>
|
|
14
15
|
|
|
@@ -17,7 +18,7 @@ const { versions_schema } = defineProps({
|
|
|
17
18
|
<v-row class="flex-column">
|
|
18
19
|
<template v-if="!infraStore.microservices_connected">
|
|
19
20
|
<v-col>
|
|
20
|
-
<Launcher />
|
|
21
|
+
<Launcher :app-name="appName" />
|
|
21
22
|
</v-col>
|
|
22
23
|
</template>
|
|
23
24
|
<template v-else>
|
package/package.json
CHANGED