@vcmap/ui 6.1.0-rc.3 → 6.1.0-rc.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-72f9f393.js → core-28960288.js} +7 -3
- package/dist/assets/core.js +1 -1
- package/dist/assets/ol.js +1 -1
- package/dist/assets/{ui-73257b15.js → ui-4ae4c67a.js} +3347 -3347
- package/dist/assets/ui.js +1 -1
- package/dist/assets/vue.js +1 -1
- package/dist/assets/{vuetify-2437380c.js → vuetify-1f5b5c90.js} +1 -1
- package/dist/assets/vuetify.js +1 -1
- package/package.json +2 -2
- package/src/featureInfo/featureInfo.js +14 -6
- /package/dist/assets/{cesium-87d5e72d.js → cesium-bfb31a03.js} +0 -0
- /package/dist/assets/{ol-e468ba43.js → ol-338a87a3.js} +0 -0
- /package/dist/assets/{ui-73257b15.css → ui-4ae4c67a.css} +0 -0
- /package/dist/assets/{vue-ff37ea23.js → vue-b5c1e81a.js} +0 -0
- /package/dist/assets/{vuetify-2437380c.css → vuetify-1f5b5c90.css} +0 -0
package/dist/assets/ui.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export * from "./ui-
|
1
|
+
export * from "./ui-4ae4c67a.js";
|
package/dist/assets/vue.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export * from "./vue-
|
1
|
+
export * from "./vue-b5c1e81a.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-1f5b5c90.css');import { watch as Q, onScopeDispose as at, effectScope as Ql, shallowRef as K, Fragment as ae, reactive as lt, computed as b, watchEffect as Oe, toRefs as Ut, capitalize as Rn, isVNode as Rc, Comment as Nc, unref as it, warn as Ua, getCurrentInstance as Hc, ref as j, provide as Be, inject as ye, defineComponent as zc, camelize as _r, h as Yt, toRaw as De, createVNode as r, mergeProps as R, onBeforeUnmount as Ze, readonly as Jl, onDeactivated as Tr, onActivated as Wc, onMounted as Ge, nextTick as Se, TransitionGroup as ei, Transition as Wt, isRef as _n, toRef as $, onBeforeMount as ra, withDirectives as $e, resolveDirective as ft, vShow as Ct, onUpdated as jc, Text as Uc, resolveDynamicComponent as Yc, markRaw as Gc, Teleport as Kc, cloneVNode as qc, createTextVNode as It, onUnmounted as Ar, onBeforeUpdate as Xc, withModifiers as Al, toDisplayString as Zc, vModelText as Qc, resolveComponent as Jc, render as Br } from "./vue-b5c1e81a.js";
|
14
14
|
function ot(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-1f5b5c90.js";
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vcmap/ui",
|
3
|
-
"version": "6.1.0-rc.
|
3
|
+
"version": "6.1.0-rc.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.1.0-rc.
|
60
|
+
"@vcmap/core": "^6.1.0-rc.5",
|
61
61
|
"ol": "^10.4.0",
|
62
62
|
"vue": "~3.4.38",
|
63
63
|
"vuetify": "^3.7.11"
|
@@ -17,6 +17,7 @@ import {
|
|
17
17
|
isProvidedClusterFeature,
|
18
18
|
alreadyTransformedToImage,
|
19
19
|
ObliqueMap,
|
20
|
+
originalFeatureSymbol,
|
20
21
|
} from '@vcmap/core';
|
21
22
|
import { getLogger as getLoggerByName } from '@vcsuite/logger';
|
22
23
|
import {
|
@@ -545,7 +546,10 @@ class FeatureInfo extends Collection {
|
|
545
546
|
this._clearInternal();
|
546
547
|
if (
|
547
548
|
this._selectedClusterFeature &&
|
548
|
-
!this._selectedClusterFeature
|
549
|
+
!this._selectedClusterFeature
|
550
|
+
.get('features')
|
551
|
+
.map((f) => f[originalFeatureSymbol] ?? f)
|
552
|
+
.includes(feature)
|
549
553
|
) {
|
550
554
|
this.clearCluster();
|
551
555
|
}
|
@@ -682,19 +686,23 @@ class FeatureInfo extends Collection {
|
|
682
686
|
const features = clusterFeature.get('features');
|
683
687
|
const groups = {};
|
684
688
|
const items = features.map((f) => {
|
689
|
+
const oFeature = f[originalFeatureSymbol] ?? f;
|
685
690
|
const listItem = reactive({
|
686
|
-
name:
|
687
|
-
title:
|
688
|
-
|
691
|
+
name: oFeature.getId(),
|
692
|
+
title:
|
693
|
+
oFeature.getAttributes()?.title ||
|
694
|
+
oFeature.getAttributes()?.name ||
|
695
|
+
oFeature.getId(),
|
696
|
+
disabled: !this._getFeatureInfoViewForFeature(oFeature),
|
689
697
|
selectionChanged: (value) => {
|
690
698
|
if (value) {
|
691
|
-
this.selectFeature(
|
699
|
+
this.selectFeature(oFeature);
|
692
700
|
} else {
|
693
701
|
this.clearFeature();
|
694
702
|
}
|
695
703
|
},
|
696
704
|
});
|
697
|
-
const layerName =
|
705
|
+
const layerName = oFeature[vcsLayerName];
|
698
706
|
if (layerName) {
|
699
707
|
if (!groups[layerName]) {
|
700
708
|
const title = this._app.layers.getByKey(layerName)?.properties?.title;
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|