isobit-ui 0.0.173 → 0.0.177

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 +11 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.0.173
2
+ * isobit-ui v0.0.177
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -4047,7 +4047,9 @@ var __vue_component__$2 = /*#__PURE__*/__vue_normalize____default['default']({
4047
4047
  var script$1 = {
4048
4048
  props: {
4049
4049
  icon: String,
4050
- visible: 1
4050
+ visible: {
4051
+ "default": 1
4052
+ }
4051
4053
  },
4052
4054
  computed: {
4053
4055
  slotPassed: function slotPassed() {
@@ -4057,12 +4059,16 @@ var script$1 = {
4057
4059
  data: function data() {
4058
4060
  return {
4059
4061
  ready: null,
4062
+ visible0: null,
4060
4063
  slotUsed: false
4061
4064
  };
4062
4065
  },
4063
4066
  updated: function updated() {
4064
4067
  this.slotUsed = this.$el.querySelectorAll(":scope > :not(.v-map-control-button)").length; //console.log(this.$slots);
4065
4068
  },
4069
+ created: function created() {
4070
+ this.visible0 = !!this.visible;
4071
+ },
4066
4072
  mounted: function mounted() {
4067
4073
  var me = this;
4068
4074
  me.slotUsed = !!this.$slots["default"];
@@ -4094,7 +4100,7 @@ var script$1 = {
4094
4100
  if (e.x) this.$emit('click', e);
4095
4101
  },
4096
4102
  toggle: function toggle() {
4097
- this.visible = !!!this.visible;
4103
+ this.visible0 = !!!this.visible0;
4098
4104
  }
4099
4105
  }
4100
4106
  };
@@ -4114,8 +4120,8 @@ var __vue_render__$1 = function __vue_render__() {
4114
4120
  directives: [{
4115
4121
  name: "show",
4116
4122
  rawName: "v-show",
4117
- value: _vm.ready && _vm.visible,
4118
- expression: "ready&&visible"
4123
+ value: _vm.ready && _vm.visible0,
4124
+ expression: "ready&&visible0"
4119
4125
  }],
4120
4126
  staticClass: "ol-unselectable ol-control"
4121
4127
  }, [_vm._t("default"), _vm._v(" "), !_vm.slotUsed ? _c('button', {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.0.173",
3
+ "version": "0.0.177",
4
4
  "description": "Vue component to play videos",
5
5
  "keywords": [
6
6
  "ui",