@geode/opengeodeweb-front 7.1.0 → 7.1.1
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.
|
@@ -7,16 +7,16 @@
|
|
|
7
7
|
>
|
|
8
8
|
<v-row>
|
|
9
9
|
<v-col cols="auto" class="text-white text-center">
|
|
10
|
-
<v-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
</v-
|
|
10
|
+
<v-icon
|
|
11
|
+
v-bind="props"
|
|
12
|
+
color="white"
|
|
13
|
+
class="justify-right"
|
|
14
|
+
v-tooltip:bottom="
|
|
15
|
+
'We turn off our server automatically after 5 minutes of inactivity'
|
|
16
|
+
"
|
|
17
|
+
>
|
|
18
|
+
mdi-information-outline
|
|
19
|
+
</v-icon>
|
|
20
20
|
</v-col>
|
|
21
21
|
<v-col cols="auto" class="text-white font-weight-bold">
|
|
22
22
|
Server timed out due to inactivity, please reload this page or click
|
|
@@ -9,16 +9,12 @@
|
|
|
9
9
|
class="justify-left"
|
|
10
10
|
>
|
|
11
11
|
<v-card class="card ma-2 pa-2" width="100%">
|
|
12
|
-
<v-
|
|
13
|
-
:
|
|
14
|
-
|
|
12
|
+
<v-card-title
|
|
13
|
+
v-tooltip:bottom="`Export as a ${output_geode_object}`"
|
|
14
|
+
v-bind="props"
|
|
15
15
|
>
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
{{ output_geode_object }}
|
|
19
|
-
</v-card-title>
|
|
20
|
-
</template>
|
|
21
|
-
</v-tooltip>
|
|
16
|
+
{{ output_geode_object }}
|
|
17
|
+
</v-card-title>
|
|
22
18
|
<v-card-text>
|
|
23
19
|
<v-row>
|
|
24
20
|
<v-col
|
|
@@ -111,10 +107,8 @@
|
|
|
111
107
|
final_object[key] = {}
|
|
112
108
|
for (const value of values) {
|
|
113
109
|
for (const extension of Object.keys(value[key])) {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
} else {
|
|
117
|
-
final_object[key][extension] = { is_saveable: true }
|
|
110
|
+
final_object[key][extension] = {
|
|
111
|
+
is_saveable: value[key][extension].is_saveable,
|
|
118
112
|
}
|
|
119
113
|
}
|
|
120
114
|
}
|
|
@@ -1,19 +1,15 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<v-row dense :class="[$style.floatToolbar, 'flex-column']">
|
|
3
3
|
<v-col>
|
|
4
|
-
<v-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
<v-icon size="32"> mdi-cube-scan </v-icon>
|
|
14
|
-
</v-btn>
|
|
15
|
-
</template>
|
|
16
|
-
</v-tooltip>
|
|
4
|
+
<v-btn
|
|
5
|
+
density="comfortable"
|
|
6
|
+
v-bind="props"
|
|
7
|
+
icon
|
|
8
|
+
@click.stop="reset_camera"
|
|
9
|
+
v-tooltip:left="'Reset camera'"
|
|
10
|
+
>
|
|
11
|
+
<v-icon icon="mdi-cube-scan" size="32" />
|
|
12
|
+
</v-btn>
|
|
17
13
|
</v-col>
|
|
18
14
|
</v-row>
|
|
19
15
|
</template>
|
package/package.json
CHANGED
|
@@ -35,11 +35,11 @@
|
|
|
35
35
|
},
|
|
36
36
|
"description": "OpenSource Vue/Vuetify framework for web applications",
|
|
37
37
|
"type": "module",
|
|
38
|
-
"version": "7.1.
|
|
38
|
+
"version": "7.1.1",
|
|
39
39
|
"main": "./nuxt.config.js",
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@geode/opengeodeweb-back": "4.1.
|
|
42
|
-
"@geode/opengeodeweb-viewer": "0.1.
|
|
41
|
+
"@geode/opengeodeweb-back": "4.1.1",
|
|
42
|
+
"@geode/opengeodeweb-viewer": "0.1.2",
|
|
43
43
|
"@kitware/vtk.js": "^30.3.1",
|
|
44
44
|
"@mdi/font": "^7.4.47",
|
|
45
45
|
"@pinia/nuxt": "^0.5.1",
|
|
@@ -31,21 +31,21 @@ describe("ExtensionSelector.vue", async () => {
|
|
|
31
31
|
},
|
|
32
32
|
}),
|
|
33
33
|
})
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
34
|
+
const wrapper = await mountSuspended(ExtensionSelector, {
|
|
35
|
+
global: {
|
|
36
|
+
plugins: [vuetify],
|
|
37
|
+
},
|
|
38
|
+
props: { input_geode_object: "BRep", filenames: ["test.toto"] },
|
|
39
|
+
})
|
|
40
|
+
await nextTick()
|
|
41
|
+
expect(wrapper.exists()).toBe(true)
|
|
42
|
+
const v_card = await wrapper.findAllComponents(components.VCard)
|
|
43
|
+
await v_card[1].trigger("click")
|
|
44
|
+
expect(wrapper.emitted()).toHaveProperty("update_values")
|
|
45
|
+
expect(wrapper.emitted().update_values).toHaveLength(1)
|
|
46
|
+
expect(wrapper.emitted().update_values[0][0]).toStrictEqual({
|
|
47
|
+
output_geode_object,
|
|
48
|
+
output_extension,
|
|
49
|
+
})
|
|
50
50
|
})
|
|
51
51
|
})
|