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