{"_id":"@alipadron/angular-email-editor","_rev":"6-8c8787eac9cedd9258dc6410789a425e","time":{"1.0.0":"2021-02-07T04:55:16.236Z","created":"2021-02-07T04:57:34.063Z","1.0.1":"2021-02-07T04:57:34.355Z","modified":"2022-04-04T13:26:13.637Z","1.0.2":"2021-02-08T21:47:46.611Z","1.0.3":"2021-02-14T14:32:10.648Z"},"name":"@alipadron/angular-email-editor","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.1":{"author":{"name":"Ali Padron","email":"alijesus29@gmail.com"},"description":"Updated version of the excellent drag-n-drop email editor by Unlayer as a Angular wrapper component.","name":"@alipadron/angular-email-editor","version":"1.0.1","dependencies":{"tslib":"^2.0.0"},"peerDependencies":{"@angular/common":"~11.1.2","@angular/core":"~11.1.2"},"main":"bundles/alipadron-angular-email-editor.umd.js","module":"fesm2015/alipadron-angular-email-editor.js","es2015":"fesm2015/alipadron-angular-email-editor.js","esm2015":"esm2015/alipadron-angular-email-editor.js","fesm2015":"fesm2015/alipadron-angular-email-editor.js","typings":"alipadron-angular-email-editor.d.ts","metadata":"alipadron-angular-email-editor.metadata.json","sideEffects":false,"_id":"@alipadron/angular-email-editor@1.0.1","_nodeVersion":"12.20.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-Pi/eTvfZXYaaaHMKHlcOtQMadr06/+8kCwjZXceTiO37hb8IPJdZdsXP6kOhMmiLGxch0Zym9fxkqmiu84Je0w==","shasum":"3d41638f60589e1768d1f233a2494e3b4e2a5cdc","tarball":"https://registry.npmjs.org/@alipadron/angular-email-editor/-/angular-email-editor-1.0.1.tgz","fileCount":23,"unpackedSize":71754,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgH3M+CRA9TVsSAnZWagAAC5AP/0nzL0QYMkYMhpMrhuHH\nv1Ib2tNmeBvVbWQvG53WawolZbR/kcOvD+B9wK8nd0pXwl4oO//SJQcXlkFy\nB0Dd+z+SOQiVruI2+Di8VkjwZIxHwFeF09lyxowbbG/5Hb+tRVmY8mLQHBvY\nOSQAKwCn9+W/a+Xq2JqCD21PvyVpu1tjTGAPIWYkEJIGFREGtCOUliwRTd2G\nvzwcWRbP8F5/Gxrf+l+PziD7wMmXZse65F8Rt8XukuLw2hNj5RR17aZrXyba\nIM0+36ZhFCbqyu4k+wCvh2Vjeh7fFEp031e+1wShhK3WjIqzs7xOacAWPLNl\nG4/MnnSmaDspcDZg9UoQNr34zk3tA7xgwlwo2y9uKOLqlpgOZc2dLdkKb+7r\napbPdMx2/Z5FPNcHWK1cVZtps77ri/RrizlQ+k+aORg2WIT3+85rT0cjbb48\nXO8ODVVXKu1UZKLh1OXwGCN1EIJ39lWc0xefnPhbw1/iI58YtCegpAjkHzsX\n6MMb35rCHsJHeL2iOvWLJmT+HE8CLlo6kbK7o5s9iyBQW9gHRQAzDeN3qbjV\ngbpY+cNMjKdtIgesWr4YDUpLNg5+YfwB+hRD1Cv5x2rskcPvBuGvvJOzlsSj\nwG4hUIx3/IrylFvGSbrK8siCaCbqf6zax2SBJK2OGH7oIfWgoaMPT7tB8dxU\n9F3d\r\n=phO0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDc76llzxniJUCLsW+tVUN847BgTp+xKFvScSMksmW5gAIgPs5S+/fO56Go04smggtcJ6IJSWa/QPxW6GYuryIYVUI="}]},"_npmUser":{"name":"alipadron","email":"alijesus29@gmail.com"},"directories":{},"maintainers":[{"name":"alipadron","email":"alijesus29@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/angular-email-editor_1.0.1_1612673854125_0.916854560825531"},"_hasShrinkwrap":false},"1.0.2":{"author":{"name":"Ali Padron","email":"alijesus29@gmail.com"},"description":"Updated version of the excellent drag-n-drop email editor by Unlayer as a Angular wrapper component.","name":"@alipadron/angular-email-editor","version":"1.0.2","dependencies":{"tslib":"^2.0.0"},"peerDependencies":{"@angular/common":"~11.1.2","@angular/core":"~11.1.2"},"main":"bundles/alipadron-angular-email-editor.umd.js","module":"fesm2015/alipadron-angular-email-editor.js","es2015":"fesm2015/alipadron-angular-email-editor.js","esm2015":"esm2015/alipadron-angular-email-editor.js","fesm2015":"fesm2015/alipadron-angular-email-editor.js","typings":"alipadron-angular-email-editor.d.ts","metadata":"alipadron-angular-email-editor.metadata.json","sideEffects":false,"_id":"@alipadron/angular-email-editor@1.0.2","_nodeVersion":"12.20.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-odkAA6NI+VSuizUsZHgEDGfdHrcKA5h5ISCz3FtbCquRXRQ1UssT9j7SRIUm9KnkWci4XSvaFaTGmuQv6PbtOQ==","shasum":"2297200c10d8c0503af3ada78d21731269fe8a8c","tarball":"https://registry.npmjs.org/@alipadron/angular-email-editor/-/angular-email-editor-1.0.2.tgz","fileCount":20,"unpackedSize":66876,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgIbGDCRA9TVsSAnZWagAAn40P/0JlJpQXGepMaep4L7oA\nXtH4dqrQawWlRdWKpp6Tgh7IPgh1hTNhO5IRss3adQoJx2ABcirD6hdNz2Sb\nDhcsnBJrKw4moeVbxhl0vP52MGzuL6A/p44wPY1H/3tVk4hiuxfMwVqVHGe6\nY5Ed6HoiOYZkNbr0Jp9EPAMVF0b5XElfIATE6waEdRym9ZTDWEJ9TZNbyxwp\nNS42FkJzrOPOS98//rg/MOhWX20ZbZihULsYUaMwxehlSiTRFm82sTgQhBuX\nVd7rQOCO6cmymteYC9BIXlfxRwZ2yhG7O/mub92HApRfeOngVYCCD3jYFFAh\ncKxsiYhgiDF9+UGRuI/DxFdLSC3ZCkWPc839L3hdmgjt3snTXLWnZQN9InMh\nRAdIBFwzII89seCAq0KESPoYZJLMhszqEus9ckcMoU9jZFssuoa79MJWQgqt\nGaIwJB1qpkrS/NvbHIkWMgxxtggJFLcbosvKOOyRWmlCd8iJuCPg2bWN7mzU\nI4ixx2FTn88vXsNWP0XBy9wLXMf4vcjqNrxDh91ZApym05V1pJV0lgNCmTkc\n4hNIg1KS0T7m0+0OIda1IP/SoBdI6OkoZ/Rm4StGte0nmtYzFrHYX6eXf3Si\nnU7XD38gIRkP8nOzp3Ccp0tObyYwiJddMD63GriPSsVAJjXcPwL6MjyzIrBu\nvYty\r\n=5lg5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCq7ygqBr7XdEiRpdUJVCwIdbUM8Ucl34+As3u4gNhi5wIhAKw/k+kEXKZ3vAJAKXjiJqhxkPbAHFpi4A80h3RUhTLX"}]},"_npmUser":{"name":"alipadron","email":"alijesus29@gmail.com"},"directories":{},"maintainers":[{"name":"alipadron","email":"alijesus29@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/angular-email-editor_1.0.2_1612820866476_0.663432208043085"},"_hasShrinkwrap":false},"1.0.3":{"author":{"name":"Ali Padron","email":"alijesus29@gmail.com"},"description":"Updated version of the excellent drag-n-drop email editor by Unlayer as a Angular wrapper component.","name":"@alipadron/angular-email-editor","version":"1.0.3","dependencies":{"tslib":"^2.0.0"},"peerDependencies":{"@angular/core":"^11.1.2"},"main":"bundles/alipadron-angular-email-editor.umd.js","module":"fesm2015/alipadron-angular-email-editor.js","es2015":"fesm2015/alipadron-angular-email-editor.js","esm2015":"esm2015/alipadron-angular-email-editor.js","fesm2015":"fesm2015/alipadron-angular-email-editor.js","typings":"alipadron-angular-email-editor.d.ts","metadata":"alipadron-angular-email-editor.metadata.json","sideEffects":false,"_id":"@alipadron/angular-email-editor@1.0.3","_nodeVersion":"14.15.5","_npmVersion":"6.14.11","dist":{"integrity":"sha512-ueLPezcA80clhaWjh4RwUFQmtVqhy5CGciFrTWWvBAnwygmgJbcCpD9U6w7s3dl+apRg/oajbFEEwMlzNgIShQ==","shasum":"e836804c16b347da2c58120ffd3c5403d969de45","tarball":"https://registry.npmjs.org/@alipadron/angular-email-editor/-/angular-email-editor-1.0.3.tgz","fileCount":20,"unpackedSize":66833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgKTRqCRA9TVsSAnZWagAArnsP/jLy27Mo4tjP3Ca3RFVh\nTUNTsZO1oEAgaNVTuWNfvx+xDjbA413bcuaTnRGNc3o9WTytQfomU13i1Qro\n+nUGUOxVG1H+EprUrMTSai7KvpxClR6xGIq9GwhxHSr4bax9MpPyjC9eQA35\nrWCHeDE/SWYGGwjJ/E8LkEP5GG8w+Lk7TjUX2u4ayTwvlas/6O+A3mZr9eqq\n/xzEC+RPL5KOhk8SSBxxT+21rlq9Q2vfcupGH+A1iGqW4dU2qqBMKGmpZvTm\nfR0ApnFCmECzMPCj0gU1DaZH24vJeLMsO//sZpzxw4Ns1Oxov4O53hSpg+Jg\nG8g/RqyBLnNGi520uHSEJsr3S00dNG3Xf9VkHZ0PskUXUfUxCLJYf+4Xd60e\nkVrJ0AuX1BY9bTr3amyv0btCVPsFSCXWylggYL9TTAHiVftfdgfQuBEna4QF\naqOSN1QiuQrHYsh0zinCf7VJdNGWDEi6rzuSgL07k/Oy/fF4lFg8zp/xQcEL\nCEzITS4dV90YNhRUCYR4p+fsPilxShBF9Vk2kltjYzgmzUVQje5zqOZCgmrT\nqoD2dO5n7Dmu+NOQD0kVoxtHMFfnQV56CNsFq+uloOYGxfTgIKIeephjeaCn\nWmKTBqgfZggGX1Sw8Y4dpAdcW0grLB7t8ZV2976zDvhjH1tRMJ6UvlWrt4pu\nLPLj\r\n=pdM+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDt9ewtCigToWUyQC/HBrruCW4TEAadJ4DZBttMsJVuMQIgNtuZK9XujYCPOcCL9YVl8vCBevas88V27dzqxeg5UHw="}]},"_npmUser":{"name":"alipadron","email":"alijesus29@gmail.com"},"directories":{},"maintainers":[{"name":"alipadron","email":"alijesus29@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/angular-email-editor_1.0.3_1613313130439_0.8659652202025891"},"_hasShrinkwrap":false}},"maintainers":[{"name":"alipadron","email":"alijesus29@gmail.com"}],"description":"Updated version of the excellent drag-n-drop email editor by Unlayer as a Angular wrapper component.","author":{"name":"Ali Padron","email":"alijesus29@gmail.com"},"readme":"# Angular Email Editor\n\nThe excellent drag-n-drop email editor by [Unlayer](https://unlayer.com) as a [Angular](https://angular.io/) *wrapper component*. This is the most powerful and developer friendly visual email builder for your app.\n\nVideo Overview |\n:---: |\n[![Angular Email Editor](https://unroll-assets.s3.amazonaws.com/unlayervideotour.png)](https://www.youtube.com/watch?v=MIWhX-NF3j8) |\n*Watch video overview: https://youtu.be/MIWhX-NF3j8* |\n\n## Live Demo\n\nCheck out the live demo here: https://angular-email-editor-demo.netlify.com/ ([Source Code](https://github.com/unlayer/angular-email-editor/tree/master/src))\n\n## Installation\n\nThe easiest way to use Angular Email Editor is to install it from Npm or Yarn and include it in your own Angular build process.\n\n```\nnpm install @alipadron/angular-email-editor --save\n```\n\n## Usage\n\nNext, you'll need to import the Email Editor module in your app's module.\n\n**app.module.ts**\n\n```ts\n\nimport { AngularEmailEditorModule } from '@alipadron/angular-email-editor';\n...\n\n@NgModule({\n  ...\n  imports: [ AngularEmailEditorModule ],\n  ...\n});\n```\n\n**app.component.ts**\n\n```ts\nimport { Component, ViewChild } from '@angular/core';\nimport { AngularEmailEditorComponent } from '@alipadron/angular-email-editor';\n\n@Component({\n  selector: 'app-root',\n  templateUrl: './app.component.html',\n  styleUrls: ['./app.component.css']\n})\nexport class AppComponent {\n  title = 'angular-email-editor';\n\n  @ViewChild(AngularEmailEditorComponent)\n  private emailEditor: AngularEmailEditorComponent;\n  \n  editorLoaded() {\n    // load the design json here\n    // this.emailEditor.editor.loadDesign({});\n  }\n\n  exportHtml() {\n    this.emailEditor.editor.exportHtml((data) => console.log('exportHtml', data));\n  }\n}\n```\n\n**app.component.html**\n\n```html\n<div class=\"container\">\n  <button (click)=\"exportHtml()\">Export</button>\n  <angular-email-editor (loaded)=\"editorLoaded($event)\"></angular-email-editor>\n</div>\n```\n\n### Methods\n| method          | params                   | description                                                    |\n| --------------- | ------------------------ | -------------------------------------------------------------- |\n| **loadDesign**  | `Object data`            | Takes the design JSON and loads it in the editor               |\n| **saveDesign**  | `Function callback`      | Returns the design JSON in a callback function                 |\n| **exportHtml**  | `Function callback`      | Returns the design HTML and JSON in a callback function        |\n\nSee the [example source](https://github.com/unlayer/angular-email-editor/tree/master/src) for a reference implementation.\n\n### Properties\n\n* `minHeight` `String` minimum height to initialize the editor with (default 500px)\n* `options` `Object` options passed to the Unlayer editor instance (default {})\n* `tools` `Object` configuration for the built-in and custom tools (default {})\n* `appearance` `Object` configuration for appearance and theme (default {})\n* `projectId` `Integer` Unlayer project ID (optional)\n* `loaded` `Function` called when the editor has finished loading\n\nSee the [Unlayer Docs](https://docs.unlayer.com/) for all available options.\n\n## Custom Tools\n\nCustom tools can help you add your own content blocks to the editor. Every application is different and needs different tools to reach it's full potential. [Learn More](https://docs.unlayer.com/docs/custom-tools)\n\n[![Custom Tools](https://unroll-assets.s3.amazonaws.com/custom_tools.png)](https://docs.unlayer.com/docs/custom-tools)\n\n\n## Localization\n\nYou can submit new language translations by creating a PR on this GitHub repo: https://github.com/unlayer/translations. Translations managed by [PhraseApp](https://phraseapp.com)\n\n### License\n\nCopyright (c) 2021 Unlayer. [MIT](LICENSE) Licensed.\n","readmeFilename":"README.md"}