@geode/opengeodeweb-front 9.15.0-rc.2 → 10.0.0-rc.1
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/{assets → app/assets}/geode_objects.js +25 -25
- package/{components → app/components}/ExtensionSelector.vue +3 -0
- package/{components → app/components}/FileSelector.vue +14 -1
- package/{components → app/components}/FileUploader.vue +9 -1
- package/{components → app/components}/HybridRenderingView.vue +2 -0
- package/{components → app/components}/Inspector/ResultPanel.vue +2 -0
- package/{components → app/components}/Launcher.vue +3 -2
- package/{components → app/components}/Loading.vue +13 -11
- package/{components → app/components}/MissingFilesSelector.vue +3 -0
- package/{components → app/components}/ObjectSelector.vue +3 -1
- package/{components → app/components}/PackagesVersions.vue +1 -1
- package/{components → app/components}/Recaptcha.vue +3 -1
- package/{components → app/components}/RemoteRenderingView.vue +4 -2
- package/{components → app/components}/Stepper.vue +2 -0
- package/{components → app/components}/VeaseViewToolbar.vue +3 -0
- package/{components → app/components}/ViewToolbar.vue +2 -0
- package/{components → app/components}/Viewer/EdgedCurve/EdgesOptions.vue +2 -1
- package/{components → app/components}/Viewer/EdgedCurve/PointsOptions.vue +2 -1
- package/{components → app/components}/Viewer/Generic/Mesh/EdgesOptions.vue +4 -0
- package/{components → app/components}/Viewer/Generic/Mesh/PointsOptions.vue +4 -0
- package/{components → app/components}/Viewer/Generic/Mesh/PolygonsOptions.vue +4 -0
- package/{components → app/components}/Viewer/Generic/Mesh/PolyhedraOptions.vue +4 -0
- package/{components → app/components}/Viewer/Generic/Model/EdgesOptions.vue +3 -1
- package/{components → app/components}/Viewer/Generic/Model/PointsOptions.vue +3 -1
- package/{components → app/components}/Viewer/Grid/2D/CellsOptions.vue +2 -1
- package/{components → app/components}/Viewer/Grid/2D/EdgesOptions.vue +2 -1
- package/{components → app/components}/Viewer/Grid/2D/PointsOptions.vue +2 -1
- package/{components → app/components}/Viewer/Grid/3D/CellsOptions.vue +2 -1
- package/{components → app/components}/Viewer/Grid/3D/EdgesOptions.vue +2 -1
- package/{components → app/components}/Viewer/Grid/3D/FacetsOptions.vue +2 -1
- package/{components → app/components}/Viewer/Grid/3D/PointsOptions.vue +2 -1
- package/{components → app/components}/Viewer/HybridSolid/EdgesOptions.vue +2 -1
- package/{components → app/components}/Viewer/HybridSolid/PointsOptions.vue +2 -1
- package/{components → app/components}/Viewer/HybridSolid/PolygonsOptions.vue +2 -1
- package/{components → app/components}/Viewer/HybridSolid/PolyhedraOptions.vue +2 -1
- package/{components → app/components}/Viewer/Options/ColoringTypeSelector.vue +7 -1
- package/{components → app/components}/Viewer/Options/TextureItem.vue +1 -0
- package/{components → app/components}/Viewer/Options/TexturesSelector.vue +4 -3
- package/{components → app/components}/Viewer/PointSet/PointsOptions.vue +2 -1
- package/{components → app/components}/Viewer/PointSet/SpecificPointsOptions.vue +3 -0
- package/{components → app/components}/Viewer/PolygonalSurface/EdgesOptions.vue +2 -1
- package/{components → app/components}/Viewer/PolygonalSurface/PointsOptions.vue +2 -1
- package/{components → app/components}/Viewer/PolygonalSurface/PolygonsOptions.vue +2 -1
- package/{components → app/components}/Viewer/Solid/EdgesOptions.vue +2 -1
- package/{components → app/components}/Viewer/Solid/PointsOptions.vue +2 -1
- package/{components → app/components}/Viewer/Solid/PolygonsOptions.vue +2 -1
- package/{components → app/components}/Viewer/Solid/PolyhedraOptions.vue +2 -1
- package/{components → app/components}/Viewer/TetrahedralSolid/TetrahedraOptions.vue +2 -1
- package/{components → app/components}/Viewer/TetrahedralSolid/TrianglesOptions.vue +2 -1
- package/{components → app/components}/Viewer/Tree/ObjectTree.vue +4 -0
- package/{components → app/components}/Viewer/TriangulatedSurface/EdgesOptions.vue +2 -1
- package/{components → app/components}/Viewer/TriangulatedSurface/PointsOptions.vue +2 -1
- package/{components → app/components}/Viewer/TriangulatedSurface/TrianglesOptions.vue +2 -1
- package/{components → app/components}/Wrapper.vue +7 -1
- package/{composables → app/composables}/api_fetch.js +1 -0
- package/{composables → app/composables}/project_manager.js +6 -4
- package/{composables → app/composables}/viewer_call.js +2 -0
- package/{stores → app/stores}/geode.js +5 -4
- package/{stores → app/stores}/hybrid_viewer.js +1 -1
- package/{stores → app/stores}/infra.js +5 -4
- package/{stores → app/stores}/menu.js +24 -24
- package/{stores → app/stores}/viewer.js +5 -4
- package/nuxt.config.js +2 -2
- package/package.json +1 -1
- package/scripts/generate_geode_objects.js +1 -1
- package/tests/integration/setup.js +7 -7
- package/tests/integration/stores/data_style/mesh/edges.nuxt.test.js +7 -5
- package/tests/integration/stores/data_style/mesh/index.nuxt.test.js +7 -5
- package/tests/integration/stores/data_style/mesh/points.nuxt.test.js +7 -5
- package/tests/integration/stores/data_style/mesh/polygons.nuxt.test.js +7 -5
- package/tests/integration/stores/data_style/mesh/polyhedra.nuxt.test.js +7 -5
- package/tests/integration/stores/data_style/model/blocks.nuxt.test.js +34 -32
- package/tests/integration/stores/data_style/model/corners.nuxt.test.js +7 -5
- package/tests/integration/stores/data_style/model/edges.nuxt.test.js +7 -5
- package/tests/integration/stores/data_style/model/index.nuxt.test.js +7 -5
- package/tests/integration/stores/data_style/model/lines.nuxt.test.js +7 -4
- package/tests/integration/stores/data_style/model/points.nuxt.test.js +9 -5
- package/tests/integration/stores/data_style/model/surfaces.nuxt.test.js +7 -5
- package/tests/unit/components/CrsSelector.nuxt.test.js +1 -1
- package/tests/unit/components/ExtensionSelector.nuxt.test.js +1 -1
- package/tests/unit/components/FeedBack/ErrorsBanner.nuxt.test.js +1 -1
- package/tests/unit/components/FeedBack/Snackers.nuxt.test.js +1 -1
- package/tests/unit/components/FileSelector.nuxt.test.js +2 -2
- package/tests/unit/components/FileUploader.nuxt.test.js +1 -1
- package/tests/unit/components/Inspector/InspectionButton.nuxt.test.js +1 -1
- package/tests/unit/components/Inspector/ResultPanel.nuxt.test.js +1 -1
- package/tests/unit/components/Launcher.nuxt.test.js +1 -1
- package/tests/unit/components/MissingFilesSelector.nuxt.test.js +2 -2
- package/tests/unit/components/ObjectSelector.nuxt.test.js +1 -1
- package/tests/unit/components/PackagesVersions.nuxt.test.js +1 -1
- package/tests/unit/components/Step.nuxt.test.js +2 -2
- package/tests/unit/components/Stepper.nuxt.test.js +2 -2
- package/tests/unit/components/Wrapper.nuxt.test.js +2 -2
- package/tests/unit/composables/ProjectManager.nuxt.test.js +51 -17
- package/tests/unit/composables/run_function_when_microservices_connected.nuxt.test.js +1 -1
- package/tests/unit/composables/upload_file.nuxt.test.js +1 -1
- package/tests/unit/plugins/project_load.nuxt.test.js +1 -1
- package/tests/unit/stores/Appstore.nuxt.test.js +0 -1
- package/tests/unit/stores/Feedback.nuxt.test.js +1 -1
- package/tests/unit/stores/Geode.nuxt.test.js +12 -11
- package/tests/unit/stores/Infra.nuxt.test.js +6 -5
- package/tests/unit/stores/Viewer.nuxt.test.js +4 -4
- package/tests/unit/utils/recaptcha.nuxt.test.js +1 -1
- package/tests/unit/utils/validate_schema.nuxt.test.js +1 -1
- /package/{assets → app/assets}/img/energy_sobriety/chemin.png +0 -0
- /package/{assets → app/assets}/img/energy_sobriety/collegue.png +0 -0
- /package/{assets → app/assets}/img/energy_sobriety/derniere.png +0 -0
- /package/{assets → app/assets}/img/energy_sobriety/etincelle.png +0 -0
- /package/{assets → app/assets}/img/energy_sobriety/geste.png +0 -0
- /package/{assets → app/assets}/img/energy_sobriety/lampadaire.png +0 -0
- /package/{assets → app/assets}/img/energy_sobriety/salon.png +0 -0
- /package/{assets → app/assets}/img/energy_sobriety/sobene.png +0 -0
- /package/{assets → app/assets}/img/energy_sobriety/socle.png +0 -0
- /package/{assets → app/assets}/img/energy_sobriety/vert.png +0 -0
- /package/{assets → app/assets}/img/energy_sobriety/ying_yang.png +0 -0
- /package/{assets → app/assets}/img/geode_objects/BRep.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/CrossSection.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/EdgedCurve2D.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/EdgedCurve3D.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/Graph.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/HybridSolid3D.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/ImplicitCrossSection.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/ImplicitStructuralModel.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/LightRegularGrid2D.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/LightRegularGrid3D.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/PointSet2D.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/PointSet3D.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/PolygonalSurface2D.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/PolygonalSurface3D.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/PolyhedralSolid3D.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/RasterImage2D.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/RasterImage3D.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/RegularGrid2D.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/RegularGrid3D.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/Section.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/StructuralModel.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/TetrahedralSolid3D.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/TriangulatedSurface2D.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/TriangulatedSurface3D.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/VertexSet.svg +0 -0
- /package/{assets → app/assets}/viewer_svgs/edged_curve_edges.svg +0 -0
- /package/{assets → app/assets}/viewer_svgs/edged_curve_points.svg +0 -0
- /package/{assets → app/assets}/viewer_svgs/grid_2d_cells.svg +0 -0
- /package/{assets → app/assets}/viewer_svgs/grid_2d_edges.svg +0 -0
- /package/{assets → app/assets}/viewer_svgs/grid_2d_points.svg +0 -0
- /package/{assets → app/assets}/viewer_svgs/grid_3d_cells.svg +0 -0
- /package/{assets → app/assets}/viewer_svgs/grid_3d_edges.svg +0 -0
- /package/{assets → app/assets}/viewer_svgs/grid_3d_facets.svg +0 -0
- /package/{assets → app/assets}/viewer_svgs/grid_3d_points.svg +0 -0
- /package/{assets → app/assets}/viewer_svgs/point_set_points.svg +0 -0
- /package/{assets → app/assets}/viewer_svgs/solid_edges.svg +0 -0
- /package/{assets → app/assets}/viewer_svgs/solid_facets.svg +0 -0
- /package/{assets → app/assets}/viewer_svgs/solid_points.svg +0 -0
- /package/{assets → app/assets}/viewer_svgs/solid_polyhedra.svg +0 -0
- /package/{assets → app/assets}/viewer_svgs/surface_edges.svg +0 -0
- /package/{assets → app/assets}/viewer_svgs/surface_points.svg +0 -0
- /package/{assets → app/assets}/viewer_svgs/surface_triangles.svg +0 -0
- /package/{components → app/components}/Carousel.vue +0 -0
- /package/{components → app/components}/CrsSelector.vue +0 -0
- /package/{components → app/components}/FeedBack/ErrorBanner.vue +0 -0
- /package/{components → app/components}/FeedBack/Snackers.vue +0 -0
- /package/{components → app/components}/FetchingData.vue +0 -0
- /package/{components → app/components}/InfraConnected.vue +0 -0
- /package/{components → app/components}/Inspector/InspectionButton.vue +0 -0
- /package/{components → app/components}/Screenshot.vue +0 -0
- /package/{components → app/components}/Step.vue +0 -0
- /package/{components → app/components}/Viewer/BreadCrumb.vue +0 -0
- /package/{components → app/components}/Viewer/ContextMenu.vue +0 -0
- /package/{components → app/components}/Viewer/ContextMenuItem.vue +0 -0
- /package/{components → app/components}/Viewer/Options/ColorPicker.vue +0 -0
- /package/{components → app/components}/Viewer/Options/PolygonAttributeSelector.vue +0 -0
- /package/{components → app/components}/Viewer/Options/PolyhedronAttributeSelector.vue +0 -0
- /package/{components → app/components}/Viewer/Options/VertexAttributeSelector.vue +0 -0
- /package/{components → app/components}/Viewer/Options/VisibilitySwitch.vue +0 -0
- /package/{components → app/components}/Viewer/TreeComponent.vue +0 -0
- /package/{components → app/components}/Viewer/TreeObject.vue +0 -0
- /package/{components → app/components}/ZScaling.vue +0 -0
- /package/{composables → app/composables}/run_function_when_microservices_connected.js +0 -0
- /package/{composables → app/composables}/upload_file.js +0 -0
- /package/{plugins → app/plugins}/auto_store_register.js +0 -0
- /package/{stores → app/stores}/app.js +0 -0
- /package/{stores → app/stores}/data_base.js +0 -0
- /package/{stores → app/stores}/data_style.js +0 -0
- /package/{stores → app/stores}/feedback.js +0 -0
- /package/{stores → app/stores}/treeview.js +0 -0
- /package/{utils → app/utils}/app_mode.js +0 -0
- /package/{utils → app/utils}/default_styles.js +0 -0
- /package/{utils → app/utils}/file_import_workflow.js +0 -0
- /package/{utils → app/utils}/local.js +0 -0
- /package/{utils → app/utils}/recaptcha.js +0 -0
- /package/{utils → app/utils}/status.js +0 -0
- /package/{utils → app/utils}/validate_schema.js +0 -0
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import BRep from "@
|
|
2
|
-
import CrossSection from "@
|
|
3
|
-
import EdgedCurve2D from "@
|
|
4
|
-
import EdgedCurve3D from "@
|
|
5
|
-
import Graph from "@
|
|
6
|
-
import HybridSolid3D from "@
|
|
7
|
-
import ImplicitCrossSection from "@
|
|
8
|
-
import ImplicitStructuralModel from "@
|
|
9
|
-
import LightRegularGrid2D from "@
|
|
10
|
-
import LightRegularGrid3D from "@
|
|
11
|
-
import PointSet2D from "@
|
|
12
|
-
import PointSet3D from "@
|
|
13
|
-
import PolygonalSurface2D from "@
|
|
14
|
-
import PolygonalSurface3D from "@
|
|
15
|
-
import PolyhedralSolid3D from "@
|
|
16
|
-
import RasterImage2D from "@
|
|
17
|
-
import RasterImage3D from "@
|
|
18
|
-
import RegularGrid2D from "@
|
|
19
|
-
import RegularGrid3D from "@
|
|
20
|
-
import Section from "@
|
|
21
|
-
import StructuralModel from "@
|
|
22
|
-
import TetrahedralSolid3D from "@
|
|
23
|
-
import TriangulatedSurface2D from "@
|
|
24
|
-
import TriangulatedSurface3D from "@
|
|
25
|
-
import VertexSet from "@
|
|
1
|
+
import BRep from "@ogw_front/assets/img/geode_objects/BRep.svg"
|
|
2
|
+
import CrossSection from "@ogw_front/assets/img/geode_objects/CrossSection.svg"
|
|
3
|
+
import EdgedCurve2D from "@ogw_front/assets/img/geode_objects/EdgedCurve2D.svg"
|
|
4
|
+
import EdgedCurve3D from "@ogw_front/assets/img/geode_objects/EdgedCurve3D.svg"
|
|
5
|
+
import Graph from "@ogw_front/assets/img/geode_objects/Graph.svg"
|
|
6
|
+
import HybridSolid3D from "@ogw_front/assets/img/geode_objects/HybridSolid3D.svg"
|
|
7
|
+
import ImplicitCrossSection from "@ogw_front/assets/img/geode_objects/ImplicitCrossSection.svg"
|
|
8
|
+
import ImplicitStructuralModel from "@ogw_front/assets/img/geode_objects/ImplicitStructuralModel.svg"
|
|
9
|
+
import LightRegularGrid2D from "@ogw_front/assets/img/geode_objects/LightRegularGrid2D.svg"
|
|
10
|
+
import LightRegularGrid3D from "@ogw_front/assets/img/geode_objects/LightRegularGrid3D.svg"
|
|
11
|
+
import PointSet2D from "@ogw_front/assets/img/geode_objects/PointSet2D.svg"
|
|
12
|
+
import PointSet3D from "@ogw_front/assets/img/geode_objects/PointSet3D.svg"
|
|
13
|
+
import PolygonalSurface2D from "@ogw_front/assets/img/geode_objects/PolygonalSurface2D.svg"
|
|
14
|
+
import PolygonalSurface3D from "@ogw_front/assets/img/geode_objects/PolygonalSurface3D.svg"
|
|
15
|
+
import PolyhedralSolid3D from "@ogw_front/assets/img/geode_objects/PolyhedralSolid3D.svg"
|
|
16
|
+
import RasterImage2D from "@ogw_front/assets/img/geode_objects/RasterImage2D.svg"
|
|
17
|
+
import RasterImage3D from "@ogw_front/assets/img/geode_objects/RasterImage3D.svg"
|
|
18
|
+
import RegularGrid2D from "@ogw_front/assets/img/geode_objects/RegularGrid2D.svg"
|
|
19
|
+
import RegularGrid3D from "@ogw_front/assets/img/geode_objects/RegularGrid3D.svg"
|
|
20
|
+
import Section from "@ogw_front/assets/img/geode_objects/Section.svg"
|
|
21
|
+
import StructuralModel from "@ogw_front/assets/img/geode_objects/StructuralModel.svg"
|
|
22
|
+
import TetrahedralSolid3D from "@ogw_front/assets/img/geode_objects/TetrahedralSolid3D.svg"
|
|
23
|
+
import TriangulatedSurface2D from "@ogw_front/assets/img/geode_objects/TriangulatedSurface2D.svg"
|
|
24
|
+
import TriangulatedSurface3D from "@ogw_front/assets/img/geode_objects/TriangulatedSurface3D.svg"
|
|
25
|
+
import VertexSet from "@ogw_front/assets/img/geode_objects/VertexSet.svg"
|
|
26
26
|
|
|
27
27
|
const geode_objects = {
|
|
28
28
|
BRep: {
|
|
@@ -56,6 +56,9 @@
|
|
|
56
56
|
|
|
57
57
|
<script setup>
|
|
58
58
|
import schemas from "@geode/opengeodeweb-back/opengeodeweb_back_schemas.json"
|
|
59
|
+
|
|
60
|
+
import FetchingData from "@ogw_front/components/FetchingData.vue"
|
|
61
|
+
|
|
59
62
|
const schema = schemas.opengeodeweb_back.geode_objects_and_output_extensions
|
|
60
63
|
const emit = defineEmits([
|
|
61
64
|
"update_values",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<FetchingData v-if="loading" />
|
|
3
3
|
<FileUploader
|
|
4
4
|
v-else
|
|
5
|
-
v-bind="{ multiple, accept, files, auto_upload }"
|
|
5
|
+
v-bind="{ multiple, accept, files: internal_files, auto_upload }"
|
|
6
6
|
@files_uploaded="files_uploaded_event"
|
|
7
7
|
/>
|
|
8
8
|
</template>
|
|
@@ -10,6 +10,9 @@
|
|
|
10
10
|
<script setup>
|
|
11
11
|
import schemas from "@geode/opengeodeweb-back/opengeodeweb_back_schemas.json"
|
|
12
12
|
|
|
13
|
+
import FetchingData from "@ogw_front/components/FetchingData.vue"
|
|
14
|
+
import FileUploader from "@ogw_front/components/FileUploader.vue"
|
|
15
|
+
|
|
13
16
|
const schema = schemas.opengeodeweb_back.allowed_files
|
|
14
17
|
const emit = defineEmits([
|
|
15
18
|
"update_values",
|
|
@@ -25,9 +28,19 @@
|
|
|
25
28
|
})
|
|
26
29
|
|
|
27
30
|
const { auto_upload, multiple, supported_feature } = props
|
|
31
|
+
|
|
32
|
+
const internal_files = ref(props.files)
|
|
28
33
|
const accept = ref("")
|
|
29
34
|
const loading = ref(false)
|
|
30
35
|
|
|
36
|
+
watch(
|
|
37
|
+
() => props.files,
|
|
38
|
+
(newVal) => {
|
|
39
|
+
internal_files.value = newVal
|
|
40
|
+
},
|
|
41
|
+
{ deep: true },
|
|
42
|
+
)
|
|
43
|
+
|
|
31
44
|
const toggle_loading = useToggle(loading)
|
|
32
45
|
|
|
33
46
|
function files_uploaded_event(value) {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
const label = props.multiple
|
|
50
50
|
? "Please select file(s) to import"
|
|
51
51
|
: "Please select a file to import"
|
|
52
|
-
const internal_files = ref(
|
|
52
|
+
const internal_files = ref(props.files)
|
|
53
53
|
const loading = ref(false)
|
|
54
54
|
const files_uploaded = ref(false)
|
|
55
55
|
|
|
@@ -96,6 +96,14 @@
|
|
|
96
96
|
emit("files_uploaded", internal_files.value)
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
+
watch(
|
|
100
|
+
() => props.files,
|
|
101
|
+
(newVal) => {
|
|
102
|
+
internal_files.value = newVal
|
|
103
|
+
},
|
|
104
|
+
{ deep: true },
|
|
105
|
+
)
|
|
106
|
+
|
|
99
107
|
watch(internal_files, (value) => {
|
|
100
108
|
files_uploaded.value = false
|
|
101
109
|
if (props.auto_upload) {
|
|
@@ -18,10 +18,11 @@
|
|
|
18
18
|
</template>
|
|
19
19
|
|
|
20
20
|
<script setup>
|
|
21
|
-
import Status from "@
|
|
21
|
+
import Status from "@ogw_front/utils/status.js"
|
|
22
|
+
import Loading from "@ogw_front/components/Loading.vue"
|
|
23
|
+
import Recaptcha from "@ogw_front/components/Recaptcha.vue"
|
|
22
24
|
|
|
23
25
|
const infra_store = useInfraStore()
|
|
24
|
-
const site_key = useRuntimeConfig().public.RECAPTCHA_SITE_KEY
|
|
25
26
|
|
|
26
27
|
watch(
|
|
27
28
|
() => infra_store.is_captcha_validated,
|
|
@@ -25,17 +25,19 @@
|
|
|
25
25
|
</template>
|
|
26
26
|
|
|
27
27
|
<script setup>
|
|
28
|
-
import ying_yang from "@
|
|
29
|
-
import chemin from "@
|
|
30
|
-
import vert from "@
|
|
31
|
-
import lampadaire from "@
|
|
32
|
-
import collegue from "@
|
|
33
|
-
import sobene from "@
|
|
34
|
-
import etincelle from "@
|
|
35
|
-
import geste from "@
|
|
36
|
-
import socle from "@
|
|
37
|
-
import derniere from "@
|
|
38
|
-
import salon from "@
|
|
28
|
+
import ying_yang from "@ogw_front/assets/img/energy_sobriety/ying_yang.png"
|
|
29
|
+
import chemin from "@ogw_front/assets/img/energy_sobriety/chemin.png"
|
|
30
|
+
import vert from "@ogw_front/assets/img/energy_sobriety/vert.png"
|
|
31
|
+
import lampadaire from "@ogw_front/assets/img/energy_sobriety/lampadaire.png"
|
|
32
|
+
import collegue from "@ogw_front/assets/img/energy_sobriety/collegue.png"
|
|
33
|
+
import sobene from "@ogw_front/assets/img/energy_sobriety/sobene.png"
|
|
34
|
+
import etincelle from "@ogw_front/assets/img/energy_sobriety/etincelle.png"
|
|
35
|
+
import geste from "@ogw_front/assets/img/energy_sobriety/geste.png"
|
|
36
|
+
import socle from "@ogw_front/assets/img/energy_sobriety/socle.png"
|
|
37
|
+
import derniere from "@ogw_front/assets/img/energy_sobriety/derniere.png"
|
|
38
|
+
import salon from "@ogw_front/assets/img/energy_sobriety/salon.png"
|
|
39
|
+
|
|
40
|
+
import Carousel from "@ogw_front/components/Carousel.vue"
|
|
39
41
|
|
|
40
42
|
const users_list = [
|
|
41
43
|
{
|
|
@@ -45,6 +45,9 @@
|
|
|
45
45
|
<script setup>
|
|
46
46
|
import schemas from "@geode/opengeodeweb-back/opengeodeweb_back_schemas.json"
|
|
47
47
|
|
|
48
|
+
import FetchingData from "@ogw_front/components/FetchingData.vue"
|
|
49
|
+
import FileUploader from "@ogw_front/components/FileUploader.vue"
|
|
50
|
+
|
|
48
51
|
const schema = schemas.opengeodeweb_back.missing_files
|
|
49
52
|
|
|
50
53
|
const emit = defineEmits([
|
|
@@ -49,9 +49,11 @@
|
|
|
49
49
|
</template>
|
|
50
50
|
|
|
51
51
|
<script setup>
|
|
52
|
-
import geode_objects from "@
|
|
52
|
+
import geode_objects from "@ogw_front/assets/geode_objects"
|
|
53
53
|
import schemas from "@geode/opengeodeweb-back/opengeodeweb_back_schemas.json"
|
|
54
54
|
|
|
55
|
+
import FetchingData from "@ogw_front/components/FetchingData.vue"
|
|
56
|
+
|
|
55
57
|
const schema = schemas.opengeodeweb_back.allowed_objects
|
|
56
58
|
|
|
57
59
|
const emit = defineEmits(["update_values", "increment_step"])
|
|
@@ -39,6 +39,8 @@
|
|
|
39
39
|
</template>
|
|
40
40
|
|
|
41
41
|
<script setup>
|
|
42
|
+
import { appMode } from "@ogw_front/utils/app_mode.js"
|
|
43
|
+
|
|
42
44
|
const props = defineProps({
|
|
43
45
|
button_label: {
|
|
44
46
|
type: String,
|
|
@@ -74,7 +76,7 @@
|
|
|
74
76
|
if (import.meta.client) {
|
|
75
77
|
if (
|
|
76
78
|
process.env.NODE_ENV !== "production" ||
|
|
77
|
-
infra_store.app_mode !== appMode.
|
|
79
|
+
infra_store.app_mode !== appMode.CLOUD
|
|
78
80
|
) {
|
|
79
81
|
infra_store.$patch({ is_captcha_validated: true })
|
|
80
82
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<ClientOnly>
|
|
3
3
|
<div style="position: relative; width: 100%; height: calc(100vh - 80px)">
|
|
4
|
-
<
|
|
4
|
+
<ViewToolbar />
|
|
5
5
|
<slot name="ui"></slot>
|
|
6
6
|
<v-col
|
|
7
7
|
ref="viewer"
|
|
@@ -24,7 +24,9 @@
|
|
|
24
24
|
import vtkRemoteView from "@kitware/vtk.js/Rendering/Misc/RemoteView"
|
|
25
25
|
import { useElementSize, useWindowSize } from "@vueuse/core"
|
|
26
26
|
import viewer_schemas from "@geode/opengeodeweb-viewer/opengeodeweb_viewer_schemas.json"
|
|
27
|
-
import Status from "@
|
|
27
|
+
import Status from "@ogw_front/utils/status.js"
|
|
28
|
+
|
|
29
|
+
import ViewToolbar from "@ogw_front/components/ViewToolbar.vue"
|
|
28
30
|
|
|
29
31
|
const props = defineProps({
|
|
30
32
|
viewId: { type: String, default: "-1" },
|
|
@@ -29,6 +29,9 @@
|
|
|
29
29
|
<script setup>
|
|
30
30
|
import schemas from "@geode/opengeodeweb-viewer/opengeodeweb_viewer_schemas.json"
|
|
31
31
|
|
|
32
|
+
import Screenshot from "@ogw_front/components/Screenshot.vue"
|
|
33
|
+
import ZScaling from "@ogw_front/components/ZScaling.vue"
|
|
34
|
+
|
|
32
35
|
const hybridViewerStore = useHybridViewerStore()
|
|
33
36
|
const take_screenshot = ref(false)
|
|
34
37
|
const showZScaling = ref(false)
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
</template>
|
|
7
7
|
|
|
8
8
|
<script setup>
|
|
9
|
-
import
|
|
9
|
+
import ViewerGenericMeshEdgesOptions from "@ogw_front/components/Viewer/Generic/Mesh/EdgesOptions.vue"
|
|
10
|
+
import EdgedCurveEdges from "@ogw_front/assets/viewer_svgs/edged_curve_edges.svg"
|
|
10
11
|
|
|
11
12
|
const props = defineProps({
|
|
12
13
|
itemProps: { type: Object, required: true },
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
</template>
|
|
7
7
|
|
|
8
8
|
<script setup>
|
|
9
|
-
import
|
|
9
|
+
import ViewerGenericMeshPointsOptions from "@ogw_front/components/Viewer/Generic/Mesh/PointsOptions.vue"
|
|
10
|
+
import EdgedCurvePoints from "@ogw_front/assets/viewer_svgs/edged_curve_points.svg"
|
|
10
11
|
|
|
11
12
|
const props = defineProps({
|
|
12
13
|
itemProps: { type: Object, required: true },
|
|
@@ -18,6 +18,10 @@
|
|
|
18
18
|
</template>
|
|
19
19
|
|
|
20
20
|
<script setup>
|
|
21
|
+
import ViewerContextMenuItem from "@ogw_front/components/Viewer/ContextMenuItem.vue"
|
|
22
|
+
import ViewerOptionsVisibilitySwitch from "@ogw_front/components/Viewer/Options/VisibilitySwitch.vue"
|
|
23
|
+
import ViewerOptionsColoringTypeSelector from "@ogw_front/components/Viewer/Options/ColoringTypeSelector.vue"
|
|
24
|
+
|
|
21
25
|
const props = defineProps({
|
|
22
26
|
itemProps: { type: Object, required: true },
|
|
23
27
|
btn_image: { type: String, required: true },
|
|
@@ -39,6 +39,10 @@
|
|
|
39
39
|
</template>
|
|
40
40
|
|
|
41
41
|
<script setup>
|
|
42
|
+
import ViewerContextMenuItem from "@ogw_front/components/Viewer/ContextMenuItem.vue"
|
|
43
|
+
import ViewerOptionsVisibilitySwitch from "@ogw_front/components/Viewer/Options/VisibilitySwitch.vue"
|
|
44
|
+
import ViewerOptionsColoringTypeSelector from "@ogw_front/components/Viewer/Options/ColoringTypeSelector.vue"
|
|
45
|
+
|
|
42
46
|
const dataStyleStore = useDataStyleStore()
|
|
43
47
|
const hybridViewerStore = useHybridViewerStore()
|
|
44
48
|
|
|
@@ -21,6 +21,10 @@
|
|
|
21
21
|
</template>
|
|
22
22
|
|
|
23
23
|
<script setup>
|
|
24
|
+
import ViewerContextMenuItem from "@ogw_front/components/Viewer/ContextMenuItem.vue"
|
|
25
|
+
import ViewerOptionsVisibilitySwitch from "@ogw_front/components/Viewer/Options/VisibilitySwitch.vue"
|
|
26
|
+
import ViewerOptionsColoringTypeSelector from "@ogw_front/components/Viewer/Options/ColoringTypeSelector.vue"
|
|
27
|
+
|
|
24
28
|
const dataStyleStore = useDataStyleStore()
|
|
25
29
|
const hybridViewerStore = useHybridViewerStore()
|
|
26
30
|
|
|
@@ -21,6 +21,10 @@
|
|
|
21
21
|
</template>
|
|
22
22
|
|
|
23
23
|
<script setup>
|
|
24
|
+
import ViewerContextMenuItem from "@ogw_front/components/Viewer/ContextMenuItem.vue"
|
|
25
|
+
import ViewerOptionsVisibilitySwitch from "@ogw_front/components/Viewer/Options/VisibilitySwitch.vue"
|
|
26
|
+
import ViewerOptionsColoringTypeSelector from "@ogw_front/components/Viewer/Options/ColoringTypeSelector.vue"
|
|
27
|
+
|
|
24
28
|
const dataStyleStore = useDataStyleStore()
|
|
25
29
|
const hybridViewerStore = useHybridViewerStore()
|
|
26
30
|
|
|
@@ -11,7 +11,9 @@
|
|
|
11
11
|
</template>
|
|
12
12
|
|
|
13
13
|
<script setup>
|
|
14
|
-
import
|
|
14
|
+
import ViewerContextMenuItem from "@ogw_front/components/Viewer/ContextMenuItem.vue"
|
|
15
|
+
import ViewerOptionsVisibilitySwitch from "@ogw_front/components/Viewer/Options/VisibilitySwitch.vue"
|
|
16
|
+
import SurfaceEdges from "@ogw_front/assets/viewer_svgs/surface_edges.svg"
|
|
15
17
|
|
|
16
18
|
const props = defineProps({
|
|
17
19
|
itemProps: { type: Object, required: true },
|
|
@@ -30,7 +30,9 @@
|
|
|
30
30
|
</template>
|
|
31
31
|
|
|
32
32
|
<script setup>
|
|
33
|
-
import
|
|
33
|
+
import ViewerContextMenuItem from "@ogw_front/components/Viewer/ContextMenuItem.vue"
|
|
34
|
+
import ViewerOptionsVisibilitySwitch from "@ogw_front/components/Viewer/Options/VisibilitySwitch.vue"
|
|
35
|
+
import SurfacePoints from "@ogw_front/assets/viewer_svgs/surface_points.svg"
|
|
34
36
|
|
|
35
37
|
const dataStyleStore = useDataStyleStore()
|
|
36
38
|
const hybridViewerStore = useHybridViewerStore()
|
|
@@ -7,7 +7,8 @@
|
|
|
7
7
|
</template>
|
|
8
8
|
|
|
9
9
|
<script setup>
|
|
10
|
-
import
|
|
10
|
+
import ViewerGenericMeshPolygonsOptions from "@ogw_front/components/Viewer/Generic/Mesh/PolygonsOptions.vue"
|
|
11
|
+
import Grid2D_Cells from "@ogw_front/assets/viewer_svgs/grid_2d_cells.svg"
|
|
11
12
|
|
|
12
13
|
const props = defineProps({
|
|
13
14
|
itemProps: { type: Object, required: true },
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
</template>
|
|
7
7
|
|
|
8
8
|
<script setup>
|
|
9
|
-
import
|
|
9
|
+
import ViewerGenericMeshEdgesOptions from "@ogw_front/components/Viewer/Generic/Mesh/EdgesOptions.vue"
|
|
10
|
+
import Grid2D_Edges from "@ogw_front/assets/viewer_svgs/grid_2d_edges.svg"
|
|
10
11
|
|
|
11
12
|
const props = defineProps({
|
|
12
13
|
itemProps: { type: Object, required: true },
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
</template>
|
|
7
7
|
|
|
8
8
|
<script setup>
|
|
9
|
-
import
|
|
9
|
+
import ViewerGenericMeshPointsOptions from "@ogw_front/components/Viewer/Generic/Mesh/PointsOptions.vue"
|
|
10
|
+
import Grid2D_Points from "@ogw_front/assets/viewer_svgs/grid_2d_points.svg"
|
|
10
11
|
|
|
11
12
|
const props = defineProps({
|
|
12
13
|
itemProps: { type: Object, required: true },
|
|
@@ -7,7 +7,8 @@
|
|
|
7
7
|
</template>
|
|
8
8
|
|
|
9
9
|
<script setup>
|
|
10
|
-
import
|
|
10
|
+
import ViewerGenericMeshPolyhedraOptions from "@ogw_front/components/Viewer/Generic/Mesh/PolyhedraOptions.vue"
|
|
11
|
+
import Grid3DCells from "@ogw_front/assets/viewer_svgs/grid_3d_cells.svg"
|
|
11
12
|
|
|
12
13
|
const props = defineProps({
|
|
13
14
|
itemProps: { type: Object, required: true },
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
</template>
|
|
7
7
|
|
|
8
8
|
<script setup>
|
|
9
|
-
import
|
|
9
|
+
import ViewerGenericMeshEdgesOptions from "@ogw_front/components/Viewer/Generic/Mesh/EdgesOptions.vue"
|
|
10
|
+
import Grid3D_Edges from "@ogw_front/assets/viewer_svgs/grid_3d_edges.svg"
|
|
10
11
|
|
|
11
12
|
const props = defineProps({
|
|
12
13
|
itemProps: { type: Object, required: true },
|
|
@@ -7,7 +7,8 @@
|
|
|
7
7
|
</template>
|
|
8
8
|
|
|
9
9
|
<script setup>
|
|
10
|
-
import
|
|
10
|
+
import ViewerGenericMeshPolygonsOptions from "@ogw_front/components/Viewer/Generic/Mesh/PolygonsOptions.vue"
|
|
11
|
+
import Grid3D_Facets from "@ogw_front/assets/viewer_svgs/grid_3d_facets.svg"
|
|
11
12
|
|
|
12
13
|
const props = defineProps({
|
|
13
14
|
itemProps: { type: Object, required: true },
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
</template>
|
|
7
7
|
|
|
8
8
|
<script setup>
|
|
9
|
-
import
|
|
9
|
+
import ViewerGenericMeshPointsOptions from "@ogw_front/components/Viewer/Generic/Mesh/PointsOptions.vue"
|
|
10
|
+
import Grid3D_Points from "@ogw_front/assets/viewer_svgs/grid_3d_points.svg"
|
|
10
11
|
|
|
11
12
|
const props = defineProps({
|
|
12
13
|
itemProps: { type: Object, required: true },
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
</template>
|
|
7
7
|
|
|
8
8
|
<script setup>
|
|
9
|
-
import
|
|
9
|
+
import ViewerGenericMeshEdgesOptions from "@ogw_front/components/Viewer/Generic/Mesh/EdgesOptions.vue"
|
|
10
|
+
import HybridSolidEdges from "@ogw_front/assets/viewer_svgs/solid_edges.svg"
|
|
10
11
|
|
|
11
12
|
const props = defineProps({
|
|
12
13
|
itemProps: { type: Object, required: true },
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
</template>
|
|
7
7
|
|
|
8
8
|
<script setup>
|
|
9
|
-
import
|
|
9
|
+
import ViewerGenericMeshPointsOptions from "@ogw_front/components/Viewer/Generic/Mesh/PointsOptions.vue"
|
|
10
|
+
import HybridSolidPoints from "@ogw_front/assets/viewer_svgs/solid_points.svg"
|
|
10
11
|
|
|
11
12
|
const props = defineProps({
|
|
12
13
|
itemProps: { type: Object, required: true },
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
</template>
|
|
7
7
|
|
|
8
8
|
<script setup>
|
|
9
|
-
import
|
|
9
|
+
import ViewerGenericMeshPolygonsOptions from "@ogw_front/components/Viewer/Generic/Mesh/PolygonsOptions.vue"
|
|
10
|
+
import HybridSolidPolygons from "@ogw_front/assets/viewer_svgs/solid_facets.svg"
|
|
10
11
|
|
|
11
12
|
const props = defineProps({
|
|
12
13
|
itemProps: { type: Object, required: true },
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
</template>
|
|
7
7
|
|
|
8
8
|
<script setup>
|
|
9
|
-
import
|
|
9
|
+
import ViewerGenericMeshPolyhedraOptions from "@ogw_front/components/Viewer/Generic/Mesh/PolyhedraOptions.vue"
|
|
10
|
+
import HybridSolidPolyhedra from "@ogw_front/assets/viewer_svgs/solid_polyhedra.svg"
|
|
10
11
|
|
|
11
12
|
const props = defineProps({
|
|
12
13
|
itemProps: { type: Object, required: true },
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<v-row justify="center" align="center">
|
|
3
3
|
<v-divider />
|
|
4
|
-
|
|
5
4
|
<v-col>
|
|
6
5
|
<v-row justify="center" align="center">
|
|
7
6
|
<v-col cols="auto">
|
|
@@ -57,6 +56,13 @@
|
|
|
57
56
|
</template>
|
|
58
57
|
|
|
59
58
|
<script setup>
|
|
59
|
+
import ViewerOptionsColorPicker from "@ogw_front/components/Viewer/Options/ColorPicker.vue"
|
|
60
|
+
import ViewerOptionsTexturesSelector from "@ogw_front/components/Viewer/Options/TexturesSelector.vue"
|
|
61
|
+
import ViewerOptionsVertexAttributeSelector from "@ogw_front/components/Viewer/Options/VertexAttributeSelector.vue"
|
|
62
|
+
// import ViewerOptionsEdgeAttributeSelector from "@ogw_front/components/Viewer/Options/EdgeAttributeSelector.vue"
|
|
63
|
+
import ViewerOptionsPolygonAttributeSelector from "@ogw_front/components/Viewer/Options/PolygonAttributeSelector.vue"
|
|
64
|
+
import ViewerOptionsPolyhedronAttributeSelector from "@ogw_front/components/Viewer/Options/PolyhedronAttributeSelector.vue"
|
|
65
|
+
|
|
60
66
|
const coloring_style_key = defineModel("coloring_style_key")
|
|
61
67
|
|
|
62
68
|
const color = defineModel("color")
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
align="center"
|
|
6
6
|
>
|
|
7
7
|
<br />
|
|
8
|
-
|
|
9
8
|
<v-col cols="1" class="pa-0">
|
|
10
9
|
<v-icon
|
|
11
10
|
v-if="internal_textures.length > 1"
|
|
@@ -37,14 +36,16 @@
|
|
|
37
36
|
</template>
|
|
38
37
|
|
|
39
38
|
<script setup>
|
|
40
|
-
|
|
39
|
+
import ViewerOptionsTextureItem from "@ogw_front/components/Viewer/Options/TextureItem.vue"
|
|
41
40
|
|
|
42
|
-
const
|
|
41
|
+
const textures = defineModel()
|
|
43
42
|
|
|
44
43
|
const props = defineProps({
|
|
45
44
|
id: { type: String, required: true },
|
|
46
45
|
})
|
|
47
46
|
|
|
47
|
+
const internal_textures = ref([])
|
|
48
|
+
|
|
48
49
|
onMounted(() => {
|
|
49
50
|
if (textures.value != null) {
|
|
50
51
|
internal_textures.value = textures.value
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
</template>
|
|
7
7
|
|
|
8
8
|
<script setup>
|
|
9
|
-
import
|
|
9
|
+
import ViewerPointSetSpecificPointsOptions from "@ogw_front/components/Viewer/PointSet/SpecificPointsOptions.vue"
|
|
10
|
+
import PointSetPoints from "@ogw_front/assets/viewer_svgs/point_set_points.svg"
|
|
10
11
|
|
|
11
12
|
const props = defineProps({
|
|
12
13
|
itemProps: { type: Object, required: true },
|
|
@@ -40,6 +40,9 @@
|
|
|
40
40
|
</template>
|
|
41
41
|
|
|
42
42
|
<script setup>
|
|
43
|
+
import ViewerContextMenuItem from "@ogw_front/components/Viewer/ContextMenuItem.vue"
|
|
44
|
+
import ViewerOptionsVisibilitySwitch from "@ogw_front/components/Viewer/Options/VisibilitySwitch.vue"
|
|
45
|
+
import ViewerOptionsColoringTypeSelector from "@ogw_front/components/Viewer/Options/ColoringTypeSelector.vue"
|
|
43
46
|
const dataStyleStore = useDataStyleStore()
|
|
44
47
|
const hybridViewerStore = useHybridViewerStore()
|
|
45
48
|
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
</template>
|
|
7
7
|
|
|
8
8
|
<script setup>
|
|
9
|
-
import
|
|
9
|
+
import ViewerGenericMeshEdgesOptions from "@ogw_front/components/Viewer/Generic/Mesh/EdgesOptions.vue"
|
|
10
|
+
import PolygonalSurfaceEdges from "@ogw_front/assets/viewer_svgs/surface_edges.svg"
|
|
10
11
|
|
|
11
12
|
const props = defineProps({
|
|
12
13
|
itemProps: { type: Object, required: true },
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
</template>
|
|
7
7
|
|
|
8
8
|
<script setup>
|
|
9
|
-
import
|
|
9
|
+
import ViewerGenericMeshPointsOptions from "@ogw_front/components/Viewer/Generic/Mesh/PointsOptions.vue"
|
|
10
|
+
import PolygonalSurfacePoints from "@ogw_front/assets/viewer_svgs/surface_points.svg"
|
|
10
11
|
|
|
11
12
|
const props = defineProps({
|
|
12
13
|
itemProps: { type: Object, required: true },
|