@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
@@ -121,7 +121,8 @@
121
121
  "max-lines-per-function": "off",
122
122
  "max-statements": "off",
123
123
  "vitest/prefer-to-be-truthy": "off",
124
- "vitest/prefer-to-be-falsy": "off"
124
+ "vitest/prefer-to-be-falsy": "off",
125
+ "vitest/require-test-timeout": "warn"
125
126
  }
126
127
  },
127
128
  {
@@ -101,6 +101,7 @@ export const useViewerStore = defineStore(
101
101
  });
102
102
  client.value.onConnectionClose((httpReq) => {
103
103
  const message = httpReq?.response?.error || `Connection close`;
104
+ status.value = Status.NOT_CONNECTED;
104
105
  console.error(message);
105
106
  });
106
107
 
@@ -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 (useRuntimeConfig().public.MODE === appMode.DESKTOP && process.env.NODE_ENV === "production") {
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
- const default_style = {
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-rc.1",
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": "next",
38
- "@geode/opengeodeweb-viewer": "next",
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",