"use strict";

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

var _index = require("./index");

var _jsxRuntime = require("react/jsx-runtime");

function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }

function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

var _default = {
  title: "IncidentDetails",
  component: _index.IncidentDetails
};
exports.default = _default;
var incident = {
  id: "1aa1a99a-b487-495c-9cd9-a13cf717bc10",
  title: "Test incident 3",
  created_by: "017fb74a-9c90-2074-6b29-61d71507c231",
  commander_id: {
    name: "System",
    avatar: null
  },
  communicator_id: {
    name: "System",
    avatar: null
  },
  severity: 0,
  description: "test",
  type: "issue",
  status: "open",
  created_at: "2022-04-05T07:19:03.546871",
  updated_at: "2022-04-05T07:19:03.546871",
  hypothesis: [{
    id: "401cf26e-e941-4641-b6ab-1860a484b2a2",
    created_by: {
      name: "System",
      avatar: null
    },
    incident_id: "1aa1a99a-b487-495c-9cd9-a13cf717bc10",
    parent_id: null,
    type: "root",
    title: "Test incident 3",
    status: "proven",
    created_at: "2022-04-05T07:19:04.177198",
    updated_at: "2022-04-05T07:19:04.177198"
  }],
  responder: []
};

var Template = function Template(arg) {
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.IncidentDetails, _objectSpread({}, arg));
};

var Variant1 = Template.bind({});
exports.Variant1 = Variant1;
Variant1.args = {
  incident: incident,
  updateStatusHandler: function updateStatusHandler() {},
  updateIncidentHandler: function updateIncidentHandler() {},
  textButton: "button"
};