@geode/opengeodeweb-front 10.23.0-rc.5 → 10.24.0-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.
@@ -112,6 +112,7 @@ const edge_attribute_color_map = computed({
112
112
  </script>
113
113
  <template>
114
114
  <ViewerContextMenuItem
115
+ data-testid="meshEdgesMenu"
115
116
  :itemProps="itemProps"
116
117
  :btn_image="EdgedCurveEdges"
117
118
  tooltip="Edges options"
@@ -10,6 +10,7 @@ const { itemProps } = defineProps({
10
10
 
11
11
  <template>
12
12
  <ViewerContextMenuItem
13
+ data-testid="modelStyleMenu"
13
14
  :index="itemProps.index"
14
15
  :itemProps="itemProps"
15
16
  tooltip="Style options"
@@ -14,6 +14,7 @@ const colorMap = defineModel("colorMap", { type: String });
14
14
  <v-row dense align="center" class="mt-2" no-gutters>
15
15
  <v-col cols="5" class="pe-1">
16
16
  <v-text-field
17
+ data-testid="attributeMinInput"
17
18
  :model-value="minimum"
18
19
  @update:model-value="(value) => (minimum = Number(value))"
19
20
  label="Min"
@@ -35,6 +36,7 @@ const colorMap = defineModel("colorMap", { type: String });
35
36
  </v-col>
36
37
  <v-col cols="5" class="ps-1">
37
38
  <v-text-field
39
+ data-testid="attributeMaxInput"
38
40
  :model-value="maximum"
39
41
  @update:model-value="(value) => (maximum = Number(value))"
40
42
  label="Max"
@@ -103,6 +103,7 @@ watch(name, (newName, oldName) => {
103
103
 
104
104
  <template>
105
105
  <v-select
106
+ data-testid="attributeSelector"
106
107
  v-model="name"
107
108
  :items="attributes.map((attribute) => attribute.attribute_name)"
108
109
  item-title="attribute_name"
@@ -102,6 +102,7 @@ watch(filteredPresets, drawAllCanvases);
102
102
  />
103
103
 
104
104
  <v-list
105
+ data-testid="colorMapList"
105
106
  density="compact"
106
107
  max-height="350"
107
108
  bg-color="transparent"
@@ -32,6 +32,7 @@ watch([lutCanvas, selectedPresetName, () => min, () => max], drawLutCanvas);
32
32
  <v-menu v-model="menuOpen" :close-on-content-click="false" location="bottom">
33
33
  <template #activator="{ props: menuProps }">
34
34
  <GlassCard
35
+ data-testid="colorMapPicker"
35
36
  v-bind="menuProps"
36
37
  variant="ui"
37
38
  padding="pa-2"
@@ -168,6 +168,7 @@ watch(
168
168
  </v-col>
169
169
  <v-col>
170
170
  <v-select
171
+ data-testid="coloringStyleSelector"
171
172
  v-model="coloring_style_label"
172
173
  :items="coloring_styles.labels"
173
174
  label="Select a coloring style"
@@ -104,9 +104,17 @@ const polyhedron_attribute_color_map = computed({
104
104
  });
105
105
  </script>
106
106
  <template>
107
- <ViewerContextMenuItem :itemProps="itemProps" :tooltip="tooltip" :btn_image="SolidPolyhedra">
107
+ <ViewerContextMenuItem
108
+ data-testid="meshPolyhedraMenu"
109
+ :itemProps="itemProps"
110
+ :tooltip="tooltip"
111
+ :btn_image="SolidPolyhedra"
112
+ >
108
113
  <template #options>
109
- <ViewerOptionsVisibilitySwitch v-model="visibility" />
114
+ <ViewerOptionsVisibilitySwitch
115
+ data-testid="meshPolyhedraVisibilitySwitch"
116
+ v-model="visibility"
117
+ />
110
118
  <template v-if="visibility">
111
119
  <ViewerOptionsColoringTypeSelector
112
120
  :id="id"
@@ -113,12 +113,16 @@ const polygon_attribute_color_map = computed({
113
113
 
114
114
  <template>
115
115
  <ViewerContextMenuItem
116
+ data-testid="meshPolygonsMenu"
116
117
  :itemProps="itemProps"
117
118
  :tooltip="tooltip"
118
119
  :btn_image="PolygonalSurfacePolygons"
119
120
  >
120
121
  <template #options>
121
- <ViewerOptionsVisibilitySwitch v-model="visibility" />
122
+ <ViewerOptionsVisibilitySwitch
123
+ data-testid="meshPolygonsVisibilitySwitch"
124
+ v-model="visibility"
125
+ />
122
126
  <template v-if="visibility">
123
127
  <ViewerOptionsColoringTypeSelector
124
128
  :id="id"
@@ -27,7 +27,7 @@ async function waitNuxt(nuxtProcess) {
27
27
  for await (const [data] of on(nuxtProcess.stdout, "data")) {
28
28
  const output = data.toString();
29
29
  console.log("Nuxt:", output);
30
- const portMatch = output.match(/Listening on http:\/\/\[::\]:(\d+)/u);
30
+ const portMatch = output.match(/Listening on http:\/\/\[::\]:(?<port>\d+)/u);
31
31
  if (portMatch) {
32
32
  const [, nuxtPort] = portMatch;
33
33
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geode/opengeodeweb-front",
3
- "version": "10.23.0-rc.5",
3
+ "version": "10.24.0-rc.1",
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": {