angular2-bootstrap-confirm
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="1.0.4"></a> | ||
## [1.0.4](https://github.com/mattlewis92/angular2-bootstrap-confirm/compare/v1.0.3...v1.0.4) (2016-10-21) | ||
### Bug Fixes | ||
* **aot:** export confirm directive ([c543bf1](https://github.com/mattlewis92/angular2-bootstrap-confirm/commit/c543bf1)) | ||
<a name="1.0.3"></a> | ||
@@ -7,0 +17,0 @@ ## [1.0.3](https://github.com/mattlewis92/angular2-bootstrap-confirm/compare/v1.0.2...v1.0.3) (2016-10-21) |
@@ -6,1 +6,2 @@ export { ConfirmOptions } from './confirmOptions.provider'; | ||
export { Focus as PrivateComponent2 } from './focus.directive'; | ||
export { Confirm as PrivateComponent3 } from './confirm.directive'; |
@@ -7,2 +7,3 @@ export { ConfirmOptions } from './confirmOptions.provider'; | ||
export { Focus as PrivateComponent2 } from './focus.directive'; | ||
export { Confirm as PrivateComponent3 } from './confirm.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"}]},{"from":"./focus.directive","export":[{"name":"Focus","as":"PrivateComponent2"}]}]} | ||
{"__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"}]},{"from":"./confirm.directive","export":[{"name":"Confirm","as":"PrivateComponent3"}]}]} |
@@ -234,130 +234,2 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
}; | ||
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; | ||
/***/ }, | ||
/* 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 | ||
* | ||
* ``` | ||
* // if not also using the @ng-bootstrap/ng-bootstrap module | ||
* import {Positioning} from 'angular2-bootstrap-confirm/position'; | ||
* // if already using the @ng-bootstrap/ng-bootstrap module | ||
* import {Positioning} from '@ng-bootstrap/ng-bootstrap/util/positioning'; | ||
* import {Position} from 'angular2-bootstrap-confirm'; | ||
* | ||
* providers: [ | ||
* provide(Position, { | ||
* useClass: Positioning | ||
* }) | ||
* ] | ||
* ``` | ||
*/ | ||
var Position = (function () { | ||
function Position() { | ||
throw new Error('You must provide a service that implements the Position when bootstrapping your app.'); | ||
} | ||
Position = __decorate([ | ||
core_1.Injectable(), | ||
__metadata('design:paramtypes', []) | ||
], Position); | ||
return Position; | ||
}()); | ||
exports.Position = Position; | ||
/***/ }, | ||
/* 5 */ | ||
/***/ 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); | ||
var common_1 = __webpack_require__(7); | ||
var confirm_directive_1 = __webpack_require__(6); | ||
var confirmPopover_component_1 = __webpack_require__(2); | ||
var focus_directive_1 = __webpack_require__(3); | ||
var ConfirmModule = (function () { | ||
function ConfirmModule() { | ||
} | ||
ConfirmModule = __decorate([ | ||
core_1.NgModule({ | ||
declarations: [confirm_directive_1.Confirm, confirmPopover_component_1.ConfirmPopover, focus_directive_1.Focus], | ||
imports: [common_1.CommonModule], | ||
exports: [confirm_directive_1.Confirm, focus_directive_1.Focus], | ||
entryComponents: [confirmPopover_component_1.ConfirmPopover] | ||
}), | ||
__metadata('design:paramtypes', []) | ||
], ConfirmModule); | ||
return ConfirmModule; | ||
}()); | ||
exports.ConfirmModule = ConfirmModule; | ||
/***/ }, | ||
/* 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 __param = (this && this.__param) || function (paramIndex, decorator) { | ||
@@ -370,3 +242,3 @@ return function (target, key) { decorator(target, key, paramIndex); } | ||
var confirmOptions_provider_1 = __webpack_require__(1); | ||
var position_provider_1 = __webpack_require__(4); | ||
var position_provider_1 = __webpack_require__(5); | ||
/** | ||
@@ -672,2 +544,130 @@ * All properties can be set on the directive as attributes like so (use the `ConfirmOptions` provider to configure them globally): | ||
/***/ }, | ||
/* 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 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; | ||
/***/ }, | ||
/* 5 */ | ||
/***/ 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 | ||
* | ||
* ``` | ||
* // if not also using the @ng-bootstrap/ng-bootstrap module | ||
* import {Positioning} from 'angular2-bootstrap-confirm/position'; | ||
* // if already using the @ng-bootstrap/ng-bootstrap module | ||
* import {Positioning} from '@ng-bootstrap/ng-bootstrap/util/positioning'; | ||
* import {Position} from 'angular2-bootstrap-confirm'; | ||
* | ||
* providers: [ | ||
* provide(Position, { | ||
* useClass: Positioning | ||
* }) | ||
* ] | ||
* ``` | ||
*/ | ||
var Position = (function () { | ||
function Position() { | ||
throw new Error('You must provide a service that implements the Position when bootstrapping your app.'); | ||
} | ||
Position = __decorate([ | ||
core_1.Injectable(), | ||
__metadata('design:paramtypes', []) | ||
], Position); | ||
return Position; | ||
}()); | ||
exports.Position = Position; | ||
/***/ }, | ||
/* 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); | ||
var common_1 = __webpack_require__(7); | ||
var confirm_directive_1 = __webpack_require__(3); | ||
var confirmPopover_component_1 = __webpack_require__(2); | ||
var focus_directive_1 = __webpack_require__(4); | ||
var ConfirmModule = (function () { | ||
function ConfirmModule() { | ||
} | ||
ConfirmModule = __decorate([ | ||
core_1.NgModule({ | ||
declarations: [confirm_directive_1.Confirm, confirmPopover_component_1.ConfirmPopover, focus_directive_1.Focus], | ||
imports: [common_1.CommonModule], | ||
exports: [confirm_directive_1.Confirm, focus_directive_1.Focus], | ||
entryComponents: [confirmPopover_component_1.ConfirmPopover] | ||
}), | ||
__metadata('design:paramtypes', []) | ||
], ConfirmModule); | ||
return ConfirmModule; | ||
}()); | ||
exports.ConfirmModule = ConfirmModule; | ||
/***/ }, | ||
/* 7 */ | ||
@@ -695,9 +695,11 @@ /***/ function(module, exports) { | ||
exports.ConfirmOptions = confirmOptions_provider_1.ConfirmOptions; | ||
__export(__webpack_require__(4)); | ||
__export(__webpack_require__(5)); | ||
__export(__webpack_require__(6)); | ||
// 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); | ||
var focus_directive_1 = __webpack_require__(4); | ||
exports.PrivateComponent2 = focus_directive_1.Focus; | ||
var confirm_directive_1 = __webpack_require__(3); | ||
exports.PrivateComponent3 = confirm_directive_1.Confirm; | ||
@@ -704,0 +706,0 @@ |
{ | ||
"name": "angular2-bootstrap-confirm", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "An angular2 bootstrap confirmation popover", | ||
@@ -5,0 +5,0 @@ "main": "./dist/umd/angular2-bootstrap-confirm.js", |
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
164509
1624