@geode/opengeodeweb-front 9.7.1-rc.1 → 9.7.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.
- package/assets/geode_objects.js +25 -25
- package/components/Launcher.vue +1 -1
- package/components/Loading.vue +11 -11
- package/components/ObjectSelector.vue +1 -1
- package/components/PackagesVersions.vue +1 -1
- package/components/RemoteRenderingView.vue +1 -1
- package/composables/upload_file.js +0 -6
- package/nuxt.config.js +4 -0
- package/package.json +9 -9
- package/scripts/generate_geode_objects.js +2 -1
- package/stores/geode.js +1 -1
- package/stores/infra.js +1 -1
- package/stores/viewer.js +1 -1
- package/test/components/CrsSelector.nuxt.test.js +1 -1
- package/test/components/ExtensionSelector.nuxt.test.js +1 -1
- package/test/components/FeedBack/ErrorsBanner.nuxt.test.js +1 -1
- package/test/components/FeedBack/Snackers.nuxt.test.js +1 -1
- package/test/components/FileSelector.nuxt.test.js +2 -2
- package/test/components/FileUploader.nuxt.test.js +1 -1
- package/test/components/Inspector/InspectionButton.nuxt.test.js +1 -1
- package/test/components/Inspector/ResultPanel.nuxt.test.js +1 -1
- package/test/components/Launcher.nuxt.test.js +1 -1
- package/test/components/MissingFilesSelector.nuxt.test.js +2 -2
- package/test/components/ObjectSelector.nuxt.test.js +1 -1
- package/test/components/PackagesVersions.nuxt.test.js +1 -1
- package/test/components/Step.nuxt.test.js +2 -2
- package/test/components/Stepper.nuxt.test.js +2 -2
- package/test/components/Wrapper.nuxt.test.js +2 -2
- package/test/composables/run_function_when_microservices_connected.test.js +1 -1
- package/test/composables/upload_file.nuxt.test.js +1 -1
- package/test/stores/Feedback.nuxt.test.js +1 -1
- package/test/stores/Infra.nuxt.test.js +1 -1
package/assets/geode_objects.js
CHANGED
|
@@ -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_f/assets/img/geode_objects/BRep.svg"
|
|
2
|
+
import CrossSection from "@ogw_f/assets/img/geode_objects/CrossSection.svg"
|
|
3
|
+
import EdgedCurve2D from "@ogw_f/assets/img/geode_objects/EdgedCurve2D.svg"
|
|
4
|
+
import EdgedCurve3D from "@ogw_f/assets/img/geode_objects/EdgedCurve3D.svg"
|
|
5
|
+
import Graph from "@ogw_f/assets/img/geode_objects/Graph.svg"
|
|
6
|
+
import HybridSolid3D from "@ogw_f/assets/img/geode_objects/HybridSolid3D.svg"
|
|
7
|
+
import ImplicitCrossSection from "@ogw_f/assets/img/geode_objects/ImplicitCrossSection.svg"
|
|
8
|
+
import ImplicitStructuralModel from "@ogw_f/assets/img/geode_objects/ImplicitStructuralModel.svg"
|
|
9
|
+
import LightRegularGrid2D from "@ogw_f/assets/img/geode_objects/LightRegularGrid2D.svg"
|
|
10
|
+
import LightRegularGrid3D from "@ogw_f/assets/img/geode_objects/LightRegularGrid3D.svg"
|
|
11
|
+
import PointSet2D from "@ogw_f/assets/img/geode_objects/PointSet2D.svg"
|
|
12
|
+
import PointSet3D from "@ogw_f/assets/img/geode_objects/PointSet3D.svg"
|
|
13
|
+
import PolygonalSurface2D from "@ogw_f/assets/img/geode_objects/PolygonalSurface2D.svg"
|
|
14
|
+
import PolygonalSurface3D from "@ogw_f/assets/img/geode_objects/PolygonalSurface3D.svg"
|
|
15
|
+
import PolyhedralSolid3D from "@ogw_f/assets/img/geode_objects/PolyhedralSolid3D.svg"
|
|
16
|
+
import RasterImage2D from "@ogw_f/assets/img/geode_objects/RasterImage2D.svg"
|
|
17
|
+
import RasterImage3D from "@ogw_f/assets/img/geode_objects/RasterImage3D.svg"
|
|
18
|
+
import RegularGrid2D from "@ogw_f/assets/img/geode_objects/RegularGrid2D.svg"
|
|
19
|
+
import RegularGrid3D from "@ogw_f/assets/img/geode_objects/RegularGrid3D.svg"
|
|
20
|
+
import Section from "@ogw_f/assets/img/geode_objects/Section.svg"
|
|
21
|
+
import StructuralModel from "@ogw_f/assets/img/geode_objects/StructuralModel.svg"
|
|
22
|
+
import TetrahedralSolid3D from "@ogw_f/assets/img/geode_objects/TetrahedralSolid3D.svg"
|
|
23
|
+
import TriangulatedSurface2D from "@ogw_f/assets/img/geode_objects/TriangulatedSurface2D.svg"
|
|
24
|
+
import TriangulatedSurface3D from "@ogw_f/assets/img/geode_objects/TriangulatedSurface3D.svg"
|
|
25
|
+
import VertexSet from "@ogw_f/assets/img/geode_objects/VertexSet.svg"
|
|
26
26
|
|
|
27
27
|
const geode_objects = {
|
|
28
28
|
BRep: {
|
package/components/Launcher.vue
CHANGED
package/components/Loading.vue
CHANGED
|
@@ -25,17 +25,17 @@
|
|
|
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_f/assets/img/energy_sobriety/ying_yang.png"
|
|
29
|
+
import chemin from "@ogw_f/assets/img/energy_sobriety/chemin.png"
|
|
30
|
+
import vert from "@ogw_f/assets/img/energy_sobriety/vert.png"
|
|
31
|
+
import lampadaire from "@ogw_f/assets/img/energy_sobriety/lampadaire.png"
|
|
32
|
+
import collegue from "@ogw_f/assets/img/energy_sobriety/collegue.png"
|
|
33
|
+
import sobene from "@ogw_f/assets/img/energy_sobriety/sobene.png"
|
|
34
|
+
import etincelle from "@ogw_f/assets/img/energy_sobriety/etincelle.png"
|
|
35
|
+
import geste from "@ogw_f/assets/img/energy_sobriety/geste.png"
|
|
36
|
+
import socle from "@ogw_f/assets/img/energy_sobriety/socle.png"
|
|
37
|
+
import derniere from "@ogw_f/assets/img/energy_sobriety/derniere.png"
|
|
38
|
+
import salon from "@ogw_f/assets/img/energy_sobriety/salon.png"
|
|
39
39
|
|
|
40
40
|
const users_list = [
|
|
41
41
|
{
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
</template>
|
|
50
50
|
|
|
51
51
|
<script setup>
|
|
52
|
-
import geode_objects from "
|
|
52
|
+
import geode_objects from "@ogw_f/assets/geode_objects"
|
|
53
53
|
import schemas from "@geode/opengeodeweb-back/schemas.json"
|
|
54
54
|
|
|
55
55
|
const schema = schemas.opengeodeweb_back.allowed_objects
|
|
@@ -24,7 +24,7 @@
|
|
|
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/schemas.json"
|
|
27
|
-
import Status from "
|
|
27
|
+
import Status from "@ogw_f/utils/status.js"
|
|
28
28
|
|
|
29
29
|
const props = defineProps({
|
|
30
30
|
viewId: { type: String, default: "-1" },
|
|
@@ -23,11 +23,7 @@ export async function upload_file(
|
|
|
23
23
|
return $fetch(route, {
|
|
24
24
|
baseURL: geode_store.base_url,
|
|
25
25
|
...request_options,
|
|
26
|
-
onRequest({ request }) {
|
|
27
|
-
console.log("onRequest", request)
|
|
28
|
-
},
|
|
29
26
|
onRequestError({ error }) {
|
|
30
|
-
console.log("onRequestError", error)
|
|
31
27
|
geode_store.stop_request()
|
|
32
28
|
feedback_store.add_error(error.code, route, error.message, error.stack)
|
|
33
29
|
if (request_error_function) {
|
|
@@ -35,7 +31,6 @@ export async function upload_file(
|
|
|
35
31
|
}
|
|
36
32
|
},
|
|
37
33
|
onResponse({ response }) {
|
|
38
|
-
console.log("onResponse", response)
|
|
39
34
|
if (response.ok) {
|
|
40
35
|
geode_store.stop_request()
|
|
41
36
|
if (response_function) {
|
|
@@ -44,7 +39,6 @@ export async function upload_file(
|
|
|
44
39
|
}
|
|
45
40
|
},
|
|
46
41
|
onResponseError({ response }) {
|
|
47
|
-
console.log("onResponseError", response)
|
|
48
42
|
geode_store.stop_request()
|
|
49
43
|
feedback_store.add_error(
|
|
50
44
|
response.status,
|
package/nuxt.config.js
CHANGED
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
},
|
|
9
9
|
"devDependencies": {
|
|
10
10
|
"@nuxt/test-utils": "^3.18.0",
|
|
11
|
-
"@pinia/testing": "^
|
|
11
|
+
"@pinia/testing": "^0.1.7",
|
|
12
12
|
"@vitejs/plugin-vue": "^5.2.3",
|
|
13
13
|
"@vue/test-utils": "^2.4.6",
|
|
14
14
|
"eslint": "^9.26.0",
|
|
@@ -20,42 +20,42 @@
|
|
|
20
20
|
"eslint-plugin-vuetify": "^2.5.2",
|
|
21
21
|
"happy-dom": "^17.4.6",
|
|
22
22
|
"jsdom": "^26.1.0",
|
|
23
|
-
"nuxt": "3.17.2",
|
|
24
23
|
"playwright-core": "^1.52.0",
|
|
25
24
|
"prettier": "3.3.3",
|
|
26
25
|
"resize-observer-polyfill": "^1.5.1",
|
|
27
26
|
"vite": "^6.3.5",
|
|
28
27
|
"vite-plugin-vuetify": "^2.1.1",
|
|
29
28
|
"vitest": "^3.1.2",
|
|
30
|
-
"vitest-environment-nuxt": "^1.0.1"
|
|
31
|
-
"vuetify": "^3.8.3",
|
|
32
|
-
"wslink": "1.12.4"
|
|
29
|
+
"vitest-environment-nuxt": "^1.0.1"
|
|
33
30
|
},
|
|
34
31
|
"overrides": {
|
|
35
32
|
"vue": "latest"
|
|
36
33
|
},
|
|
37
34
|
"description": "OpenSource Vue/Vuetify framework for web applications",
|
|
38
35
|
"type": "module",
|
|
39
|
-
"version": "9.7.1-rc.
|
|
36
|
+
"version": "9.7.1-rc.3",
|
|
40
37
|
"main": "./nuxt.config.js",
|
|
41
38
|
"dependencies": {
|
|
42
39
|
"@geode/opengeodeweb-back": "5.7.0",
|
|
43
40
|
"@geode/opengeodeweb-viewer": "1.6.3",
|
|
44
41
|
"@kitware/vtk.js": "30.3.1",
|
|
45
42
|
"@mdi/font": "^7.4.47",
|
|
46
|
-
"@pinia/nuxt": "^0.
|
|
43
|
+
"@pinia/nuxt": "^0.5.4",
|
|
47
44
|
"@types/node": "^22.15.3",
|
|
48
45
|
"@vueuse/components": "^13.1.0",
|
|
49
46
|
"@vueuse/nuxt": "^13.1.0",
|
|
50
47
|
"ajv": "^8.17.1",
|
|
51
48
|
"is-electron": "^2.2.2",
|
|
52
49
|
"js-file-download": "^0.4.12",
|
|
53
|
-
"
|
|
50
|
+
"nuxt": "^3.13.2",
|
|
51
|
+
"pinia": "^2.3.1",
|
|
54
52
|
"sass": "^1.87.0",
|
|
55
53
|
"semver": "^7.7.1",
|
|
56
54
|
"uuid": "^11.1.0",
|
|
57
55
|
"vue-recaptcha": "^2.0.3",
|
|
58
|
-
"vue3-carousel": "^0.3.3"
|
|
56
|
+
"vue3-carousel": "^0.3.3",
|
|
57
|
+
"vuetify": "^3.8.3",
|
|
58
|
+
"wslink": "1.12.4"
|
|
59
59
|
},
|
|
60
60
|
"repository": {
|
|
61
61
|
"type": "git",
|
|
@@ -15,7 +15,8 @@ var geode_objects = "const geode_objects = {"
|
|
|
15
15
|
for (const file of files) {
|
|
16
16
|
const geode_object = file.replace(".svg", "")
|
|
17
17
|
imports +=
|
|
18
|
-
`import ${geode_object} from "
|
|
18
|
+
`import ${geode_object} from "@ogw_f/assets/img/geode_objects/${file}"` +
|
|
19
|
+
"\n"
|
|
19
20
|
geode_objects += `${geode_object}:{\n tooltip: "${geode_object}",\n image: ${geode_object},\n},\n`
|
|
20
21
|
}
|
|
21
22
|
geode_objects += "}\n\n export default geode_objects"
|
package/stores/geode.js
CHANGED
package/stores/infra.js
CHANGED
package/stores/viewer.js
CHANGED
|
@@ -2,7 +2,7 @@ import _ from "lodash"
|
|
|
2
2
|
import vtkWSLinkClient from "@kitware/vtk.js/IO/Core/WSLinkClient"
|
|
3
3
|
import "@kitware/vtk.js/Rendering/OpenGL/Profiles/Geometry"
|
|
4
4
|
import schemas from "@geode/opengeodeweb-viewer/schemas.json"
|
|
5
|
-
import Status from "
|
|
5
|
+
import Status from "@ogw_f/utils/status.js"
|
|
6
6
|
|
|
7
7
|
export const use_viewer_store = defineStore("viewer", {
|
|
8
8
|
state: () => ({
|
|
@@ -7,7 +7,7 @@ import { createVuetify } from "vuetify"
|
|
|
7
7
|
import * as components from "vuetify/components"
|
|
8
8
|
import * as directives from "vuetify/directives"
|
|
9
9
|
|
|
10
|
-
import CrsSelector from "
|
|
10
|
+
import CrsSelector from "@ogw_f/components/CrsSelector.vue"
|
|
11
11
|
import schemas from "@geode/opengeodeweb-back/schemas.json"
|
|
12
12
|
|
|
13
13
|
const crs_selector_schema =
|
|
@@ -7,7 +7,7 @@ import * as directives from "vuetify/directives"
|
|
|
7
7
|
import { setActivePinia } from "pinia"
|
|
8
8
|
import { createTestingPinia } from "@pinia/testing"
|
|
9
9
|
|
|
10
|
-
import ExtensionSelector from "
|
|
10
|
+
import ExtensionSelector from "@ogw_f/components/ExtensionSelector.vue"
|
|
11
11
|
|
|
12
12
|
import schemas from "@geode/opengeodeweb-back/schemas.json"
|
|
13
13
|
|
|
@@ -5,7 +5,7 @@ import * as components from "vuetify/components"
|
|
|
5
5
|
import * as directives from "vuetify/directives"
|
|
6
6
|
import { createTestingPinia } from "@pinia/testing"
|
|
7
7
|
|
|
8
|
-
import FeedBackErrorBanner from "
|
|
8
|
+
import FeedBackErrorBanner from "@ogw_f/components/FeedBack/ErrorBanner.vue"
|
|
9
9
|
|
|
10
10
|
const vuetify = createVuetify({
|
|
11
11
|
components,
|
|
@@ -5,7 +5,7 @@ import * as components from "vuetify/components"
|
|
|
5
5
|
import * as directives from "vuetify/directives"
|
|
6
6
|
import { createTestingPinia } from "@pinia/testing"
|
|
7
7
|
|
|
8
|
-
import FeedBackSnackers from "
|
|
8
|
+
import FeedBackSnackers from "@ogw_f/components/FeedBack/Snackers.vue"
|
|
9
9
|
|
|
10
10
|
const vuetify = createVuetify({
|
|
11
11
|
components,
|
|
@@ -9,8 +9,8 @@ import * as directives from "vuetify/directives"
|
|
|
9
9
|
import { setActivePinia } from "pinia"
|
|
10
10
|
import { createTestingPinia } from "@pinia/testing"
|
|
11
11
|
|
|
12
|
-
import FileSelector from "
|
|
13
|
-
import FileUploader from "
|
|
12
|
+
import FileSelector from "@ogw_f/components/FileSelector.vue"
|
|
13
|
+
import FileUploader from "@ogw_f/components/FileUploader.vue"
|
|
14
14
|
|
|
15
15
|
import schemas from "@geode/opengeodeweb-back/schemas.json"
|
|
16
16
|
|
|
@@ -8,7 +8,7 @@ import * as directives from "vuetify/directives"
|
|
|
8
8
|
import { setActivePinia } from "pinia"
|
|
9
9
|
import { createTestingPinia } from "@pinia/testing"
|
|
10
10
|
|
|
11
|
-
import FileUploader from "
|
|
11
|
+
import FileUploader from "@ogw_f/components/FileUploader.vue"
|
|
12
12
|
|
|
13
13
|
import schemas from "@geode/opengeodeweb-back/schemas.json"
|
|
14
14
|
|
|
@@ -8,7 +8,7 @@ import * as directives from "vuetify/directives"
|
|
|
8
8
|
import { setActivePinia } from "pinia"
|
|
9
9
|
import { createTestingPinia } from "@pinia/testing"
|
|
10
10
|
|
|
11
|
-
import InspectorInspectionButton from "
|
|
11
|
+
import InspectorInspectionButton from "@ogw_f/components/Inspector/InspectionButton.vue"
|
|
12
12
|
import schemas from "@geode/opengeodeweb-back/schemas.json"
|
|
13
13
|
const schema = schemas.opengeodeweb_back.inspect_file
|
|
14
14
|
|
|
@@ -5,7 +5,7 @@ import { createVuetify } from "vuetify"
|
|
|
5
5
|
import * as components from "vuetify/components"
|
|
6
6
|
import * as directives from "vuetify/directives"
|
|
7
7
|
|
|
8
|
-
import InspectorResultPanel from "
|
|
8
|
+
import InspectorResultPanel from "@ogw_f/components/Inspector/ResultPanel.vue"
|
|
9
9
|
|
|
10
10
|
const vuetify = createVuetify({
|
|
11
11
|
components,
|
|
@@ -6,7 +6,7 @@ import { createVuetify } from "vuetify"
|
|
|
6
6
|
import * as components from "vuetify/components"
|
|
7
7
|
import * as directives from "vuetify/directives"
|
|
8
8
|
|
|
9
|
-
import Launcher from "
|
|
9
|
+
import Launcher from "@ogw_f/components/Launcher.vue"
|
|
10
10
|
|
|
11
11
|
const vuetify = createVuetify({
|
|
12
12
|
components,
|
|
@@ -8,8 +8,8 @@ import * as directives from "vuetify/directives"
|
|
|
8
8
|
import { setActivePinia } from "pinia"
|
|
9
9
|
import { createTestingPinia } from "@pinia/testing"
|
|
10
10
|
|
|
11
|
-
import MissingFilesSelector from "
|
|
12
|
-
import FileUploader from "
|
|
11
|
+
import MissingFilesSelector from "@ogw_f/components/MissingFilesSelector.vue"
|
|
12
|
+
import FileUploader from "@ogw_f/components/FileUploader.vue"
|
|
13
13
|
|
|
14
14
|
import schemas from "@geode/opengeodeweb-back/schemas.json"
|
|
15
15
|
|
|
@@ -8,7 +8,7 @@ import * as directives from "vuetify/directives"
|
|
|
8
8
|
import { setActivePinia } from "pinia"
|
|
9
9
|
import { createTestingPinia } from "@pinia/testing"
|
|
10
10
|
|
|
11
|
-
import ObjectSelector from "
|
|
11
|
+
import ObjectSelector from "@ogw_f/components/ObjectSelector.vue"
|
|
12
12
|
|
|
13
13
|
import schemas from "@geode/opengeodeweb-back/schemas.json"
|
|
14
14
|
|
|
@@ -8,7 +8,7 @@ import * as directives from "vuetify/directives"
|
|
|
8
8
|
import { setActivePinia } from "pinia"
|
|
9
9
|
import { createTestingPinia } from "@pinia/testing"
|
|
10
10
|
|
|
11
|
-
import PackagesVersions from "
|
|
11
|
+
import PackagesVersions from "@ogw_f/components/PackagesVersions.vue"
|
|
12
12
|
|
|
13
13
|
const vuetify = createVuetify({
|
|
14
14
|
components,
|
|
@@ -5,8 +5,8 @@ import { createVuetify } from "vuetify"
|
|
|
5
5
|
import * as components from "vuetify/components"
|
|
6
6
|
import * as directives from "vuetify/directives"
|
|
7
7
|
|
|
8
|
-
import Step from "
|
|
9
|
-
import ObjectSelector from "
|
|
8
|
+
import Step from "@ogw_f/components/Step.vue"
|
|
9
|
+
import ObjectSelector from "@ogw_f/components/ObjectSelector.vue"
|
|
10
10
|
|
|
11
11
|
const vuetify = createVuetify({
|
|
12
12
|
components,
|
|
@@ -5,8 +5,8 @@ import { createVuetify } from "vuetify"
|
|
|
5
5
|
import * as components from "vuetify/components"
|
|
6
6
|
import * as directives from "vuetify/directives"
|
|
7
7
|
|
|
8
|
-
import Stepper from "
|
|
9
|
-
import ObjectSelector from "
|
|
8
|
+
import Stepper from "@ogw_f/components/Stepper.vue"
|
|
9
|
+
import ObjectSelector from "@ogw_f/components/ObjectSelector.vue"
|
|
10
10
|
import { mountSuspended } from "@nuxt/test-utils/runtime"
|
|
11
11
|
|
|
12
12
|
const vuetify = createVuetify({
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
// import * as components from "vuetify/components"
|
|
6
6
|
// import * as directives from "vuetify/directives"
|
|
7
7
|
|
|
8
|
-
// // import Wrapper from "
|
|
9
|
-
// import ObjectSelector from "
|
|
8
|
+
// // import Wrapper from "@ogw_f/components/Wrapper.vue"
|
|
9
|
+
// import ObjectSelector from "@ogw_f/components/ObjectSelector.vue"
|
|
10
10
|
|
|
11
11
|
// const vuetify = createVuetify({
|
|
12
12
|
// components,
|
|
@@ -2,7 +2,7 @@ import { describe, expect, test, beforeEach } from "vitest"
|
|
|
2
2
|
import { setActivePinia } from "pinia"
|
|
3
3
|
import { createTestingPinia } from "@pinia/testing"
|
|
4
4
|
import { registerEndpoint } from "@nuxt/test-utils/runtime"
|
|
5
|
-
import { upload_file } from "
|
|
5
|
+
import { upload_file } from "@ogw_f/composables/upload_file"
|
|
6
6
|
import schemas from "@geode/opengeodeweb-back/schemas.json"
|
|
7
7
|
const schema = schemas.opengeodeweb_back.upload_file
|
|
8
8
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { setActivePinia } from "pinia"
|
|
2
2
|
import { createTestingPinia } from "@pinia/testing"
|
|
3
|
-
import { use_feedback_store } from "
|
|
3
|
+
import { use_feedback_store } from "@ogw_f/stores/feedback"
|
|
4
4
|
import { describe, test, expect, expectTypeOf, beforeEach } from "vitest"
|
|
5
5
|
|
|
6
6
|
describe("Feedback Store", () => {
|
|
@@ -2,7 +2,7 @@ import { describe, test, expect, expectTypeOf, beforeEach, vi } from "vitest"
|
|
|
2
2
|
import { registerEndpoint } from "@nuxt/test-utils/runtime"
|
|
3
3
|
import { setActivePinia } from "pinia"
|
|
4
4
|
import { createTestingPinia } from "@pinia/testing"
|
|
5
|
-
import Status from "
|
|
5
|
+
import Status from "@ogw_f/utils/status.js"
|
|
6
6
|
|
|
7
7
|
// Mock navigator.locks API
|
|
8
8
|
const mockLockRequest = vi.fn().mockImplementation(async (name, callback) => {
|