@geode/opengeodeweb-front 10.10.0-rc.1 → 10.10.0
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
package/app/stores/viewer.js
CHANGED
package/app/utils/local/path.js
CHANGED
|
@@ -11,7 +11,7 @@ import { appMode } from "./app_mode.js";
|
|
|
11
11
|
|
|
12
12
|
function executablePath(microservicePath) {
|
|
13
13
|
console.log("[executablePath]", { microservicePath }, process.env.NODE_ENV);
|
|
14
|
-
if (
|
|
14
|
+
if (process.env.MODE === appMode.DESKTOP && process.env.NODE_ENV === "production") {
|
|
15
15
|
return process.env.RESOURCES_PATH;
|
|
16
16
|
}
|
|
17
17
|
return microservicePath;
|
|
@@ -47,49 +47,7 @@ export function useDataStyleState() {
|
|
|
47
47
|
);
|
|
48
48
|
|
|
49
49
|
function getStyle(id) {
|
|
50
|
-
|
|
51
|
-
visibility: true,
|
|
52
|
-
color: { r: 255, g: 255, b: 255 },
|
|
53
|
-
corners: { visibility: true, color: { r: 20, g: 20, b: 20 } },
|
|
54
|
-
lines: { visibility: true, color: { r: 20, g: 20, b: 20 } },
|
|
55
|
-
surfaces: { visibility: true, color: { r: 255, g: 255, b: 255 } },
|
|
56
|
-
blocks: { visibility: true, color: { r: 255, g: 255, b: 255 } },
|
|
57
|
-
points: { visibility: true, size: 10 },
|
|
58
|
-
edges: { visibility: true },
|
|
59
|
-
cells: {
|
|
60
|
-
visibility: true,
|
|
61
|
-
coloring: {
|
|
62
|
-
active: "color",
|
|
63
|
-
color: { r: 255, g: 255, b: 255 },
|
|
64
|
-
cell: { name: "", storedConfigs: {} },
|
|
65
|
-
vertex: { name: "", storedConfigs: {} },
|
|
66
|
-
textures: [],
|
|
67
|
-
},
|
|
68
|
-
},
|
|
69
|
-
polygons: {
|
|
70
|
-
visibility: true,
|
|
71
|
-
coloring: {
|
|
72
|
-
active: "color",
|
|
73
|
-
color: { r: 255, g: 255, b: 255 },
|
|
74
|
-
polygon: { name: "", storedConfigs: {} },
|
|
75
|
-
vertex: { name: "", storedConfigs: {} },
|
|
76
|
-
textures: [],
|
|
77
|
-
},
|
|
78
|
-
},
|
|
79
|
-
polyhedra: {
|
|
80
|
-
visibility: true,
|
|
81
|
-
coloring: {
|
|
82
|
-
active: "color",
|
|
83
|
-
color: { r: 255, g: 255, b: 255 },
|
|
84
|
-
polyhedron: { name: "", storedConfigs: {} },
|
|
85
|
-
vertex: { name: "", storedConfigs: {} },
|
|
86
|
-
},
|
|
87
|
-
},
|
|
88
|
-
};
|
|
89
|
-
if (styles.value[id]) {
|
|
90
|
-
return { ...default_style, ...toRaw(styles.value[id]) };
|
|
91
|
-
}
|
|
92
|
-
return default_style;
|
|
50
|
+
return { ...toRaw(styles.value[id]) };
|
|
93
51
|
}
|
|
94
52
|
|
|
95
53
|
function mutateStyle(id, values) {
|
|
@@ -137,15 +95,15 @@ export function useDataStyleState() {
|
|
|
137
95
|
}
|
|
138
96
|
|
|
139
97
|
return {
|
|
140
|
-
styles,
|
|
141
|
-
componentStyles,
|
|
142
|
-
objectVisibility,
|
|
143
|
-
selectedObjects,
|
|
144
98
|
getStyle,
|
|
145
99
|
mutateStyle,
|
|
146
100
|
getComponentStyle,
|
|
147
101
|
mutateComponentStyle,
|
|
148
102
|
mutateComponentStyles,
|
|
103
|
+
styles,
|
|
104
|
+
componentStyles,
|
|
105
|
+
objectVisibility,
|
|
106
|
+
selectedObjects,
|
|
149
107
|
clear,
|
|
150
108
|
};
|
|
151
109
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geode/opengeodeweb-front",
|
|
3
|
-
"version": "10.10.0
|
|
3
|
+
"version": "10.10.0",
|
|
4
4
|
"description": "OpenSource Vue/Nuxt/Pinia/Vuetify framework for web applications",
|
|
5
5
|
"homepage": "https://github.com/Geode-solutions/OpenGeodeWeb-Front",
|
|
6
6
|
"bugs": {
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"build": ""
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@geode/opengeodeweb-back": "
|
|
38
|
-
"@geode/opengeodeweb-viewer": "
|
|
37
|
+
"@geode/opengeodeweb-back": "latest",
|
|
38
|
+
"@geode/opengeodeweb-viewer": "latest",
|
|
39
39
|
"@kitware/vtk.js": "33.3.0",
|
|
40
40
|
"@mdi/font": "7.4.47",
|
|
41
41
|
"@pinia/nuxt": "0.11.3",
|