"use strict";function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ownKeys(e,t){var n,o=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)),o}function _objectSpread(e){for(var t=1;tn.h?-1===r?(n.testContent=n.content.substring(0,n.testContent.length-1),e(n,o,r)):(n.actualContent=n.content.substring(0,n.testContent.length-1),n.isCompute=!0):-1===r?(n.actualContent=n.testContent,n.isCompute=!0):(n.testContent=n.content.substring(0,n.testContent.length+1),e(n,o,r))})})},compute=function(e,n){var o=e.rows,r=e.fontSize,i=e.content,u=e.h,c=e.w;e.testContent=i,e.$nextTick(function(){getH(e,n,function(t){u