@geode/opengeodeweb-front 10.0.1 → 10.0.2-rc.1

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.
@@ -22,14 +22,14 @@
22
22
 
23
23
  const props = defineProps({
24
24
  multiple: { type: Boolean, required: true },
25
- supported_feature: { type: String, required: false, default: null },
26
25
  files: { type: Array, required: false, default: [] },
27
26
  auto_upload: { type: Boolean, required: false, default: true },
28
27
  })
29
28
 
30
- const { auto_upload, multiple, supported_feature } = props
29
+ const { multiple } = props
31
30
 
32
31
  const internal_files = ref(props.files)
32
+ const auto_upload = ref(props.auto_upload)
33
33
  const accept = ref("")
34
34
  const loading = ref(false)
35
35
 
@@ -40,6 +40,9 @@
40
40
  },
41
41
  { deep: true },
42
42
  )
43
+ watch(props.auto_upload, (newVal) => {
44
+ auto_upload.value = newVal
45
+ })
43
46
 
44
47
  const toggle_loading = useToggle(loading)
45
48
 
@@ -51,9 +51,10 @@
51
51
  :key="step_index"
52
52
  :is="steps[step_index].component.component_name"
53
53
  v-bind="steps[step_index].component.component_options"
54
- @update_values="update_values_event"
55
54
  @increment_step="increment_step"
56
55
  @decrement_step="decrement_step"
56
+ @update_values="update_values_event"
57
+ @reset_values="$emit('reset_values')"
57
58
  />
58
59
  </v-stepper-content>
59
60
  </template>
@@ -7,7 +7,12 @@
7
7
  >
8
8
  <v-stepper-items>
9
9
  <v-col cols="12">
10
- <Step v-for="(step, index) in steps" :key="step" :step_index="index" />
10
+ <Step
11
+ v-for="(step, index) in steps"
12
+ :key="step"
13
+ :step_index="index"
14
+ @reset_values="emit('reset_values')"
15
+ />
11
16
  </v-col>
12
17
  </v-stepper-items>
13
18
  </v-stepper-vertical>
@@ -16,6 +21,7 @@
16
21
  <script setup>
17
22
  import Step from "@ogw_front/components/Step.vue"
18
23
 
24
+ const emit = defineEmits(["reset_values"])
19
25
  const stepper_tree = inject("stepper_tree")
20
26
  const { steps, current_step_index } = toRefs(stepper_tree)
21
27
  </script>
package/package.json CHANGED
@@ -39,11 +39,11 @@
39
39
  },
40
40
  "description": "OpenSource Vue/Nuxt/Pinia/Vuetify framework for web applications",
41
41
  "type": "module",
42
- "version": "10.0.1",
42
+ "version": "10.0.2-rc.1",
43
43
  "main": "./nuxt.config.js",
44
44
  "dependencies": {
45
- "@geode/opengeodeweb-back": "latest",
46
- "@geode/opengeodeweb-viewer": "latest",
45
+ "@geode/opengeodeweb-back": "next",
46
+ "@geode/opengeodeweb-viewer": "next",
47
47
  "@kitware/vtk.js": "33.3.0",
48
48
  "@mdi/font": "7.4.47",
49
49
  "@pinia/nuxt": "0.11.3",
@@ -5,4 +5,4 @@
5
5
  # pip-compile --output-file=tests/integration/microservices/viewer/requirements.txt tests/integration/microservices/viewer/requirements.in
6
6
  #
7
7
 
8
- opengeodeweb-viewer==1.*,>=1.13.0
8
+ opengeodeweb-viewer==1.*,>=1.13.1rc1