@aurigma/design-atoms
Version:
Design Atoms is a part of Customer's Canvas SDK which allows for manipulating individual design elements through your code.
38 lines • 1.7 kB
JavaScript
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
import { ShapeItemHandler } from "./ShapeItemHandler";
import { RectangleItemHandler } from "./RectangleItemHandler";
import { ImageItemHandler } from "./ImageItemHandler";
import { PlaceholderItemHandler } from "./PlaceholderItemHandler";
import { PlainTextItemHandler } from "./PlainTextItemHandler";
import { BoundedTextItemHandler } from "./BoundedTextItemHandler";
import { PathBoundedTextItemHandler } from "./PathBoundedTextItemHandler";
import { ObjectFactory } from "../ObjectFactory";
var HandlerFactoryByName = /** @class */ (function (_super) {
__extends(HandlerFactoryByName, _super);
function HandlerFactoryByName() {
return _super.call(this, [
ShapeItemHandler,
RectangleItemHandler,
ImageItemHandler,
PlaceholderItemHandler,
PlainTextItemHandler,
PathBoundedTextItemHandler,
BoundedTextItemHandler
]) || this;
}
return HandlerFactoryByName;
}(ObjectFactory));
export { HandlerFactoryByName };
//# sourceMappingURL=HandlerFactoryByName.js.map