@geode/opengeodeweb-front 0.0.10 → 0.0.11

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,7 +5,7 @@
5
5
  <h4 class="pb-3">
6
6
  Please complete the recaptcha to launch the app
7
7
  </h4>
8
- <vue-recaptcha ref="recaptcha" :sitekey="config.public.SITE_KEY" :loadRecaptchaScript="true"
8
+ <vue-recaptcha ref="recaptcha" :sitekey="site_key" :loadRecaptchaScript="true"
9
9
  @expired="is_captcha_validated = false" @verify="submit_recaptcha" align-self="center" />
10
10
  </v-col>
11
11
  <v-col v-if="!is_cloud_running && is_connexion_launched">
@@ -22,6 +22,12 @@ import { VueRecaptcha } from "vue-recaptcha"
22
22
  const cloud_store = use_cloud_store()
23
23
  const { is_cloud_running, is_captcha_validated, is_connexion_launched } = storeToRefs(cloud_store)
24
24
 
25
+ const props = defineProps({
26
+ site_key: { type: String, required: true }
27
+ })
28
+
29
+ const { site_key } = toRefs(props)
30
+
25
31
  watch(is_captcha_validated, async (value) => {
26
32
  if (value === true) {
27
33
  await cloud_store.create_connexion()
@@ -5,7 +5,7 @@
5
5
  <Header :tool_name="tool_name" :cards_list="cards_list" />
6
6
  </v-col>
7
7
  <v-col v-if="!is_cloud_running">
8
- <Launcher />
8
+ <Launcher :site_key="site_key" />
9
9
  </v-col>
10
10
  <v-col v-if="is_cloud_running">
11
11
  <Stepper />
@@ -22,9 +22,10 @@ const cloud_store = use_cloud_store()
22
22
  const { is_cloud_running } = storeToRefs(cloud_store)
23
23
 
24
24
  const props = defineProps({
25
- cards_list: { type: Array, required: true }
25
+ cards_list: { type: Array, required: true },
26
+ site_key: { type: String, required: true }
26
27
  })
27
- const { cards_list } = props
28
+ const { cards_list, site_key } = props
28
29
 
29
30
  const stepper_tree = inject('stepper_tree')
30
31
  const { tool_name, route_prefix } = stepper_tree
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "description": "OpenSource Vue/Vuetify framework for web applications",
17
17
  "type": "module",
18
- "version": "0.0.10",
18
+ "version": "0.0.11",
19
19
  "main": "./nuxt.config.js",
20
20
  "dependencies": {
21
21
  "@mdi/font": "^7.2.96",