@kizmann/nano-ui 0.7.12 → 0.7.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kizmann/nano-ui",
3
- "version": "0.7.12",
3
+ "version": "0.7.15",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "author": "Eduard Kizmann <kizmann@protonmail.ch>",
@@ -246,7 +246,7 @@ export default {
246
246
  let events = {};
247
247
 
248
248
  Obj.each(setup['events'], (value, key) => {
249
- events[this.toEventKey(key)] = value;
249
+ events[this.toEventKey(key)] = this.solveContext(value);
250
250
  });
251
251
 
252
252
  let props = {};
@@ -203,7 +203,8 @@ export default {
203
203
 
204
204
  render()
205
205
  {
206
- let size = this.size || this.NForm.size;
206
+ let size = this.size || Obj.get(this.NForm, 'size', 'md');
207
+
207
208
 
208
209
  let classList = [
209
210
  'n-form-item',
@@ -44,6 +44,20 @@ export default {
44
44
  return { init: false, callbacks: [], tempMap: null };
45
45
  },
46
46
 
47
+ watch: {
48
+
49
+ lat()
50
+ {
51
+ this.tempMap.focusMarkers();
52
+ },
53
+
54
+ lng()
55
+ {
56
+ this.tempMap.focusMarkers();
57
+ }
58
+
59
+ },
60
+
47
61
  mounted()
48
62
  {
49
63
  this.tempMap = new Map(this.$el, {