isobit-ui 0.0.171 → 0.0.172

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 +8 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.0.171
2
+ * isobit-ui v0.0.172
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -4046,7 +4046,8 @@ var __vue_component__$2 = /*#__PURE__*/__vue_normalize____default['default']({
4046
4046
  //
4047
4047
  var script$1 = {
4048
4048
  props: {
4049
- icon: String
4049
+ icon: String,
4050
+ visible: null
4050
4051
  },
4051
4052
  computed: {
4052
4053
  slotPassed: function slotPassed() {
@@ -4091,6 +4092,9 @@ var script$1 = {
4091
4092
  methods: {
4092
4093
  enter: function enter(e) {
4093
4094
  if (e.x) this.$emit('click', e);
4095
+ },
4096
+ toggle: function toggle() {
4097
+ this.visible = !!!this.visible;
4094
4098
  }
4095
4099
  }
4096
4100
  };
@@ -4110,8 +4114,8 @@ var __vue_render__$1 = function __vue_render__() {
4110
4114
  directives: [{
4111
4115
  name: "show",
4112
4116
  rawName: "v-show",
4113
- value: _vm.ready,
4114
- expression: "ready"
4117
+ value: _vm.ready && _vm.visible,
4118
+ expression: "ready&&visible"
4115
4119
  }],
4116
4120
  staticClass: "ol-unselectable ol-control"
4117
4121
  }, [_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.171",
3
+ "version": "0.0.172",
4
4
  "description": "Vue component to play videos",
5
5
  "keywords": [
6
6
  "ui",