"use strict";var _baseComponent=_interopRequireDefault(require("../helpers/baseComponent")),_classNames=_interopRequireDefault(require("../helpers/libs/classNames")),_styleToCssString=_interopRequireDefault(require("../helpers/libs/styleToCssString")),_eventsMixin=_interopRequireDefault(require("../helpers/mixins/eventsMixin"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var defaultEvents={onClick:function(){}};(0,_baseComponent.default)({behaviors:[(0,_eventsMixin.default)({defaultEvents:defaultEvents})],relations:{"../cell-group/index":{type:"ancestor"},"../picker/index":{type:"parent"},"../date-picker/index":{type:"parent"},"../popup-select/index":{type:"parent"}},properties:{prefixCls:{type:String,value:"wux-touch-view"},hoverClass:{type:String,value:"none"},hoverStopPropagation:{type:Boolean,value:!1},hoverStartTime:{type:Number,value:20},hoverStayTime:{type:Number,value:70},wrapStyle:{type:[String,Object],value:"",observer:function(e){this.setData({extStyle:(0,_styleToCssString.default)(e)})}}},data:{extStyle:""},computed:{classes:["prefixCls, hoverClass",function(e,t){return{wrap:(0,_classNames.default)(e),hover:t&&"default"!==t?t:"".concat(e,"--hover")}}]},methods:{onClick:function(){this.triggerEvent("click")}}});