@geode/opengeodeweb-front 10.2.1-rc.2 → 10.2.1-rc.4

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 (92) hide show
  1. package/app/components/Carousel.vue +20 -20
  2. package/app/components/CrsSelector.vue +25 -25
  3. package/app/components/DragAndDrop.vue +31 -31
  4. package/app/components/ExtensionSelector.vue +56 -56
  5. package/app/components/FeedBack/ErrorBanner.vue +9 -9
  6. package/app/components/FeedBack/Snackers.vue +11 -11
  7. package/app/components/FileSelector.vue +9 -9
  8. package/app/components/FileUploader.vue +54 -54
  9. package/app/components/HybridRenderingView.vue +16 -16
  10. package/app/components/InfraConnected.vue +4 -4
  11. package/app/components/Inspector/InspectionButton.vue +16 -16
  12. package/app/components/Inspector/ResultPanel.vue +15 -15
  13. package/app/components/Launcher.vue +18 -18
  14. package/app/components/Loading.vue +26 -26
  15. package/app/components/MissingFilesSelector.vue +44 -44
  16. package/app/components/ObjectSelector.vue +50 -50
  17. package/app/components/PackagesVersions.vue +20 -20
  18. package/app/components/Recaptcha.vue +40 -40
  19. package/app/components/RemoteRenderingView.vue +22 -22
  20. package/app/components/Step.vue +46 -46
  21. package/app/components/Stepper.vue +8 -8
  22. package/app/components/VeaseViewToolbar.vue +28 -28
  23. package/app/components/ViewToolbar.vue +22 -22
  24. package/app/components/Viewer/BreadCrumb.vue +20 -20
  25. package/app/components/Viewer/ContextMenu.vue +34 -34
  26. package/app/components/Viewer/EdgedCurve/PointsOptions.vue +7 -7
  27. package/app/components/Viewer/EdgedCurve/SpecificEdgesOptions.vue +42 -42
  28. package/app/components/Viewer/Generic/Mesh/CellsOptions.vue +22 -22
  29. package/app/components/Viewer/Generic/Mesh/EdgesOptions.vue +40 -40
  30. package/app/components/Viewer/Generic/Mesh/PointsOptions.vue +41 -41
  31. package/app/components/Viewer/Generic/Mesh/PolygonsOptions.vue +20 -20
  32. package/app/components/Viewer/Generic/Mesh/PolyhedraOptions.vue +19 -19
  33. package/app/components/Viewer/Generic/Model/EdgesOptions.vue +12 -12
  34. package/app/components/Viewer/Generic/Model/PointsOptions.vue +31 -31
  35. package/app/components/Viewer/Grid/2D/CellsOptions.vue +8 -8
  36. package/app/components/Viewer/Grid/2D/EdgesOptions.vue +7 -7
  37. package/app/components/Viewer/Grid/2D/PointsOptions.vue +7 -7
  38. package/app/components/Viewer/Grid/3D/CellsOptions.vue +8 -8
  39. package/app/components/Viewer/Grid/3D/EdgesOptions.vue +7 -7
  40. package/app/components/Viewer/Grid/3D/FacetsOptions.vue +8 -8
  41. package/app/components/Viewer/Grid/3D/PointsOptions.vue +7 -7
  42. package/app/components/Viewer/HybridSolid/EdgesOptions.vue +7 -7
  43. package/app/components/Viewer/HybridSolid/PointsOptions.vue +7 -7
  44. package/app/components/Viewer/HybridSolid/PolygonsOptions.vue +7 -7
  45. package/app/components/Viewer/HybridSolid/PolyhedraOptions.vue +7 -7
  46. package/app/components/Viewer/Options/CellAttributeSelector.vue +9 -9
  47. package/app/components/Viewer/Options/ColorPicker.vue +12 -12
  48. package/app/components/Viewer/Options/ColoringTypeSelector.vue +66 -66
  49. package/app/components/Viewer/Options/EdgeAttributeSelector.vue +21 -21
  50. package/app/components/Viewer/Options/PolygonAttributeSelector.vue +9 -9
  51. package/app/components/Viewer/Options/PolyhedronAttributeSelector.vue +9 -9
  52. package/app/components/Viewer/Options/TextureItem.vue +37 -37
  53. package/app/components/Viewer/Options/TexturesSelector.vue +30 -30
  54. package/app/components/Viewer/Options/VertexAttributeSelector.vue +9 -9
  55. package/app/components/Viewer/Options/VisibilitySwitch.vue +4 -4
  56. package/app/components/Viewer/PointSet/SpecificPointsOptions.vue +41 -41
  57. package/app/components/Viewer/PolygonalSurface/EdgesOptions.vue +7 -7
  58. package/app/components/Viewer/PolygonalSurface/PointsOptions.vue +7 -7
  59. package/app/components/Viewer/PolygonalSurface/SpecificPolygonsOptions.vue +22 -22
  60. package/app/components/Viewer/Solid/EdgesOptions.vue +7 -7
  61. package/app/components/Viewer/Solid/PointsOptions.vue +7 -7
  62. package/app/components/Viewer/Solid/PolygonsOptions.vue +7 -7
  63. package/app/components/Viewer/Solid/SpecificPolyhedraOptions.vue +25 -25
  64. package/app/components/Viewer/TetrahedralSolid/TetrahedraOptions.vue +8 -8
  65. package/app/components/Viewer/TetrahedralSolid/TrianglesOptions.vue +8 -8
  66. package/app/components/Viewer/Tree/ObjectTree.vue +39 -39
  67. package/app/components/Viewer/TreeComponent.vue +21 -21
  68. package/app/components/Viewer/TreeObject.vue +37 -37
  69. package/app/components/Viewer/TriangulatedSurface/EdgesOptions.vue +7 -7
  70. package/app/components/Viewer/TriangulatedSurface/PointsOptions.vue +7 -7
  71. package/app/components/Viewer/TriangulatedSurface/TrianglesOptions.vue +8 -8
  72. package/app/components/Wrapper.vue +15 -15
  73. package/internal/stores/mesh/cells.js +3 -3
  74. package/internal/stores/mesh/edges.js +2 -2
  75. package/internal/stores/mesh/points.js +1 -1
  76. package/internal/stores/mesh/polygons.js +3 -3
  77. package/internal/stores/mesh/polyhedra.js +16 -16
  78. package/package.json +1 -1
  79. package/tests/integration/microservices/back/requirements.txt +1 -1
  80. package/tests/integration/stores/data_style/mesh/cells.nuxt.test.js +49 -9
  81. package/tests/integration/stores/data_style/mesh/edges.nuxt.test.js +50 -18
  82. package/tests/integration/stores/data_style/mesh/index.nuxt.test.js +6 -2
  83. package/tests/integration/stores/data_style/mesh/points.nuxt.test.js +35 -7
  84. package/tests/integration/stores/data_style/mesh/polygons.nuxt.test.js +62 -21
  85. package/tests/integration/stores/data_style/mesh/polyhedra.nuxt.test.js +82 -46
  86. package/tests/integration/stores/data_style/model/blocks.nuxt.test.js +7 -1
  87. package/tests/integration/stores/data_style/model/corners.nuxt.test.js +10 -2
  88. package/tests/integration/stores/data_style/model/edges.nuxt.test.js +3 -1
  89. package/tests/integration/stores/data_style/model/index.nuxt.test.js +3 -1
  90. package/tests/integration/stores/data_style/model/lines.nuxt.test.js +10 -2
  91. package/tests/integration/stores/data_style/model/points.nuxt.test.js +6 -2
  92. package/tests/integration/stores/data_style/model/surfaces.nuxt.test.js +10 -2
@@ -1,3 +1,23 @@
1
+ <script setup>
2
+ import { useDataStore } from "@ogw_front/stores/data"
3
+ import { useTreeviewStore } from "@ogw_front/stores/treeview"
4
+
5
+ const dataStore = useDataStore()
6
+ const treeviewStore = useTreeviewStore()
7
+
8
+ const selectedTree = computed(() => treeviewStore.selectedTree)
9
+
10
+ const goBackToFileTree = () => {
11
+ treeviewStore.displayFileTree()
12
+ }
13
+
14
+ const model_id = computed(() => treeviewStore.model_id)
15
+
16
+ const metaDatas = computed(() => {
17
+ return dataStore.getItem(model_id.value).value
18
+ })
19
+ </script>
20
+
1
21
  <template>
2
22
  <v-breadcrumbs class="mb-n10 breadcrumb-container">
3
23
  <div class="d-flex align-center gap-2 ml-2 mt-2 mb-1">
@@ -36,26 +56,6 @@
36
56
  </v-breadcrumbs>
37
57
  </template>
38
58
 
39
- <script setup>
40
- import { useDataStore } from "@ogw_front/stores/data"
41
- import { useTreeviewStore } from "@ogw_front/stores/treeview"
42
-
43
- const dataStore = useDataStore()
44
- const treeviewStore = useTreeviewStore()
45
-
46
- const selectedTree = computed(() => treeviewStore.selectedTree)
47
-
48
- const goBackToFileTree = () => {
49
- treeviewStore.displayFileTree()
50
- }
51
-
52
- const model_id = computed(() => treeviewStore.model_id)
53
-
54
- const metaDatas = computed(() => {
55
- return dataStore.getItem(model_id.value).value
56
- })
57
- </script>
58
-
59
59
  <style scoped>
60
60
  .breadcrumb-container {
61
61
  max-width: 100%;
@@ -1,37 +1,3 @@
1
- <template>
2
- <v-menu
3
- v-model="show_menu"
4
- content-class="circular-menu-container"
5
- :style="getMenuStyle()"
6
- :close-on-content-click="false"
7
- :close-delay="100"
8
- :overlay="false"
9
- >
10
- <div class="circular-menu-drag-handle" @mousedown.stop="startDrag">
11
- <div
12
- class="circular-menu-items"
13
- :style="{ width: `${radius * 2}px`, height: `${radius * 2}px` }"
14
- >
15
- <component
16
- v-for="(item, index) in menu_items"
17
- :is="item"
18
- :key="index"
19
- :index="index"
20
- :itemProps="{
21
- id: props.id,
22
- tooltip_location: getTooltipLocation(index),
23
- tooltip_origin: getTooltipOrigin(index),
24
- totalItems: menuItemCount,
25
- }"
26
- class="menu-item-wrapper"
27
- :style="getItemStyle(index)"
28
- @mousedown.stop
29
- />
30
- </div>
31
- </div>
32
- </v-menu>
33
- </template>
34
-
35
1
  <script setup>
36
2
  import { useMenuStore } from "@ogw_front/stores/menu"
37
3
  import { useDataStore } from "@ogw_front/stores/data"
@@ -166,6 +132,40 @@
166
132
  }
167
133
  </script>
168
134
 
135
+ <template>
136
+ <v-menu
137
+ v-model="show_menu"
138
+ content-class="circular-menu-container"
139
+ :style="getMenuStyle()"
140
+ :close-on-content-click="false"
141
+ :close-delay="100"
142
+ :overlay="false"
143
+ >
144
+ <div class="circular-menu-drag-handle" @mousedown.stop="startDrag">
145
+ <div
146
+ class="circular-menu-items"
147
+ :style="{ width: `${radius * 2}px`, height: `${radius * 2}px` }"
148
+ >
149
+ <component
150
+ v-for="(item, index) in menu_items"
151
+ :is="item"
152
+ :key="index"
153
+ :index="index"
154
+ :itemProps="{
155
+ id: props.id,
156
+ tooltip_location: getTooltipLocation(index),
157
+ tooltip_origin: getTooltipOrigin(index),
158
+ totalItems: menuItemCount,
159
+ }"
160
+ class="menu-item-wrapper"
161
+ :style="getItemStyle(index)"
162
+ @mousedown.stop
163
+ />
164
+ </div>
165
+ </div>
166
+ </v-menu>
167
+ </template>
168
+
169
169
  <style scoped>
170
170
  :deep(.circular-menu-container) {
171
171
  overflow: visible !important;
@@ -1,10 +1,3 @@
1
- <template>
2
- <ViewerGenericMeshPointsOptions
3
- :itemProps="props.itemProps"
4
- :btn_image="EdgedCurvePoints"
5
- />
6
- </template>
7
-
8
1
  <script setup>
9
2
  import ViewerGenericMeshPointsOptions from "@ogw_front/components/Viewer/Generic/Mesh/PointsOptions"
10
3
  import EdgedCurvePoints from "@ogw_front/assets/viewer_svgs/edged_curve_points.svg"
@@ -13,3 +6,10 @@
13
6
  itemProps: { type: Object, required: true },
14
7
  })
15
8
  </script>
9
+
10
+ <template>
11
+ <ViewerGenericMeshPointsOptions
12
+ :itemProps="props.itemProps"
13
+ :btn_image="EdgedCurvePoints"
14
+ />
15
+ </template>
@@ -1,45 +1,3 @@
1
- <template>
2
- <ViewerContextMenuItem
3
- :itemProps="props.itemProps"
4
- tooltip="Edges options"
5
- :btn_image="EdgedCurveEdges"
6
- >
7
- <template #options>
8
- <ViewerOptionsVisibilitySwitch v-model="visibility" />
9
- <template v-if="visibility">
10
- <v-row class="pa-0" align="center">
11
- <v-divider />
12
- <v-col cols="auto" justify="center">
13
- <v-icon size="30" icon="mdi-ruler" v-tooltip:left="'Width'" />
14
- </v-col>
15
- <v-col justify="center">
16
- <v-slider
17
- v-model="size"
18
- hide-details
19
- min="0"
20
- max="20"
21
- step="2"
22
- thumb-color="black"
23
- ticks
24
- />
25
- </v-col>
26
- </v-row>
27
- <v-row>
28
- <v-col>
29
- <ViewerOptionsColoringTypeSelector
30
- :id="id"
31
- v-model:coloring_style_key="coloring_style_key"
32
- v-model:color="color"
33
- v-model:vertex_attribute="vertex_attribute"
34
- v-model:edge_attribute="edge_attribute"
35
- />
36
- </v-col>
37
- </v-row>
38
- </template>
39
- </template>
40
- </ViewerContextMenuItem>
41
- </template>
42
-
43
1
  <script setup>
44
2
  import ViewerContextMenuItem from "@ogw_front/components/Viewer/ContextMenuItem"
45
3
  import ViewerOptionsVisibilitySwitch from "@ogw_front/components/Viewer/Options/VisibilitySwitch"
@@ -101,3 +59,45 @@
101
59
  },
102
60
  })
103
61
  </script>
62
+
63
+ <template>
64
+ <ViewerContextMenuItem
65
+ :itemProps="props.itemProps"
66
+ tooltip="Edges options"
67
+ :btn_image="EdgedCurveEdges"
68
+ >
69
+ <template #options>
70
+ <ViewerOptionsVisibilitySwitch v-model="visibility" />
71
+ <template v-if="visibility">
72
+ <v-row class="pa-0" align="center">
73
+ <v-divider />
74
+ <v-col cols="auto" justify="center">
75
+ <v-icon size="30" icon="mdi-ruler" v-tooltip:left="'Width'" />
76
+ </v-col>
77
+ <v-col justify="center">
78
+ <v-slider
79
+ v-model="size"
80
+ hide-details
81
+ min="0"
82
+ max="20"
83
+ step="2"
84
+ thumb-color="black"
85
+ ticks
86
+ />
87
+ </v-col>
88
+ </v-row>
89
+ <v-row>
90
+ <v-col>
91
+ <ViewerOptionsColoringTypeSelector
92
+ :id="id"
93
+ v-model:coloring_style_key="coloring_style_key"
94
+ v-model:color="color"
95
+ v-model:vertex_attribute="vertex_attribute"
96
+ v-model:edge_attribute="edge_attribute"
97
+ />
98
+ </v-col>
99
+ </v-row>
100
+ </template>
101
+ </template>
102
+ </ViewerContextMenuItem>
103
+ </template>
@@ -1,25 +1,3 @@
1
- <template>
2
- <ViewerContextMenuItem
3
- :itemProps="props.itemProps"
4
- :tooltip="props.tooltip"
5
- :btn_image="props.btn_image"
6
- >
7
- <template #options>
8
- <ViewerOptionsVisibilitySwitch v-model="visibility" />
9
- <template v-if="visibility">
10
- <ViewerOptionsColoringTypeSelector
11
- :id="id"
12
- v-model:coloring_style_key="coloring_style_key"
13
- v-model:color="color"
14
- v-model:textures="textures"
15
- v-model:vertex_attribute="vertex_attribute"
16
- v-model:cell_attribute="cell_attribute"
17
- />
18
- </template>
19
- </template>
20
- </ViewerContextMenuItem>
21
- </template>
22
-
23
1
  <script setup>
24
2
  import ViewerContextMenuItem from "@ogw_front/components/Viewer/ContextMenuItem"
25
3
  import ViewerOptionsVisibilitySwitch from "@ogw_front/components/Viewer/Options/VisibilitySwitch"
@@ -82,3 +60,25 @@
82
60
  },
83
61
  })
84
62
  </script>
63
+
64
+ <template>
65
+ <ViewerContextMenuItem
66
+ :itemProps="props.itemProps"
67
+ :tooltip="props.tooltip"
68
+ :btn_image="props.btn_image"
69
+ >
70
+ <template #options>
71
+ <ViewerOptionsVisibilitySwitch v-model="visibility" />
72
+ <template v-if="visibility">
73
+ <ViewerOptionsColoringTypeSelector
74
+ :id="id"
75
+ v-model:coloring_style_key="coloring_style_key"
76
+ v-model:color="color"
77
+ v-model:textures="textures"
78
+ v-model:vertex_attribute="vertex_attribute"
79
+ v-model:cell_attribute="cell_attribute"
80
+ />
81
+ </template>
82
+ </template>
83
+ </ViewerContextMenuItem>
84
+ </template>
@@ -1,43 +1,3 @@
1
- <template>
2
- <ViewerContextMenuItem
3
- :itemProps="props.itemProps"
4
- tooltip="Edges options"
5
- :btn_image="props.btn_image"
6
- >
7
- <template #options>
8
- <ViewerOptionsVisibilitySwitch v-model="visibility" />
9
- <template v-if="visibility">
10
- <v-row class="pa-0" align="center">
11
- <v-divider />
12
- <v-col cols="auto" justify="center">
13
- <v-icon size="30" icon="mdi-ruler" v-tooltip:left="'Width'" />
14
- </v-col>
15
- <v-col justify="center">
16
- <v-slider
17
- v-model="size"
18
- hide-details
19
- min="0"
20
- max="20"
21
- step="2"
22
- thumb-color="black"
23
- ticks
24
- />
25
- </v-col>
26
- </v-row>
27
- <v-row>
28
- <v-col>
29
- <ViewerOptionsColoringTypeSelector
30
- :id="id"
31
- v-model:coloring_style_key="coloring_style_key"
32
- v-model:color="color"
33
- />
34
- </v-col>
35
- </v-row>
36
- </template>
37
- </template>
38
- </ViewerContextMenuItem>
39
- </template>
40
-
41
1
  <script setup>
42
2
  import ViewerContextMenuItem from "@ogw_front/components/Viewer/ContextMenuItem"
43
3
  import ViewerOptionsVisibilitySwitch from "@ogw_front/components/Viewer/Options/VisibilitySwitch"
@@ -92,3 +52,43 @@
92
52
  },
93
53
  })
94
54
  </script>
55
+
56
+ <template>
57
+ <ViewerContextMenuItem
58
+ :itemProps="props.itemProps"
59
+ tooltip="Edges options"
60
+ :btn_image="props.btn_image"
61
+ >
62
+ <template #options>
63
+ <ViewerOptionsVisibilitySwitch v-model="visibility" />
64
+ <template v-if="visibility">
65
+ <v-row class="pa-0" align="center">
66
+ <v-divider />
67
+ <v-col cols="auto" justify="center">
68
+ <v-icon size="30" icon="mdi-ruler" v-tooltip:left="'Width'" />
69
+ </v-col>
70
+ <v-col justify="center">
71
+ <v-slider
72
+ v-model="size"
73
+ hide-details
74
+ min="0"
75
+ max="20"
76
+ step="2"
77
+ thumb-color="black"
78
+ ticks
79
+ />
80
+ </v-col>
81
+ </v-row>
82
+ <v-row>
83
+ <v-col>
84
+ <ViewerOptionsColoringTypeSelector
85
+ :id="id"
86
+ v-model:coloring_style_key="coloring_style_key"
87
+ v-model:color="color"
88
+ />
89
+ </v-col>
90
+ </v-row>
91
+ </template>
92
+ </template>
93
+ </ViewerContextMenuItem>
94
+ </template>
@@ -1,44 +1,3 @@
1
- <template>
2
- <ViewerContextMenuItem
3
- :itemProps="props.itemProps"
4
- tooltip="Points options"
5
- :btn_image="props.btn_image"
6
- >
7
- <template #options>
8
- <ViewerOptionsVisibilitySwitch v-model="visibility" />
9
- <template v-if="visibility">
10
- <v-row class="pa-0" align="center">
11
- <v-divider />
12
- <v-col cols="auto" justify="center">
13
- <v-icon size="30" icon="mdi-ruler" v-tooltip:left="'Size'" />
14
- </v-col>
15
- <v-col justify="center">
16
- <v-slider
17
- v-model="size"
18
- hide-details
19
- min="0"
20
- max="20"
21
- step="2"
22
- thumb-color="black"
23
- ticks
24
- />
25
- </v-col>
26
- </v-row>
27
- <v-row>
28
- <v-col>
29
- <ViewerOptionsColoringTypeSelector
30
- :id="id"
31
- v-model:coloring_style_key="coloring_style_key"
32
- v-model:color="color"
33
- v-model:vertex_attribute="vertex_attribute"
34
- />
35
- </v-col>
36
- </v-row>
37
- </template>
38
- </template>
39
- </ViewerContextMenuItem>
40
- </template>
41
-
42
1
  <script setup>
43
2
  import ViewerContextMenuItem from "@ogw_front/components/Viewer/ContextMenuItem"
44
3
  import ViewerOptionsVisibilitySwitch from "@ogw_front/components/Viewer/Options/VisibilitySwitch"
@@ -86,3 +45,44 @@
86
45
  },
87
46
  })
88
47
  </script>
48
+
49
+ <template>
50
+ <ViewerContextMenuItem
51
+ :itemProps="props.itemProps"
52
+ tooltip="Points options"
53
+ :btn_image="props.btn_image"
54
+ >
55
+ <template #options>
56
+ <ViewerOptionsVisibilitySwitch v-model="visibility" />
57
+ <template v-if="visibility">
58
+ <v-row class="pa-0" align="center">
59
+ <v-divider />
60
+ <v-col cols="auto" justify="center">
61
+ <v-icon size="30" icon="mdi-ruler" v-tooltip:left="'Size'" />
62
+ </v-col>
63
+ <v-col justify="center">
64
+ <v-slider
65
+ v-model="size"
66
+ hide-details
67
+ min="0"
68
+ max="20"
69
+ step="2"
70
+ thumb-color="black"
71
+ ticks
72
+ />
73
+ </v-col>
74
+ </v-row>
75
+ <v-row>
76
+ <v-col>
77
+ <ViewerOptionsColoringTypeSelector
78
+ :id="id"
79
+ v-model:coloring_style_key="coloring_style_key"
80
+ v-model:color="color"
81
+ v-model:vertex_attribute="vertex_attribute"
82
+ />
83
+ </v-col>
84
+ </v-row>
85
+ </template>
86
+ </template>
87
+ </ViewerContextMenuItem>
88
+ </template>
@@ -1,23 +1,3 @@
1
- <template>
2
- <ViewerContextMenuItem
3
- :itemProps="props.itemProps"
4
- :tooltip="props.tooltip"
5
- :btn_image="props.btn_image"
6
- >
7
- <template #options>
8
- <ViewerOptionsVisibilitySwitch v-model="visibility" />
9
- <template v-if="visibility">
10
- <ViewerOptionsColoringTypeSelector
11
- :id="id"
12
- v-model:coloring_style_key="coloring_style_key"
13
- v-model:color="color"
14
- v-model:textures="textures"
15
- />
16
- </template>
17
- </template>
18
- </ViewerContextMenuItem>
19
- </template>
20
-
21
1
  <script setup>
22
2
  import ViewerContextMenuItem from "@ogw_front/components/Viewer/ContextMenuItem"
23
3
  import ViewerOptionsVisibilitySwitch from "@ogw_front/components/Viewer/Options/VisibilitySwitch"
@@ -67,3 +47,23 @@
67
47
  },
68
48
  })
69
49
  </script>
50
+
51
+ <template>
52
+ <ViewerContextMenuItem
53
+ :itemProps="props.itemProps"
54
+ :tooltip="props.tooltip"
55
+ :btn_image="props.btn_image"
56
+ >
57
+ <template #options>
58
+ <ViewerOptionsVisibilitySwitch v-model="visibility" />
59
+ <template v-if="visibility">
60
+ <ViewerOptionsColoringTypeSelector
61
+ :id="id"
62
+ v-model:coloring_style_key="coloring_style_key"
63
+ v-model:color="color"
64
+ v-model:textures="textures"
65
+ />
66
+ </template>
67
+ </template>
68
+ </ViewerContextMenuItem>
69
+ </template>
@@ -1,22 +1,3 @@
1
- <template>
2
- <ViewerContextMenuItem
3
- :itemProps="props.itemProps"
4
- :tooltip="props.tooltip"
5
- :btn_image="props.btn_image"
6
- >
7
- <template #options>
8
- <ViewerOptionsVisibilitySwitch v-model="visibility" />
9
- <template v-if="visibility">
10
- <ViewerOptionsColoringTypeSelector
11
- :id="id"
12
- v-model:coloring_style_key="coloring_style_key"
13
- v-model:color="color"
14
- />
15
- </template>
16
- </template>
17
- </ViewerContextMenuItem>
18
- </template>
19
-
20
1
  <script setup>
21
2
  import ViewerContextMenuItem from "@ogw_front/components/Viewer/ContextMenuItem"
22
3
  import ViewerOptionsVisibilitySwitch from "@ogw_front/components/Viewer/Options/VisibilitySwitch"
@@ -58,3 +39,22 @@
58
39
  },
59
40
  })
60
41
  </script>
42
+
43
+ <template>
44
+ <ViewerContextMenuItem
45
+ :itemProps="props.itemProps"
46
+ :tooltip="props.tooltip"
47
+ :btn_image="props.btn_image"
48
+ >
49
+ <template #options>
50
+ <ViewerOptionsVisibilitySwitch v-model="visibility" />
51
+ <template v-if="visibility">
52
+ <ViewerOptionsColoringTypeSelector
53
+ :id="id"
54
+ v-model:coloring_style_key="coloring_style_key"
55
+ v-model:color="color"
56
+ />
57
+ </template>
58
+ </template>
59
+ </ViewerContextMenuItem>
60
+ </template>
@@ -1,15 +1,3 @@
1
- <template>
2
- <ViewerContextMenuItem
3
- :itemProps="itemProps"
4
- tooltip="Edges options"
5
- :btn_image="SurfaceEdges"
6
- >
7
- <template #options>
8
- <ViewerOptionsVisibilitySwitch v-model="visibility" />
9
- </template>
10
- </ViewerContextMenuItem>
11
- </template>
12
-
13
1
  <script setup>
14
2
  import ViewerContextMenuItem from "@ogw_front/components/Viewer/ContextMenuItem"
15
3
  import ViewerOptionsVisibilitySwitch from "@ogw_front/components/Viewer/Options/VisibilitySwitch"
@@ -35,3 +23,15 @@
35
23
  },
36
24
  })
37
25
  </script>
26
+
27
+ <template>
28
+ <ViewerContextMenuItem
29
+ :itemProps="itemProps"
30
+ tooltip="Edges options"
31
+ :btn_image="SurfaceEdges"
32
+ >
33
+ <template #options>
34
+ <ViewerOptionsVisibilitySwitch v-model="visibility" />
35
+ </template>
36
+ </ViewerContextMenuItem>
37
+ </template>
@@ -1,34 +1,3 @@
1
- <template>
2
- <ViewerContextMenuItem
3
- :itemProps="props.itemProps"
4
- tooltip="Points options"
5
- :btn_image="SurfacePoints"
6
- >
7
- <template #options>
8
- <ViewerOptionsVisibilitySwitch v-model="visibility" />
9
- <template v-if="visibility">
10
- <v-row class="pa-0" align="center">
11
- <v-divider />
12
- <v-col cols="auto" justify="center">
13
- <v-icon size="30" icon="mdi-ruler" v-tooltip:left="'Size'" />
14
- </v-col>
15
- <v-col justify="center">
16
- <v-slider
17
- v-model="size"
18
- hide-details
19
- min="0"
20
- max="20"
21
- step="2"
22
- thumb-color="black"
23
- ticks
24
- />
25
- </v-col>
26
- </v-row>
27
- </template>
28
- </template>
29
- </ViewerContextMenuItem>
30
- </template>
31
-
32
1
  <script setup>
33
2
  import ViewerContextMenuItem from "@ogw_front/components/Viewer/ContextMenuItem"
34
3
  import ViewerOptionsVisibilitySwitch from "@ogw_front/components/Viewer/Options/VisibilitySwitch"
@@ -61,3 +30,34 @@
61
30
  },
62
31
  })
63
32
  </script>
33
+
34
+ <template>
35
+ <ViewerContextMenuItem
36
+ :itemProps="props.itemProps"
37
+ tooltip="Points options"
38
+ :btn_image="SurfacePoints"
39
+ >
40
+ <template #options>
41
+ <ViewerOptionsVisibilitySwitch v-model="visibility" />
42
+ <template v-if="visibility">
43
+ <v-row class="pa-0" align="center">
44
+ <v-divider />
45
+ <v-col cols="auto" justify="center">
46
+ <v-icon size="30" icon="mdi-ruler" v-tooltip:left="'Size'" />
47
+ </v-col>
48
+ <v-col justify="center">
49
+ <v-slider
50
+ v-model="size"
51
+ hide-details
52
+ min="0"
53
+ max="20"
54
+ step="2"
55
+ thumb-color="black"
56
+ ticks
57
+ />
58
+ </v-col>
59
+ </v-row>
60
+ </template>
61
+ </template>
62
+ </ViewerContextMenuItem>
63
+ </template>
@@ -1,11 +1,3 @@
1
- <template>
2
- <ViewerGenericMeshCellsOptions
3
- :itemProps="props.itemProps"
4
- :btn_image="Grid2D_Cells"
5
- tooltip="Cells options"
6
- />
7
- </template>
8
-
9
1
  <script setup>
10
2
  import ViewerGenericMeshCellsOptions from "@ogw_front/components/Viewer/Generic/Mesh/CellsOptions"
11
3
  import Grid2D_Cells from "@ogw_front/assets/viewer_svgs/grid_2d_cells.svg"
@@ -14,3 +6,11 @@
14
6
  itemProps: { type: Object, required: true },
15
7
  })
16
8
  </script>
9
+
10
+ <template>
11
+ <ViewerGenericMeshCellsOptions
12
+ :itemProps="props.itemProps"
13
+ :btn_image="Grid2D_Cells"
14
+ tooltip="Cells options"
15
+ />
16
+ </template>