isobit-ui 0.0.179 → 0.0.183
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.
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* isobit-ui v0.0.
|
|
2
|
+
* isobit-ui v0.0.183
|
|
3
3
|
* (c) Erik Alarcon Pinedo
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -4064,7 +4064,7 @@ var script$1 = {
|
|
|
4064
4064
|
};
|
|
4065
4065
|
},
|
|
4066
4066
|
updated: function updated() {
|
|
4067
|
-
var l = this.$el.querySelectorAll(":scope > :not(.v-map-control-button)");
|
|
4067
|
+
var l = this.$el.querySelectorAll(":scope > :not(.v-map-control-button)").length;
|
|
4068
4068
|
if (l == 0) l = this.$el.textContent.trim().length;
|
|
4069
4069
|
this.slotUsed = l; //console.log(this.$slots);
|
|
4070
4070
|
},
|
|
@@ -4074,7 +4074,7 @@ var script$1 = {
|
|
|
4074
4074
|
mounted: function mounted() {
|
|
4075
4075
|
var me = this;
|
|
4076
4076
|
me.slotUsed = !!this.$slots["default"];
|
|
4077
|
-
|
|
4077
|
+
c; //onsole.log('slotUsed='+me.slotUsed);
|
|
4078
4078
|
|
|
4079
4079
|
if (me.$parent.map) {
|
|
4080
4080
|
me.$parent.map.addControl(new ol.control.Control({
|