|
|
|
@ -55,6 +55,7 @@ export class Command {
|
|
|
|
private static search: Function
|
|
|
|
private static search: Function
|
|
|
|
private static replace: Function
|
|
|
|
private static replace: Function
|
|
|
|
private static print: Function
|
|
|
|
private static print: Function
|
|
|
|
|
|
|
|
private static replaceImageElement: Function
|
|
|
|
private static saveAsImageElement: Function
|
|
|
|
private static saveAsImageElement: Function
|
|
|
|
private static getImage: Function
|
|
|
|
private static getImage: Function
|
|
|
|
private static getValue: Function
|
|
|
|
private static getValue: Function
|
|
|
|
@ -112,6 +113,7 @@ export class Command {
|
|
|
|
Command.search = adapt.search.bind(adapt)
|
|
|
|
Command.search = adapt.search.bind(adapt)
|
|
|
|
Command.replace = adapt.replace.bind(adapt)
|
|
|
|
Command.replace = adapt.replace.bind(adapt)
|
|
|
|
Command.print = adapt.print.bind(adapt)
|
|
|
|
Command.print = adapt.print.bind(adapt)
|
|
|
|
|
|
|
|
Command.replaceImageElement = adapt.replaceImageElement.bind(adapt)
|
|
|
|
Command.saveAsImageElement = adapt.saveAsImageElement.bind(adapt)
|
|
|
|
Command.saveAsImageElement = adapt.saveAsImageElement.bind(adapt)
|
|
|
|
Command.getImage = adapt.getImage.bind(adapt)
|
|
|
|
Command.getImage = adapt.getImage.bind(adapt)
|
|
|
|
Command.getValue = adapt.getValue.bind(adapt)
|
|
|
|
Command.getValue = adapt.getValue.bind(adapt)
|
|
|
|
@ -311,6 +313,10 @@ export class Command {
|
|
|
|
return Command.print()
|
|
|
|
return Command.print()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public executeReplaceImageElement(payload: string) {
|
|
|
|
|
|
|
|
return Command.replaceImageElement(payload)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public executeSaveAsImageElement() {
|
|
|
|
public executeSaveAsImageElement() {
|
|
|
|
return Command.saveAsImageElement()
|
|
|
|
return Command.saveAsImageElement()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|