angular2-bootstrap-confirm
Advanced tools
Comparing version 0.11.1 to 0.11.2
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="0.11.2"></a> | ||
## [0.11.2](https://github.com/mattlewis92/angular2-bootstrap-confirm/compare/v0.11.1...v0.11.2) (2016-09-24) | ||
### Bug Fixes | ||
* **aot:** export popover component so aot works ([599021a](https://github.com/mattlewis92/angular2-bootstrap-confirm/commit/599021a)) | ||
<a name="0.11.1"></a> | ||
@@ -7,0 +17,0 @@ ## [0.11.1](https://github.com/mattlewis92/angular2-bootstrap-confirm/compare/v0.11.0...v0.11.1) (2016-09-24) |
export { ConfirmOptions } from './src/confirmOptions.provider'; | ||
export * from './src/position.provider'; | ||
export * from './src/confirm.module'; | ||
export * from './src/confirmPopover.component'; |
export { ConfirmOptions } from './src/confirmOptions.provider'; | ||
export * from './src/position.provider'; | ||
export * from './src/confirm.module'; | ||
export * from './src/confirmPopover.component'; | ||
//# sourceMappingURL=angular2-bootstrap-confirm.js.map |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":1,"metadata":{},"exports":[{"from":"./src/confirmOptions.provider","export":["ConfirmOptions"]},{"from":"./src/position.provider"},{"from":"./src/confirm.module"}]} | ||
{"__symbolic":"module","version":1,"metadata":{},"exports":[{"from":"./src/confirmOptions.provider","export":["ConfirmOptions"]},{"from":"./src/position.provider"},{"from":"./src/confirm.module"},{"from":"./src/confirmPopover.component"}]} |
@@ -195,3 +195,43 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
var core_1 = __webpack_require__(0); | ||
var confirmOptions_provider_1 = __webpack_require__(1); | ||
/** | ||
* @private | ||
*/ | ||
var ConfirmPopover = (function () { | ||
function ConfirmPopover(options) { | ||
this.options = options; | ||
} | ||
ConfirmPopover.prototype.ngAfterViewInit = function () { | ||
this.options.onAfterViewInit(); | ||
}; | ||
ConfirmPopover = __decorate([ | ||
core_1.Component({ | ||
styles: ["\n .popover {\n display: block;\n }\n "], | ||
template: "\n <template #defaultTemplate let-options=\"options\">\n <div [class]=\"'popover ' + options.placement + ' popover-' + options.placement + ' ' + options.popoverClass\">\n <div class=\"popover-arrow arrow\"></div>\n <h3 class=\"popover-title\" [innerHTML]=\"options.title\"></h3>\n <div class=\"popover-content\">\n <p [innerHTML]=\"options.message\"></p>\n <div class=\"row\">\n <div\n class=\"col-xs-6\"\n [class.col-xs-offset-3]=\"options.hideCancelButton\"\n *ngIf=\"!options.hideConfirmButton\">\n <button\n [mwlFocus]=\"options.focusButton === 'confirm'\"\n [class]=\"'btn btn-block btn-' + options.confirmButtonType\"\n (click)=\"options.onConfirm()\"\n [innerHtml]=\"options.confirmText\">\n </button>\n </div>\n <div\n class=\"col-xs-6\"\n [class.col-xs-offset-3]=\"options.hideConfirmButton\"\n *ngIf=\"!options.hideCancelButton\">\n <button\n [mwlFocus]=\"options.focusButton === 'cancel'\"\n [class]=\"'btn btn-block btn-' + options.cancelButtonType\"\n (click)=\"options.onCancel()\"\n [innerHtml]=\"options.cancelText\">\n </button>\n </div>\n </div>\n </div>\n </div>\n </template>\n <template\n [ngTemplateOutlet]=\"options.customTemplate || defaultTemplate\"\n [ngOutletContext]=\"{options: options}\">\n </template>\n " | ||
}), | ||
__metadata('design:paramtypes', [(typeof (_a = typeof confirmOptions_provider_1.PopoverConfirmOptions !== 'undefined' && confirmOptions_provider_1.PopoverConfirmOptions) === 'function' && _a) || Object]) | ||
], ConfirmPopover); | ||
return ConfirmPopover; | ||
var _a; | ||
}()); | ||
exports.ConfirmPopover = ConfirmPopover; | ||
/***/ }, | ||
/* 3 */ | ||
/***/ 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 | ||
@@ -227,42 +267,2 @@ * | ||
/***/ }, | ||
/* 3 */ | ||
/***/ 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 confirmOptions_provider_1 = __webpack_require__(1); | ||
/** | ||
* @private | ||
*/ | ||
var ConfirmPopover = (function () { | ||
function ConfirmPopover(options) { | ||
this.options = options; | ||
} | ||
ConfirmPopover.prototype.ngAfterViewInit = function () { | ||
this.options.onAfterViewInit(); | ||
}; | ||
ConfirmPopover = __decorate([ | ||
core_1.Component({ | ||
styles: ["\n .popover {\n display: block;\n }\n "], | ||
template: "\n <template #defaultTemplate let-options=\"options\">\n <div [class]=\"'popover ' + options.placement + ' popover-' + options.placement + ' ' + options.popoverClass\">\n <div class=\"popover-arrow arrow\"></div>\n <h3 class=\"popover-title\" [innerHTML]=\"options.title\"></h3>\n <div class=\"popover-content\">\n <p [innerHTML]=\"options.message\"></p>\n <div class=\"row\">\n <div\n class=\"col-xs-6\"\n [class.col-xs-offset-3]=\"options.hideCancelButton\"\n *ngIf=\"!options.hideConfirmButton\">\n <button\n [mwlFocus]=\"options.focusButton === 'confirm'\"\n [class]=\"'btn btn-block btn-' + options.confirmButtonType\"\n (click)=\"options.onConfirm()\"\n [innerHtml]=\"options.confirmText\">\n </button>\n </div>\n <div\n class=\"col-xs-6\"\n [class.col-xs-offset-3]=\"options.hideConfirmButton\"\n *ngIf=\"!options.hideCancelButton\">\n <button\n [mwlFocus]=\"options.focusButton === 'cancel'\"\n [class]=\"'btn btn-block btn-' + options.cancelButtonType\"\n (click)=\"options.onCancel()\"\n [innerHtml]=\"options.cancelText\">\n </button>\n </div>\n </div>\n </div>\n </div>\n </template>\n <template\n [ngTemplateOutlet]=\"options.customTemplate || defaultTemplate\"\n [ngOutletContext]=\"{options: options}\">\n </template>\n " | ||
}), | ||
__metadata('design:paramtypes', [(typeof (_a = typeof confirmOptions_provider_1.PopoverConfirmOptions !== 'undefined' && confirmOptions_provider_1.PopoverConfirmOptions) === 'function' && _a) || Object]) | ||
], ConfirmPopover); | ||
return ConfirmPopover; | ||
var _a; | ||
}()); | ||
exports.ConfirmPopover = ConfirmPopover; | ||
/***/ }, | ||
/* 4 */ | ||
@@ -285,3 +285,3 @@ /***/ function(module, exports, __webpack_require__) { | ||
var confirm_directive_1 = __webpack_require__(5); | ||
var confirmPopover_component_1 = __webpack_require__(3); | ||
var confirmPopover_component_1 = __webpack_require__(2); | ||
var focus_directive_1 = __webpack_require__(6); | ||
@@ -325,5 +325,5 @@ var ConfirmModule = (function () { | ||
var platform_browser_1 = __webpack_require__(8); | ||
var confirmPopover_component_1 = __webpack_require__(3); | ||
var confirmPopover_component_1 = __webpack_require__(2); | ||
var confirmOptions_provider_1 = __webpack_require__(1); | ||
var position_provider_1 = __webpack_require__(2); | ||
var position_provider_1 = __webpack_require__(3); | ||
/** | ||
@@ -687,4 +687,5 @@ * All properties can be set on the directive as attributes like so (use the `ConfirmOptions` provider to configure them globally): | ||
exports.ConfirmOptions = confirmOptions_provider_1.ConfirmOptions; | ||
__export(__webpack_require__(3)); | ||
__export(__webpack_require__(4)); | ||
__export(__webpack_require__(2)); | ||
__export(__webpack_require__(4)); | ||
@@ -691,0 +692,0 @@ |
{ | ||
"name": "angular2-bootstrap-confirm", | ||
"version": "0.11.1", | ||
"version": "0.11.2", | ||
"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
160582
1587