@geode/opengeodeweb-front 6.0.0-rc.2 → 6.0.0-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.
@@ -43,7 +43,6 @@
43
43
  </template>
44
44
 
45
45
  <script setup>
46
- import { use_errors_store } from "@/stores/errors"
47
46
  const errors_store = use_errors_store()
48
47
  const { server_error } = storeToRefs(errors_store)
49
48
 
@@ -55,7 +55,6 @@
55
55
  </template>
56
56
 
57
57
  <script setup>
58
- import { use_errors_store } from "@/stores/errors"
59
58
  const errors_store = use_errors_store()
60
59
  const { errors } = storeToRefs(errors_store)
61
60
 
@@ -18,9 +18,6 @@
18
18
  </template>
19
19
 
20
20
  <script setup>
21
- import { use_websocket_store } from "@/stores/websocket"
22
- import { use_cloud_store } from "@/stores/cloud"
23
-
24
21
  const websocket_store = use_websocket_store()
25
22
  const cloud_store = use_cloud_store()
26
23
  const { is_captcha_validated, is_connexion_launched, is_running } =
@@ -19,7 +19,6 @@
19
19
  </template>
20
20
 
21
21
  <script setup>
22
- import { use_cloud_store } from "@/stores/cloud"
23
22
  const cloud_store = use_cloud_store()
24
23
  const { is_running } = storeToRefs(cloud_store)
25
24
 
@@ -13,7 +13,6 @@
13
13
 
14
14
  <script setup>
15
15
  import { VueRecaptcha } from "vue-recaptcha"
16
- import { use_cloud_store } from "@/stores/cloud"
17
16
  const cloud_store = use_cloud_store()
18
17
  const { is_captcha_validated } = storeToRefs(cloud_store)
19
18
 
@@ -23,8 +23,6 @@
23
23
  <script setup>
24
24
  import vtkRemoteView from "@kitware/vtk.js/Rendering/Misc/RemoteView"
25
25
  import { useElementSize } from "@vueuse/core"
26
- import { use_viewer_store } from "@/stores/viewer"
27
- import { use_websocket_store } from "@/stores/websocket"
28
26
 
29
27
  const viewer_store = use_viewer_store()
30
28
  const { picking_mode } = storeToRefs(viewer_store)
@@ -19,8 +19,6 @@
19
19
  </template>
20
20
 
21
21
  <script setup>
22
- import { use_viewer_store } from "@/stores/viewer"
23
-
24
22
  const viewer_store = use_viewer_store()
25
23
  function reset_camera() {
26
24
  viewer_store.reset_camera()
@@ -18,8 +18,6 @@
18
18
  </template>
19
19
 
20
20
  <script setup>
21
- import { use_cloud_store } from "@/stores/cloud"
22
-
23
21
  const cloud_store = use_cloud_store()
24
22
  const { is_running } = storeToRefs(cloud_store)
25
23
 
@@ -1,9 +1,6 @@
1
1
  import Ajv from "ajv"
2
2
  import _ from "lodash"
3
3
 
4
- import { use_errors_store } from "@/stores/errors"
5
- import { use_geode_store } from "@/stores/geode"
6
-
7
4
  export function api_fetch(
8
5
  { schema, params },
9
6
  { request_error_function, response_function, response_error_function } = {},
@@ -1,5 +1,3 @@
1
- import { use_cloud_store } from "@/stores/cloud"
2
-
3
1
  export default function (function_to_run) {
4
2
  const cloud_store = use_cloud_store()
5
3
  const { is_running } = storeToRefs(cloud_store)
@@ -1,6 +1,3 @@
1
- import { use_errors_store } from "@/stores/errors"
2
- import { use_geode_store } from "@/stores/geode"
3
-
4
1
  export function upload_file(
5
2
  { route, files },
6
3
  { request_error_function, response_function, response_error_function } = {},
package/package.json CHANGED
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "description": "OpenSource Vue/Vuetify framework for web applications",
21
21
  "type": "module",
22
- "version": "6.0.0-rc.2",
22
+ "version": "6.0.0-rc.3",
23
23
  "main": "./nuxt.config.js",
24
24
  "dependencies": {
25
25
  "@kitware/vtk.js": "^29.1.1",
package/stores/cloud.js CHANGED
@@ -1,7 +1,4 @@
1
1
  import { useStorage } from "@vueuse/core"
2
- import { use_errors_store } from "@/stores/errors"
3
- import { use_geode_store } from "@/stores/geode"
4
- import { use_websocket_store } from "@/stores/websocket"
5
2
 
6
3
  export const use_cloud_store = defineStore("cloud", {
7
4
  state: () => ({
package/stores/geode.js CHANGED
@@ -1,6 +1,3 @@
1
- import { use_cloud_store } from "@/stores/cloud"
2
- import { use_errors_store } from "@/stores/errors"
3
-
4
1
  export const use_geode_store = defineStore("geode", {
5
2
  state: () => ({
6
3
  request_counter: 0,
package/stores/viewer.js CHANGED
@@ -1,5 +1,3 @@
1
- import { use_websocket_store } from "@/stores/websocket"
2
-
3
1
  export const use_viewer_store = defineStore("viewer", {
4
2
  state: () => ({
5
3
  picking_mode: false,
@@ -8,7 +8,6 @@ import SmartConnect from "wslink/src/SmartConnect"
8
8
  import "@kitware/vtk.js/Rendering/OpenGL/Profiles/Geometry"
9
9
  import { connectImageStream } from "@kitware/vtk.js/Rendering/Misc/RemoteView"
10
10
  import protocols from "@/utils"
11
- import { use_cloud_store } from "@/stores/cloud"
12
11
 
13
12
  // Bind vtkWSLinkClient to our SmartConnect
14
13
  vtkWSLinkClient.setSmartConnectClass(SmartConnect)