@geode/opengeodeweb-front 11.2.2-rc.1 → 12.0.0-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 (260) hide show
  1. package/.build/shared/utils/response_handlers/load.js +5 -2
  2. package/.build/tests/browser/helpers/object_trees/main_object_tree.js +3 -3
  3. package/.build/tests/browser/helpers/object_trees/model_components_object_tree.js +2 -2
  4. package/.build/tests/browser/suites/model/surfaces.js +1 -1
  5. package/app/app.config.ts +28 -0
  6. package/app/assets/css/main.css +11 -0
  7. package/app/assets/geode_objects.ts +37 -108
  8. package/app/assets/img/geode_objects/HorizonStack3D.svg +10 -0
  9. package/app/components/ActionButton.vue +9 -2
  10. package/app/components/CameraManager/List.vue +6 -6
  11. package/app/components/CameraManager.vue +0 -1
  12. package/app/components/CameraOrientation.vue +12 -7
  13. package/app/components/ChromeTheme.vue +20 -0
  14. package/app/components/ClippingPlaneCard.vue +2 -3
  15. package/app/components/ClippingPlanes.vue +2 -2
  16. package/app/components/CrsSelector.vue +8 -8
  17. package/app/components/DeleteDialog.vue +12 -16
  18. package/app/components/DragAndDropInternal/DragAndDropInline.vue +7 -7
  19. package/app/components/DragAndDropInternal/DragAndDropOverlay.vue +87 -82
  20. package/app/components/ExtensionSelector.vue +21 -14
  21. package/app/components/FactorFilterPanel.vue +0 -1
  22. package/app/components/FeedBack/ErrorBanner.vue +8 -9
  23. package/app/components/FeedBack/Snackers.vue +5 -7
  24. package/app/components/FileUploader.vue +13 -21
  25. package/app/components/GlassCard.vue +3 -1
  26. package/app/components/HybridRenderingView.vue +2 -0
  27. package/app/components/HybridViewerTooltip.vue +4 -4
  28. package/app/components/Launcher.vue +1 -1
  29. package/app/components/Loading/EcoMessages.vue +17 -11
  30. package/app/components/Loading/Footer.vue +2 -2
  31. package/app/components/Loading/Header.vue +9 -4
  32. package/app/components/Loading/Progress.vue +7 -3
  33. package/app/components/Loading.vue +54 -46
  34. package/app/components/MissingFilesSelector.vue +5 -5
  35. package/app/components/ObjectSelector.vue +8 -15
  36. package/app/components/PackagesVersions.vue +1 -3
  37. package/app/components/ProjectCrs.vue +1 -1
  38. package/app/components/Screenshot.vue +23 -15
  39. package/app/components/SearchBar.vue +1 -3
  40. package/app/components/SliceCard.vue +1 -2
  41. package/app/components/Step.vue +1 -1
  42. package/app/components/Stepper.vue +13 -11
  43. package/app/components/ThresholdCard.vue +1 -1
  44. package/app/components/ThresholdFilter.vue +2 -2
  45. package/app/components/TimeSeriesTargetSelector.vue +3 -6
  46. package/app/components/ToolPanel.vue +3 -9
  47. package/app/components/Viewer/Basemap/CropOptions.vue +1 -1
  48. package/app/components/Viewer/Basemap/OpacityOptions.vue +1 -1
  49. package/app/components/Viewer/ContextMenu/CenterButton.vue +9 -3
  50. package/app/components/Viewer/ContextMenu/ContextMenu.vue +1 -1
  51. package/app/components/Viewer/ContextMenu/ContextMenuItem.vue +17 -6
  52. package/app/components/Viewer/ContextMenu/InfoCard.vue +12 -13
  53. package/app/components/Viewer/EdgedCurve/SpecificEdgesColoring.vue +12 -9
  54. package/app/components/Viewer/EdgedCurve/SpecificEdgesOptions.vue +2 -2
  55. package/app/components/Viewer/Generic/Mesh/CellsColoring.vue +12 -9
  56. package/app/components/Viewer/Generic/Mesh/CellsOptions.vue +1 -1
  57. package/app/components/Viewer/Generic/Mesh/EdgesColoring.vue +12 -9
  58. package/app/components/Viewer/Generic/Mesh/EdgesOptions.vue +3 -3
  59. package/app/components/Viewer/Generic/Mesh/PointsOptions.vue +12 -8
  60. package/app/components/Viewer/Generic/Mesh/PolygonsColoring.vue +12 -9
  61. package/app/components/Viewer/Generic/Mesh/PolygonsOptions.vue +1 -1
  62. package/app/components/Viewer/Generic/Mesh/PolyhedraColoring.vue +12 -9
  63. package/app/components/Viewer/Generic/Mesh/PolyhedraOptions.vue +1 -1
  64. package/app/components/Viewer/Generic/Model/BlocksOptions.vue +16 -17
  65. package/app/components/Viewer/Generic/Model/ComponentEdgesOptions.vue +11 -6
  66. package/app/components/Viewer/Generic/Model/ComponentPointsOptions.vue +11 -6
  67. package/app/components/Viewer/Generic/Model/CornerComponentOptions.vue +7 -8
  68. package/app/components/Viewer/Generic/Model/CornersTypeOptions.vue +7 -8
  69. package/app/components/Viewer/Generic/Model/LineComponentOptions.vue +9 -10
  70. package/app/components/Viewer/Generic/Model/LinesTypeOptions.vue +9 -10
  71. package/app/components/Viewer/Generic/Model/ModelEdgesCard.vue +2 -2
  72. package/app/components/Viewer/Generic/Model/ModelPointsCard.vue +1 -1
  73. package/app/components/Viewer/Generic/Model/ModelStyleCard.vue +3 -4
  74. package/app/components/Viewer/Generic/Model/SurfacesOptions.vue +16 -17
  75. package/app/components/Viewer/ObjectTree/Base/CommonTreeView.vue +4 -4
  76. package/app/components/Viewer/ObjectTree/Base/ComponentRelations.vue +1 -1
  77. package/app/components/Viewer/ObjectTree/Base/Controls.vue +22 -18
  78. package/app/components/Viewer/ObjectTree/Base/ItemLabel.vue +11 -11
  79. package/app/components/Viewer/ObjectTree/Base/StickyHeader.vue +3 -3
  80. package/app/components/Viewer/ObjectTree/Base/TreeRow.vue +6 -9
  81. package/app/components/Viewer/ObjectTree/Box.vue +20 -21
  82. package/app/components/Viewer/ObjectTree/Layout.vue +28 -25
  83. package/app/components/Viewer/ObjectTree/Views/GlobalObjects.vue +4 -3
  84. package/app/components/Viewer/ObjectTree/Views/ModelTree.vue +1 -1
  85. package/app/components/Viewer/Options/AttributeRangeSelector.vue +1 -1
  86. package/app/components/Viewer/Options/AttributeSelector.vue +1 -1
  87. package/app/components/Viewer/Options/ColorMapList.vue +7 -9
  88. package/app/components/Viewer/Options/ColorMapPicker.vue +2 -2
  89. package/app/components/Viewer/Options/ColorPicker.vue +9 -9
  90. package/app/components/Viewer/Options/ColoringTypeSelector.vue +9 -9
  91. package/app/components/Viewer/Options/NoDataColorInfo.vue +4 -4
  92. package/app/components/Viewer/Options/Sliders/Opacity.vue +1 -1
  93. package/app/components/Viewer/Options/Sliders/Slider.vue +1 -1
  94. package/app/components/Viewer/Options/TextureItem.vue +11 -8
  95. package/app/components/Viewer/Options/TexturesSelector.vue +3 -3
  96. package/app/components/Viewer/Options/VisibilitySwitch.vue +1 -1
  97. package/app/components/Viewer/OrientationCompass.vue +223 -0
  98. package/app/components/Viewer/OrientationGlobe.vue +376 -0
  99. package/app/components/Viewer/OrientationOverlay.vue +47 -0
  100. package/app/components/Viewer/OverlappingObjectsPicker.vue +10 -7
  101. package/app/components/Viewer/PointSet/SpecificPointsOptions.vue +4 -5
  102. package/app/components/Viewer/Scene/BackgroundOptions.vue +3 -3
  103. package/app/components/Viewer/Scene/OrientationWidgetOptions.vue +1 -1
  104. package/app/components/Viewer/Scene/TextOptions.vue +3 -3
  105. package/app/components/Viewer/Solid/SpecificPolyhedraColoring.vue +12 -12
  106. package/app/components/Viewer/Solid/SpecificPolyhedraOptions.vue +1 -1
  107. package/app/components/Viewer/Surface/PolygonsColoring.vue +12 -12
  108. package/app/components/Viewer/Surface/PolygonsOptions.vue +1 -1
  109. package/app/components/Viewer/ToolActiveChip.vue +1 -1
  110. package/app/components/Viewer/Ui.vue +2 -2
  111. package/app/components/csv-preview/CsvPreviewer.vue +17 -24
  112. package/app/components/csv-preview/CsvSettings.vue +6 -6
  113. package/app/components/csv-preview/CsvTable.vue +11 -9
  114. package/app/composables/attribute_selector.ts +1 -1
  115. package/app/composables/batch_style.ts +3 -3
  116. package/app/composables/batch_style_model.ts +1 -1
  117. package/app/composables/chrome_theme.ts +23 -0
  118. package/app/composables/clipping_slices.ts +2 -1
  119. package/app/composables/hover_highlight.ts +10 -7
  120. package/app/composables/live_data_item.ts +1 -1
  121. package/app/composables/model_menu_context.ts +11 -4
  122. package/app/composables/orientation_overlay.ts +133 -0
  123. package/app/composables/project_manager_helpers/reset.ts +2 -0
  124. package/app/composables/project_manager_helpers/types.ts +2 -2
  125. package/app/composables/use_adaptive_styles.ts +42 -21
  126. package/app/composables/use_overlapping_picker.ts +10 -8
  127. package/app/composables/view_toolbar_options.ts +7 -7
  128. package/app/composables/view_toolbar_tool_options.ts +9 -11
  129. package/app/composables/viewer_context_menu.ts +4 -2
  130. package/app/composables/viewer_reset.ts +54 -0
  131. package/app/plugins/chrome_theme.ts +10 -0
  132. package/app/plugins/phosphor_icons.ts +13 -0
  133. package/app/plugins/scene_colors.ts +10 -0
  134. package/app/stores/basemap_helpers/builds.ts +2 -2
  135. package/app/stores/basemap_helpers/viewer.ts +1 -1
  136. package/app/stores/crs.ts +12 -12
  137. package/app/stores/data.ts +4 -5
  138. package/app/stores/data_helpers/mesh.ts +2 -1
  139. package/app/stores/data_style.ts +4 -3
  140. package/app/stores/hybrid_viewer.ts +5 -3
  141. package/app/stores/menu.ts +18 -12
  142. package/app/stores/treeview.ts +5 -4
  143. package/app/stores/viewer.ts +2 -0
  144. package/app/types/attribute.ts +5 -21
  145. package/app/types/identifiers.ts +5 -15
  146. package/app/utils/attribute_range.ts +1 -1
  147. package/app/utils/attributes.ts +2 -1
  148. package/app/utils/clipping_planes.ts +1 -1
  149. package/app/utils/color_picker.ts +3 -3
  150. package/app/utils/crs.ts +6 -6
  151. package/app/utils/default_styles/constants.ts +17 -22
  152. package/app/utils/default_styles/index.ts +24 -3
  153. package/app/utils/default_styles/mesh_components.ts +15 -11
  154. package/app/utils/default_styles/meshes.ts +1 -1
  155. package/app/utils/default_styles/model_components.ts +14 -10
  156. package/app/utils/default_styles/models.ts +1 -1
  157. package/app/utils/import_workflow.ts +3 -1
  158. package/app/utils/legacy_data_id.ts +2 -1
  159. package/app/utils/orientation_compass.ts +103 -0
  160. package/app/utils/orientation_gizmo.ts +73 -0
  161. package/app/utils/orientation_globe.ts +145 -0
  162. package/app/utils/orientation_strata.ts +119 -0
  163. package/app/utils/phosphor_icons.ts +105 -0
  164. package/app/utils/slice.ts +2 -1
  165. package/app/utils/threshold_sources.ts +1 -1
  166. package/internal/stores/data_style/attribute_types.ts +6 -6
  167. package/internal/stores/data_style/mesh/base_style.ts +6 -7
  168. package/internal/stores/data_style/mesh/cells/cell.ts +6 -6
  169. package/internal/stores/data_style/mesh/cells/cell_attribute.ts +8 -6
  170. package/internal/stores/data_style/mesh/cells/cell_config.ts +5 -6
  171. package/internal/stores/data_style/mesh/cells/color.ts +6 -6
  172. package/internal/stores/data_style/mesh/cells/opacity.ts +3 -4
  173. package/internal/stores/data_style/mesh/cells/vertex.ts +6 -6
  174. package/internal/stores/data_style/mesh/cells/vertex_attribute.ts +8 -6
  175. package/internal/stores/data_style/mesh/cells/vertex_config.ts +5 -6
  176. package/internal/stores/data_style/mesh/cells/visibility.ts +1 -1
  177. package/internal/stores/data_style/mesh/edges/color.ts +6 -6
  178. package/internal/stores/data_style/mesh/edges/edge.ts +6 -6
  179. package/internal/stores/data_style/mesh/edges/edge_attribute.ts +8 -6
  180. package/internal/stores/data_style/mesh/edges/edge_config.ts +5 -6
  181. package/internal/stores/data_style/mesh/edges/opacity.ts +3 -4
  182. package/internal/stores/data_style/mesh/edges/vertex.ts +6 -6
  183. package/internal/stores/data_style/mesh/edges/vertex_attribute.ts +8 -6
  184. package/internal/stores/data_style/mesh/edges/vertex_config.ts +5 -6
  185. package/internal/stores/data_style/mesh/edges/visibility.ts +1 -1
  186. package/internal/stores/data_style/mesh/edges/width.ts +6 -6
  187. package/internal/stores/data_style/mesh/index.ts +3 -4
  188. package/internal/stores/data_style/mesh/points/color.ts +6 -6
  189. package/internal/stores/data_style/mesh/points/common.ts +1 -1
  190. package/internal/stores/data_style/mesh/points/opacity.ts +3 -4
  191. package/internal/stores/data_style/mesh/points/size.ts +6 -6
  192. package/internal/stores/data_style/mesh/points/vertex.ts +6 -6
  193. package/internal/stores/data_style/mesh/points/vertex_attribute.ts +8 -6
  194. package/internal/stores/data_style/mesh/points/vertex_config.ts +5 -6
  195. package/internal/stores/data_style/mesh/points/visibility.ts +1 -1
  196. package/internal/stores/data_style/mesh/polygons/color.ts +6 -6
  197. package/internal/stores/data_style/mesh/polygons/opacity.ts +3 -4
  198. package/internal/stores/data_style/mesh/polygons/polygon.ts +6 -6
  199. package/internal/stores/data_style/mesh/polygons/polygon_attribute.ts +8 -6
  200. package/internal/stores/data_style/mesh/polygons/polygon_config.ts +5 -6
  201. package/internal/stores/data_style/mesh/polygons/vertex.ts +6 -6
  202. package/internal/stores/data_style/mesh/polygons/vertex_attribute.ts +8 -6
  203. package/internal/stores/data_style/mesh/polygons/vertex_config.ts +5 -6
  204. package/internal/stores/data_style/mesh/polygons/visibility.ts +1 -1
  205. package/internal/stores/data_style/mesh/polyhedra/color.ts +6 -6
  206. package/internal/stores/data_style/mesh/polyhedra/opacity.ts +3 -4
  207. package/internal/stores/data_style/mesh/polyhedra/polyhedron.ts +6 -6
  208. package/internal/stores/data_style/mesh/polyhedra/polyhedron_attribute.ts +8 -6
  209. package/internal/stores/data_style/mesh/polyhedra/polyhedron_config.ts +5 -6
  210. package/internal/stores/data_style/mesh/polyhedra/vertex.ts +6 -6
  211. package/internal/stores/data_style/mesh/polyhedra/vertex_attribute.ts +8 -6
  212. package/internal/stores/data_style/mesh/polyhedra/vertex_config.ts +5 -6
  213. package/internal/stores/data_style/mesh/polyhedra/visibility.ts +1 -1
  214. package/internal/stores/data_style/model/blocks/color.ts +6 -6
  215. package/internal/stores/data_style/model/blocks/coloring_groups.ts +2 -2
  216. package/internal/stores/data_style/model/blocks/polyhedron.ts +12 -9
  217. package/internal/stores/data_style/model/blocks/vertex.ts +12 -9
  218. package/internal/stores/data_style/model/blocks/visibility.ts +1 -1
  219. package/internal/stores/data_style/model/color.ts +10 -11
  220. package/internal/stores/data_style/model/common.ts +3 -4
  221. package/internal/stores/data_style/model/corners/color.ts +6 -6
  222. package/internal/stores/data_style/model/corners/index.ts +2 -2
  223. package/internal/stores/data_style/model/corners/vertex.ts +12 -9
  224. package/internal/stores/data_style/model/corners/visibility.ts +1 -1
  225. package/internal/stores/data_style/model/edges/component.ts +13 -13
  226. package/internal/stores/data_style/model/edges/visibility.ts +1 -1
  227. package/internal/stores/data_style/model/edges/width.ts +6 -6
  228. package/internal/stores/data_style/model/lines/color.ts +6 -6
  229. package/internal/stores/data_style/model/lines/coloring_groups.ts +2 -2
  230. package/internal/stores/data_style/model/lines/edge.ts +12 -9
  231. package/internal/stores/data_style/model/lines/vertex.ts +12 -9
  232. package/internal/stores/data_style/model/lines/visibility.ts +1 -1
  233. package/internal/stores/data_style/model/points/component.ts +17 -13
  234. package/internal/stores/data_style/model/points/index.ts +2 -2
  235. package/internal/stores/data_style/model/points/size.ts +6 -6
  236. package/internal/stores/data_style/model/points/visibility.ts +1 -1
  237. package/internal/stores/data_style/model/surfaces/color.ts +6 -6
  238. package/internal/stores/data_style/model/surfaces/coloring_groups.ts +2 -2
  239. package/internal/stores/data_style/model/surfaces/polygon.ts +12 -9
  240. package/internal/stores/data_style/model/surfaces/vertex.ts +12 -9
  241. package/internal/stores/data_style/model/surfaces/visibility.ts +1 -1
  242. package/internal/stores/data_style/model/visibility.ts +1 -1
  243. package/internal/stores/data_style/scene.ts +31 -19
  244. package/internal/stores/data_style/time_step.ts +3 -2
  245. package/internal/stores/data_style/types.ts +3 -4
  246. package/internal/stores/hybrid_viewer/brightness.ts +14 -7
  247. package/internal/stores/hybrid_viewer/camera.ts +1 -1
  248. package/internal/stores/hybrid_viewer/constants.ts +1 -12
  249. package/internal/stores/hybrid_viewer/filters.ts +2 -2
  250. package/internal/stores/hybrid_viewer/highlight.ts +2 -1
  251. package/internal/stores/hybrid_viewer/scene.ts +11 -4
  252. package/nuxt.config.ts +9 -1
  253. package/package.json +4 -2
  254. package/shared/utils/response_handlers/load.ts +19 -11
  255. package/tests/browser/helpers/object_trees/main_object_tree.ts +3 -3
  256. package/tests/browser/helpers/object_trees/model_components_object_tree.ts +2 -2
  257. package/tests/browser/suites/model/surfaces.ts +1 -1
  258. package/tests/unit/helpers/phosphor_glyphs.ts +46 -0
  259. package/app/assets/viewer_svgs/camera-bookmark.svg +0 -64
  260. package/app/types/style.ts +0 -13
@@ -57,13 +57,7 @@ function close(): void {
57
57
  <template #actions>
58
58
  <slot name="actions">
59
59
  <v-card-actions class="justify-center pb-3 pt-0" style="gap: 8px">
60
- <v-btn
61
- variant="text"
62
- size="small"
63
- color="white"
64
- class="text-caption text-none"
65
- @click="close"
66
- >
60
+ <v-btn variant="text" size="small" class="text-caption text-none" @click="close">
67
61
  {{ closeLabel }}
68
62
  </v-btn>
69
63
  <v-btn
@@ -71,7 +65,6 @@ function close(): void {
71
65
  data-testid="toolPanelActionButton"
72
66
  variant="outlined"
73
67
  size="small"
74
- color="white"
75
68
  class="text-caption text-none"
76
69
  @click="emit('action')"
77
70
  >
@@ -85,7 +78,8 @@ function close(): void {
85
78
 
86
79
  <style scoped>
87
80
  .tool-panel {
88
- z-index: 1;
81
+ /* Above the orientation overlay (Viewer/OrientationOverlay.vue, z-index 1), which comes later in the viewer */
82
+ z-index: 2;
89
83
  top: 90px;
90
84
  right: 70px;
91
85
  }
@@ -31,7 +31,7 @@ const indeterminate = computed(() => new Set(cropped.value).size > 1);
31
31
  :index="itemProps.index"
32
32
  :itemProps="itemProps"
33
33
  :tooltip="tooltip"
34
- btnIcon="mdi-panorama-outline"
34
+ btnIcon="ph-panorama"
35
35
  >
36
36
  <template #options>
37
37
  <v-switch
@@ -31,7 +31,7 @@ const opacityPercent = computed({
31
31
  :index="itemProps.index"
32
32
  :itemProps="itemProps"
33
33
  :tooltip="tooltip"
34
- btnIcon="mdi-circle-half-full"
34
+ btnIcon="ph-circle-half"
35
35
  >
36
36
  <template #options>
37
37
  <div class="d-flex align-center ga-2 px-1">
@@ -89,7 +89,7 @@ function onCenterClick(event: MouseEvent): void {
89
89
  @mouseup="onMouseUp"
90
90
  @click.stop="onCenterClick"
91
91
  >
92
- <v-icon icon="mdi-information-outline" size="28" color="primary" style="pointer-events: none" />
92
+ <v-icon icon="ph-info" size="28" color="primary" style="pointer-events: none" />
93
93
  </v-btn>
94
94
  </template>
95
95
 
@@ -106,7 +106,10 @@ function onCenterClick(event: MouseEvent): void {
106
106
  content: "";
107
107
  position: absolute;
108
108
  inset: 0;
109
- background: rgba(255, 255, 255, var(--adaptive-opacity));
109
+ background: rgba(
110
+ var(--v-theme-surface),
111
+ max(var(--adaptive-opacity), var(--ogw-viewer-glass-min-opacity, 0))
112
+ );
110
113
  backdrop-filter: blur(var(--adaptive-blur)) brightness(var(--adaptive-brightness));
111
114
  -webkit-backdrop-filter: blur(var(--adaptive-blur)) brightness(var(--adaptive-brightness));
112
115
  z-index: 0;
@@ -123,6 +126,9 @@ function onCenterClick(event: MouseEvent): void {
123
126
  }
124
127
 
125
128
  .central-selector-btn:hover::before {
126
- background: rgba(255, 255, 255, calc(var(--adaptive-opacity, 0.15) + 0.15));
129
+ background: rgba(
130
+ var(--v-theme-surface),
131
+ calc(max(var(--adaptive-opacity, 0.15), var(--ogw-viewer-glass-min-opacity, 0)) + 0.15)
132
+ );
127
133
  }
128
134
  </style>
@@ -114,7 +114,7 @@ useEventListener(globalThis, "mouseup", (event: MouseEvent) => {
114
114
 
115
115
  const menu_items = shallowRef<Component[]>([]);
116
116
  watch(
117
- () => [meta_data.value.viewer_object_type, meta_data.value.geode_object_type],
117
+ () => [meta_data.value.viewer_object_type, meta_data.value.geode_object_type] as const,
118
118
  ([viewer_object_type, geode_object_type]) => {
119
119
  menu_items.value = menuStore.getMenuItems(viewer_object_type, geode_object_type);
120
120
  },
@@ -26,7 +26,7 @@ interface Props {
26
26
  index: number;
27
27
  itemProps: ItemProps;
28
28
  tooltip: string;
29
- // An image, or an mdi icon name
29
+ // An image, or an icon name of the app icon set (ph-...)
30
30
  btnImage?: string;
31
31
  btnIcon?: string;
32
32
  }
@@ -162,6 +162,7 @@ export type { ItemProps };
162
162
  :src="btnImage"
163
163
  height="28"
164
164
  width="28"
165
+ class="ogw-svg-icon"
165
166
  style="pointer-events: none; object-fit: contain"
166
167
  />
167
168
  </v-btn>
@@ -214,7 +215,7 @@ export type { ItemProps };
214
215
 
215
216
  .menu-btn {
216
217
  background: transparent !important;
217
- border: 1px solid rgba(255, 255, 255, 0.2) !important;
218
+ border: 1px solid rgba(var(--v-border-color), var(--v-border-opacity)) !important;
218
219
  position: relative;
219
220
  overflow: hidden;
220
221
  transition: all 0.2s ease;
@@ -224,7 +225,10 @@ export type { ItemProps };
224
225
  content: "";
225
226
  position: absolute;
226
227
  inset: 0;
227
- background: rgba(255, 255, 255, var(--adaptive-opacity));
228
+ background: rgba(
229
+ var(--v-theme-surface),
230
+ max(var(--adaptive-opacity), var(--ogw-viewer-glass-min-opacity, 0))
231
+ );
228
232
  backdrop-filter: blur(var(--adaptive-blur)) brightness(var(--adaptive-brightness));
229
233
  -webkit-backdrop-filter: blur(var(--adaptive-blur)) brightness(var(--adaptive-brightness));
230
234
  z-index: 0;
@@ -240,12 +244,15 @@ export type { ItemProps };
240
244
  }
241
245
 
242
246
  .menu-btn:hover::before {
243
- background: rgba(255, 255, 255, calc(var(--adaptive-opacity, 0.15) + 0.15));
247
+ background: rgba(
248
+ var(--v-theme-surface),
249
+ calc(max(var(--adaptive-opacity, 0.15), var(--ogw-viewer-glass-min-opacity, 0)) + 0.15)
250
+ );
244
251
  }
245
252
 
246
253
  .menu-btn.v-btn--active {
247
254
  background-color: v-bind(primaryColor) !important;
248
- color: white !important;
255
+ color: rgb(var(--v-theme-on-primary)) !important;
249
256
  }
250
257
 
251
258
  .menu-btn.v-btn--active::before {
@@ -254,8 +261,12 @@ export type { ItemProps };
254
261
  -webkit-backdrop-filter: none !important;
255
262
  }
256
263
 
264
+ .ogw-svg-icon ::v-deep(.v-img__img) {
265
+ filter: var(--ogw-svg-icon-filter, none);
266
+ }
267
+
257
268
  .menu-btn.v-btn--active ::v-deep(.v-img__img) {
258
- filter: invert(100%);
269
+ filter: var(--ogw-svg-icon-active-filter, invert(100%));
259
270
  }
260
271
 
261
272
  .menu-options {
@@ -153,7 +153,7 @@ const liveCrs = computed(() => liveItem.value?.crs ?? metaData.crs);
153
153
  >
154
154
  <v-row no-gutters class="flex-column align-center">
155
155
  <v-col
156
- class="text-subtitle-2 font-weight-bold text-truncate text-white w-100 pa-0"
156
+ class="text-subtitle-2 font-weight-bold text-truncate w-100 pa-0"
157
157
  cols="auto"
158
158
  style="line-height: 1.3"
159
159
  >
@@ -174,9 +174,9 @@ const liveCrs = computed(() => liveItem.value?.crs ?? metaData.crs);
174
174
  {{ isCopied(metaData.data_id) ? "COPIED!" : formattedId }}
175
175
  </span>
176
176
  <v-icon
177
- :icon="isCopied(metaData.data_id) ? 'mdi-check' : 'mdi-content-copy'"
177
+ :icon="isCopied(metaData.data_id) ? 'ph-check' : 'ph-copy'"
178
178
  size="10"
179
- :color="isCopied(metaData.data_id) ? 'success' : 'white'"
179
+ :color="isCopied(metaData.data_id) ? 'success' : undefined"
180
180
  class="ml-1"
181
181
  />
182
182
  </v-col>
@@ -191,11 +191,10 @@ const liveCrs = computed(() => liveItem.value?.crs ?? metaData.crs);
191
191
  <v-btn
192
192
  v-if="crsStore.crsEditEnabled"
193
193
  data-testid="infoEditCrsBtn"
194
- icon="mdi-pencil"
194
+ icon="ph-pencil-simple"
195
195
  variant="text"
196
196
  density="compact"
197
197
  size="x-small"
198
- color="white"
199
198
  class="ml-1"
200
199
  @click.stop="crsStore.requestCrsEdit(metaData.data_id)"
201
200
  />
@@ -204,7 +203,7 @@ const liveCrs = computed(() => liveItem.value?.crs ?? metaData.crs);
204
203
  <template v-if="componentItem">
205
204
  <v-divider class="w-100 my-2" opacity="0.2" />
206
205
  <v-col
207
- class="text-subtitle-2 font-weight-bold text-truncate text-white w-100 pa-0"
206
+ class="text-subtitle-2 font-weight-bold text-truncate w-100 pa-0"
208
207
  cols="auto"
209
208
  style="line-height: 1.3"
210
209
  >
@@ -224,9 +223,9 @@ const liveCrs = computed(() => liveItem.value?.crs ?? metaData.crs);
224
223
  {{ isCopied(componentItem.id) ? "COPIED!" : formatId(componentItem.id) }}
225
224
  </span>
226
225
  <v-icon
227
- :icon="isCopied(componentItem.id) ? 'mdi-check' : 'mdi-content-copy'"
226
+ :icon="isCopied(componentItem.id) ? 'ph-check' : 'ph-copy'"
228
227
  size="10"
229
- :color="isCopied(componentItem.id) ? 'success' : 'white'"
228
+ :color="isCopied(componentItem.id) ? 'success' : undefined"
230
229
  class="ml-1"
231
230
  />
232
231
  </v-col>
@@ -241,8 +240,8 @@ const liveCrs = computed(() => liveItem.value?.crs ?? metaData.crs);
241
240
  .id-badge-container {
242
241
  font-family: monospace;
243
242
  font-size: 0.6rem;
244
- background: rgba(255, 255, 255, 0.08);
245
- border: 1px solid rgba(255, 255, 255, 0.15);
243
+ background: rgba(var(--v-theme-on-surface), 0.06);
244
+ border: 1px solid rgba(var(--v-border-color), var(--v-border-opacity));
246
245
  border-radius: 4px;
247
246
  cursor: pointer;
248
247
  user-select: none;
@@ -251,8 +250,8 @@ const liveCrs = computed(() => liveItem.value?.crs ?? metaData.crs);
251
250
  }
252
251
 
253
252
  .id-badge-container:hover {
254
- background: rgba(255, 255, 255, 0.15);
255
- border-color: rgba(255, 255, 255, 0.35);
253
+ background: rgba(var(--v-theme-primary), 0.12);
254
+ border-color: rgba(var(--v-theme-primary), 0.35);
256
255
  opacity: 1;
257
256
  transform: scale(1.03);
258
257
  }
@@ -263,7 +262,7 @@ const liveCrs = computed(() => liveItem.value?.crs ?? metaData.crs);
263
262
 
264
263
  .id-text {
265
264
  letter-spacing: 0.5px;
266
- color: rgba(255, 255, 255, 0.85);
265
+ color: rgba(var(--v-theme-on-surface), 0.85);
267
266
  }
268
267
 
269
268
  .object-name-popover {
@@ -1,19 +1,22 @@
1
1
  <script setup lang="ts">
2
2
  import type {
3
3
  AttributeColorMap,
4
- AttributeItem,
5
- AttributeName,
6
4
  AttributeRange,
7
5
  AttributeTimeStep,
8
6
  } from "@ogw_front/types/attribute";
9
- import type { DataId, MeshId } from "@ogw_front/types/identifiers";
7
+ import type {
8
+ AttributeItem,
9
+ AttributeName,
10
+ ColorRGBA,
11
+ Opacity,
12
+ } from "@geode/opengeodeweb-viewer/schema_types";
10
13
  import {
11
14
  type RangesPerData,
12
15
  applyRangesPerData,
13
16
  useBatchStyle,
14
17
  } from "@ogw_front/composables/batch_style";
15
- import type { Opacity } from "@ogw_front/types/style";
16
- import type { RGBAColor } from "@ogw_front/utils/default_styles/constants";
18
+ import type { DataId } from "@geode/opengeodeweb-microservice/schema_types";
19
+ import type { MeshId } from "@ogw_front/types/identifiers";
17
20
  import ViewerOptionsColoringTypeSelector from "@ogw_front/components/Viewer/Options/ColoringTypeSelector.vue";
18
21
  import { useBatchStyleModel } from "@ogw_front/composables/batch_style_model";
19
22
  import { useDataStyleStore } from "@ogw_front/stores/data_style";
@@ -38,9 +41,9 @@ const coloring_style_key = computed<string>({
38
41
  hybridViewerStore.remoteRender();
39
42
  },
40
43
  });
41
- const color = useBatchStyleModel<RGBAColor>(
44
+ const color = useBatchStyleModel<ColorRGBA>(
42
45
  () => dataId,
43
- (meshId) => dataStyleStore.meshEdgesColor(meshId) as RGBAColor | undefined,
46
+ (meshId) => dataStyleStore.meshEdgesColor(meshId) as ColorRGBA | undefined,
44
47
  (meshId, value) => dataStyleStore.setMeshEdgesColor(meshId, value),
45
48
  );
46
49
  const opacity = useBatchStyleModel<Opacity>(
@@ -104,7 +107,7 @@ const vertex_attribute_color_map = computed<AttributeColorMap | undefined>({
104
107
  hybridViewerStore.remoteRender();
105
108
  },
106
109
  });
107
- const vertex_attribute_no_data_color = computed<RGBAColor>({
110
+ const vertex_attribute_no_data_color = computed<ColorRGBA>({
108
111
  get: () => dataStyleStore.meshEdgesVertexAttributeNoDataColor(dataId),
109
112
  set: async (newValue) => {
110
113
  await applyBatchStyle(dataId, (meshId: MeshId) =>
@@ -169,7 +172,7 @@ const edge_attribute_color_map = computed<AttributeColorMap | undefined>({
169
172
  hybridViewerStore.remoteRender();
170
173
  },
171
174
  });
172
- const edge_attribute_no_data_color = computed<RGBAColor>({
175
+ const edge_attribute_no_data_color = computed<ColorRGBA>({
173
176
  get: () => dataStyleStore.meshEdgesEdgeAttributeNoDataColor(dataId),
174
177
  set: async (newValue) => {
175
178
  await applyBatchStyle(dataId, (meshId: MeshId) =>
@@ -1,8 +1,8 @@
1
1
  <script setup lang="ts">
2
+ import type { EdgeWidth, Visibility } from "@geode/opengeodeweb-viewer/schema_types";
2
3
  import ViewerContextMenuItem, {
3
4
  type ItemProps,
4
5
  } from "@ogw_front/components/Viewer/ContextMenu/ContextMenuItem.vue";
5
- import type { Visibility, Width } from "@ogw_front/types/style";
6
6
  import EdgedCurveEdges from "@ogw_front/assets/viewer_svgs/edged_curve_edges.svg";
7
7
  import type { MeshId } from "@ogw_front/types/identifiers";
8
8
  import ViewerEdgedCurveSpecificEdgesColoring from "@ogw_front/components/Viewer/EdgedCurve/SpecificEdgesColoring.vue";
@@ -33,7 +33,7 @@ const visibility = computed<Visibility>({
33
33
  hybridViewerStore.remoteRender();
34
34
  },
35
35
  });
36
- const width = computed<Width>({
36
+ const width = computed<EdgeWidth>({
37
37
  get: () => dataStyleStore.meshEdgesWidth(dataId.value),
38
38
  set: async (newValue) => {
39
39
  await applyBatchStyle(dataId.value, (meshId: MeshId) =>
@@ -1,19 +1,22 @@
1
1
  <script setup lang="ts">
2
2
  import type {
3
3
  AttributeColorMap,
4
- AttributeItem,
5
- AttributeName,
6
4
  AttributeRange,
7
5
  AttributeTimeStep,
8
6
  } from "@ogw_front/types/attribute";
9
- import type { DataId, MeshId } from "@ogw_front/types/identifiers";
7
+ import type {
8
+ AttributeItem,
9
+ AttributeName,
10
+ ColorRGBA,
11
+ Opacity,
12
+ } from "@geode/opengeodeweb-viewer/schema_types";
10
13
  import {
11
14
  type RangesPerData,
12
15
  applyRangesPerData,
13
16
  useBatchStyle,
14
17
  } from "@ogw_front/composables/batch_style";
15
- import type { Opacity } from "@ogw_front/types/style";
16
- import type { RGBAColor } from "@ogw_front/utils/default_styles/constants";
18
+ import type { DataId } from "@geode/opengeodeweb-microservice/schema_types";
19
+ import type { MeshId } from "@ogw_front/types/identifiers";
17
20
  import type { Texture } from "@ogw_front/types/texture";
18
21
  import ViewerOptionsColoringTypeSelector from "@ogw_front/components/Viewer/Options/ColoringTypeSelector.vue";
19
22
  import { useBatchStyleModel } from "@ogw_front/composables/batch_style_model";
@@ -39,9 +42,9 @@ const coloring_style_key = computed<string>({
39
42
  hybridViewerStore.remoteRender();
40
43
  },
41
44
  });
42
- const color = useBatchStyleModel<RGBAColor>(
45
+ const color = useBatchStyleModel<ColorRGBA>(
43
46
  () => dataId,
44
- (meshId) => dataStyleStore.meshCellsColor(meshId) as RGBAColor | undefined,
47
+ (meshId) => dataStyleStore.meshCellsColor(meshId) as ColorRGBA | undefined,
45
48
  (meshId, value) => dataStyleStore.setMeshCellsColor(meshId, value),
46
49
  );
47
50
  const opacity = useBatchStyleModel<Opacity>(
@@ -111,7 +114,7 @@ const vertex_attribute_color_map = computed<AttributeColorMap | undefined>({
111
114
  hybridViewerStore.remoteRender();
112
115
  },
113
116
  });
114
- const vertex_attribute_no_data_color = computed<RGBAColor>({
117
+ const vertex_attribute_no_data_color = computed<ColorRGBA>({
115
118
  get: () => dataStyleStore.meshCellsVertexAttributeNoDataColor(dataId),
116
119
  set: async (newValue) => {
117
120
  await applyBatchStyle(dataId, (meshId: MeshId) =>
@@ -176,7 +179,7 @@ const cell_attribute_color_map = computed<AttributeColorMap | undefined>({
176
179
  hybridViewerStore.remoteRender();
177
180
  },
178
181
  });
179
- const cell_attribute_no_data_color = computed<RGBAColor>({
182
+ const cell_attribute_no_data_color = computed<ColorRGBA>({
180
183
  get: () => dataStyleStore.meshCellsCellAttributeNoDataColor(dataId),
181
184
  set: async (newValue) => {
182
185
  await applyBatchStyle(dataId, (meshId: MeshId) =>
@@ -5,7 +5,7 @@ import ViewerContextMenuItem, {
5
5
  import type { MeshId } from "@ogw_front/types/identifiers";
6
6
  import ViewerGenericMeshCellsColoring from "@ogw_front/components/Viewer/Generic/Mesh/CellsColoring.vue";
7
7
  import ViewerOptionsVisibilitySwitch from "@ogw_front/components/Viewer/Options/VisibilitySwitch.vue";
8
- import type { Visibility } from "@ogw_front/types/style";
8
+ import type { Visibility } from "@geode/opengeodeweb-viewer/schema_types";
9
9
  import { useBatchStyle } from "@ogw_front/composables/batch_style";
10
10
  import { useDataStyleStore } from "@ogw_front/stores/data_style";
11
11
  import { useHybridViewerStore } from "@ogw_front/stores/hybrid_viewer";
@@ -1,19 +1,22 @@
1
1
  <script setup lang="ts">
2
2
  import type {
3
3
  AttributeColorMap,
4
- AttributeItem,
5
- AttributeName,
6
4
  AttributeRange,
7
5
  AttributeTimeStep,
8
6
  } from "@ogw_front/types/attribute";
9
- import type { DataId, MeshId } from "@ogw_front/types/identifiers";
7
+ import type {
8
+ AttributeItem,
9
+ AttributeName,
10
+ ColorRGBA,
11
+ Opacity,
12
+ } from "@geode/opengeodeweb-viewer/schema_types";
10
13
  import {
11
14
  type RangesPerData,
12
15
  applyRangesPerData,
13
16
  useBatchStyle,
14
17
  } from "@ogw_front/composables/batch_style";
15
- import type { Opacity } from "@ogw_front/types/style";
16
- import type { RGBAColor } from "@ogw_front/utils/default_styles/constants";
18
+ import type { DataId } from "@geode/opengeodeweb-microservice/schema_types";
19
+ import type { MeshId } from "@ogw_front/types/identifiers";
17
20
  import ViewerOptionsColoringTypeSelector from "@ogw_front/components/Viewer/Options/ColoringTypeSelector.vue";
18
21
  import { useBatchStyleModel } from "@ogw_front/composables/batch_style_model";
19
22
  import { useDataStyleStore } from "@ogw_front/stores/data_style";
@@ -39,9 +42,9 @@ const coloring_style_key = computed<string>({
39
42
  hybridViewerStore.remoteRender();
40
43
  },
41
44
  });
42
- const color = useBatchStyleModel<RGBAColor>(
45
+ const color = useBatchStyleModel<ColorRGBA>(
43
46
  () => dataId,
44
- (meshId) => dataStyleStore.meshEdgesColor(meshId) as RGBAColor | undefined,
47
+ (meshId) => dataStyleStore.meshEdgesColor(meshId) as ColorRGBA | undefined,
45
48
  (meshId, value) => dataStyleStore.setMeshEdgesColor(meshId, value),
46
49
  );
47
50
  const opacity = useBatchStyleModel<Opacity>(
@@ -105,7 +108,7 @@ const vertex_attribute_color_map = computed<AttributeColorMap | undefined>({
105
108
  hybridViewerStore.remoteRender();
106
109
  },
107
110
  });
108
- const vertex_attribute_no_data_color = computed<RGBAColor>({
111
+ const vertex_attribute_no_data_color = computed<ColorRGBA>({
109
112
  get: () => dataStyleStore.meshEdgesVertexAttributeNoDataColor(dataId),
110
113
  set: async (newValue) => {
111
114
  await applyBatchStyle(dataId, (meshId: MeshId) =>
@@ -170,7 +173,7 @@ const edge_attribute_color_map = computed<AttributeColorMap | undefined>({
170
173
  hybridViewerStore.remoteRender();
171
174
  },
172
175
  });
173
- const edge_attribute_no_data_color = computed<RGBAColor>({
176
+ const edge_attribute_no_data_color = computed<ColorRGBA>({
174
177
  get: () => dataStyleStore.meshEdgesEdgeAttributeNoDataColor(dataId),
175
178
  set: async (newValue) => {
176
179
  await applyBatchStyle(dataId, (meshId: MeshId) =>
@@ -1,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- import type { Size, Visibility } from "@ogw_front/types/style";
2
+ import type { EdgeWidth, Visibility } from "@geode/opengeodeweb-viewer/schema_types";
3
3
  import ViewerContextMenuItem, {
4
4
  type ItemProps,
5
5
  } from "@ogw_front/components/Viewer/ContextMenu/ContextMenuItem.vue";
@@ -40,7 +40,7 @@ const visibility = computed<Visibility>({
40
40
  hybridViewerStore.remoteRender();
41
41
  },
42
42
  });
43
- const size = computed<Size>({
43
+ const width = computed<EdgeWidth>({
44
44
  get: () => dataStyleStore.meshEdgesWidth(dataId.value),
45
45
  set: async (newValue) => {
46
46
  await applyBatchStyle(dataId.value, (meshId: MeshId) =>
@@ -70,7 +70,7 @@ const size = computed<Size>({
70
70
  </v-row>
71
71
  <template v-if="visibility">
72
72
  <v-divider class="my-2" />
73
- <ViewerOptionsWidthSlider data-testid="meshEdgesWidthSlider" v-model="size" />
73
+ <ViewerOptionsWidthSlider data-testid="meshEdgesWidthSlider" v-model="width" />
74
74
  <ViewerGenericMeshEdgesColoring :data-id="dataId" :capabilities="capabilities" />
75
75
  </template>
76
76
  </template>
@@ -1,12 +1,17 @@
1
1
  <script setup lang="ts">
2
2
  import type {
3
3
  AttributeColorMap,
4
- AttributeItem,
5
- AttributeName,
6
4
  AttributeRange,
7
5
  AttributeTimeStep,
8
6
  } from "@ogw_front/types/attribute";
9
- import type { Opacity, Size, Visibility } from "@ogw_front/types/style";
7
+ import type {
8
+ AttributeItem,
9
+ AttributeName,
10
+ ColorRGBA,
11
+ Opacity,
12
+ PointSize,
13
+ Visibility,
14
+ } from "@geode/opengeodeweb-viewer/schema_types";
10
15
  import {
11
16
  type RangesPerData,
12
17
  applyRangesPerData,
@@ -16,7 +21,6 @@ import ViewerContextMenuItem, {
16
21
  type ItemProps,
17
22
  } from "@ogw_front/components/Viewer/ContextMenu/ContextMenuItem.vue";
18
23
  import type { MeshId } from "@ogw_front/types/identifiers";
19
- import type { RGBAColor } from "@ogw_front/utils/default_styles/constants";
20
24
  import ViewerOptionsColoringTypeSelector from "@ogw_front/components/Viewer/Options/ColoringTypeSelector.vue";
21
25
  import ViewerOptionsSizeSlider from "@ogw_front/components/Viewer/Options/Sliders/Size.vue";
22
26
  import ViewerOptionsVisibilitySwitch from "@ogw_front/components/Viewer/Options/VisibilitySwitch.vue";
@@ -46,7 +50,7 @@ const visibility = computed<Visibility>({
46
50
  hybridViewerStore.remoteRender();
47
51
  },
48
52
  });
49
- const size = computed<Size>({
53
+ const size = computed<PointSize>({
50
54
  get: () => dataStyleStore.meshPointsSize(dataId.value),
51
55
  set: async (newValue) => {
52
56
  await applyBatchStyle(dataId.value, (meshId: MeshId) =>
@@ -64,8 +68,8 @@ const coloring_style_key = computed<string>({
64
68
  hybridViewerStore.remoteRender();
65
69
  },
66
70
  });
67
- const color = computed<RGBAColor | undefined>({
68
- get: () => dataStyleStore.meshPointsColor(dataId.value) as RGBAColor | undefined,
71
+ const color = computed<ColorRGBA | undefined>({
72
+ get: () => dataStyleStore.meshPointsColor(dataId.value) as ColorRGBA | undefined,
69
73
  set: async (newValue) => {
70
74
  if (newValue === undefined) {
71
75
  return;
@@ -144,7 +148,7 @@ const vertex_attribute_color_map = computed<AttributeColorMap | undefined>({
144
148
  hybridViewerStore.remoteRender();
145
149
  },
146
150
  });
147
- const vertex_attribute_no_data_color = computed<RGBAColor>({
151
+ const vertex_attribute_no_data_color = computed<ColorRGBA>({
148
152
  get: () => dataStyleStore.meshPointsVertexAttributeNoDataColor(dataId.value),
149
153
  set: async (newValue) => {
150
154
  await applyBatchStyle(dataId.value, (meshId: MeshId) =>
@@ -1,19 +1,22 @@
1
1
  <script setup lang="ts">
2
2
  import type {
3
3
  AttributeColorMap,
4
- AttributeItem,
5
- AttributeName,
6
4
  AttributeRange,
7
5
  AttributeTimeStep,
8
6
  } from "@ogw_front/types/attribute";
9
- import type { DataId, MeshId } from "@ogw_front/types/identifiers";
7
+ import type {
8
+ AttributeItem,
9
+ AttributeName,
10
+ ColorRGBA,
11
+ Opacity,
12
+ } from "@geode/opengeodeweb-viewer/schema_types";
10
13
  import {
11
14
  type RangesPerData,
12
15
  applyRangesPerData,
13
16
  useBatchStyle,
14
17
  } from "@ogw_front/composables/batch_style";
15
- import type { Opacity } from "@ogw_front/types/style";
16
- import type { RGBAColor } from "@ogw_front/utils/default_styles/constants";
18
+ import type { DataId } from "@geode/opengeodeweb-microservice/schema_types";
19
+ import type { MeshId } from "@ogw_front/types/identifiers";
17
20
  import type { Texture } from "@ogw_front/types/texture";
18
21
  import ViewerOptionsColoringTypeSelector from "@ogw_front/components/Viewer/Options/ColoringTypeSelector.vue";
19
22
  import { useBatchStyleModel } from "@ogw_front/composables/batch_style_model";
@@ -40,9 +43,9 @@ const coloring_style_key = computed<string>({
40
43
  hybridViewerStore.remoteRender();
41
44
  },
42
45
  });
43
- const color = useBatchStyleModel<RGBAColor>(
46
+ const color = useBatchStyleModel<ColorRGBA>(
44
47
  () => dataId,
45
- (meshId) => dataStyleStore.meshPolygonsColor(meshId) as RGBAColor | undefined,
48
+ (meshId) => dataStyleStore.meshPolygonsColor(meshId) as ColorRGBA | undefined,
46
49
  (meshId, value) => dataStyleStore.setMeshPolygonsColor(meshId, value),
47
50
  );
48
51
  const opacity = useBatchStyleModel<Opacity>(
@@ -112,7 +115,7 @@ const vertex_attribute_color_map = computed<AttributeColorMap | undefined>({
112
115
  hybridViewerStore.remoteRender();
113
116
  },
114
117
  });
115
- const vertex_attribute_no_data_color = computed<RGBAColor>({
118
+ const vertex_attribute_no_data_color = computed<ColorRGBA>({
116
119
  get: () => dataStyleStore.meshPolygonsVertexAttributeNoDataColor(dataId),
117
120
  set: async (newValue) => {
118
121
  await applyBatchStyle(dataId, (meshId: MeshId) =>
@@ -179,7 +182,7 @@ const polygon_attribute_color_map = computed<AttributeColorMap | undefined>({
179
182
  hybridViewerStore.remoteRender();
180
183
  },
181
184
  });
182
- const polygon_attribute_no_data_color = computed<RGBAColor>({
185
+ const polygon_attribute_no_data_color = computed<ColorRGBA>({
183
186
  get: () => dataStyleStore.meshPolygonsPolygonAttributeNoDataColor(dataId),
184
187
  set: async (newValue) => {
185
188
  await applyBatchStyle(dataId, (meshId: MeshId) =>
@@ -5,7 +5,7 @@ import ViewerContextMenuItem, {
5
5
  import type { MeshId } from "@ogw_front/types/identifiers";
6
6
  import ViewerGenericMeshPolygonsColoring from "@ogw_front/components/Viewer/Generic/Mesh/PolygonsColoring.vue";
7
7
  import ViewerOptionsVisibilitySwitch from "@ogw_front/components/Viewer/Options/VisibilitySwitch.vue";
8
- import type { Visibility } from "@ogw_front/types/style";
8
+ import type { Visibility } from "@geode/opengeodeweb-viewer/schema_types";
9
9
  import { useBatchStyle } from "@ogw_front/composables/batch_style";
10
10
  import { useDataStyleStore } from "@ogw_front/stores/data_style";
11
11
  import { useHybridViewerStore } from "@ogw_front/stores/hybrid_viewer";
@@ -1,19 +1,22 @@
1
1
  <script setup lang="ts">
2
2
  import type {
3
3
  AttributeColorMap,
4
- AttributeItem,
5
- AttributeName,
6
4
  AttributeRange,
7
5
  AttributeTimeStep,
8
6
  } from "@ogw_front/types/attribute";
9
- import type { DataId, MeshId } from "@ogw_front/types/identifiers";
7
+ import type {
8
+ AttributeItem,
9
+ AttributeName,
10
+ ColorRGBA,
11
+ Opacity,
12
+ } from "@geode/opengeodeweb-viewer/schema_types";
10
13
  import {
11
14
  type RangesPerData,
12
15
  applyRangesPerData,
13
16
  useBatchStyle,
14
17
  } from "@ogw_front/composables/batch_style";
15
- import type { Opacity } from "@ogw_front/types/style";
16
- import type { RGBAColor } from "@ogw_front/utils/default_styles/constants";
18
+ import type { DataId } from "@geode/opengeodeweb-microservice/schema_types";
19
+ import type { MeshId } from "@ogw_front/types/identifiers";
17
20
  import ViewerOptionsColoringTypeSelector from "@ogw_front/components/Viewer/Options/ColoringTypeSelector.vue";
18
21
  import { useBatchStyleModel } from "@ogw_front/composables/batch_style_model";
19
22
  import { useDataStyleStore } from "@ogw_front/stores/data_style";
@@ -38,9 +41,9 @@ const coloring_style_key = computed<string>({
38
41
  hybridViewerStore.remoteRender();
39
42
  },
40
43
  });
41
- const color = useBatchStyleModel<RGBAColor>(
44
+ const color = useBatchStyleModel<ColorRGBA>(
42
45
  () => dataId,
43
- (meshId) => dataStyleStore.meshPolyhedraColor(meshId) as RGBAColor | undefined,
46
+ (meshId) => dataStyleStore.meshPolyhedraColor(meshId) as ColorRGBA | undefined,
44
47
  (meshId, value) => dataStyleStore.setMeshPolyhedraColor(meshId, value),
45
48
  );
46
49
  const opacity = useBatchStyleModel<Opacity>(
@@ -106,7 +109,7 @@ const vertex_attribute_color_map = computed<AttributeColorMap | undefined>({
106
109
  hybridViewerStore.remoteRender();
107
110
  },
108
111
  });
109
- const vertex_attribute_no_data_color = computed<RGBAColor>({
112
+ const vertex_attribute_no_data_color = computed<ColorRGBA>({
110
113
  get: () => dataStyleStore.meshPolyhedraVertexAttributeNoDataColor(dataId),
111
114
  set: async (newValue) => {
112
115
  await applyBatchStyle(dataId, (meshId: MeshId) =>
@@ -173,7 +176,7 @@ const polyhedron_attribute_color_map = computed<AttributeColorMap | undefined>({
173
176
  hybridViewerStore.remoteRender();
174
177
  },
175
178
  });
176
- const polyhedron_attribute_no_data_color = computed<RGBAColor>({
179
+ const polyhedron_attribute_no_data_color = computed<ColorRGBA>({
177
180
  get: () => dataStyleStore.meshPolyhedraPolyhedronAttributeNoDataColor(dataId),
178
181
  set: async (newValue) => {
179
182
  await applyBatchStyle(dataId, (meshId: MeshId) =>