isobit-ui 0.0.164 → 0.0.165

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.
Files changed (2) hide show
  1. package/dist/index.js +19 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.0.164
2
+ * isobit-ui v0.0.165
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -3636,6 +3636,22 @@ var __vue_component__$3 = /*#__PURE__*/__vue_normalize____default['default']({
3636
3636
  staticRenderFns: __vue_staticRenderFns__$3
3637
3637
  }, __vue_inject_styles__$3, __vue_script__$3, __vue_scope_id__$3, __vue_is_functional_template__$3, __vue_module_identifier__$3, false, undefined, undefined, undefined);
3638
3638
 
3639
+ function _typeof(obj) {
3640
+ "@babel/helpers - typeof";
3641
+
3642
+ if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
3643
+ _typeof = function (obj) {
3644
+ return typeof obj;
3645
+ };
3646
+ } else {
3647
+ _typeof = function (obj) {
3648
+ return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
3649
+ };
3650
+ }
3651
+
3652
+ return _typeof(obj);
3653
+ }
3654
+
3639
3655
  //
3640
3656
  //
3641
3657
  //
@@ -3711,7 +3727,8 @@ var script$2 = {
3711
3727
  me.map.addInteraction(translateIteraction);
3712
3728
  }
3713
3729
 
3714
- feature.setStyle(me.styleMap[f.style ? f.style : 'default']);
3730
+ console.log('type=' + _typeof(f.style));
3731
+ if (!f.style || typeof f.style == 'string') feature.setStyle(me.styleMap[f.style ? f.style : 'default']);
3715
3732
  c = point.flatCoordinates;
3716
3733
  c = c[0] < -10000 ? ol.proj.toLonLat(c) : c;
3717
3734
  me.$emit('translateend', {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.0.164",
3
+ "version": "0.0.165",
4
4
  "description": "Vue component to play videos",
5
5
  "keywords": [
6
6
  "ui",