@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
@@ -5,7 +5,7 @@ import ViewerContextMenuItem, {
5
5
  import type { MeshId } from "@ogw_front/types/identifiers";
6
6
  import ViewerGenericMeshPolyhedraColoring from "@ogw_front/components/Viewer/Generic/Mesh/PolyhedraColoring.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";
@@ -3,14 +3,13 @@
3
3
  import type {
4
4
  AttributeItem,
5
5
  AttributeName,
6
- AttributeRange,
7
- AttributeTimeStep,
8
- } from "@ogw_front/types/attribute";
6
+ ColorRGBA,
7
+ Visibility,
8
+ } from "@geode/opengeodeweb-viewer/schema_types";
9
+ import type { AttributeRange, AttributeTimeStep } from "@ogw_front/types/attribute";
9
10
  import type { BlockId } from "@ogw_front/types/identifiers";
10
11
  import type { CollectionComponent } from "@ogw_front/stores/data_helpers/collections";
11
- import type { RGBAColor } from "@ogw_front/utils/default_styles/constants";
12
12
  import ViewerOptionsColoringTypeSelector from "@ogw_front/components/Viewer/Options/ColoringTypeSelector.vue";
13
- import type { Visibility } from "@ogw_front/types/style";
14
13
  import VisibilitySwitch from "@ogw_front/components/Viewer/Options/VisibilitySwitch.vue";
15
14
  import back_schemas from "@geode/opengeodeweb-back/opengeodeweb_back_typed_schemas.js";
16
15
  import { useDataStyleStore } from "@ogw_front/stores/data_style";
@@ -67,17 +66,17 @@ const blockVisibility = computed<Visibility | undefined>({
67
66
  });
68
67
 
69
68
  // Color
70
- const blocksColor = computed<RGBAColor | undefined>({
69
+ const blocksColor = computed<ColorRGBA | undefined>({
71
70
  get: () =>
72
- dataStyleStore.modelBlockColor(modelId, referenceBlockId.value) as RGBAColor | undefined,
71
+ dataStyleStore.modelBlockColor(modelId, referenceBlockId.value) as ColorRGBA | undefined,
73
72
  set: async (color) => {
74
73
  await dataStyleStore.setModelBlocksColor(modelId, targetBlockIds, color);
75
74
  hybridViewerStore.remoteRender();
76
75
  },
77
76
  });
78
77
 
79
- const blockColor = computed<RGBAColor | undefined>({
80
- get: () => dataStyleStore.modelBlockColor(modelId, blockId) as RGBAColor | undefined,
78
+ const blockColor = computed<ColorRGBA | undefined>({
79
+ get: () => dataStyleStore.modelBlockColor(modelId, blockId) as ColorRGBA | undefined,
81
80
  set: async (color) => {
82
81
  if (blockId === undefined) {
83
82
  return;
@@ -171,7 +170,7 @@ const blocksVertexAttributeRange = computed<AttributeRange>({
171
170
  },
172
171
  });
173
172
 
174
- const blocksVertexAttributeColorMap = computed<Map<string, RGBAColor> | undefined>({
173
+ const blocksVertexAttributeColorMap = computed<Map<string, ColorRGBA> | undefined>({
175
174
  get: () => dataStyleStore.modelBlocksVertexAttributeColorMap(modelId, referenceBlockId.value),
176
175
  set: async (newValue) => {
177
176
  await dataStyleStore.setModelBlocksVertexAttributeColorMap(modelId, targetBlockIds, newValue);
@@ -179,7 +178,7 @@ const blocksVertexAttributeColorMap = computed<Map<string, RGBAColor> | undefine
179
178
  },
180
179
  });
181
180
 
182
- const blocksVertexAttributeNoDataColor = computed<RGBAColor>({
181
+ const blocksVertexAttributeNoDataColor = computed<ColorRGBA>({
183
182
  get: () => dataStyleStore.modelBlocksVertexAttributeNoDataColor(modelId, referenceBlockId.value),
184
183
  set: async (newValue) => {
185
184
  await dataStyleStore.setModelBlocksVertexAttributeNoDataColor(
@@ -258,7 +257,7 @@ const blocksPolyhedronAttributeRange = computed<AttributeRange>({
258
257
  },
259
258
  });
260
259
 
261
- const blocksPolyhedronAttributeColorMap = computed<Map<string, RGBAColor> | undefined>({
260
+ const blocksPolyhedronAttributeColorMap = computed<Map<string, ColorRGBA> | undefined>({
262
261
  get: () => dataStyleStore.modelBlocksPolyhedronAttributeColorMap(modelId, referenceBlockId.value),
263
262
  set: async (newValue) => {
264
263
  const applied = await dataStyleStore.setModelBlocksPolyhedronAttributeColorMap(
@@ -272,7 +271,7 @@ const blocksPolyhedronAttributeColorMap = computed<Map<string, RGBAColor> | unde
272
271
  },
273
272
  });
274
273
 
275
- const blocksPolyhedronAttributeNoDataColor = computed<RGBAColor>({
274
+ const blocksPolyhedronAttributeNoDataColor = computed<ColorRGBA>({
276
275
  get: () =>
277
276
  dataStyleStore.modelBlocksPolyhedronAttributeNoDataColor(modelId, referenceBlockId.value),
278
277
  set: async (newValue) => {
@@ -333,7 +332,7 @@ const vertexAttributeRange = computed<AttributeRange>({
333
332
  },
334
333
  });
335
334
 
336
- const vertexAttributeColorMap = computed<Map<string, RGBAColor> | undefined>({
335
+ const vertexAttributeColorMap = computed<Map<string, ColorRGBA> | undefined>({
337
336
  get: () => dataStyleStore.modelBlocksVertexAttributeColorMap(modelId, blockId),
338
337
  set: async (newValue) => {
339
338
  if (blockId === undefined) {
@@ -344,7 +343,7 @@ const vertexAttributeColorMap = computed<Map<string, RGBAColor> | undefined>({
344
343
  },
345
344
  });
346
345
 
347
- const vertexAttributeNoDataColor = computed<RGBAColor>({
346
+ const vertexAttributeNoDataColor = computed<ColorRGBA>({
348
347
  get: () => dataStyleStore.modelBlocksVertexAttributeNoDataColor(modelId, blockId),
349
348
  set: async (newValue) => {
350
349
  if (blockId === undefined) {
@@ -425,7 +424,7 @@ const polyhedronAttributeRange = computed<AttributeRange>({
425
424
  },
426
425
  });
427
426
 
428
- const polyhedronAttributeColorMap = computed<Map<string, RGBAColor> | undefined>({
427
+ const polyhedronAttributeColorMap = computed<Map<string, ColorRGBA> | undefined>({
429
428
  get: () => dataStyleStore.modelBlocksPolyhedronAttributeColorMap(modelId, blockId),
430
429
  set: async (newValue) => {
431
430
  if (blockId === undefined) {
@@ -442,7 +441,7 @@ const polyhedronAttributeColorMap = computed<Map<string, RGBAColor> | undefined>
442
441
  },
443
442
  });
444
443
 
445
- const polyhedronAttributeNoDataColor = computed<RGBAColor>({
444
+ const polyhedronAttributeNoDataColor = computed<ColorRGBA>({
446
445
  get: () => dataStyleStore.modelBlocksPolyhedronAttributeNoDataColor(modelId, blockId),
447
446
  set: async (newValue) => {
448
447
  if (blockId === undefined) {
@@ -1,7 +1,12 @@
1
1
  <script setup lang="ts">
2
- import type { AttributeColorMap, AttributeItem, AttributeName } from "@ogw_front/types/attribute";
3
- import type { Visibility, Width } from "@ogw_front/types/style";
4
- import type { RGBAColor } from "@ogw_front/utils/default_styles/constants";
2
+ import type {
3
+ AttributeItem,
4
+ AttributeName,
5
+ ColorRGBA,
6
+ EdgeWidth,
7
+ Visibility,
8
+ } from "@geode/opengeodeweb-viewer/schema_types";
9
+ import type { AttributeColorMap } from "@ogw_front/types/attribute";
5
10
  import ViewerOptionsColoringTypeSelector from "@ogw_front/components/Viewer/Options/ColoringTypeSelector.vue";
6
11
  import ViewerOptionsWidthSlider from "@ogw_front/components/Viewer/Options/Sliders/Width.vue";
7
12
  import VisibilitySwitch from "@ogw_front/components/Viewer/Options/VisibilitySwitch.vue";
@@ -98,7 +103,7 @@ const visibility = computed<Visibility | undefined>({
98
103
  },
99
104
  });
100
105
 
101
- const width = computed<Width | undefined>({
106
+ const width = computed<EdgeWidth | undefined>({
102
107
  get: () => edgesStyle.value?.width(modelId, referenceComponentId),
103
108
  set: async (newValue) => {
104
109
  if (newValue === undefined) {
@@ -118,7 +123,7 @@ const activeColoring = computed<string | undefined>({
118
123
  },
119
124
  });
120
125
 
121
- const color = computed<RGBAColor | undefined>({
126
+ const color = computed<ColorRGBA | undefined>({
122
127
  get: () => edgesStyle.value?.color(modelId, referenceComponentId),
123
128
  set: async (newValue) => {
124
129
  if (newValue === undefined) {
@@ -171,7 +176,7 @@ const vertexAttributeColorMap = computed<AttributeColorMap | undefined>({
171
176
  },
172
177
  });
173
178
 
174
- const vertexAttributeNoDataColor = computed<RGBAColor | undefined>({
179
+ const vertexAttributeNoDataColor = computed<ColorRGBA | undefined>({
175
180
  get: () => edgesStyle.value?.vertexAttributeNoDataColor(modelId, referenceComponentId),
176
181
  set: async (newValue) => {
177
182
  if (newValue === undefined) {
@@ -1,8 +1,13 @@
1
1
  <script setup lang="ts">
2
- import type { AttributeColorMap, AttributeItem, AttributeName } from "@ogw_front/types/attribute";
3
- import type { Size, Visibility } from "@ogw_front/types/style";
2
+ import type {
3
+ AttributeItem,
4
+ AttributeName,
5
+ ColorRGBA,
6
+ PointSize,
7
+ Visibility,
8
+ } from "@geode/opengeodeweb-viewer/schema_types";
9
+ import type { AttributeColorMap } from "@ogw_front/types/attribute";
4
10
  import { MODEL_VERTEX_COLORING } from "@ogw_front/utils/model_component_coloring";
5
- import type { RGBAColor } from "@ogw_front/utils/default_styles/constants";
6
11
  import ViewerOptionsColoringTypeSelector from "@ogw_front/components/Viewer/Options/ColoringTypeSelector.vue";
7
12
  import ViewerOptionsSizeSlider from "@ogw_front/components/Viewer/Options/Sliders/Size.vue";
8
13
  import VisibilitySwitch from "@ogw_front/components/Viewer/Options/VisibilitySwitch.vue";
@@ -118,7 +123,7 @@ const visibility = computed<Visibility | undefined>({
118
123
  },
119
124
  });
120
125
 
121
- const size = computed<Size | undefined>({
126
+ const size = computed<PointSize | undefined>({
122
127
  get: () => pointsStyle.value?.size(modelId, referenceComponentId),
123
128
  set: async (newValue) => {
124
129
  if (newValue === undefined) {
@@ -138,7 +143,7 @@ const activeColoring = computed<string | undefined>({
138
143
  },
139
144
  });
140
145
 
141
- const color = computed<RGBAColor | undefined>({
146
+ const color = computed<ColorRGBA | undefined>({
142
147
  get: () => pointsStyle.value?.color(modelId, referenceComponentId),
143
148
  set: async (newValue) => {
144
149
  if (newValue === undefined) {
@@ -193,7 +198,7 @@ const vertexAttributeColorMap = computed<AttributeColorMap | undefined>({
193
198
  },
194
199
  });
195
200
 
196
- const vertexAttributeNoDataColor = computed<RGBAColor | undefined>({
201
+ const vertexAttributeNoDataColor = computed<ColorRGBA | undefined>({
197
202
  get: () => pointsStyle.value?.vertexAttributeNoDataColor(modelId, referenceComponentId),
198
203
  set: async (newValue) => {
199
204
  if (newValue === undefined) {
@@ -2,14 +2,13 @@
2
2
  import type {
3
3
  AttributeItem,
4
4
  AttributeName,
5
- AttributeRange,
6
- AttributeTimeStep,
7
- } from "@ogw_front/types/attribute";
5
+ ColorRGBA,
6
+ Visibility,
7
+ } from "@geode/opengeodeweb-viewer/schema_types";
8
+ import type { AttributeRange, AttributeTimeStep } from "@ogw_front/types/attribute";
8
9
  import type { CornerId } from "@ogw_front/types/identifiers";
9
10
  import { MODEL_VERTEX_COLORING } from "@ogw_front/utils/model_component_coloring";
10
- import type { RGBAColor } from "@ogw_front/utils/default_styles/constants";
11
11
  import ViewerOptionsColoringTypeSelector from "@ogw_front/components/Viewer/Options/ColoringTypeSelector.vue";
12
- import type { Visibility } from "@ogw_front/types/style";
13
12
  import VisibilitySwitch from "@ogw_front/components/Viewer/Options/VisibilitySwitch.vue";
14
13
  import { useDataStyleStore } from "@ogw_front/stores/data_style";
15
14
  import { useHybridViewerStore } from "@ogw_front/stores/hybrid_viewer";
@@ -38,8 +37,8 @@ const cornerVisibility = computed<Visibility | undefined>({
38
37
  },
39
38
  });
40
39
 
41
- const cornerColor = computed<RGBAColor | undefined>({
42
- get: () => dataStyleStore.modelCornerColor(modelId, cornerId) as RGBAColor | undefined,
40
+ const cornerColor = computed<ColorRGBA | undefined>({
41
+ get: () => dataStyleStore.modelCornerColor(modelId, cornerId) as ColorRGBA | undefined,
43
42
  set: async (color) => {
44
43
  if (cornerId === undefined) {
45
44
  return;
@@ -117,7 +116,7 @@ const vertexAttributeColorMap = computed<ColorMap | undefined>({
117
116
  },
118
117
  });
119
118
 
120
- const vertexAttributeNoDataColor = computed<RGBAColor>({
119
+ const vertexAttributeNoDataColor = computed<ColorRGBA>({
121
120
  get: () => dataStyleStore.modelCornersVertexAttributeNoDataColor(modelId, cornerId),
122
121
  set: async (newValue) => {
123
122
  if (cornerId === undefined) {
@@ -2,14 +2,13 @@
2
2
  import type {
3
3
  AttributeItem,
4
4
  AttributeName,
5
- AttributeRange,
6
- AttributeTimeStep,
7
- } from "@ogw_front/types/attribute";
5
+ ColorRGBA,
6
+ Visibility,
7
+ } from "@geode/opengeodeweb-viewer/schema_types";
8
+ import type { AttributeRange, AttributeTimeStep } from "@ogw_front/types/attribute";
8
9
  import type { CollectionComponent } from "@ogw_front/stores/data_helpers/collections";
9
10
  import { MODEL_VERTEX_COLORING } from "@ogw_front/utils/model_component_coloring";
10
- import type { RGBAColor } from "@ogw_front/utils/default_styles/constants";
11
11
  import ViewerOptionsColoringTypeSelector from "@ogw_front/components/Viewer/Options/ColoringTypeSelector.vue";
12
- import type { Visibility } from "@ogw_front/types/style";
13
12
  import VisibilitySwitch from "@ogw_front/components/Viewer/Options/VisibilitySwitch.vue";
14
13
  import { useDataStyleStore } from "@ogw_front/stores/data_style";
15
14
  import { useHybridViewerStore } from "@ogw_front/stores/hybrid_viewer";
@@ -50,9 +49,9 @@ const cornersVisibility = computed<Visibility>({
50
49
  });
51
50
 
52
51
  // Color
53
- const cornersColor = computed<RGBAColor | undefined>({
52
+ const cornersColor = computed<ColorRGBA | undefined>({
54
53
  get: () =>
55
- dataStyleStore.modelCornerColor(modelId, referenceCornerId.value) as RGBAColor | undefined,
54
+ dataStyleStore.modelCornerColor(modelId, referenceCornerId.value) as ColorRGBA | undefined,
56
55
  set: async (color) => {
57
56
  await dataStyleStore.setModelCornersColor(modelId, targetCornerIds, color);
58
57
  hybridViewerStore.remoteRender();
@@ -142,7 +141,7 @@ const cornersVertexAttributeColorMap = computed<ColorMap | undefined>({
142
141
  },
143
142
  });
144
143
 
145
- const cornersVertexAttributeNoDataColor = computed<RGBAColor>({
144
+ const cornersVertexAttributeNoDataColor = computed<ColorRGBA>({
146
145
  get: () =>
147
146
  dataStyleStore.modelCornersVertexAttributeNoDataColor(modelId, referenceCornerId.value),
148
147
  set: async (newValue) => {
@@ -2,14 +2,13 @@
2
2
  import type {
3
3
  AttributeItem,
4
4
  AttributeName,
5
- AttributeRange,
6
- AttributeTimeStep,
7
- } from "@ogw_front/types/attribute";
5
+ ColorRGBA,
6
+ Visibility,
7
+ } from "@geode/opengeodeweb-viewer/schema_types";
8
+ import type { AttributeRange, AttributeTimeStep } from "@ogw_front/types/attribute";
8
9
  import type { LineId } from "@ogw_front/types/identifiers";
9
10
  import { MODEL_LINE_COLORING } from "@ogw_front/utils/model_component_coloring";
10
- import type { RGBAColor } from "@ogw_front/utils/default_styles/constants";
11
11
  import ViewerOptionsColoringTypeSelector from "@ogw_front/components/Viewer/Options/ColoringTypeSelector.vue";
12
- import type { Visibility } from "@ogw_front/types/style";
13
12
  import VisibilitySwitch from "@ogw_front/components/Viewer/Options/VisibilitySwitch.vue";
14
13
  import { useDataStyleStore } from "@ogw_front/stores/data_style";
15
14
  import { useHybridViewerStore } from "@ogw_front/stores/hybrid_viewer";
@@ -38,8 +37,8 @@ const lineVisibility = computed<Visibility | undefined>({
38
37
  },
39
38
  });
40
39
 
41
- const lineColor = computed<RGBAColor | undefined>({
42
- get: () => dataStyleStore.modelLineColor(modelId, lineId) as RGBAColor | undefined,
40
+ const lineColor = computed<ColorRGBA | undefined>({
41
+ get: () => dataStyleStore.modelLineColor(modelId, lineId) as ColorRGBA | undefined,
43
42
  set: async (color) => {
44
43
  if (lineId === undefined) {
45
44
  return;
@@ -117,7 +116,7 @@ const vertexAttributeColorMap = computed<ColorMap | undefined>({
117
116
  },
118
117
  });
119
118
 
120
- const vertexAttributeNoDataColor = computed<RGBAColor>({
119
+ const vertexAttributeNoDataColor = computed<ColorRGBA>({
121
120
  get: () => dataStyleStore.modelLinesVertexAttributeNoDataColor(modelId, lineId),
122
121
  set: async (newValue) => {
123
122
  if (lineId === undefined) {
@@ -173,7 +172,7 @@ const edgeAttributeRange = computed<AttributeRange>({
173
172
  },
174
173
  });
175
174
 
176
- const edgeAttributeColorMap = computed<Map<string, RGBAColor> | undefined>({
175
+ const edgeAttributeColorMap = computed<Map<string, ColorRGBA> | undefined>({
177
176
  get: () => dataStyleStore.modelLinesEdgeAttributeColorMap(modelId, lineId),
178
177
  set: async (newValue) => {
179
178
  if (lineId === undefined) {
@@ -184,7 +183,7 @@ const edgeAttributeColorMap = computed<Map<string, RGBAColor> | undefined>({
184
183
  },
185
184
  });
186
185
 
187
- const edgeAttributeNoDataColor = computed<RGBAColor>({
186
+ const edgeAttributeNoDataColor = computed<ColorRGBA>({
188
187
  get: () => dataStyleStore.modelLinesEdgeAttributeNoDataColor(modelId, lineId),
189
188
  set: async (newValue) => {
190
189
  if (lineId === undefined) {
@@ -2,14 +2,13 @@
2
2
  import type {
3
3
  AttributeItem,
4
4
  AttributeName,
5
- AttributeRange,
6
- AttributeTimeStep,
7
- } from "@ogw_front/types/attribute";
5
+ ColorRGBA,
6
+ Visibility,
7
+ } from "@geode/opengeodeweb-viewer/schema_types";
8
+ import type { AttributeRange, AttributeTimeStep } from "@ogw_front/types/attribute";
8
9
  import type { CollectionComponent } from "@ogw_front/stores/data_helpers/collections";
9
10
  import { MODEL_LINE_COLORING } from "@ogw_front/utils/model_component_coloring";
10
- import type { RGBAColor } from "@ogw_front/utils/default_styles/constants";
11
11
  import ViewerOptionsColoringTypeSelector from "@ogw_front/components/Viewer/Options/ColoringTypeSelector.vue";
12
- import type { Visibility } from "@ogw_front/types/style";
13
12
  import VisibilitySwitch from "@ogw_front/components/Viewer/Options/VisibilitySwitch.vue";
14
13
  import { useDataStyleStore } from "@ogw_front/stores/data_style";
15
14
  import { useHybridViewerStore } from "@ogw_front/stores/hybrid_viewer";
@@ -50,8 +49,8 @@ const linesVisibility = computed<Visibility>({
50
49
  });
51
50
 
52
51
  // Color
53
- const linesColor = computed<RGBAColor | undefined>({
54
- get: () => dataStyleStore.modelLineColor(modelId, referenceLineId.value) as RGBAColor | undefined,
52
+ const linesColor = computed<ColorRGBA | undefined>({
53
+ get: () => dataStyleStore.modelLineColor(modelId, referenceLineId.value) as ColorRGBA | undefined,
55
54
  set: async (color) => {
56
55
  await dataStyleStore.setModelLinesColor(modelId, targetLineIds, color);
57
56
  hybridViewerStore.remoteRender();
@@ -139,7 +138,7 @@ const linesVertexAttributeColorMap = computed<RGBAColorMap | undefined>({
139
138
  },
140
139
  });
141
140
 
142
- const linesVertexAttributeNoDataColor = computed<RGBAColor>({
141
+ const linesVertexAttributeNoDataColor = computed<ColorRGBA>({
143
142
  get: () => dataStyleStore.modelLinesVertexAttributeNoDataColor(modelId, referenceLineId.value),
144
143
  set: async (newValue) => {
145
144
  await dataStyleStore.setModelLinesVertexAttributeNoDataColor(modelId, targetLineIds, newValue);
@@ -189,7 +188,7 @@ const linesEdgeAttributeRange = computed<AttributeRange>({
189
188
  },
190
189
  });
191
190
 
192
- const linesEdgeAttributeColorMap = computed<Map<string, RGBAColor> | undefined>({
191
+ const linesEdgeAttributeColorMap = computed<Map<string, ColorRGBA> | undefined>({
193
192
  get: () => dataStyleStore.modelLinesEdgeAttributeColorMap(modelId, referenceLineId.value),
194
193
  set: async (newValue) => {
195
194
  await dataStyleStore.setModelLinesEdgeAttributeColorMap(modelId, targetLineIds, newValue);
@@ -197,7 +196,7 @@ const linesEdgeAttributeColorMap = computed<Map<string, RGBAColor> | undefined>(
197
196
  },
198
197
  });
199
198
 
200
- const linesEdgeAttributeNoDataColor = computed<RGBAColor>({
199
+ const linesEdgeAttributeNoDataColor = computed<ColorRGBA>({
201
200
  get: () => dataStyleStore.modelLinesEdgeAttributeNoDataColor(modelId, referenceLineId.value),
202
201
  set: async (newValue) => {
203
202
  await dataStyleStore.setModelLinesEdgeAttributeNoDataColor(modelId, targetLineIds, newValue);
@@ -1,9 +1,9 @@
1
1
  <script setup lang="ts">
2
+ import type { EdgeWidth, Visibility } from "@geode/opengeodeweb-viewer/schema_types";
2
3
  import {
3
4
  type ModelMenuItemProps,
4
5
  useModelMenuContext,
5
6
  } from "@ogw_front/composables/model_menu_context";
6
- import type { Visibility, Width } from "@ogw_front/types/style";
7
7
  import ModelCardTabs from "./ModelCardTabs.vue";
8
8
  import ViewerGenericModelComponentEdgesOptions from "@ogw_front/components/Viewer/Generic/Model/ComponentEdgesOptions.vue";
9
9
  import ViewerOptionsWidthSlider from "@ogw_front/components/Viewer/Options/Sliders/Width.vue";
@@ -53,7 +53,7 @@ const modelEdgesVisibility = computed<Visibility | undefined>({
53
53
  },
54
54
  });
55
55
 
56
- const modelEdgesWidth = computed<Width | undefined>({
56
+ const modelEdgesWidth = computed<EdgeWidth | undefined>({
57
57
  get: () => dataStyleStore.modelEdgesWidth(modelId.value),
58
58
  set: async (newValue) => {
59
59
  if (newValue === undefined) {
@@ -5,7 +5,7 @@ import {
5
5
  } from "@ogw_front/composables/model_menu_context";
6
6
  import ModelCardTabs from "./ModelCardTabs.vue";
7
7
  import ViewerGenericModelComponentPointsOptions from "@ogw_front/components/Viewer/Generic/Model/ComponentPointsOptions.vue";
8
- import type { Visibility } from "@ogw_front/types/style";
8
+ import type { Visibility } from "@geode/opengeodeweb-viewer/schema_types";
9
9
  import VisibilitySwitch from "@ogw_front/components/Viewer/Options/VisibilitySwitch.vue";
10
10
  import { useBatchStyle } from "@ogw_front/composables/batch_style";
11
11
  import { useDataStore } from "@ogw_front/stores/data";
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ import type { ColorRGBA, Visibility } from "@geode/opengeodeweb-viewer/schema_types";
2
3
  import {
3
4
  type ModelMenuItemProps,
4
5
  useModelMenuContext,
@@ -7,10 +8,8 @@ import BlocksOptions from "./BlocksOptions.vue";
7
8
  import CornersOptions from "./CornersOptions.vue";
8
9
  import LinesOptions from "./LinesOptions.vue";
9
10
  import ModelCardTabs from "./ModelCardTabs.vue";
10
- import type { RGBAColor } from "@ogw_front/utils/default_styles/constants";
11
11
  import SurfacesOptions from "./SurfacesOptions.vue";
12
12
  import ViewerOptionsColoringTypeSelector from "@ogw_front/components/Viewer/Options/ColoringTypeSelector.vue";
13
- import type { Visibility } from "@ogw_front/types/style";
14
13
  import VisibilitySwitch from "@ogw_front/components/Viewer/Options/VisibilitySwitch.vue";
15
14
  import { useBatchStyle } from "@ogw_front/composables/batch_style";
16
15
  import { useDataStyleStore } from "@ogw_front/stores/data_style";
@@ -51,8 +50,8 @@ const modelVisibility = computed<Visibility | undefined>({
51
50
  },
52
51
  });
53
52
 
54
- const modelComponentsColor = computed<RGBAColor | undefined>({
55
- get: () => dataStyleStore.getModelColor(modelId.value) as RGBAColor | undefined,
53
+ const modelComponentsColor = computed<ColorRGBA | undefined>({
54
+ get: () => dataStyleStore.getModelColor(modelId.value) as ColorRGBA | undefined,
56
55
  set: async (color) => {
57
56
  await applyBatchStyle(modelId.value, async (targetId: string) => {
58
57
  await dataStyleStore.mutateStyle(targetId, {
@@ -3,14 +3,13 @@
3
3
  import type {
4
4
  AttributeItem,
5
5
  AttributeName,
6
- AttributeRange,
7
- AttributeTimeStep,
8
- } from "@ogw_front/types/attribute";
6
+ ColorRGBA,
7
+ Visibility,
8
+ } from "@geode/opengeodeweb-viewer/schema_types";
9
+ import type { AttributeRange, AttributeTimeStep } from "@ogw_front/types/attribute";
9
10
  import type { CollectionComponent } from "@ogw_front/stores/data_helpers/collections";
10
- import type { RGBAColor } from "@ogw_front/utils/default_styles/constants";
11
11
  import type { SurfaceId } from "@ogw_front/types/identifiers";
12
12
  import ViewerOptionsColoringTypeSelector from "@ogw_front/components/Viewer/Options/ColoringTypeSelector.vue";
13
- import type { Visibility } from "@ogw_front/types/style";
14
13
  import VisibilitySwitch from "@ogw_front/components/Viewer/Options/VisibilitySwitch.vue";
15
14
  import back_schemas from "@geode/opengeodeweb-back/opengeodeweb_back_typed_schemas.js";
16
15
  import { useDataStyleStore } from "@ogw_front/stores/data_style";
@@ -69,17 +68,17 @@ const surfaceVisibility = computed<Visibility>({
69
68
  });
70
69
 
71
70
  // Color
72
- const surfacesColor = computed<RGBAColor | undefined>({
71
+ const surfacesColor = computed<ColorRGBA | undefined>({
73
72
  get: () =>
74
- dataStyleStore.modelSurfaceColor(modelId, referenceSurfaceId.value) as RGBAColor | undefined,
73
+ dataStyleStore.modelSurfaceColor(modelId, referenceSurfaceId.value) as ColorRGBA | undefined,
75
74
  set: async (color) => {
76
75
  await dataStyleStore.setModelSurfacesColor(modelId, targetSurfaceIds, color);
77
76
  hybridViewerStore.remoteRender();
78
77
  },
79
78
  });
80
79
 
81
- const surfaceColor = computed<RGBAColor | undefined>({
82
- get: () => dataStyleStore.modelSurfaceColor(modelId, surfaceId) as RGBAColor | undefined,
80
+ const surfaceColor = computed<ColorRGBA | undefined>({
81
+ get: () => dataStyleStore.modelSurfaceColor(modelId, surfaceId) as ColorRGBA | undefined,
83
82
  set: async (color) => {
84
83
  if (surfaceId === undefined) {
85
84
  return;
@@ -179,7 +178,7 @@ const surfacesVertexAttributeRange = computed<AttributeRange>({
179
178
  },
180
179
  });
181
180
 
182
- const surfacesVertexAttributeColorMap = computed<Map<string, RGBAColor> | undefined>({
181
+ const surfacesVertexAttributeColorMap = computed<Map<string, ColorRGBA> | undefined>({
183
182
  get: () => dataStyleStore.modelSurfacesVertexAttributeColorMap(modelId, referenceSurfaceId.value),
184
183
  set: async (newValue) => {
185
184
  await dataStyleStore.setModelSurfacesVertexAttributeColorMap(
@@ -191,7 +190,7 @@ const surfacesVertexAttributeColorMap = computed<Map<string, RGBAColor> | undefi
191
190
  },
192
191
  });
193
192
 
194
- const surfacesVertexAttributeNoDataColor = computed<RGBAColor>({
193
+ const surfacesVertexAttributeNoDataColor = computed<ColorRGBA>({
195
194
  get: () =>
196
195
  dataStyleStore.modelSurfacesVertexAttributeNoDataColor(modelId, referenceSurfaceId.value),
197
196
  set: async (newValue) => {
@@ -256,7 +255,7 @@ const surfacesPolygonAttributeRange = computed<AttributeRange>({
256
255
  },
257
256
  });
258
257
 
259
- const surfacesPolygonAttributeColorMap = computed<Map<string, RGBAColor> | undefined>({
258
+ const surfacesPolygonAttributeColorMap = computed<Map<string, ColorRGBA> | undefined>({
260
259
  get: () =>
261
260
  dataStyleStore.modelSurfacesPolygonAttributeColorMap(modelId, referenceSurfaceId.value),
262
261
  set: async (newValue) => {
@@ -269,7 +268,7 @@ const surfacesPolygonAttributeColorMap = computed<Map<string, RGBAColor> | undef
269
268
  },
270
269
  });
271
270
 
272
- const surfacesPolygonAttributeNoDataColor = computed<RGBAColor>({
271
+ const surfacesPolygonAttributeNoDataColor = computed<ColorRGBA>({
273
272
  get: () =>
274
273
  dataStyleStore.modelSurfacesPolygonAttributeNoDataColor(modelId, referenceSurfaceId.value),
275
274
  set: async (newValue) => {
@@ -333,7 +332,7 @@ const vertexAttributeRange = computed<AttributeRange>({
333
332
  },
334
333
  });
335
334
 
336
- const vertexAttributeColorMap = computed<Map<string, RGBAColor> | undefined>({
335
+ const vertexAttributeColorMap = computed<Map<string, ColorRGBA> | undefined>({
337
336
  get: () => dataStyleStore.modelSurfacesVertexAttributeColorMap(modelId, surfaceId),
338
337
  set: async (newValue) => {
339
338
  if (surfaceId === undefined) {
@@ -344,7 +343,7 @@ const vertexAttributeColorMap = computed<Map<string, RGBAColor> | undefined>({
344
343
  },
345
344
  });
346
345
 
347
- const vertexAttributeNoDataColor = computed<RGBAColor>({
346
+ const vertexAttributeNoDataColor = computed<ColorRGBA>({
348
347
  get: () => dataStyleStore.modelSurfacesVertexAttributeNoDataColor(modelId, surfaceId),
349
348
  set: async (newValue) => {
350
349
  if (surfaceId === undefined) {
@@ -405,7 +404,7 @@ const polygonAttributeRange = computed<AttributeRange>({
405
404
  },
406
405
  });
407
406
 
408
- const polygonAttributeColorMap = computed<Map<string, RGBAColor> | undefined>({
407
+ const polygonAttributeColorMap = computed<Map<string, ColorRGBA> | undefined>({
409
408
  get: () => dataStyleStore.modelSurfacesPolygonAttributeColorMap(modelId, surfaceId),
410
409
  set: async (newValue) => {
411
410
  if (surfaceId === undefined) {
@@ -416,7 +415,7 @@ const polygonAttributeColorMap = computed<Map<string, RGBAColor> | undefined>({
416
415
  },
417
416
  });
418
417
 
419
- const polygonAttributeNoDataColor = computed<RGBAColor>({
418
+ const polygonAttributeNoDataColor = computed<ColorRGBA>({
420
419
  get: () => dataStyleStore.modelSurfacesPolygonAttributeNoDataColor(modelId, surfaceId),
421
420
  set: async (newValue) => {
422
421
  if (surfaceId === undefined) {
@@ -293,13 +293,13 @@ const { handleKeyDown } = useTreeKeyboardNav(
293
293
  .tree-row-wrapper {
294
294
  min-height: 28px !important;
295
295
  cursor: pointer;
296
- border-radius: 4px;
296
+ border-radius: var(--ogw-viewer-row-radius, 4px);
297
297
  margin: 0 2px;
298
298
  }
299
299
 
300
300
  .tree-row-wrapper.is-focused {
301
- background-color: rgba(0, 0, 0, 0.08) !important;
302
- box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.15);
301
+ background-color: rgba(var(--v-theme-on-surface), 0.08) !important;
302
+ box-shadow: inset 0 0 0 2px rgba(var(--v-theme-on-surface), 0.15);
303
303
  }
304
304
 
305
305
  .tree-row-wrapper.is-active {
@@ -327,7 +327,7 @@ const { handleKeyDown } = useTreeKeyboardNav(
327
327
  }
328
328
 
329
329
  .tree-row-wrapper:hover:not(.is-focused):not(.is-active) {
330
- background-color: rgba(0, 0, 0, 0.04) !important;
330
+ background-color: rgba(var(--v-theme-on-surface), 0.04) !important;
331
331
  }
332
332
 
333
333
  :deep(.v-list-item__content) {
@@ -53,7 +53,7 @@ const rows = computed<{ label: string; summary: string; testId: string }[]>(() =
53
53
  <template>
54
54
  <div v-if="rows.length > 0" class="d-flex flex-column ga-1">
55
55
  <span v-for="row in rows" :key="row.label" class="text-caption d-flex align-center">
56
- <strong class="text-white mr-1">{{ row.label }}:</strong>
56
+ <strong class="mr-1">{{ row.label }}:</strong>
57
57
  <span :data-testid="`relations-${row.testId}`">{{ row.summary }}</span>
58
58
  </span>
59
59
  </div>