"use strict";var _baseComponent=_interopRequireDefault(require("../helpers/baseComponent"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(0,_baseComponent.default)({externalClasses:["wux-class"],properties:{type:{type:String,value:""},size:{type:[String,Number],value:32,observer:"updated"},color:{type:String,value:""},hidden:{type:Boolean,value:!1}},data:{fontSize:""},methods:{updated:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:this.data.size,t=e;"number"!=typeof e&&("string"!=typeof e||isNaN(Number(e)))||(t="".concat(e,"px")),this.data.fontSize!==t&&this.setData({fontSize:t})}},attached:function(){this.updated()}});