isobit-ui 0.0.174 → 0.0.175
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 +9 -4
- 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.175
|
|
3
3
|
* (c) Erik Alarcon Pinedo
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -4057,12 +4057,17 @@ var script$1 = {
|
|
|
4057
4057
|
data: function data() {
|
|
4058
4058
|
return {
|
|
4059
4059
|
ready: null,
|
|
4060
|
+
visible0: null,
|
|
4060
4061
|
slotUsed: false
|
|
4061
4062
|
};
|
|
4062
4063
|
},
|
|
4063
4064
|
updated: function updated() {
|
|
4065
|
+
this.visible0 = !!this.visible;
|
|
4064
4066
|
this.slotUsed = this.$el.querySelectorAll(":scope > :not(.v-map-control-button)").length; //console.log(this.$slots);
|
|
4065
4067
|
},
|
|
4068
|
+
created: function created() {
|
|
4069
|
+
this.visible0 = !!this.visible;
|
|
4070
|
+
},
|
|
4066
4071
|
mounted: function mounted() {
|
|
4067
4072
|
var me = this;
|
|
4068
4073
|
me.slotUsed = !!this.$slots["default"];
|
|
@@ -4094,7 +4099,7 @@ var script$1 = {
|
|
|
4094
4099
|
if (e.x) this.$emit('click', e);
|
|
4095
4100
|
},
|
|
4096
4101
|
toggle: function toggle() {
|
|
4097
|
-
this.
|
|
4102
|
+
this.visible0 = !!!this.visible0;
|
|
4098
4103
|
}
|
|
4099
4104
|
}
|
|
4100
4105
|
};
|
|
@@ -4114,8 +4119,8 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
4114
4119
|
directives: [{
|
|
4115
4120
|
name: "show",
|
|
4116
4121
|
rawName: "v-show",
|
|
4117
|
-
value: _vm.ready && _vm.
|
|
4118
|
-
expression: "ready&&
|
|
4122
|
+
value: _vm.ready && _vm.visible0,
|
|
4123
|
+
expression: "ready&&visible0"
|
|
4119
4124
|
}],
|
|
4120
4125
|
staticClass: "ol-unselectable ol-control"
|
|
4121
4126
|
}, [_vm._t("default"), _vm._v(" "), !_vm.slotUsed ? _c('button', {
|