"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = void 0;

var _require = require('react-intl'),
    useIntl = _require.useIntl;

var useToolbarConfig = function useToolbarConfig() {
  var intl = useIntl();
  return {
    // Optionally specify the groups to display (displayed in the order listed).
    display: ['INLINE_STYLE_BUTTONS', 'BLOCK_ALIGNMENT_BUTTONS', 'BLOCK_TYPE_BUTTONS', 'LINK_BUTTONS', 'BLOCK_TYPE_DROPDOWN', 'HISTORY_BUTTONS'],
    INLINE_STYLE_BUTTONS: [{
      label: intl.formatMessage({
        id: "LlgX1c",
        defaultMessage: [{
          "type": 0,
          "value": "Lihavoitu"
        }]
      }),
      style: 'BOLD'
    }, {
      label: intl.formatMessage({
        id: "6DKEqJ",
        defaultMessage: [{
          "type": 0,
          "value": "Kursivoitu"
        }]
      }),
      style: 'ITALIC'
    }, {
      label: intl.formatMessage({
        id: "F1CswO",
        defaultMessage: [{
          "type": 0,
          "value": "Yliviivaus"
        }]
      }),
      style: 'STRIKETHROUGH'
    }, {
      label: intl.formatMessage({
        id: "vDWuqJ",
        defaultMessage: [{
          "type": 0,
          "value": "Tasalevyinen"
        }]
      }),
      style: 'CODE'
    }],
    BLOCK_TYPE_BUTTONS: [{
      label: intl.formatMessage({
        id: "5rr6LY",
        defaultMessage: [{
          "type": 0,
          "value": "Luettelo"
        }]
      }),
      style: 'unordered-list-item'
    }, {
      label: intl.formatMessage({
        id: "gbpzSa",
        defaultMessage: [{
          "type": 0,
          "value": "Numeroitu luettelo"
        }]
      }),
      style: 'ordered-list-item'
    }, {
      label: intl.formatMessage({
        id: "atwSNk",
        defaultMessage: [{
          "type": 0,
          "value": "Lainaus"
        }]
      }),
      style: 'blockquote'
    }],
    BLOCK_TYPE_DROPDOWN: [{
      label: intl.formatMessage({
        id: "Dcuxwn",
        defaultMessage: [{
          "type": 0,
          "value": "Normaali"
        }]
      }),
      style: 'unstyled'
    }, {
      label: intl.formatMessage({
        id: "n+gaJ8",
        defaultMessage: [{
          "type": 0,
          "value": "Otsikko suuri"
        }]
      }),
      style: 'header-one'
    }, {
      label: intl.formatMessage({
        id: "R3beF8",
        defaultMessage: [{
          "type": 0,
          "value": "Otsikko keskikokoinen"
        }]
      }),
      style: 'header-two'
    }, {
      label: intl.formatMessage({
        id: "6WoZDj",
        defaultMessage: [{
          "type": 0,
          "value": "Otsikko pieni"
        }]
      }),
      style: 'header-three'
    }],
    HISTORY_BUTTONS: {
      undo: {
        label: intl.formatMessage({
          id: "ISJXJx",
          defaultMessage: [{
            "type": 0,
            "value": "Kumoa"
          }]
        }),
        style: 'UNDO'
      },
      redo: {
        label: intl.formatMessage({
          id: "qRD0FT",
          defaultMessage: [{
            "type": 0,
            "value": "Tee uudelleen"
          }]
        }),
        style: 'REDO'
      }
    },
    LINK_BUTTONS: {
      link: {
        label: intl.formatMessage({
          id: "uBiFTc",
          defaultMessage: [{
            "type": 0,
            "value": "Linkki"
          }]
        }),
        style: 'LINK'
      },
      removeLink: {
        label: intl.formatMessage({
          id: "dDra1B",
          defaultMessage: [{
            "type": 0,
            "value": "Poista linkki"
          }]
        }),
        style: 'REMOVE-LINK'
      }
    }
  };
};

var _default = useToolbarConfig;
exports["default"] = _default;
//# sourceMappingURL=toolbarConfig.cjs.map