@community-release/nx-ui 0.0.14 → 0.0.15

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/README.md CHANGED
@@ -2,3 +2,4 @@
2
2
 
3
3
  Nuxt UI library
4
4
 
5
+ Not for production use yet.
package/dist/module.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "ui",
3
3
  "configKey": "ui",
4
- "version": "0.0.14"
4
+ "version": "0.0.15"
5
5
  }
@@ -1,17 +1,15 @@
1
1
  <template>
2
2
  <section class="component-ui-map">
3
- <!-- <component :is="mapEngine" @initialized="emit('initialized', $event)"> -->
4
- <openlayers @initialized="emit('initialized', $event)">
3
+ <component :is="mapEngine" @initialized="emit('initialized', $event)">
5
4
  <slot :store="store"></slot>
6
5
  <div class="slot-row">
7
6
  <slot name="row" :store="store"></slot>
8
7
  </div>
9
- </openlayers>
8
+ </component>
10
9
  </section>
11
10
  </template>
12
11
 
13
12
  <script setup>
14
- import openlayers from './openlayers/index.vue';
15
13
  import { watch, computed, defineAsyncComponent } from 'vue';
16
14
  import { useMapStore } from './store';
17
15
  import comProps from '#build/ui.map.mjs';
@@ -19,9 +17,6 @@ import comProps from '#build/ui.map.mjs';
19
17
  // Data
20
18
  const store = useMapStore();
21
19
  const emit = defineEmits('initialized');
22
- // const engines = {
23
- // openlayers
24
- // };
25
20
 
26
21
  const props = defineProps({
27
22
  engine: {
@@ -92,10 +87,9 @@ watch(() => props.disabledMarkers, (v) => {
92
87
  store.setDisabledMarkers(v);
93
88
  }, {immediate: true});
94
89
 
95
- // const mapEngine = computed(() => {
96
- // return engines[props.engine];
97
- // //return defineAsyncComponent(() => import(`./${props.engine}/index.vue`));
98
- // });
90
+ const mapEngine = computed(() => {
91
+ return defineAsyncComponent(() => import(`./${props.engine}/index.vue`));
92
+ });
99
93
  </script>
100
94
 
101
95
  <style lang="less">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@community-release/nx-ui",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "description": "nx-ui - Nuxt UI library",
5
5
  "repository": {
6
6
  "type": "git",