isobit-ui 0.0.175 → 0.0.179

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 +7 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.0.175
2
+ * isobit-ui v0.0.179
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() {
@@ -4062,8 +4064,9 @@ var script$1 = {
4062
4064
  };
4063
4065
  },
4064
4066
  updated: function updated() {
4065
- this.visible0 = !!this.visible;
4066
- this.slotUsed = this.$el.querySelectorAll(":scope > :not(.v-map-control-button)").length; //console.log(this.$slots);
4067
+ var l = this.$el.querySelectorAll(":scope > :not(.v-map-control-button)");
4068
+ if (l == 0) l = this.$el.textContent.trim().length;
4069
+ this.slotUsed = l; //console.log(this.$slots);
4067
4070
  },
4068
4071
  created: function created() {
4069
4072
  this.visible0 = !!this.visible;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.0.175",
3
+ "version": "0.0.179",
4
4
  "description": "Vue component to play videos",
5
5
  "keywords": [
6
6
  "ui",