Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

angular-email-editor

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-email-editor - npm Package Compare versions

Comparing version 0.4.0 to 0.5.0

2

angular-email-editor.metadata.json

@@ -1,1 +0,1 @@

{"__symbolic":"module","version":4,"metadata":{"EmailEditorService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":2,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}]},"statics":{"ngInjectableDef":{}}},"UnlayerOptions":{"__symbolic":"interface"},"EmailEditorComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":16,"character":1},"arguments":[{"selector":"email-editor","template":"<div id=\"editor\" [style.min-height]=\"minHeight\"></div>","styles":[":host{flex:1;display:flex}#editor{flex:1;display:flex}"]}]}],"members":{"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":24,"character":3}}]}],"projectId":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":25,"character":3}}]}],"tools":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":26,"character":3}}]}],"appearance":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":27,"character":3}}]}],"locale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":28,"character":3}}]}],"minHeight":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":30,"character":3}}]}],"load":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":32,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"loadEditor":[{"__symbolic":"method"}],"loadDesign":[{"__symbolic":"method"}],"saveDesign":[{"__symbolic":"method"}],"exportHtml":[{"__symbolic":"method"}]}},"EmailEditorModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":3,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"EmailEditorComponent"}],"imports":[],"exports":[{"__symbolic":"reference","name":"EmailEditorComponent"}]}]}],"members":{}}},"origins":{"EmailEditorService":"./lib/email-editor.service","UnlayerOptions":"./lib/email-editor.component","EmailEditorComponent":"./lib/email-editor.component","EmailEditorModule":"./lib/email-editor.module"},"importAs":"angular-email-editor"}
{"__symbolic":"module","version":4,"metadata":{"EmailEditorService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":2,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}]},"statics":{"ngInjectableDef":{}}},"UnlayerOptions":{"__symbolic":"interface"},"EmailEditorComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":16,"character":1},"arguments":[{"selector":"email-editor","template":"<div id=\"editor\" [style.min-height]=\"minHeight\"></div>","styles":[":host{flex:1;display:flex}#editor{flex:1;display:flex}"]}]}],"members":{"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":24,"character":3}}]}],"projectId":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":25,"character":3}}]}],"tools":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":26,"character":3}}]}],"appearance":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":27,"character":3}}]}],"locale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":28,"character":3}}]}],"minHeight":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":30,"character":3}}]}],"loaded":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":32,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"loadEditor":[{"__symbolic":"method"}],"loadDesign":[{"__symbolic":"method"}],"saveDesign":[{"__symbolic":"method"}],"exportHtml":[{"__symbolic":"method"}]}},"EmailEditorModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":3,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"EmailEditorComponent"}],"imports":[],"exports":[{"__symbolic":"reference","name":"EmailEditorComponent"}]}]}],"members":{}}},"origins":{"EmailEditorService":"./lib/email-editor.service","UnlayerOptions":"./lib/email-editor.component","EmailEditorComponent":"./lib/email-editor.component","EmailEditorModule":"./lib/email-editor.module"},"importAs":"angular-email-editor"}

@@ -60,3 +60,3 @@ (function (global, factory) {

this.minHeight = '500px';
this.load = new i0.EventEmitter();
this.loaded = new i0.EventEmitter();
}

@@ -109,3 +109,3 @@ /**

unlayer.init(__assign({}, options, { id: 'editor', displayMode: 'email' }));
this.load.emit({});
this.loaded.emit({});
};

@@ -162,3 +162,3 @@ /**

minHeight: [{ type: i0.Input }],
load: [{ type: i0.Output }]
loaded: [{ type: i0.Output }]
};

@@ -203,2 +203,2 @@ return EmailEditorComponent;

//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5ndWxhci1lbWFpbC1lZGl0b3IudW1kLmpzLm1hcCIsInNvdXJjZXMiOlsibmc6Ly9hbmd1bGFyLWVtYWlsLWVkaXRvci9saWIvZW1haWwtZWRpdG9yLnNlcnZpY2UudHMiLCJub2RlX21vZHVsZXMvdHNsaWIvdHNsaWIuZXM2LmpzIiwibmc6Ly9hbmd1bGFyLWVtYWlsLWVkaXRvci9saWIvZW1haWwtZWRpdG9yLmNvbXBvbmVudC50cyIsIm5nOi8vYW5ndWxhci1lbWFpbC1lZGl0b3IvbGliL2VtYWlsLWVkaXRvci5tb2R1bGUudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5qZWN0YWJsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5ASW5qZWN0YWJsZSh7XG4gIHByb3ZpZGVkSW46ICdyb290J1xufSlcbmV4cG9ydCBjbGFzcyBFbWFpbEVkaXRvclNlcnZpY2Uge1xuXG4gIGNvbnN0cnVjdG9yKCkgeyB9XG59XG4iLCIvKiEgKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKipcclxuQ29weXJpZ2h0IChjKSBNaWNyb3NvZnQgQ29ycG9yYXRpb24uIEFsbCByaWdodHMgcmVzZXJ2ZWQuXHJcbkxpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7IHlvdSBtYXkgbm90IHVzZVxyXG50aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS4gWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZVxyXG5MaWNlbnNlIGF0IGh0dHA6Ly93d3cuYXBhY2hlLm9y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sgdmFsdWU6IG9wWzFdLCBkb25lOiBmYWxzZSB9O1xyXG4gICAgICAgICAgICAgICAgY2FzZSA1OiBfLmxhYmVsKys7IHkgPSBvcFsxXTsgb3AgPSBbMF07IGNvbnRpbnVlO1xyXG4gICAgICAgICAgICAgICAgY2FzZSA3OiBvcCA9IF8ub3BzLnBvcCgpOyBfLnRyeXMucG9wKCk7IGNvbnRpbnVlO1xyXG4gICAgICAgICAgICAgICAgZGVmYXVsdDpcclxuICAgICAgICAgICAgICAgICAgICBpZiAoISh0ID0gXy50cnlzLCB0ID0gdC5sZW5ndGggPiAwICYmIHRbdC5sZW5ndGggLSAxXSkgJiYgKG9wWzBdID09PSA2IHx8IG9wWzBdID09PSAyKSkgeyBfID0gMDsgY29udGludWU7IH1cclxuICAgICAgICAgICAgICAgICAgICBpZiAob3BbMF0gPT09IDMgJiYgKCF0IHx8IChvcFsxXSA+IHRbMF0gJiYgb3BbMV0gPCB0WzNdKSkpIHsgXy5sYWJlbCA9IG9wWzFdOyBicmVhazsgfVxyXG4gICAgICAgICAgICAgICAgICAgIGlmIChvcFswXSA9PT0gNiAmJiBfLmxhYmVsIDwgdFsxXSkgeyBfLmxhYmVsID0gdFsxXTsgdCA9IG9wOyBicmVhazsgfVxyXG4gICAgICAgICAgICAgICAgICAgIGlmICh0ICYmIF8ubGFiZWwgPCB0WzJdKSB7IF8ubGFiZWwgPSB0WzJdOyBfLm9wcy5wdXNoKG9wKTsgYnJlYWs7IH1cclxuICAgICAgICAgICAgICAgICAgICBpZiAodFsyXSkgXy5vcHMucG9wKCk7XHJcbiAgICAgICAgICAgICAgICAgICAgXy50cnlzLnBvcCgpOyBjb250aW51ZTtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICBvcCA9IGJvZHkuY2FsbCh0aGlzQXJnLCBfKTtcclxuICAgICAgICB9IGNhdGNoIChlKSB7IG9wID0gWzYsIGVdOyB5ID0gMDsgfSBmaW5hbGx5IHsgZiA9IHQgPSAwOyB9XHJc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CQUMxQyxPQUFPLENBQUMsVUFBVSxDQUFDLEVBQUUsQ0FBQyxDQUFDO2FBQ3hCOztvQkF0RUZDLFlBQVMsU0FBQzs7d0JBRVQsUUFBUSxFQUFFLGNBQWM7d0JBQ3hCLHNFQUE0Qzs7cUJBRTdDOzs7Ozs4QkFHRUMsUUFBSztnQ0FDTEEsUUFBSzs0QkFDTEEsUUFBSztpQ0FDTEEsUUFBSzs2QkFDTEEsUUFBSztnQ0FFTEEsUUFBSzs2QkFFTEMsU0FBTTs7UUF3RFQsMkJBQUM7S0F4RUQ7Ozs7OztBQ2hCQTtRQUdBO1NBTWtDOztvQkFOakNDLFdBQVEsU0FBQzt3QkFDUixZQUFZLEVBQUUsQ0FBQyxvQkFBb0IsQ0FBQzt3QkFDcEMsT0FBTyxFQUFFLEVBQ1I7d0JBQ0QsT0FBTyxFQUFFLENBQUMsb0JBQW9CLENBQUM7cUJBQ2hDOztRQUNnQyx3QkFBQztLQU5sQzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OyJ9

@@ -1,2 +0,2 @@

!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("angular-email-editor",["exports","@angular/core"],e):e(t["angular-email-editor"]={},t.ng.core)}(this,function(t,e){"use strict";var o=function(){function t(){}return t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[]},t.ngInjectableDef=e.defineInjectable({factory:function(){return new t},token:t,providedIn:"root"}),t}(),n=function(){return(n=Object.assign||function(t){for(var e,o=1,n=arguments.length;o<n;o++)for(var r in e=arguments[o])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},r=function(){function t(){this.options={},this.minHeight="500px",this.load=new e.EventEmitter}return t.prototype.ngOnInit=function(){var t=this,e=document.createElement("script");e.setAttribute("src","//editor.unlayer.com/embed.js"),e.onload=function(){t.loadEditor()},document.head.appendChild(e)},t.prototype.ngAfterViewInit=function(){},t.prototype.loadEditor=function(){var t=this.options||{};this.projectId&&(t.projectId=this.projectId),this.tools&&(t.tools=this.tools),this.appearance&&(t.appearance=this.appearance),this.locale&&(t.locale=this.locale),unlayer.init(n({},t,{id:"editor",displayMode:"email"})),this.load.emit({})},t.prototype.loadDesign=function(t){unlayer.loadDesign(t)},t.prototype.saveDesign=function(t){unlayer.saveDesign(t)},t.prototype.exportHtml=function(t){unlayer.exportHtml(t)},t.decorators=[{type:e.Component,args:[{selector:"email-editor",template:'<div id="editor" [style.min-height]="minHeight"></div>',styles:[":host{flex:1;display:flex}#editor{flex:1;display:flex}"]}]}],t.ctorParameters=function(){return[]},t.propDecorators={options:[{type:e.Input}],projectId:[{type:e.Input}],tools:[{type:e.Input}],appearance:[{type:e.Input}],locale:[{type:e.Input}],minHeight:[{type:e.Input}],load:[{type:e.Output}]},t}(),i=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{declarations:[r],imports:[],exports:[r]}]}],t}();t.EmailEditorService=o,t.EmailEditorComponent=r,t.EmailEditorModule=i,Object.defineProperty(t,"__esModule",{value:!0})});
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("angular-email-editor",["exports","@angular/core"],e):e(t["angular-email-editor"]={},t.ng.core)}(this,function(t,e){"use strict";var o=function(){function t(){}return t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[]},t.ngInjectableDef=e.defineInjectable({factory:function(){return new t},token:t,providedIn:"root"}),t}(),n=function(){return(n=Object.assign||function(t){for(var e,o=1,n=arguments.length;o<n;o++)for(var r in e=arguments[o])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},r=function(){function t(){this.options={},this.minHeight="500px",this.loaded=new e.EventEmitter}return t.prototype.ngOnInit=function(){var t=this,e=document.createElement("script");e.setAttribute("src","//editor.unlayer.com/embed.js"),e.onload=function(){t.loadEditor()},document.head.appendChild(e)},t.prototype.ngAfterViewInit=function(){},t.prototype.loadEditor=function(){var t=this.options||{};this.projectId&&(t.projectId=this.projectId),this.tools&&(t.tools=this.tools),this.appearance&&(t.appearance=this.appearance),this.locale&&(t.locale=this.locale),unlayer.init(n({},t,{id:"editor",displayMode:"email"})),this.loaded.emit({})},t.prototype.loadDesign=function(t){unlayer.loadDesign(t)},t.prototype.saveDesign=function(t){unlayer.saveDesign(t)},t.prototype.exportHtml=function(t){unlayer.exportHtml(t)},t.decorators=[{type:e.Component,args:[{selector:"email-editor",template:'<div id="editor" [style.min-height]="minHeight"></div>',styles:[":host{flex:1;display:flex}#editor{flex:1;display:flex}"]}]}],t.ctorParameters=function(){return[]},t.propDecorators={options:[{type:e.Input}],projectId:[{type:e.Input}],tools:[{type:e.Input}],appearance:[{type:e.Input}],locale:[{type:e.Input}],minHeight:[{type:e.Input}],loaded:[{type:e.Output}]},t}(),i=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{declarations:[r],imports:[],exports:[r]}]}],t}();t.EmailEditorService=o,t.EmailEditorComponent=r,t.EmailEditorModule=i,Object.defineProperty(t,"__esModule",{value:!0})});
//# sourceMappingURL=angular-email-editor.umd.min.js.map

@@ -24,3 +24,3 @@ /**

this.minHeight = '500px';
this.load = new EventEmitter();
this.loaded = new EventEmitter();
}

@@ -63,3 +63,3 @@ /**

unlayer.init(Object.assign({}, options, { id: 'editor', displayMode: 'email' }));
this.load.emit({});
this.loaded.emit({});
}

@@ -105,3 +105,3 @@ /**

minHeight: [{ type: Input }],
load: [{ type: Output }]
loaded: [{ type: Output }]
};

@@ -122,4 +122,4 @@ if (false) {

/** @type {?} */
EmailEditorComponent.prototype.load;
EmailEditorComponent.prototype.loaded;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW1haWwtZWRpdG9yLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL2FuZ3VsYXItZW1haWwtZWRpdG9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ubGF5ZXIuc2F2ZURlc2lnbihjYik7XG4gIH1cblxuICBwdWJsaWMgZXhwb3J0SHRtbChjYjogKGRhdGE6IG9iamVjdCkgPT4gdm9pZCkge1xuICAgIHVubGF5ZXIuZXhwb3J0SHRtbChjYik7XG4gIH1cblxufVxuIl19

@@ -25,3 +25,3 @@ /**

this.minHeight = '500px';
this.load = new EventEmitter();
this.loaded = new EventEmitter();
}

@@ -74,3 +74,3 @@ /**

unlayer.init(tslib_1.__assign({}, options, { id: 'editor', displayMode: 'email' }));
this.load.emit({});
this.loaded.emit({});
};

@@ -127,3 +127,3 @@ /**

minHeight: [{ type: Input }],
load: [{ type: Output }]
loaded: [{ type: Output }]
};

@@ -147,4 +147,4 @@ return EmailEditorComponent;

/** @type {?} */
EmailEditorComponent.prototype.load;
EmailEditorComponent.prototype.loaded;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW1haWwtZWRpdG9yLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL2FuZ3VsYXItZW1haWwtZWRpdG9yLyIsInNvdXJjZXMiOlsibGliL2VtYWlsLWVkaXRvci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUF5QixLQUFLLEVBQUUsTUFBTSxFQUFFLFlBQVksRUFBRSxNQUFNLGVBQWUsQ0FBQzs7OztBQVM5RixvQ0FLQzs7O0lBSkMsbUNBQW1COztJQUNuQiwrQkFBZTs7SUFDZixvQ0FBb0I7O0lBQ3BCLGdDQUFnQjs7QUFHbEI7SUFrQkU7UUFWUyxZQUFPLEdBQW1CLEVBQUUsQ0FBQztRQU03QixjQUFTLEdBQUcsT0FBTyxDQUFDO1FBRW5CLFNBQUksR0FBRyxJQUFJLFlBQVksRUFBRSxDQUFDO0lBRXBCLENBQUM7Ozs7SUFFakIsdUNBQVE7OztJQUFSO1FBQUEsaUJB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WN0ZWQgbG9hZEVkaXRvcigpIHtcbiAgICBjb25zdCBvcHRpb25zOiBVbmxheWVyT3B0aW9ucyA9IHRoaXMub3B0aW9ucyB8fCB7fTtcblxuICAgIGlmICh0aGlzLnByb2plY3RJZCkge1xuICAgICAgb3B0aW9ucy5wcm9qZWN0SWQgPSB0aGlzLnByb2plY3RJZDtcbiAgICB9XG5cbiAgICBpZiAodGhpcy50b29scykge1xuICAgICAgb3B0aW9ucy50b29scyA9IHRoaXMudG9vbHM7XG4gICAgfVxuXG4gICAgaWYgKHRoaXMuYXBwZWFyYW5jZSkge1xuICAgICAgb3B0aW9ucy5hcHBlYXJhbmNlID0gdGhpcy5hcHBlYXJhbmNlO1xuICAgIH1cblxuICAgIGlmICh0aGlzLmxvY2FsZSkge1xuICAgICAgb3B0aW9ucy5sb2NhbGUgPSB0aGlzLmxvY2FsZTtcbiAgICB9XG5cbiAgICB1bmxheWVyLmluaXQoe1xuICAgICAgLi4ub3B0aW9ucyxcbiAgICAgIGlkOiAnZWRpdG9yJyxcbiAgICAgIGRpc3BsYXlNb2RlOiAnZW1haWwnLFxuICAgIH0pO1xuXG4gICAgdGhpcy5sb2FkZWQuZW1pdCh7fSk7XG4gIH1cblxuICBwdWJsaWMgbG9hZERlc2lnbihkYXRhOiBvYmplY3QpIHtcbiAgICB1bmxheWVyLmxvYWREZXNpZ24oZGF0YSk7XG4gIH1cblxuICBwdWJsaWMgc2F2ZURlc2lnbihjYjogKGRhdGE6IG9iamVjdCkgPT4gdm9pZCkge1xuICAgIHVubGF5ZXIuc2F2ZURlc2lnbihjYik7XG4gIH1cblxuICBwdWJsaWMgZXhwb3J0SHRtbChjYjogKGRhdGE6IG9iamVjdCkgPT4gdm9pZCkge1xuICAgIHVubGF5ZXIuZXhwb3J0SHRtbChjYik7XG4gIH1cblxufVxuIl19

@@ -1,2 +0,2 @@

import { Injectable, NgModule, Component, Input, Output, EventEmitter, defineInjectable } from '@angular/core';
import { Injectable, Component, Input, Output, EventEmitter, NgModule, defineInjectable } from '@angular/core';

@@ -27,3 +27,3 @@ /**

this.minHeight = '500px';
this.load = new EventEmitter();
this.loaded = new EventEmitter();
}

@@ -66,3 +66,3 @@ /**

unlayer.init(Object.assign({}, options, { id: 'editor', displayMode: 'email' }));
this.load.emit({});
this.loaded.emit({});
}

@@ -108,3 +108,3 @@ /**

minHeight: [{ type: Input }],
load: [{ type: Output }]
loaded: [{ type: Output }]
};

@@ -138,2 +138,2 @@

//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5ndWxhci1lbWFpbC1lZGl0b3IuanMubWFwIiwic291cmNlcyI6WyJuZzovL2FuZ3VsYXItZW1haWwtZWRpdG9yL2xpYi9lbWFpbC1lZGl0b3Iuc2VydmljZS50cyIsIm5nOi8vYW5ndWxhci1lbWFpbC1lZGl0b3IvbGliL2VtYWlsLWVkaXRvci5jb21wb25lbnQudHMiLCJuZzovL2FuZ3VsYXItZW1haWwtZWRpdG9yL2xpYi9lbWFpbC1lZGl0b3IubW9kdWxlLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEluamVjdGFibGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQEluamVjdGFibGUoe1xuICBwcm92aWRlZEluOiAncm9vdCdcbn0pXG5leHBvcnQgY2xhc3MgRW1haWxFZGl0b3JTZXJ2aWNlIHtcblxuICBjb25zdHJ1Y3RvcigpIHsgfVxufVxuIiwiaW1wb3J0IHsgQ29tcG9uZW50LCBPbkluaXQsIEFmdGVyVmlld0luaXQsIElucHV0LCBPdXRwdXQsIEV2ZW50RW1pdHRlciB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5kZWNsYXJlIG1vZHVsZSB1bmxheWVyIHtcbiAgZnVuY3Rpb24gaW5pdChvYmplY3QpO1xuICBmdW5jdGlvbiBsb2FkRGVzaWduKG9iamVjdCk7XG4gIGZ1bmN0aW9uIHNhdmVEZXNpZ24oR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qjs7Ozs7SUFFTSxVQUFVLENBQUMsSUFBWTtRQUM1QixPQUFPLENBQUMsVUFBVSxDQUFDLElBQUksQ0FBQyxDQUFDO0tBQzFCOzs7OztJQUVNLFVBQVUsQ0FBQyxFQUEwQjtRQUMxQyxPQUFPLENBQUMsVUFBVSxDQUFDLEVBQUUsQ0FBQyxDQUFDO0tBQ3hCOzs7OztJQUVNLFVBQVUsQ0FBQyxFQUEwQjtRQUMxQyxPQUFPLENBQUMsVUFBVSxDQUFDLEVBQUUsQ0FBQyxDQUFDO0tBQ3hCOzs7WUF0RUYsU0FBUyxTQUFDOztnQkFFVCxRQUFRLEVBQUUsY0FBYztnQkFDeEIsc0VBQTRDOzthQUU3Qzs7Ozs7c0JBR0UsS0FBSzt3QkFDTCxLQUFLO29CQUNMLEtBQUs7eUJBQ0wsS0FBSztxQkFDTCxLQUFLO3dCQUVMLEtBQUs7cUJBRUwsTUFBTTs7Ozs7OztBQ2hDVCxNQVNhLGlCQUFpQjs7O1lBTjdCLFFBQVEsU0FBQztnQkFDUixZQUFZLEVBQUUsQ0FBQyxvQkFBb0IsQ0FBQztnQkFDcEMsT0FBTyxFQUFFLEVBQ1I7Z0JBQ0QsT0FBTyxFQUFFLENBQUMsb0JBQW9CLENBQUM7YUFDaEM7Ozs7Ozs7Ozs7Ozs7OzsifQ==

@@ -30,3 +30,3 @@ import { Injectable, NgModule, defineInjectable, EventEmitter, Component, Input, Output } from '@angular/core';

this.minHeight = '500px';
this.load = new EventEmitter();
this.loaded = new EventEmitter();
}

@@ -79,3 +79,3 @@ /**

unlayer.init(__assign({}, options, { id: 'editor', displayMode: 'email' }));
this.load.emit({});
this.loaded.emit({});
};

@@ -132,3 +132,3 @@ /**

minHeight: [{ type: Input }],
load: [{ type: Output }]
loaded: [{ type: Output }]
};

@@ -167,2 +167,2 @@ return EmailEditorComponent;

//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5ndWxhci1lbW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PLENBQUMsVUFBVSxDQUFDLEVBQUUsQ0FBQyxDQUFDO0tBQ3hCOzs7OztJQUVNLHlDQUFVOzs7O0lBQWpCLFVBQWtCLEVBQTBCO1FBQzFDLE9BQU8sQ0FBQyxVQUFVLENBQUMsRUFBRSxDQUFDLENBQUM7S0FDeEI7O2dCQXRFRixTQUFTLFNBQUM7O29CQUVULFFBQVEsRUFBRSxjQUFjO29CQUN4QixzRUFBNEM7O2lCQUU3Qzs7Ozs7MEJBR0UsS0FBSzs0QkFDTCxLQUFLO3dCQUNMLEtBQUs7NkJBQ0wsS0FBSzt5QkFDTCxLQUFLOzRCQUVMLEtBQUs7eUJBRUwsTUFBTTs7SUF3RFQsMkJBQUM7Q0F4RUQ7Ozs7OztBQ2hCQTtJQUdBO0tBTWtDOztnQkFOakMsUUFBUSxTQUFDO29CQUNSLFlBQVksRUFBRSxDQUFDLG9CQUFvQixDQUFDO29CQUNwQyxPQUFPLEVBQUUsRUFDUjtvQkFDRCxPQUFPLEVBQUUsQ0FBQyxvQkFBb0IsQ0FBQztpQkFDaEM7O0lBQ2dDLHdCQUFDO0NBTmxDOzs7Ozs7Ozs7Ozs7OzsifQ==

@@ -15,3 +15,3 @@ import { OnInit, AfterViewInit, EventEmitter } from '@angular/core';

minHeight: string;
load: EventEmitter<{}>;
loaded: EventEmitter<{}>;
constructor();

@@ -18,0 +18,0 @@ ngOnInit(): void;

{
"name": "angular-email-editor",
"version": "0.4.0",
"version": "0.5.0",
"peerDependencies": {

@@ -5,0 +5,0 @@ "@angular/common": "^7.0.0",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc