@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.
- package/.build/shared/utils/response_handlers/load.js +5 -2
- package/.build/tests/browser/helpers/object_trees/main_object_tree.js +3 -3
- package/.build/tests/browser/helpers/object_trees/model_components_object_tree.js +2 -2
- package/.build/tests/browser/suites/model/surfaces.js +1 -1
- package/app/app.config.ts +28 -0
- package/app/assets/css/main.css +11 -0
- package/app/assets/geode_objects.ts +37 -108
- package/app/assets/img/geode_objects/HorizonStack3D.svg +10 -0
- package/app/components/ActionButton.vue +9 -2
- package/app/components/CameraManager/List.vue +6 -6
- package/app/components/CameraManager.vue +0 -1
- package/app/components/CameraOrientation.vue +12 -7
- package/app/components/ChromeTheme.vue +20 -0
- package/app/components/ClippingPlaneCard.vue +2 -3
- package/app/components/ClippingPlanes.vue +2 -2
- package/app/components/CrsSelector.vue +8 -8
- package/app/components/DeleteDialog.vue +12 -16
- package/app/components/DragAndDropInternal/DragAndDropInline.vue +7 -7
- package/app/components/DragAndDropInternal/DragAndDropOverlay.vue +87 -82
- package/app/components/ExtensionSelector.vue +21 -14
- package/app/components/FactorFilterPanel.vue +0 -1
- package/app/components/FeedBack/ErrorBanner.vue +8 -9
- package/app/components/FeedBack/Snackers.vue +5 -7
- package/app/components/FileUploader.vue +13 -21
- package/app/components/GlassCard.vue +3 -1
- package/app/components/HybridRenderingView.vue +2 -0
- package/app/components/HybridViewerTooltip.vue +4 -4
- package/app/components/Launcher.vue +1 -1
- package/app/components/Loading/EcoMessages.vue +17 -11
- package/app/components/Loading/Footer.vue +2 -2
- package/app/components/Loading/Header.vue +9 -4
- package/app/components/Loading/Progress.vue +7 -3
- package/app/components/Loading.vue +54 -46
- package/app/components/MissingFilesSelector.vue +5 -5
- package/app/components/ObjectSelector.vue +8 -15
- package/app/components/PackagesVersions.vue +1 -3
- package/app/components/ProjectCrs.vue +1 -1
- package/app/components/Screenshot.vue +23 -15
- package/app/components/SearchBar.vue +1 -3
- package/app/components/SliceCard.vue +1 -2
- package/app/components/Step.vue +1 -1
- package/app/components/Stepper.vue +13 -11
- package/app/components/ThresholdCard.vue +1 -1
- package/app/components/ThresholdFilter.vue +2 -2
- package/app/components/TimeSeriesTargetSelector.vue +3 -6
- package/app/components/ToolPanel.vue +3 -9
- package/app/components/Viewer/Basemap/CropOptions.vue +1 -1
- package/app/components/Viewer/Basemap/OpacityOptions.vue +1 -1
- package/app/components/Viewer/ContextMenu/CenterButton.vue +9 -3
- package/app/components/Viewer/ContextMenu/ContextMenu.vue +1 -1
- package/app/components/Viewer/ContextMenu/ContextMenuItem.vue +17 -6
- package/app/components/Viewer/ContextMenu/InfoCard.vue +12 -13
- package/app/components/Viewer/EdgedCurve/SpecificEdgesColoring.vue +12 -9
- package/app/components/Viewer/EdgedCurve/SpecificEdgesOptions.vue +2 -2
- package/app/components/Viewer/Generic/Mesh/CellsColoring.vue +12 -9
- package/app/components/Viewer/Generic/Mesh/CellsOptions.vue +1 -1
- package/app/components/Viewer/Generic/Mesh/EdgesColoring.vue +12 -9
- package/app/components/Viewer/Generic/Mesh/EdgesOptions.vue +3 -3
- package/app/components/Viewer/Generic/Mesh/PointsOptions.vue +12 -8
- package/app/components/Viewer/Generic/Mesh/PolygonsColoring.vue +12 -9
- package/app/components/Viewer/Generic/Mesh/PolygonsOptions.vue +1 -1
- package/app/components/Viewer/Generic/Mesh/PolyhedraColoring.vue +12 -9
- package/app/components/Viewer/Generic/Mesh/PolyhedraOptions.vue +1 -1
- package/app/components/Viewer/Generic/Model/BlocksOptions.vue +16 -17
- package/app/components/Viewer/Generic/Model/ComponentEdgesOptions.vue +11 -6
- package/app/components/Viewer/Generic/Model/ComponentPointsOptions.vue +11 -6
- package/app/components/Viewer/Generic/Model/CornerComponentOptions.vue +7 -8
- package/app/components/Viewer/Generic/Model/CornersTypeOptions.vue +7 -8
- package/app/components/Viewer/Generic/Model/LineComponentOptions.vue +9 -10
- package/app/components/Viewer/Generic/Model/LinesTypeOptions.vue +9 -10
- package/app/components/Viewer/Generic/Model/ModelEdgesCard.vue +2 -2
- package/app/components/Viewer/Generic/Model/ModelPointsCard.vue +1 -1
- package/app/components/Viewer/Generic/Model/ModelStyleCard.vue +3 -4
- package/app/components/Viewer/Generic/Model/SurfacesOptions.vue +16 -17
- package/app/components/Viewer/ObjectTree/Base/CommonTreeView.vue +4 -4
- package/app/components/Viewer/ObjectTree/Base/ComponentRelations.vue +1 -1
- package/app/components/Viewer/ObjectTree/Base/Controls.vue +22 -18
- package/app/components/Viewer/ObjectTree/Base/ItemLabel.vue +11 -11
- package/app/components/Viewer/ObjectTree/Base/StickyHeader.vue +3 -3
- package/app/components/Viewer/ObjectTree/Base/TreeRow.vue +6 -9
- package/app/components/Viewer/ObjectTree/Box.vue +20 -21
- package/app/components/Viewer/ObjectTree/Layout.vue +28 -25
- package/app/components/Viewer/ObjectTree/Views/GlobalObjects.vue +4 -3
- package/app/components/Viewer/ObjectTree/Views/ModelTree.vue +1 -1
- package/app/components/Viewer/Options/AttributeRangeSelector.vue +1 -1
- package/app/components/Viewer/Options/AttributeSelector.vue +1 -1
- package/app/components/Viewer/Options/ColorMapList.vue +7 -9
- package/app/components/Viewer/Options/ColorMapPicker.vue +2 -2
- package/app/components/Viewer/Options/ColorPicker.vue +9 -9
- package/app/components/Viewer/Options/ColoringTypeSelector.vue +9 -9
- package/app/components/Viewer/Options/NoDataColorInfo.vue +4 -4
- package/app/components/Viewer/Options/Sliders/Opacity.vue +1 -1
- package/app/components/Viewer/Options/Sliders/Slider.vue +1 -1
- package/app/components/Viewer/Options/TextureItem.vue +11 -8
- package/app/components/Viewer/Options/TexturesSelector.vue +3 -3
- package/app/components/Viewer/Options/VisibilitySwitch.vue +1 -1
- package/app/components/Viewer/OrientationCompass.vue +223 -0
- package/app/components/Viewer/OrientationGlobe.vue +376 -0
- package/app/components/Viewer/OrientationOverlay.vue +47 -0
- package/app/components/Viewer/OverlappingObjectsPicker.vue +10 -7
- package/app/components/Viewer/PointSet/SpecificPointsOptions.vue +4 -5
- package/app/components/Viewer/Scene/BackgroundOptions.vue +3 -3
- package/app/components/Viewer/Scene/OrientationWidgetOptions.vue +1 -1
- package/app/components/Viewer/Scene/TextOptions.vue +3 -3
- package/app/components/Viewer/Solid/SpecificPolyhedraColoring.vue +12 -12
- package/app/components/Viewer/Solid/SpecificPolyhedraOptions.vue +1 -1
- package/app/components/Viewer/Surface/PolygonsColoring.vue +12 -12
- package/app/components/Viewer/Surface/PolygonsOptions.vue +1 -1
- package/app/components/Viewer/ToolActiveChip.vue +1 -1
- package/app/components/Viewer/Ui.vue +2 -2
- package/app/components/csv-preview/CsvPreviewer.vue +17 -24
- package/app/components/csv-preview/CsvSettings.vue +6 -6
- package/app/components/csv-preview/CsvTable.vue +11 -9
- package/app/composables/attribute_selector.ts +1 -1
- package/app/composables/batch_style.ts +3 -3
- package/app/composables/batch_style_model.ts +1 -1
- package/app/composables/chrome_theme.ts +23 -0
- package/app/composables/clipping_slices.ts +2 -1
- package/app/composables/hover_highlight.ts +10 -7
- package/app/composables/live_data_item.ts +1 -1
- package/app/composables/model_menu_context.ts +11 -4
- package/app/composables/orientation_overlay.ts +133 -0
- package/app/composables/project_manager_helpers/reset.ts +2 -0
- package/app/composables/project_manager_helpers/types.ts +2 -2
- package/app/composables/use_adaptive_styles.ts +42 -21
- package/app/composables/use_overlapping_picker.ts +10 -8
- package/app/composables/view_toolbar_options.ts +7 -7
- package/app/composables/view_toolbar_tool_options.ts +9 -11
- package/app/composables/viewer_context_menu.ts +4 -2
- package/app/composables/viewer_reset.ts +54 -0
- package/app/plugins/chrome_theme.ts +10 -0
- package/app/plugins/phosphor_icons.ts +13 -0
- package/app/plugins/scene_colors.ts +10 -0
- package/app/stores/basemap_helpers/builds.ts +2 -2
- package/app/stores/basemap_helpers/viewer.ts +1 -1
- package/app/stores/crs.ts +12 -12
- package/app/stores/data.ts +4 -5
- package/app/stores/data_helpers/mesh.ts +2 -1
- package/app/stores/data_style.ts +4 -3
- package/app/stores/hybrid_viewer.ts +5 -3
- package/app/stores/menu.ts +18 -12
- package/app/stores/treeview.ts +5 -4
- package/app/stores/viewer.ts +2 -0
- package/app/types/attribute.ts +5 -21
- package/app/types/identifiers.ts +5 -15
- package/app/utils/attribute_range.ts +1 -1
- package/app/utils/attributes.ts +2 -1
- package/app/utils/clipping_planes.ts +1 -1
- package/app/utils/color_picker.ts +3 -3
- package/app/utils/crs.ts +6 -6
- package/app/utils/default_styles/constants.ts +17 -22
- package/app/utils/default_styles/index.ts +24 -3
- package/app/utils/default_styles/mesh_components.ts +15 -11
- package/app/utils/default_styles/meshes.ts +1 -1
- package/app/utils/default_styles/model_components.ts +14 -10
- package/app/utils/default_styles/models.ts +1 -1
- package/app/utils/import_workflow.ts +3 -1
- package/app/utils/legacy_data_id.ts +2 -1
- package/app/utils/orientation_compass.ts +103 -0
- package/app/utils/orientation_gizmo.ts +73 -0
- package/app/utils/orientation_globe.ts +145 -0
- package/app/utils/orientation_strata.ts +119 -0
- package/app/utils/phosphor_icons.ts +105 -0
- package/app/utils/slice.ts +2 -1
- package/app/utils/threshold_sources.ts +1 -1
- package/internal/stores/data_style/attribute_types.ts +6 -6
- package/internal/stores/data_style/mesh/base_style.ts +6 -7
- package/internal/stores/data_style/mesh/cells/cell.ts +6 -6
- package/internal/stores/data_style/mesh/cells/cell_attribute.ts +8 -6
- package/internal/stores/data_style/mesh/cells/cell_config.ts +5 -6
- package/internal/stores/data_style/mesh/cells/color.ts +6 -6
- package/internal/stores/data_style/mesh/cells/opacity.ts +3 -4
- package/internal/stores/data_style/mesh/cells/vertex.ts +6 -6
- package/internal/stores/data_style/mesh/cells/vertex_attribute.ts +8 -6
- package/internal/stores/data_style/mesh/cells/vertex_config.ts +5 -6
- package/internal/stores/data_style/mesh/cells/visibility.ts +1 -1
- package/internal/stores/data_style/mesh/edges/color.ts +6 -6
- package/internal/stores/data_style/mesh/edges/edge.ts +6 -6
- package/internal/stores/data_style/mesh/edges/edge_attribute.ts +8 -6
- package/internal/stores/data_style/mesh/edges/edge_config.ts +5 -6
- package/internal/stores/data_style/mesh/edges/opacity.ts +3 -4
- package/internal/stores/data_style/mesh/edges/vertex.ts +6 -6
- package/internal/stores/data_style/mesh/edges/vertex_attribute.ts +8 -6
- package/internal/stores/data_style/mesh/edges/vertex_config.ts +5 -6
- package/internal/stores/data_style/mesh/edges/visibility.ts +1 -1
- package/internal/stores/data_style/mesh/edges/width.ts +6 -6
- package/internal/stores/data_style/mesh/index.ts +3 -4
- package/internal/stores/data_style/mesh/points/color.ts +6 -6
- package/internal/stores/data_style/mesh/points/common.ts +1 -1
- package/internal/stores/data_style/mesh/points/opacity.ts +3 -4
- package/internal/stores/data_style/mesh/points/size.ts +6 -6
- package/internal/stores/data_style/mesh/points/vertex.ts +6 -6
- package/internal/stores/data_style/mesh/points/vertex_attribute.ts +8 -6
- package/internal/stores/data_style/mesh/points/vertex_config.ts +5 -6
- package/internal/stores/data_style/mesh/points/visibility.ts +1 -1
- package/internal/stores/data_style/mesh/polygons/color.ts +6 -6
- package/internal/stores/data_style/mesh/polygons/opacity.ts +3 -4
- package/internal/stores/data_style/mesh/polygons/polygon.ts +6 -6
- package/internal/stores/data_style/mesh/polygons/polygon_attribute.ts +8 -6
- package/internal/stores/data_style/mesh/polygons/polygon_config.ts +5 -6
- package/internal/stores/data_style/mesh/polygons/vertex.ts +6 -6
- package/internal/stores/data_style/mesh/polygons/vertex_attribute.ts +8 -6
- package/internal/stores/data_style/mesh/polygons/vertex_config.ts +5 -6
- package/internal/stores/data_style/mesh/polygons/visibility.ts +1 -1
- package/internal/stores/data_style/mesh/polyhedra/color.ts +6 -6
- package/internal/stores/data_style/mesh/polyhedra/opacity.ts +3 -4
- package/internal/stores/data_style/mesh/polyhedra/polyhedron.ts +6 -6
- package/internal/stores/data_style/mesh/polyhedra/polyhedron_attribute.ts +8 -6
- package/internal/stores/data_style/mesh/polyhedra/polyhedron_config.ts +5 -6
- package/internal/stores/data_style/mesh/polyhedra/vertex.ts +6 -6
- package/internal/stores/data_style/mesh/polyhedra/vertex_attribute.ts +8 -6
- package/internal/stores/data_style/mesh/polyhedra/vertex_config.ts +5 -6
- package/internal/stores/data_style/mesh/polyhedra/visibility.ts +1 -1
- package/internal/stores/data_style/model/blocks/color.ts +6 -6
- package/internal/stores/data_style/model/blocks/coloring_groups.ts +2 -2
- package/internal/stores/data_style/model/blocks/polyhedron.ts +12 -9
- package/internal/stores/data_style/model/blocks/vertex.ts +12 -9
- package/internal/stores/data_style/model/blocks/visibility.ts +1 -1
- package/internal/stores/data_style/model/color.ts +10 -11
- package/internal/stores/data_style/model/common.ts +3 -4
- package/internal/stores/data_style/model/corners/color.ts +6 -6
- package/internal/stores/data_style/model/corners/index.ts +2 -2
- package/internal/stores/data_style/model/corners/vertex.ts +12 -9
- package/internal/stores/data_style/model/corners/visibility.ts +1 -1
- package/internal/stores/data_style/model/edges/component.ts +13 -13
- package/internal/stores/data_style/model/edges/visibility.ts +1 -1
- package/internal/stores/data_style/model/edges/width.ts +6 -6
- package/internal/stores/data_style/model/lines/color.ts +6 -6
- package/internal/stores/data_style/model/lines/coloring_groups.ts +2 -2
- package/internal/stores/data_style/model/lines/edge.ts +12 -9
- package/internal/stores/data_style/model/lines/vertex.ts +12 -9
- package/internal/stores/data_style/model/lines/visibility.ts +1 -1
- package/internal/stores/data_style/model/points/component.ts +17 -13
- package/internal/stores/data_style/model/points/index.ts +2 -2
- package/internal/stores/data_style/model/points/size.ts +6 -6
- package/internal/stores/data_style/model/points/visibility.ts +1 -1
- package/internal/stores/data_style/model/surfaces/color.ts +6 -6
- package/internal/stores/data_style/model/surfaces/coloring_groups.ts +2 -2
- package/internal/stores/data_style/model/surfaces/polygon.ts +12 -9
- package/internal/stores/data_style/model/surfaces/vertex.ts +12 -9
- package/internal/stores/data_style/model/surfaces/visibility.ts +1 -1
- package/internal/stores/data_style/model/visibility.ts +1 -1
- package/internal/stores/data_style/scene.ts +31 -19
- package/internal/stores/data_style/time_step.ts +3 -2
- package/internal/stores/data_style/types.ts +3 -4
- package/internal/stores/hybrid_viewer/brightness.ts +14 -7
- package/internal/stores/hybrid_viewer/camera.ts +1 -1
- package/internal/stores/hybrid_viewer/constants.ts +1 -12
- package/internal/stores/hybrid_viewer/filters.ts +2 -2
- package/internal/stores/hybrid_viewer/highlight.ts +2 -1
- package/internal/stores/hybrid_viewer/scene.ts +11 -4
- package/nuxt.config.ts +9 -1
- package/package.json +4 -2
- package/shared/utils/response_handlers/load.ts +19 -11
- package/tests/browser/helpers/object_trees/main_object_tree.ts +3 -3
- package/tests/browser/helpers/object_trees/model_components_object_tree.ts +2 -2
- package/tests/browser/suites/model/surfaces.ts +1 -1
- package/tests/unit/helpers/phosphor_glyphs.ts +46 -0
- package/app/assets/viewer_svgs/camera-bookmark.svg +0 -64
- 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: "
|
|
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: "
|
|
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: "
|
|
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="
|
|
60
|
+
color="transparent"
|
|
61
61
|
elevation="0"
|
|
62
|
-
style="
|
|
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-
|
|
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="
|
|
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-
|
|
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
|
-
:
|
|
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-
|
|
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="
|
|
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="
|
|
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-
|
|
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-
|
|
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="
|
|
11
|
+
color="on-background"
|
|
12
12
|
height="10"
|
|
13
13
|
indeterminate
|
|
14
14
|
rounded
|
|
15
|
-
bg-color="
|
|
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
|
-
<
|
|
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
|
-
|
|
69
|
-
|
|
70
|
-
background
|
|
71
|
-
|
|
72
|
-
|
|
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
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
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
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
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
|
-
|
|
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
|
-
</
|
|
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 "@
|
|
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="
|
|
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="
|
|
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="
|
|
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="
|
|
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 "@
|
|
11
|
-
import {
|
|
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="
|
|
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
|
|
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
|
|
242
|
-
:elevation="value
|
|
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
|
|
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="
|
|
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
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
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="
|
|
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="
|
|
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="
|
|
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="
|
|
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="
|
|
42
|
+
icon="ph-trash"
|
|
44
43
|
size="x-small"
|
|
45
44
|
variant="text"
|
|
46
45
|
color="error"
|
package/app/components/Step.vue
CHANGED
|
@@ -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-
|
|
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="
|
|
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-
|
|
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(
|
|
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(
|
|
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(
|
|
67
|
-
background: rgba(
|
|
68
|
-
color:
|
|
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:
|
|
73
|
-
border-color:
|
|
74
|
-
color:
|
|
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(
|
|
80
|
+
border-color: rgba(var(--v-border-color), var(--v-border-opacity)) !important;
|
|
79
81
|
}
|
|
80
82
|
</style>
|
|
@@ -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 "@
|
|
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="
|
|
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="
|
|
66
|
+
prepend-icon="ph-cube"
|
|
70
67
|
@click="select(target)"
|
|
71
68
|
/>
|
|
72
69
|
</v-list>
|