@denevads/dnv-smo 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/smo.d.ts CHANGED
@@ -59,6 +59,7 @@ declare class smoCallBacks {
59
59
  stopPlayOnceChannelByTrigger(): void;
60
60
  playOnceChannel(codigoCanal: string): void;
61
61
  stopPlayChannel(): void;
62
+ editWrapperStyle(obj: any): void;
62
63
  }
63
64
  declare class Utils {
64
65
  smo: SMO;
package/dist/smo.js CHANGED
@@ -352,6 +352,14 @@ var smoCallBacks = /** @class */ (function () {
352
352
  smoCallBacks.prototype.stopPlayChannel = function () {
353
353
  parent.postMessage({ target: "Dnv.smoCallbacks.stopPlayOnceChannel", objData: {}, idSmo: this.smo.id }, "*");
354
354
  };
355
+ smoCallBacks.prototype.editWrapperStyle = function (obj) {
356
+ /*{"posX": "0px","posY": "0px","alto": "0px","ancho": "0px","overflow": "hidden","scale": 0.1,"zindex": 0.1,"opacidad": 0.1,"isMaestro": true} */
357
+ parent.postMessage({
358
+ target: "Dnv.smoCallbacks.editWrapperStyle",
359
+ objData: obj,
360
+ idSmo: this.smo.id
361
+ }, "*");
362
+ };
355
363
  return smoCallBacks;
356
364
  }());
357
365
  var Utils = /** @class */ (function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@denevads/dnv-smo",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "SMO module",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
package/src/smo.ts CHANGED
@@ -352,6 +352,14 @@ class smoCallBacks{
352
352
  stopPlayChannel():void {
353
353
  parent.postMessage({ target: "Dnv.smoCallbacks.stopPlayOnceChannel", objData: {}, idSmo: this.smo.id }, "*");
354
354
  }
355
+ editWrapperStyle(obj: any):void{
356
+ /*{"posX": "0px","posY": "0px","alto": "0px","ancho": "0px","overflow": "hidden","scale": 0.1,"zindex": 0.1,"opacidad": 0.1,"isMaestro": true} */
357
+ parent.postMessage({
358
+ target: "Dnv.smoCallbacks.editWrapperStyle",
359
+ objData: obj,
360
+ idSmo: this.smo.id
361
+ }, "*");
362
+ }
355
363
  }
356
364
  class Utils{
357
365
  smo:SMO;