Dependencies.js 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.default = void 0;
  6. var _react = _interopRequireDefault(require("react"));
  7. var _Systems = _interopRequireDefault(require("./Systems"));
  8. function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  9. function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
  10. function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
  11. function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
  12. function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
  13. function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
  14. function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
  15. function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
  16. var Dependencies =
  17. /*#__PURE__*/
  18. function (_React$Component) {
  19. _inherits(Dependencies, _React$Component);
  20. function Dependencies(props) {
  21. var _this;
  22. _classCallCheck(this, Dependencies);
  23. _this = _possibleConstructorReturn(this, _getPrototypeOf(Dependencies).call(this, props));
  24. _this.CoreSystem = _Systems.default.getCore();
  25. _this.LinkManager = _this.CoreSystem.LinkManager;
  26. _this.RoutingSystem = _this.CoreSystem.RoutingSystem;
  27. _this.ModuleSystem = _this.CoreSystem.ModuleSystem;
  28. _this.ServiceSystem = _this.CoreSystem.ServiceSystem;
  29. return _this;
  30. }
  31. return Dependencies;
  32. }(_react.default.Component);
  33. var _default = Dependencies;
  34. exports.default = _default;