angular2-bootstrap-confirm
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="1.0.3"></a> | ||
## [1.0.3](https://github.com/mattlewis92/angular2-bootstrap-confirm/compare/v1.0.2...v1.0.3) (2016-10-21) | ||
### Bug Fixes | ||
* **aot:** export focus directive ([3f43e68](https://github.com/mattlewis92/angular2-bootstrap-confirm/commit/3f43e68)) | ||
<a name="1.0.2"></a> | ||
@@ -7,0 +17,0 @@ ## [1.0.2](https://github.com/mattlewis92/angular2-bootstrap-confirm/compare/v1.0.1...v1.0.2) (2016-09-28) |
@@ -5,1 +5,2 @@ export { ConfirmOptions } from './confirmOptions.provider'; | ||
export { ConfirmPopover as PrivateComponent1 } from './confirmPopover.component'; | ||
export { Focus as PrivateComponent2 } from './focus.directive'; |
@@ -6,2 +6,3 @@ export { ConfirmOptions } from './confirmOptions.provider'; | ||
export { ConfirmPopover as PrivateComponent1 } from './confirmPopover.component'; | ||
export { Focus as PrivateComponent2 } from './focus.directive'; | ||
//# sourceMappingURL=index.js.map |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":1,"metadata":{},"exports":[{"from":"./confirmOptions.provider","export":["ConfirmOptions"]},{"from":"./position.provider"},{"from":"./confirm.module"},{"from":"./confirmPopover.component","export":[{"name":"ConfirmPopover","as":"PrivateComponent1"}]}]} | ||
{"__symbolic":"module","version":1,"metadata":{},"exports":[{"from":"./confirmOptions.provider","export":["ConfirmOptions"]},{"from":"./position.provider"},{"from":"./confirm.module"},{"from":"./confirmPopover.component","export":[{"name":"ConfirmPopover","as":"PrivateComponent1"}]},{"from":"./focus.directive","export":[{"name":"Focus","as":"PrivateComponent2"}]}]} |
@@ -236,2 +236,47 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
/** | ||
* A helper directive to focus buttons. You will only need this if using a custom template | ||
*/ | ||
var Focus = (function () { | ||
function Focus(renderer, elm) { | ||
this.renderer = renderer; | ||
this.elm = elm; | ||
} | ||
Focus.prototype.ngOnChanges = function (changes) { | ||
if (changes.mwlFocus && this.mwlFocus === true) { | ||
this.renderer.invokeElementMethod(this.elm.nativeElement, 'focus', []); | ||
} | ||
}; | ||
__decorate([ | ||
core_1.Input(), | ||
__metadata('design:type', Boolean) | ||
], Focus.prototype, "mwlFocus", void 0); | ||
Focus = __decorate([ | ||
core_1.Directive({ | ||
selector: '[mwlFocus]' | ||
}), | ||
__metadata('design:paramtypes', [(typeof (_a = typeof core_1.Renderer !== 'undefined' && core_1.Renderer) === 'function' && _a) || Object, (typeof (_b = typeof core_1.ElementRef !== 'undefined' && core_1.ElementRef) === 'function' && _b) || Object]) | ||
], Focus); | ||
return Focus; | ||
var _a, _b; | ||
}()); | ||
exports.Focus = Focus; | ||
/***/ }, | ||
/* 4 */ | ||
/***/ function(module, exports, __webpack_require__) { | ||
"use strict"; | ||
"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 = __webpack_require__(0); | ||
/** | ||
* A placeholder token that you need to overwrite with the actual Position service | ||
@@ -267,3 +312,3 @@ * | ||
/***/ }, | ||
/* 4 */ | ||
/* 5 */ | ||
/***/ function(module, exports, __webpack_require__) { | ||
@@ -284,5 +329,5 @@ | ||
var common_1 = __webpack_require__(7); | ||
var confirm_directive_1 = __webpack_require__(5); | ||
var confirm_directive_1 = __webpack_require__(6); | ||
var confirmPopover_component_1 = __webpack_require__(2); | ||
var focus_directive_1 = __webpack_require__(6); | ||
var focus_directive_1 = __webpack_require__(3); | ||
var ConfirmModule = (function () { | ||
@@ -306,3 +351,3 @@ function ConfirmModule() { | ||
/***/ }, | ||
/* 5 */ | ||
/* 6 */ | ||
/***/ function(module, exports, __webpack_require__) { | ||
@@ -328,3 +373,3 @@ | ||
var confirmOptions_provider_1 = __webpack_require__(1); | ||
var position_provider_1 = __webpack_require__(3); | ||
var position_provider_1 = __webpack_require__(4); | ||
/** | ||
@@ -630,47 +675,2 @@ * All properties can be set on the directive as attributes like so (use the `ConfirmOptions` provider to configure them globally): | ||
/***/ }, | ||
/* 6 */ | ||
/***/ function(module, exports, __webpack_require__) { | ||
"use strict"; | ||
"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 = __webpack_require__(0); | ||
/** | ||
* A helper directive to focus buttons. You will only need this if using a custom template | ||
*/ | ||
var Focus = (function () { | ||
function Focus(renderer, elm) { | ||
this.renderer = renderer; | ||
this.elm = elm; | ||
} | ||
Focus.prototype.ngOnChanges = function (changes) { | ||
if (changes.mwlFocus && this.mwlFocus === true) { | ||
this.renderer.invokeElementMethod(this.elm.nativeElement, 'focus', []); | ||
} | ||
}; | ||
__decorate([ | ||
core_1.Input(), | ||
__metadata('design:type', Boolean) | ||
], Focus.prototype, "mwlFocus", void 0); | ||
Focus = __decorate([ | ||
core_1.Directive({ | ||
selector: '[mwlFocus]' | ||
}), | ||
__metadata('design:paramtypes', [(typeof (_a = typeof core_1.Renderer !== 'undefined' && core_1.Renderer) === 'function' && _a) || Object, (typeof (_b = typeof core_1.ElementRef !== 'undefined' && core_1.ElementRef) === 'function' && _b) || Object]) | ||
], Focus); | ||
return Focus; | ||
var _a, _b; | ||
}()); | ||
exports.Focus = Focus; | ||
/***/ }, | ||
/* 7 */ | ||
@@ -698,7 +698,9 @@ /***/ function(module, exports) { | ||
exports.ConfirmOptions = confirmOptions_provider_1.ConfirmOptions; | ||
__export(__webpack_require__(3)); | ||
__export(__webpack_require__(4)); | ||
__export(__webpack_require__(5)); | ||
// Private components, don't import or use these within your app, they are only exported so that AOT can work | ||
var confirmPopover_component_1 = __webpack_require__(2); | ||
exports.PrivateComponent1 = confirmPopover_component_1.ConfirmPopover; | ||
var focus_directive_1 = __webpack_require__(3); | ||
exports.PrivateComponent2 = focus_directive_1.Focus; | ||
@@ -705,0 +707,0 @@ |
{ | ||
"name": "angular2-bootstrap-confirm", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "An angular2 bootstrap confirmation popover", | ||
@@ -43,10 +43,10 @@ "main": "./dist/umd/angular2-bootstrap-confirm.js", | ||
"devDependencies": { | ||
"@angular/common": "~2.0.0", | ||
"@angular/compiler": "~2.0.0", | ||
"@angular/compiler-cli": "~0.6.3", | ||
"@angular/core": "~2.0.0", | ||
"@angular/forms": "~2.0.0", | ||
"@angular/platform-browser": "~2.0.0", | ||
"@angular/platform-browser-dynamic": "~2.0.0", | ||
"@angular/platform-server": "~2.0.1", | ||
"@angular/common": "~2.1.1", | ||
"@angular/compiler": "~2.1.1", | ||
"@angular/compiler-cli": "~2.1.1", | ||
"@angular/core": "~2.1.1", | ||
"@angular/forms": "~2.1.1", | ||
"@angular/platform-browser": "~2.1.1", | ||
"@angular/platform-browser-dynamic": "~2.1.1", | ||
"@angular/platform-server": "~2.1.1", | ||
"@ng-bootstrap/ng-bootstrap": "~1.0.0-alpha.0", | ||
@@ -56,3 +56,3 @@ "@types/chai": "~3.4.33", | ||
"@types/core-js": "~0.9.34", | ||
"@types/jasmine": "~2.2.34", | ||
"@types/jasmine": "~2.5.35", | ||
"@types/node": "~6.0.41", | ||
@@ -65,3 +65,3 @@ "@types/sinon": "~1.16.30", | ||
"commitizen": "~2.8.1", | ||
"concurrently": "~3.0.0", | ||
"concurrently": "~3.1.0", | ||
"conventional-changelog": "~1.1.0", | ||
@@ -87,6 +87,6 @@ "conventional-changelog-cli": "~1.2.0", | ||
"sourcemap-istanbul-instrumenter-loader": "~0.2.0", | ||
"standard-version": "~2.4.0", | ||
"standard-version": "~3.0.0", | ||
"tslint": "~3.15.1", | ||
"tslint-loader": "~2.1.4", | ||
"typedoc": "~0.4.3", | ||
"typedoc": "~0.5.0", | ||
"typescript": "~2.0.2", | ||
@@ -93,0 +93,0 @@ "validate-commit-msg": "~2.8.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
163694
1620