WrapperFactory.js 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. "use strict";
  2. var __extends = (this && this.__extends) || (function () {
  3. var extendStatics = function (d, b) {
  4. extendStatics = Object.setPrototypeOf ||
  5. ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
  6. function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
  7. return extendStatics(d, b);
  8. };
  9. return function (d, b) {
  10. if (typeof b !== "function" && b !== null)
  11. throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
  12. extendStatics(d, b);
  13. function __() { this.constructor = d; }
  14. d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  15. };
  16. })();
  17. Object.defineProperty(exports, "__esModule", { value: true });
  18. exports.CommonWrapperFactory = void 0;
  19. var WrapperFactory_js_1 = require("../../core/Tree/WrapperFactory.js");
  20. var CommonWrapperFactory = (function (_super) {
  21. __extends(CommonWrapperFactory, _super);
  22. function CommonWrapperFactory() {
  23. var _this = _super !== null && _super.apply(this, arguments) || this;
  24. _this.jax = null;
  25. return _this;
  26. }
  27. Object.defineProperty(CommonWrapperFactory.prototype, "Wrappers", {
  28. get: function () {
  29. return this.node;
  30. },
  31. enumerable: false,
  32. configurable: true
  33. });
  34. CommonWrapperFactory.defaultNodes = {};
  35. return CommonWrapperFactory;
  36. }(WrapperFactory_js_1.AbstractWrapperFactory));
  37. exports.CommonWrapperFactory = CommonWrapperFactory;
  38. //# sourceMappingURL=WrapperFactory.js.map