{"_id":"@dry7/ngx-ace-editor-wrapper","_rev":"2-ba08bd56b0867e3a5ff96f567b8f3c57","name":"@dry7/ngx-ace-editor-wrapper","dist-tags":{"latest":"9.1.13"},"versions":{"9.1.12":{"name":"@dry7/ngx-ace-editor-wrapper","version":"9.1.12","description":"A fork from ng2-ace-editor updated to work with Angular 9","homepage":"https://github.com/martinpagesaal/ngx-ace-editor-wrapper","license":"MIT","js:next":"dist/index.js","module":"dist/index.js","types":"dist/index.d.ts","scripts":{"transpile":"ngc","clean":"npm run clean:typescript && rimraf node_modules && npm cache clean","clean:typescript":"rimraf dist","rollup":"rollup -c rollup.config.js","minify":"uglifyjs dist/bundles/ngx-ace-editor-wrapper.umd.js --screw-ie8 --compress --mangle --comments --output dist/bundles/ngx-ace-editor-wrapper.umd.min.js","build":"npm run clean:typescript && npm run transpile && npm run rollup"},"devDependencies":{"@angular/cli":"^9.1.12","@angular/common":"^9.1.12","@angular/compiler":"^9.1.12","@angular/compiler-cli":"^9.1.12","@angular/core":"^9.1.12","@angular/forms":"^9.1.12","@angular/platform-browser":"^9.1.12","codelyzer":"^5.2.1","rimraf":"^3.0.2","rollup":"^1.31.0","rollup-plugin-angular":"^0.5.3","rollup-plugin-auto-external":"^2.0.0","rollup-plugin-commonjs":"7.0.2","rollup-plugin-node-resolve":"2.0.0","rollup-plugin-typescript2":"^0.26.0","rxjs":"^6.6.3","typescript":"^3.2.2","uglify-js":"^3.7.7","zone.js":"~0.10.3"},"dependencies":{"brace":"^0.11.1"},"main":"rollup.config.js","directories":{"doc":"docs"},"repository":{"type":"git","url":"git+https://github.com/martinpagesaal/ngx-ace-editor-wrapper.git"},"keywords":["ace","angular","A9"],"author":{"name":"Martin Page"},"bugs":{"url":"https://github.com/martinpagesaal/ngx-ace-editor-wrapper/issues"},"gitHead":"a3af21413644526ab30a7d04a797f97623e73999","_id":"@dry7/ngx-ace-editor-wrapper@9.1.12","_nodeVersion":"15.12.0","_npmVersion":"7.11.2","dist":{"integrity":"sha512-iYoAMcKeOnUxJ+l2XYHNEcKhO5rcHLkUU5mUIhreg6+QHdiRcKMSDJb3nK87IkeC38O0G3oZWlJJQhmSwg5BQw==","shasum":"acb06fcb7ee6f55a9942919df1a8b6e743f0c1da","tarball":"https://registry.npmjs.org/@dry7/ngx-ace-editor-wrapper/-/ngx-ace-editor-wrapper-9.1.12.tgz","fileCount":18,"unpackedSize":78374,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrRDtCRA9TVsSAnZWagAAHaUP+gMc1j2SmS4ijIN7aMhO\nEKEeubCGOpAOSYq3OBtj8nnYoJZEsOfZ5bJevW6kjNwZNaNG/Fc3nS7kfDxx\nddULSiLDGGND6HTp+N9KX4o0efgJdU5bNuI+Sbm3xMPLb9aN6x7kQfUtnxzV\nBZgkTGzqd2jYl2B37JGRKjdFMFw+6MWNf+ZsZhCkUmf4BZ+QO9IOHrWiaxaC\n6WElUKkPuaAgeTtHNs+qcwNaQNIpk1ECONhki6nFJ5zkSl0DeqZsNeK+bp0w\n90P9ovwgx6ndCufdZrYBzcIF/ApFzldpw/4pLa8pZS958Oj5HDWdL1D6uSMR\nK/vw2v+FZWMR/mbywIQYv6XAJ0dSxPwV6yj5T9dF3aqK99iCZNqEn5wvvi1P\nJ5BtZ4ymUD/5eRv6I2k4/+h7iiQ7xuLbWFArpwHJig8Jd378ouMEcCQSbhAs\n4Ngahv9yEPvDrjGK0ernfe/U+sDqyX1cKaetgFXnVGZIPh3vMvbBOF37jezc\nrHSVN/r0fPc/Q3Ai+vO3Fh2l3xqJLrKwgt3RzSSq7W5387tXmMl7fi6o0jjS\nxwqjfKqu3MDVXKpqGyWiEnyyiH31RrLY/U1U2DtzAL00wHJf8Iv9dUHt/ZUZ\nwXwehdfsONwK30WwAsnYumgVutFZl7UEphG/3sNcnmrZstj8s5tnp9rKqx1N\nGiMb\r\n=BzeB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAuWF+LKiFb2Gf1Ru8015zyq9kGuHlbhkkd7URn7j/Y3AiAqm1+/hm+hycyjmt5YNDGGxRo6zZGtyfkZI3d+c7+r8Q=="}]},"_npmUser":{"name":"dry7","email":"andrey.dry7.shilov@yandex.ru"},"maintainers":[{"name":"dry7","email":"andrey.dry7.shilov@yandex.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ngx-ace-editor-wrapper_9.1.12_1621954797436_0.1586706328932781"},"_hasShrinkwrap":false},"9.1.13":{"name":"@dry7/ngx-ace-editor-wrapper","version":"9.1.13","description":"A fork from ng2-ace-editor updated to work with Angular 9","homepage":"https://github.com/martinpagesaal/ngx-ace-editor-wrapper","license":"MIT","js:next":"dist/index.js","module":"dist/index.js","types":"dist/index.d.ts","scripts":{"transpile":"ngc","clean":"npm run clean:typescript && rimraf node_modules && npm cache clean","clean:typescript":"rimraf dist","rollup":"rollup -c rollup.config.js","minify":"uglifyjs dist/bundles/ngx-ace-editor-wrapper.umd.js --screw-ie8 --compress --mangle --comments --output dist/bundles/ngx-ace-editor-wrapper.umd.min.js","build":"npm run clean:typescript && npm run transpile && npm run rollup"},"devDependencies":{"@angular/cli":">=9.1.12","@angular/common":">=9.1.12","@angular/compiler":">=9.1.12","@angular/compiler-cli":">=9.1.12","@angular/core":">=9.1.12","@angular/forms":">=9.1.12","@angular/platform-browser":">=9.1.12","codelyzer":">=5.2.1","rimraf":">=3.0.2","rollup":">=1.31.0","rollup-plugin-angular":">=0.5.3","rollup-plugin-auto-external":">=2.0.0","rollup-plugin-commonjs":">=7.0.2","rollup-plugin-node-resolve":">=2.0.0","rollup-plugin-typescript2":">=0.26.0","rxjs":">=6.6.3","typescript":">=3.2.2","uglify-js":">=3.7.7","zone.js":">=0.10.3"},"dependencies":{"brace":"^0.11.1"},"main":"rollup.config.js","directories":{"doc":"docs"},"repository":{"type":"git","url":"git+https://github.com/martinpagesaal/ngx-ace-editor-wrapper.git"},"keywords":["ace","angular","A9"],"author":{"name":"Martin Page"},"bugs":{"url":"https://github.com/martinpagesaal/ngx-ace-editor-wrapper/issues"},"gitHead":"a3af21413644526ab30a7d04a797f97623e73999","_id":"@dry7/ngx-ace-editor-wrapper@9.1.13","_nodeVersion":"15.12.0","_npmVersion":"7.11.2","dist":{"integrity":"sha512-eBVkv9+AmjCiqz1sSOSY72hDLktf6IkMEQ3CqNbFA5wuF+sFDSoQWTwzVmzNfdZo23JBnamKj6ubP+rEOpJ/7A==","shasum":"b603484294c7095ef1e221b6d7f8dd8ab89b1367","tarball":"https://registry.npmjs.org/@dry7/ngx-ace-editor-wrapper/-/ngx-ace-editor-wrapper-9.1.13.tgz","fileCount":18,"unpackedSize":78395,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrgYLCRA9TVsSAnZWagAAef4QAJ7JPH3sSPDrccq8ASTT\n9gA97v0qQ8TW4ghDF5UswsyJSUO7d1qpSwue4nZiJBIQXGEaBk5drdj1z0pL\nRuu3bc5Bgn2VM2DdSGPIJorDFSbhEP7O6BnbgXOGuGH4MFkqQgffbLzzlZfd\nm8qNEgmgpJPsvAlHhRbniETST1awxLKVkUMWjtDsVS8s3wZ5/vCGiYI0NFY+\nqmartIGydaOg+l+l6pjtmI6+GHAYLDjJZsxIeQVShHx6Viyr8WC13MbngAj2\nrQs1gzxS5xaafJlhxjxLouOj8nOXnyzLbsUvq7enNDlatFkBSEgz/4YR1Yey\nJYrI0r9lFFcZhV1RwqEsR4r40pDmtg5KhNlbivBeS2aC8AJvvPehynkUq4n/\nrB5lxplDJj7CfMqb0GiYfloTkoOMIpZtZsK4/LsMOIUJ8ibclzA+2kvwFXiu\ntWlLt8NkmWJU1Y7taunOKjcnD59ZN4l/zZz69J9Uv/RaAuXr8+j2iHnvz58Y\nzY5j2AqhjFSk29+l5c4lygldGyGTj2jfIGAVgpy7JNoB6Zj2gi//12Ok3cT4\nq+iJjMvKu8S8vTedRQ6NXDfnOUE9xqTCqTHBeYtC3Sw969JvAyJkD9Oeye0A\nMVLkGHiu0Qi2K93/RREmFjxUZsEfRIMCzM801tuIHY5awwe7SJTDHmqdtebv\ntQlC\r\n=n3gw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICV93hxzSHNsNLz77YRZ88cSA9mVkcXn+C1MPSWaxau1AiAGZTpYGmu1LiYQzeVN9P3SCvVTTrPMQFWStGN3CPYIOw=="}]},"_npmUser":{"name":"dry7","email":"andrey.dry7.shilov@yandex.ru"},"maintainers":[{"name":"dry7","email":"andrey.dry7.shilov@yandex.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ngx-ace-editor-wrapper_9.1.13_1622017546876_0.9661917583202353"},"_hasShrinkwrap":false}},"time":{"created":"2021-05-25T14:59:57.393Z","9.1.12":"2021-05-25T14:59:57.535Z","modified":"2022-04-05T05:42:59.107Z","9.1.13":"2021-05-26T08:25:47.000Z"},"maintainers":[{"name":"dry7","email":"andrey.dry7.shilov@yandex.ru"}],"description":"A fork from ng2-ace-editor updated to work with Angular 9","homepage":"https://github.com/martinpagesaal/ngx-ace-editor-wrapper","keywords":["ace","angular","A9"],"repository":{"type":"git","url":"git+https://github.com/martinpagesaal/ngx-ace-editor-wrapper.git"},"author":{"name":"Martin Page"},"bugs":{"url":"https://github.com/martinpagesaal/ngx-ace-editor-wrapper/issues"},"license":"MIT","readme":"# ngx-ace-editor-wrapper\n\n[![npm version](https://badge.fury.io/js/ngx-ace-editor-wrapper.svg)](https://www.npmjs.com/package/ngx-ace-editor-wrapper) \nAce editor integration with typescript for angular 5.  \n**To use Angular 4 install version 0.3.1 (npm i -S ngx-ace-editor-wrapper@0.3.1).**\n\n# Install\n`npm i -S ngx-ace-editor-wrapper`\n\n##### Load the module for your app:\n\n```javascript\nimport { AceEditorModule } from 'ngx-ace-editor-wrapper';\n\n@NgModule({\n  ...\n  imports: [\n    ...\n    AceEditorModule\n  ]\n})\n```\n\n# Use directive\n\n> Minimal\n\n```js\n//import { AceEditorModule } from 'ngx-ace-editor-wrapper';\n\nimport { Component } from '@angular/core';\n\n@Component({\n  template: `\n  <div ace-editor\n       [(text)]=\"text\" // possible two way binding (thx ChrisProlls)\n       ></div>\n  `\n})\nexport class MyComponent {\n    text:string = \"\";\n}\n```\n\n> Complete\n\n```js\nimport { Component } from '@angular/core';\n\n//to use theme \"eclipse\"\n//with angular-cli add \"../node_modules/ace-builds/src-min/ace.js\" \n//and \"../node_modules/ace-builds/src-min/theme-eclipse.js\" to \"scripts\" var into the file angular-cli.json\n\n@Component({\n  template: `\n  <div ace-editor\n       [(text)]=\"text\" // possible two way binding (thx ChrisProlls)\n       [mode]=\"'sql'\" //string or object (thx ckiffel)\n       [theme]=\"'eclipse'\"\n       [options]=\"options\"\n       [readOnly]=\"false\"\n       [autoUpdateContent]=\"true\" //change content when [text] change\n       [durationBeforeCallback]=\"1000\" //wait 1s before callback 'textChanged' sends new value\n       (textChanged)=\"onChange($event)\"\n       style=\"min-height: 200px; width:100%; overflow: auto;\"></div>\n  `\n})\nexport class MyComponent {\n    text:string = \"\";\n    options:any = {maxLines: 1000, printMargin: false};\n    \n    onChange(code) {\n        console.log(\"new code\", code);\n    }\n}\n```\n\n# Use Component\n\n```js\nimport {Component, ViewChild} from '@angular/core';\n\n//to use theme eclipse\n//with angular-cli add \"../node_modules/ace-builds/src-min/ace.js\" \n//and \"../node_modules/ace-builds/src-min/theme-eclipse.js\" to \"scripts\" var into the file angular-cli.json\n\n@Component({\n    template: `\n  <ace-editor\n       [(text)]=\"text\" // possible two way binding (thx ChrisProlls)\n        #editor style=\"height:150px;\"></ace-editor>\n  `\n})\nexport class AceCmp {\n    @ViewChild('editor') editor;\n    text: string = \"\";\n\n    ngAfterViewInit() {\n        this.editor.setTheme(\"eclipse\");\n\n        this.editor.getEditor().setOptions({\n            enableBasicAutocompletion: true\n        });\n\n        this.editor.getEditor().commands.addCommand({\n            name: \"showOtherCompletions\",\n            bindKey: \"Ctrl-.\",\n            exec: function (editor) {\n\n            }\n        })\n    }\n}\n```\n\n\n# Power by\n[Use Code](http://www.use-code.com)\n","readmeFilename":"README.md"}