'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});

var _fields = require('./fields');

var _fields2 = _interopRequireDefault(_fields);

var _form = require('./form');

var _form2 = _interopRequireDefault(_form);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

exports.default = function () {
  return function (pluginContext) {
    return {
      extensions: {
        dimension: {
          fields: (0, _fields2.default)(pluginContext),
          form: (0, _form2.default)(pluginContext)
        }
      }
    };
  };
};