"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 /*#__PURE__*/React.createElement(Field, {
    name: "document"
  }, /*#__PURE__*/React.createElement(Panel, {
    name: "info",
    collapsible: true
  }, /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Field, {
    name: "transportReferenceNumber"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "transportMethod"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "numberOfCrates"
  })), /*#__PURE__*/React.createElement(InputTable, {
    name: "transporter"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "transporter"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "transporterContact"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "transporterContactNumber"
  })), /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(InputTable, {
    name: "authorization"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "transportAuthorizer"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "transportAuthorizationDate"
  })), /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "transportTrackingNumberGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "transportTrackingNumberGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "transportTrackingNumber"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "transportTrackingNumberNote"
  }))))), /*#__PURE__*/React.createElement(InputTable, {
    name: "departure"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "departurePoint"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "transportDepartureDate"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "transportDepartureTime"
  })), /*#__PURE__*/React.createElement(InputTable, {
    name: "arrival"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "destination"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "transportArrivalDate"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "transportArrivalTime"
  })), /*#__PURE__*/React.createElement(Cols, null, /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "courierGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "courierGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "courier"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "courierContactNumber"
  })))), /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "transportRemarks"
  })))), /*#__PURE__*/React.createElement(Panel, {
    name: "cost",
    collapsible: true
  }, /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Field, {
    name: "transportCostType"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "transportCostResponsibleParty"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "insuranceCostResponsibleParty"
  })), /*#__PURE__*/React.createElement(InputTable, {
    name: "finalShippingCost"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "finalShippingCostCurrency"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "finalShippingCostValue"
  })), /*#__PURE__*/React.createElement(InputTable, {
    name: "customsBroker"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "customsBroker"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "customsBrokerContact"
  })), /*#__PURE__*/React.createElement(InputTable, {
    name: "customsDeclaredValue"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "customsDeclaredValueCurrency"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "customsDeclaredValueAmount"
  })), /*#__PURE__*/React.createElement(InputTable, {
    name: "customsFee"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "customsFeeCurrency"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "customsFeeValue"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "customsFeeNote"
  })), /*#__PURE__*/React.createElement(Field, {
    name: "additionalCostsGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "additionalCostsGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "additionalCostsType"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "additionalCostsCurrency"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "additionalCostsValue"
  }))), /*#__PURE__*/React.createElement(Field, {
    name: "shippingQuoteGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "shippingQuoteGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "shippingQuoteProvider"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "shippingQuoteCurrency"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "shippingQuoteValue"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "shippingQuoteDate"
  })))));
};
var _default = configContext => ({
  messages: (0, _reactIntl.defineMessages)({
    name: {
      "id": "form.transport.default.name",
      "defaultMessage": "Standard Template"
    }
  }),
  template: template(configContext)
});
exports.default = _default;