isobit-ui 0.0.171 → 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 +13 -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
|
*/
|
|
@@ -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: 1
|
|
4050
4051
|
},
|
|
4051
4052
|
computed: {
|
|
4052
4053
|
slotPassed: function slotPassed() {
|
|
@@ -4056,12 +4057,17 @@ var script$1 = {
|
|
|
4056
4057
|
data: function data() {
|
|
4057
4058
|
return {
|
|
4058
4059
|
ready: null,
|
|
4060
|
+
visible0: null,
|
|
4059
4061
|
slotUsed: false
|
|
4060
4062
|
};
|
|
4061
4063
|
},
|
|
4062
4064
|
updated: function updated() {
|
|
4065
|
+
this.visible0 = !!this.visible;
|
|
4063
4066
|
this.slotUsed = this.$el.querySelectorAll(":scope > :not(.v-map-control-button)").length; //console.log(this.$slots);
|
|
4064
4067
|
},
|
|
4068
|
+
created: function created() {
|
|
4069
|
+
this.visible0 = !!this.visible;
|
|
4070
|
+
},
|
|
4065
4071
|
mounted: function mounted() {
|
|
4066
4072
|
var me = this;
|
|
4067
4073
|
me.slotUsed = !!this.$slots["default"];
|
|
@@ -4091,6 +4097,9 @@ var script$1 = {
|
|
|
4091
4097
|
methods: {
|
|
4092
4098
|
enter: function enter(e) {
|
|
4093
4099
|
if (e.x) this.$emit('click', e);
|
|
4100
|
+
},
|
|
4101
|
+
toggle: function toggle() {
|
|
4102
|
+
this.visible0 = !!!this.visible0;
|
|
4094
4103
|
}
|
|
4095
4104
|
}
|
|
4096
4105
|
};
|
|
@@ -4110,8 +4119,8 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
4110
4119
|
directives: [{
|
|
4111
4120
|
name: "show",
|
|
4112
4121
|
rawName: "v-show",
|
|
4113
|
-
value: _vm.ready,
|
|
4114
|
-
expression: "ready"
|
|
4122
|
+
value: _vm.ready && _vm.visible0,
|
|
4123
|
+
expression: "ready&&visible0"
|
|
4115
4124
|
}],
|
|
4116
4125
|
staticClass: "ol-unselectable ol-control"
|
|
4117
4126
|
}, [_vm._t("default"), _vm._v(" "), !_vm.slotUsed ? _c('button', {
|