@aurigma/design-atoms
Version:
Design Atoms is a part of Customer's Canvas SDK which allows for manipulating individual design elements through your code.
158 lines • 6.01 kB
JavaScript
import { EventObject, EventWithSenderArg } from "@aurigma/design-atoms-model";
var PreviewTextEditorController = /** @class */ (function () {
function PreviewTextEditorController() {
this._enteredEditModeEvent = new EventWithSenderArg();
this._exitedEditModeEvent = new EventWithSenderArg();
this._staticTextImageChanged = new EventObject();
}
Object.defineProperty(PreviewTextEditorController.prototype, "isMobile", {
get: function () {
return false;
},
enumerable: true,
configurable: true
});
Object.defineProperty(PreviewTextEditorController.prototype, "ready", {
get: function () {
return true;
},
enumerable: true,
configurable: true
});
Object.defineProperty(PreviewTextEditorController.prototype, "failed", {
get: function () {
return false;
},
enumerable: true,
configurable: true
});
Object.defineProperty(PreviewTextEditorController.prototype, "isStatic", {
get: function () {
return true;
},
enumerable: true,
configurable: true
});
Object.defineProperty(PreviewTextEditorController.prototype, "isActive", {
get: function () {
return false;
},
enumerable: true,
configurable: true
});
Object.defineProperty(PreviewTextEditorController.prototype, "isInEdit", {
get: function () {
return false;
},
enumerable: true,
configurable: true
});
Object.defineProperty(PreviewTextEditorController.prototype, "isCropped", {
get: function () {
return false;
},
enumerable: true,
configurable: true
});
Object.defineProperty(PreviewTextEditorController.prototype, "enteredEditModeEvent", {
get: function () {
return this._enteredEditModeEvent;
},
enumerable: true,
configurable: true
});
Object.defineProperty(PreviewTextEditorController.prototype, "exitedEditModeEvent", {
get: function () {
return this._exitedEditModeEvent;
},
enumerable: true,
configurable: true
});
Object.defineProperty(PreviewTextEditorController.prototype, "activeTextEditor", {
get: function () {
return null;
},
enumerable: true,
configurable: true
});
Object.defineProperty(PreviewTextEditorController.prototype, "canRedo", {
get: function () {
return false;
},
enumerable: true,
configurable: true
});
Object.defineProperty(PreviewTextEditorController.prototype, "canUndo", {
get: function () {
return false;
},
enumerable: true,
configurable: true
});
PreviewTextEditorController.prototype.initialize = function () {
return Promise.resolve();
};
PreviewTextEditorController.prototype.enterEditMode = function (x, y) {
throw new Error("Method not implemented.");
};
PreviewTextEditorController.prototype.exitEditMode = function (isStayActive) {
throw new Error("Method not implemented.");
};
PreviewTextEditorController.prototype.updateItemHandler = function (newFrame) {
throw new Error("Method not implemented.");
};
PreviewTextEditorController.prototype.bindToCanvas = function () {
throw new Error("Method not implemented.");
};
PreviewTextEditorController.prototype.unbindFromCanvas = function () {
throw new Error("Method not implemented.");
};
PreviewTextEditorController.prototype.add_staticTextImageChanged = function (handler) {
this._staticTextImageChanged.add(handler);
};
PreviewTextEditorController.prototype.remove_staticTextImageChanged = function (handler) {
this._staticTextImageChanged.remove(handler);
};
PreviewTextEditorController.prototype.dispose = function () {
throw new Error("Method not implemented.");
};
PreviewTextEditorController.prototype.processKeyEvent = function (e) {
throw new Error("Method not implemented.");
};
PreviewTextEditorController.prototype.processMouseEvent = function (e, mouseOverCurrent) {
throw new Error("Method not implemented.");
};
PreviewTextEditorController.prototype.clearText = function () {
throw new Error("Method not implemented.");
};
PreviewTextEditorController.prototype.updateText = function (source) {
throw new Error("Method not implemented.");
};
PreviewTextEditorController.prototype.transformText = function (transform) {
throw new Error("Method not implemented.");
};
PreviewTextEditorController.prototype.measureText = function (extendToBlackBox) {
throw new Error("Method not implemented.");
};
PreviewTextEditorController.prototype.measureTextFrame = function () {
throw new Error("Method not implemented.");
};
PreviewTextEditorController.prototype.redrawText = function () {
throw new Error("Method not implemented.");
};
PreviewTextEditorController.prototype.undo = function () {
throw new Error("Method not implemented.");
};
PreviewTextEditorController.prototype.redo = function () {
throw new Error("Method not implemented.");
};
PreviewTextEditorController.prototype.redrawActiveText = function () {
throw new Error("Method not implemented.");
};
PreviewTextEditorController.prototype.waitUpdate = function () {
throw new Error("Method not implemented.");
};
return PreviewTextEditorController;
}());
export { PreviewTextEditorController };
//# sourceMappingURL=PreviewTextEditorController.js.map