Skip to content

Commit

Permalink
refactor: build v5.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dwqs committed Sep 21, 2018
1 parent d5aa320 commit c1fb025
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 12 deletions.
15 changes: 11 additions & 4 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3225,6 +3225,10 @@ function setPanelPosition(panelHeight, wrapRect) {
type: String,
default: '请选择'
},
icon: {
type: String,
default: 'area-select-icon'
},
size: {
type: String,
default: 'medium',
Expand Down Expand Up @@ -3374,7 +3378,7 @@ var render = function() {
),
_vm._v(" "),
_c("i", {
class: ["area-select-icon", { active: _vm.shown }],
class: [_vm.icon, { active: _vm.shown }],
on: {
click: function($event) {
$event.stopPropagation()
Expand Down Expand Up @@ -3935,7 +3939,7 @@ if (false) {(function () {
this.$nextTick(function () {
_this3.defaults = [];
// this.isCode = false;
// this.isSetDefault = false;
_this3.isSetDefault = false;
});
},
selectChange: function selectChange() {
Expand Down Expand Up @@ -4472,7 +4476,10 @@ if (false) {(function () {
return ['small', 'medium', 'large'].indexOf(val) > -1;
}
},

icon: {
type: String,
default: 'area-select-icon'
},
separator: {
type: String,
default: '/'
Expand Down Expand Up @@ -4673,7 +4680,7 @@ var cascader_render = function() {
),
_vm._v(" "),
_c("i", {
class: ["area-select-icon", { active: _vm.shown }],
class: [_vm.icon, { active: _vm.shown }],
on: {
click: function($event) {
$event.stopPropagation()
Expand Down
9 changes: 6 additions & 3 deletions dist/lib/area-cascader.js
Original file line number Diff line number Diff line change
Expand Up @@ -3752,7 +3752,10 @@ var Component = normalizeComponent(
return ['small', 'medium', 'large'].indexOf(val) > -1;
}
},

icon: {
type: String,
default: 'area-select-icon'
},
separator: {
type: String,
default: '/'
Expand Down Expand Up @@ -3919,13 +3922,13 @@ var Component = normalizeComponent(
window.document.removeEventListener('click', this.handleDocClick, false);
}
});
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-b9d2f694","hasScoped":false,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./components/area-cascader/cascader/index.vue
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-2a6521de","hasScoped":false,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./components/area-cascader/cascader/index.vue
var cascader_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"area",staticClass:"area-select",class:{
'medium': _vm.size === 'medium',
'small': _vm.size === 'small',
'large': _vm.size === 'large',
'is-disabled': _vm.disabled
}},[_c('span',{ref:"trigger",staticClass:"area-selected-trigger",on:{"click":function($event){$event.stopPropagation();_vm.handleTriggerClick($event)}}},[_vm._v(_vm._s(_vm.label ? _vm.label : _vm.placeholder))]),_vm._v(" "),_c('i',{class:['area-select-icon', { 'active': _vm.shown }],on:{"click":function($event){$event.stopPropagation();_vm.handleTriggerClick($event)}}}),_vm._v(" "),_c('transition',{attrs:{"name":"area-zoom-in-top"},on:{"before-enter":_vm.handleListEnter}},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.shown),expression:"shown"}],ref:"wrap",staticClass:"cascader-menu-list-wrap",style:({top: _vm.top + 'px'})},[_c('caspanel',{attrs:{"data":_vm.options}})],1)])],1)}
}},[_c('span',{ref:"trigger",staticClass:"area-selected-trigger",on:{"click":function($event){$event.stopPropagation();_vm.handleTriggerClick($event)}}},[_vm._v(_vm._s(_vm.label ? _vm.label : _vm.placeholder))]),_vm._v(" "),_c('i',{class:[_vm.icon, { 'active': _vm.shown }],on:{"click":function($event){$event.stopPropagation();_vm.handleTriggerClick($event)}}}),_vm._v(" "),_c('transition',{attrs:{"name":"area-zoom-in-top"},on:{"before-enter":_vm.handleListEnter}},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.shown),expression:"shown"}],ref:"wrap",staticClass:"cascader-menu-list-wrap",style:({top: _vm.top + 'px'})},[_c('caspanel',{attrs:{"data":_vm.options}})],1)])],1)}
var cascader_staticRenderFns = []
var cascader_esExports = { render: cascader_render, staticRenderFns: cascader_staticRenderFns }
/* harmony default export */ var area_cascader_cascader = (cascader_esExports);
Expand Down
14 changes: 9 additions & 5 deletions dist/lib/area-select.js
Original file line number Diff line number Diff line change
Expand Up @@ -3467,6 +3467,10 @@ var utils = __webpack_require__(17);
type: String,
default: '请选择'
},
icon: {
type: String,
default: 'area-select-icon'
},
size: {
type: String,
default: 'medium',
Expand Down Expand Up @@ -3587,13 +3591,13 @@ var utils = __webpack_require__(17);
window.document.removeEventListener('click', this.handleDocClick, false);
}
});
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-ad573d84","hasScoped":false,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./components/area-select/select/index.vue
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-a7d0502c","hasScoped":false,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./components/area-select/select/index.vue
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"area",staticClass:"area-select",class:{
'medium': _vm.size === 'medium',
'small': _vm.size === 'small',
'large': _vm.size === 'large',
'is-disabled': _vm.disabled
}},[_c('span',{ref:"trigger",staticClass:"area-selected-trigger",on:{"click":_vm.handleTriggerClick}},[_vm._v(_vm._s(_vm.label ? _vm.label : _vm.placeholder))]),_vm._v(" "),_c('i',{class:['area-select-icon', { 'active': _vm.shown }],on:{"click":function($event){$event.stopPropagation();_vm.handleTriggerClick($event)}}}),_vm._v(" "),_c('transition',{attrs:{"name":"area-zoom-in-top"},on:{"before-enter":_vm.handleListEnter}},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.shown),expression:"shown"}],ref:"wrap",staticClass:"area-selectable-list-wrap",style:({top: _vm.top + 'px'})},[_c('ul',{staticClass:"area-selectable-list"},[_vm._t("default")],2)])])],1)}
}},[_c('span',{ref:"trigger",staticClass:"area-selected-trigger",on:{"click":_vm.handleTriggerClick}},[_vm._v(_vm._s(_vm.label ? _vm.label : _vm.placeholder))]),_vm._v(" "),_c('i',{class:[_vm.icon, { 'active': _vm.shown }],on:{"click":function($event){$event.stopPropagation();_vm.handleTriggerClick($event)}}}),_vm._v(" "),_c('transition',{attrs:{"name":"area-zoom-in-top"},on:{"before-enter":_vm.handleListEnter}},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.shown),expression:"shown"}],ref:"wrap",staticClass:"area-selectable-list-wrap",style:({top: _vm.top + 'px'})},[_c('ul',{staticClass:"area-selectable-list"},[_vm._t("default")],2)])])],1)}
var staticRenderFns = []
var esExports = { render: render, staticRenderFns: staticRenderFns }
/* harmony default export */ var selectortype_template_index_0_components_area_select_select = (esExports);
Expand Down Expand Up @@ -4036,7 +4040,7 @@ var option_Component = option_normalizeComponent(
this.$nextTick(function () {
_this3.defaults = [];
// this.isCode = false;
// this.isSetDefault = false;
_this3.isSetDefault = false;
});
},
selectChange: function selectChange() {
Expand Down Expand Up @@ -4066,7 +4070,7 @@ var option_Component = option_normalizeComponent(
}
}
});
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-135a1fa6","hasScoped":false,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./components/area-select/index.vue
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-4a88f942","hasScoped":false,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./components/area-select/index.vue
var area_select_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"area-select-wrap"},[_c('v-select',{attrs:{"placeholder":_vm.placeholders[0] ? _vm.placeholders[0] : '请选择',"size":_vm.size,"disabled":_vm.disabled},model:{value:(_vm.curProvinceCode),callback:function ($$v) {_vm.curProvinceCode=$$v},expression:"curProvinceCode"}},_vm._l((_vm.provinces),function(val,key){return _c('v-option',{key:key,attrs:{"label":val,"value":key}})})),_vm._v(" "),(_vm.level>=1)?_c('v-select',{attrs:{"placeholder":_vm.placeholders[1] ? _vm.placeholders[1] : '请选择',"size":_vm.size,"disabled":_vm.disabled},model:{value:(_vm.curCityCode),callback:function ($$v) {_vm.curCityCode=$$v},expression:"curCityCode"}},[(!Object.keys(_vm.citys).length)?_c('p',{staticClass:"area-select-empty"},[_vm._v("暂无数据")]):_vm._l((_vm.citys),function(val,key){return _c('v-option',{key:key,attrs:{"label":val,"value":key}})})],2):_vm._e(),_vm._v(" "),(_vm.level>=2)?_c('v-select',{attrs:{"placeholder":_vm.placeholders[2] ? _vm.placeholders[2] : '请选择',"size":_vm.size,"disabled":_vm.disabled},model:{value:(_vm.curAreaCode),callback:function ($$v) {_vm.curAreaCode=$$v},expression:"curAreaCode"}},[(!Object.keys(_vm.areas).length)?_c('p',{staticClass:"area-select-empty"},[_vm._v("暂无数据")]):_vm._l((_vm.areas),function(val,key){return _c('v-option',{key:key,attrs:{"label":val,"value":key}})})],2):_vm._e()],1)}
var area_select_staticRenderFns = []
var area_select_esExports = { render: area_select_render, staticRenderFns: area_select_staticRenderFns }
Expand Down Expand Up @@ -4120,7 +4124,7 @@ var content = __webpack_require__(54);
if(typeof content === 'string') content = [[module.i, content, '']];
if(content.locals) module.exports = content.locals;
// add the styles to the DOM
var update = __webpack_require__(56)("3bccc8cc", content, true, {});
var update = __webpack_require__(56)("3b9643c6", content, true, {});

/***/ }),
/* 54 */
Expand Down

0 comments on commit c1fb025

Please sign in to comment.