Skip to content

Commit

Permalink
build: package
Browse files Browse the repository at this point in the history
  • Loading branch information
dolymood committed Sep 16, 2019
1 parent 0a3fe42 commit ca6a171
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 6 deletions.
4 changes: 2 additions & 2 deletions lib/cube.min.js

Large diffs are not rendered by default.

14 changes: 12 additions & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7226,7 +7226,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
}

var Cube = {
version: "1.12.30",
version: "1.12.31",
install: install,
BScroll: _module.BetterScroll,
createAPI: _module.createAPI
Expand Down Expand Up @@ -17520,13 +17520,15 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
if (this.isVisible || !this.data.length) {
return;
}
this.isVisible = true;
this.currentPicker.show();
},
hide: function hide() {
if (!this.isVisible || !this.data.length) {
return;
}
this.$refs.currentPicker.hide();
this.isVisible = false;
this.currentPicker.hide();
},
_select: function _select() {
for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
Expand All @@ -17542,6 +17544,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
this.current++;
this.currentPicker.show();
} else {
this.isVisible = false;
this.$emit(EVENT_SELECT, this.selectedVal, this.selectedIndex, this.selectedText);
this.current = 0;
}
Expand All @@ -17556,6 +17559,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
this.current--;
this.currentPicker.show();
} else {
this.isVisible = false;
this.$emit(EVENT_CANCEL);
}
},
Expand All @@ -17577,6 +17581,12 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
return _c('div', {
directives: [{
name: "show",
rawName: "v-show",
value: (_vm.isVisible),
expression: "isVisible"
}],
staticClass: "cube-segment-picker"
}, _vm._l((_vm.data), function(item, index) {
return _c(item.is || 'cube-picker', _vm._b({
Expand Down
12 changes: 11 additions & 1 deletion lib/segment-picker/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8061,13 +8061,15 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
if (this.isVisible || !this.data.length) {
return;
}
this.isVisible = true;
this.currentPicker.show();
},
hide: function hide() {
if (!this.isVisible || !this.data.length) {
return;
}
this.$refs.currentPicker.hide();
this.isVisible = false;
this.currentPicker.hide();
},
_select: function _select() {
for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
Expand All @@ -8083,6 +8085,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
this.current++;
this.currentPicker.show();
} else {
this.isVisible = false;
this.$emit(EVENT_SELECT, this.selectedVal, this.selectedIndex, this.selectedText);
this.current = 0;
}
Expand All @@ -8097,6 +8100,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
this.current--;
this.currentPicker.show();
} else {
this.isVisible = false;
this.$emit(EVENT_CANCEL);
}
},
Expand All @@ -8118,6 +8122,12 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
return _c('div', {
directives: [{
name: "show",
rawName: "v-show",
value: (_vm.isVisible),
expression: "isVisible"
}],
staticClass: "cube-segment-picker"
}, _vm._l((_vm.data), function(item, index) {
return _c(item.is || 'cube-picker', _vm._b({
Expand Down
Loading

0 comments on commit ca6a171

Please sign in to comment.