@community-release/nx-ui 0.0.13 → 0.0.14
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/module.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<section class="component-ui-map">
|
|
3
|
-
<component :is="mapEngine" @initialized="emit('initialized', $event)">
|
|
3
|
+
<!-- <component :is="mapEngine" @initialized="emit('initialized', $event)"> -->
|
|
4
|
+
<openlayers @initialized="emit('initialized', $event)">
|
|
4
5
|
<slot :store="store"></slot>
|
|
5
6
|
<div class="slot-row">
|
|
6
7
|
<slot name="row" :store="store"></slot>
|
|
7
8
|
</div>
|
|
8
|
-
</
|
|
9
|
+
</openlayers>
|
|
9
10
|
</section>
|
|
10
11
|
</template>
|
|
11
12
|
|
|
@@ -18,9 +19,9 @@ import comProps from '#build/ui.map.mjs';
|
|
|
18
19
|
// Data
|
|
19
20
|
const store = useMapStore();
|
|
20
21
|
const emit = defineEmits('initialized');
|
|
21
|
-
const engines = {
|
|
22
|
-
|
|
23
|
-
};
|
|
22
|
+
// const engines = {
|
|
23
|
+
// openlayers
|
|
24
|
+
// };
|
|
24
25
|
|
|
25
26
|
const props = defineProps({
|
|
26
27
|
engine: {
|
|
@@ -91,10 +92,10 @@ watch(() => props.disabledMarkers, (v) => {
|
|
|
91
92
|
store.setDisabledMarkers(v);
|
|
92
93
|
}, {immediate: true});
|
|
93
94
|
|
|
94
|
-
const mapEngine = computed(() => {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
});
|
|
95
|
+
// const mapEngine = computed(() => {
|
|
96
|
+
// return engines[props.engine];
|
|
97
|
+
// //return defineAsyncComponent(() => import(`./${props.engine}/index.vue`));
|
|
98
|
+
// });
|
|
98
99
|
</script>
|
|
99
100
|
|
|
100
101
|
<style lang="less">
|