"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,
    InputTable
  } = configContext.recordComponents;
  return React.createElement(Field, {
    name: "document"
  }, React.createElement(Panel, {
    name: "info",
    collapsible: true
  }, React.createElement(Field, {
    name: "locTermGroupList"
  }, React.createElement(Field, {
    name: "locTermGroup"
  }, React.createElement(Panel, null, React.createElement(Row, null, React.createElement(Field, {
    name: "termDisplayName"
  }), React.createElement(Field, {
    name: "termName"
  }), React.createElement(Field, {
    name: "termQualifier"
  }), React.createElement(Field, {
    name: "termStatus"
  })), React.createElement(Row, null, React.createElement(Field, {
    name: "termType"
  }), React.createElement(Field, {
    name: "termFlag"
  }), React.createElement(Field, {
    name: "termLanguage"
  }), React.createElement(Field, {
    name: "termPrefForLang"
  })), React.createElement(InputTable, {
    name: "termSource"
  }, React.createElement(Field, {
    name: "termSource"
  }), React.createElement(Field, {
    name: "termSourceDetail"
  }), React.createElement(Field, {
    name: "termSourceID"
  }), React.createElement(Field, {
    name: "termSourceNote"
  }))))), React.createElement(Cols, null, React.createElement(Col, null, React.createElement(Field, {
    name: "locationType"
  }), React.createElement(Field, {
    name: "securityNote"
  })), React.createElement(Col, null, React.createElement(Field, {
    name: "address"
  }), React.createElement(Field, {
    name: "accessNote"
  }))), React.createElement(Field, {
    name: "conditionGroupList"
  }, React.createElement(Field, {
    name: "conditionGroup"
  }, React.createElement(Field, {
    name: "conditionNote"
  }), React.createElement(Field, {
    name: "conditionNoteDate"
  })))), React.createElement(Panel, {
    name: "hierarchy",
    collapsible: true,
    collapsed: true
  }, React.createElement(Field, {
    name: "relation-list-item",
    subpath: "rel:relations-common-list"
  })));
};

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

exports.default = _default;