"use strict";

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

var _reactIntl = require("react-intl");

const template = configContext => {
  const {
    React
  } = configContext.lib;
  const {
    Col,
    Cols,
    Panel,
    Row
  } = configContext.layoutComponents;
  const {
    Field
  } = configContext.recordComponents;
  return /*#__PURE__*/React.createElement(Field, {
    name: "document"
  }, /*#__PURE__*/React.createElement(Panel, {
    name: "objectEntryInfo",
    collapsible: true
  }, /*#__PURE__*/React.createElement(Cols, null, /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "entryNumber"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "entryDate"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "entryReason"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "entryMethods"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "entryMethod"
  }))), /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "returnDate"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "currentOwners"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "currentOwner"
  })), /*#__PURE__*/React.createElement(Field, {
    name: "depositorGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "depositorGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "depositor"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "depositorsRequirements"
  }))))), /*#__PURE__*/React.createElement(Field, {
    name: "approvalGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "approvalGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "approvalGroup"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "approvalIndividual"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "approvalStatus"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "approvalDate"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "approvalNote"
  }))), /*#__PURE__*/React.createElement(Field, {
    name: "entryNote"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "packingNote"
  })), /*#__PURE__*/React.createElement(Panel, {
    name: "objectCollectionInfo",
    collapsible: true,
    collapsed: true
  }, /*#__PURE__*/React.createElement(Cols, null, /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "fieldCollectionDate"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "fieldCollectionMethods"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "fieldCollectionMethod"
  })), /*#__PURE__*/React.createElement(Field, {
    name: "fieldCollectionNote"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "fieldCollectionNumber"
  })), /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "fieldCollectionPlace"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "fieldCollectionSources"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "fieldCollectionSource"
  })), /*#__PURE__*/React.createElement(Field, {
    name: "fieldCollectors"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "fieldCollector"
  })), /*#__PURE__*/React.createElement(Field, {
    name: "fieldCollectionEventNames"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "fieldCollectionEventName"
  }))))), /*#__PURE__*/React.createElement(Panel, {
    name: "valuation",
    collapsible: true,
    collapsed: true
  }, /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Field, {
    name: "valuer"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "valuationReferenceNumber"
  }))), /*#__PURE__*/React.createElement(Panel, {
    name: "insurance",
    collapsible: true,
    collapsed: true
  }, /*#__PURE__*/React.createElement(Cols, null, /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "insurers"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "insurer"
  })), /*#__PURE__*/React.createElement(Field, {
    name: "insurancePolicyNumber"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "insuranceRenewalDate"
  })), /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "insuranceReferenceNumber"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "insuranceNote"
  })))), /*#__PURE__*/React.createElement(Panel, {
    name: "location",
    collapsible: true,
    collapsed: true
  }, /*#__PURE__*/React.createElement(Field, {
    name: "currentLocationGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "currentLocationGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "currentLocation"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "currentLocationFitness"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "currentLocationNote"
  }))), /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Field, {
    name: "locationDate"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "normalLocation"
  }))), /*#__PURE__*/React.createElement(Panel, {
    name: "condition",
    collapsible: true,
    collapsed: true
  }, /*#__PURE__*/React.createElement(Cols, null, /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "conditionCheckMethods"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "conditionCheckMethod"
  })), /*#__PURE__*/React.createElement(Field, {
    name: "conditionCheckReasons"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "conditionCheckReason"
  })), /*#__PURE__*/React.createElement(Field, {
    name: "conditionCheckersOrAssessors"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "conditionCheckerOrAssessor"
  }))), /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "conditionCheckDate"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "conditionCheckReferenceNumber"
  }))), /*#__PURE__*/React.createElement(Field, {
    name: "conditionCheckNote"
  })));
};

var _default = configContext => ({
  messages: (0, _reactIntl.defineMessages)({
    name: {
      "id": "form.intake.default.name",
      "defaultMessage": "Standard Template"
    }
  }),
  sortOrder: 0,
  template: template(configContext)
});

exports.default = _default;