@geode/opengeodeweb-front 9.2.1 → 9.2.2-rc.2

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.
@@ -36,7 +36,7 @@
36
36
  <script setup>
37
37
  import vtkRemoteView from "@kitware/vtk.js/Rendering/Misc/RemoteView"
38
38
  import { useElementSize } from "@vueuse/core"
39
- import schemas from "@geode/opengeodeweb-viewer/schemas.json"
39
+ import viewer_schemas from "@geode/opengeodeweb-viewer/schemas.json"
40
40
 
41
41
  const viewer_store = use_viewer_store()
42
42
  const { client, is_running, picking_mode } = storeToRefs(viewer_store)
@@ -46,8 +46,8 @@
46
46
  const { offsetX, offsetY } = event
47
47
  viewer_store.set_picked_point(offsetX, offsetY)
48
48
  viewer_call({
49
- schema: schemas.opengeodeweb_viewer.set_picked_point,
50
- params: { offsetX, offsetY },
49
+ schema: viewer_schemas.opengeodeweb_viewer.viewer.get_point_position,
50
+ params: { x: offsetX, y: offsetY },
51
51
  })
52
52
  }
53
53
  }
@@ -72,7 +72,7 @@
72
72
  })
73
73
 
74
74
  const output_extensions =
75
- viewer_schemas.opengeodeweb_viewer.take_screenshot.properties
75
+ viewer_schemas.opengeodeweb_viewer.viewer.take_screenshot.properties
76
76
  .output_extension.enum
77
77
  const filename = ref("")
78
78
  const output_extension = ref("png")
@@ -81,7 +81,7 @@
81
81
  async function takeScreenshot() {
82
82
  await viewer_call(
83
83
  {
84
- schema: viewer_schemas.opengeodeweb_viewer.take_screenshot,
84
+ schema: viewer_schemas.opengeodeweb_viewer.viewer.take_screenshot,
85
85
  params: {
86
86
  filename: filename.value,
87
87
  output_extension: output_extension.value,
@@ -31,7 +31,7 @@
31
31
  icon: "mdi-cube-scan",
32
32
  action: () => {
33
33
  viewer_call({
34
- schema: schemas.opengeodeweb_viewer.reset_camera,
34
+ schema: schemas.opengeodeweb_viewer.viewer.reset_camera,
35
35
  })
36
36
  },
37
37
  },
@@ -20,7 +20,7 @@ export function viewer_call(
20
20
  client
21
21
  .getConnection()
22
22
  .getSession()
23
- .call(schema.rpc, [params])
23
+ .call(schema.$id, [params])
24
24
  .then(
25
25
  (value) => {
26
26
  if (response_function) {
package/package.json CHANGED
@@ -19,7 +19,7 @@
19
19
  "eslint-plugin-prettier-vue": "^5.0.0",
20
20
  "eslint-plugin-vue": "^9.26.0",
21
21
  "eslint-plugin-vuetify": "^2.4.0",
22
- "happy-dom": "^14.12.0",
22
+ "happy-dom": "^15.11.7",
23
23
  "jsdom": "^24.1.0",
24
24
  "nuxt": "^3.13.2",
25
25
  "playwright-core": "^1.44.1",
@@ -37,11 +37,11 @@
37
37
  },
38
38
  "description": "OpenSource Vue/Vuetify framework for web applications",
39
39
  "type": "module",
40
- "version": "9.2.1",
40
+ "version": "9.2.2-rc.2",
41
41
  "main": "./nuxt.config.js",
42
42
  "dependencies": {
43
- "@geode/opengeodeweb-back": "5.3.1",
44
- "@geode/opengeodeweb-viewer": "0.3.0",
43
+ "@geode/opengeodeweb-back": "5.4.0",
44
+ "@geode/opengeodeweb-viewer": "1.0.0",
45
45
  "@kitware/vtk.js": "30.3.1",
46
46
  "@mdi/font": "^7.4.47",
47
47
  "@pinia/nuxt": "^0.5.4",
package/stores/viewer.js CHANGED
@@ -111,10 +111,10 @@ export const use_viewer_store = defineStore("viewer", {
111
111
 
112
112
  // Now that the client is ready let's setup the server for us
113
113
  viewer_call({
114
- schema: schemas.opengeodeweb_viewer.create_visualization,
114
+ schema: schemas.opengeodeweb_viewer.viewer.create_visualization,
115
115
  })
116
116
  viewer_call({
117
- schema: schemas.opengeodeweb_viewer.reset,
117
+ schema: schemas.opengeodeweb_viewer.viewer.reset,
118
118
  })
119
119
  this.is_running = true
120
120
  resolve()