@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
@@ -13,17 +13,17 @@ interface EcoMessage {
13
13
 
14
14
  const ecoMessages = computed<EcoMessage[]>(() => [
15
15
  {
16
- icon: "mdi-leaf",
16
+ icon: "ph-leaf",
17
17
  title: "Why the wait?",
18
18
  message: "Your workspace starts on demand, no idle servers running 24/7.",
19
19
  },
20
20
  {
21
- icon: "mdi-lightning-bolt-outline",
21
+ icon: "ph-lightning",
22
22
  title: "Lower carbon footprint",
23
23
  message: "On-demand computing uses up to 70% less energy than always-on servers.",
24
24
  },
25
25
  {
26
- icon: "mdi-earth",
26
+ icon: "ph-globe-hemisphere-west",
27
27
  title: "Your choice matters",
28
28
  message: `By using ${appName}, you're part of a more sustainable way to work with data.`,
29
29
  },
@@ -57,23 +57,30 @@ onUnmounted(() => {
57
57
  :key="currentMessage"
58
58
  rounded="lg"
59
59
  class="pa-4 pa-sm-6 border mx-auto"
60
- color="rgba(255, 255, 255, 0.05)"
60
+ color="transparent"
61
61
  elevation="0"
62
- style="border-color: rgba(255, 255, 255, 0.1) !important"
62
+ style="
63
+ background: var(--ogw-loading-card-bg, rgba(255, 255, 255, 0.05));
64
+ border-color: var(--ogw-loading-card-border, rgba(255, 255, 255, 0.1)) !important;
65
+ "
63
66
  >
64
67
  <v-card-title
65
- class="d-flex align-center ga-3 pa-0 mb-2 mb-sm-3 text-body-1 text-sm-subtitle-1 font-weight-bold text-white text-wrap"
68
+ class="d-flex align-center ga-3 pa-0 mb-2 mb-sm-3 text-body-1 text-sm-subtitle-1 font-weight-bold text-high-emphasis text-wrap"
66
69
  >
67
70
  <v-icon
68
71
  :icon="currentEcoMessage.icon"
69
- color="white"
70
72
  size="22"
71
- style="filter: drop-shadow(0 0 6px rgba(var(--v-theme-primary), 0.6))"
73
+ style="
74
+ filter: var(
75
+ --ogw-loading-icon-glow,
76
+ drop-shadow(0 0 6px rgba(var(--v-theme-primary), 0.6))
77
+ );
78
+ "
72
79
  />
73
80
  {{ currentEcoMessage.title }}
74
81
  </v-card-title>
75
82
  <v-card-text
76
- class="pa-0 text-body-2 text-white text-left"
83
+ class="pa-0 text-body-2 text-high-emphasis text-left"
77
84
  style="opacity: 0.85; line-height: 1.7"
78
85
  >
79
86
  {{ currentEcoMessage.message }}
@@ -86,8 +93,7 @@ onUnmounted(() => {
86
93
  v-for="(_, index) in ecoMessages"
87
94
  :key="index"
88
95
  size="10"
89
- :color="index <= currentMessage ? 'white' : 'white'"
90
- :icon="index === currentMessage ? 'mdi-circle' : 'mdi-circle-outline'"
96
+ :icon="index === currentMessage ? 'ph-fill ph-circle' : 'ph-circle'"
91
97
  :style="{ opacity: index <= currentMessage ? 1 : 0.25 }"
92
98
  />
93
99
  </v-row>
@@ -2,10 +2,10 @@
2
2
  <v-card
3
3
  color="transparent"
4
4
  elevation="0"
5
- class="mt-8 d-flex align-center justify-center ga-2 text-white"
5
+ class="mt-8 d-flex align-center justify-center ga-2 text-high-emphasis"
6
6
  style="opacity: 0.6; letter-spacing: 0.08em"
7
7
  >
8
- <v-icon icon="mdi-leaf" size="14" />
8
+ <v-icon icon="ph-leaf" size="14" />
9
9
  <v-card-text class="pa-0 text-caption font-weight-medium" style="flex: none">
10
10
  On-demand infrastructure greener by design
11
11
  </v-card-text>
@@ -11,20 +11,25 @@ const { logo = "" } = defineProps<Props>();
11
11
  <v-img
12
12
  :src="logo"
13
13
  class="responsive-logo"
14
- style="filter: drop-shadow(0 0 20px rgba(var(--v-theme-primary), 0.4))"
14
+ style="
15
+ filter: var(
16
+ --ogw-loading-logo-shadow,
17
+ drop-shadow(0 0 20px rgba(var(--v-theme-primary), 0.4))
18
+ );
19
+ "
15
20
  />
16
21
  </v-row>
17
22
 
18
23
  <v-card color="transparent" elevation="0" class="mb-4 mb-sm-8 overflow-visible">
19
24
  <v-card-title
20
- class="font-weight-black text-white text-wrap pa-0 d-block responsive-title"
21
- style="text-shadow: 0 0 20px rgba(255, 255, 255, 0.3)"
25
+ class="font-weight-black text-high-emphasis text-wrap pa-0 d-block responsive-title"
26
+ style="text-shadow: var(--ogw-loading-title-shadow, 0 0 20px rgba(255, 255, 255, 0.3))"
22
27
  >
23
28
  STARTING UP
24
29
  </v-card-title>
25
30
  <v-divider thickness="3" class="border-opacity-100 mx-auto my-4" color="primary" width="60" />
26
31
  <v-card-subtitle
27
- class="text-subtitle-2 font-weight-bold text-white ls-widest pa-0 text-wrap"
32
+ class="text-subtitle-2 font-weight-bold text-high-emphasis ls-widest pa-0 text-wrap"
28
33
  style="opacity: 0.9"
29
34
  >
30
35
  YOUR WORKSPACE IS WAKING UP...
@@ -8,18 +8,22 @@ const { progress } = defineProps<Props>();
8
8
 
9
9
  <template>
10
10
  <v-progress-linear
11
- color="white"
11
+ color="on-background"
12
12
  height="10"
13
13
  indeterminate
14
14
  rounded
15
- bg-color="white"
15
+ bg-color="on-background"
16
16
  bg-opacity="0.15"
17
17
  class="custom-progress-glow mt-4 mt-sm-8"
18
18
  />
19
19
  </template>
20
20
 
21
21
  <style scoped>
22
+ .custom-progress-glow :deep(.v-progress-linear__indeterminate .v-progress-linear__indeterminate) {
23
+ background: var(--ogw-loading-progress, rgb(var(--v-theme-on-background))) !important;
24
+ }
25
+
22
26
  .custom-progress-glow :deep(.v-progress-linear__indeterminate) {
23
- box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
27
+ box-shadow: var(--ogw-loading-progress-glow, 0 0 15px rgba(255, 255, 255, 0.4));
24
28
  }
25
29
  </style>
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ import ChromeTheme from "@ogw_front/components/ChromeTheme.vue";
2
3
  import { Status } from "@ogw_front/utils/status";
3
4
  import { useInfraStore } from "@ogw_front/stores/infra";
4
5
 
@@ -47,62 +48,69 @@ onUnmounted(() => {
47
48
  <template>
48
49
  <div v-bind="$attrs">
49
50
  <Teleport to="body">
50
- <div
51
- v-if="show"
52
- class="transition-swing overflow-y-auto"
53
- style="
54
- position: fixed;
55
- inset: 0;
56
- width: 100vw;
57
- height: 100vh;
58
- background: rgba(0, 0, 0, 0.45);
59
- backdrop-filter: blur(10px);
60
- pointer-events: auto;
61
- z-index: 3;
62
- "
63
- >
51
+ <ChromeTheme>
64
52
  <div
53
+ v-if="show"
54
+ class="ogw-loading transition-swing overflow-y-auto"
65
55
  style="
66
56
  position: fixed;
67
57
  inset: 0;
68
- background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 0);
69
- background-size: 40px 40px;
70
- background-position: center;
71
- pointer-events: none;
72
- z-index: 0;
58
+ width: 100vw;
59
+ height: 100vh;
60
+ background: var(--ogw-loading-overlay, rgba(0, 0, 0, 0.45));
61
+ backdrop-filter: var(--ogw-loading-backdrop, blur(10px));
62
+ pointer-events: auto;
63
+ z-index: 3;
73
64
  "
74
- />
75
-
76
- <div class="d-flex align-center justify-center pa-6" style="min-height: 100%">
65
+ >
77
66
  <div
78
- class="d-flex flex-column align-center text-center w-100"
79
- style="max-width: 650px; gap: clamp(1rem, 4vh, 2rem)"
80
- >
81
- <LoadingHeader :logo="logo" />
82
- <LoadingEcoMessages :app-name="appName" />
83
- <LoadingProgress :progress="progress" />
67
+ style="
68
+ position: fixed;
69
+ inset: 0;
70
+ background-image: radial-gradient(
71
+ var(--ogw-loading-dots, rgba(255, 255, 255, 0.08)) 1px,
72
+ transparent 0
73
+ );
74
+ background-size: 40px 40px;
75
+ background-position: center;
76
+ pointer-events: none;
77
+ z-index: 0;
78
+ "
79
+ />
84
80
 
85
- <div class="d-flex flex-wrap justify-center gap-4 w-100 mt-4">
86
- <v-chip
87
- v-for="store in extensionStores"
88
- :key="store.$id"
89
- :color="store.status === Status.CONNECTED ? 'success' : 'primary'"
90
- variant="flat"
91
- >
92
- <v-icon
93
- start
94
- :icon="
95
- store.status === Status.CONNECTED ? 'mdi-check-circle' : 'mdi-loading mdi-spin'
96
- "
97
- />
98
- {{ store.$id.charAt(0).toUpperCase() + store.$id.slice(1) }}
99
- </v-chip>
100
- </div>
81
+ <div class="d-flex align-center justify-center pa-6" style="min-height: 100%">
82
+ <div
83
+ class="d-flex flex-column align-center text-center w-100"
84
+ style="max-width: 650px; gap: clamp(1rem, 4vh, 2rem)"
85
+ >
86
+ <LoadingHeader :logo="logo" />
87
+ <LoadingEcoMessages :app-name="appName" />
88
+ <LoadingProgress :progress="progress" />
101
89
 
102
- <LoadingFooter />
90
+ <div class="d-flex flex-wrap justify-center gap-4 w-100 mt-4">
91
+ <v-chip
92
+ v-for="store in extensionStores"
93
+ :key="store.$id"
94
+ :color="store.status === Status.CONNECTED ? 'success' : 'primary'"
95
+ variant="flat"
96
+ >
97
+ <v-icon
98
+ start
99
+ :icon="
100
+ store.status === Status.CONNECTED
101
+ ? 'ph-check-circle'
102
+ : 'ph-circle-notch ogw-spin'
103
+ "
104
+ />
105
+ {{ store.$id.charAt(0).toUpperCase() + store.$id.slice(1) }}
106
+ </v-chip>
107
+ </div>
108
+
109
+ <LoadingFooter />
110
+ </div>
103
111
  </div>
104
112
  </div>
105
- </div>
113
+ </ChromeTheme>
106
114
  </Teleport>
107
115
  </div>
108
116
  </template>
@@ -5,7 +5,7 @@ import { matchExpectedFiles, uploadPath } from "@ogw_front/utils/upload_path";
5
5
  import DragAndDrop from "@ogw_front/components/DragAndDrop.vue";
6
6
  import FetchingData from "@ogw_front/components/FetchingData.vue";
7
7
  import FileUploader from "@ogw_front/components/FileUploader.vue";
8
- import type { GeodeObjectType } from "@ogw_front/types/identifiers";
8
+ import type { GeodeObjectType } from "@geode/opengeodeweb-microservice/data_types";
9
9
  import { useBackStore } from "@ogw_front/stores/back";
10
10
  import { useFeedbackStore } from "@ogw_front/stores/feedback";
11
11
 
@@ -239,7 +239,7 @@ await missing_files();
239
239
  </v-row>
240
240
  <v-row v-if="missing.mandatory_files.length" align="center">
241
241
  <v-col cols="auto" class="pa-0">
242
- <v-icon color="warning" icon="mdi-file-document-alert-outline" />
242
+ <v-icon color="warning" icon="ph-file-dashed" />
243
243
  </v-col>
244
244
  <p class="pa-1">Mandatory files:</p>
245
245
  <v-col v-for="mandatory_file in missing.mandatory_files" cols="auto" class="pa-0">
@@ -248,7 +248,7 @@ await missing_files();
248
248
  </v-row>
249
249
  <v-row v-if="missing.additional_files.length" align="center">
250
250
  <v-col cols="auto" class="pa-0">
251
- <v-icon color="accent" icon="mdi-file-document-plus-outline" />
251
+ <v-icon color="accent" icon="ph-file-plus" />
252
252
  </v-col>
253
253
  <p class="pa-1">Additional files:</p>
254
254
  <v-col v-for="additional_file in missing.additional_files" cols="auto" class="pa-0">
@@ -259,7 +259,7 @@ await missing_files();
259
259
  </template>
260
260
  <v-row v-else-if="mandatory_files.length" align="center">
261
261
  <v-col cols="auto" class="pa-0">
262
- <v-icon color="warning" icon="mdi-file-document-alert-outline" />
262
+ <v-icon color="warning" icon="ph-file-dashed" />
263
263
  </v-col>
264
264
  <p class="pa-1">Mandatory files:</p>
265
265
  <v-col v-for="mandatory_file in mandatory_files" cols="auto" class="pa-0">
@@ -268,7 +268,7 @@ await missing_files();
268
268
  </v-row>
269
269
  <v-row v-if="!(checked_filenames.length > 1) && additional_files.length" align="center">
270
270
  <v-col cols="auto" class="pa-0">
271
- <v-icon color="accent" icon="mdi-file-document-plus-outline" />
271
+ <v-icon color="accent" icon="ph-file-plus" />
272
272
  </v-col>
273
273
  <p class="pa-1">Additional files:</p>
274
274
  <v-col v-for="additional_file in additional_files" cols="auto" class="pa-0">
@@ -7,8 +7,8 @@ import {
7
7
  resolveAllowedObjectsPerFile,
8
8
  } from "@ogw_shared/utils/response_handlers/load.js";
9
9
  import FetchingData from "@ogw_front/components/FetchingData.vue";
10
- import type { GeodeObjectType } from "@ogw_front/types/identifiers";
11
- import { geode_objects } from "@ogw_front/assets/geode_objects";
10
+ import type { GeodeObjectType } from "@geode/opengeodeweb-microservice/data_types";
11
+ import { geodeObjectImage } from "@ogw_front/assets/geode_objects";
12
12
  import schemas from "@geode/opengeodeweb-back/opengeodeweb_back_typed_schemas.js";
13
13
  import { useBackStore } from "@ogw_front/stores/back";
14
14
 
@@ -94,15 +94,8 @@ function groupPendingFiles(pending: readonly FileAllowedObjects[]): PendingGroup
94
94
  return [...groups.values()];
95
95
  }
96
96
 
97
- // The geode_objects lookup is fixed and keyed by known object type names; a missing entry only happens if the backend reports a type this table doesn't know about.
98
97
  function geodeObjectTooltip(key: string, isLoadable: boolean): string {
99
- return isLoadable
100
- ? (geode_objects[key]?.tooltip ?? key)
101
- : `Data not loadable with this class (${key})`;
102
- }
103
-
104
- function geodeObjectImage(key: string): string | undefined {
105
- return geode_objects[key]?.image;
98
+ return isLoadable ? key : `Data not loadable with this class (${key})`;
106
99
  }
107
100
 
108
101
  function showCommonGeodeObjects(
@@ -210,7 +203,7 @@ await getAllowedGeodeObjects();
210
203
  </v-chip>
211
204
  </v-row>
212
205
  <v-row v-if="skippedFiles.length" align="center">
213
- <v-icon color="warning" icon="mdi-file-alert-outline" class="ma-1" />
206
+ <v-icon color="warning" icon="ph-file-x" class="ma-1" />
214
207
  <p class="pa-1">Not supported, will be skipped:</p>
215
208
  <v-chip v-for="filename in skippedFiles" :key="filename" class="ma-1" size="small">
216
209
  {{ filename }}
@@ -229,7 +222,7 @@ await getAllowedGeodeObjects();
229
222
  Choose the data type for: {{ pendingFilenames.join(", ") }}
230
223
  </v-col>
231
224
  <v-col v-for="(value, key) in allowedGeodeObjects" :key="key" cols="3" md="4">
232
- <v-tooltip :text="geodeObjectTooltip(key, Boolean(value['is_loadable']))" location="bottom">
225
+ <v-tooltip :text="geodeObjectTooltip(key, Boolean(value?.is_loadable))" location="bottom">
233
226
  <template v-slot:activator="{ props }">
234
227
  <span v-bind="props">
235
228
  <v-card
@@ -238,13 +231,13 @@ await getAllowedGeodeObjects();
238
231
  hover
239
232
  rounded
240
233
  @click="setGeodeObject(key)"
241
- :disabled="!value['is_loadable']"
242
- :elevation="value['is_loadable'] ? 5 : 3"
234
+ :disabled="!value?.is_loadable"
235
+ :elevation="value?.is_loadable ? 5 : 3"
243
236
  >
244
237
  <v-img
245
238
  :src="geodeObjectImage(key)"
246
239
  cover
247
- :class="!value['is_loadable'] ? 'disabled' : undefined"
240
+ :class="!value?.is_loadable ? 'disabled' : undefined"
248
241
  />
249
242
  </v-card>
250
243
  </span>
@@ -49,9 +49,7 @@ await get_packages_versions();
49
49
  <br />
50
50
  </span>
51
51
  <template #activator="{ props }">
52
- <v-icon v-bind="props" color="primary" class="justify-right">
53
- mdi-information-outline
54
- </v-icon>
52
+ <v-icon v-bind="props" color="primary" class="justify-right"> ph-info </v-icon>
55
53
  </template>
56
54
  </v-tooltip>
57
55
  </v-container>
@@ -17,7 +17,7 @@ const label = computed<string>(() =>
17
17
  class="project-crs text-none"
18
18
  size="small"
19
19
  variant="tonal"
20
- prepend-icon="mdi-earth"
20
+ prepend-icon="ph-globe-hemisphere-west"
21
21
  :disabled="!crsStore.crsEditEnabled"
22
22
  v-tooltip="formatCrs(crsStore.projectCrs)"
23
23
  @click="crsStore.requestProjectCrsEdit()"
@@ -10,8 +10,10 @@ import viewer_schemas, {
10
10
  import ToolPanel from "@ogw_front/components/ToolPanel.vue";
11
11
  import fileDownload from "js-file-download";
12
12
  import { useClipboardItems } from "@vueuse/core";
13
+ import { useDataStyleStore } from "@ogw_front/stores/data_style";
13
14
  import { useFeedbackStore } from "@ogw_front/stores/feedback";
14
15
  import { useViewerStore } from "@ogw_front/stores/viewer";
16
+ import { withViewerMarker } from "@ogw_front/composables/orientation_overlay";
15
17
 
16
18
  const DEFAULT_PANEL_WIDTH = 260;
17
19
  const EXTENSION_SELECT_WIDTH = 80;
@@ -68,6 +70,7 @@ async function deliverScreenshot(blob: Blob | Uint8Array, current_filename: stri
68
70
 
69
71
  async function takeSceneScreenshot(current_filename: string): Promise<void> {
70
72
  const viewerStore = useViewerStore();
73
+ const dataStyleStore = useDataStyleStore();
71
74
  const schema = viewer_schemas.opengeodeweb_viewer.viewer.take_screenshot;
72
75
  const params = {
73
76
  filename: current_filename,
@@ -75,16 +78,23 @@ async function takeSceneScreenshot(current_filename: string): Promise<void> {
75
78
  include_background: include_background.value,
76
79
  ...screenshot_size.value,
77
80
  };
78
- await viewerStore.request(
79
- {
80
- schema,
81
- params,
82
- },
83
- {
84
- // `blob` is the image file content, received as binary (Uint8Array) through wslink
85
- response_function: async ({ blob }) => {
86
- await deliverScreenshot(blob, current_filename);
87
- },
81
+ // The front orientation overlay is not part of the viewer image: the viewer draws its marker for the capture
82
+ await withViewerMarker(
83
+ dataStyleStore.sceneStyle.orientation_widget,
84
+ (args) => viewerStore.request(args),
85
+ async () => {
86
+ await viewerStore.request(
87
+ {
88
+ schema,
89
+ params,
90
+ },
91
+ {
92
+ // `blob` is the image file content, received as binary (Uint8Array) through wslink
93
+ response_function: async ({ blob }) => {
94
+ await deliverScreenshot(blob, current_filename);
95
+ },
96
+ },
97
+ );
88
98
  },
89
99
  );
90
100
  }
@@ -202,7 +212,7 @@ function handleClose(): void {
202
212
  >
203
213
  <v-btn
204
214
  value="file"
205
- prepend-icon="mdi-file-download-outline"
215
+ prepend-icon="ph-file-arrow-down"
206
216
  size="small"
207
217
  data-testid="screenshotFileButton"
208
218
  class="text-caption text-none"
@@ -212,7 +222,7 @@ function handleClose(): void {
212
222
  <v-btn
213
223
  data-testid="screenshotClipboardButton"
214
224
  value="clipboard"
215
- prepend-icon="mdi-content-copy"
225
+ prepend-icon="ph-copy"
216
226
  size="small"
217
227
  class="text-caption text-none"
218
228
  >
@@ -286,7 +296,7 @@ function handleClose(): void {
286
296
  />
287
297
  </v-col>
288
298
  <span class="text-caption">px</span>
289
- <v-icon icon="mdi-lock" size="small" class="ml-1" title="Aspect ratio locked to the view" />
299
+ <v-icon icon="ph-lock" size="small" class="ml-1" title="Aspect ratio locked to the view" />
290
300
  </v-row>
291
301
 
292
302
  <v-row dense class="flex-nowrap">
@@ -321,7 +331,6 @@ function handleClose(): void {
321
331
  <v-btn
322
332
  variant="text"
323
333
  size="small"
324
- color="white"
325
334
  data-testid="screenshotCancelButton"
326
335
  class="text-caption text-none"
327
336
  @click="handleClose"
@@ -334,7 +343,6 @@ function handleClose(): void {
334
343
  size="small"
335
344
  class="text-caption text-none"
336
345
  :disabled="(screenshot_type === 'file' && !filename) || !output_extension"
337
- color="white"
338
346
  @click="takeScreenshot()"
339
347
  >
340
348
  Screenshot
@@ -17,14 +17,12 @@ const emit = defineEmits<Emits>();
17
17
  <v-text-field
18
18
  :model-value="modelValue"
19
19
  @update:model-value="emit('update:modelValue', $event)"
20
- prepend-inner-icon="mdi-magnify"
20
+ prepend-inner-icon="ph-magnifying-glass"
21
21
  :label="label"
22
22
  variant="outlined"
23
23
  density="compact"
24
24
  hide-details
25
25
  bg-color="transparent"
26
- color="white"
27
- base-color="white"
28
26
  v-bind="$attrs"
29
27
  >
30
28
  <template v-for="(_, slot) in $slots" v-slot:[slot]="scope">
@@ -32,7 +32,6 @@ const emit = defineEmits<Emits>();
32
32
  :max="maxIndex"
33
33
  :step="1"
34
34
  color="primary"
35
- track-color="grey-lighten-2"
36
35
  density="compact"
37
36
  hide-details
38
37
  />
@@ -40,7 +39,7 @@ const emit = defineEmits<Emits>();
40
39
  <v-col cols="auto">
41
40
  <v-btn
42
41
  data-testid="removeSliceButton"
43
- icon="mdi-trash-can-outline"
42
+ icon="ph-trash"
44
43
  size="x-small"
45
44
  variant="text"
46
45
  color="error"
@@ -59,7 +59,7 @@ const sortedChips = computed<string[]>(() => {
59
59
  <p
60
60
  tag="h3"
61
61
  class="text-subtitle-1 font-weight-bold mb-0 transition-swing"
62
- :class="current_step_index === stepIndex ? 'text-primary' : 'text-grey-darken-1'"
62
+ :class="current_step_index === stepIndex ? 'text-primary' : 'text-medium-emphasis'"
63
63
  >
64
64
  {{ steps[stepIndex]!.step_title }}
65
65
  </p>
@@ -25,10 +25,12 @@ const { steps, current_step_index } = toRefs(state) as unknown as {
25
25
  <v-card-item class="flex-shrink-0 pa-0">
26
26
  <div class="px-8 pt-8 pb-4">
27
27
  <div class="d-flex align-center mb-2">
28
- <v-icon icon="mdi-file-upload-outline" class="mr-3 title-text" size="32" />
28
+ <v-icon icon="ph-file-arrow-up" class="mr-3 title-text" size="32" />
29
29
  <h2 class="title-text">Import Data</h2>
30
30
  </div>
31
- <p class="text-white text-body-1">Select and configure your files for a seamless import.</p>
31
+ <p class="text-medium-emphasis text-body-1">
32
+ Select and configure your files for a seamless import.
33
+ </p>
32
34
  </div>
33
35
  </v-card-item>
34
36
 
@@ -55,26 +57,26 @@ const { steps, current_step_index } = toRefs(state) as unknown as {
55
57
  }
56
58
 
57
59
  .custom-stepper :deep(.v-stepper-vertical-item__content) {
58
- background: rgba(255, 255, 255, 0.03) !important;
60
+ background: rgba(var(--v-theme-on-surface), 0.04) !important;
59
61
  border-radius: 12px;
60
62
  margin: 8px 16px 16px 40px !important;
61
63
  padding: 16px !important;
62
- border: 1px solid rgba(255, 255, 255, 0.05);
64
+ border: 1px solid rgba(var(--v-border-color), var(--v-border-opacity));
63
65
  }
64
66
 
65
67
  .custom-stepper :deep(.v-avatar) {
66
- border: 1px solid rgba(255, 255, 255, 0.2);
67
- background: rgba(255, 255, 255, 0.1) !important;
68
- color: white !important;
68
+ border: 1px solid rgba(var(--v-border-color), var(--v-border-opacity));
69
+ background: rgba(var(--v-theme-on-surface), 0.08) !important;
70
+ color: rgb(var(--v-theme-on-surface)) !important;
69
71
  }
70
72
 
71
73
  .custom-stepper :deep(.v-stepper-vertical-item--active .v-avatar) {
72
- background: #3c9983 !important;
73
- border-color: #3c9983;
74
- color: #0a0f0e !important;
74
+ background: rgb(var(--v-theme-primary)) !important;
75
+ border-color: rgb(var(--v-theme-primary));
76
+ color: rgb(var(--v-theme-on-primary)) !important;
75
77
  }
76
78
 
77
79
  .custom-stepper :deep(.v-stepper-vertical-item__connector) {
78
- border-color: rgba(255, 255, 255, 0.1) !important;
80
+ border-color: rgba(var(--v-border-color), var(--v-border-opacity)) !important;
79
81
  }
80
82
  </style>
@@ -149,7 +149,7 @@ defineExpose({ resetRange });
149
149
  <v-col cols="auto">
150
150
  <v-btn
151
151
  data-testid="removeThresholdCardButton"
152
- icon="mdi-trash-can-outline"
152
+ icon="ph-trash"
153
153
  size="x-small"
154
154
  variant="text"
155
155
  color="error"
@@ -1,7 +1,7 @@
1
1
  <script setup lang="ts">
2
2
  import type { Threshold, ThresholdAttribute } from "@ogw_internal/stores/hybrid_viewer/filters";
3
3
  import type { AttributeSource } from "@ogw_front/utils/threshold";
4
- import type { DataId } from "@ogw_front/types/identifiers";
4
+ import type { DataId } from "@geode/opengeodeweb-microservice/schema_types";
5
5
  import ThresholdCard from "@ogw_front/components/ThresholdCard.vue";
6
6
  import ToolPanel from "@ogw_front/components/ToolPanel.vue";
7
7
  import { fetchSources } from "@ogw_front/utils/threshold_sources";
@@ -140,7 +140,7 @@ watch(show, (visible) => {
140
140
  size="x-small"
141
141
  variant="tonal"
142
142
  color="primary"
143
- icon="mdi-plus"
143
+ icon="ph-plus"
144
144
  @click="addThreshold"
145
145
  />
146
146
  </v-col>
@@ -1,12 +1,9 @@
1
1
  <script setup lang="ts">
2
2
  import schemas from "@geode/opengeodeweb-back/opengeodeweb_back_typed_schemas.js";
3
3
 
4
- import type {
5
- DataIdentified,
6
- GeodeObjectType,
7
- GeodeObjectTyped,
8
- } from "@ogw_front/types/identifiers";
4
+ import type { DataIdentified, GeodeObjectTyped } from "@ogw_front/types/identifiers";
9
5
  import FetchingData from "@ogw_front/components/FetchingData.vue";
6
+ import type { GeodeObjectType } from "@geode/opengeodeweb-microservice/data_types";
10
7
  import { useBackStore } from "@ogw_front/stores/back";
11
8
  import { useDataStore } from "@ogw_front/stores/data";
12
9
 
@@ -66,7 +63,7 @@ await get_targets();
66
63
  data-testid="timeSeriesTarget"
67
64
  :title="target.name"
68
65
  :subtitle="target.geode_object_type"
69
- prepend-icon="mdi-cube-outline"
66
+ prepend-icon="ph-cube"
70
67
  @click="select(target)"
71
68
  />
72
69
  </v-list>