angular2-elastic
Advanced tools
Comparing version 0.10.1 to 0.11.0
@@ -7,2 +7,6 @@ # Change Log | ||
[0.11.0] - 2016-10-15 | ||
### Changed | ||
- Moved to angular compiler to support Ionic 2 RC.0 builds. | ||
[0.10.1] - 2016-10-15 | ||
@@ -20,3 +24,4 @@ ### Added | ||
[0.11.0]: https://github.com/fiznool/angular2-elastic/compare/v0.10.1...v0.11.0 | ||
[0.10.1]: https://github.com/fiznool/angular2-elastic/compare/v0.10.0...v0.10.1 | ||
[0.10.0]: https://github.com/fiznool/angular2-elastic/compare/v0.9.0...v0.10.0 |
"use strict"; | ||
var elastic_module_1 = require('./src/elastic.module'); | ||
exports.Elastic = elastic_module_1.Elastic; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsK0JBQXdCLHNCQUFzQixDQUFDO0FBQXRDLDJDQUFzQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IEVsYXN0aWMgfSBmcm9tICcuL3NyYy9lbGFzdGljLm1vZHVsZSc7XG4iXX0= |
{ | ||
"name": "angular2-elastic", | ||
"version": "0.10.1", | ||
"version": "0.11.0", | ||
"description": "Angular 2 directive to auto expand textareas according to their contents.", | ||
@@ -25,3 +25,3 @@ "module": "index.js", | ||
"scripts": { | ||
"prepublish": "tsc" | ||
"prepublish": "ngc" | ||
}, | ||
@@ -31,7 +31,9 @@ "typings": "./index.d.ts", | ||
"devDependencies": { | ||
"@angular/core": "^2.1.0", | ||
"rxjs": "^5.0.0-beta.12", | ||
"typescript": "^2.0.3", | ||
"zone.js": "^0.6.25" | ||
"@angular/compiler": "2.1.0", | ||
"@angular/compiler-cli": "2.1.0", | ||
"@angular/core": "2.1.0", | ||
"rxjs": "5.0.0-beta.12", | ||
"typescript": "2.0.3", | ||
"zone.js": "0.6.25" | ||
} | ||
} |
"use strict"; | ||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); | ||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; | ||
return c > 3 && r && Object.defineProperty(target, key, r), r; | ||
}; | ||
var __metadata = (this && this.__metadata) || function (k, v) { | ||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); | ||
}; | ||
var core_1 = require('@angular/core'); | ||
@@ -55,17 +46,16 @@ var Rx_1 = require('rxjs/Rx'); | ||
}; | ||
__decorate([ | ||
core_1.HostListener('input'), | ||
__metadata('design:type', Function), | ||
__metadata('design:paramtypes', []), | ||
__metadata('design:returntype', void 0) | ||
], ElasticDirective.prototype, "onInput", null); | ||
ElasticDirective = __decorate([ | ||
core_1.Directive({ | ||
selector: '[fz-elastic]' | ||
}), | ||
__metadata('design:paramtypes', [core_1.ElementRef]) | ||
], ElasticDirective); | ||
ElasticDirective.decorators = [ | ||
{ type: core_1.Directive, args: [{ | ||
selector: '[fz-elastic]' | ||
},] }, | ||
]; | ||
/** @nocollapse */ | ||
ElasticDirective.ctorParameters = [ | ||
{ type: core_1.ElementRef, }, | ||
]; | ||
ElasticDirective.propDecorators = { | ||
'onInput': [{ type: core_1.HostListener, args: ['input',] },], | ||
}; | ||
return ElasticDirective; | ||
}()); | ||
exports.ElasticDirective = ElasticDirective; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWxhc3RpYy5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJlbGFzdGljLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6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RlckNvbnRlbnRDaGVja2VkKCk6IHZvaWQge1xuICAgIHRoaXMuYWRqdXN0KCk7XG4gIH1cblxuICBhZGp1c3QoKTogdm9pZCB7XG4gICAgdGhpcy50ZXh0YXJlYUVsLnN0eWxlLmhlaWdodCA9ICdhdXRvJztcbiAgICB0aGlzLnRleHRhcmVhRWwuc3R5bGUuaGVpZ2h0ID0gdGhpcy50ZXh0YXJlYUVsLnNjcm9sbEhlaWdodCArIFwicHhcIjtcbiAgfVxufVxuIl19 |
"use strict"; | ||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); | ||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; | ||
return c > 3 && r && Object.defineProperty(target, key, r), r; | ||
}; | ||
var __metadata = (this && this.__metadata) || function (k, v) { | ||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); | ||
}; | ||
var core_1 = require('@angular/core'); | ||
@@ -16,12 +7,12 @@ var elastic_directive_1 = require('./elastic.directive'); | ||
} | ||
Elastic = __decorate([ | ||
core_1.NgModule({ | ||
declarations: [elastic_directive_1.ElasticDirective], | ||
exports: [elastic_directive_1.ElasticDirective] | ||
}), | ||
__metadata('design:paramtypes', []) | ||
], Elastic); | ||
Elastic.decorators = [ | ||
{ type: core_1.NgModule, args: [{ | ||
declarations: [elastic_directive_1.ElasticDirective], | ||
exports: [elastic_directive_1.ElasticDirective] | ||
},] }, | ||
]; | ||
/** @nocollapse */ | ||
Elastic.ctorParameters = []; | ||
return Elastic; | ||
}()); | ||
exports.Elastic = Elastic; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWxhc3RpYy5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJlbGFzdGljLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBQUEscUJBQXlCLGVBQWUsQ0FBQyxDQUFBO0FBRXpDLGtDQUFpQyxxQkFBcUIsQ0FBQyxDQUFBO0FBTXZEO0lBQUE7SUFBdUIsQ0FBQztJQUp4QjtRQUFDLGVBQVEsQ0FBQztZQUNSLFlBQVksRUFBRSxDQUFFLG9DQUFnQixDQUFFO1lBQ2xDLE9BQU8sRUFBRSxDQUFFLG9DQUFnQixDQUFFO1NBQzlCLENBQUM7O2VBQUE7SUFDcUIsY0FBQztBQUFELENBQUMsQUFBeEIsSUFBd0I7QUFBWCxlQUFPLFVBQUksQ0FBQSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbmltcG9ydCB7IEVsYXN0aWNEaXJlY3RpdmUgfSBmcm9tICcuL2VsYXN0aWMuZGlyZWN0aXZlJztcblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbIEVsYXN0aWNEaXJlY3RpdmUgXSxcbiAgZXhwb3J0czogWyBFbGFzdGljRGlyZWN0aXZlIF1cbn0pXG5leHBvcnQgY2xhc3MgRWxhc3RpYyB7IH1cbiJdfQ== |
{ | ||
"compilerOptions": { | ||
"noImplicitAny": true, | ||
"module": "COMMONJS", | ||
"module": "commonjs", | ||
"target": "es5", | ||
"emitDecoratorMetadata": true, | ||
"experimentalDecorators": true, | ||
"inlineSourceMap": true, | ||
"inlineSources": true, | ||
"declaration": true, | ||
"moduleResolution": "node", | ||
"lib": ["es2015", "dom"] | ||
}, | ||
"files": [ | ||
"index.ts" | ||
"index.ts", | ||
"src/elastic.directive.ts", | ||
"src/elastic.module.ts" | ||
], | ||
"exclude": [ | ||
"node_modules" | ||
], | ||
"angularCompilerOptions": { | ||
"strictMetadataEmit": true, | ||
"skipTemplateCodegen": true | ||
} | ||
] | ||
} |
17
11632
6
114