@geode/opengeodeweb-front 10.44.0-rc.2 → 10.44.0-rc.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.build/server/utils/cleanup.js +7 -2
- package/.build/server/utils/microservices.js +9 -81
- package/.build/server/utils/microservices_process.js +85 -0
- package/.build/server/utils/typed_handler.js +5 -1
- package/.build/server/utils/ws_client.js +7 -2
- package/.build/shared/utils/fetch_raw.js +2 -2
- package/.build/shared/utils/parse_boolean.js +2 -1
- package/app/components/ClippingPlanes.vue +22 -78
- package/app/components/DragAndDrop.vue +16 -79
- package/app/components/FileSelector.vue +9 -6
- package/app/components/HybridViewerTooltip.vue +8 -2
- package/app/components/MissingFilesSelector.vue +10 -6
- package/app/components/ObjectSelector.vue +6 -3
- package/app/components/Screenshot.vue +9 -2
- package/app/components/ThresholdCard.vue +205 -0
- package/app/components/ThresholdFilter.vue +81 -216
- package/app/components/ViewToolbar.vue +15 -231
- package/app/components/Viewer/EdgedCurve/SpecificEdgesColoring.vue +209 -0
- package/app/components/Viewer/EdgedCurve/SpecificEdgesOptions.vue +3 -191
- package/app/components/Viewer/Generic/Mesh/CellsColoring.vue +228 -0
- package/app/components/Viewer/Generic/Mesh/CellsOptions.vue +3 -210
- package/app/components/Viewer/Generic/Mesh/EdgesColoring.vue +211 -0
- package/app/components/Viewer/Generic/Mesh/EdgesOptions.vue +3 -192
- package/app/components/Viewer/Generic/Mesh/PolygonsColoring.vue +234 -0
- package/app/components/Viewer/Generic/Mesh/PolygonsOptions.vue +3 -215
- package/app/components/Viewer/Generic/Mesh/PolyhedraColoring.vue +221 -0
- package/app/components/Viewer/Generic/Mesh/PolyhedraOptions.vue +3 -203
- package/app/components/Viewer/Generic/Model/BlocksOptions.vue +7 -5
- package/app/components/Viewer/Generic/Model/ComponentPointsOptions.vue +2 -18
- package/app/components/Viewer/Generic/Model/CornerComponentOptions.vue +145 -0
- package/app/components/Viewer/Generic/Model/CornersOptions.vue +13 -292
- package/app/components/Viewer/Generic/Model/CornersTypeOptions.vue +173 -0
- package/app/components/Viewer/Generic/Model/LineComponentOptions.vue +218 -0
- package/app/components/Viewer/Generic/Model/LinesOptions.vue +13 -425
- package/app/components/Viewer/Generic/Model/LinesTypeOptions.vue +229 -0
- package/app/components/Viewer/Generic/Model/ModelEdgesCard.vue +12 -10
- package/app/components/Viewer/Generic/Model/ModelPointsCard.vue +12 -10
- package/app/components/Viewer/Generic/Model/SurfacesOptions.vue +9 -5
- package/app/components/Viewer/ObjectTree/Base/ComponentRelations.vue +4 -1
- package/app/components/Viewer/ObjectTree/Views/GlobalObjects.vue +6 -1
- package/app/components/Viewer/Options/AttributeRangeSelector.vue +11 -4
- package/app/components/Viewer/Options/AttributeSelector.vue +40 -136
- package/app/components/Viewer/Options/ColorPicker.vue +4 -1
- package/app/components/Viewer/Options/ColoringTypeSelector.vue +36 -74
- package/app/components/Viewer/Options/ColormapQuickPicker.vue +13 -7
- package/app/components/Viewer/Options/NoDataColorInfo.vue +56 -0
- package/app/components/Viewer/Solid/SpecificPolyhedraColoring.vue +217 -0
- package/app/components/Viewer/Solid/SpecificPolyhedraOptions.vue +4 -199
- package/app/components/Viewer/Surface/PolygonsColoring.vue +231 -0
- package/app/components/Viewer/Surface/PolygonsOptions.vue +3 -213
- package/app/components/csv-preview/CsvPreviewer.vue +4 -1
- package/app/composables/attribute_coloring_style.ts +8 -2
- package/app/composables/attribute_selector.ts +126 -0
- package/app/composables/clipping_slices.ts +166 -0
- package/app/composables/global_attribute_style.ts +4 -3
- package/app/composables/hover_highlight.ts +6 -5
- package/app/composables/project_manager.ts +5 -5
- package/app/composables/stepper_tree.ts +10 -2
- package/app/composables/tree_filter.ts +11 -2
- package/app/composables/tree_keyboard_nav.ts +4 -2
- package/app/composables/use_overlapping_picker.ts +5 -5
- package/app/composables/view_toolbar_options.ts +126 -0
- package/app/composables/view_toolbar_tool_options.ts +115 -0
- package/app/composables/view_toolbar_tools.ts +108 -0
- package/app/composables/virtual_tree.ts +20 -131
- package/app/composables/virtual_tree_flatten.ts +86 -0
- package/app/composables/virtual_tree_types.ts +81 -0
- package/app/stores/app.ts +8 -55
- package/app/stores/app_helpers/extension.ts +1 -1
- package/app/stores/app_helpers/registry.ts +69 -0
- package/app/stores/feedback.ts +2 -2
- package/app/stores/hybrid_viewer.ts +1 -1
- package/app/stores/menu.ts +1 -124
- package/app/stores/menu_helpers/menus_data.ts +127 -0
- package/app/stores/treeview.ts +17 -10
- package/app/stores/viewer.ts +17 -78
- package/app/stores/viewer_helpers/actions.ts +68 -0
- package/app/stores/viewer_helpers/request.ts +61 -0
- package/app/utils/clipping_planes.ts +4 -131
- package/app/utils/clipping_planes_scene.ts +131 -0
- package/app/utils/coloring_styles.ts +101 -0
- package/app/utils/default_styles/mesh_components.ts +168 -0
- package/app/utils/default_styles/meshes.ts +13 -153
- package/app/utils/default_styles/model_components.ts +170 -0
- package/app/utils/default_styles/models.ts +16 -153
- package/app/utils/drag_and_drop.ts +80 -0
- package/app/utils/extension.ts +1 -1
- package/app/utils/import_workflow.ts +6 -4
- package/app/utils/model_component_coloring.ts +46 -0
- package/app/utils/threshold.ts +33 -0
- package/app/utils/threshold_sources.ts +51 -0
- package/app/utils/upload_path.ts +15 -9
- package/internal/database/database.ts +4 -1
- package/internal/stores/data_style/mesh/cells/cell.ts +27 -150
- package/internal/stores/data_style/mesh/cells/cell_attribute.ts +74 -0
- package/internal/stores/data_style/mesh/cells/cell_config.ts +152 -0
- package/internal/stores/data_style/mesh/cells/vertex.ts +26 -157
- package/internal/stores/data_style/mesh/cells/vertex_attribute.ts +80 -0
- package/internal/stores/data_style/mesh/cells/vertex_config.ts +152 -0
- package/internal/stores/data_style/mesh/edges/edge.ts +27 -150
- package/internal/stores/data_style/mesh/edges/edge_attribute.ts +74 -0
- package/internal/stores/data_style/mesh/edges/edge_config.ts +152 -0
- package/internal/stores/data_style/mesh/edges/vertex.ts +26 -157
- package/internal/stores/data_style/mesh/edges/vertex_attribute.ts +80 -0
- package/internal/stores/data_style/mesh/edges/vertex_config.ts +152 -0
- package/internal/stores/data_style/mesh/points/vertex.ts +26 -157
- package/internal/stores/data_style/mesh/points/vertex_attribute.ts +80 -0
- package/internal/stores/data_style/mesh/points/vertex_config.ts +152 -0
- package/internal/stores/data_style/mesh/polygons/polygon.ts +27 -152
- package/internal/stores/data_style/mesh/polygons/polygon_attribute.ts +80 -0
- package/internal/stores/data_style/mesh/polygons/polygon_config.ts +148 -0
- package/internal/stores/data_style/mesh/polygons/vertex.ts +26 -157
- package/internal/stores/data_style/mesh/polygons/vertex_attribute.ts +80 -0
- package/internal/stores/data_style/mesh/polygons/vertex_config.ts +152 -0
- package/internal/stores/data_style/mesh/polyhedra/polyhedron.ts +27 -160
- package/internal/stores/data_style/mesh/polyhedra/polyhedron_attribute.ts +82 -0
- package/internal/stores/data_style/mesh/polyhedra/polyhedron_config.ts +157 -0
- package/internal/stores/data_style/mesh/polyhedra/vertex.ts +26 -157
- package/internal/stores/data_style/mesh/polyhedra/vertex_attribute.ts +80 -0
- package/internal/stores/data_style/mesh/polyhedra/vertex_config.ts +152 -0
- package/internal/stores/data_style/model/blocks/apply_coloring.ts +173 -0
- package/internal/stores/data_style/model/blocks/coloring_groups.ts +18 -0
- package/internal/stores/data_style/model/blocks/index.ts +12 -140
- package/internal/stores/data_style/model/blocks/polyhedron.ts +14 -10
- package/internal/stores/data_style/model/blocks/vertex.ts +14 -10
- package/internal/stores/data_style/model/common.ts +10 -119
- package/internal/stores/data_style/model/common_mutations.ts +184 -0
- package/internal/stores/data_style/model/corners/vertex.ts +14 -10
- package/internal/stores/data_style/model/lines/apply_coloring.ts +154 -0
- package/internal/stores/data_style/model/lines/coloring_groups.ts +18 -0
- package/internal/stores/data_style/model/lines/edge.ts +14 -10
- package/internal/stores/data_style/model/lines/index.ts +10 -134
- package/internal/stores/data_style/model/lines/vertex.ts +14 -10
- package/internal/stores/data_style/model/surfaces/apply_coloring.ts +186 -0
- package/internal/stores/data_style/model/surfaces/coloring_groups.ts +18 -0
- package/internal/stores/data_style/model/surfaces/index.ts +16 -160
- package/internal/stores/data_style/model/surfaces/polygon.ts +14 -10
- package/internal/stores/data_style/model/surfaces/vertex.ts +14 -10
- package/internal/stores/data_style/model/visibility.ts +3 -156
- package/internal/stores/data_style/model/visibility_dispatch.ts +160 -0
- package/internal/stores/data_style/state.ts +1 -181
- package/internal/stores/data_style/state_shared.ts +191 -0
- package/internal/stores/hybrid_viewer/brightness.ts +8 -2
- package/internal/stores/hybrid_viewer/camera.ts +7 -161
- package/internal/stores/hybrid_viewer/camera_animation.ts +4 -3
- package/internal/stores/hybrid_viewer/camera_helpers.ts +120 -0
- package/internal/stores/hybrid_viewer/camera_orientation.ts +60 -0
- package/internal/stores/hybrid_viewer/filters.ts +54 -11
- package/internal/stores/hybrid_viewer/highlight.ts +10 -9
- package/internal/stores/hybrid_viewer/ruler.ts +4 -3
- package/internal/utils/ws_client.ts +8 -1
- package/package.json +2 -2
- package/server/api/local/extensions/run.post.ts +6 -4
- package/server/utils/cleanup.ts +12 -2
- package/server/utils/microservices.ts +10 -102
- package/server/utils/microservices_process.ts +127 -0
- package/server/utils/typed_handler.ts +8 -1
- package/server/utils/ws_client.ts +15 -2
- package/shared/utils/fetch_raw.ts +2 -2
- package/shared/utils/parse_boolean.ts +4 -1
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { MODEL_LINE_COLORING } from "@ogw_front/utils/model_component_coloring";
|
|
3
|
+
import type { RGBAColor } from "@ogw_front/utils/default_styles/constants";
|
|
4
|
+
import ViewerOptionsColoringTypeSelector from "@ogw_front/components/Viewer/Options/ColoringTypeSelector.vue";
|
|
5
|
+
import VisibilitySwitch from "@ogw_front/components/Viewer/Options/VisibilitySwitch.vue";
|
|
6
|
+
import { useDataStyleStore } from "@ogw_front/stores/data_style";
|
|
7
|
+
import { useHybridViewerStore } from "@ogw_front/stores/hybrid_viewer";
|
|
8
|
+
|
|
9
|
+
interface Props {
|
|
10
|
+
modelId: string;
|
|
11
|
+
lineId?: string;
|
|
12
|
+
activeTab?: string;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
const { modelId, lineId = undefined, activeTab = undefined } = defineProps<Props>();
|
|
16
|
+
|
|
17
|
+
const dataStyleStore = useDataStyleStore();
|
|
18
|
+
const hybridViewerStore = useHybridViewerStore();
|
|
19
|
+
|
|
20
|
+
const lineComponentIds = computed<string[]>(() => (lineId !== undefined && [lineId]) || []);
|
|
21
|
+
|
|
22
|
+
const lineVisibility = computed<boolean | undefined>({
|
|
23
|
+
get: () => dataStyleStore.modelLineVisibility(modelId, lineId) as boolean | undefined,
|
|
24
|
+
set: async (newValue) => {
|
|
25
|
+
if (newValue === undefined || lineId === undefined) {
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
await dataStyleStore.setModelLinesVisibility(modelId, [lineId], newValue);
|
|
29
|
+
hybridViewerStore.remoteRender();
|
|
30
|
+
},
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
const lineColor = computed<RGBAColor | undefined>({
|
|
34
|
+
get: () => dataStyleStore.modelLineColor(modelId, lineId) as RGBAColor | undefined,
|
|
35
|
+
set: async (color) => {
|
|
36
|
+
if (lineId === undefined) {
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
await dataStyleStore.setModelLinesColor(modelId, [lineId], color);
|
|
40
|
+
hybridViewerStore.remoteRender();
|
|
41
|
+
},
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
const lineActiveColoring = computed<string | undefined>({
|
|
45
|
+
get: () => dataStyleStore.modelLineActiveColoring(modelId, lineId) as string | undefined,
|
|
46
|
+
set: async (coloringType) => {
|
|
47
|
+
if (lineId === undefined || typeof coloringType !== "string") {
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
await dataStyleStore.setModelLinesActiveColoring(modelId, [lineId], coloringType);
|
|
51
|
+
hybridViewerStore.remoteRender();
|
|
52
|
+
},
|
|
53
|
+
});
|
|
54
|
+
|
|
55
|
+
// Individual Attributes
|
|
56
|
+
const vertexAttributeName = computed<string | undefined>({
|
|
57
|
+
get: () => dataStyleStore.modelLinesVertexAttributeName(modelId, lineId),
|
|
58
|
+
set: async (newValue) => {
|
|
59
|
+
if (lineId === undefined || newValue === undefined) {
|
|
60
|
+
return;
|
|
61
|
+
}
|
|
62
|
+
await dataStyleStore.setModelLinesVertexAttributeName(modelId, [lineId], newValue);
|
|
63
|
+
hybridViewerStore.remoteRender();
|
|
64
|
+
},
|
|
65
|
+
});
|
|
66
|
+
|
|
67
|
+
const vertexAttributeTimeStep = computed<number | undefined>({
|
|
68
|
+
get: () => dataStyleStore.modelLinesVertexAttributeTimeStep(modelId, lineId),
|
|
69
|
+
set: async (newValue) => {
|
|
70
|
+
if (lineId === undefined || newValue === undefined) {
|
|
71
|
+
return;
|
|
72
|
+
}
|
|
73
|
+
await dataStyleStore.setModelLinesVertexAttributeTimeStep(modelId, [lineId], newValue);
|
|
74
|
+
hybridViewerStore.remoteRender();
|
|
75
|
+
},
|
|
76
|
+
});
|
|
77
|
+
|
|
78
|
+
const vertexAttributeItem = computed<string | undefined>({
|
|
79
|
+
get: () => dataStyleStore.modelLinesVertexAttributeItem(modelId, lineId),
|
|
80
|
+
set: async (newValue) => {
|
|
81
|
+
if (lineId === undefined) {
|
|
82
|
+
return;
|
|
83
|
+
}
|
|
84
|
+
await dataStyleStore.setModelLinesVertexAttributeItem(modelId, [lineId], newValue);
|
|
85
|
+
hybridViewerStore.remoteRender();
|
|
86
|
+
},
|
|
87
|
+
});
|
|
88
|
+
|
|
89
|
+
const vertexAttributeRange = computed<[number, number] | undefined>({
|
|
90
|
+
get: () => dataStyleStore.modelLinesVertexAttributeRange(modelId, lineId),
|
|
91
|
+
set: async (newValue) => {
|
|
92
|
+
const [minimum, maximum] = newValue;
|
|
93
|
+
if (lineId === undefined || minimum === undefined || maximum === undefined) {
|
|
94
|
+
return;
|
|
95
|
+
}
|
|
96
|
+
await dataStyleStore.setModelLinesVertexAttributeRange(modelId, [lineId], minimum, maximum);
|
|
97
|
+
hybridViewerStore.remoteRender();
|
|
98
|
+
},
|
|
99
|
+
});
|
|
100
|
+
|
|
101
|
+
const vertexAttributeColorMap = computed<ColorMap | undefined>({
|
|
102
|
+
get: () => dataStyleStore.modelLinesVertexAttributeColorMap(modelId, lineId),
|
|
103
|
+
set: async (newValue) => {
|
|
104
|
+
if (lineId === undefined) {
|
|
105
|
+
return;
|
|
106
|
+
}
|
|
107
|
+
await dataStyleStore.setModelLinesVertexAttributeColorMap(modelId, [lineId], newValue);
|
|
108
|
+
hybridViewerStore.remoteRender();
|
|
109
|
+
},
|
|
110
|
+
});
|
|
111
|
+
|
|
112
|
+
const vertexAttributeNoDataColor = computed<RGBAColor>({
|
|
113
|
+
get: () => dataStyleStore.modelLinesVertexAttributeNoDataColor(modelId, lineId),
|
|
114
|
+
set: async (newValue) => {
|
|
115
|
+
if (lineId === undefined) {
|
|
116
|
+
return;
|
|
117
|
+
}
|
|
118
|
+
await dataStyleStore.setModelLinesVertexAttributeNoDataColor(modelId, [lineId], newValue);
|
|
119
|
+
hybridViewerStore.remoteRender();
|
|
120
|
+
},
|
|
121
|
+
});
|
|
122
|
+
|
|
123
|
+
const edgeAttributeName = computed<string | undefined>({
|
|
124
|
+
get: () => dataStyleStore.modelLinesEdgeAttributeName(modelId, lineId),
|
|
125
|
+
set: async (newValue) => {
|
|
126
|
+
if (lineId === undefined || newValue === undefined) {
|
|
127
|
+
return;
|
|
128
|
+
}
|
|
129
|
+
await dataStyleStore.setModelLinesEdgeAttributeName(modelId, [lineId], newValue);
|
|
130
|
+
hybridViewerStore.remoteRender();
|
|
131
|
+
},
|
|
132
|
+
});
|
|
133
|
+
|
|
134
|
+
const edgeAttributeTimeStep = computed<number | undefined>({
|
|
135
|
+
get: () => dataStyleStore.modelLinesEdgeAttributeTimeStep(modelId, lineId),
|
|
136
|
+
set: async (newValue) => {
|
|
137
|
+
if (lineId === undefined || newValue === undefined) {
|
|
138
|
+
return;
|
|
139
|
+
}
|
|
140
|
+
await dataStyleStore.setModelLinesEdgeAttributeTimeStep(modelId, [lineId], newValue);
|
|
141
|
+
hybridViewerStore.remoteRender();
|
|
142
|
+
},
|
|
143
|
+
});
|
|
144
|
+
|
|
145
|
+
const edgeAttributeItem = computed<string | undefined>({
|
|
146
|
+
get: () => dataStyleStore.modelLinesEdgeAttributeItem(modelId, lineId),
|
|
147
|
+
set: async (newValue) => {
|
|
148
|
+
if (lineId === undefined) {
|
|
149
|
+
return;
|
|
150
|
+
}
|
|
151
|
+
await dataStyleStore.setModelLinesEdgeAttributeItem(modelId, [lineId], newValue);
|
|
152
|
+
hybridViewerStore.remoteRender();
|
|
153
|
+
},
|
|
154
|
+
});
|
|
155
|
+
|
|
156
|
+
const edgeAttributeRange = computed<[number, number] | undefined>({
|
|
157
|
+
get: () => dataStyleStore.modelLinesEdgeAttributeRange(modelId, lineId),
|
|
158
|
+
set: async (newValue) => {
|
|
159
|
+
const [minimum, maximum] = newValue;
|
|
160
|
+
if (lineId === undefined || minimum === undefined || maximum === undefined) {
|
|
161
|
+
return;
|
|
162
|
+
}
|
|
163
|
+
await dataStyleStore.setModelLinesEdgeAttributeRange(modelId, [lineId], minimum, maximum);
|
|
164
|
+
hybridViewerStore.remoteRender();
|
|
165
|
+
},
|
|
166
|
+
});
|
|
167
|
+
|
|
168
|
+
const edgeAttributeColorMap = computed<Map<string, RGBAColor> | undefined>({
|
|
169
|
+
get: () => dataStyleStore.modelLinesEdgeAttributeColorMap(modelId, lineId),
|
|
170
|
+
set: async (newValue) => {
|
|
171
|
+
if (lineId === undefined) {
|
|
172
|
+
return;
|
|
173
|
+
}
|
|
174
|
+
await dataStyleStore.setModelLinesEdgeAttributeColorMap(modelId, [lineId], newValue);
|
|
175
|
+
hybridViewerStore.remoteRender();
|
|
176
|
+
},
|
|
177
|
+
});
|
|
178
|
+
|
|
179
|
+
const edgeAttributeNoDataColor = computed<RGBAColor>({
|
|
180
|
+
get: () => dataStyleStore.modelLinesEdgeAttributeNoDataColor(modelId, lineId),
|
|
181
|
+
set: async (newValue) => {
|
|
182
|
+
if (lineId === undefined) {
|
|
183
|
+
return;
|
|
184
|
+
}
|
|
185
|
+
await dataStyleStore.setModelLinesEdgeAttributeNoDataColor(modelId, [lineId], newValue);
|
|
186
|
+
hybridViewerStore.remoteRender();
|
|
187
|
+
},
|
|
188
|
+
});
|
|
189
|
+
|
|
190
|
+
const { capabilities, schemas: attributeSchemas } = MODEL_LINE_COLORING;
|
|
191
|
+
</script>
|
|
192
|
+
|
|
193
|
+
<template>
|
|
194
|
+
<div v-show="!activeTab || activeTab === 'component'" data-testid="modelComponentOptions">
|
|
195
|
+
<VisibilitySwitch v-model="lineVisibility" />
|
|
196
|
+
<ViewerOptionsColoringTypeSelector
|
|
197
|
+
:id="modelId"
|
|
198
|
+
:componentIds="lineComponentIds"
|
|
199
|
+
v-model:coloring_style_key="lineActiveColoring"
|
|
200
|
+
v-model:color="lineColor"
|
|
201
|
+
v-model:vertex_attribute_name="vertexAttributeName"
|
|
202
|
+
v-model:vertex_attribute_item="vertexAttributeItem"
|
|
203
|
+
v-model:vertex_attribute_range="vertexAttributeRange"
|
|
204
|
+
v-model:vertex_attribute_color_map="vertexAttributeColorMap"
|
|
205
|
+
v-model:vertex_attribute_no_data_color="vertexAttributeNoDataColor"
|
|
206
|
+
v-model:vertex_attribute_time_step="vertexAttributeTimeStep"
|
|
207
|
+
v-model:edge_attribute_name="edgeAttributeName"
|
|
208
|
+
v-model:edge_attribute_item="edgeAttributeItem"
|
|
209
|
+
v-model:edge_attribute_range="edgeAttributeRange"
|
|
210
|
+
v-model:edge_attribute_color_map="edgeAttributeColorMap"
|
|
211
|
+
v-model:edge_attribute_no_data_color="edgeAttributeNoDataColor"
|
|
212
|
+
v-model:edge_attribute_time_step="edgeAttributeTimeStep"
|
|
213
|
+
:capabilities="capabilities"
|
|
214
|
+
:schemas="attributeSchemas"
|
|
215
|
+
:allowRandom="true"
|
|
216
|
+
/>
|
|
217
|
+
</div>
|
|
218
|
+
</template>
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import type { CollectionComponent } from "@ogw_front/stores/data_helpers/collections";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import VisibilitySwitch from "@ogw_front/components/Viewer/Options/VisibilitySwitch.vue";
|
|
6
|
-
import back_schemas from "@geode/opengeodeweb-back/opengeodeweb_back_typed_schemas.js";
|
|
7
|
-
import { useDataStyleStore } from "@ogw_front/stores/data_style";
|
|
8
|
-
import { useHybridViewerStore } from "@ogw_front/stores/hybrid_viewer";
|
|
3
|
+
import ViewerGenericModelLineComponentOptions from "@ogw_front/components/Viewer/Generic/Model/LineComponentOptions.vue";
|
|
4
|
+
import ViewerGenericModelLinesTypeOptions from "@ogw_front/components/Viewer/Generic/Model/LinesTypeOptions.vue";
|
|
9
5
|
|
|
10
6
|
interface Props {
|
|
11
7
|
modelId: string;
|
|
@@ -22,427 +18,19 @@ const {
|
|
|
22
18
|
collections = undefined,
|
|
23
19
|
activeTab = undefined,
|
|
24
20
|
} = defineProps<Props>();
|
|
25
|
-
|
|
26
|
-
const dataStyleStore = useDataStyleStore();
|
|
27
|
-
const hybridViewerStore = useHybridViewerStore();
|
|
28
|
-
|
|
29
|
-
const referenceLineId = computed<string | undefined>(() =>
|
|
30
|
-
collections ? targetLineIds[0] : undefined,
|
|
31
|
-
);
|
|
32
|
-
|
|
33
|
-
const lineComponentIds = computed<string[]>(() => (lineId === undefined ? [] : [lineId]));
|
|
34
|
-
|
|
35
|
-
// Visibility
|
|
36
|
-
const linesVisibility = computed<boolean>({
|
|
37
|
-
get: () =>
|
|
38
|
-
collections
|
|
39
|
-
? targetLineIds.every((id) => dataStyleStore.modelLineVisibility(modelId, id))
|
|
40
|
-
: dataStyleStore.modelComponentTypeVisibility(modelId, "Line"),
|
|
41
|
-
set: async (newValue) => {
|
|
42
|
-
await dataStyleStore.setModelLinesVisibility(modelId, targetLineIds, newValue);
|
|
43
|
-
hybridViewerStore.remoteRender();
|
|
44
|
-
},
|
|
45
|
-
});
|
|
46
|
-
|
|
47
|
-
const lineVisibility = computed<boolean | undefined>({
|
|
48
|
-
get: () => dataStyleStore.modelLineVisibility(modelId, lineId) as boolean | undefined,
|
|
49
|
-
set: async (newValue) => {
|
|
50
|
-
if (newValue === undefined || lineId === undefined) {
|
|
51
|
-
return;
|
|
52
|
-
}
|
|
53
|
-
await dataStyleStore.setModelLinesVisibility(modelId, [lineId], newValue);
|
|
54
|
-
hybridViewerStore.remoteRender();
|
|
55
|
-
},
|
|
56
|
-
});
|
|
57
|
-
|
|
58
|
-
// Color
|
|
59
|
-
const linesColor = computed<RGBAColor | undefined>({
|
|
60
|
-
get: () => dataStyleStore.modelLineColor(modelId, referenceLineId.value) as RGBAColor | undefined,
|
|
61
|
-
set: async (color) => {
|
|
62
|
-
await dataStyleStore.setModelLinesColor(modelId, targetLineIds, color);
|
|
63
|
-
hybridViewerStore.remoteRender();
|
|
64
|
-
},
|
|
65
|
-
});
|
|
66
|
-
|
|
67
|
-
const lineColor = computed<RGBAColor | undefined>({
|
|
68
|
-
get: () => dataStyleStore.modelLineColor(modelId, lineId) as RGBAColor | undefined,
|
|
69
|
-
set: async (color) => {
|
|
70
|
-
if (lineId === undefined) {
|
|
71
|
-
return;
|
|
72
|
-
}
|
|
73
|
-
await dataStyleStore.setModelLinesColor(modelId, [lineId], color);
|
|
74
|
-
hybridViewerStore.remoteRender();
|
|
75
|
-
},
|
|
76
|
-
});
|
|
77
|
-
|
|
78
|
-
const linesActiveColoring = computed<string | undefined>({
|
|
79
|
-
get: () =>
|
|
80
|
-
dataStyleStore.modelLineActiveColoring(modelId, referenceLineId.value) as string | undefined,
|
|
81
|
-
set: async (coloringType) => {
|
|
82
|
-
if (typeof coloringType !== "string") {
|
|
83
|
-
return;
|
|
84
|
-
}
|
|
85
|
-
if (collections && coloringType === "random") {
|
|
86
|
-
await Promise.all(
|
|
87
|
-
collections.map((collection) =>
|
|
88
|
-
dataStyleStore.setModelLinesActiveColoring(
|
|
89
|
-
modelId,
|
|
90
|
-
collection.children.map((child) => child.id),
|
|
91
|
-
coloringType,
|
|
92
|
-
collection.id,
|
|
93
|
-
),
|
|
94
|
-
),
|
|
95
|
-
);
|
|
96
|
-
} else {
|
|
97
|
-
await dataStyleStore.setModelLinesActiveColoring(modelId, targetLineIds, coloringType);
|
|
98
|
-
}
|
|
99
|
-
hybridViewerStore.remoteRender();
|
|
100
|
-
},
|
|
101
|
-
});
|
|
102
|
-
|
|
103
|
-
const lineActiveColoring = computed<string | undefined>({
|
|
104
|
-
get: () => dataStyleStore.modelLineActiveColoring(modelId, lineId) as string | undefined,
|
|
105
|
-
set: async (coloringType) => {
|
|
106
|
-
if (lineId === undefined || typeof coloringType !== "string") {
|
|
107
|
-
return;
|
|
108
|
-
}
|
|
109
|
-
await dataStyleStore.setModelLinesActiveColoring(modelId, [lineId], coloringType);
|
|
110
|
-
hybridViewerStore.remoteRender();
|
|
111
|
-
},
|
|
112
|
-
});
|
|
113
|
-
|
|
114
|
-
// Group Attributes
|
|
115
|
-
const linesVertexAttributeName = computed<string | undefined>({
|
|
116
|
-
get: () => dataStyleStore.modelLinesVertexAttributeName(modelId, referenceLineId.value),
|
|
117
|
-
set: async (newValue) => {
|
|
118
|
-
if (newValue === undefined) {
|
|
119
|
-
return;
|
|
120
|
-
}
|
|
121
|
-
await dataStyleStore.setModelLinesVertexAttributeName(modelId, targetLineIds, newValue);
|
|
122
|
-
hybridViewerStore.remoteRender();
|
|
123
|
-
},
|
|
124
|
-
});
|
|
125
|
-
|
|
126
|
-
const linesVertexAttributeTimeStep = computed<number | undefined>({
|
|
127
|
-
get: () => dataStyleStore.modelLinesVertexAttributeTimeStep(modelId, referenceLineId.value),
|
|
128
|
-
set: async (newValue) => {
|
|
129
|
-
if (newValue === undefined) {
|
|
130
|
-
return;
|
|
131
|
-
}
|
|
132
|
-
await dataStyleStore.setModelLinesVertexAttributeTimeStep(modelId, targetLineIds, newValue);
|
|
133
|
-
hybridViewerStore.remoteRender();
|
|
134
|
-
},
|
|
135
|
-
});
|
|
136
|
-
|
|
137
|
-
const linesVertexAttributeItem = computed<string | undefined>({
|
|
138
|
-
get: () => dataStyleStore.modelLinesVertexAttributeItem(modelId, referenceLineId.value),
|
|
139
|
-
set: async (newValue) => {
|
|
140
|
-
await dataStyleStore.setModelLinesVertexAttributeItem(modelId, targetLineIds, newValue);
|
|
141
|
-
hybridViewerStore.remoteRender();
|
|
142
|
-
},
|
|
143
|
-
});
|
|
144
|
-
|
|
145
|
-
const linesVertexAttributeRange = computed<[number, number] | undefined>({
|
|
146
|
-
get: () => dataStyleStore.modelLinesVertexAttributeRange(modelId, referenceLineId.value),
|
|
147
|
-
set: async (newValue) => {
|
|
148
|
-
const [minimum, maximum] = newValue;
|
|
149
|
-
if (minimum === undefined || maximum === undefined) {
|
|
150
|
-
return;
|
|
151
|
-
}
|
|
152
|
-
await dataStyleStore.setModelLinesVertexAttributeRange(
|
|
153
|
-
modelId,
|
|
154
|
-
targetLineIds,
|
|
155
|
-
minimum,
|
|
156
|
-
maximum,
|
|
157
|
-
);
|
|
158
|
-
hybridViewerStore.remoteRender();
|
|
159
|
-
},
|
|
160
|
-
});
|
|
161
|
-
|
|
162
|
-
const linesVertexAttributeColorMap = computed<RGBAColorMap | undefined>({
|
|
163
|
-
get: () => dataStyleStore.modelLinesVertexAttributeColorMap(modelId, referenceLineId.value),
|
|
164
|
-
set: async (newValue) => {
|
|
165
|
-
await dataStyleStore.setModelLinesVertexAttributeColorMap(modelId, targetLineIds, newValue);
|
|
166
|
-
hybridViewerStore.remoteRender();
|
|
167
|
-
},
|
|
168
|
-
});
|
|
169
|
-
|
|
170
|
-
const linesVertexAttributeNoDataColor = computed<RGBAColor>({
|
|
171
|
-
get: () => dataStyleStore.modelLinesVertexAttributeNoDataColor(modelId, referenceLineId.value),
|
|
172
|
-
set: async (newValue) => {
|
|
173
|
-
await dataStyleStore.setModelLinesVertexAttributeNoDataColor(modelId, targetLineIds, newValue);
|
|
174
|
-
hybridViewerStore.remoteRender();
|
|
175
|
-
},
|
|
176
|
-
});
|
|
177
|
-
|
|
178
|
-
const linesEdgeAttributeName = computed<string | undefined>({
|
|
179
|
-
get: () => dataStyleStore.modelLinesEdgeAttributeName(modelId, referenceLineId.value),
|
|
180
|
-
set: async (newValue) => {
|
|
181
|
-
if (newValue === undefined) {
|
|
182
|
-
return;
|
|
183
|
-
}
|
|
184
|
-
await dataStyleStore.setModelLinesEdgeAttributeName(modelId, targetLineIds, newValue);
|
|
185
|
-
hybridViewerStore.remoteRender();
|
|
186
|
-
},
|
|
187
|
-
});
|
|
188
|
-
|
|
189
|
-
const linesEdgeAttributeTimeStep = computed<number | undefined>({
|
|
190
|
-
get: () => dataStyleStore.modelLinesEdgeAttributeTimeStep(modelId, referenceLineId.value),
|
|
191
|
-
set: async (newValue) => {
|
|
192
|
-
if (newValue === undefined) {
|
|
193
|
-
return;
|
|
194
|
-
}
|
|
195
|
-
await dataStyleStore.setModelLinesEdgeAttributeTimeStep(modelId, targetLineIds, newValue);
|
|
196
|
-
hybridViewerStore.remoteRender();
|
|
197
|
-
},
|
|
198
|
-
});
|
|
199
|
-
|
|
200
|
-
const linesEdgeAttributeItem = computed<string | undefined>({
|
|
201
|
-
get: () => dataStyleStore.modelLinesEdgeAttributeItem(modelId, referenceLineId.value),
|
|
202
|
-
set: async (newValue) => {
|
|
203
|
-
await dataStyleStore.setModelLinesEdgeAttributeItem(modelId, targetLineIds, newValue);
|
|
204
|
-
hybridViewerStore.remoteRender();
|
|
205
|
-
},
|
|
206
|
-
});
|
|
207
|
-
|
|
208
|
-
const linesEdgeAttributeRange = computed<[number, number] | undefined>({
|
|
209
|
-
get: () => dataStyleStore.modelLinesEdgeAttributeRange(modelId, referenceLineId.value),
|
|
210
|
-
set: async (newValue) => {
|
|
211
|
-
const [minimum, maximum] = newValue;
|
|
212
|
-
if (minimum === undefined || maximum === undefined) {
|
|
213
|
-
return;
|
|
214
|
-
}
|
|
215
|
-
await dataStyleStore.setModelLinesEdgeAttributeRange(modelId, targetLineIds, minimum, maximum);
|
|
216
|
-
hybridViewerStore.remoteRender();
|
|
217
|
-
},
|
|
218
|
-
});
|
|
219
|
-
|
|
220
|
-
const linesEdgeAttributeColorMap = computed<Map<string, RGBAColor> | undefined>({
|
|
221
|
-
get: () => dataStyleStore.modelLinesEdgeAttributeColorMap(modelId, referenceLineId.value),
|
|
222
|
-
set: async (newValue) => {
|
|
223
|
-
await dataStyleStore.setModelLinesEdgeAttributeColorMap(modelId, targetLineIds, newValue);
|
|
224
|
-
hybridViewerStore.remoteRender();
|
|
225
|
-
},
|
|
226
|
-
});
|
|
227
|
-
|
|
228
|
-
const linesEdgeAttributeNoDataColor = computed<RGBAColor>({
|
|
229
|
-
get: () => dataStyleStore.modelLinesEdgeAttributeNoDataColor(modelId, referenceLineId.value),
|
|
230
|
-
set: async (newValue) => {
|
|
231
|
-
await dataStyleStore.setModelLinesEdgeAttributeNoDataColor(modelId, targetLineIds, newValue);
|
|
232
|
-
hybridViewerStore.remoteRender();
|
|
233
|
-
},
|
|
234
|
-
});
|
|
235
|
-
|
|
236
|
-
// Individual Attributes
|
|
237
|
-
const vertexAttributeName = computed<string | undefined>({
|
|
238
|
-
get: () => dataStyleStore.modelLinesVertexAttributeName(modelId, lineId),
|
|
239
|
-
set: async (newValue) => {
|
|
240
|
-
if (lineId === undefined || newValue === undefined) {
|
|
241
|
-
return;
|
|
242
|
-
}
|
|
243
|
-
await dataStyleStore.setModelLinesVertexAttributeName(modelId, [lineId], newValue);
|
|
244
|
-
hybridViewerStore.remoteRender();
|
|
245
|
-
},
|
|
246
|
-
});
|
|
247
|
-
|
|
248
|
-
const vertexAttributeTimeStep = computed<number | undefined>({
|
|
249
|
-
get: () => dataStyleStore.modelLinesVertexAttributeTimeStep(modelId, lineId),
|
|
250
|
-
set: async (newValue) => {
|
|
251
|
-
if (lineId === undefined || newValue === undefined) {
|
|
252
|
-
return;
|
|
253
|
-
}
|
|
254
|
-
await dataStyleStore.setModelLinesVertexAttributeTimeStep(modelId, [lineId], newValue);
|
|
255
|
-
hybridViewerStore.remoteRender();
|
|
256
|
-
},
|
|
257
|
-
});
|
|
258
|
-
|
|
259
|
-
const vertexAttributeItem = computed<string | undefined>({
|
|
260
|
-
get: () => dataStyleStore.modelLinesVertexAttributeItem(modelId, lineId),
|
|
261
|
-
set: async (newValue) => {
|
|
262
|
-
if (lineId === undefined) {
|
|
263
|
-
return;
|
|
264
|
-
}
|
|
265
|
-
await dataStyleStore.setModelLinesVertexAttributeItem(modelId, [lineId], newValue);
|
|
266
|
-
hybridViewerStore.remoteRender();
|
|
267
|
-
},
|
|
268
|
-
});
|
|
269
|
-
|
|
270
|
-
const vertexAttributeRange = computed<[number, number] | undefined>({
|
|
271
|
-
get: () => dataStyleStore.modelLinesVertexAttributeRange(modelId, lineId),
|
|
272
|
-
set: async (newValue) => {
|
|
273
|
-
const [minimum, maximum] = newValue;
|
|
274
|
-
if (lineId === undefined || minimum === undefined || maximum === undefined) {
|
|
275
|
-
return;
|
|
276
|
-
}
|
|
277
|
-
await dataStyleStore.setModelLinesVertexAttributeRange(modelId, [lineId], minimum, maximum);
|
|
278
|
-
hybridViewerStore.remoteRender();
|
|
279
|
-
},
|
|
280
|
-
});
|
|
281
|
-
|
|
282
|
-
const vertexAttributeColorMap = computed<ColorMap | undefined>({
|
|
283
|
-
get: () => dataStyleStore.modelLinesVertexAttributeColorMap(modelId, lineId),
|
|
284
|
-
set: async (newValue) => {
|
|
285
|
-
if (lineId === undefined) {
|
|
286
|
-
return;
|
|
287
|
-
}
|
|
288
|
-
await dataStyleStore.setModelLinesVertexAttributeColorMap(modelId, [lineId], newValue);
|
|
289
|
-
hybridViewerStore.remoteRender();
|
|
290
|
-
},
|
|
291
|
-
});
|
|
292
|
-
|
|
293
|
-
const vertexAttributeNoDataColor = computed<RGBAColor>({
|
|
294
|
-
get: () => dataStyleStore.modelLinesVertexAttributeNoDataColor(modelId, lineId),
|
|
295
|
-
set: async (newValue) => {
|
|
296
|
-
if (lineId === undefined) {
|
|
297
|
-
return;
|
|
298
|
-
}
|
|
299
|
-
await dataStyleStore.setModelLinesVertexAttributeNoDataColor(modelId, [lineId], newValue);
|
|
300
|
-
hybridViewerStore.remoteRender();
|
|
301
|
-
},
|
|
302
|
-
});
|
|
303
|
-
|
|
304
|
-
const edgeAttributeName = computed<string | undefined>({
|
|
305
|
-
get: () => dataStyleStore.modelLinesEdgeAttributeName(modelId, lineId),
|
|
306
|
-
set: async (newValue) => {
|
|
307
|
-
if (lineId === undefined || newValue === undefined) {
|
|
308
|
-
return;
|
|
309
|
-
}
|
|
310
|
-
await dataStyleStore.setModelLinesEdgeAttributeName(modelId, [lineId], newValue);
|
|
311
|
-
hybridViewerStore.remoteRender();
|
|
312
|
-
},
|
|
313
|
-
});
|
|
314
|
-
|
|
315
|
-
const edgeAttributeTimeStep = computed<number | undefined>({
|
|
316
|
-
get: () => dataStyleStore.modelLinesEdgeAttributeTimeStep(modelId, lineId),
|
|
317
|
-
set: async (newValue) => {
|
|
318
|
-
if (lineId === undefined || newValue === undefined) {
|
|
319
|
-
return;
|
|
320
|
-
}
|
|
321
|
-
await dataStyleStore.setModelLinesEdgeAttributeTimeStep(modelId, [lineId], newValue);
|
|
322
|
-
hybridViewerStore.remoteRender();
|
|
323
|
-
},
|
|
324
|
-
});
|
|
325
|
-
|
|
326
|
-
const edgeAttributeItem = computed<string | undefined>({
|
|
327
|
-
get: () => dataStyleStore.modelLinesEdgeAttributeItem(modelId, lineId),
|
|
328
|
-
set: async (newValue) => {
|
|
329
|
-
if (lineId === undefined) {
|
|
330
|
-
return;
|
|
331
|
-
}
|
|
332
|
-
await dataStyleStore.setModelLinesEdgeAttributeItem(modelId, [lineId], newValue);
|
|
333
|
-
hybridViewerStore.remoteRender();
|
|
334
|
-
},
|
|
335
|
-
});
|
|
336
|
-
|
|
337
|
-
const edgeAttributeRange = computed<[number, number] | undefined>({
|
|
338
|
-
get: () => dataStyleStore.modelLinesEdgeAttributeRange(modelId, lineId),
|
|
339
|
-
set: async (newValue) => {
|
|
340
|
-
const [minimum, maximum] = newValue;
|
|
341
|
-
if (lineId === undefined || minimum === undefined || maximum === undefined) {
|
|
342
|
-
return;
|
|
343
|
-
}
|
|
344
|
-
await dataStyleStore.setModelLinesEdgeAttributeRange(modelId, [lineId], minimum, maximum);
|
|
345
|
-
hybridViewerStore.remoteRender();
|
|
346
|
-
},
|
|
347
|
-
});
|
|
348
|
-
|
|
349
|
-
const edgeAttributeColorMap = computed<Map<string, RGBAColor> | undefined>({
|
|
350
|
-
get: () => dataStyleStore.modelLinesEdgeAttributeColorMap(modelId, lineId),
|
|
351
|
-
set: async (newValue) => {
|
|
352
|
-
if (lineId === undefined) {
|
|
353
|
-
return;
|
|
354
|
-
}
|
|
355
|
-
await dataStyleStore.setModelLinesEdgeAttributeColorMap(modelId, [lineId], newValue);
|
|
356
|
-
hybridViewerStore.remoteRender();
|
|
357
|
-
},
|
|
358
|
-
});
|
|
359
|
-
|
|
360
|
-
const edgeAttributeNoDataColor = computed<RGBAColor>({
|
|
361
|
-
get: () => dataStyleStore.modelLinesEdgeAttributeNoDataColor(modelId, lineId),
|
|
362
|
-
set: async (newValue) => {
|
|
363
|
-
if (lineId === undefined) {
|
|
364
|
-
return;
|
|
365
|
-
}
|
|
366
|
-
await dataStyleStore.setModelLinesEdgeAttributeNoDataColor(modelId, [lineId], newValue);
|
|
367
|
-
hybridViewerStore.remoteRender();
|
|
368
|
-
},
|
|
369
|
-
});
|
|
370
|
-
|
|
371
|
-
const capabilities = {
|
|
372
|
-
color: { available: true },
|
|
373
|
-
textures: { available: false },
|
|
374
|
-
vertex: { available: true },
|
|
375
|
-
edge: { available: true },
|
|
376
|
-
cell: { available: false },
|
|
377
|
-
polygon: { available: false },
|
|
378
|
-
polyhedron: { available: false },
|
|
379
|
-
};
|
|
380
|
-
|
|
381
|
-
const backSchemas = back_schemas.opengeodeweb_back;
|
|
382
|
-
const attributeSchemas = {
|
|
383
|
-
vertex: {
|
|
384
|
-
names: backSchemas.model_component_vertex_attribute_names,
|
|
385
|
-
range: backSchemas.model_component_vertex_attribute_range,
|
|
386
|
-
},
|
|
387
|
-
edge: {
|
|
388
|
-
names: backSchemas.model_component_edge_attribute_names,
|
|
389
|
-
range: backSchemas.model_component_edge_attribute_range,
|
|
390
|
-
},
|
|
391
|
-
};
|
|
392
21
|
</script>
|
|
393
22
|
|
|
394
23
|
<template>
|
|
395
|
-
<
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
v-model:vertex_attribute_name="linesVertexAttributeName"
|
|
403
|
-
v-model:vertex_attribute_item="linesVertexAttributeItem"
|
|
404
|
-
v-model:vertex_attribute_range="linesVertexAttributeRange"
|
|
405
|
-
v-model:vertex_attribute_color_map="linesVertexAttributeColorMap"
|
|
406
|
-
v-model:vertex_attribute_no_data_color="linesVertexAttributeNoDataColor"
|
|
407
|
-
v-model:vertex_attribute_time_step="linesVertexAttributeTimeStep"
|
|
408
|
-
v-model:edge_attribute_name="linesEdgeAttributeName"
|
|
409
|
-
v-model:edge_attribute_item="linesEdgeAttributeItem"
|
|
410
|
-
v-model:edge_attribute_range="linesEdgeAttributeRange"
|
|
411
|
-
v-model:edge_attribute_color_map="linesEdgeAttributeColorMap"
|
|
412
|
-
v-model:edge_attribute_no_data_color="linesEdgeAttributeNoDataColor"
|
|
413
|
-
v-model:edge_attribute_time_step="linesEdgeAttributeTimeStep"
|
|
414
|
-
:capabilities="capabilities"
|
|
415
|
-
:schemas="attributeSchemas"
|
|
416
|
-
:allowRandom="true"
|
|
417
|
-
/>
|
|
418
|
-
</div>
|
|
419
|
-
|
|
420
|
-
<div
|
|
24
|
+
<ViewerGenericModelLinesTypeOptions
|
|
25
|
+
:modelId="modelId"
|
|
26
|
+
:targetLineIds="targetLineIds"
|
|
27
|
+
:collections="collections"
|
|
28
|
+
:activeTab="activeTab"
|
|
29
|
+
/>
|
|
30
|
+
<ViewerGenericModelLineComponentOptions
|
|
421
31
|
v-if="lineId"
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
<ViewerOptionsColoringTypeSelector
|
|
427
|
-
:id="modelId"
|
|
428
|
-
:componentIds="lineComponentIds"
|
|
429
|
-
v-model:coloring_style_key="lineActiveColoring"
|
|
430
|
-
v-model:color="lineColor"
|
|
431
|
-
v-model:vertex_attribute_name="vertexAttributeName"
|
|
432
|
-
v-model:vertex_attribute_item="vertexAttributeItem"
|
|
433
|
-
v-model:vertex_attribute_range="vertexAttributeRange"
|
|
434
|
-
v-model:vertex_attribute_color_map="vertexAttributeColorMap"
|
|
435
|
-
v-model:vertex_attribute_no_data_color="vertexAttributeNoDataColor"
|
|
436
|
-
v-model:vertex_attribute_time_step="vertexAttributeTimeStep"
|
|
437
|
-
v-model:edge_attribute_name="edgeAttributeName"
|
|
438
|
-
v-model:edge_attribute_item="edgeAttributeItem"
|
|
439
|
-
v-model:edge_attribute_range="edgeAttributeRange"
|
|
440
|
-
v-model:edge_attribute_color_map="edgeAttributeColorMap"
|
|
441
|
-
v-model:edge_attribute_no_data_color="edgeAttributeNoDataColor"
|
|
442
|
-
v-model:edge_attribute_time_step="edgeAttributeTimeStep"
|
|
443
|
-
:capabilities="capabilities"
|
|
444
|
-
:schemas="attributeSchemas"
|
|
445
|
-
:allowRandom="true"
|
|
446
|
-
/>
|
|
447
|
-
</div>
|
|
32
|
+
:modelId="modelId"
|
|
33
|
+
:lineId="lineId"
|
|
34
|
+
:activeTab="activeTab"
|
|
35
|
+
/>
|
|
448
36
|
</template>
|