@community-release/nx-ui 0.0.11 → 0.0.13

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,5 +1,5 @@
1
1
  {
2
2
  "name": "ui",
3
3
  "configKey": "ui",
4
- "version": "0.0.11"
4
+ "version": "0.0.13"
5
5
  }
@@ -10,13 +10,17 @@
10
10
  </template>
11
11
 
12
12
  <script setup>
13
- import { watch, computed } from 'vue';
13
+ import openlayers from './openlayers/index.vue';
14
+ import { watch, computed, defineAsyncComponent } from 'vue';
14
15
  import { useMapStore } from './store';
15
16
  import comProps from '#build/ui.map.mjs';
16
17
 
17
18
  // Data
18
19
  const store = useMapStore();
19
20
  const emit = defineEmits('initialized');
21
+ const engines = {
22
+ openlayers
23
+ };
20
24
 
21
25
  const props = defineProps({
22
26
  engine: {
@@ -88,7 +92,8 @@ watch(() => props.disabledMarkers, (v) => {
88
92
  }, {immediate: true});
89
93
 
90
94
  const mapEngine = computed(() => {
91
- return defineAsyncComponent(() => import(`./${props.engine}/index.vue`));
95
+ return engines[props.engine];
96
+ //return defineAsyncComponent(() => import(`./${props.engine}/index.vue`));
92
97
  });
93
98
  </script>
94
99
 
@@ -5,7 +5,7 @@
5
5
  </template>
6
6
 
7
7
  <script setup>
8
- import { defineModel, computed, watch } from 'vue';
8
+ import { computed, watch } from 'vue';
9
9
  import { useMapStore } from '../store';
10
10
 
11
11
  const model = defineModel();
@@ -12,7 +12,7 @@
12
12
 
13
13
  <script setup>
14
14
  // Imports
15
- import { computed } from 'vue';
15
+ import { computed, onMounted } from 'vue';
16
16
  import { useUINoticeStore } from './store';
17
17
 
18
18
  // Data
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@community-release/nx-ui",
3
- "version": "0.0.11",
3
+ "version": "0.0.13",
4
4
  "description": "nx-ui - Nuxt UI library",
5
5
  "repository": {
6
6
  "type": "git",