isobit-ui 0.0.172 → 0.0.176

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 +12 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.0.172
2
+ * isobit-ui v0.0.176
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: null
4050
+ visible: {
4051
+ "default": 1
4052
+ }
4051
4053
  },
4052
4054
  computed: {
4053
4055
  slotPassed: function slotPassed() {
@@ -4057,12 +4059,17 @@ 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() {
4067
+ this.visible0 = !!this.visible;
4064
4068
  this.slotUsed = this.$el.querySelectorAll(":scope > :not(.v-map-control-button)").length; //console.log(this.$slots);
4065
4069
  },
4070
+ created: function created() {
4071
+ this.visible0 = !!this.visible;
4072
+ },
4066
4073
  mounted: function mounted() {
4067
4074
  var me = this;
4068
4075
  me.slotUsed = !!this.$slots["default"];
@@ -4094,7 +4101,7 @@ var script$1 = {
4094
4101
  if (e.x) this.$emit('click', e);
4095
4102
  },
4096
4103
  toggle: function toggle() {
4097
- this.visible = !!!this.visible;
4104
+ this.visible0 = !!!this.visible0;
4098
4105
  }
4099
4106
  }
4100
4107
  };
@@ -4114,8 +4121,8 @@ var __vue_render__$1 = function __vue_render__() {
4114
4121
  directives: [{
4115
4122
  name: "show",
4116
4123
  rawName: "v-show",
4117
- value: _vm.ready && _vm.visible,
4118
- expression: "ready&&visible"
4124
+ value: _vm.ready && _vm.visible0,
4125
+ expression: "ready&&visible0"
4119
4126
  }],
4120
4127
  staticClass: "ol-unselectable ol-control"
4121
4128
  }, [_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.172",
3
+ "version": "0.0.176",
4
4
  "description": "Vue component to play videos",
5
5
  "keywords": [
6
6
  "ui",