"use strict";var _baseComponent=_interopRequireDefault(require("../helpers/baseComponent")),_classNames2=_interopRequireDefault(require("../helpers/classNames"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,o,a){return o in e?Object.defineProperty(e,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[o]=a,e}(0,_baseComponent.default)({properties:{prefixCls:{type:String,value:"wux-landscape"},visible:{type:Boolean,value:!1},mask:{type:Boolean,value:!0,observer:function(e){this.setData({showMask:e})}},maskClosable:{type:Boolean,value:!1},closable:{type:Boolean,value:!0}},data:{showMask:!0},computed:{classes:["prefixCls, showMask",function(e,o){return{wrap:(0,_classNames2.default)(e,_defineProperty({},"".concat(e,"--has-mask"),o)),popup:"".concat(e,"__popup"),popupBody:"".concat(e,"__popup-body"),popupClose:"".concat(e,"__popup-close"),inner:"".concat(e,"__inner"),close:"".concat(e,"__close"),x:"".concat(e,"__close-x")}}]},methods:{onClose:function(){this.triggerEvent("close",{visible:!this.data.visible})}},attached:function(){}});