ngx-onsenui
Advanced tools
Comparing version 4.0.0-rc.1 to 4.1.0
@@ -1,2 +0,2 @@ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@angular/core"),require("onsenui"),require("@angular/common"),require("@angular/platform-browser")):"function"==typeof define&&define.amd?define("NgxOnsenUI",["@angular/core","onsenui","@angular/common","@angular/platform-browser"],t):"object"==typeof exports?exports.NgxOnsenUI=t(require("@angular/core"),require("onsenui"),require("@angular/common"),require("@angular/platform-browser")):e.NgxOnsenUI=t(e.ng.core,e.ons,e.ng.common,e.ng.platformBrowser)}(this,function(e,t,n,r){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=21)}([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,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 o});var r=n(0),o=(n.n(r),function(){function e(e){this._elementRef=e,this._valueChange=new r.EventEmitter,this._boundOnChange=this._onChange.bind(this),this._element=e.nativeElement,this._element.addEventListener("change",this._boundOnChange)}return e.prototype._onChange=function(e){this._valueChange.emit(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("change",this._boundOnChange),this._element=null},e}());o.decorators=[{type:r.Directive,args:[{selector:"ons-input"}]}],o.ctorParameters=function(){return[{type:r.ElementRef}]},o.propDecorators={_value:[{type:r.Input,args:["value"]}],_valueChange:[{type:r.Output,args:["valueChange"]}]}},function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return i});var r=n(0),o=(n.n(r),n(2)),a=(n.n(o),function(){function e(e,t,n){this.$implicit=e,this.index=t,this.count=n}return e}()),i=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 a(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}();i.decorators=[{type:r.Directive,args:[{selector:"[onsLazyRepeat]"}]}],i.ctorParameters=function(){return[{type:r.ElementRef},{type:r.TemplateRef},{type:r.ViewContainerRef}]},i.propDecorators={onsLazyRepeatOf:[{type:r.Input}]}},function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return u});var r=n(0),o=(n.n(r),n(2)),a=(n.n(o),n(1)),i=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 a.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,i){var u=o.page,c=(o.parent,o.params);t._zone.run(function(){var o=new a.a(c||{}),s=r.ReflectiveInjector.resolveAndCreate([{provide:a.a,useValue:o},{provide:e,useValue:t}],t._injector),p=t._resolver.resolveComponentFactory(u),l=p.create(s,void 0);t._viewContainer.insert(l.hostView);var f=l.location.nativeElement;n.set(f,l),t.element.appendChild(f),i(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 o});var r=n(0),o=(n.n(r),function(){function e(e){this._elementRef=e,this._valueChange=new r.EventEmitter,this._boundOnChange=this._onChange.bind(this),this._element=e.nativeElement,this._element.addEventListener("change",this._boundOnChange)}return e.prototype._onChange=function(e){this._valueChange.emit(this._element.value)},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("change",this._boundOnChange),this._element=null},e}());o.decorators=[{type:r.Directive,args:[{selector:"ons-range"}]}],o.ctorParameters=function(){return[{type:r.ElementRef}]},o.propDecorators={_value:[{type:r.Input,args:["value"]}],_valueChange:[{type:r.Output,args:["valueChange"]}]}},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._elementRef=e,this._valueChange=new r.EventEmitter,this._boundOnChange=this._onChange.bind(this),this._element=e.nativeElement,this._element.addEventListener("change",this._boundOnChange)}return e.prototype._onChange=function(e){this._valueChange.emit(this._element.value)},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}),e.prototype.ngOnDestroy=function(){this._element.removeEventListener("change",this._boundOnChange),this._element=null},e}());o.decorators=[{type:r.Directive,args:[{selector:"ons-select"}]}],o.ctorParameters=function(){return[{type:r.ElementRef}]},o.propDecorators={_value:[{type:r.Input,args:["value"]}],_valueChange:[{type:r.Output,args:["valueChange"]}]}},function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return u});var r=n(0),o=(n.n(r),n(2)),a=(n.n(o),n(1)),i=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,i){var u=o.page,c=(o.parent,o.params);t._zone.run(function(){var o=r.ReflectiveInjector.resolveAndCreate([{provide:a.a,useValue:new a.a(c||{})},{provide:e,useValue:t}],t._injector),s=t._resolver.resolveComponentFactory(u),p=t._viewContainer.createComponent(s,0,o),l=p.location.nativeElement;n.set(l,p),t.element.appendChild(l),i(l)})},function(e){var t=n.get(e);t&&(t.destroy(),n.delete(e))})},e}();i.decorators=[{type:r.Directive,args:[{selector:"ons-splitter-side"}]}],i.ctorParameters=function(){return[{type:r.ElementRef},{type:r.ViewContainerRef},{type:r.ComponentFactoryResolver},{type:r.Injector},{type:r.NgZone}]},i.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,i){var u=o.page,c=(o.parent,o.params),s=r.ReflectiveInjector.resolveAndCreate([{provide:a.a,useValue:new a.a(c||{})},{provide:e,useValue:t}],t._injector),p=t._resolver.resolveComponentFactory(u),l=t._viewContainer.createComponent(p,0,s),f=l.location.nativeElement;n.set(f,l),t.element.appendChild(f),i(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 o});var r=n(0),o=(n.n(r),function(){function e(e){this._elementRef=e,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)},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}());o.decorators=[{type:r.Directive,args:[{selector:"ons-switch"}]}],o.ctorParameters=function(){return[{type:r.ElementRef}]},o.propDecorators={value:[{type:r.Input,args:["value"]}],_valueChange:[{type:r.Output,args:["valueChange"]}]}},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(0),o=(n.n(r),n(2)),a=(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),a=e._viewContainer.createComponent(t,0);e._pageComponent&&e._pageComponent.destroy(),e._pageComponent=a;var i=a.location.nativeElement;o.appendChild(i),n(i)})},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}());a.decorators=[{type:r.Directive,args:[{selector:"ons-tab"}]}],a.ctorParameters=function(){return[{type:r.ElementRef},{type:r.ViewContainerRef},{type:r.ComponentFactoryResolver},{type:r.NgZone}]},a.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(1)),a=n(3),i=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(a){setImmediate(function(){n._zone.run(function(){var i=n._resolver.resolveComponentFactory(e),u=r.ReflectiveInjector.resolveAndCreate([{provide:o.a,useValue:new o.a(t)}],n._injector),c=i.create(u),s=c.location.nativeElement;n._componentLoader.load(c);var p=s.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.");a({alertDialog:l,destroy:function(){return c.destroy()}})})})})},e}();i.decorators=[{type:r.Injectable}],i.ctorParameters=function(){return[{type:r.Injector},{type:r.ComponentFactoryResolver},{type:r.ApplicationRef},{type:a.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(1)),a=n(3),i=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(a){setImmediate(function(){n._zone.run(function(){var i=n._resolver.resolveComponentFactory(e),u=r.ReflectiveInjector.resolveAndCreate([{provide:o.a,useValue:new o.a(t)}],n._injector),c=i.create(u),s=c.location.nativeElement;n._componentLoader.load(c);var p=s.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.");a({dialog:l,destroy:function(){return c.destroy()}})})})})},e}();i.decorators=[{type:r.Injectable}],i.ctorParameters=function(){return[{type:r.Injector},{type:r.ComponentFactoryResolver},{type:r.ApplicationRef},{type:a.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(1)),a=n(3),i=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(a){setImmediate(function(){n._zone.run(function(){var i=n._resolver.resolveComponentFactory(e),u=r.ReflectiveInjector.resolveAndCreate([{provide:o.a,useValue:new o.a(t)}],n._injector),c=i.create(u),s=c.location.nativeElement;n._componentLoader.load(c);var p=s.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.");a({modal:l,destroy:function(){return c.destroy()}})})})})},e}();i.decorators=[{type:r.Injectable}],i.ctorParameters=function(){return[{type:r.Injector},{type:r.ComponentFactoryResolver},{type:r.ApplicationRef},{type:a.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(1)),a=n(3),i=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(a){setImmediate(function(){n._zone.run(function(){var i=n._resolver.resolveComponentFactory(e),u=r.ReflectiveInjector.resolveAndCreate([{provide:o.a,useValue:new o.a(t)}],n._injector),c=i.create(u),s=c.location.nativeElement;n._componentLoader.load(c);var p=s.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.");a({popover:l,destroy:function(){return c.destroy()}})})})})},e}();i.decorators=[{type:r.Injectable}],i.ctorParameters=function(){return[{type:r.Injector},{type:r.ComponentFactoryResolver},{type:r.ApplicationRef},{type:a.a},{type:r.NgZone}]}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(2),o=(n.n(r),r.notification)},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(2),o=(n.n(r),r.platform)},function(e,t){e.exports=n},function(e,t){e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"OnsenModule",function(){return w});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 a=n(6);n.d(t,"NavigatorPage",function(){return a.a}),n.d(t,"OnsNavigator",function(){return a.b});var i=n(12);n.d(t,"OnsTab",function(){return i.a});var u=n(11);n.d(t,"OnsSwitch",function(){return u.a});var c=n(8);n.d(t,"OnsRange",function(){return c.a});var s=n(9);n.d(t,"OnsSelect",function(){return s.a});var p=n(4);n.d(t,"OnsInput",function(){return p.a});var l=n(7);n.d(t,"OnsPullHook",function(){return l.a});var f=n(5);n.d(t,"ItemContext",function(){return f.a}),n.d(t,"OnsLazyRepeat",function(){return f.b});var m=n(10);n.d(t,"OnsSplitterSide",function(){return m.a}),n.d(t,"OnsSplitterContent",function(){return m.b});var d=n(17);n.d(t,"onsNotification",function(){return d.a});var v=n(18);n.d(t,"onsPlatform",function(){return v.a});var h=n(13);n.d(t,"AlertDialogFactory",function(){return h.a});var g=n(16);n.d(t,"PopoverFactory",function(){return g.a});var y=n(14);n.d(t,"DialogFactory",function(){return y.a});var _=n(15);n.d(t,"ModalFactory",function(){return _.a});var C=n(1);n.d(t,"Params",function(){return C.a});var b=n(19),R=(n.n(b),n(20)),O=(n.n(R),n(3)),P=[a.b,i.a,u.a,c.a,s.a,p.a,l.a,f.b,m.a,m.b],w=function(){function e(){}return e}();w.decorators=[{type:r.NgModule,args:[{imports:[R.BrowserModule,b.CommonModule],declarations:[P],exports:[P,R.BrowserModule],providers:[h.a,g.a,y.a,_.a,O.a]}]}],w.ctorParameters=function(){return[]}}])}); | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@angular/core"),require("onsenui"),require("@angular/forms"),require("@angular/common"),require("@angular/platform-browser")):"function"==typeof define&&define.amd?define("NgxOnsenUI",["@angular/core","onsenui","@angular/forms","@angular/common","@angular/platform-browser"],t):"object"==typeof exports?exports.NgxOnsenUI=t(require("@angular/core"),require("onsenui"),require("@angular/forms"),require("@angular/common"),require("@angular/platform-browser")):e.NgxOnsenUI=t(e.ng.core,e.ons,e.ng.forms,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,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 o});var r=n(0),o=(n.n(r),function(){function e(e){this._elementRef=e,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)},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}());o.decorators=[{type:r.Directive,args:[{selector:"ons-input"}]}],o.ctorParameters=function(){return[{type:r.ElementRef}]},o.propDecorators={_value:[{type:r.Input,args:["value"]}],_valueChange:[{type:r.Output,args:["valueChange"]}]}},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(2)),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(2)),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 o});var r=n(0),o=(n.n(r),function(){function e(e){this._elementRef=e,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)},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}());o.decorators=[{type:r.Directive,args:[{selector:"ons-range"}]}],o.ctorParameters=function(){return[{type:r.ElementRef}]},o.propDecorators={_value:[{type:r.Input,args:["value"]}],_valueChange:[{type:r.Output,args:["valueChange"]}]}},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(0),o=(n.n(r),n(17)),i=(n.n(o),n(2)),a=(n.n(i),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){var t=this;i._contentReady(this._element,function(){t._element.value=e})},e.prototype.registerOnChange=function(e){this._propagateChange=e},e.prototype.registerOnTouched=function(){},e}());a.decorators=[{type:r.Directive,args:[{selector:"ons-select",providers:[{provide:o.NG_VALUE_ACCESSOR,useExisting:n.i(r.forwardRef)(function(){return a}),multi:!0}]}]}],a.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(2)),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 o});var r=n(0),o=(n.n(r),function(){function e(e){this._elementRef=e,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)},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}());o.decorators=[{type:r.Directive,args:[{selector:"ons-switch"}]}],o.ctorParameters=function(){return[{type:r.ElementRef}]},o.propDecorators={value:[{type:r.Input,args:["value"]}],_valueChange:[{type:r.Output,args:["valueChange"]}]}},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,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(3),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(3),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(3),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(3),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){e.exports=n},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(0),o=(n.n(r),n(17)),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(17)),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 o});var r=n(0),o=(n.n(r),function(){function e(e){this._elementRef=e,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)},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}());o.decorators=[{type:r.Directive,args:[{selector:"ons-search-input"}]}],o.ctorParameters=function(){return[{type:r.ElementRef}]},o.propDecorators={_value:[{type:r.Input,args:["value"]}],_valueChange:[{type:r.Output,args:["valueChange"]}]}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(2),o=(n.n(r),r.notification)},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(2),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 L});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(6);n.d(t,"NavigatorPage",function(){return i.a}),n.d(t,"OnsNavigator",function(){return i.b});var a=n(12);n.d(t,"OnsTab",function(){return a.a});var u=n(11);n.d(t,"OnsSwitch",function(){return u.a});var s=n(8);n.d(t,"OnsRange",function(){return s.a});var c=n(9);n.d(t,"OnsSelect",function(){return c.a});var p=n(4);n.d(t,"OnsInput",function(){return p.a});var l=n(7);n.d(t,"OnsPullHook",function(){return l.a});var f=n(5);n.d(t,"ItemContext",function(){return f.a}),n.d(t,"OnsLazyRepeat",function(){return f.b});var h=n(10);n.d(t,"OnsSplitterSide",function(){return h.a}),n.d(t,"OnsSplitterContent",function(){return h.b});var m=n(21);n.d(t,"onsNotification",function(){return m.a});var d=n(22);n.d(t,"onsPlatform",function(){return d.a});var g=n(13);n.d(t,"AlertDialogFactory",function(){return g.a});var v=n(16);n.d(t,"PopoverFactory",function(){return v.a});var _=n(14);n.d(t,"DialogFactory",function(){return _.a});var y=n(15);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),P=n(19),w=n(3),j=[i.b,a.a,u.a,s.a,c.a,p.a,R.a,E.a,P.a,l.a,f.b,h.a,h.b],L=function(){function e(){}return e}();L.decorators=[{type:r.NgModule,args:[{imports:[O.BrowserModule,b.CommonModule],declarations:[j],exports:[j,O.BrowserModule],providers:[g.a,v.a,_.a,y.a,w.a]}]}],L.ctorParameters=function(){return[]}}])}); | ||
//# sourceMappingURL=dist/bundles/ngx-onsenui.umd.min.js.map |
CHANGELOG | ||
==== | ||
4.1.0 | ||
---- | ||
### New Features | ||
* Supported features added in Onsen UI 2.4.x. Added `OnsRadio`, `OnsCheckbox` and `OnsSearchInput` directives. | ||
* Supported features added in Onsen UI 2.5.x. | ||
### Bug Fixes | ||
* OnsSelect: Support `NgModel` correctly. | ||
### Misc | ||
* Added `@angular/forms` as a new dependency. | ||
* OnsInput: `valueChange` event now fires whenever `input` event fires in the inner `<ons-input>` element. | ||
* OnsRange: `valueChange` event now fires whenever `input` event fires in the inner `<ons-input>` element. | ||
### BREAKING CHANGES | ||
* OnsInput: It has been split into different directives: `OnsInput` for text types; `OnsCheckbox` for checkboxes; `OnsRadio` for radio buttons; and `OnsSearchInput` for styled search inputs. | ||
* `<ons-input type="radio" checked>` => `<ons-radio checked>` | ||
4.0.0-rc.1 | ||
@@ -5,0 +28,0 @@ ---- |
@@ -7,4 +7,4 @@ import { ElementRef, EventEmitter, OnChanges, OnDestroy, SimpleChange } from '@angular/core'; | ||
* @description | ||
* [en]Angular 2 directive for `<ons-input>` component.[/en] | ||
* [ja]`<ons-input>`要素のAngular 2ディレクティブです。[/ja] | ||
* [en]Angular directive for `<ons-input>` component.[/en] | ||
* [ja]`<ons-input>`要素のAngularディレクティブです。[/ja] | ||
* @example | ||
@@ -11,0 +11,0 @@ * <ons-input [(value)]="value"></ons-input> |
@@ -7,4 +7,4 @@ import { Directive, ElementRef, Input, Output, EventEmitter } from '@angular/core'; | ||
* @description | ||
* [en]Angular 2 directive for `<ons-input>` component.[/en] | ||
* [ja]`<ons-input>`要素のAngular 2ディレクティブです。[/ja] | ||
* [en]Angular directive for `<ons-input>` component.[/en] | ||
* [ja]`<ons-input>`要素のAngularディレクティブです。[/ja] | ||
* @example | ||
@@ -26,3 +26,3 @@ * <ons-input [(value)]="value"></ons-input> | ||
this._element = _elementRef.nativeElement; | ||
this._element.addEventListener('change', this._boundOnChange); | ||
this._element.addEventListener('input', this._boundOnChange); | ||
} | ||
@@ -53,3 +53,3 @@ OnsInput.prototype._onChange = function (event) { | ||
OnsInput.prototype.ngOnDestroy = function () { | ||
this._element.removeEventListener('change', this._boundOnChange); | ||
this._element.removeEventListener('input', this._boundOnChange); | ||
this._element = null; | ||
@@ -56,0 +56,0 @@ }; |
@@ -13,4 +13,4 @@ import { ElementRef, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core'; | ||
* @description | ||
* [en]Angular 2 directive for `<ons-lazy-repeat>` component.[/en] | ||
* [en]`<ons-lazy-repeat>`要素と同じ機能を提供するAngular 2ディレクティブです。[/en] | ||
* [en]Angular directive for `<ons-lazy-repeat>` component.[/en] | ||
* [en]`<ons-lazy-repeat>`要素と同じ機能を提供するAngularディレクティブです。[/en] | ||
* @example | ||
@@ -34,3 +34,3 @@ * <ons-list> | ||
* @desc | ||
* [en]Render infinite lists with "let of" syntax in Angular 2.[/en] | ||
* [en]Render infinite lists with "let of" syntax in Angular.[/en] | ||
* [ja]let of式を指定します。[/ja] | ||
@@ -37,0 +37,0 @@ * @example |
@@ -17,4 +17,4 @@ import { Directive, ElementRef, Input, TemplateRef, ViewContainerRef } from '@angular/core'; | ||
* @description | ||
* [en]Angular 2 directive for `<ons-lazy-repeat>` component.[/en] | ||
* [en]`<ons-lazy-repeat>`要素と同じ機能を提供するAngular 2ディレクティブです。[/en] | ||
* [en]Angular directive for `<ons-lazy-repeat>` component.[/en] | ||
* [en]`<ons-lazy-repeat>`要素と同じ機能を提供するAngularディレクティブです。[/en] | ||
* @example | ||
@@ -37,3 +37,3 @@ * <ons-list> | ||
* @desc | ||
* [en]Render infinite lists with "let of" syntax in Angular 2.[/en] | ||
* [en]Render infinite lists with "let of" syntax in Angular.[/en] | ||
* [ja]let of式を指定します。[/ja] | ||
@@ -40,0 +40,0 @@ * @example |
@@ -17,4 +17,4 @@ import { Injector, ElementRef, Type, ComponentFactoryResolver, ViewContainerRef, OnDestroy, NgZone } from '@angular/core'; | ||
* @description | ||
* [en]Angular 2 directive for `<ons-navigator>` component.[/en] | ||
* [ja]`<ons-navigator>`要素のAngular 2ディレクティブです。[/ja] | ||
* [en]Angular directive for `<ons-navigator>` component.[/en] | ||
* [ja]`<ons-navigator>`要素のAngularディレクティブです。[/ja] | ||
* @example | ||
@@ -21,0 +21,0 @@ * @Component({ |
@@ -24,4 +24,4 @@ import { Injector, ReflectiveInjector, Directive, ElementRef, ComponentFactoryResolver, Input, ViewContainerRef, NgZone } from '@angular/core'; | ||
* @description | ||
* [en]Angular 2 directive for `<ons-navigator>` component.[/en] | ||
* [ja]`<ons-navigator>`要素のAngular 2ディレクティブです。[/ja] | ||
* [en]Angular directive for `<ons-navigator>` component.[/en] | ||
* [ja]`<ons-navigator>`要素のAngularディレクティブです。[/ja] | ||
* @example | ||
@@ -28,0 +28,0 @@ * @Component({ |
@@ -7,3 +7,3 @@ import { ElementRef, OnDestroy, EventEmitter } from '@angular/core'; | ||
* @description | ||
* [en]Angular 2 directive for `<ons-pull-hook>` component.[/en] | ||
* [en]Angular directive for `<ons-pull-hook>` component.[/en] | ||
* [ja]`<ons-pull-hook>`要素のためのAngular2ディレクティブです。[/ja] | ||
@@ -10,0 +10,0 @@ * @example |
@@ -7,3 +7,3 @@ import { Directive, ElementRef, Output, EventEmitter } from '@angular/core'; | ||
* @description | ||
* [en]Angular 2 directive for `<ons-pull-hook>` component.[/en] | ||
* [en]Angular directive for `<ons-pull-hook>` component.[/en] | ||
* [ja]`<ons-pull-hook>`要素のためのAngular2ディレクティブです。[/ja] | ||
@@ -10,0 +10,0 @@ * @example |
@@ -7,9 +7,6 @@ import { ElementRef, EventEmitter, OnChanges, OnDestroy, SimpleChange } from '@angular/core'; | ||
* @description | ||
* [en]Angular 2 directive for `<ons-range>` component.[/en] | ||
* [ja]`<ons-range>`要素のAngular 2ディレクティブです。[/en] | ||
* [en]Angular directive for `<ons-range>` component.[/en] | ||
* [ja]`<ons-range>`要素のAngularディレクティブです。[/en] | ||
* @example | ||
* <ons-range [(value)]="foo"></ons-range><br> | ||
* | ||
* <!-- Add (input) to change immediately on dragging range component --> | ||
* <ons-range [(value)]="bar" (input)="bar = $event.target.value"></ons-range> | ||
* <ons-range [(value)]="foo"></ons-range> | ||
*/ | ||
@@ -16,0 +13,0 @@ export declare class OnsRange implements OnChanges, OnDestroy { |
@@ -7,9 +7,6 @@ import { Directive, ElementRef, Input, Output, EventEmitter } from '@angular/core'; | ||
* @description | ||
* [en]Angular 2 directive for `<ons-range>` component.[/en] | ||
* [ja]`<ons-range>`要素のAngular 2ディレクティブです。[/en] | ||
* [en]Angular directive for `<ons-range>` component.[/en] | ||
* [ja]`<ons-range>`要素のAngularディレクティブです。[/en] | ||
* @example | ||
* <ons-range [(value)]="foo"></ons-range><br> | ||
* | ||
* <!-- Add (input) to change immediately on dragging range component --> | ||
* <ons-range [(value)]="bar" (input)="bar = $event.target.value"></ons-range> | ||
* <ons-range [(value)]="foo"></ons-range> | ||
*/ | ||
@@ -29,3 +26,3 @@ var OnsRange = (function () { | ||
this._element = _elementRef.nativeElement; | ||
this._element.addEventListener('change', this._boundOnChange); | ||
this._element.addEventListener('input', this._boundOnChange); | ||
} | ||
@@ -54,3 +51,3 @@ OnsRange.prototype._onChange = function (event) { | ||
OnsRange.prototype.ngOnDestroy = function () { | ||
this._element.removeEventListener('change', this._boundOnChange); | ||
this._element.removeEventListener('input', this._boundOnChange); | ||
this._element = null; | ||
@@ -57,0 +54,0 @@ }; |
@@ -1,2 +0,3 @@ | ||
import { ElementRef, EventEmitter, OnChanges, OnDestroy, SimpleChange } from '@angular/core'; | ||
import { ElementRef, OnDestroy } from '@angular/core'; | ||
import { ControlValueAccessor } from '@angular/forms'; | ||
/** | ||
@@ -7,38 +8,24 @@ * @element ons-select | ||
* @description | ||
* [en]Angular 2 directive for `<ons-select>` component.[/en] | ||
* [ja]`<ons-select>`要素のAngular 2ディレクティブです。[/en] | ||
* [en]Angular directive for `<ons-select>` component.[/en] | ||
* [ja]`<ons-select>`要素のAngularディレクティブです。[/en] | ||
* @example | ||
* <ons-select> | ||
* <option value="basic">Basic</option> | ||
* <option value="material">Material</option> | ||
* <option value="underbar">Underbar</option> | ||
* </ons-select><br> | ||
* <ons-select [(ngModel)]="selectedValue"> | ||
* <option value="Item A">Item A</option> | ||
* <option value="Item B">Item B</option> | ||
* <option value="Item C">Item C</option> | ||
* </ons-select> | ||
*/ | ||
export declare class OnsSelect implements OnChanges, OnDestroy { | ||
export declare class OnsSelect implements OnDestroy, ControlValueAccessor { | ||
private _elementRef; | ||
private _element; | ||
private _boundOnChange; | ||
/** | ||
* @input value | ||
* @type {string} | ||
* @desc | ||
* [en]Input value of the `<ons-select>` element..[/en] | ||
* [ja]`ons-select`要素に対する入力値を指定します。[/ja] | ||
*/ | ||
_value: string; | ||
/** | ||
* @output valueChange | ||
* @type {string} | ||
* @desc | ||
* [en]Triggers when the value is changed.[/en] | ||
* [ja]値が変更された時に発火します。[/ja] | ||
*/ | ||
_valueChange: EventEmitter<string>; | ||
private _propagateChange; | ||
constructor(_elementRef: ElementRef); | ||
_onChange(event: any): void; | ||
ngOnChanges(changeRecord: { | ||
[key: string]: SimpleChange; | ||
}): void; | ||
readonly element: any; | ||
readonly nativeElement: any; | ||
ngOnDestroy(): void; | ||
writeValue(obj: any): void; | ||
registerOnChange(fn: any): void; | ||
registerOnTouched(): void; | ||
} |
@@ -1,2 +0,4 @@ | ||
import { Directive, ElementRef, Input, Output, EventEmitter } from '@angular/core'; | ||
import { Directive, ElementRef, forwardRef } from '@angular/core'; | ||
import { NG_VALUE_ACCESSOR } from '@angular/forms'; | ||
import * as ons from 'onsenui'; | ||
/** | ||
@@ -7,10 +9,10 @@ * @element ons-select | ||
* @description | ||
* [en]Angular 2 directive for `<ons-select>` component.[/en] | ||
* [ja]`<ons-select>`要素のAngular 2ディレクティブです。[/en] | ||
* [en]Angular directive for `<ons-select>` component.[/en] | ||
* [ja]`<ons-select>`要素のAngularディレクティブです。[/en] | ||
* @example | ||
* <ons-select> | ||
* <option value="basic">Basic</option> | ||
* <option value="material">Material</option> | ||
* <option value="underbar">Underbar</option> | ||
* </ons-select><br> | ||
* <ons-select [(ngModel)]="selectedValue"> | ||
* <option value="Item A">Item A</option> | ||
* <option value="Item B">Item B</option> | ||
* <option value="Item C">Item C</option> | ||
* </ons-select> | ||
*/ | ||
@@ -20,10 +22,3 @@ var OnsSelect = (function () { | ||
this._elementRef = _elementRef; | ||
/** | ||
* @output valueChange | ||
* @type {string} | ||
* @desc | ||
* [en]Triggers when the value is changed.[/en] | ||
* [ja]値が変更された時に発火します。[/ja] | ||
*/ | ||
this._valueChange = new EventEmitter(); | ||
this._propagateChange = function (_) { }; | ||
this._boundOnChange = this._onChange.bind(this); | ||
@@ -34,8 +29,4 @@ this._element = _elementRef.nativeElement; | ||
OnsSelect.prototype._onChange = function (event) { | ||
this._valueChange.emit(this._element.value); | ||
this._propagateChange(event.target.value); | ||
}; | ||
OnsSelect.prototype.ngOnChanges = function (changeRecord) { | ||
var value = changeRecord['_value'].currentValue; | ||
this._element.value = value; | ||
}; | ||
Object.defineProperty(OnsSelect.prototype, "element", { | ||
@@ -48,2 +39,9 @@ get: function () { | ||
}); | ||
Object.defineProperty(OnsSelect.prototype, "nativeElement", { | ||
get: function () { | ||
return this._element; | ||
}, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
OnsSelect.prototype.ngOnDestroy = function () { | ||
@@ -53,2 +51,14 @@ this._element.removeEventListener('change', this._boundOnChange); | ||
}; | ||
OnsSelect.prototype.writeValue = function (obj) { | ||
var _this = this; | ||
// When this statement is first evaluated, the inner <select> element is not ready, | ||
// so contentReady is required in this case | ||
ons._contentReady(this._element, function () { | ||
_this._element.value = obj; | ||
}); | ||
}; | ||
OnsSelect.prototype.registerOnChange = function (fn) { | ||
this._propagateChange = fn; | ||
}; | ||
OnsSelect.prototype.registerOnTouched = function () { }; | ||
return OnsSelect; | ||
@@ -59,3 +69,10 @@ }()); | ||
{ type: Directive, args: [{ | ||
selector: 'ons-select' | ||
selector: 'ons-select', | ||
providers: [ | ||
{ | ||
provide: NG_VALUE_ACCESSOR, | ||
useExisting: forwardRef(function () { return OnsSelect; }), | ||
multi: true, | ||
} | ||
] | ||
},] }, | ||
@@ -67,6 +84,2 @@ ]; | ||
]; }; | ||
OnsSelect.propDecorators = { | ||
'_value': [{ type: Input, args: ['value',] },], | ||
'_valueChange': [{ type: Output, args: ['valueChange',] },], | ||
}; | ||
//# sourceMappingURL=ons-select.js.map |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"OnsSelect":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"ons-select"}]}],"members":{"_value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["value"]}]}],"_valueChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"},"arguments":["valueChange"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"}]}],"_onChange":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"OnsSelect":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"ons-select"}]}],"members":{"_value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["value"]}]}],"_valueChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"},"arguments":["valueChange"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"}]}],"_onChange":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"OnsSelect":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"ons-select","providers":[{"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALUE_ACCESSOR"},"useExisting":{"__symbolic":"reference","name":"OnsSelect"},"multi":true}]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"}]}],"_onChange":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"writeValue":[{"__symbolic":"method"}],"registerOnChange":[{"__symbolic":"method"}],"registerOnTouched":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"OnsSelect":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"ons-select","providers":[{"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALUE_ACCESSOR"},"useExisting":{"__symbolic":"reference","name":"OnsSelect"},"multi":true}]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"}]}],"_onChange":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"writeValue":[{"__symbolic":"method"}],"registerOnChange":[{"__symbolic":"method"}],"registerOnTouched":[{"__symbolic":"method"}]}}}}] |
@@ -8,4 +8,4 @@ import { Type, Injector, ElementRef, ViewContainerRef, ComponentFactoryResolver, NgZone } from '@angular/core'; | ||
* @description | ||
* [ja]`<ons-splitter-side>`要素のAngular 2ディレクティブです。[/ja] | ||
* [en]Angular 2 directive for `<ons-splitter-side>` component.[/en] | ||
* [ja]`<ons-splitter-side>`要素のAngularディレクティブです。[/ja] | ||
* [en]Angular directive for `<ons-splitter-side>` component.[/en] | ||
* @example | ||
@@ -65,3 +65,3 @@ * @Component({ | ||
* [ja]`<ons-splitter-content>`要素のためのAngular2 ディレクティブです。[/ja] | ||
* [en]Angular 2 directive for `<ons-splitter-content>` component.[/en] | ||
* [en]Angular directive for `<ons-splitter-content>` component.[/en] | ||
*/ | ||
@@ -68,0 +68,0 @@ export declare class OnsSplitterContent { |
@@ -9,4 +9,4 @@ import { Injector, Directive, ElementRef, Input, ReflectiveInjector, ViewContainerRef, ComponentFactoryResolver, NgZone } from '@angular/core'; | ||
* @description | ||
* [ja]`<ons-splitter-side>`要素のAngular 2ディレクティブです。[/ja] | ||
* [en]Angular 2 directive for `<ons-splitter-side>` component.[/en] | ||
* [ja]`<ons-splitter-side>`要素のAngularディレクティブです。[/ja] | ||
* [en]Angular directive for `<ons-splitter-side>` component.[/en] | ||
* @example | ||
@@ -128,3 +128,3 @@ * @Component({ | ||
* [ja]`<ons-splitter-content>`要素のためのAngular2 ディレクティブです。[/ja] | ||
* [en]Angular 2 directive for `<ons-splitter-content>` component.[/en] | ||
* [en]Angular directive for `<ons-splitter-content>` component.[/en] | ||
*/ | ||
@@ -131,0 +131,0 @@ var OnsSplitterContent = (function () { |
@@ -7,4 +7,4 @@ import { ElementRef, EventEmitter, OnChanges, OnDestroy, SimpleChanges } from '@angular/core'; | ||
* @description | ||
* [en]Angular 2 directive for `<ons-switch>` component.[/en] | ||
* [ja]`<ons-switch>`要素のAngular 2ディレクティブです。[/ja] | ||
* [en]Angular directive for `<ons-switch>` component.[/en] | ||
* [ja]`<ons-switch>`要素のAngularディレクティブです。[/ja] | ||
* @example | ||
@@ -11,0 +11,0 @@ * <ons-switch [(value)]="target"></ons-switch> |
@@ -7,4 +7,4 @@ import { Directive, ElementRef, Input, Output, EventEmitter } from '@angular/core'; | ||
* @description | ||
* [en]Angular 2 directive for `<ons-switch>` component.[/en] | ||
* [ja]`<ons-switch>`要素のAngular 2ディレクティブです。[/ja] | ||
* [en]Angular directive for `<ons-switch>` component.[/en] | ||
* [ja]`<ons-switch>`要素のAngularディレクティブです。[/ja] | ||
* @example | ||
@@ -11,0 +11,0 @@ * <ons-switch [(value)]="target"></ons-switch> |
@@ -7,3 +7,3 @@ import { ViewContainerRef, ComponentFactoryResolver, ElementRef, Type, OnDestroy, NgZone } from '@angular/core'; | ||
* @description | ||
* [en]Angular 2 directive for `<ons-tab>` component.[/en] | ||
* [en]Angular directive for `<ons-tab>` component.[/en] | ||
* [ja]`<ons-tab>`要素のためのディレクティブです。[/ja] | ||
@@ -10,0 +10,0 @@ * @example |
@@ -8,3 +8,3 @@ import { ViewContainerRef, ComponentFactoryResolver, Directive, ElementRef, Input, NgZone } from '@angular/core'; | ||
* @description | ||
* [en]Angular 2 directive for `<ons-tab>` component.[/en] | ||
* [en]Angular directive for `<ons-tab>` component.[/en] | ||
* [ja]`<ons-tab>`要素のためのディレクティブです。[/ja] | ||
@@ -11,0 +11,0 @@ * @example |
@@ -27,2 +27,5 @@ export * from '@angular/core'; | ||
import { OnsInput } from './directives/ons-input'; | ||
import { OnsSearchInput } from './directives/ons-search-input'; | ||
import { OnsCheckbox } from './directives/ons-checkbox'; | ||
import { OnsRadio } from './directives/ons-radio'; | ||
import { OnsPullHook } from './directives/ons-pull-hook'; | ||
@@ -43,2 +46,5 @@ import { OnsLazyRepeat } from './directives/ons-lazy-repeat'; | ||
OnsInput, | ||
OnsSearchInput, | ||
OnsCheckbox, | ||
OnsRadio, | ||
OnsPullHook, | ||
@@ -45,0 +51,0 @@ OnsLazyRepeat, |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"OnsenModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/platform-browser","name":"BrowserModule"},{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"}],"declarations":[[{"__symbolic":"reference","module":"./directives/ons-navigator","name":"OnsNavigator"},{"__symbolic":"reference","module":"./directives/ons-tabbar","name":"OnsTab"},{"__symbolic":"reference","module":"./directives/ons-switch","name":"OnsSwitch"},{"__symbolic":"reference","module":"./directives/ons-range","name":"OnsRange"},{"__symbolic":"reference","module":"./directives/ons-select","name":"OnsSelect"},{"__symbolic":"reference","module":"./directives/ons-input","name":"OnsInput"},{"__symbolic":"reference","module":"./directives/ons-pull-hook","name":"OnsPullHook"},{"__symbolic":"reference","module":"./directives/ons-lazy-repeat","name":"OnsLazyRepeat"},{"__symbolic":"reference","module":"./directives/ons-splitter","name":"OnsSplitterSide"},{"__symbolic":"reference","module":"./directives/ons-splitter","name":"OnsSplitterContent"}]],"exports":[[{"__symbolic":"reference","module":"./directives/ons-navigator","name":"OnsNavigator"},{"__symbolic":"reference","module":"./directives/ons-tabbar","name":"OnsTab"},{"__symbolic":"reference","module":"./directives/ons-switch","name":"OnsSwitch"},{"__symbolic":"reference","module":"./directives/ons-range","name":"OnsRange"},{"__symbolic":"reference","module":"./directives/ons-select","name":"OnsSelect"},{"__symbolic":"reference","module":"./directives/ons-input","name":"OnsInput"},{"__symbolic":"reference","module":"./directives/ons-pull-hook","name":"OnsPullHook"},{"__symbolic":"reference","module":"./directives/ons-lazy-repeat","name":"OnsLazyRepeat"},{"__symbolic":"reference","module":"./directives/ons-splitter","name":"OnsSplitterSide"},{"__symbolic":"reference","module":"./directives/ons-splitter","name":"OnsSplitterContent"}],{"__symbolic":"reference","module":"@angular/platform-browser","name":"BrowserModule"}],"providers":[{"__symbolic":"reference","module":"./ons/alert-dialog-factory","name":"AlertDialogFactory"},{"__symbolic":"reference","module":"./ons/popover-factory","name":"PopoverFactory"},{"__symbolic":"reference","module":"./ons/dialog-factory","name":"DialogFactory"},{"__symbolic":"reference","module":"./ons/modal-factory","name":"ModalFactory"},{"__symbolic":"reference","module":"./ons/component-loader","name":"ComponentLoader"}]}]}]}},"exports":[{"from":"@angular/core"},{"from":"./directives/ons-navigator"},{"from":"./directives/ons-tabbar"},{"from":"./directives/ons-switch"},{"from":"./directives/ons-range"},{"from":"./directives/ons-select"},{"from":"./directives/ons-input"},{"from":"./directives/ons-pull-hook"},{"from":"./directives/ons-lazy-repeat"},{"from":"./directives/ons-splitter"},{"from":"./ons/notification"},{"from":"./ons/platform"},{"from":"./ons/alert-dialog-factory"},{"from":"./ons/popover-factory"},{"from":"./ons/dialog-factory"},{"from":"./ons/modal-factory"},{"from":"./ons/params"}]},{"__symbolic":"module","version":1,"metadata":{"OnsenModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/platform-browser","name":"BrowserModule"},{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"}],"declarations":[[{"__symbolic":"reference","module":"./directives/ons-navigator","name":"OnsNavigator"},{"__symbolic":"reference","module":"./directives/ons-tabbar","name":"OnsTab"},{"__symbolic":"reference","module":"./directives/ons-switch","name":"OnsSwitch"},{"__symbolic":"reference","module":"./directives/ons-range","name":"OnsRange"},{"__symbolic":"reference","module":"./directives/ons-select","name":"OnsSelect"},{"__symbolic":"reference","module":"./directives/ons-input","name":"OnsInput"},{"__symbolic":"reference","module":"./directives/ons-pull-hook","name":"OnsPullHook"},{"__symbolic":"reference","module":"./directives/ons-lazy-repeat","name":"OnsLazyRepeat"},{"__symbolic":"reference","module":"./directives/ons-splitter","name":"OnsSplitterSide"},{"__symbolic":"reference","module":"./directives/ons-splitter","name":"OnsSplitterContent"}]],"exports":[[{"__symbolic":"reference","module":"./directives/ons-navigator","name":"OnsNavigator"},{"__symbolic":"reference","module":"./directives/ons-tabbar","name":"OnsTab"},{"__symbolic":"reference","module":"./directives/ons-switch","name":"OnsSwitch"},{"__symbolic":"reference","module":"./directives/ons-range","name":"OnsRange"},{"__symbolic":"reference","module":"./directives/ons-select","name":"OnsSelect"},{"__symbolic":"reference","module":"./directives/ons-input","name":"OnsInput"},{"__symbolic":"reference","module":"./directives/ons-pull-hook","name":"OnsPullHook"},{"__symbolic":"reference","module":"./directives/ons-lazy-repeat","name":"OnsLazyRepeat"},{"__symbolic":"reference","module":"./directives/ons-splitter","name":"OnsSplitterSide"},{"__symbolic":"reference","module":"./directives/ons-splitter","name":"OnsSplitterContent"}],{"__symbolic":"reference","module":"@angular/platform-browser","name":"BrowserModule"}],"providers":[{"__symbolic":"reference","module":"./ons/alert-dialog-factory","name":"AlertDialogFactory"},{"__symbolic":"reference","module":"./ons/popover-factory","name":"PopoverFactory"},{"__symbolic":"reference","module":"./ons/dialog-factory","name":"DialogFactory"},{"__symbolic":"reference","module":"./ons/modal-factory","name":"ModalFactory"},{"__symbolic":"reference","module":"./ons/component-loader","name":"ComponentLoader"}]}]}]}},"exports":[{"from":"@angular/core"},{"from":"./directives/ons-navigator"},{"from":"./directives/ons-tabbar"},{"from":"./directives/ons-switch"},{"from":"./directives/ons-range"},{"from":"./directives/ons-select"},{"from":"./directives/ons-input"},{"from":"./directives/ons-pull-hook"},{"from":"./directives/ons-lazy-repeat"},{"from":"./directives/ons-splitter"},{"from":"./ons/notification"},{"from":"./ons/platform"},{"from":"./ons/alert-dialog-factory"},{"from":"./ons/popover-factory"},{"from":"./ons/dialog-factory"},{"from":"./ons/modal-factory"},{"from":"./ons/params"}]}] | ||
[{"__symbolic":"module","version":3,"metadata":{"OnsenModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/platform-browser","name":"BrowserModule"},{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"}],"declarations":[[{"__symbolic":"reference","module":"./directives/ons-navigator","name":"OnsNavigator"},{"__symbolic":"reference","module":"./directives/ons-tabbar","name":"OnsTab"},{"__symbolic":"reference","module":"./directives/ons-switch","name":"OnsSwitch"},{"__symbolic":"reference","module":"./directives/ons-range","name":"OnsRange"},{"__symbolic":"reference","module":"./directives/ons-select","name":"OnsSelect"},{"__symbolic":"reference","module":"./directives/ons-input","name":"OnsInput"},{"__symbolic":"reference","module":"./directives/ons-search-input","name":"OnsSearchInput"},{"__symbolic":"reference","module":"./directives/ons-checkbox","name":"OnsCheckbox"},{"__symbolic":"reference","module":"./directives/ons-radio","name":"OnsRadio"},{"__symbolic":"reference","module":"./directives/ons-pull-hook","name":"OnsPullHook"},{"__symbolic":"reference","module":"./directives/ons-lazy-repeat","name":"OnsLazyRepeat"},{"__symbolic":"reference","module":"./directives/ons-splitter","name":"OnsSplitterSide"},{"__symbolic":"reference","module":"./directives/ons-splitter","name":"OnsSplitterContent"}]],"exports":[[{"__symbolic":"reference","module":"./directives/ons-navigator","name":"OnsNavigator"},{"__symbolic":"reference","module":"./directives/ons-tabbar","name":"OnsTab"},{"__symbolic":"reference","module":"./directives/ons-switch","name":"OnsSwitch"},{"__symbolic":"reference","module":"./directives/ons-range","name":"OnsRange"},{"__symbolic":"reference","module":"./directives/ons-select","name":"OnsSelect"},{"__symbolic":"reference","module":"./directives/ons-input","name":"OnsInput"},{"__symbolic":"reference","module":"./directives/ons-search-input","name":"OnsSearchInput"},{"__symbolic":"reference","module":"./directives/ons-checkbox","name":"OnsCheckbox"},{"__symbolic":"reference","module":"./directives/ons-radio","name":"OnsRadio"},{"__symbolic":"reference","module":"./directives/ons-pull-hook","name":"OnsPullHook"},{"__symbolic":"reference","module":"./directives/ons-lazy-repeat","name":"OnsLazyRepeat"},{"__symbolic":"reference","module":"./directives/ons-splitter","name":"OnsSplitterSide"},{"__symbolic":"reference","module":"./directives/ons-splitter","name":"OnsSplitterContent"}],{"__symbolic":"reference","module":"@angular/platform-browser","name":"BrowserModule"}],"providers":[{"__symbolic":"reference","module":"./ons/alert-dialog-factory","name":"AlertDialogFactory"},{"__symbolic":"reference","module":"./ons/popover-factory","name":"PopoverFactory"},{"__symbolic":"reference","module":"./ons/dialog-factory","name":"DialogFactory"},{"__symbolic":"reference","module":"./ons/modal-factory","name":"ModalFactory"},{"__symbolic":"reference","module":"./ons/component-loader","name":"ComponentLoader"}]}]}]}},"exports":[{"from":"@angular/core"},{"from":"./directives/ons-navigator"},{"from":"./directives/ons-tabbar"},{"from":"./directives/ons-switch"},{"from":"./directives/ons-range"},{"from":"./directives/ons-select"},{"from":"./directives/ons-input"},{"from":"./directives/ons-pull-hook"},{"from":"./directives/ons-lazy-repeat"},{"from":"./directives/ons-splitter"},{"from":"./ons/notification"},{"from":"./ons/platform"},{"from":"./ons/alert-dialog-factory"},{"from":"./ons/popover-factory"},{"from":"./ons/dialog-factory"},{"from":"./ons/modal-factory"},{"from":"./ons/params"}]},{"__symbolic":"module","version":1,"metadata":{"OnsenModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/platform-browser","name":"BrowserModule"},{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"}],"declarations":[[{"__symbolic":"reference","module":"./directives/ons-navigator","name":"OnsNavigator"},{"__symbolic":"reference","module":"./directives/ons-tabbar","name":"OnsTab"},{"__symbolic":"reference","module":"./directives/ons-switch","name":"OnsSwitch"},{"__symbolic":"reference","module":"./directives/ons-range","name":"OnsRange"},{"__symbolic":"reference","module":"./directives/ons-select","name":"OnsSelect"},{"__symbolic":"reference","module":"./directives/ons-input","name":"OnsInput"},{"__symbolic":"reference","module":"./directives/ons-search-input","name":"OnsSearchInput"},{"__symbolic":"reference","module":"./directives/ons-checkbox","name":"OnsCheckbox"},{"__symbolic":"reference","module":"./directives/ons-radio","name":"OnsRadio"},{"__symbolic":"reference","module":"./directives/ons-pull-hook","name":"OnsPullHook"},{"__symbolic":"reference","module":"./directives/ons-lazy-repeat","name":"OnsLazyRepeat"},{"__symbolic":"reference","module":"./directives/ons-splitter","name":"OnsSplitterSide"},{"__symbolic":"reference","module":"./directives/ons-splitter","name":"OnsSplitterContent"}]],"exports":[[{"__symbolic":"reference","module":"./directives/ons-navigator","name":"OnsNavigator"},{"__symbolic":"reference","module":"./directives/ons-tabbar","name":"OnsTab"},{"__symbolic":"reference","module":"./directives/ons-switch","name":"OnsSwitch"},{"__symbolic":"reference","module":"./directives/ons-range","name":"OnsRange"},{"__symbolic":"reference","module":"./directives/ons-select","name":"OnsSelect"},{"__symbolic":"reference","module":"./directives/ons-input","name":"OnsInput"},{"__symbolic":"reference","module":"./directives/ons-search-input","name":"OnsSearchInput"},{"__symbolic":"reference","module":"./directives/ons-checkbox","name":"OnsCheckbox"},{"__symbolic":"reference","module":"./directives/ons-radio","name":"OnsRadio"},{"__symbolic":"reference","module":"./directives/ons-pull-hook","name":"OnsPullHook"},{"__symbolic":"reference","module":"./directives/ons-lazy-repeat","name":"OnsLazyRepeat"},{"__symbolic":"reference","module":"./directives/ons-splitter","name":"OnsSplitterSide"},{"__symbolic":"reference","module":"./directives/ons-splitter","name":"OnsSplitterContent"}],{"__symbolic":"reference","module":"@angular/platform-browser","name":"BrowserModule"}],"providers":[{"__symbolic":"reference","module":"./ons/alert-dialog-factory","name":"AlertDialogFactory"},{"__symbolic":"reference","module":"./ons/popover-factory","name":"PopoverFactory"},{"__symbolic":"reference","module":"./ons/dialog-factory","name":"DialogFactory"},{"__symbolic":"reference","module":"./ons/modal-factory","name":"ModalFactory"},{"__symbolic":"reference","module":"./ons/component-loader","name":"ComponentLoader"}]}]}]}},"exports":[{"from":"@angular/core"},{"from":"./directives/ons-navigator"},{"from":"./directives/ons-tabbar"},{"from":"./directives/ons-switch"},{"from":"./directives/ons-range"},{"from":"./directives/ons-select"},{"from":"./directives/ons-input"},{"from":"./directives/ons-pull-hook"},{"from":"./directives/ons-lazy-repeat"},{"from":"./directives/ons-splitter"},{"from":"./ons/notification"},{"from":"./ons/platform"},{"from":"./ons/alert-dialog-factory"},{"from":"./ons/popover-factory"},{"from":"./ons/dialog-factory"},{"from":"./ons/modal-factory"},{"from":"./ons/params"}]}] |
{ | ||
"name": "ngx-onsenui", | ||
"version": "4.0.0-rc.1", | ||
"version": "4.1.0", | ||
"private": false, | ||
@@ -46,4 +46,4 @@ "author": "Mitsunori Kubota <mitsunori@asial.co.jp>", | ||
"@angular/core": "^4.0.0", | ||
"onsenui": "~2.3.3" | ||
"onsenui": "~2.5.3" | ||
} | ||
} |
@@ -1,41 +0,5 @@ | ||
# Onsen UI binding for Angular 2+ | ||
# ngx-onsenui | ||
All the following commands must be executed in `bindings/angular2` directory. | ||
Also, **you need to build the core before building this binding.** | ||
Official Angular directives for Onsen UI. | ||
## How to manually build this project | ||
```bash | ||
$ yarn install | ||
``` | ||
This command requires you to [install yarn](https://yarnpkg.com/en/docs/install) if you haven't already. | ||
## Running Examples | ||
```bash | ||
$ gulp serve | ||
``` | ||
* Then navigate your browser to [http://0.0.0.0:3030/bindings/angular2/examples/button.html](http://0.0.0.0:3000/bindings/angular2/examples/button.html) | ||
## Running the test suite | ||
```bash | ||
$ gulp test | ||
``` | ||
To run a single test or a group of tests use the `--specs` parameter and provide a comma-separated list of spec files: | ||
```bash | ||
$ gulp e2e-test --specs ./examples/button.spec.js | ||
``` | ||
## How to build transpiled files to publish | ||
```bash | ||
$ yarn run build-dist | ||
``` | ||
Then transpiled files are generated in "dist" directory. | ||
For more details, please refer to [the official guide of `ngx-onsenui`](https://onsen.io/v2/guide/angular2/). |
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
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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
368268
91
4001
1
6