"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.changeTab = changeTab;
exports.changeAccordion = changeAccordion;
exports.resetUI = resetUI;
exports.hideSidebar = hideSidebar;
exports.showSidebar = showSidebar;
exports.SHOW_SIDEBAR = exports.HIDE_SIDEBAR = exports.RESET_UI = exports.CHANGE_ACCORDION = exports.CHANGE_TAB = void 0;

/*
 * Copyright (C) 2018 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
var CHANGE_TAB = "CHANGE_TAB";
exports.CHANGE_TAB = "CHANGE_TAB";
var CHANGE_ACCORDION = "CHANGE_ACCORDION";
exports.CHANGE_ACCORDION = "CHANGE_ACCORDION";
var RESET_UI = "RESET_UI";
exports.RESET_UI = "RESET_UI";
var HIDE_SIDEBAR = "HIDE_SIDEBAR";
exports.HIDE_SIDEBAR = "HIDE_SIDEBAR";
var SHOW_SIDEBAR = "SHOW_SIDEBAR";
exports.SHOW_SIDEBAR = "SHOW_SIDEBAR";

function changeTab(index) {
  return {
    type: CHANGE_TAB,
    index: index
  };
}

function changeAccordion(index) {
  return {
    type: CHANGE_ACCORDION,
    index: index
  };
}

function resetUI() {
  return {
    type: RESET_UI
  };
}

function hideSidebar() {
  return {
    type: HIDE_SIDEBAR
  };
}

function showSidebar() {
  return {
    type: SHOW_SIDEBAR
  };
}