@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
|
@@ -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 (!
|
|
13
|
-
|
|
15
|
+
if (!modelSurfacesStyle(id)[surface_id]) {
|
|
16
|
+
modelSurfacesStyle(id)[surface_id] = {}
|
|
14
17
|
}
|
|
15
|
-
return
|
|
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 =
|
|
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
|
|
43
|
+
"version": "9.12.2",
|
|
44
44
|
"main": "./nuxt.config.js",
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@geode/opengeodeweb-back": "
|
|
47
|
-
"@geode/opengeodeweb-viewer": "
|
|
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",
|