@vcmap/ui 6.0.3 → 6.0.4
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/dist/assets/cesium.js +1 -1
- package/dist/assets/{core-fdb639ea.js → core-ce6bb195.js} +6 -6
- package/dist/assets/core.js +1 -1
- package/dist/assets/ol.js +1 -1
- package/dist/assets/{ui-76492ce7.js → ui-b4efd5bf.js} +768 -770
- package/dist/assets/ui.js +1 -1
- package/dist/assets/vue.js +1 -1
- package/dist/assets/{vuetify-3bf44235.js → vuetify-fbb86b3a.js} +1 -1
- package/dist/assets/vuetify.js +1 -1
- package/package.json +2 -2
- package/plugins/@vcmap-show-case/plugin-editors/src/PluginEditors.vue +6 -5
- package/src/components/vector-properties/VcsFeatureTransforms.vue +16 -6
- /package/dist/assets/{cesium-cb8b4811.js → cesium-5ce8b207.js} +0 -0
- /package/dist/assets/{ol-8fa4a623.js → ol-07a8983e.js} +0 -0
- /package/dist/assets/{ui-76492ce7.css → ui-b4efd5bf.css} +0 -0
- /package/dist/assets/{vue-a92df366.js → vue-fcafcafd.js} +0 -0
- /package/dist/assets/{vuetify-3bf44235.css → vuetify-fbb86b3a.css} +0 -0
package/dist/assets/ui.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export * from "./ui-
|
1
|
+
export * from "./ui-b4efd5bf.js";
|
package/dist/assets/vue.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export * from "./vue-
|
1
|
+
export * from "./vue-fcafcafd.js";
|
@@ -10,7 +10,7 @@ function loadCss(href) {
|
|
10
10
|
elem.onerror = reject;
|
11
11
|
document.head.appendChild(elem);
|
12
12
|
});
|
13
|
-
} await loadCss('./assets/vuetify-
|
13
|
+
} await loadCss('./assets/vuetify-fbb86b3a.css');import { watch as X, onScopeDispose as tt, effectScope as Ul, shallowRef as K, Fragment as ie, reactive as it, computed as b, watchEffect as Ne, toRefs as Wt, capitalize as On, isVNode as Oc, Comment as Rc, unref as ot, warn as Ha, getCurrentInstance as Nc, ref as W, provide as Ae, inject as ye, defineComponent as Hc, camelize as Ir, h as jt, toRaw as Ee, createVNode as r, mergeProps as N, onBeforeUnmount as nt, readonly as Kl, onDeactivated as _r, onActivated as zc, onMounted as Ke, nextTick as Se, TransitionGroup as ql, Transition as Ht, isRef as _n, toRef as F, onBeforeMount as Xl, withDirectives as $e, resolveDirective as dt, vShow as xt, onUpdated as Wc, Text as jc, resolveDynamicComponent as Yc, markRaw as Gc, Teleport as Uc, cloneVNode as Kc, createTextVNode as Pt, onUnmounted as qc, onBeforeUpdate as Xc, withModifiers as Pl, toDisplayString as Zc, vModelText as Qc, resolveComponent as Jc, render as Tr } from "./vue-fcafcafd.js";
|
14
14
|
function rt(e, n) {
|
15
15
|
let t;
|
16
16
|
function a() {
|
package/dist/assets/vuetify.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export * from "./vuetify-
|
1
|
+
export * from "./vuetify-fbb86b3a.js";
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vcmap/ui",
|
3
|
-
"version": "6.0.
|
3
|
+
"version": "6.0.4",
|
4
4
|
"author": "Virtual City Systems",
|
5
5
|
"license": "MIT",
|
6
6
|
"scripts": {
|
@@ -57,7 +57,7 @@
|
|
57
57
|
},
|
58
58
|
"peerDependencies": {
|
59
59
|
"@vcmap-cesium/engine": "^11.0.2",
|
60
|
-
"@vcmap/core": "^6.0.
|
60
|
+
"@vcmap/core": "^6.0.2",
|
61
61
|
"ol": "^10.2.1",
|
62
62
|
"vue": "~3.4.38",
|
63
63
|
"vuetify": "^3.7.3"
|
@@ -25,17 +25,17 @@
|
|
25
25
|
const editors = plugin.getConfigEditors?.();
|
26
26
|
if (editors?.length > 0) {
|
27
27
|
const actions = editors
|
28
|
-
.
|
29
|
-
.
|
30
|
-
.map((component, index) =>
|
28
|
+
.filter((e) => e.component)
|
29
|
+
.map((e, index) =>
|
31
30
|
createToggleAction(
|
32
31
|
{
|
33
32
|
name: `editor-${index + 1}`,
|
33
|
+
title: e.title,
|
34
34
|
icon: index < 9 ? `mdi-numeric-${index + 1}-box` : undefined,
|
35
35
|
},
|
36
36
|
{
|
37
37
|
id: `${plugin.name}-editor-${index}`,
|
38
|
-
component,
|
38
|
+
component: e.component,
|
39
39
|
parentId: name,
|
40
40
|
slot: WindowSlot.DYNAMIC_CHILD,
|
41
41
|
props: {
|
@@ -60,7 +60,8 @@
|
|
60
60
|
},
|
61
61
|
state: {
|
62
62
|
headerTitle:
|
63
|
-
|
63
|
+
e.title ?? `${plugin.name} Editor ${index + 1}`,
|
64
|
+
infoUrlCallback: e.infoUrlCallback,
|
64
65
|
},
|
65
66
|
position: {
|
66
67
|
width: 500,
|
@@ -120,7 +120,11 @@
|
|
120
120
|
|
121
121
|
<script>
|
122
122
|
import { Math as CesiumMath, HeightReference } from '@vcmap-cesium/engine';
|
123
|
-
import {
|
123
|
+
import {
|
124
|
+
SessionType,
|
125
|
+
TransformationMode,
|
126
|
+
placeGeometryOnSurface,
|
127
|
+
} from '@vcmap/core';
|
124
128
|
import { VSheet, VContainer, VRow, VCol, VIcon } from 'vuetify/components';
|
125
129
|
import { inject, ref, watch } from 'vue';
|
126
130
|
import VcsButton from '../buttons/VcsButton.vue';
|
@@ -242,11 +246,17 @@
|
|
242
246
|
}),
|
243
247
|
);
|
244
248
|
|
245
|
-
|
246
|
-
manager.
|
247
|
-
|
248
|
-
manager.
|
249
|
-
|
249
|
+
if (
|
250
|
+
manager.currentEditSession.value?.type === SessionType.EDIT_FEATURES
|
251
|
+
) {
|
252
|
+
manager.currentEditSession.value?.setFeatures(
|
253
|
+
manager.currentFeatures.value,
|
254
|
+
);
|
255
|
+
} else if (
|
256
|
+
manager.currentEditSession.value?.type === SessionType.EDIT_GEOMETRY
|
257
|
+
) {
|
258
|
+
manager.currentEditSession.value.setFeature(
|
259
|
+
manager.currentFeatures.value[0],
|
250
260
|
);
|
251
261
|
}
|
252
262
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|