"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var get_toolbar_buttons_exports = {};
__export(get_toolbar_buttons_exports, {
  getToolbarButtons: () => getToolbarButtons
});
module.exports = __toCommonJS(get_toolbar_buttons_exports);
var import_create_separator = require("./../_shared/plugin-toolbar/separator/create-separator.js");
var import_buttons = require("./toolbar/buttons/index.js");
var import_vertical_alignment_button = require("./toolbar/buttons/vertical-alignment-button.js");
const getToolbarButtons = (_, services) => {
  const backgroundColorButton = (0, import_buttons.createBackgroundColorButton)(services);
  const borderButton = (0, import_buttons.createBorderButton)(services);
  const textAlignmentButton = (0, import_buttons.createTextAlignmentButton)(services);
  const verticalAlignmentButton = (0, import_vertical_alignment_button.createVerticalAlignmentButton)(services);
  const insertButton = (0, import_buttons.createInsertButton)(services);
  const moveColumnLeftButton = (0, import_buttons.createMoveColumnLeftButton)();
  const moveColumnRightButton = (0, import_buttons.createMoveColumnRightButton)();
  const moveRowUpButton = (0, import_buttons.createMoveRowUpButton)();
  const moveRowDownButton = (0, import_buttons.createMoveRowDownButton)();
  const mergeCellsButton = (0, import_buttons.createMergeCellsButton)();
  const splitCellButton = (0, import_buttons.createSplitCellButton)();
  const spacingButton = (0, import_buttons.createSpacingButton)(services);
  const contextButton = (0, import_buttons.createContextButton)(services);
  if (services.context.environment === "wixel") {
    return [
      backgroundColorButton,
      borderButton,
      textAlignmentButton,
      verticalAlignmentButton,
      insertButton,
      moveColumnLeftButton,
      moveColumnRightButton,
      moveRowUpButton,
      moveRowDownButton,
      mergeCellsButton,
      splitCellButton,
      spacingButton,
      contextButton
    ];
  }
  const separator = (0, import_create_separator.createSeparator)();
  return [
    backgroundColorButton,
    separator,
    borderButton,
    textAlignmentButton,
    verticalAlignmentButton,
    insertButton,
    moveColumnLeftButton,
    moveColumnRightButton,
    moveRowUpButton,
    moveRowDownButton,
    mergeCellsButton,
    splitCellButton,
    spacingButton,
    separator,
    contextButton
  ];
};
//# sourceMappingURL=get-toolbar-buttons.js.map
