@geode/opengeodeweb-front 9.12.2-rc.2 → 9.12.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.
package/.oxlintrc.json CHANGED
@@ -28,7 +28,12 @@
28
28
  {
29
29
  "files": ["**/components/*"],
30
30
  "rules": {
31
- "unicorn/filename-case": "PascalCase"
31
+ "unicorn/filename-case": [
32
+ "error",
33
+ {
34
+ "case": "PascalCase"
35
+ }
36
+ ]
32
37
  }
33
38
  }
34
39
  ]
@@ -8,11 +8,14 @@ export function useModelSurfacesStyle() {
8
8
  const dataStyleStore = useDataStyleStore()
9
9
  const dataBaseStore = useDataBaseStore()
10
10
 
11
+ function modelSurfacesStyle(id) {
12
+ return dataStyleStore.getStyle(id).surfaces
13
+ }
11
14
  function modelSurfaceStyle(id, surface_id) {
12
- if (!dataStyleStore.getStyle(id).surfaces[surface_id]) {
13
- dataStyleStore.getStyle(id).surfaces[surface_id] = {}
15
+ if (!modelSurfacesStyle(id)[surface_id]) {
16
+ modelSurfacesStyle(id)[surface_id] = {}
14
17
  }
15
- return dataStyleStore.getStyle(id).surfaces[surface_id]
18
+ return modelSurfacesStyle(id)[surface_id]
16
19
  }
17
20
 
18
21
  function modelSurfaceVisibility(id, surface_id) {
@@ -74,7 +77,7 @@ export function useModelSurfacesStyle() {
74
77
  }
75
78
 
76
79
  function applyModelSurfacesStyle(id) {
77
- const style = dataStyleStore.getStyle(id).surfaces
80
+ const style = modelSurfacesStyle(id)
78
81
  const surface_ids = dataBaseStore.getSurfacesUuids(id)
79
82
  return Promise.all([
80
83
  setModelSurfacesVisibility(id, surface_ids, style.visibility),
package/package.json CHANGED
@@ -40,11 +40,11 @@
40
40
  },
41
41
  "description": "OpenSource Vue/Nuxt/Pinia/Vuetify framework for web applications",
42
42
  "type": "module",
43
- "version": "9.12.2-rc.2",
43
+ "version": "9.12.2",
44
44
  "main": "./nuxt.config.js",
45
45
  "dependencies": {
46
- "@geode/opengeodeweb-back": "next",
47
- "@geode/opengeodeweb-viewer": "next",
46
+ "@geode/opengeodeweb-back": "latest",
47
+ "@geode/opengeodeweb-viewer": "latest",
48
48
  "@kitware/vtk.js": "33.3.0",
49
49
  "@mdi/font": "7.4.47",
50
50
  "@pinia/nuxt": "0.5.4",
@@ -5,4 +5,4 @@
5
5
  # pip-compile --output-file=tests/integration/microservices/back/requirements.txt tests/integration/microservices/back/requirements.in
6
6
  #
7
7
 
8
- opengeodeweb-back==5.*,>=5.12.0rc1
8
+ opengeodeweb-back==5.*,>=5.12.0
@@ -5,4 +5,4 @@
5
5
  # pip-compile --output-file=tests/integration/microservices/viewer/requirements.txt tests/integration/microservices/viewer/requirements.in
6
6
  #
7
7
 
8
- opengeodeweb-viewer==1.*,>=1.11.8rc1
8
+ opengeodeweb-viewer==1.*,>=1.11.8