text: 'use strict';
  
  exports.__esModule = true;
  exports.default = unfreezeColumnItem;
  function unfreezeColumnItem(manualColumnFreezePlugin) {
    return {
      key: 'unfreeze_column',
      name: 'Unfreeze this column',
      callback: function callback() {
        var selectedColumn = this.getSelectedRange().from.col;
  
        manualColumnFreezePlugin.unfreezeColumn(selectedColumn);
  
        this.render();
        this.view.wt.wtOverlays.adjustElementsSize(true);
      },
      hidden: function hidden() {
        var selection = this.getSelectedRange();
        var hide = false;
  
        if (selection === void 0) {
          hide = true;
        } else if (selection.from.col !== selection.to.col || selection.from.col >= this.getSettings().fixedColumnsLeft) {
          hide = true;
        }
  
        return hide;
      }
    };
  }