@geode/opengeodeweb-front 10.14.2-rc.1 → 10.14.2-rc.2

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.
Files changed (45) hide show
  1. package/app/components/Basic/Slider.vue +7 -0
  2. package/app/components/Basic/Switch.vue +7 -0
  3. package/app/components/HybridRenderingView.vue +1 -1
  4. package/app/components/Viewer/EdgedCurve/SpecificEdgesOptions.vue +5 -9
  5. package/app/components/Viewer/Generic/Mesh/CellsOptions.vue +7 -2
  6. package/app/components/Viewer/Generic/Mesh/EdgesOptions.vue +11 -9
  7. package/app/components/Viewer/Generic/Mesh/PointsOptions.vue +14 -9
  8. package/app/components/Viewer/Generic/Mesh/PolygonsOptions.vue +10 -2
  9. package/app/components/Viewer/Generic/Mesh/PolyhedraOptions.vue +10 -2
  10. package/app/components/Viewer/Generic/Model/PointsOptions.vue +2 -14
  11. package/app/components/Viewer/Options/Sliders/Size.vue +8 -0
  12. package/app/components/Viewer/Options/Sliders/Slider.vue +17 -0
  13. package/app/components/Viewer/Options/Sliders/Width.vue +8 -0
  14. package/app/components/Viewer/Options/VisibilitySwitch.vue +3 -1
  15. package/app/components/Viewer/PointSet/SpecificPointsOptions.vue +1 -5
  16. package/app/components/Viewer/Surface/Triangulated/TrianglesOptions.vue +11 -0
  17. package/app/stores/menu.js +8 -14
  18. package/package.json +1 -1
  19. package/tests/integration/setup.js +2 -1
  20. package/tests/integration/stores/data_style/mesh/cells.nuxt.test.js +2 -3
  21. package/tests/integration/stores/data_style/mesh/edges.nuxt.test.js +2 -3
  22. package/tests/integration/stores/data_style/mesh/index.nuxt.test.js +2 -3
  23. package/tests/integration/stores/data_style/mesh/points.nuxt.test.js +2 -3
  24. package/tests/integration/stores/data_style/mesh/polygons.nuxt.test.js +2 -3
  25. package/tests/integration/stores/data_style/mesh/polyhedra.nuxt.test.js +2 -3
  26. package/tests/integration/stores/data_style/model/blocks.nuxt.test.js +2 -3
  27. package/tests/integration/stores/data_style/model/corners.nuxt.test.js +2 -3
  28. package/tests/integration/stores/data_style/model/edges.nuxt.test.js +2 -3
  29. package/tests/integration/stores/data_style/model/index.nuxt.test.js +2 -3
  30. package/tests/integration/stores/data_style/model/lines.nuxt.test.js +2 -3
  31. package/tests/integration/stores/data_style/model/points.nuxt.test.js +2 -3
  32. package/tests/integration/stores/data_style/model/surfaces.nuxt.test.js +2 -3
  33. package/tests/integration/stores/viewer.nuxt.test.js +2 -2
  34. package/app/components/Viewer/HybridSolid/EdgesOptions.vue +0 -12
  35. package/app/components/Viewer/HybridSolid/PointsOptions.vue +0 -12
  36. package/app/components/Viewer/HybridSolid/PolygonsOptions.vue +0 -12
  37. package/app/components/Viewer/HybridSolid/PolyhedraOptions.vue +0 -12
  38. package/app/components/Viewer/PolygonalSurface/EdgesOptions.vue +0 -12
  39. package/app/components/Viewer/PolygonalSurface/PointsOptions.vue +0 -12
  40. package/app/components/Viewer/TriangulatedSurface/TrianglesOptions.vue +0 -16
  41. package/tests/integration/microservices/back/requirements.txt +0 -7
  42. package/tests/integration/microservices/viewer/requirements.txt +0 -7
  43. /package/app/components/Viewer/{TriangulatedSurface → Surface}/EdgesOptions.vue +0 -0
  44. /package/app/components/Viewer/{TriangulatedSurface → Surface}/PointsOptions.vue +0 -0
  45. /package/app/components/Viewer/{PolygonalSurface/SpecificPolygonsOptions.vue → Surface/PolygonsOptions.vue} +0 -0
@@ -0,0 +1,7 @@
1
+ <script setup>
2
+ const model = defineModel();
3
+ </script>
4
+
5
+ <template>
6
+ <v-slider v-model="model" hide-details min="0" max="20" step="2" />
7
+ </template>
@@ -0,0 +1,7 @@
1
+ <script setup>
2
+ const model = defineModel();
3
+ </script>
4
+
5
+ <template>
6
+ <v-switch v-model="model" inset hide-details />
7
+ </template>
@@ -46,7 +46,7 @@ function debounce(func, wait) {
46
46
 
47
47
  <template>
48
48
  <ClientOnly>
49
- <div class="fill-height" style="position: relative; height: 100%">
49
+ <div data-testid="hybridViewer" class="fill-height" style="position: relative; height: 100%">
50
50
  <VeaseViewToolbar />
51
51
  <slot name="ui"></slot>
52
52
  <v-col
@@ -3,6 +3,7 @@ import EdgedCurveEdges from "@ogw_front/assets/viewer_svgs/edged_curve_edges.svg
3
3
  import ViewerContextMenuItem from "@ogw_front/components/Viewer/ContextMenuItem";
4
4
  import ViewerOptionsColoringTypeSelector from "@ogw_front/components/Viewer/Options/ColoringTypeSelector";
5
5
  import ViewerOptionsVisibilitySwitch from "@ogw_front/components/Viewer/Options/VisibilitySwitch";
6
+ import ViewerOptionsWidthSlider from "@ogw_front/components/Viewer/Options/Sliders/Width";
6
7
 
7
8
  import { useDataStyleStore } from "@ogw_front/stores/data_style";
8
9
  import { useHybridViewerStore } from "@ogw_front/stores/hybrid_viewer";
@@ -23,7 +24,7 @@ const visibility = computed({
23
24
  hybridViewerStore.remoteRender();
24
25
  },
25
26
  });
26
- const size = computed({
27
+ const width = computed({
27
28
  get: () => dataStyleStore.meshEdgesWidth(id.value),
28
29
  set: async (newValue) => {
29
30
  await dataStyleStore.setMeshEdgesWidth(id.value, newValue);
@@ -90,20 +91,15 @@ const edge_attribute_color_map = computed({
90
91
  <template>
91
92
  <ViewerContextMenuItem
92
93
  :itemProps="itemProps"
93
- tooltip="Edges options"
94
94
  :btn_image="EdgedCurveEdges"
95
+ tooltip="Edges options"
95
96
  >
96
97
  <template #options>
97
- <ViewerOptionsVisibilitySwitch v-model="visibility" />
98
+ <ViewerOptionsVisibilitySwitch data-testid="meshEdgesVisibilitySwitch" v-model="visibility" />
98
99
  <template v-if="visibility">
99
100
  <v-row class="pa-0" align="center">
100
101
  <v-divider />
101
- <v-col cols="auto" justify="center">
102
- <v-icon size="30" icon="mdi-ruler" v-tooltip:left="'Width'" />
103
- </v-col>
104
- <v-col justify="center">
105
- <v-slider v-model="size" hide-details min="0" max="20" step="2" />
106
- </v-col>
102
+ <ViewerOptionsWidthSlider v-model="width" />
107
103
  </v-row>
108
104
  <v-row>
109
105
  <v-col>
@@ -90,9 +90,14 @@ const cell_attribute_color_map = computed({
90
90
  </script>
91
91
 
92
92
  <template>
93
- <ViewerContextMenuItem :itemProps="itemProps" :tooltip="tooltip" :btn_image="btn_image">
93
+ <ViewerContextMenuItem
94
+ data-testid="meshCellsMenu"
95
+ :itemProps="itemProps"
96
+ :tooltip="tooltip"
97
+ :btn_image="btn_image"
98
+ >
94
99
  <template #options>
95
- <ViewerOptionsVisibilitySwitch v-model="visibility" />
100
+ <ViewerOptionsVisibilitySwitch data-testid="meshCellsVisibilitySwitch" v-model="visibility" />
96
101
  <template v-if="visibility">
97
102
  <ViewerOptionsColoringTypeSelector
98
103
  :id="id"
@@ -2,6 +2,7 @@
2
2
  import ViewerContextMenuItem from "@ogw_front/components/Viewer/ContextMenuItem";
3
3
  import ViewerOptionsColoringTypeSelector from "@ogw_front/components/Viewer/Options/ColoringTypeSelector";
4
4
  import ViewerOptionsVisibilitySwitch from "@ogw_front/components/Viewer/Options/VisibilitySwitch";
5
+ import ViewerOptionsWidthSlider from "@ogw_front/components/Viewer/Options/Sliders/Width";
5
6
 
6
7
  import { useDataStyleStore } from "@ogw_front/stores/data_style";
7
8
  import { useHybridViewerStore } from "@ogw_front/stores/hybrid_viewer";
@@ -9,9 +10,10 @@ import { useHybridViewerStore } from "@ogw_front/stores/hybrid_viewer";
9
10
  const dataStyleStore = useDataStyleStore();
10
11
  const hybridViewerStore = useHybridViewerStore();
11
12
 
12
- const { itemProps, btn_image } = defineProps({
13
+ const { itemProps, btn_image, tooltip } = defineProps({
13
14
  itemProps: { type: Object, required: true },
14
15
  btn_image: { type: String, required: true },
16
+ tooltip: { type: String, required: false, default: "Edges options" },
15
17
  });
16
18
 
17
19
  const id = toRef(() => itemProps.id);
@@ -89,18 +91,18 @@ const edge_attribute_color_map = computed({
89
91
  </script>
90
92
 
91
93
  <template>
92
- <ViewerContextMenuItem :itemProps="itemProps" tooltip="Edges options" :btn_image="btn_image">
94
+ <ViewerContextMenuItem
95
+ data-testid="meshEdgesMenu"
96
+ :itemProps="itemProps"
97
+ :tooltip="tooltip"
98
+ :btn_image="btn_image"
99
+ >
93
100
  <template #options>
94
- <ViewerOptionsVisibilitySwitch v-model="visibility" />
101
+ <ViewerOptionsVisibilitySwitch data-testid="meshEdgesVisibilitySwitch" v-model="visibility" />
95
102
  <template v-if="visibility">
96
103
  <v-row class="pa-0" align="center">
97
104
  <v-divider />
98
- <v-col cols="auto" justify="center">
99
- <v-icon size="30" icon="mdi-ruler" v-tooltip:left="'Width'" />
100
- </v-col>
101
- <v-col justify="center">
102
- <v-slider v-model="size" hide-details min="0" max="20" step="2" />
103
- </v-col>
105
+ <ViewerOptionsWidthSlider data-testid="meshEdgesWidthSlider" v-model="size" />
104
106
  </v-row>
105
107
  <v-row>
106
108
  <v-col>
@@ -1,6 +1,7 @@
1
1
  <script setup>
2
2
  import ViewerContextMenuItem from "@ogw_front/components/Viewer/ContextMenuItem";
3
3
  import ViewerOptionsColoringTypeSelector from "@ogw_front/components/Viewer/Options/ColoringTypeSelector";
4
+ import ViewerOptionsSizeSlider from "@ogw_front/components/Viewer/Options/Sliders/Size";
4
5
  import ViewerOptionsVisibilitySwitch from "@ogw_front/components/Viewer/Options/VisibilitySwitch";
5
6
 
6
7
  import { useDataStyleStore } from "@ogw_front/stores/data_style";
@@ -9,9 +10,10 @@ import { useHybridViewerStore } from "@ogw_front/stores/hybrid_viewer";
9
10
  const dataStyleStore = useDataStyleStore();
10
11
  const hybridViewerStore = useHybridViewerStore();
11
12
 
12
- const { itemProps, btn_image } = defineProps({
13
+ const { itemProps, btn_image, tooltip } = defineProps({
13
14
  itemProps: { type: Object, required: true },
14
15
  btn_image: { type: String, required: true },
16
+ tooltip: { type: String, required: false, default: "Points options" },
15
17
  });
16
18
 
17
19
  const id = toRef(() => itemProps.id);
@@ -68,18 +70,21 @@ const vertex_attribute_color_map = computed({
68
70
  </script>
69
71
 
70
72
  <template>
71
- <ViewerContextMenuItem :itemProps="itemProps" tooltip="Points options" :btn_image="btn_image">
73
+ <ViewerContextMenuItem
74
+ data-testid="meshPointsMenu"
75
+ :itemProps="itemProps"
76
+ :tooltip="tooltip"
77
+ :btn_image="btn_image"
78
+ >
72
79
  <template #options>
73
- <ViewerOptionsVisibilitySwitch v-model="visibility" />
80
+ <ViewerOptionsVisibilitySwitch
81
+ data-testid="meshPointsVisibilitySwitch"
82
+ v-model="visibility"
83
+ />
74
84
  <template v-if="visibility">
75
85
  <v-row class="pa-0" align="center">
76
86
  <v-divider />
77
- <v-col cols="auto" justify="center">
78
- <v-icon size="30" icon="mdi-ruler" v-tooltip:left="'Size'" />
79
- </v-col>
80
- <v-col justify="center">
81
- <v-slider v-model="size" hide-details min="0" max="20" step="2" />
82
- </v-col>
87
+ <ViewerOptionsSizeSlider data-testid="meshPointsSizeSlider" v-model="size" />
83
88
  </v-row>
84
89
  <v-row>
85
90
  <v-col>
@@ -90,9 +90,17 @@ const polygon_attribute_color_map = computed({
90
90
  </script>
91
91
 
92
92
  <template>
93
- <ViewerContextMenuItem :itemProps="itemProps" :tooltip="tooltip" :btn_image="btn_image">
93
+ <ViewerContextMenuItem
94
+ data-testid="meshPolygonsMenu"
95
+ :itemProps="itemProps"
96
+ :tooltip="tooltip"
97
+ :btn_image="btn_image"
98
+ >
94
99
  <template #options>
95
- <ViewerOptionsVisibilitySwitch v-model="visibility" />
100
+ <ViewerOptionsVisibilitySwitch
101
+ data-testid="meshPolygonsVisibilitySwitch"
102
+ v-model="visibility"
103
+ />
96
104
  <template v-if="visibility">
97
105
  <ViewerOptionsColoringTypeSelector
98
106
  :id="id"
@@ -87,9 +87,17 @@ const polyhedron_attribute_color_map = computed({
87
87
  </script>
88
88
 
89
89
  <template>
90
- <ViewerContextMenuItem :itemProps="itemProps" :tooltip="tooltip" :btn_image="btn_image">
90
+ <ViewerContextMenuItem
91
+ data-testid="meshPolyhedraMenu"
92
+ :itemProps="itemProps"
93
+ :tooltip="tooltip"
94
+ :btn_image="btn_image"
95
+ >
91
96
  <template #options>
92
- <ViewerOptionsVisibilitySwitch v-model="visibility" />
97
+ <ViewerOptionsVisibilitySwitch
98
+ data-testid="meshPolyhedraVisibilitySwitch"
99
+ v-model="visibility"
100
+ />
93
101
  <template v-if="visibility">
94
102
  <ViewerOptionsColoringTypeSelector
95
103
  :id="id"
@@ -1,6 +1,7 @@
1
1
  <script setup>
2
2
  import SurfacePoints from "@ogw_front/assets/viewer_svgs/surface_points.svg";
3
3
  import ViewerContextMenuItem from "@ogw_front/components/Viewer/ContextMenuItem";
4
+ import ViewerOptionsSizeSlider from "@ogw_front/components/Viewer/Options/Sliders/Size";
4
5
  import ViewerOptionsVisibilitySwitch from "@ogw_front/components/Viewer/Options/VisibilitySwitch";
5
6
 
6
7
  import { useDataStyleStore } from "@ogw_front/stores/data_style";
@@ -46,20 +47,7 @@ const size = computed({
46
47
  <template v-if="visibility">
47
48
  <v-row class="pa-0" align="center">
48
49
  <v-divider />
49
- <v-col cols="auto" justify="center">
50
- <v-icon size="30" icon="mdi-ruler" v-tooltip:left="'Size'" />
51
- </v-col>
52
- <v-col justify="center">
53
- <v-slider
54
- v-model="size"
55
- hide-details
56
- min="0"
57
- max="20"
58
- step="2"
59
- thumb-color="black"
60
- ticks
61
- />
62
- </v-col>
50
+ <ViewerOptionsSizeSlider data-testid="modelPointsSizeSlider" v-model="size" />
63
51
  </v-row>
64
52
  </template>
65
53
  </template>
@@ -0,0 +1,8 @@
1
+ <script setup>
2
+ import Slider from "./Slider";
3
+ const size = defineModel();
4
+ </script>
5
+
6
+ <template>
7
+ <Slider v-model="size" :tooltip="'Size'" />
8
+ </template>
@@ -0,0 +1,17 @@
1
+ <script setup>
2
+ import BasicSlider from "@ogw_front/components/Basic/Slider";
3
+
4
+ const model = defineModel();
5
+ const { tooltip } = defineProps({
6
+ tooltip: { type: String, required: true },
7
+ });
8
+ </script>
9
+
10
+ <template>
11
+ <v-col cols="auto" justify="center">
12
+ <v-icon size="30" icon="mdi-ruler" v-tooltip:left="tooltip" />
13
+ </v-col>
14
+ <v-col justify="center">
15
+ <BasicSlider v-model="model" />
16
+ </v-col>
17
+ </template>
@@ -0,0 +1,8 @@
1
+ <script setup>
2
+ import Slider from "./Slider";
3
+ const width = defineModel();
4
+ </script>
5
+
6
+ <template>
7
+ <Slider v-model="width" :tooltip="'Width'" />
8
+ </template>
@@ -1,4 +1,6 @@
1
1
  <script setup>
2
+ import BasicSwitch from "@ogw_front/components/Basic/Switch";
3
+
2
4
  const visibility = defineModel();
3
5
  </script>
4
6
 
@@ -8,7 +10,7 @@ const visibility = defineModel();
8
10
  <v-icon size="30" icon="mdi-eye" v-tooltip:left="'Visibility'" />
9
11
  </v-col>
10
12
  <v-col cols="auto" justify="center">
11
- <v-switch v-model="visibility" inset hide-details />
13
+ <BasicSwitch v-model="visibility" />
12
14
  </v-col>
13
15
  </v-row>
14
16
  </template>
@@ -67,11 +67,7 @@ const vertex_attribute_color_map = computed({
67
67
  });
68
68
  </script>
69
69
  <template>
70
- <ViewerContextMenuItem
71
- :itemProps="itemProps"
72
- tooltip="Points options"
73
- :btn_image="PointSetPoints"
74
- >
70
+ <ViewerContextMenuItem :itemProps="itemProps" :btn_image="PointSetPoints">
75
71
  <template #options>
76
72
  <ViewerOptionsVisibilitySwitch v-model="visibility" />
77
73
  <template v-if="visibility">
@@ -0,0 +1,11 @@
1
+ <script setup>
2
+ import ViewerSpecificPolygonsOptions from "@ogw_front/components/Viewer/Surface/PolygonsOptions";
3
+
4
+ const { itemProps } = defineProps({
5
+ itemProps: { type: Object, required: true },
6
+ });
7
+ </script>
8
+
9
+ <template>
10
+ <ViewerSpecificPolygonsOptions :itemProps="itemProps" tooltip="Triangles options" />
11
+ </template>
@@ -5,15 +5,13 @@ import PointSetPointsOptions from "@ogw_front/components/Viewer/PointSet/Specifi
5
5
  import EdgedCurveEdgesOptions from "@ogw_front/components/Viewer/EdgedCurve/SpecificEdgesOptions";
6
6
  import EdgedCurvePointsOptions from "@ogw_front/components/Viewer/EdgedCurve/PointsOptions";
7
7
 
8
- // PolygonalSurface components
9
- import PolygonalSurfaceEdgesOptions from "@ogw_front/components/Viewer/PolygonalSurface/EdgesOptions";
10
- import PolygonalSurfacePointsOptions from "@ogw_front/components/Viewer/PolygonalSurface/PointsOptions";
11
- import PolygonalSurfacePolygonsOptions from "@ogw_front/components/Viewer/PolygonalSurface/SpecificPolygonsOptions";
8
+ // Surface components
9
+ import SurfaceEdgesOptions from "@ogw_front/components/Viewer/Surface/EdgesOptions";
10
+ import SurfacePointsOptions from "@ogw_front/components/Viewer/Surface/PointsOptions";
11
+ import SurfacePolygonsOptions from "@ogw_front/components/Viewer/Surface/PolygonsOptions";
12
12
 
13
13
  // TriangulatedSurface components
14
- import TriangulatedSurfaceEdgesOptions from "@ogw_front/components/Viewer/TriangulatedSurface/EdgesOptions";
15
- import TriangulatedSurfacePointsOptions from "@ogw_front/components/Viewer/TriangulatedSurface/PointsOptions";
16
- import TriangulatedSurfaceTrianglesOptions from "@ogw_front/components/Viewer/TriangulatedSurface/TrianglesOptions";
14
+ import TriangulatedSurfaceTrianglesOptions from "@ogw_front/components/Viewer/Surface/Triangulated/TrianglesOptions";
17
15
 
18
16
  // Grid 2D components
19
17
  import Grid2DCellsOptions from "@ogw_front/components/Viewer/Grid/2D/CellsOptions";
@@ -44,15 +42,11 @@ const PointSet_menu = [PointSetPointsOptions];
44
42
 
45
43
  const EdgedCurve_menu = [EdgedCurvePointsOptions, EdgedCurveEdgesOptions];
46
44
 
47
- const PolygonalSurface_menu = [
48
- PolygonalSurfacePointsOptions,
49
- PolygonalSurfaceEdgesOptions,
50
- PolygonalSurfacePolygonsOptions,
51
- ];
45
+ const PolygonalSurface_menu = [SurfacePointsOptions, SurfaceEdgesOptions, SurfacePolygonsOptions];
52
46
 
53
47
  const TriangulatedSurface_menu = [
54
- TriangulatedSurfacePointsOptions,
55
- TriangulatedSurfaceEdgesOptions,
48
+ SurfacePointsOptions,
49
+ SurfaceEdgesOptions,
56
50
  TriangulatedSurfaceTrianglesOptions,
57
51
  ];
58
52
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geode/opengeodeweb-front",
3
- "version": "10.14.2-rc.1",
3
+ "version": "10.14.2-rc.2",
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": {
@@ -19,6 +19,7 @@ import { useInfraStore } from "@ogw_front/stores/infra";
19
19
  import { useViewerStore } from "@ogw_front/stores/viewer";
20
20
 
21
21
  // Local constants
22
+ const beforeAllTimeout = 40_000;
22
23
  const data_folder = path.join("tests", "integration", "data", "uploads");
23
24
 
24
25
  async function runMicroservices() {
@@ -88,4 +89,4 @@ afterAll(() => {
88
89
  delete globalThis.WebSocket;
89
90
  });
90
91
 
91
- export { runMicroservices, setupIntegrationTests };
92
+ export { beforeAllTimeout, runMicroservices, setupIntegrationTests };
@@ -3,14 +3,13 @@ import { afterAll, beforeAll, describe, expect, test, vi } from "vitest";
3
3
  import viewer_schemas from "@geode/opengeodeweb-viewer/opengeodeweb_viewer_schemas.json" with { type: "json" };
4
4
 
5
5
  // Local imports
6
+ import { beforeAllTimeout, setupIntegrationTests } from "@ogw_tests/integration/setup";
6
7
  import { Status } from "@ogw_front/utils/status";
7
8
  import { cleanupBackend } from "@ogw_front/utils/local/cleanup";
8
- import { setupIntegrationTests } from "@ogw_tests/integration/setup";
9
9
  import { useDataStyleStore } from "@ogw_front/stores/data_style";
10
10
  import { useViewerStore } from "@ogw_front/stores/viewer";
11
11
 
12
12
  // Local constants
13
- const INTERVAL_TIMEOUT = 60_000;
14
13
  const mesh_cells_schemas = viewer_schemas.opengeodeweb_viewer.mesh.cells;
15
14
  const file_name = "test.og_rgd2d";
16
15
  const geode_object = "RegularGrid2D";
@@ -25,7 +24,7 @@ describe("mesh cells", () => {
25
24
  id = "";
26
25
  projectFolderPath = "";
27
26
  ({ id, projectFolderPath } = await setupIntegrationTests(file_name, geode_object));
28
- }, INTERVAL_TIMEOUT);
27
+ }, beforeAllTimeout);
29
28
 
30
29
  afterAll(async () => {
31
30
  console.log("afterAll mesh cells kill", projectFolderPath);
@@ -3,14 +3,13 @@ import { afterAll, beforeAll, describe, expect, test, vi } from "vitest";
3
3
  import viewer_schemas from "@geode/opengeodeweb-viewer/opengeodeweb_viewer_schemas.json" with { type: "json" };
4
4
 
5
5
  // Local imports
6
+ import { beforeAllTimeout, setupIntegrationTests } from "@ogw_tests/integration/setup";
6
7
  import { Status } from "@ogw_front/utils/status";
7
8
  import { cleanupBackend } from "@ogw_front/utils/local/cleanup";
8
- import { setupIntegrationTests } from "@ogw_tests/integration/setup";
9
9
  import { useDataStyleStore } from "@ogw_front/stores/data_style";
10
10
  import { useViewerStore } from "@ogw_front/stores/viewer";
11
11
 
12
12
  // Local constants
13
- const INTERVAL_TIMEOUT = 25_000;
14
13
  const mesh_edges_schemas = viewer_schemas.opengeodeweb_viewer.mesh.edges;
15
14
  const file_name = "test.og_edc3d";
16
15
  const geode_object = "EdgedCurve3D";
@@ -23,7 +22,7 @@ let id = "",
23
22
  describe("mesh edges", () => {
24
23
  beforeAll(async () => {
25
24
  ({ id, projectFolderPath } = await setupIntegrationTests(file_name, geode_object));
26
- }, INTERVAL_TIMEOUT);
25
+ }, beforeAllTimeout);
27
26
 
28
27
  afterAll(async () => {
29
28
  console.log("afterAll mesh edges kill", projectFolderPath);
@@ -3,14 +3,13 @@ import { afterAll, beforeAll, describe, expect, test, vi } from "vitest";
3
3
  import viewer_schemas from "@geode/opengeodeweb-viewer/opengeodeweb_viewer_schemas.json" with { type: "json" };
4
4
 
5
5
  // Local imports
6
+ import { beforeAllTimeout, setupIntegrationTests } from "@ogw_tests/integration/setup";
6
7
  import { Status } from "@ogw_front/utils/status";
7
8
  import { cleanupBackend } from "@ogw_front/utils/local/cleanup";
8
- import { setupIntegrationTests } from "@ogw_tests/integration/setup";
9
9
  import { useDataStyleStore } from "@ogw_front/stores/data_style";
10
10
  import { useViewerStore } from "@ogw_front/stores/viewer";
11
11
 
12
12
  // Local constants
13
- const INTERVAL_TIMEOUT = 20_000;
14
13
  const mesh_schemas = viewer_schemas.opengeodeweb_viewer.mesh;
15
14
  const file_name = "test.og_rgd3d";
16
15
  const geode_object = "RegularGrid3D";
@@ -21,7 +20,7 @@ let id = "",
21
20
  describe("mesh", () => {
22
21
  beforeAll(async () => {
23
22
  ({ id, projectFolderPath } = await setupIntegrationTests(file_name, geode_object));
24
- }, INTERVAL_TIMEOUT);
23
+ }, beforeAllTimeout);
25
24
 
26
25
  afterAll(async () => {
27
26
  console.log("afterAll mesh index kill", projectFolderPath);
@@ -3,14 +3,13 @@ import { afterAll, beforeAll, describe, expect, test, vi } from "vitest";
3
3
  import viewer_schemas from "@geode/opengeodeweb-viewer/opengeodeweb_viewer_schemas.json" with { type: "json" };
4
4
 
5
5
  // Local imports
6
+ import { beforeAllTimeout, setupIntegrationTests } from "@ogw_tests/integration/setup";
6
7
  import { Status } from "@ogw_front/utils/status";
7
8
  import { cleanupBackend } from "@ogw_front/utils/local/cleanup";
8
- import { setupIntegrationTests } from "@ogw_tests/integration/setup";
9
9
  import { useDataStyleStore } from "@ogw_front/stores/data_style";
10
10
  import { useViewerStore } from "@ogw_front/stores/viewer";
11
11
 
12
12
  // Local constants
13
- const INTERVAL_TIMEOUT = 20_000;
14
13
  const mesh_points_schemas = viewer_schemas.opengeodeweb_viewer.mesh.points;
15
14
  const file_name = "test.og_edc2d";
16
15
  const geode_object = "EdgedCurve2D";
@@ -22,7 +21,7 @@ let id = "",
22
21
  describe("mesh points", () => {
23
22
  beforeAll(async () => {
24
23
  ({ id, projectFolderPath } = await setupIntegrationTests(file_name, geode_object));
25
- }, INTERVAL_TIMEOUT);
24
+ }, beforeAllTimeout);
26
25
 
27
26
  afterAll(async () => {
28
27
  console.log("afterAll mesh points kill", projectFolderPath);
@@ -3,14 +3,13 @@ import { afterAll, beforeAll, describe, expect, test, vi } from "vitest";
3
3
  import viewer_schemas from "@geode/opengeodeweb-viewer/opengeodeweb_viewer_schemas.json" with { type: "json" };
4
4
 
5
5
  // Local imports
6
+ import { beforeAllTimeout, setupIntegrationTests } from "@ogw_tests/integration/setup";
6
7
  import { Status } from "@ogw_front/utils/status";
7
8
  import { cleanupBackend } from "@ogw_front/utils/local/cleanup";
8
- import { setupIntegrationTests } from "@ogw_tests/integration/setup";
9
9
  import { useDataStyleStore } from "@ogw_front/stores/data_style";
10
10
  import { useViewerStore } from "@ogw_front/stores/viewer";
11
11
 
12
12
  // Local constants
13
- const INTERVAL_TIMEOUT = 20_000;
14
13
  const mesh_polygons_schemas = viewer_schemas.opengeodeweb_viewer.mesh.polygons;
15
14
  const file_name = "test.og_psf3d";
16
15
  const geode_object = "PolygonalSurface3D";
@@ -23,7 +22,7 @@ let id = "",
23
22
  describe("mesh polygons", () => {
24
23
  beforeAll(async () => {
25
24
  ({ id, projectFolderPath } = await setupIntegrationTests(file_name, geode_object));
26
- }, INTERVAL_TIMEOUT);
25
+ }, beforeAllTimeout);
27
26
 
28
27
  afterAll(async () => {
29
28
  console.log("afterAll mesh polygons kill", projectFolderPath);
@@ -3,14 +3,13 @@ import { afterAll, beforeAll, describe, expect, test, vi } from "vitest";
3
3
  import viewer_schemas from "@geode/opengeodeweb-viewer/opengeodeweb_viewer_schemas.json" with { type: "json" };
4
4
 
5
5
  // Local imports
6
+ import { beforeAllTimeout, setupIntegrationTests } from "@ogw_tests/integration/setup";
6
7
  import { Status } from "@ogw_front/utils/status";
7
8
  import { cleanupBackend } from "@ogw_front/utils/local/cleanup";
8
- import { setupIntegrationTests } from "@ogw_tests/integration/setup";
9
9
  import { useDataStyleStore } from "@ogw_front/stores/data_style";
10
10
  import { useViewerStore } from "@ogw_front/stores/viewer";
11
11
 
12
12
  // Local constants
13
- const INTERVAL_TIMEOUT = 20_000;
14
13
  const mesh_polyhedra_schemas = viewer_schemas.opengeodeweb_viewer.mesh.polyhedra;
15
14
  const file_name = "test.vtu";
16
15
  const geode_object = "HybridSolid3D";
@@ -23,7 +22,7 @@ let id = "",
23
22
  describe("mesh polyhedra", () => {
24
23
  beforeAll(async () => {
25
24
  ({ id, projectFolderPath } = await setupIntegrationTests(file_name, geode_object));
26
- }, INTERVAL_TIMEOUT);
25
+ }, beforeAllTimeout);
27
26
 
28
27
  afterAll(async () => {
29
28
  console.log("afterAll mesh cells kill", projectFolderPath);
@@ -3,15 +3,14 @@ import { afterAll, beforeAll, describe, expect, test, vi } from "vitest";
3
3
  import viewer_schemas from "@geode/opengeodeweb-viewer/opengeodeweb_viewer_schemas.json" with { type: "json" };
4
4
 
5
5
  // Local imports
6
+ import { beforeAllTimeout, setupIntegrationTests } from "@ogw_tests/integration/setup";
6
7
  import { Status } from "@ogw_front/utils/status";
7
8
  import { cleanupBackend } from "@ogw_front/utils/local/cleanup";
8
- import { setupIntegrationTests } from "@ogw_tests/integration/setup";
9
9
  import { useDataStore } from "@ogw_front/stores/data";
10
10
  import { useDataStyleStore } from "@ogw_front/stores/data_style";
11
11
  import { useViewerStore } from "@ogw_front/stores/viewer";
12
12
 
13
13
  // Local constants
14
- const INTERVAL_TIMEOUT = 20_000;
15
14
  const model_blocks_schemas = viewer_schemas.opengeodeweb_viewer.model.blocks;
16
15
  const file_name = "test.og_brep";
17
16
  const geode_object = "BRep";
@@ -30,7 +29,7 @@ let id = "",
30
29
  describe("model blocks", () => {
31
30
  beforeAll(async () => {
32
31
  ({ id, projectFolderPath } = await setupIntegrationTests(file_name, geode_object));
33
- }, INTERVAL_TIMEOUT);
32
+ }, beforeAllTimeout);
34
33
 
35
34
  afterAll(async () => {
36
35
  console.log("afterAll model blocks kill", projectFolderPath);
@@ -3,15 +3,14 @@ import { afterAll, beforeAll, describe, expect, test, vi } from "vitest";
3
3
  import viewer_schemas from "@geode/opengeodeweb-viewer/opengeodeweb_viewer_schemas.json" with { type: "json" };
4
4
 
5
5
  // Local imports
6
+ import { beforeAllTimeout, setupIntegrationTests } from "@ogw_tests/integration/setup";
6
7
  import { Status } from "@ogw_front/utils/status";
7
8
  import { cleanupBackend } from "@ogw_front/utils/local/cleanup";
8
- import { setupIntegrationTests } from "@ogw_tests/integration/setup";
9
9
  import { useDataStore } from "@ogw_front/stores/data";
10
10
  import { useDataStyleStore } from "@ogw_front/stores/data_style";
11
11
  import { useViewerStore } from "@ogw_front/stores/viewer";
12
12
 
13
13
  // Local constants
14
- const INTERVAL_TIMEOUT = 20_000;
15
14
  const model_corners_schemas = viewer_schemas.opengeodeweb_viewer.model.corners;
16
15
  const file_name = "test.og_brep";
17
16
  const geode_object = "BRep";
@@ -30,7 +29,7 @@ let id = "",
30
29
  describe("model corners", () => {
31
30
  beforeAll(async () => {
32
31
  ({ id, projectFolderPath } = await setupIntegrationTests(file_name, geode_object));
33
- }, INTERVAL_TIMEOUT);
32
+ }, beforeAllTimeout);
34
33
 
35
34
  afterAll(async () => {
36
35
  console.log("afterAll model corners kill", projectFolderPath);
@@ -3,14 +3,13 @@ import { afterAll, beforeAll, describe, expect, test, vi } from "vitest";
3
3
  import viewer_schemas from "@geode/opengeodeweb-viewer/opengeodeweb_viewer_schemas.json" with { type: "json" };
4
4
 
5
5
  // Local imports
6
+ import { beforeAllTimeout, setupIntegrationTests } from "@ogw_tests/integration/setup";
6
7
  import { Status } from "@ogw_front/utils/status";
7
8
  import { cleanupBackend } from "@ogw_front/utils/local/cleanup";
8
- import { setupIntegrationTests } from "@ogw_tests/integration/setup";
9
9
  import { useDataStyleStore } from "@ogw_front/stores/data_style";
10
10
  import { useViewerStore } from "@ogw_front/stores/viewer";
11
11
 
12
12
  // Local constants
13
- const INTERVAL_TIMEOUT = 25_000;
14
13
  const model_edges_schemas = viewer_schemas.opengeodeweb_viewer.model.edges;
15
14
  const file_name = "test.og_brep";
16
15
  const geode_object = "BRep";
@@ -29,7 +28,7 @@ let id = "",
29
28
  describe("model edges", () => {
30
29
  beforeAll(async () => {
31
30
  ({ id, projectFolderPath } = await setupIntegrationTests(file_name, geode_object));
32
- }, INTERVAL_TIMEOUT);
31
+ }, beforeAllTimeout);
33
32
 
34
33
  afterAll(async () => {
35
34
  console.log("afterAll model edges kill", projectFolderPath);
@@ -3,14 +3,13 @@ import { afterAll, beforeAll, describe, expect, test, vi } from "vitest";
3
3
  import viewer_schemas from "@geode/opengeodeweb-viewer/opengeodeweb_viewer_schemas.json" with { type: "json" };
4
4
 
5
5
  // Local imports
6
+ import { beforeAllTimeout, setupIntegrationTests } from "@ogw_tests/integration/setup";
6
7
  import { Status } from "@ogw_front/utils/status";
7
8
  import { cleanupBackend } from "@ogw_front/utils/local/cleanup";
8
- import { setupIntegrationTests } from "@ogw_tests/integration/setup";
9
9
  import { useDataStyleStore } from "@ogw_front/stores/data_style";
10
10
  import { useViewerStore } from "@ogw_front/stores/viewer";
11
11
 
12
12
  // Local constants
13
- const INTERVAL_TIMEOUT = 20_000;
14
13
  const model_schemas = viewer_schemas.opengeodeweb_viewer.model;
15
14
  const file_name = "test.og_brep";
16
15
  const geode_object = "BRep";
@@ -29,7 +28,7 @@ let id = "",
29
28
  describe("model", () => {
30
29
  beforeAll(async () => {
31
30
  ({ id, projectFolderPath } = await setupIntegrationTests(file_name, geode_object));
32
- }, INTERVAL_TIMEOUT);
31
+ }, beforeAllTimeout);
33
32
 
34
33
  afterAll(async () => {
35
34
  console.log("afterAll model kill", projectFolderPath);
@@ -3,15 +3,14 @@ import { afterAll, beforeAll, describe, expect, test, vi } from "vitest";
3
3
  import viewer_schemas from "@geode/opengeodeweb-viewer/opengeodeweb_viewer_schemas.json" with { type: "json" };
4
4
 
5
5
  // Local imports
6
+ import { beforeAllTimeout, setupIntegrationTests } from "@ogw_tests/integration/setup";
6
7
  import { Status } from "@ogw_front/utils/status";
7
8
  import { cleanupBackend } from "@ogw_front/utils/local/cleanup";
8
- import { setupIntegrationTests } from "@ogw_tests/integration/setup";
9
9
  import { useDataStore } from "@ogw_front/stores/data";
10
10
  import { useDataStyleStore } from "@ogw_front/stores/data_style";
11
11
  import { useViewerStore } from "@ogw_front/stores/viewer";
12
12
 
13
13
  // Local constants
14
- const INTERVAL_TIMEOUT = 20_000;
15
14
  const model_lines_schemas = viewer_schemas.opengeodeweb_viewer.model.lines;
16
15
  const file_name = "test.og_brep";
17
16
  const geode_object = "BRep";
@@ -30,7 +29,7 @@ let id = "",
30
29
  describe("model lines", () => {
31
30
  beforeAll(async () => {
32
31
  ({ id, projectFolderPath } = await setupIntegrationTests(file_name, geode_object));
33
- }, INTERVAL_TIMEOUT);
32
+ }, beforeAllTimeout);
34
33
 
35
34
  afterAll(async () => {
36
35
  console.log("afterAll model lines kill", projectFolderPath);
@@ -3,14 +3,13 @@ import { afterAll, beforeAll, describe, expect, test, vi } from "vitest";
3
3
  import viewer_schemas from "@geode/opengeodeweb-viewer/opengeodeweb_viewer_schemas.json" with { type: "json" };
4
4
 
5
5
  // Local imports
6
+ import { beforeAllTimeout, setupIntegrationTests } from "@ogw_tests/integration/setup";
6
7
  import { Status } from "@ogw_front/utils/status";
7
8
  import { cleanupBackend } from "@ogw_front/utils/local/cleanup";
8
- import { setupIntegrationTests } from "@ogw_tests/integration/setup";
9
9
  import { useDataStyleStore } from "@ogw_front/stores/data_style";
10
10
  import { useViewerStore } from "@ogw_front/stores/viewer";
11
11
 
12
12
  // Local constants
13
- const INTERVAL_TIMEOUT = 20_000;
14
13
  const model_points_schemas = viewer_schemas.opengeodeweb_viewer.model.points;
15
14
  const file_name = "test.og_brep";
16
15
  const geode_object = "BRep";
@@ -29,7 +28,7 @@ let id = "",
29
28
  describe("model points", () => {
30
29
  beforeAll(async () => {
31
30
  ({ id, projectFolderPath } = await setupIntegrationTests(file_name, geode_object));
32
- }, INTERVAL_TIMEOUT);
31
+ }, beforeAllTimeout);
33
32
 
34
33
  afterAll(async () => {
35
34
  console.log("afterAll model points kill", projectFolderPath);
@@ -3,15 +3,14 @@ import { afterAll, beforeAll, describe, expect, test, vi } from "vitest";
3
3
  import viewer_schemas from "@geode/opengeodeweb-viewer/opengeodeweb_viewer_schemas.json" with { type: "json" };
4
4
 
5
5
  // Local imports
6
+ import { beforeAllTimeout, setupIntegrationTests } from "@ogw_tests/integration/setup";
6
7
  import { Status } from "@ogw_front/utils/status";
7
8
  import { cleanupBackend } from "@ogw_front/utils/local/cleanup";
8
- import { setupIntegrationTests } from "@ogw_tests/integration/setup";
9
9
  import { useDataStore } from "@ogw_front/stores/data";
10
10
  import { useDataStyleStore } from "@ogw_front/stores/data_style";
11
11
  import { useViewerStore } from "@ogw_front/stores/viewer";
12
12
 
13
13
  // Local constants
14
- const INTERVAL_TIMEOUT = 20_000;
15
14
  const model_surfaces_schemas = viewer_schemas.opengeodeweb_viewer.model.surfaces;
16
15
  const file_name = "test.og_brep";
17
16
  const geode_object = "BRep";
@@ -30,7 +29,7 @@ let id = "",
30
29
  describe("model surfaces", () => {
31
30
  beforeAll(async () => {
32
31
  ({ id, projectFolderPath } = await setupIntegrationTests(file_name, geode_object));
33
- }, INTERVAL_TIMEOUT);
32
+ }, beforeAllTimeout);
34
33
 
35
34
  afterAll(async () => {
36
35
  console.log("afterAll model surfaces kill", projectFolderPath);
@@ -5,9 +5,9 @@ import { afterAll, beforeAll, describe, expect, test } from "vitest";
5
5
  import opengeodeweb_viewer_schemas from "@geode/opengeodeweb-viewer/opengeodeweb_viewer_schemas.json";
6
6
 
7
7
  // Local imports
8
+ import { beforeAllTimeout, runMicroservices } from "@ogw_tests/integration/setup";
8
9
  import { Status } from "@ogw_front/utils/status";
9
10
  import { cleanupBackend } from "@ogw_front/utils/local/cleanup";
10
- import { runMicroservices } from "@ogw_tests/integration/setup";
11
11
  import { setupActivePinia } from "@ogw_tests/utils";
12
12
  import { useViewerStore } from "@ogw_front/stores/viewer";
13
13
 
@@ -19,7 +19,7 @@ describe("viewer Store", () => {
19
19
  beforeAll(async () => {
20
20
  setupActivePinia();
21
21
  ({ projectFolderPath } = await runMicroservices());
22
- });
22
+ }, beforeAllTimeout);
23
23
 
24
24
  afterAll(async () => {
25
25
  await cleanupBackend(projectFolderPath);
@@ -1,12 +0,0 @@
1
- <script setup>
2
- import HybridSolidEdges from "@ogw_front/assets/viewer_svgs/solid_edges.svg";
3
- import ViewerGenericMeshEdgesOptions from "@ogw_front/components/Viewer/Generic/Mesh/EdgesOptions";
4
-
5
- const { itemProps } = defineProps({
6
- itemProps: { type: Object, required: true },
7
- });
8
- </script>
9
-
10
- <template>
11
- <ViewerGenericMeshEdgesOptions :itemProps="itemProps" :btn_image="HybridSolidEdges" />
12
- </template>
@@ -1,12 +0,0 @@
1
- <script setup>
2
- import HybridSolidPoints from "@ogw_front/assets/viewer_svgs/solid_points.svg";
3
- import ViewerGenericMeshPointsOptions from "@ogw_front/components/Viewer/Generic/Mesh/PointsOptions";
4
-
5
- const { itemProps } = defineProps({
6
- itemProps: { type: Object, required: true },
7
- });
8
- </script>
9
-
10
- <template>
11
- <ViewerGenericMeshPointsOptions :itemProps="itemProps" :btn_image="HybridSolidPoints" />
12
- </template>
@@ -1,12 +0,0 @@
1
- <script setup>
2
- import HybridSolidPolygons from "@ogw_front/assets/viewer_svgs/solid_facets.svg";
3
- import ViewerGenericMeshPolygonsOptions from "@ogw_front/components/Viewer/Generic/Mesh/PolygonsOptions";
4
-
5
- const { itemProps } = defineProps({
6
- itemProps: { type: Object, required: true },
7
- });
8
- </script>
9
-
10
- <template>
11
- <ViewerGenericMeshPolygonsOptions :itemProps="itemProps" :btn_image="HybridSolidPolygons" />
12
- </template>
@@ -1,12 +0,0 @@
1
- <script setup>
2
- import HybridSolidPolyhedra from "@ogw_front/assets/viewer_svgs/solid_polyhedra.svg";
3
- import ViewerGenericMeshPolyhedraOptions from "@ogw_front/components/Viewer/Generic/Mesh/PolyhedraOptions";
4
-
5
- const { itemProps } = defineProps({
6
- itemProps: { type: Object, required: true },
7
- });
8
- </script>
9
-
10
- <template>
11
- <ViewerGenericMeshPolyhedraOptions :itemProps="itemProps" :btn_image="HybridSolidPolyhedra" />
12
- </template>
@@ -1,12 +0,0 @@
1
- <script setup>
2
- import PolygonalSurfaceEdges from "@ogw_front/assets/viewer_svgs/surface_edges.svg";
3
- import ViewerGenericMeshEdgesOptions from "@ogw_front/components/Viewer/Generic/Mesh/EdgesOptions";
4
-
5
- const { itemProps } = defineProps({
6
- itemProps: { type: Object, required: true },
7
- });
8
- </script>
9
-
10
- <template>
11
- <ViewerGenericMeshEdgesOptions :itemProps="itemProps" :btn_image="PolygonalSurfaceEdges" />
12
- </template>
@@ -1,12 +0,0 @@
1
- <script setup>
2
- import PolygonalSurfacePoints from "@ogw_front/assets/viewer_svgs/surface_points.svg";
3
- import ViewerGenericMeshPointsOptions from "@ogw_front/components/Viewer/Generic/Mesh/PointsOptions";
4
-
5
- const { itemProps } = defineProps({
6
- itemProps: { type: Object, required: true },
7
- });
8
- </script>
9
-
10
- <template>
11
- <ViewerGenericMeshPointsOptions :itemProps="itemProps" :btn_image="PolygonalSurfacePoints" />
12
- </template>
@@ -1,16 +0,0 @@
1
- <script setup>
2
- import TriangulatedSurfaceTriangles from "@ogw_front/assets/viewer_svgs/surface_triangles.svg";
3
- import ViewerSpecificPolygonsOptions from "@ogw_front/components/Viewer/PolygonalSurface/SpecificPolygonsOptions";
4
-
5
- const { itemProps } = defineProps({
6
- itemProps: { type: Object, required: true },
7
- });
8
- </script>
9
-
10
- <template>
11
- <ViewerSpecificPolygonsOptions
12
- :itemProps="itemProps"
13
- :btn_image="TriangulatedSurfaceTriangles"
14
- tooltip="Triangles options"
15
- />
16
- </template>
@@ -1,7 +0,0 @@
1
- #
2
- # This file is autogenerated by pip-compile with Python 3.12
3
- # by the following command:
4
- #
5
- # pip-compile --output-file=tests/integration/microservices/back/requirements.txt tests/integration/microservices/back/requirements.in
6
- #
7
-
@@ -1,7 +0,0 @@
1
- #
2
- # This file is autogenerated by pip-compile with Python 3.12
3
- # by the following command:
4
- #
5
- # pip-compile --output-file=tests/integration/microservices/viewer/requirements.txt tests/integration/microservices/viewer/requirements.in
6
- #
7
-