"use strict";

exports.__esModule = true;
exports.default = exports.SlidePropsTypes = void 0;
var _propTypes = _interopRequireDefault(require("prop-types"));
var _propTypes2 = _interopRequireDefault(require("../../molecule/review-correction-popin/prop-types"));
var _propTypes3 = _interopRequireDefault(require("../../molecule/answer/prop-types"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
const SlidePropsTypes = exports.SlidePropsTypes = _propTypes.default.shape({
  position: _propTypes.default.number,
  loading: _propTypes.default.bool,
  loadingAriaLabel: _propTypes.default.string,
  animationType: _propTypes.default.string,
  // 'unstack' | 'restack'
  isCorrect: _propTypes.default.bool,
  animateCorrectionPopin: _propTypes.default.bool,
  showCorrectionPopin: _propTypes.default.bool,
  disableContent: _propTypes.default.bool,
  parentContentTitle: _propTypes.default.string,
  questionText: _propTypes.default.string,
  answerUI: _propTypes.default.shape(_propTypes3.default)
});
const propTypes = {
  slideIndex: _propTypes.default.string,
  slide: SlidePropsTypes,
  validateButton: _propTypes.default.shape({
    label: _propTypes.default.string.isRequired,
    onClick: _propTypes.default.func.isRequired,
    disabled: _propTypes.default.bool
  }),
  correctionPopinProps: _propTypes.default.shape({
    klf: _propTypes2.default.klf,
    information: _propTypes2.default.information,
    next: _propTypes.default.shape({
      label: _propTypes.default.string,
      'aria-label': _propTypes.default.string // Pourquoi le onClick du next n'est pas ici !
      // updateSlidesOnNext: PropTypes.func.isRequired ???
    }),
    resultLabel: _propTypes2.default.resultLabel,
    type: _propTypes2.default.type
  })
};
var _default = exports.default = propTypes;
//# sourceMappingURL=prop-types.js.map