@geode/opengeodeweb-front 10.41.0-rc.3 → 10.41.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.
@@ -23,56 +23,50 @@ function commitTimeStep(value: number): void {
23
23
 
24
24
  function formatTime(index: number): string {
25
25
  const time = timeSteps[index];
26
- return time === undefined ? "" : `t = ${time}`;
26
+ return time === undefined ? "" : `timestep = ${time}`;
27
27
  }
28
28
  </script>
29
29
 
30
30
  <template>
31
- <v-slider
32
- v-if="timeSteps.length > 1"
33
- data-testid="timeStepSlider"
34
- v-model="sliderTimeStep"
35
- :min="0"
36
- :max="timeSteps.length - 1"
37
- :step="1"
38
- color="primary"
39
- density="compact"
40
- class="time-step-slider mt-3"
41
- hide-details
42
- show-ticks="always"
43
- :tick-size="10"
44
- thumb-label="hover"
45
- @end="commitTimeStep"
46
- @keyup="commitTimeStep(sliderTimeStep)"
47
- >
48
- <template #prepend>
49
- <span data-testid="timeStepValue" class="time-step-value">
50
- {{ formatTime(sliderTimeStep) }}
51
- </span>
52
- </template>
53
- <template #thumb-label="{ modelValue }">{{ formatTime(modelValue) }}</template>
54
- <template #tick-label="{ index }">
55
- <span class="time-step-tick">
56
- <span class="v-slider-thumb__label time-step-tick-label">
57
- <span class="v-slider-thumb__label-wedge" />
58
- {{ formatTime(index) }}
31
+ <div v-if="timeSteps.length > 1" class="mt-3">
32
+ <div data-testid="timeStepValue" class="time-step-value">
33
+ {{ formatTime(sliderTimeStep) }}
34
+ </div>
35
+ <v-slider
36
+ data-testid="timeStepSlider"
37
+ v-model="sliderTimeStep"
38
+ :min="0"
39
+ :max="timeSteps.length - 1"
40
+ :step="1"
41
+ color="primary"
42
+ density="compact"
43
+ class="time-step-slider"
44
+ hide-details
45
+ show-ticks="always"
46
+ :tick-size="10"
47
+ thumb-label="hover"
48
+ @end="commitTimeStep"
49
+ @keyup="commitTimeStep(sliderTimeStep)"
50
+ >
51
+ <template #thumb-label="{ modelValue }">{{ formatTime(modelValue) }}</template>
52
+ <template #tick-label="{ index }">
53
+ <span class="time-step-tick">
54
+ <span class="v-slider-thumb__label time-step-tick-label">
55
+ <span class="v-slider-thumb__label-wedge" />
56
+ {{ formatTime(index) }}
57
+ </span>
59
58
  </span>
60
- </span>
61
- </template>
62
- </v-slider>
59
+ </template>
60
+ </v-slider>
61
+ </div>
63
62
  </template>
64
63
 
65
64
  <style scoped>
66
65
  .time-step-value {
67
- min-width: 32px;
68
66
  white-space: nowrap;
69
67
  font-size: 0.8125rem;
70
68
  }
71
69
 
72
- .time-step-slider.v-slider.v-input--horizontal :deep(.v-input__prepend) {
73
- margin-inline-end: 4px;
74
- }
75
-
76
70
  .time-step-slider :deep(.v-slider-thumb__label) {
77
71
  width: auto;
78
72
  white-space: nowrap;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geode/opengeodeweb-front",
3
- "version": "10.41.0-rc.3",
3
+ "version": "10.41.0",
4
4
  "description": "OpenSource Vue/Nuxt/Pinia/Vuetify framework for web applications",
5
5
  "homepage": "https://github.com/Geode-solutions/OpenGeodeWeb-Front",
6
6
  "bugs": {
@@ -64,9 +64,9 @@
64
64
  "prepublishOnly": "npm run build"
65
65
  },
66
66
  "dependencies": {
67
- "@geode/cloud-api": "next",
68
- "@geode/opengeodeweb-back": "next",
69
- "@geode/opengeodeweb-viewer": "next",
67
+ "@geode/cloud-api": "latest",
68
+ "@geode/opengeodeweb-back": "latest",
69
+ "@geode/opengeodeweb-viewer": "latest",
70
70
  "@kitware/vtk.js": "33.3.0",
71
71
  "@mdi/font": "7.4.47",
72
72
  "@msgpack/msgpack": "2.8.0",