@geode/opengeodeweb-front 1.0.0-rc.2 → 1.0.0
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/components/Launcher.vue
CHANGED
|
@@ -44,12 +44,13 @@ onMounted(() => {
|
|
|
44
44
|
}
|
|
45
45
|
})
|
|
46
46
|
|
|
47
|
-
async function submit_recaptcha
|
|
47
|
+
async function submit_recaptcha(token) {
|
|
48
48
|
try {
|
|
49
49
|
const response = await $fetch.raw(`/.netlify/functions/recaptcha?token=${token}`)
|
|
50
50
|
cloud_store.$patch({ is_captcha_validated: response.status == 200 })
|
|
51
51
|
recaptcha.reset()
|
|
52
52
|
} catch (error) {
|
|
53
|
+
console.error(error)
|
|
53
54
|
}
|
|
54
55
|
}
|
|
55
56
|
</script>
|
package/components/Loading.vue
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
We start our server only on demand... and this takes a few minutes before
|
|
13
13
|
you can use our free app.
|
|
14
14
|
<br>
|
|
15
|
-
This is aligned with
|
|
15
|
+
This is aligned with our energy sobriety policy. So be patient
|
|
16
16
|
<v-icon color="primary" size="20">
|
|
17
17
|
mdi-emoticon-excited-outline
|
|
18
18
|
</v-icon>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div style="position: relative;">
|
|
3
3
|
<view-toolbar />
|
|
4
|
-
<v-col
|
|
5
|
-
|
|
4
|
+
<v-col style="overflow: hidden; position: relative; z-index: 0; height: 100%; width: 100%" ref="viewer"
|
|
5
|
+
@click="get_x_y" @keydown.esc="app_store.toggle_picking_mode(false)">
|
|
6
6
|
</v-col>
|
|
7
7
|
</div>
|
|
8
8
|
</template>
|
package/composables/api_fetch.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
export
|
|
1
|
+
export function api_fetch (request_url, request_options, { request_error_function, response_function, response_error_function } = {}) {
|
|
2
2
|
const errors_store = use_errors_store()
|
|
3
3
|
const cloud_store = use_cloud_store()
|
|
4
|
-
|
|
5
4
|
return useFetch(request_url,
|
|
6
5
|
{
|
|
7
6
|
baseURL: cloud_store.geode_url,
|
package/package.json
CHANGED