@geode/opengeodeweb-front 10.2.1-rc.2 → 10.2.1-rc.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/app/components/Carousel.vue +20 -20
  2. package/app/components/CrsSelector.vue +25 -25
  3. package/app/components/DragAndDrop.vue +31 -31
  4. package/app/components/ExtensionSelector.vue +56 -56
  5. package/app/components/FeedBack/ErrorBanner.vue +9 -9
  6. package/app/components/FeedBack/Snackers.vue +11 -11
  7. package/app/components/FileSelector.vue +9 -9
  8. package/app/components/FileUploader.vue +54 -54
  9. package/app/components/HybridRenderingView.vue +16 -16
  10. package/app/components/InfraConnected.vue +4 -4
  11. package/app/components/Inspector/InspectionButton.vue +16 -16
  12. package/app/components/Inspector/ResultPanel.vue +15 -15
  13. package/app/components/Launcher.vue +18 -18
  14. package/app/components/Loading.vue +26 -26
  15. package/app/components/MissingFilesSelector.vue +44 -44
  16. package/app/components/ObjectSelector.vue +50 -50
  17. package/app/components/PackagesVersions.vue +20 -20
  18. package/app/components/Recaptcha.vue +40 -40
  19. package/app/components/RemoteRenderingView.vue +22 -22
  20. package/app/components/Step.vue +46 -46
  21. package/app/components/Stepper.vue +8 -8
  22. package/app/components/VeaseViewToolbar.vue +28 -28
  23. package/app/components/ViewToolbar.vue +22 -22
  24. package/app/components/Viewer/BreadCrumb.vue +20 -20
  25. package/app/components/Viewer/ContextMenu.vue +34 -34
  26. package/app/components/Viewer/EdgedCurve/PointsOptions.vue +7 -7
  27. package/app/components/Viewer/EdgedCurve/SpecificEdgesOptions.vue +42 -42
  28. package/app/components/Viewer/Generic/Mesh/CellsOptions.vue +22 -22
  29. package/app/components/Viewer/Generic/Mesh/EdgesOptions.vue +40 -40
  30. package/app/components/Viewer/Generic/Mesh/PointsOptions.vue +41 -41
  31. package/app/components/Viewer/Generic/Mesh/PolygonsOptions.vue +20 -20
  32. package/app/components/Viewer/Generic/Mesh/PolyhedraOptions.vue +19 -19
  33. package/app/components/Viewer/Generic/Model/EdgesOptions.vue +12 -12
  34. package/app/components/Viewer/Generic/Model/PointsOptions.vue +31 -31
  35. package/app/components/Viewer/Grid/2D/CellsOptions.vue +8 -8
  36. package/app/components/Viewer/Grid/2D/EdgesOptions.vue +7 -7
  37. package/app/components/Viewer/Grid/2D/PointsOptions.vue +7 -7
  38. package/app/components/Viewer/Grid/3D/CellsOptions.vue +8 -8
  39. package/app/components/Viewer/Grid/3D/EdgesOptions.vue +7 -7
  40. package/app/components/Viewer/Grid/3D/FacetsOptions.vue +8 -8
  41. package/app/components/Viewer/Grid/3D/PointsOptions.vue +7 -7
  42. package/app/components/Viewer/HybridSolid/EdgesOptions.vue +7 -7
  43. package/app/components/Viewer/HybridSolid/PointsOptions.vue +7 -7
  44. package/app/components/Viewer/HybridSolid/PolygonsOptions.vue +7 -7
  45. package/app/components/Viewer/HybridSolid/PolyhedraOptions.vue +7 -7
  46. package/app/components/Viewer/Options/CellAttributeSelector.vue +9 -9
  47. package/app/components/Viewer/Options/ColorPicker.vue +12 -12
  48. package/app/components/Viewer/Options/ColoringTypeSelector.vue +66 -66
  49. package/app/components/Viewer/Options/EdgeAttributeSelector.vue +21 -21
  50. package/app/components/Viewer/Options/PolygonAttributeSelector.vue +9 -9
  51. package/app/components/Viewer/Options/PolyhedronAttributeSelector.vue +9 -9
  52. package/app/components/Viewer/Options/TextureItem.vue +37 -37
  53. package/app/components/Viewer/Options/TexturesSelector.vue +30 -30
  54. package/app/components/Viewer/Options/VertexAttributeSelector.vue +9 -9
  55. package/app/components/Viewer/Options/VisibilitySwitch.vue +4 -4
  56. package/app/components/Viewer/PointSet/SpecificPointsOptions.vue +41 -41
  57. package/app/components/Viewer/PolygonalSurface/EdgesOptions.vue +7 -7
  58. package/app/components/Viewer/PolygonalSurface/PointsOptions.vue +7 -7
  59. package/app/components/Viewer/PolygonalSurface/SpecificPolygonsOptions.vue +22 -22
  60. package/app/components/Viewer/Solid/EdgesOptions.vue +7 -7
  61. package/app/components/Viewer/Solid/PointsOptions.vue +7 -7
  62. package/app/components/Viewer/Solid/PolygonsOptions.vue +7 -7
  63. package/app/components/Viewer/Solid/SpecificPolyhedraOptions.vue +21 -21
  64. package/app/components/Viewer/TetrahedralSolid/TetrahedraOptions.vue +8 -8
  65. package/app/components/Viewer/TetrahedralSolid/TrianglesOptions.vue +8 -8
  66. package/app/components/Viewer/Tree/ObjectTree.vue +39 -39
  67. package/app/components/Viewer/TreeComponent.vue +21 -21
  68. package/app/components/Viewer/TreeObject.vue +37 -37
  69. package/app/components/Viewer/TriangulatedSurface/EdgesOptions.vue +7 -7
  70. package/app/components/Viewer/TriangulatedSurface/PointsOptions.vue +7 -7
  71. package/app/components/Viewer/TriangulatedSurface/TrianglesOptions.vue +8 -8
  72. package/app/components/Wrapper.vue +15 -15
  73. package/package.json +1 -1
@@ -1,23 +1,3 @@
1
- <template>
2
- <ClientOnly>
3
- <Carousel :settings="carrousel_settings">
4
- <Slide
5
- v-for="(item, index) in props.items"
6
- :key="index"
7
- class="carousel__slide"
8
- >
9
- <a :href="item.url" target="_blank">
10
- <img :src="item.logo" class="carousel__item" />
11
- </a>
12
- </Slide>
13
- <template #addons>
14
- <Navigation />
15
- <Pagination />
16
- </template>
17
- </Carousel>
18
- </ClientOnly>
19
- </template>
20
-
21
1
  <script setup>
22
2
  import "vue3-carousel/dist/carousel.css"
23
3
  import { Carousel, Slide, Navigation, Pagination } from "vue3-carousel"
@@ -62,6 +42,26 @@
62
42
  })
63
43
  </script>
64
44
 
45
+ <template>
46
+ <ClientOnly>
47
+ <Carousel :settings="carrousel_settings">
48
+ <Slide
49
+ v-for="(item, index) in props.items"
50
+ :key="index"
51
+ class="carousel__slide"
52
+ >
53
+ <a :href="item.url" target="_blank">
54
+ <img :src="item.logo" class="carousel__item" />
55
+ </a>
56
+ </Slide>
57
+ <template #addons>
58
+ <Navigation />
59
+ <Pagination />
60
+ </template>
61
+ </Carousel>
62
+ </ClientOnly>
63
+ </template>
64
+
65
65
  <style scoped>
66
66
  .carousel__item {
67
67
  min-height: 200px;
@@ -1,28 +1,3 @@
1
- <template>
2
- <v-text-field
3
- v-model="search"
4
- append-icon="mdi-magnify"
5
- label="Search"
6
- single-line
7
- hide-details
8
- ></v-text-field>
9
- <v-data-table
10
- v-model="selected_crs"
11
- :v-model:items-per-page="10"
12
- :headers="headers"
13
- :items="crs_list"
14
- item-value="code"
15
- class="elevation-1"
16
- density="compact"
17
- fixed-header
18
- select-strategy="single"
19
- show-select
20
- :search="search"
21
- :loading="data_table_loading"
22
- loading-text="Loading... Please wait"
23
- ></v-data-table>
24
- </template>
25
-
26
1
  <script setup>
27
2
  import schemas from "@geode/opengeodeweb-back/opengeodeweb_back_schemas.json"
28
3
  const schema = schemas.opengeodeweb_back.geographic_coordinate_systems
@@ -89,3 +64,28 @@
89
64
 
90
65
  await get_crs_table()
91
66
  </script>
67
+
68
+ <template>
69
+ <v-text-field
70
+ v-model="search"
71
+ append-icon="mdi-magnify"
72
+ label="Search"
73
+ single-line
74
+ hide-details
75
+ ></v-text-field>
76
+ <v-data-table
77
+ v-model="selected_crs"
78
+ :v-model:items-per-page="10"
79
+ :headers="headers"
80
+ :items="crs_list"
81
+ item-value="code"
82
+ class="elevation-1"
83
+ density="compact"
84
+ fixed-header
85
+ select-strategy="single"
86
+ show-select
87
+ :search="search"
88
+ :loading="data_table_loading"
89
+ loading-text="Loading... Please wait"
90
+ ></v-data-table>
91
+ </template>
@@ -1,3 +1,34 @@
1
+ <script setup>
2
+ const props = defineProps({
3
+ multiple: { type: Boolean, default: false },
4
+ accept: { type: String, default: "" },
5
+ loading: { type: Boolean, default: false },
6
+ showExtensions: { type: Boolean, default: true },
7
+ idleText: { type: String, default: "Click or Drag & Drop files" },
8
+ dropText: { type: String, default: "Drop to upload" },
9
+ loadingText: { type: String, default: "Uploading..." },
10
+ })
11
+
12
+ const emit = defineEmits(["files-selected"])
13
+
14
+ const isDragging = ref(false)
15
+ const fileInput = ref(null)
16
+
17
+ const triggerFileDialog = () => fileInput.value?.click()
18
+
19
+ function handleDrop(e) {
20
+ isDragging.value = false
21
+ const files = Array.from(e.dataTransfer.files)
22
+ emit("files-selected", files)
23
+ }
24
+
25
+ function handleFileSelect(e) {
26
+ const files = Array.from(e.target.files)
27
+ emit("files-selected", files)
28
+ e.target.value = ""
29
+ }
30
+ </script>
31
+
1
32
  <template>
2
33
  <v-hover v-slot="{ isHovering, props: hoverProps }">
3
34
  <v-card
@@ -73,37 +104,6 @@
73
104
  </v-hover>
74
105
  </template>
75
106
 
76
- <script setup>
77
- const props = defineProps({
78
- multiple: { type: Boolean, default: false },
79
- accept: { type: String, default: "" },
80
- loading: { type: Boolean, default: false },
81
- showExtensions: { type: Boolean, default: true },
82
- idleText: { type: String, default: "Click or Drag & Drop files" },
83
- dropText: { type: String, default: "Drop to upload" },
84
- loadingText: { type: String, default: "Uploading..." },
85
- })
86
-
87
- const emit = defineEmits(["files-selected"])
88
-
89
- const isDragging = ref(false)
90
- const fileInput = ref(null)
91
-
92
- const triggerFileDialog = () => fileInput.value?.click()
93
-
94
- function handleDrop(e) {
95
- isDragging.value = false
96
- const files = Array.from(e.dataTransfer.files)
97
- emit("files-selected", files)
98
- }
99
-
100
- function handleFileSelect(e) {
101
- const files = Array.from(e.target.files)
102
- emit("files-selected", files)
103
- e.target.value = ""
104
- }
105
- </script>
106
-
107
107
  <style scoped>
108
108
  .rotating {
109
109
  animation: rotate 1s linear infinite;
@@ -1,59 +1,3 @@
1
- <template>
2
- <FetchingData v-if="loading" />
3
- <v-row v-else class="justify-left">
4
- <v-col
5
- v-for="(
6
- output_extensions, output_geode_object
7
- ) in geode_objects_and_output_extensions"
8
- :key="output_geode_object"
9
- class="justify-left"
10
- >
11
- <v-card class="card ma-2 pa-2" width="100%">
12
- <v-card-title
13
- v-tooltip:bottom="`Export as a ${output_geode_object}`"
14
- v-bind="props"
15
- >
16
- {{ output_geode_object }}
17
- </v-card-title>
18
- <v-card-text>
19
- <v-row>
20
- <v-col
21
- v-for="(extension, output_extension) in output_extensions"
22
- :key="output_extension"
23
- cols="auto"
24
- class="pa-0"
25
- >
26
- <v-tooltip
27
- :disabled="extension.is_saveable"
28
- text="Data not saveable with this file extension"
29
- location="bottom"
30
- >
31
- <template v-slot:activator="{ props }">
32
- <span v-bind="props">
33
- <v-card
34
- class="card ma-2"
35
- :color="extension.is_saveable ? 'primary' : 'grey'"
36
- hover
37
- @click="
38
- update_values(output_geode_object, output_extension)
39
- "
40
- :disabled="!extension.is_saveable"
41
- >
42
- <v-card-title align="center">
43
- {{ output_extension }}
44
- </v-card-title>
45
- </v-card>
46
- </span>
47
- </template>
48
- </v-tooltip>
49
- </v-col>
50
- </v-row>
51
- </v-card-text>
52
- </v-card>
53
- </v-col>
54
- </v-row>
55
- </template>
56
-
57
1
  <script setup>
58
2
  import schemas from "@geode/opengeodeweb-back/opengeodeweb_back_schemas.json"
59
3
 
@@ -128,3 +72,59 @@
128
72
 
129
73
  await get_output_file_extensions()
130
74
  </script>
75
+
76
+ <template>
77
+ <FetchingData v-if="loading" />
78
+ <v-row v-else class="justify-left">
79
+ <v-col
80
+ v-for="(
81
+ output_extensions, output_geode_object
82
+ ) in geode_objects_and_output_extensions"
83
+ :key="output_geode_object"
84
+ class="justify-left"
85
+ >
86
+ <v-card class="card ma-2 pa-2" width="100%">
87
+ <v-card-title
88
+ v-tooltip:bottom="`Export as a ${output_geode_object}`"
89
+ v-bind="props"
90
+ >
91
+ {{ output_geode_object }}
92
+ </v-card-title>
93
+ <v-card-text>
94
+ <v-row>
95
+ <v-col
96
+ v-for="(extension, output_extension) in output_extensions"
97
+ :key="output_extension"
98
+ cols="auto"
99
+ class="pa-0"
100
+ >
101
+ <v-tooltip
102
+ :disabled="extension.is_saveable"
103
+ text="Data not saveable with this file extension"
104
+ location="bottom"
105
+ >
106
+ <template v-slot:activator="{ props }">
107
+ <span v-bind="props">
108
+ <v-card
109
+ class="card ma-2"
110
+ :color="extension.is_saveable ? 'primary' : 'grey'"
111
+ hover
112
+ @click="
113
+ update_values(output_geode_object, output_extension)
114
+ "
115
+ :disabled="!extension.is_saveable"
116
+ >
117
+ <v-card-title align="center">
118
+ {{ output_extension }}
119
+ </v-card-title>
120
+ </v-card>
121
+ </span>
122
+ </template>
123
+ </v-tooltip>
124
+ </v-col>
125
+ </v-row>
126
+ </v-card-text>
127
+ </v-card>
128
+ </v-col>
129
+ </v-row>
130
+ </template>
@@ -1,3 +1,12 @@
1
+ <script setup>
2
+ import { useFeedbackStore } from "@ogw_front/stores/feedback"
3
+ const feedbackStore = useFeedbackStore()
4
+
5
+ function reload() {
6
+ window.location.reload()
7
+ }
8
+ </script>
9
+
1
10
  <template>
2
11
  <v-banner
3
12
  v-if="feedbackStore.server_error"
@@ -41,12 +50,3 @@
41
50
  </v-row>
42
51
  </v-banner>
43
52
  </template>
44
-
45
- <script setup>
46
- import { useFeedbackStore } from "@ogw_front/stores/feedback"
47
- const feedbackStore = useFeedbackStore()
48
-
49
- function reload() {
50
- window.location.reload()
51
- }
52
- </script>
@@ -1,3 +1,14 @@
1
+ <script setup>
2
+ import { useFeedbackStore } from "@ogw_front/stores/feedback"
3
+
4
+ const feedbackStore = useFeedbackStore()
5
+ const show = ref(true)
6
+
7
+ function calc_margin(index) {
8
+ return index * 60 + 8 + "px"
9
+ }
10
+ </script>
11
+
1
12
  <template>
2
13
  <v-snackbar
3
14
  v-for="(feedback, index) in feedbackStore.feedbacks"
@@ -60,17 +71,6 @@
60
71
  </v-snackbar>
61
72
  </template>
62
73
 
63
- <script setup>
64
- import { useFeedbackStore } from "@ogw_front/stores/feedback"
65
-
66
- const feedbackStore = useFeedbackStore()
67
- const show = ref(true)
68
-
69
- function calc_margin(index) {
70
- return index * 60 + 8 + "px"
71
- }
72
- </script>
73
-
74
74
  <style scoped>
75
75
  .v-snackbar :deep(.v-snackbar__content) {
76
76
  width: 100%;
@@ -1,12 +1,3 @@
1
- <template>
2
- <FetchingData v-if="loading" />
3
- <FileUploader
4
- v-else
5
- v-bind="{ multiple, accept, files: internal_files, auto_upload }"
6
- @files_uploaded="files_uploaded_event"
7
- />
8
- </template>
9
-
10
1
  <script setup>
11
2
  import schemas from "@geode/opengeodeweb-back/opengeodeweb_back_schemas.json"
12
3
 
@@ -62,3 +53,12 @@
62
53
 
63
54
  await get_allowed_files()
64
55
  </script>
56
+
57
+ <template>
58
+ <FetchingData v-if="loading" />
59
+ <FileUploader
60
+ v-else
61
+ v-bind="{ multiple, accept, files: internal_files, auto_upload }"
62
+ @files_uploaded="files_uploaded_event"
63
+ />
64
+ </template>
@@ -1,57 +1,3 @@
1
- <template>
2
- <DragAndDrop
3
- :multiple="props.multiple"
4
- :accept="props.accept"
5
- :loading="loading"
6
- :show-extensions="false"
7
- @files-selected="processSelectedFiles"
8
- />
9
-
10
- <v-card-text v-if="internal_files.length" class="mt-4">
11
- <v-sheet class="d-flex align-center mb-3" color="transparent">
12
- <v-icon icon="mdi-file-check" class="mr-2" color="primary" />
13
- <span class="text-subtitle-2 font-weight-bold"> Selected Files </span>
14
- <v-chip size="x-small" class="ml-2" color="primary" variant="flat">
15
- {{ internal_files.length }}
16
- </v-chip>
17
- </v-sheet>
18
-
19
- <v-sheet class="d-flex flex-wrap gap-2" color="transparent">
20
- <v-chip
21
- v-for="(file, index) in internal_files"
22
- :key="index"
23
- closable
24
- size="small"
25
- color="primary"
26
- variant="tonal"
27
- class="font-weight-medium"
28
- @click:close="removeFile(index)"
29
- >
30
- <v-icon start size="16">mdi-file-outline</v-icon>
31
- {{ file.name }}
32
- </v-chip>
33
- </v-sheet>
34
- </v-card-text>
35
-
36
- <v-card-actions v-if="!props.auto_upload && internal_files.length">
37
- <v-btn
38
- color="primary"
39
- variant="elevated"
40
- size="large"
41
- rounded="lg"
42
- :loading="loading"
43
- class="text-none px-3 font-weight-bold"
44
- @click="upload_files"
45
- >
46
- <v-icon start size="20">mdi-cloud-upload-outline</v-icon>
47
- Upload {{ internal_files.length }} file<span
48
- v-if="internal_files.length > 1"
49
- >s</span
50
- >
51
- </v-btn>
52
- </v-card-actions>
53
- </template>
54
-
55
1
  <script setup>
56
2
  import schemas from "@geode/opengeodeweb-back/opengeodeweb_back_schemas.json"
57
3
  import { upload_file } from "@ogw_front/utils/upload_file"
@@ -142,3 +88,57 @@
142
88
  }
143
89
  })
144
90
  </script>
91
+
92
+ <template>
93
+ <DragAndDrop
94
+ :multiple="props.multiple"
95
+ :accept="props.accept"
96
+ :loading="loading"
97
+ :show-extensions="false"
98
+ @files-selected="processSelectedFiles"
99
+ />
100
+
101
+ <v-card-text v-if="internal_files.length" class="mt-4">
102
+ <v-sheet class="d-flex align-center mb-3" color="transparent">
103
+ <v-icon icon="mdi-file-check" class="mr-2" color="primary" />
104
+ <span class="text-subtitle-2 font-weight-bold"> Selected Files </span>
105
+ <v-chip size="x-small" class="ml-2" color="primary" variant="flat">
106
+ {{ internal_files.length }}
107
+ </v-chip>
108
+ </v-sheet>
109
+
110
+ <v-sheet class="d-flex flex-wrap gap-2" color="transparent">
111
+ <v-chip
112
+ v-for="(file, index) in internal_files"
113
+ :key="index"
114
+ closable
115
+ size="small"
116
+ color="primary"
117
+ variant="tonal"
118
+ class="font-weight-medium"
119
+ @click:close="removeFile(index)"
120
+ >
121
+ <v-icon start size="16">mdi-file-outline</v-icon>
122
+ {{ file.name }}
123
+ </v-chip>
124
+ </v-sheet>
125
+ </v-card-text>
126
+
127
+ <v-card-actions v-if="!props.auto_upload && internal_files.length">
128
+ <v-btn
129
+ color="primary"
130
+ variant="elevated"
131
+ size="large"
132
+ rounded="lg"
133
+ :loading="loading"
134
+ class="text-none px-3 font-weight-bold"
135
+ @click="upload_files"
136
+ >
137
+ <v-icon start size="20">mdi-cloud-upload-outline</v-icon>
138
+ Upload {{ internal_files.length }} file<span
139
+ v-if="internal_files.length > 1"
140
+ >s</span
141
+ >
142
+ </v-btn>
143
+ </v-card-actions>
144
+ </template>
@@ -1,19 +1,3 @@
1
- <template>
2
- <ClientOnly>
3
- <div class="fill-height" style="position: relative">
4
- <VeaseViewToolbar />
5
- <slot name="ui"></slot>
6
- <v-col
7
- class="pa-0"
8
- ref="viewer"
9
- style="height: 100%; overflow: hidden; position: relative; z-index: 0"
10
- @click="get_x_y"
11
- @keydown.esc="viewerStore.toggle_picking_mode(false)"
12
- />
13
- </div>
14
- </ClientOnly>
15
- </template>
16
-
17
1
  <script setup>
18
2
  import VeaseViewToolbar from "@ogw_front/components/VeaseViewToolbar"
19
3
 
@@ -64,6 +48,22 @@
64
48
  }
65
49
  </script>
66
50
 
51
+ <template>
52
+ <ClientOnly>
53
+ <div class="fill-height" style="position: relative">
54
+ <VeaseViewToolbar />
55
+ <slot name="ui"></slot>
56
+ <v-col
57
+ class="pa-0"
58
+ ref="viewer"
59
+ style="height: 100%; overflow: hidden; position: relative; z-index: 0"
60
+ @click="get_x_y"
61
+ @keydown.esc="viewerStore.toggle_picking_mode(false)"
62
+ />
63
+ </div>
64
+ </ClientOnly>
65
+ </template>
66
+
67
67
  <style>
68
68
  img {
69
69
  pointer-events: none;
@@ -1,9 +1,9 @@
1
- <template>
2
- <slot v-if="infraStore.microservices_connected" />
3
- </template>
4
-
5
1
  <script setup>
6
2
  import { useInfraStore } from "@ogw_front/stores/infra"
7
3
  const infraStore = useInfraStore()
8
4
  console.log("TEST", { infraStore })
9
5
  </script>
6
+
7
+ <template>
8
+ <slot v-if="infraStore.microservices_connected" />
9
+ </template>
@@ -1,19 +1,3 @@
1
- <template>
2
- <div class="pa-0">
3
- <v-btn
4
- :loading="loading"
5
- color="primary"
6
- @click="get_inspection_results(props.geode_object_type, props.filename)"
7
- >
8
- Inspect
9
- <template #loader>
10
- <v-progress-circular indeterminate size="20" color="white" width="3" />
11
- </template>
12
- </v-btn>
13
- <v-btn variant="text" @click="emit('decrement_step')">Cancel</v-btn>
14
- </div>
15
- </template>
16
-
17
1
  <script setup>
18
2
  import schemas from "@geode/opengeodeweb-back/opengeodeweb_back_schemas.json"
19
3
  import { useGeodeStore } from "@ogw_front/stores/geode"
@@ -47,3 +31,19 @@
47
31
  toggle_loading()
48
32
  }
49
33
  </script>
34
+
35
+ <template>
36
+ <div class="pa-0">
37
+ <v-btn
38
+ :loading="loading"
39
+ color="primary"
40
+ @click="get_inspection_results(props.geode_object_type, props.filename)"
41
+ >
42
+ Inspect
43
+ <template #loader>
44
+ <v-progress-circular indeterminate size="20" color="white" width="3" />
45
+ </template>
46
+ </v-btn>
47
+ <v-btn variant="text" @click="emit('decrement_step')">Cancel</v-btn>
48
+ </div>
49
+ </template>
@@ -1,3 +1,18 @@
1
+ <script setup>
2
+ import InspectorResultPanel from "@ogw_front/components/Inspector/ResultPanel"
3
+
4
+ const props = defineProps({
5
+ inspection_result: { type: Array, required: true },
6
+ })
7
+ const opened_panels = ref([])
8
+
9
+ onMounted(async () => {
10
+ opened_panels.value = props.inspection_result
11
+ .map((result, i) => (result.nb_issues > 0 ? i : -1))
12
+ .filter((index) => index !== -1)
13
+ })
14
+ </script>
15
+
1
16
  <template>
2
17
  <v-container class="pa-2">
3
18
  <v-expansion-panels v-model="opened_panels" multiple elevation="5">
@@ -40,18 +55,3 @@
40
55
  </v-expansion-panels>
41
56
  </v-container>
42
57
  </template>
43
-
44
- <script setup>
45
- import InspectorResultPanel from "@ogw_front/components/Inspector/ResultPanel"
46
-
47
- const props = defineProps({
48
- inspection_result: { type: Array, required: true },
49
- })
50
- const opened_panels = ref([])
51
-
52
- onMounted(async () => {
53
- opened_panels.value = props.inspection_result
54
- .map((result, i) => (result.nb_issues > 0 ? i : -1))
55
- .filter((index) => index !== -1)
56
- })
57
- </script>
@@ -1,3 +1,21 @@
1
+ <script setup>
2
+ import Status from "@ogw_front/utils/status"
3
+ import Loading from "@ogw_front/components/Loading"
4
+ import Recaptcha from "@ogw_front/components/Recaptcha"
5
+ import { useInfraStore } from "@ogw_front/stores/infra"
6
+
7
+ const infraStore = useInfraStore()
8
+
9
+ watch(
10
+ () => infraStore.is_captcha_validated,
11
+ (value, oldValue) => {
12
+ if (value && !oldValue && import.meta.client) {
13
+ infraStore.create_backend()
14
+ }
15
+ },
16
+ )
17
+ </script>
18
+
1
19
  <template>
2
20
  <v-container class="justify">
3
21
  <v-row align-content="center" align="center">
@@ -16,21 +34,3 @@
16
34
  </v-row>
17
35
  </v-container>
18
36
  </template>
19
-
20
- <script setup>
21
- import Status from "@ogw_front/utils/status"
22
- import Loading from "@ogw_front/components/Loading"
23
- import Recaptcha from "@ogw_front/components/Recaptcha"
24
- import { useInfraStore } from "@ogw_front/stores/infra"
25
-
26
- const infraStore = useInfraStore()
27
-
28
- watch(
29
- () => infraStore.is_captcha_validated,
30
- (value, oldValue) => {
31
- if (value && !oldValue && import.meta.client) {
32
- infraStore.create_backend()
33
- }
34
- },
35
- )
36
- </script>