Socket
Socket
Sign inDemoInstall

ngx-onsenui

Package Overview
Dependencies
Maintainers
6
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-onsenui - npm Package Compare versions

Comparing version 4.2.0 to 4.2.1

2

bundles/ngx-onsenui.umd.min.js

@@ -1,2 +0,2 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@angular/core"),require("@angular/forms"),require("onsenui"),require("@angular/common"),require("@angular/platform-browser")):"function"==typeof define&&define.amd?define("NgxOnsenUI",["@angular/core","@angular/forms","onsenui","@angular/common","@angular/platform-browser"],t):"object"==typeof exports?exports.NgxOnsenUI=t(require("@angular/core"),require("@angular/forms"),require("onsenui"),require("@angular/common"),require("@angular/platform-browser")):e.NgxOnsenUI=t(e.ng.core,e.ng.forms,e.ons,e.ng.common,e.ng.platformBrowser)}(this,function(e,t,n,r,o){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=25)}([function(t,n){t.exports=e},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(){function e(e){void 0===e&&(e={}),this._data=e}return e.prototype.at=function(e){return this._data[e]},Object.defineProperty(e.prototype,"data",{get:function(){return this._data},enumerable:!0,configurable:!0}),e}()},function(e,n){e.exports=t},function(e,t){e.exports=n},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(0),o=(n.n(r),function(){function e(e){this.appRef=e}return e.prototype.load=function(e){var t=this,n=e.location.nativeElement;this.appRef.attachView?(this.appRef.attachView(e.hostView),e.onDestroy(function(){t.appRef.detachView(e.hostView),n.parentNode&&n.parentNode.removeChild(n)})):(this.appRef.registerChangeDetector&&this.appRef.registerChangeDetector(e.changeDetectorRef),e.onDestroy(function(){t.appRef.unregisterChangeDetector&&t.appRef.unregisterChangeDetector(e.changeDetectorRef),n.parentNode&&n.parentNode.removeChild(n)}));var r=this.appRef._rootComponents[0].location.nativeElement;r.appendChild(n)},e}());o.decorators=[{type:r.Injectable}],o.ctorParameters=function(){return[{type:r.ApplicationRef}]}},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(0),o=(n.n(r),n(2)),i=(n.n(o),function(){function e(e){this._elementRef=e,this._propagateChange=function(e){},this._propagateTouched=function(){},this._valueChange=new r.EventEmitter,this._boundOnChange=this._onChange.bind(this),this._element=e.nativeElement,this._element.addEventListener("input",this._boundOnChange)}return e.prototype._onChange=function(e){this._valueChange.emit(this._element.value),this._propagateChange(this._element.value)},e.prototype._onBlur=function(){this._propagateTouched()},e.prototype.ngOnChanges=function(e){var t=e._value.currentValue;this._element.value!==t&&(this._element.value=t)},Object.defineProperty(e.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nativeElement",{get:function(){return this._element},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this._element.removeEventListener("input",this._boundOnChange),this._element=null},e.prototype.writeValue=function(e){this._element.value=e},e.prototype.registerOnChange=function(e){this._propagateChange=e},e.prototype.registerOnTouched=function(e){this._propagateTouched=e},e}());i.decorators=[{type:r.Directive,args:[{selector:"ons-input",providers:[{provide:o.NG_VALUE_ACCESSOR,useExisting:n.i(r.forwardRef)(function(){return i}),multi:!0}]}]}],i.ctorParameters=function(){return[{type:r.ElementRef}]},i.propDecorators={_value:[{type:r.Input,args:["value"]}],_valueChange:[{type:r.Output,args:["valueChange"]}],_onBlur:[{type:r.HostListener,args:["blur"]}]}},function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return a});var r=n(0),o=(n.n(r),n(3)),i=(n.n(o),function(){function e(e,t,n){this.$implicit=e,this.index=t,this.count=n}return e}()),a=function(){function e(e,t,n){this._elementRef=e,this._templateRef=t,this._viewContainer=n}return Object.defineProperty(e.prototype,"onsLazyRepeatOf",{set:function(e){var t=this;this._onsLazyRepeatOf=e,this._provider=new o._internal.LazyRepeatProvider(this._elementRef.nativeElement.parentElement,new o._internal.LazyRepeatDelegate({loadItemElement:function(e,n){t._loadItemTemplate(e,n)},countItems:function(){return t._onsLazyRepeatOf.length}}))},enumerable:!0,configurable:!0}),e.prototype._loadItemTemplate=function(e,t){var n=new i(this._onsLazyRepeatOf[e],e,this._onsLazyRepeatOf.length),r=this._viewContainer.createEmbeddedView(this._templateRef,n);t({element:r.rootNodes[0]})},e.prototype.refresh=function(){this._provider&&(this._viewContainer.clear(),this._provider.refresh())},e.prototype.ngOnDestroy=function(){this._provider&&this._provider.destroy(),this._viewContainer.clear(),this._provider=null},e}();a.decorators=[{type:r.Directive,args:[{selector:"[onsLazyRepeat]"}]}],a.ctorParameters=function(){return[{type:r.ElementRef},{type:r.TemplateRef},{type:r.ViewContainerRef}]},a.propDecorators={onsLazyRepeatOf:[{type:r.Input}]}},function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return u});var r=n(0),o=(n.n(r),n(3)),i=(n.n(o),n(1)),a=function(){function e(e,t,n,r){void 0===e&&(e=null),void 0===t&&(t=function(){}),void 0===n&&(n=null),void 0===r&&(r=new i.a),this.elementRef=e,this.destroy=t,this.animator=n,this.params=r}return e}(),u=function(){function e(e,t,n,r,o){this._elementRef=e,this._resolver=t,this._viewContainer=n,this._injector=r,this._zone=o,this._lastPageLoader=this.element.pageLoader,this.element.pageLoader=this._createPageLoader()}return Object.defineProperty(e.prototype,"pageComponentType",{set:function(e){this.element.page=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"element",{get:function(){return this._elementRef.nativeElement},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nativeElement",{get:function(){return this._elementRef.nativeElement},enumerable:!0,configurable:!0}),e.prototype._createPageLoader=function(){var t=this,n=new WeakMap;return new o.PageLoader(function(o,a){var u=o.page,s=(o.parent,o.params);t._zone.run(function(){var o=new i.a(s||{}),c=r.ReflectiveInjector.resolveAndCreate([{provide:i.a,useValue:o},{provide:e,useValue:t}],t._injector),p=t._resolver.resolveComponentFactory(u),l=p.create(c,void 0);t._viewContainer.insert(l.hostView);var f=l.location.nativeElement;n.set(f,l),t.element.appendChild(f),a(f)})},function(e){var t=n.get(e);t&&(t.destroy(),n.delete(e))})},e.prototype.ngOnDestroy=function(){this.element.pageLoader=this._lastPageLoader},e}();u.decorators=[{type:r.Directive,args:[{selector:"ons-navigator"}]}],u.ctorParameters=function(){return[{type:r.ElementRef},{type:r.ComponentFactoryResolver},{type:r.ViewContainerRef},{type:r.Injector},{type:r.NgZone}]},u.propDecorators={pageComponentType:[{type:r.Input,args:["page"]}]}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(0),o=(n.n(r),function(){function e(e){var t=this;this._elementRef=e,this.action=new r.EventEmitter,this._element=e.nativeElement,this._element.onAction=function(e){return t.action.emit({done:e})}}return e.prototype.ngOnDestroy=function(){this._element.onAction=null,this._element=null},e}());o.decorators=[{type:r.Directive,args:[{selector:"ons-pull-hook"}]}],o.ctorParameters=function(){return[{type:r.ElementRef}]},o.propDecorators={action:[{type:r.Output,args:["action"]}]}},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(0),o=(n.n(r),n(2)),i=(n.n(o),function(){function e(e){this._elementRef=e,this._propagateChange=function(e){},this._propagateTouched=function(){},this._valueChange=new r.EventEmitter,this._boundOnChange=this._onChange.bind(this),this._element=e.nativeElement,this._element.addEventListener("input",this._boundOnChange)}return e.prototype._onChange=function(e){this._valueChange.emit(this._element.value),this._propagateChange(this._element.value)},e.prototype._onBlur=function(){this._propagateTouched()},e.prototype.ngOnChanges=function(e){var t=e._value.currentValue;this._element.value=t},Object.defineProperty(e.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nativeElement",{get:function(){return this._element},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this._element.removeEventListener("input",this._boundOnChange),this._element=null},e.prototype.writeValue=function(e){this._element.value=e},e.prototype.registerOnChange=function(e){this._propagateChange=e},e.prototype.registerOnTouched=function(e){this._propagateTouched=e},e}());i.decorators=[{type:r.Directive,args:[{selector:"ons-range",providers:[{provide:o.NG_VALUE_ACCESSOR,useExisting:n.i(r.forwardRef)(function(){return i}),multi:!0}]}]}],i.ctorParameters=function(){return[{type:r.ElementRef}]},i.propDecorators={_value:[{type:r.Input,args:["value"]}],_valueChange:[{type:r.Output,args:["valueChange"]}],_onBlur:[{type:r.HostListener,args:["blur"]}]}},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(0),o=(n.n(r),n(2)),i=(n.n(o),function(){function e(e){this._elementRef=e,this._propagateChange=function(e){},this._boundOnChange=this._onChange.bind(this),this._element=e.nativeElement,this._element.addEventListener("change",this._boundOnChange)}return e.prototype._onChange=function(e){this._propagateChange(e.target.value)},Object.defineProperty(e.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nativeElement",{get:function(){return this._element},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this._element.removeEventListener("change",this._boundOnChange),this._element=null},e.prototype.writeValue=function(e){this._element.value=e},e.prototype.registerOnChange=function(e){this._propagateChange=e},e.prototype.registerOnTouched=function(){},e}());i.decorators=[{type:r.Directive,args:[{selector:"ons-select",providers:[{provide:o.NG_VALUE_ACCESSOR,useExisting:n.i(r.forwardRef)(function(){return i}),multi:!0}]}]}],i.ctorParameters=function(){return[{type:r.ElementRef}]}},function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return u});var r=n(0),o=(n.n(r),n(3)),i=(n.n(o),n(1)),a=function(){function e(e,t,n,r,o){this._elementRef=e,this._viewContainer=t,this._resolver=n,this._injector=r,this._zone=o,this.element.pageLoader=this._createPageLoader()}return Object.defineProperty(e.prototype,"page",{set:function(e){this.element.page=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"element",{get:function(){return this._elementRef.nativeElement},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nativeElement",{get:function(){return this._elementRef.nativeElement},enumerable:!0,configurable:!0}),e.prototype._createPageLoader=function(){var t=this,n=new WeakMap;return new o.PageLoader(function(o,a){var u=o.page,s=(o.parent,o.params);t._zone.run(function(){var o=r.ReflectiveInjector.resolveAndCreate([{provide:i.a,useValue:new i.a(s||{})},{provide:e,useValue:t}],t._injector),c=t._resolver.resolveComponentFactory(u),p=t._viewContainer.createComponent(c,0,o),l=p.location.nativeElement;n.set(l,p),t.element.appendChild(l),a(l)})},function(e){var t=n.get(e);t&&(t.destroy(),n.delete(e))})},e}();a.decorators=[{type:r.Directive,args:[{selector:"ons-splitter-side"}]}],a.ctorParameters=function(){return[{type:r.ElementRef},{type:r.ViewContainerRef},{type:r.ComponentFactoryResolver},{type:r.Injector},{type:r.NgZone}]},a.propDecorators={page:[{type:r.Input,args:["page"]}]};var u=function(){function e(e,t,n,r){this._elementRef=e,this._viewContainer=t,this._resolver=n,this._injector=r,this.element.pageLoader=this._createPageLoader()}return Object.defineProperty(e.prototype,"page",{set:function(e){this.element.page=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"element",{get:function(){return this._elementRef.nativeElement},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nativeElement",{get:function(){return this._elementRef.nativeElement},enumerable:!0,configurable:!0}),e.prototype._createPageLoader=function(){var t=this,n=new WeakMap;return new o.PageLoader(function(o,a){var u=o.page,s=(o.parent,o.params),c=r.ReflectiveInjector.resolveAndCreate([{provide:i.a,useValue:new i.a(s||{})},{provide:e,useValue:t}],t._injector),p=t._resolver.resolveComponentFactory(u),l=t._viewContainer.createComponent(p,0,c),f=l.location.nativeElement;n.set(f,l),t.element.appendChild(f),a(f)},function(e){var t=n.get(e);t&&(t.destroy(),n.delete(e))})},e}();u.decorators=[{type:r.Directive,args:[{selector:"ons-splitter-content"}]}],u.ctorParameters=function(){return[{type:r.ElementRef},{type:r.ViewContainerRef},{type:r.ComponentFactoryResolver},{type:r.Injector}]},u.propDecorators={page:[{type:r.Input,args:["page"]}]}},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(0),o=(n.n(r),n(2)),i=(n.n(o),function(){function e(e){this._elementRef=e,this._propagateChange=function(e){},this._propagateTouched=function(){},this._valueChange=new r.EventEmitter,this._boundOnChange=this._onChange.bind(this),this._element=e.nativeElement,this._element.addEventListener("change",this._boundOnChange)}return Object.defineProperty(e.prototype,"value",{set:function(e){this._element.checked=!!e},enumerable:!0,configurable:!0}),e.prototype._onChange=function(e){this._valueChange.emit(this._element.checked),this._propagateChange(this._element.checked)},e.prototype._onBlur=function(){this._propagateTouched()},e.prototype.ngOnChanges=function(e){var t=!!e.value.currentValue;this._element.checked=t},Object.defineProperty(e.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nativeElement",{get:function(){return this._element},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this._element.removeEventListener("change",this._boundOnChange),this._element=null},e.prototype.writeValue=function(e){this._element.checked=e},e.prototype.registerOnChange=function(e){this._propagateChange=e},e.prototype.registerOnTouched=function(e){this._propagateTouched=e},e}());i.decorators=[{type:r.Directive,args:[{selector:"ons-switch",providers:[{provide:o.NG_VALUE_ACCESSOR,useExisting:n.i(r.forwardRef)(function(){return i}),multi:!0}]}]}],i.ctorParameters=function(){return[{type:r.ElementRef}]},i.propDecorators={value:[{type:r.Input,args:["value"]}],_valueChange:[{type:r.Output,args:["valueChange"]}],_onBlur:[{type:r.HostListener,args:["blur"]}]}},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(0),o=(n.n(r),n(3)),i=(n.n(o),function(){function e(e,t,n,r){this._elementRef=e,this._viewContainer=t,this._resolver=n,this._zone=r,this._pageComponent=null,this._elementRef.nativeElement.pageLoader=this._createPageLoader()}return Object.defineProperty(e.prototype,"page",{set:function(e){this._elementRef.nativeElement.page=e},enumerable:!0,configurable:!0}),e.prototype._createPageLoader=function(){var e=this,t=o.PageLoader;return new t(function(t,n){var r=t.page,o=t.parent;e._zone.run(function(){var t=e._resolver.resolveComponentFactory(r),i=e._viewContainer.createComponent(t,0);e._pageComponent&&e._pageComponent.destroy(),e._pageComponent=i;var a=i.location.nativeElement;o.appendChild(a),n(a)})},function(){e.hasOwnProperty("_pageComponent")&&e._pageComponent&&(e._pageComponent.destroy(),e._pageComponent=null)})},e.prototype.ngOnDestroy=function(){this._pageComponent&&(this._pageComponent.destroy(),this._pageComponent=null)},e}());i.decorators=[{type:r.Directive,args:[{selector:"ons-tab"}]}],i.ctorParameters=function(){return[{type:r.ElementRef},{type:r.ViewContainerRef},{type:r.ComponentFactoryResolver},{type:r.NgZone}]},i.propDecorators={page:[{type:r.Input,args:["page"]}]}},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(0),o=(n.n(r),n(1)),i=n(4),a=function(){function e(e,t,n,r,o){this._injector=e,this._resolver=t,this._appRef=n,this._componentLoader=r,this._zone=o}return e.prototype.createAlertDialog=function(e,t){var n=this;return void 0===t&&(t={}),console.warn("[ngx-onsenui] AlertDialogFactory is deprecated since 4.0.0-rc.0. Place <ons-alert-dialog> into your component instead."),new Promise(function(i){setImmediate(function(){n._zone.run(function(){var a=n._resolver.resolveComponentFactory(e),u=r.ReflectiveInjector.resolveAndCreate([{provide:o.a,useValue:new o.a(t)}],n._injector),s=a.create(u),c=s.location.nativeElement;n._componentLoader.load(s);var p=c.children[0],l="ONS-ALERT-DIALOG"===p.tagName?p:p.querySelector("ons-alert-dialog");if(!l)throw Error("<ons-alert-dialog> element is not found in component's template.");i({alertDialog:l,destroy:function(){return s.destroy()}})})})})},e}();a.decorators=[{type:r.Injectable}],a.ctorParameters=function(){return[{type:r.Injector},{type:r.ComponentFactoryResolver},{type:r.ApplicationRef},{type:i.a},{type:r.NgZone}]}},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(0),o=(n.n(r),n(1)),i=n(4),a=function(){function e(e,t,n,r,o){this._injector=e,this._resolver=t,this._appRef=n,this._componentLoader=r,this._zone=o}return e.prototype.createDialog=function(e,t){var n=this;return void 0===t&&(t={}),console.warn("[ngx-onsenui] DialogFactory is deprecated since 4.0.0-rc.0. Place <ons-dialog> into your component instead."),new Promise(function(i){setImmediate(function(){n._zone.run(function(){var a=n._resolver.resolveComponentFactory(e),u=r.ReflectiveInjector.resolveAndCreate([{provide:o.a,useValue:new o.a(t)}],n._injector),s=a.create(u),c=s.location.nativeElement;n._componentLoader.load(s);var p=c.children[0],l="ONS-DIALOG"===p.tagName?p:p.querySelector("ons-dialog");if(!l)throw Error("<ons-dialog> element is not found in component's template.");i({dialog:l,destroy:function(){return s.destroy()}})})})})},e}();a.decorators=[{type:r.Injectable}],a.ctorParameters=function(){return[{type:r.Injector},{type:r.ComponentFactoryResolver},{type:r.ApplicationRef},{type:i.a},{type:r.NgZone}]}},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(0),o=(n.n(r),n(1)),i=n(4),a=function(){function e(e,t,n,r,o){this._injector=e,this._resolver=t,this._appRef=n,this._componentLoader=r,this._zone=o}return e.prototype.createModal=function(e,t){var n=this;return void 0===t&&(t={}),console.warn("[ngx-onsenui] ModalFactory is deprecated since 4.0.0-rc.0. Place <ons-modal> into your component instead."),new Promise(function(i){setImmediate(function(){n._zone.run(function(){var a=n._resolver.resolveComponentFactory(e),u=r.ReflectiveInjector.resolveAndCreate([{provide:o.a,useValue:new o.a(t)}],n._injector),s=a.create(u),c=s.location.nativeElement;n._componentLoader.load(s);var p=c.children[0],l="ONS-MODAL"===p.tagName?p:p.querySelector("ons-modal");if(!l)throw Error("<ons-modal> element is not found in component's template.");i({modal:l,destroy:function(){return s.destroy()}})})})})},e}();a.decorators=[{type:r.Injectable}],a.ctorParameters=function(){return[{type:r.Injector},{type:r.ComponentFactoryResolver},{type:r.ApplicationRef},{type:i.a},{type:r.NgZone}]}},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(0),o=(n.n(r),n(1)),i=n(4),a=function(){function e(e,t,n,r,o){this._injector=e,this._resolver=t,this._appRef=n,this._componentLoader=r,this._zone=o}return e.prototype.createPopover=function(e,t){var n=this;return void 0===t&&(t={}),console.warn("[ngx-onsenui] PopoverFactory is deprecated since 4.0.0-rc.0. Place <ons-popover> into your component instead."),new Promise(function(i){setImmediate(function(){n._zone.run(function(){var a=n._resolver.resolveComponentFactory(e),u=r.ReflectiveInjector.resolveAndCreate([{provide:o.a,useValue:new o.a(t)}],n._injector),s=a.create(u),c=s.location.nativeElement;n._componentLoader.load(s);var p=c.children[0],l="ONS-POPOVER"===p.tagName?p:p.querySelector("ons-popover");if(!l)throw Error("<ons-popover> element is not found in component's template.");i({popover:l,destroy:function(){return s.destroy()}})})})})},e}();a.decorators=[{type:r.Injectable}],a.ctorParameters=function(){return[{type:r.Injector},{type:r.ComponentFactoryResolver},{type:r.ApplicationRef},{type:i.a},{type:r.NgZone}]}},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(0),o=(n.n(r),n(2)),i=(n.n(o),function(){function e(e){this._elementRef=e,this._propagateChange=function(e){},this._boundOnChange=this._onChange.bind(this),this._element=e.nativeElement,this._element.addEventListener("change",this._boundOnChange)}return e.prototype._onChange=function(e){var t,n=e.target,r=n.value,o=n.checked;if(this._state instanceof Array){var i=this._state.indexOf(r),a=i>=0;a&&!o&&(t=this._state.slice(0,i).concat(this._state.slice(i+1,this._state.length))),!a&&o&&(t=this._state.concat([r]))}else t=o;void 0!==t&&(this._state=t,this._propagateChange(this._state))},Object.defineProperty(e.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nativeElement",{get:function(){return this._element},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this._element.removeEventListener("change",this._boundOnChange),this._element=null},e.prototype.writeValue=function(e){this._state=e,e instanceof Array?this._element.checked=e.indexOf(this._element.value)>=0:this._element.checked=e},e.prototype.registerOnChange=function(e){this._propagateChange=e},e.prototype.registerOnTouched=function(){},e}());i.decorators=[{type:r.Directive,args:[{selector:"ons-checkbox",providers:[{provide:o.NG_VALUE_ACCESSOR,useExisting:n.i(r.forwardRef)(function(){return i}),multi:!0}]}]}],i.ctorParameters=function(){return[{type:r.ElementRef}]}},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(0),o=(n.n(r),n(2)),i=(n.n(o),function(){function e(e){this._elementRef=e,this._propagateChange=function(e){},this._boundOnChange=this._onChange.bind(this),this._element=e.nativeElement,this._element.addEventListener("change",this._boundOnChange)}return e.prototype._onChange=function(e){var t=e.target,n=t.value,r=t.checked;r&&this._propagateChange(n)},Object.defineProperty(e.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nativeElement",{get:function(){return this._element},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this._element.removeEventListener("change",this._boundOnChange),this._element=null},e.prototype.writeValue=function(e){this._element.checked=e===this._element.value},e.prototype.registerOnChange=function(e){this._propagateChange=e},e.prototype.registerOnTouched=function(){},e}());i.decorators=[{type:r.Directive,args:[{selector:"ons-radio",providers:[{provide:o.NG_VALUE_ACCESSOR,useExisting:n.i(r.forwardRef)(function(){return i}),multi:!0}]}]}],i.ctorParameters=function(){return[{type:r.ElementRef}]}},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(0),o=(n.n(r),n(2)),i=(n.n(o),function(){function e(e){this._elementRef=e,this._propagateChange=function(e){},this._propagateTouched=function(){},this._valueChange=new r.EventEmitter,this._boundOnChange=this._onChange.bind(this),this._element=e.nativeElement,this._element.addEventListener("input",this._boundOnChange)}return e.prototype._onBlur=function(){this._propagateTouched()},e.prototype._onChange=function(e){this._valueChange.emit(this._element.value),this._propagateChange(this._element.value)},e.prototype.ngOnChanges=function(e){var t=e._value.currentValue;this._element.value!==t&&(this._element.value=t)},Object.defineProperty(e.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nativeElement",{get:function(){return this._element},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this._element.removeEventListener("input",this._boundOnChange),this._element=null},e.prototype.writeValue=function(e){this._element.value=e},e.prototype.registerOnChange=function(e){this._propagateChange=e},e.prototype.registerOnTouched=function(e){this._propagateTouched=e},e}());i.decorators=[{type:r.Directive,args:[{selector:"ons-search-input",providers:[{provide:o.NG_VALUE_ACCESSOR,useExisting:n.i(r.forwardRef)(function(){return i}),multi:!0}]}]}],i.ctorParameters=function(){return[{type:r.ElementRef}]},i.propDecorators={_value:[{type:r.Input,args:["value"]}],_valueChange:[{type:r.Output,args:["valueChange"]}],_onBlur:[{type:r.HostListener,args:["blur"]}]}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(3),o=(n.n(r),r.notification)},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(3),o=(n.n(r),r.platform)},function(e,t){e.exports=r},function(e,t){e.exports=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"OnsenModule",function(){return j});var r=n(0);n.n(r);for(var o in r)["OnsenModule","default"].indexOf(o)<0&&function(e){n.d(t,e,function(){return r[e]})}(o);var i=n(7);n.d(t,"NavigatorPage",function(){return i.a}),n.d(t,"OnsNavigator",function(){return i.b});var a=n(13);n.d(t,"OnsTab",function(){return a.a});var u=n(12);n.d(t,"OnsSwitch",function(){return u.a});var s=n(9);n.d(t,"OnsRange",function(){return s.a});var c=n(10);n.d(t,"OnsSelect",function(){return c.a});var p=n(5);n.d(t,"OnsInput",function(){return p.a});var l=n(8);n.d(t,"OnsPullHook",function(){return l.a});var f=n(6);n.d(t,"ItemContext",function(){return f.a}),n.d(t,"OnsLazyRepeat",function(){return f.b});var h=n(11);n.d(t,"OnsSplitterSide",function(){return h.a}),n.d(t,"OnsSplitterContent",function(){return h.b});var g=n(21);n.d(t,"onsNotification",function(){return g.a});var d=n(22);n.d(t,"onsPlatform",function(){return d.a});var m=n(14);n.d(t,"AlertDialogFactory",function(){return m.a});var _=n(17);n.d(t,"PopoverFactory",function(){return _.a});var v=n(15);n.d(t,"DialogFactory",function(){return v.a});var y=n(16);n.d(t,"ModalFactory",function(){return y.a});var C=n(1);n.d(t,"Params",function(){return C.a});var b=n(23),O=(n.n(b),n(24)),R=(n.n(O),n(20)),E=n(18),w=n(19),P=n(4),L=[i.b,a.a,u.a,s.a,c.a,p.a,R.a,E.a,w.a,l.a,f.b,h.a,h.b],j=function(){function e(){}return e}();j.decorators=[{type:r.NgModule,args:[{imports:[O.BrowserModule,b.CommonModule],declarations:[L],exports:[L,O.BrowserModule],providers:[m.a,_.a,v.a,y.a,P.a]}]}],j.ctorParameters=function(){return[]}}])});
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@angular/core"),require("@angular/forms"),require("onsenui"),require("@angular/common"),require("@angular/platform-browser")):"function"==typeof define&&define.amd?define("NgxOnsenUI",["@angular/core","@angular/forms","onsenui","@angular/common","@angular/platform-browser"],t):"object"==typeof exports?exports.NgxOnsenUI=t(require("@angular/core"),require("@angular/forms"),require("onsenui"),require("@angular/common"),require("@angular/platform-browser")):e.NgxOnsenUI=t(e.ng.core,e.ng.forms,e.ons,e.ng.common,e.ng.platformBrowser)}(this,function(e,t,n,r,o){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=25)}([function(t,n){t.exports=e},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(){function e(e){void 0===e&&(e={}),this._data=e}return e.prototype.at=function(e){return this._data[e]},Object.defineProperty(e.prototype,"data",{get:function(){return this._data},enumerable:!0,configurable:!0}),e}()},function(e,n){e.exports=t},function(e,t){e.exports=n},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(0),o=(n.n(r),function(){function e(e){this.appRef=e}return e.prototype.load=function(e){var t=this,n=e.location.nativeElement;this.appRef.attachView?(this.appRef.attachView(e.hostView),e.onDestroy(function(){t.appRef.detachView(e.hostView),n.parentNode&&n.parentNode.removeChild(n)})):(this.appRef.registerChangeDetector&&this.appRef.registerChangeDetector(e.changeDetectorRef),e.onDestroy(function(){t.appRef.unregisterChangeDetector&&t.appRef.unregisterChangeDetector(e.changeDetectorRef),n.parentNode&&n.parentNode.removeChild(n)}));var r=this.appRef.components[0].location.nativeElement;r.appendChild(n)},e}());o.decorators=[{type:r.Injectable}],o.ctorParameters=function(){return[{type:r.ApplicationRef}]}},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(0),o=(n.n(r),n(2)),i=(n.n(o),function(){function e(e){this._elementRef=e,this._propagateChange=function(e){},this._propagateTouched=function(){},this._valueChange=new r.EventEmitter,this._boundOnChange=this._onChange.bind(this),this._element=e.nativeElement,this._element.addEventListener("input",this._boundOnChange)}return e.prototype._onChange=function(e){this._valueChange.emit(this._element.value),this._propagateChange(this._element.value)},e.prototype._onBlur=function(){this._propagateTouched()},e.prototype.ngOnChanges=function(e){var t=e._value.currentValue;this._element.value!==t&&(this._element.value=t)},Object.defineProperty(e.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nativeElement",{get:function(){return this._element},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this._element.removeEventListener("input",this._boundOnChange),this._element=null},e.prototype.writeValue=function(e){this._element.value=e},e.prototype.registerOnChange=function(e){this._propagateChange=e},e.prototype.registerOnTouched=function(e){this._propagateTouched=e},e}());i.decorators=[{type:r.Directive,args:[{selector:"ons-input",providers:[{provide:o.NG_VALUE_ACCESSOR,useExisting:n.i(r.forwardRef)(function(){return i}),multi:!0}]}]}],i.ctorParameters=function(){return[{type:r.ElementRef}]},i.propDecorators={_value:[{type:r.Input,args:["value"]}],_valueChange:[{type:r.Output,args:["valueChange"]}],_onBlur:[{type:r.HostListener,args:["blur"]}]}},function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return a});var r=n(0),o=(n.n(r),n(3)),i=(n.n(o),function(){function e(e,t,n){this.$implicit=e,this.index=t,this.count=n}return e}()),a=function(){function e(e,t,n){this._elementRef=e,this._templateRef=t,this._viewContainer=n}return Object.defineProperty(e.prototype,"onsLazyRepeatOf",{set:function(e){var t=this;this._onsLazyRepeatOf=e,this._provider=new o._internal.LazyRepeatProvider(this._elementRef.nativeElement.parentElement,new o._internal.LazyRepeatDelegate({loadItemElement:function(e,n){t._loadItemTemplate(e,n)},countItems:function(){return t._onsLazyRepeatOf.length}}))},enumerable:!0,configurable:!0}),e.prototype._loadItemTemplate=function(e,t){var n=new i(this._onsLazyRepeatOf[e],e,this._onsLazyRepeatOf.length),r=this._viewContainer.createEmbeddedView(this._templateRef,n);t({element:r.rootNodes[0]})},e.prototype.refresh=function(){this._provider&&(this._viewContainer.clear(),this._provider.refresh())},e.prototype.ngOnDestroy=function(){this._provider&&this._provider.destroy(),this._viewContainer.clear(),this._provider=null},e}();a.decorators=[{type:r.Directive,args:[{selector:"[onsLazyRepeat]"}]}],a.ctorParameters=function(){return[{type:r.ElementRef},{type:r.TemplateRef},{type:r.ViewContainerRef}]},a.propDecorators={onsLazyRepeatOf:[{type:r.Input}]}},function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return u});var r=n(0),o=(n.n(r),n(3)),i=(n.n(o),n(1)),a=function(){function e(e,t,n,r){void 0===e&&(e=null),void 0===t&&(t=function(){}),void 0===n&&(n=null),void 0===r&&(r=new i.a),this.elementRef=e,this.destroy=t,this.animator=n,this.params=r}return e}(),u=function(){function e(e,t,n,r,o){this._elementRef=e,this._resolver=t,this._viewContainer=n,this._injector=r,this._zone=o,this._lastPageLoader=this.element.pageLoader,this.element.pageLoader=this._createPageLoader()}return Object.defineProperty(e.prototype,"pageComponentType",{set:function(e){this.element.page=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"element",{get:function(){return this._elementRef.nativeElement},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nativeElement",{get:function(){return this._elementRef.nativeElement},enumerable:!0,configurable:!0}),e.prototype._createPageLoader=function(){var t=this,n=new WeakMap;return new o.PageLoader(function(o,a){var u=o.page,s=(o.parent,o.params);t._zone.run(function(){var o=new i.a(s||{}),c=r.ReflectiveInjector.resolveAndCreate([{provide:i.a,useValue:o},{provide:e,useValue:t}],t._injector),p=t._resolver.resolveComponentFactory(u),l=p.create(c,void 0);t._viewContainer.insert(l.hostView);var f=l.location.nativeElement;n.set(f,l),t.element.appendChild(f),a(f)})},function(e){var t=n.get(e);t&&(t.destroy(),n.delete(e))})},e.prototype.ngOnDestroy=function(){this.element.pageLoader=this._lastPageLoader},e}();u.decorators=[{type:r.Directive,args:[{selector:"ons-navigator"}]}],u.ctorParameters=function(){return[{type:r.ElementRef},{type:r.ComponentFactoryResolver},{type:r.ViewContainerRef},{type:r.Injector},{type:r.NgZone}]},u.propDecorators={pageComponentType:[{type:r.Input,args:["page"]}]}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(0),o=(n.n(r),function(){function e(e){var t=this;this._elementRef=e,this.action=new r.EventEmitter,this._element=e.nativeElement,this._element.onAction=function(e){return t.action.emit({done:e})}}return e.prototype.ngOnDestroy=function(){this._element.onAction=null,this._element=null},e}());o.decorators=[{type:r.Directive,args:[{selector:"ons-pull-hook"}]}],o.ctorParameters=function(){return[{type:r.ElementRef}]},o.propDecorators={action:[{type:r.Output,args:["action"]}]}},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(0),o=(n.n(r),n(2)),i=(n.n(o),function(){function e(e){this._elementRef=e,this._propagateChange=function(e){},this._propagateTouched=function(){},this._valueChange=new r.EventEmitter,this._boundOnChange=this._onChange.bind(this),this._element=e.nativeElement,this._element.addEventListener("input",this._boundOnChange)}return e.prototype._onChange=function(e){this._valueChange.emit(this._element.value),this._propagateChange(this._element.value)},e.prototype._onBlur=function(){this._propagateTouched()},e.prototype.ngOnChanges=function(e){var t=e._value.currentValue;this._element.value=t},Object.defineProperty(e.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nativeElement",{get:function(){return this._element},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this._element.removeEventListener("input",this._boundOnChange),this._element=null},e.prototype.writeValue=function(e){this._element.value=e},e.prototype.registerOnChange=function(e){this._propagateChange=e},e.prototype.registerOnTouched=function(e){this._propagateTouched=e},e}());i.decorators=[{type:r.Directive,args:[{selector:"ons-range",providers:[{provide:o.NG_VALUE_ACCESSOR,useExisting:n.i(r.forwardRef)(function(){return i}),multi:!0}]}]}],i.ctorParameters=function(){return[{type:r.ElementRef}]},i.propDecorators={_value:[{type:r.Input,args:["value"]}],_valueChange:[{type:r.Output,args:["valueChange"]}],_onBlur:[{type:r.HostListener,args:["blur"]}]}},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(0),o=(n.n(r),n(2)),i=(n.n(o),function(){function e(e){this._elementRef=e,this._propagateChange=function(e){},this._boundOnChange=this._onChange.bind(this),this._element=e.nativeElement,this._element.addEventListener("change",this._boundOnChange)}return e.prototype._onChange=function(e){this._propagateChange(e.target.value)},Object.defineProperty(e.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nativeElement",{get:function(){return this._element},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this._element.removeEventListener("change",this._boundOnChange),this._element=null},e.prototype.writeValue=function(e){this._element.value=e},e.prototype.registerOnChange=function(e){this._propagateChange=e},e.prototype.registerOnTouched=function(){},e}());i.decorators=[{type:r.Directive,args:[{selector:"ons-select",providers:[{provide:o.NG_VALUE_ACCESSOR,useExisting:n.i(r.forwardRef)(function(){return i}),multi:!0}]}]}],i.ctorParameters=function(){return[{type:r.ElementRef}]}},function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return u});var r=n(0),o=(n.n(r),n(3)),i=(n.n(o),n(1)),a=function(){function e(e,t,n,r,o){this._elementRef=e,this._viewContainer=t,this._resolver=n,this._injector=r,this._zone=o,this.element.pageLoader=this._createPageLoader()}return Object.defineProperty(e.prototype,"page",{set:function(e){this.element.page=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"element",{get:function(){return this._elementRef.nativeElement},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nativeElement",{get:function(){return this._elementRef.nativeElement},enumerable:!0,configurable:!0}),e.prototype._createPageLoader=function(){var t=this,n=new WeakMap;return new o.PageLoader(function(o,a){var u=o.page,s=(o.parent,o.params);t._zone.run(function(){var o=r.ReflectiveInjector.resolveAndCreate([{provide:i.a,useValue:new i.a(s||{})},{provide:e,useValue:t}],t._injector),c=t._resolver.resolveComponentFactory(u),p=t._viewContainer.createComponent(c,0,o),l=p.location.nativeElement;n.set(l,p),t.element.appendChild(l),a(l)})},function(e){var t=n.get(e);t&&(t.destroy(),n.delete(e))})},e}();a.decorators=[{type:r.Directive,args:[{selector:"ons-splitter-side"}]}],a.ctorParameters=function(){return[{type:r.ElementRef},{type:r.ViewContainerRef},{type:r.ComponentFactoryResolver},{type:r.Injector},{type:r.NgZone}]},a.propDecorators={page:[{type:r.Input,args:["page"]}]};var u=function(){function e(e,t,n,r){this._elementRef=e,this._viewContainer=t,this._resolver=n,this._injector=r,this.element.pageLoader=this._createPageLoader()}return Object.defineProperty(e.prototype,"page",{set:function(e){this.element.page=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"element",{get:function(){return this._elementRef.nativeElement},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nativeElement",{get:function(){return this._elementRef.nativeElement},enumerable:!0,configurable:!0}),e.prototype._createPageLoader=function(){var t=this,n=new WeakMap;return new o.PageLoader(function(o,a){var u=o.page,s=(o.parent,o.params),c=r.ReflectiveInjector.resolveAndCreate([{provide:i.a,useValue:new i.a(s||{})},{provide:e,useValue:t}],t._injector),p=t._resolver.resolveComponentFactory(u),l=t._viewContainer.createComponent(p,0,c),f=l.location.nativeElement;n.set(f,l),t.element.appendChild(f),a(f)},function(e){var t=n.get(e);t&&(t.destroy(),n.delete(e))})},e}();u.decorators=[{type:r.Directive,args:[{selector:"ons-splitter-content"}]}],u.ctorParameters=function(){return[{type:r.ElementRef},{type:r.ViewContainerRef},{type:r.ComponentFactoryResolver},{type:r.Injector}]},u.propDecorators={page:[{type:r.Input,args:["page"]}]}},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(0),o=(n.n(r),n(2)),i=(n.n(o),function(){function e(e){this._elementRef=e,this._propagateChange=function(e){},this._propagateTouched=function(){},this._valueChange=new r.EventEmitter,this._boundOnChange=this._onChange.bind(this),this._element=e.nativeElement,this._element.addEventListener("change",this._boundOnChange)}return Object.defineProperty(e.prototype,"value",{set:function(e){this._element.checked=!!e},enumerable:!0,configurable:!0}),e.prototype._onChange=function(e){this._valueChange.emit(this._element.checked),this._propagateChange(this._element.checked)},e.prototype._onBlur=function(){this._propagateTouched()},e.prototype.ngOnChanges=function(e){var t=!!e.value.currentValue;this._element.checked=t},Object.defineProperty(e.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nativeElement",{get:function(){return this._element},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this._element.removeEventListener("change",this._boundOnChange),this._element=null},e.prototype.writeValue=function(e){this._element.checked=e},e.prototype.registerOnChange=function(e){this._propagateChange=e},e.prototype.registerOnTouched=function(e){this._propagateTouched=e},e}());i.decorators=[{type:r.Directive,args:[{selector:"ons-switch",providers:[{provide:o.NG_VALUE_ACCESSOR,useExisting:n.i(r.forwardRef)(function(){return i}),multi:!0}]}]}],i.ctorParameters=function(){return[{type:r.ElementRef}]},i.propDecorators={value:[{type:r.Input,args:["value"]}],_valueChange:[{type:r.Output,args:["valueChange"]}],_onBlur:[{type:r.HostListener,args:["blur"]}]}},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(0),o=(n.n(r),n(3)),i=(n.n(o),function(){function e(e,t,n,r){this._elementRef=e,this._viewContainer=t,this._resolver=n,this._zone=r,this._pageComponent=null,this._elementRef.nativeElement.pageLoader=this._createPageLoader()}return Object.defineProperty(e.prototype,"page",{set:function(e){this._elementRef.nativeElement.page=e},enumerable:!0,configurable:!0}),e.prototype._createPageLoader=function(){var e=this,t=o.PageLoader;return new t(function(t,n){var r=t.page,o=t.parent;e._zone.run(function(){var t=e._resolver.resolveComponentFactory(r),i=e._viewContainer.createComponent(t,0);e._pageComponent&&e._pageComponent.destroy(),e._pageComponent=i;var a=i.location.nativeElement;o.appendChild(a),n(a)})},function(){e.hasOwnProperty("_pageComponent")&&e._pageComponent&&(e._pageComponent.destroy(),e._pageComponent=null)})},e.prototype.ngOnDestroy=function(){this._pageComponent&&(this._pageComponent.destroy(),this._pageComponent=null)},e}());i.decorators=[{type:r.Directive,args:[{selector:"ons-tab"}]}],i.ctorParameters=function(){return[{type:r.ElementRef},{type:r.ViewContainerRef},{type:r.ComponentFactoryResolver},{type:r.NgZone}]},i.propDecorators={page:[{type:r.Input,args:["page"]}]}},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(0),o=(n.n(r),n(1)),i=n(4),a=function(){function e(e,t,n,r,o){this._injector=e,this._resolver=t,this._appRef=n,this._componentLoader=r,this._zone=o}return e.prototype.createAlertDialog=function(e,t){var n=this;return void 0===t&&(t={}),console.warn("[ngx-onsenui] AlertDialogFactory is deprecated since 4.0.0-rc.0. Place <ons-alert-dialog> into your component instead."),new Promise(function(i){setImmediate(function(){n._zone.run(function(){var a=n._resolver.resolveComponentFactory(e),u=r.ReflectiveInjector.resolveAndCreate([{provide:o.a,useValue:new o.a(t)}],n._injector),s=a.create(u),c=s.location.nativeElement;n._componentLoader.load(s);var p=c.children[0],l="ONS-ALERT-DIALOG"===p.tagName?p:p.querySelector("ons-alert-dialog");if(!l)throw Error("<ons-alert-dialog> element is not found in component's template.");i({alertDialog:l,destroy:function(){return s.destroy()}})})})})},e}();a.decorators=[{type:r.Injectable}],a.ctorParameters=function(){return[{type:r.Injector},{type:r.ComponentFactoryResolver},{type:r.ApplicationRef},{type:i.a},{type:r.NgZone}]}},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(0),o=(n.n(r),n(1)),i=n(4),a=function(){function e(e,t,n,r,o){this._injector=e,this._resolver=t,this._appRef=n,this._componentLoader=r,this._zone=o}return e.prototype.createDialog=function(e,t){var n=this;return void 0===t&&(t={}),console.warn("[ngx-onsenui] DialogFactory is deprecated since 4.0.0-rc.0. Place <ons-dialog> into your component instead."),new Promise(function(i){setImmediate(function(){n._zone.run(function(){var a=n._resolver.resolveComponentFactory(e),u=r.ReflectiveInjector.resolveAndCreate([{provide:o.a,useValue:new o.a(t)}],n._injector),s=a.create(u),c=s.location.nativeElement;n._componentLoader.load(s);var p=c.children[0],l="ONS-DIALOG"===p.tagName?p:p.querySelector("ons-dialog");if(!l)throw Error("<ons-dialog> element is not found in component's template.");i({dialog:l,destroy:function(){return s.destroy()}})})})})},e}();a.decorators=[{type:r.Injectable}],a.ctorParameters=function(){return[{type:r.Injector},{type:r.ComponentFactoryResolver},{type:r.ApplicationRef},{type:i.a},{type:r.NgZone}]}},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(0),o=(n.n(r),n(1)),i=n(4),a=function(){function e(e,t,n,r,o){this._injector=e,this._resolver=t,this._appRef=n,this._componentLoader=r,this._zone=o}return e.prototype.createModal=function(e,t){var n=this;return void 0===t&&(t={}),console.warn("[ngx-onsenui] ModalFactory is deprecated since 4.0.0-rc.0. Place <ons-modal> into your component instead."),new Promise(function(i){setImmediate(function(){n._zone.run(function(){var a=n._resolver.resolveComponentFactory(e),u=r.ReflectiveInjector.resolveAndCreate([{provide:o.a,useValue:new o.a(t)}],n._injector),s=a.create(u),c=s.location.nativeElement;n._componentLoader.load(s);var p=c.children[0],l="ONS-MODAL"===p.tagName?p:p.querySelector("ons-modal");if(!l)throw Error("<ons-modal> element is not found in component's template.");i({modal:l,destroy:function(){return s.destroy()}})})})})},e}();a.decorators=[{type:r.Injectable}],a.ctorParameters=function(){return[{type:r.Injector},{type:r.ComponentFactoryResolver},{type:r.ApplicationRef},{type:i.a},{type:r.NgZone}]}},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(0),o=(n.n(r),n(1)),i=n(4),a=function(){function e(e,t,n,r,o){this._injector=e,this._resolver=t,this._appRef=n,this._componentLoader=r,this._zone=o}return e.prototype.createPopover=function(e,t){var n=this;return void 0===t&&(t={}),console.warn("[ngx-onsenui] PopoverFactory is deprecated since 4.0.0-rc.0. Place <ons-popover> into your component instead."),new Promise(function(i){setImmediate(function(){n._zone.run(function(){var a=n._resolver.resolveComponentFactory(e),u=r.ReflectiveInjector.resolveAndCreate([{provide:o.a,useValue:new o.a(t)}],n._injector),s=a.create(u),c=s.location.nativeElement;n._componentLoader.load(s);var p=c.children[0],l="ONS-POPOVER"===p.tagName?p:p.querySelector("ons-popover");if(!l)throw Error("<ons-popover> element is not found in component's template.");i({popover:l,destroy:function(){return s.destroy()}})})})})},e}();a.decorators=[{type:r.Injectable}],a.ctorParameters=function(){return[{type:r.Injector},{type:r.ComponentFactoryResolver},{type:r.ApplicationRef},{type:i.a},{type:r.NgZone}]}},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(0),o=(n.n(r),n(2)),i=(n.n(o),function(){function e(e){this._elementRef=e,this._propagateChange=function(e){},this._boundOnChange=this._onChange.bind(this),this._element=e.nativeElement,this._element.addEventListener("change",this._boundOnChange)}return e.prototype._onChange=function(e){var t,n=e.target,r=n.value,o=n.checked;if(this._state instanceof Array){var i=this._state.indexOf(r),a=i>=0;a&&!o&&(t=this._state.slice(0,i).concat(this._state.slice(i+1,this._state.length))),!a&&o&&(t=this._state.concat([r]))}else t=o;void 0!==t&&(this._state=t,this._propagateChange(this._state))},Object.defineProperty(e.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nativeElement",{get:function(){return this._element},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this._element.removeEventListener("change",this._boundOnChange),this._element=null},e.prototype.writeValue=function(e){this._state=e,e instanceof Array?this._element.checked=e.indexOf(this._element.value)>=0:this._element.checked=e},e.prototype.registerOnChange=function(e){this._propagateChange=e},e.prototype.registerOnTouched=function(){},e}());i.decorators=[{type:r.Directive,args:[{selector:"ons-checkbox",providers:[{provide:o.NG_VALUE_ACCESSOR,useExisting:n.i(r.forwardRef)(function(){return i}),multi:!0}]}]}],i.ctorParameters=function(){return[{type:r.ElementRef}]}},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(0),o=(n.n(r),n(2)),i=(n.n(o),function(){function e(e){this._elementRef=e,this._propagateChange=function(e){},this._boundOnChange=this._onChange.bind(this),this._element=e.nativeElement,this._element.addEventListener("change",this._boundOnChange)}return e.prototype._onChange=function(e){var t=e.target,n=t.value,r=t.checked;r&&this._propagateChange(n)},Object.defineProperty(e.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nativeElement",{get:function(){return this._element},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this._element.removeEventListener("change",this._boundOnChange),this._element=null},e.prototype.writeValue=function(e){this._element.checked=e===this._element.value},e.prototype.registerOnChange=function(e){this._propagateChange=e},e.prototype.registerOnTouched=function(){},e}());i.decorators=[{type:r.Directive,args:[{selector:"ons-radio",providers:[{provide:o.NG_VALUE_ACCESSOR,useExisting:n.i(r.forwardRef)(function(){return i}),multi:!0}]}]}],i.ctorParameters=function(){return[{type:r.ElementRef}]}},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(0),o=(n.n(r),n(2)),i=(n.n(o),function(){function e(e){this._elementRef=e,this._propagateChange=function(e){},this._propagateTouched=function(){},this._valueChange=new r.EventEmitter,this._boundOnChange=this._onChange.bind(this),this._element=e.nativeElement,this._element.addEventListener("input",this._boundOnChange)}return e.prototype._onBlur=function(){this._propagateTouched()},e.prototype._onChange=function(e){this._valueChange.emit(this._element.value),this._propagateChange(this._element.value)},e.prototype.ngOnChanges=function(e){var t=e._value.currentValue;this._element.value!==t&&(this._element.value=t)},Object.defineProperty(e.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nativeElement",{get:function(){return this._element},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this._element.removeEventListener("input",this._boundOnChange),this._element=null},e.prototype.writeValue=function(e){this._element.value=e},e.prototype.registerOnChange=function(e){this._propagateChange=e},e.prototype.registerOnTouched=function(e){this._propagateTouched=e},e}());i.decorators=[{type:r.Directive,args:[{selector:"ons-search-input",providers:[{provide:o.NG_VALUE_ACCESSOR,useExisting:n.i(r.forwardRef)(function(){return i}),multi:!0}]}]}],i.ctorParameters=function(){return[{type:r.ElementRef}]},i.propDecorators={_value:[{type:r.Input,args:["value"]}],_valueChange:[{type:r.Output,args:["valueChange"]}],_onBlur:[{type:r.HostListener,args:["blur"]}]}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(3),o=(n.n(r),r.notification)},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(3),o=(n.n(r),r.platform)},function(e,t){e.exports=r},function(e,t){e.exports=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"OnsenModule",function(){return j});var r=n(0);n.n(r);for(var o in r)["OnsenModule","default"].indexOf(o)<0&&function(e){n.d(t,e,function(){return r[e]})}(o);var i=n(7);n.d(t,"NavigatorPage",function(){return i.a}),n.d(t,"OnsNavigator",function(){return i.b});var a=n(13);n.d(t,"OnsTab",function(){return a.a});var u=n(12);n.d(t,"OnsSwitch",function(){return u.a});var s=n(9);n.d(t,"OnsRange",function(){return s.a});var c=n(10);n.d(t,"OnsSelect",function(){return c.a});var p=n(5);n.d(t,"OnsInput",function(){return p.a});var l=n(8);n.d(t,"OnsPullHook",function(){return l.a});var f=n(6);n.d(t,"ItemContext",function(){return f.a}),n.d(t,"OnsLazyRepeat",function(){return f.b});var h=n(11);n.d(t,"OnsSplitterSide",function(){return h.a}),n.d(t,"OnsSplitterContent",function(){return h.b});var g=n(21);n.d(t,"onsNotification",function(){return g.a});var d=n(22);n.d(t,"onsPlatform",function(){return d.a});var m=n(14);n.d(t,"AlertDialogFactory",function(){return m.a});var v=n(17);n.d(t,"PopoverFactory",function(){return v.a});var _=n(15);n.d(t,"DialogFactory",function(){return _.a});var y=n(16);n.d(t,"ModalFactory",function(){return y.a});var C=n(1);n.d(t,"Params",function(){return C.a});var b=n(23),O=(n.n(b),n(24)),R=(n.n(O),n(20)),E=n(18),w=n(19),P=n(4),L=[i.b,a.a,u.a,s.a,c.a,p.a,R.a,E.a,w.a,l.a,f.b,h.a,h.b],j=function(){function e(){}return e}();j.decorators=[{type:r.NgModule,args:[{imports:[O.BrowserModule,b.CommonModule],declarations:[L],exports:[L,O.BrowserModule],providers:[m.a,v.a,_.a,y.a,P.a]}]}],j.ctorParameters=function(){return[]}}])});
//# sourceMappingURL=dist/bundles/ngx-onsenui.umd.min.js.map
CHANGELOG
====
4.2.1
---
### New Features
* Add support for Angular 6
4.2.0

@@ -5,0 +12,0 @@ ---

@@ -32,3 +32,3 @@ import { Injectable, ApplicationRef } from '@angular/core';

}
var rootContainer = this.appRef._rootComponents[0].location.nativeElement;
var rootContainer = this.appRef.components[0].location.nativeElement;
rootContainer.appendChild(rootElement);

@@ -35,0 +35,0 @@ };

{
"name": "ngx-onsenui",
"version": "4.2.0",
"version": "4.2.1",
"private": false,

@@ -45,5 +45,5 @@ "author": "Mitsunori Kubota <mitsunori@asial.co.jp>",

"peerDependencies": {
"@angular/core": "^4.0.0",
"@angular/core": "^6.0.0",
"onsenui": "~2.5.3"
}
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc