@geode/opengeodeweb-front 9.7.0-rc.4 → 9.7.0-rc.6

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.
@@ -32,10 +32,4 @@
32
32
  }
33
33
  },
34
34
  )
35
-
36
- onMounted(() => {
37
- if (infra_store.is_captcha_validated) {
38
- infra_store.create_backend()
39
- }
40
- })
41
35
  </script>
@@ -100,7 +100,7 @@
100
100
  if (viewer_store.status !== Status.CONNECTED) {
101
101
  return
102
102
  }
103
- const session = viewer_store.client.value.getConnection().getSession()
103
+ const session = viewer_store.client.getConnection().getSession()
104
104
  view.setSession(session)
105
105
  view.setViewId(props.viewId)
106
106
  connected.value = true
package/package.json CHANGED
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "description": "OpenSource Vue/Vuetify framework for web applications",
39
39
  "type": "module",
40
- "version": "9.7.0-rc.4",
40
+ "version": "9.7.0-rc.6",
41
41
  "main": "./nuxt.config.js",
42
42
  "dependencies": {
43
43
  "@geode/opengeodeweb-back": "5.6.3",
package/stores/viewer.js CHANGED
@@ -60,7 +60,6 @@ export const use_viewer_store = defineStore("viewer", {
60
60
  if (process.env.NODE_ENV == "test") return
61
61
  if (this.status === Status.CONNECTED) return
62
62
  navigator.locks.request("viewer.ws_connect", async (lock) => {
63
- console.log("VIEWER STATUS", this.status)
64
63
  if (this.status === Status.CONNECTED) return
65
64
  console.log("VIEWER LOCK GRANTED !", lock)
66
65
  this.status = Status.CONNECTING
@@ -71,18 +70,12 @@ export const use_viewer_store = defineStore("viewer", {
71
70
  config.sessionURL = this.base_url
72
71
 
73
72
  const { client } = this
74
- console.log("client", client)
75
- console.log("status", this.status)
76
73
  if (this.status === Status.CONNECTED && client.isConnected()) {
77
- console.log("disconnect")
78
-
79
74
  client.disconnect(-1)
80
75
  this.status = Status.NOT_CONNECTED
81
76
  }
82
77
  let clientToConnect = client
83
78
  if (_.isEmpty(clientToConnect)) {
84
- console.log("isEmpty")
85
-
86
79
  clientToConnect = vtkWSLinkClient.newInstance()
87
80
  }
88
81
 
@@ -112,13 +105,11 @@ export const use_viewer_store = defineStore("viewer", {
112
105
  const { connectImageStream } = await import(
113
106
  "@kitware/vtk.js/Rendering/Misc/RemoteView"
114
107
  )
115
- console.log("before connect")
116
108
  const viewer_store = this
117
109
  return new Promise((resolve, reject) => {
118
110
  clientToConnect
119
111
  .connect(config)
120
112
  .then((validClient) => {
121
- console.log("validClient", validClient)
122
113
  connectImageStream(validClient.getConnection().getSession())
123
114
  viewer_store.client = validClient
124
115
  clientToConnect.endBusy()