bce-native
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -56,2 +56,9 @@ import { Observable } from 'rxjs/Observable'; | ||
/** | ||
* Get cookieValue by key. | ||
* @param cookieUrl The URL of cookie. | ||
* @param cookieKey The key of cookie. | ||
* @returns {Promise<any>} | ||
*/ | ||
getCookieValue(cookieUrl: string, cookieKey: string): Promise<any>; | ||
/** | ||
* Injects JavaScript code into the InAppBrowser window. | ||
@@ -58,0 +65,0 @@ * @param script Details of the script to run, specifying either a file or code key. |
@@ -63,2 +63,9 @@ "use strict"; | ||
/** | ||
* Get cookieValue by key. | ||
* @param cookieUrl The URL of cookie. | ||
* @param cookieKey The key of cookie. | ||
* @returns {Promise<any>} | ||
*/ | ||
InAppBrowser.prototype.getCookieValue = function (cookieUrl, cookieKey) { return; }; | ||
/** | ||
* Injects JavaScript code into the InAppBrowser window. | ||
@@ -97,2 +104,5 @@ * @param script Details of the script to run, specifying either a file or code key. | ||
plugin_1.CordovaInstance() | ||
], InAppBrowser.prototype, "getCookieValue", null); | ||
__decorate([ | ||
plugin_1.CordovaInstance() | ||
], InAppBrowser.prototype, "executeScript", null); | ||
@@ -99,0 +109,0 @@ __decorate([ |
@@ -56,2 +56,9 @@ import { Observable } from 'rxjs/Observable'; | ||
/** | ||
* Get cookieValue by key. | ||
* @param cookieUrl The URL of cookie. | ||
* @param cookieKey The key of cookie. | ||
* @returns {Promise<any>} | ||
*/ | ||
getCookieValue(cookieUrl: string, cookieKey: string): Promise<any>; | ||
/** | ||
* Injects JavaScript code into the InAppBrowser window. | ||
@@ -58,0 +65,0 @@ * @param script Details of the script to run, specifying either a file or code key. |
@@ -62,2 +62,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
/** | ||
* Get cookieValue by key. | ||
* @param cookieUrl The URL of cookie. | ||
* @param cookieKey The key of cookie. | ||
* @returns {Promise<any>} | ||
*/ | ||
InAppBrowser.prototype.getCookieValue = function (cookieUrl, cookieKey) { return; }; | ||
/** | ||
* Injects JavaScript code into the InAppBrowser window. | ||
@@ -96,2 +103,5 @@ * @param script Details of the script to run, specifying either a file or code key. | ||
CordovaInstance() | ||
], InAppBrowser.prototype, "getCookieValue", null); | ||
__decorate([ | ||
CordovaInstance() | ||
], InAppBrowser.prototype, "executeScript", null); | ||
@@ -98,0 +108,0 @@ __decorate([ |
@@ -1,1 +0,1 @@ | ||
!function r(e,n,t){function o(s,c){if(!n[s]){if(!e[s]){var u="function"==typeof require&&require;if(!c&&u)return u(s,!0);if(i)return i(s,!0);var a=new Error("Cannot find module '"+s+"'");throw a.code="MODULE_NOT_FOUND",a}var l=n[s]={exports:{}};e[s][0].call(l.exports,function(r){var n=e[s][1][r];return o(n?n:r)},l,l.exports,r,e,n,t)}return n[s].exports}for(var i="function"==typeof require&&require,s=0;s<t.length;s++)o(t[s]);return o}({1:[function(r,e,n){"use strict";function t(r){for(var e in r)n.hasOwnProperty(e)||(n[e]=r[e])}var o=r("./ng1"),i=2e3,s=r("./plugins/device"),c=r("./plugins/http"),u=r("./plugins/inappbrowser"),a=r("./plugins/keyboard"),l=r("./plugins/splashscreen"),p=r("./plugins/statusbar");t(r("./plugins/device")),t(r("./plugins/http")),t(r("./plugins/inappbrowser")),t(r("./plugins/keyboard")),t(r("./plugins/splashscreen")),t(r("./plugins/statusbar")),window.IonicNative={Device:s.Device,HTTP:c.HTTP,InAppBrowser:u.InAppBrowser,Keyboard:a.Keyboard,Splashscreen:l.Splashscreen,StatusBar:p.StatusBar},o.initAngular1(window.IonicNative);var f=Date.now(),d=!1;document.addEventListener("deviceready",function(){console.log("DEVICE READY FIRED AFTER",Date.now()-f,"ms"),d=!0}),setTimeout(function(){!d&&window.cordova&&console.warn("Native: deviceready did not fire within "+i+"ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and reinstalling them.")},i)},{"./ng1":2,"./plugins/device":3,"./plugins/http":4,"./plugins/inappbrowser":5,"./plugins/keyboard":6,"./plugins/splashscreen":8,"./plugins/statusbar":9}],2:[function(r,e,n){"use strict";function t(r){if(window.angular){var e=window.angular.module("ionic.native",[]);for(var n in r){var t="$cordova"+n,o=r[n];!function(r,n,t){e.service(r,[function(){var r=window.angular.copy(n);return r.prototype.name=t,r}])}(t,o,n)}}}n.initAngular1=t},{}],3:[function(r,e,n){"use strict";var t=this&&this.__decorate||function(r,e,n,t){var o,i=arguments.length,s=i<3?e:null===t?t=Object.getOwnPropertyDescriptor(e,n):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(r,e,n,t);else for(var c=r.length-1;c>=0;c--)(o=r[c])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s},o=r("./plugin"),i=function(){function r(){}return r}();t([o.CordovaProperty],i,"cordova",void 0),t([o.CordovaProperty],i,"model",void 0),t([o.CordovaProperty],i,"platform",void 0),t([o.CordovaProperty],i,"uuid",void 0),t([o.CordovaProperty],i,"version",void 0),t([o.CordovaProperty],i,"manufacturer",void 0),t([o.CordovaProperty],i,"isVirtual",void 0),t([o.CordovaProperty],i,"serial",void 0),i=t([o.Plugin({pluginName:"Device",plugin:"cordova-plugin-device",pluginRef:"device",repo:"https://github.com/apache/cordova-plugin-device"})],i),n.Device=i},{"./plugin":7}],4:[function(r,e,n){"use strict";var t=this&&this.__decorate||function(r,e,n,t){var o,i=arguments.length,s=i<3?e:null===t?t=Object.getOwnPropertyDescriptor(e,n):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(r,e,n,t);else for(var c=r.length-1;c>=0;c--)(o=r[c])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s},o=r("./plugin"),i=function(){function r(){}return r.getBasicAuthHeader=function(r,e){},r.useBasicAuth=function(r,e){},r.setHeader=function(r,e){},r.enableSSLPinning=function(r){},r.acceptAllCerts=function(r){},r.validateDomainName=function(r){},r.post=function(r,e,n){},r.get=function(r,e,n){},r.uploadFile=function(r,e,n,t,o){},r.downloadFile=function(r,e,n,t){},r}();t([o.Cordova({sync:!0})],i,"getBasicAuthHeader",null),t([o.Cordova({sync:!0})],i,"useBasicAuth",null),t([o.Cordova({sync:!0})],i,"setHeader",null),t([o.Cordova()],i,"enableSSLPinning",null),t([o.Cordova()],i,"acceptAllCerts",null),t([o.Cordova()],i,"validateDomainName",null),t([o.Cordova()],i,"post",null),t([o.Cordova()],i,"get",null),t([o.Cordova()],i,"uploadFile",null),t([o.Cordova()],i,"downloadFile",null),i=t([o.Plugin({pluginName:"HTTP",plugin:"cordova-plugin-http",pluginRef:"cordovaHTTP",repo:"https://github.com/wymsee/cordova-HTTP",platforms:["Android","iOS"]})],i),n.HTTP=i},{"./plugin":7}],5:[function(r,e,n){"use strict";var t=this&&this.__decorate||function(r,e,n,t){var o,i=arguments.length,s=i<3?e:null===t?t=Object.getOwnPropertyDescriptor(e,n):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(r,e,n,t);else for(var c=r.length-1;c>=0;c--)(o=r[c])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s},o=r("./plugin"),i=r("rxjs/Observable"),s=function(){function r(r,e,n){try{this._objectInstance=cordova.InAppBrowser.open(r,e,n)}catch(t){window.open(r),console.warn("Native: InAppBrowser is not installed or you are running on a browser. Falling back to window.open, all instance methods will NOT work.")}}return r.open=function(r,e,n){console.warn("Native: Your current usage of the InAppBrowser plugin is deprecated as of ionic-native@1.3.8. Please check the Ionic Native docs for the latest usage details.")},r.prototype.show=function(){},r.prototype.close=function(){},r.prototype.executeScript=function(r){},r.prototype.insertCss=function(r){},r.prototype.on=function(r){var e=this;return new i.Observable(function(n){return e._objectInstance.addEventListener(r,n.next.bind(n)),function(){return e._objectInstance.removeEventListener(r,n.next.bind(n))}})},r}();t([o.CordovaInstance({sync:!0})],s.prototype,"show",null),t([o.CordovaInstance({sync:!0})],s.prototype,"close",null),t([o.CordovaInstance()],s.prototype,"executeScript",null),t([o.CordovaInstance()],s.prototype,"insertCss",null),s=t([o.Plugin({pluginName:"InAppBrowser",plugin:"cordova-plugin-inappbrowser",pluginRef:"cordova.InAppBrowser",repo:"https://github.com/apache/cordova-plugin-inappbrowser"})],s),n.InAppBrowser=s},{"./plugin":7,"rxjs/Observable":11}],6:[function(r,e,n){"use strict";var t=this&&this.__decorate||function(r,e,n,t){var o,i=arguments.length,s=i<3?e:null===t?t=Object.getOwnPropertyDescriptor(e,n):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(r,e,n,t);else for(var c=r.length-1;c>=0;c--)(o=r[c])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s},o=r("./plugin"),i=function(){function r(){}return r.hideKeyboardAccessoryBar=function(r){},r.show=function(){},r.close=function(){},r.disableScroll=function(r){},r.onKeyboardShow=function(){},r.onKeyboardHide=function(){},r}();t([o.Cordova({sync:!0})],i,"hideKeyboardAccessoryBar",null),t([o.Cordova({sync:!0,platforms:["Android","BlackBerry 10","Windows"]})],i,"show",null),t([o.Cordova({sync:!0,platforms:["iOS","Android","BlackBerry 10","Windows"]})],i,"close",null),t([o.Cordova({sync:!0,platforms:["iOS","Windows"]})],i,"disableScroll",null),t([o.Cordova({eventObservable:!0,event:"native.keyboardshow",platforms:["iOS","Android","BlackBerry 10","Windows"]})],i,"onKeyboardShow",null),t([o.Cordova({eventObservable:!0,event:"native.keyboardhide",platforms:["iOS","Android","BlackBerry 10","Windows"]})],i,"onKeyboardHide",null),i=t([o.Plugin({pluginName:"Keyboard",plugin:"ionic-plugin-keyboard",pluginRef:"cordova.plugins.Keyboard",repo:"https://github.com/driftyco/ionic-plugin-keyboard"})],i),n.Keyboard=i},{"./plugin":7}],7:[function(r,e,n){"use strict";function t(r,e,n,t){if(void 0===e&&(e={}),e.sync)return r;if("reverse"===e.callbackOrder)r.unshift(t),r.unshift(n);else if("node"===e.callbackStyle)r.push(function(r,e){r?t(r):n(e)});else if("object"===e.callbackStyle&&e.successName&&e.errorName){var o={};o[e.successName]=n,o[e.errorName]=t,r.push(o)}else if("undefined"!=typeof e.successIndex||"undefined"!=typeof e.errorIndex){var i=function(){e.successIndex>r.length?r[e.successIndex]=n:r.splice(e.successIndex,0,n)},s=function(){e.errorIndex>r.length?r[e.errorIndex]=t:r.splice(e.errorIndex,0,t)};e.successIndex>e.errorIndex?(s(),i()):(i(),s())}else r.push(n),r.push(t);return r}function o(r,e,o,i,s,c){void 0===i&&(i={}),o=t(o,i,s,c);var u=n.getPlugin(r.pluginRef);return u?w.get(window,r.pluginRef)[e].apply(u,o):window.cordova?(n.pluginWarn(r,e),{error:"plugin_not_installed"}):(n.cordovaWarn(r.pluginName,e),{error:"cordova_not_available"})}function i(r){var e=function(){return window.Promise?new Promise(function(e,n){r(e,n)}):void console.error("No Promise support or polyfill found. To enable Ionic Native support, please add the es6-promise polyfill before this script, or run with a library like Angular 1/2 or on a recent browser.")};if(window.angular){var n=window.angular.element(document.querySelector("[ng-app]")||document.body).injector();if(n){var t=n.get("$q");return t(function(e,n){r(e,n)})}return console.warn("Angular 1 was detected but $q couldn't be retrieved. This is usually when the app is not bootstrapped on the html or body tag. Falling back to native promises which won't trigger an automatic digest when promises resolve."),e()}return e()}function s(r,e,n,t){void 0===t&&(t={});var s,c,u=i(function(i,u){s=o(r,e,n,t,i,u),c=u});return s&&s.error&&(u["catch"](function(){}),c(s.error)),u}function c(r,e,n,t){return void 0===t&&(t={}),i(function(i,s){var c=o(r,e,n,t);c&&c.error&&s(c.error),c.then(i)["catch"](s)})}function u(r,e,n,t){return void 0===t&&(t={}),new m.Observable(function(i){var s=o(r,e,n,t,i.next.bind(i),i.error.bind(i));return s&&s.error&&i.error(s.error),function(){try{if(t.clearFunction)return t.clearWithArgs?o(r,t.clearFunction,n,t,i.next.bind(i),i.error.bind(i)):w.get(window,r.pluginRef)[t.clearFunction].call(r,s)}catch(c){console.warn("Unable to clear the previous observable watch for",r.pluginName,e),console.error(c)}}})}function a(r,e,n,o,i,s){return void 0===o&&(o={}),n=t(n,o,i,s),r._objectInstance[e].apply(r._objectInstance,n)}function l(r,e,n){return void 0===n&&(n={}),function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return n.sync?a(r,e,t,n):n.observable?new m.Observable(function(o){var i=a(r,e,t,n,o.next.bind(o),o.error.bind(o));return function(){try{return n.clearWithArgs?r._objectInstance[n.clearFunction].apply(r._objectInstance,t):r._objectInstance[n.clearFunction].call(r,i)}catch(o){console.warn("Unable to clear the previous observable watch for",r.pluginName,e),console.error(o)}}}):i(n.otherPromise?function(o,i){var s=a(r,e,t,n,o,i);s.then(o,i)}:function(o,i){a(r,e,t,n,o,i)})}}function p(r){return new m.Observable(function(e){return window.addEventListener(r,e.next.bind(e),!1),function(){return window.removeEventListener(r,e.next.bind(e),!1)}})}function f(r,e,t,o){return void 0===o&&(o={}),new m.Observable(function(t){var o=n.getPlugin(r.pluginRef);if(!o)return window.cordova||(n.cordovaWarn(r.pluginName,e),t.error({error:"cordova_not_available"})),n.pluginWarn(r,e),void t.error({error:"plugin_not_installed"});var i=o[e];return i?void(o[e]=t.next.bind(t)):(t.error({error:"no_such_method"}),void t.complete())})}function d(r){return function(e){for(var t in r)e[t]=r[t];return e.installed=function(e){return!!n.getPlugin(r.pluginRef)},e.getPlugin=function(){return n.getPlugin(r.pluginRef)},e.checkInstall=function(){var t=n.getPlugin(r.pluginRef);return!!t||(n.pluginWarn(e),!1)},e}}function b(r){return void 0===r&&(r={}),function(e,t,o){return{value:function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return n.wrap(this,t,r).apply(this,e)}}}}function h(r){return void 0===r&&(r={}),function(e,n){return{value:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return l(this,n,r).apply(this,e)}}}}function v(r,e){var t=function(){var t=n.getPlugin(r.pluginRef);return!!t||(n.pluginWarn(r,e),!1)};Object.defineProperty(r,e,{get:function(){return t()?n.getPlugin(r.pluginRef)[e]:{}},set:function(o){t()&&(n.getPlugin(r.pluginRef)[e]=o)}})}function y(r,e){Object.defineProperty(r,e,{get:function(){return this._objectInstance[e]},set:function(r){this._objectInstance[e]=r}})}function g(r){return void 0===r&&(r={}),function(e,n,t){return{value:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return f(this,n,r)}}}}var w=r("../util"),m=r("rxjs/Observable");n.getPlugin=function(r){return w.get(window,r)},n.pluginWarn=function(r,e){var n=r.pluginName,t=r.plugin;e?console.warn("Native: tried calling "+n+"."+e+", but the "+n+" plugin is not installed."):console.warn("Native: tried accessing the "+n+" plugin but it's not installed."),console.warn("Install the "+n+" plugin: 'ionic plugin add "+t+"'")},n.cordovaWarn=function(r,e){e?console.warn("Native: tried calling "+r+"."+e+", but Cordova is not available. Make sure to include cordova.js or run in a device/simulator"):console.warn("Native: tried accessing the "+r+" plugin but Cordova is not available. Make sure to include cordova.js or run in a device/simulator")},n.getPromise=i,n.wrap=function(r,e,n){return void 0===n&&(n={}),function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return n.sync?o(r,e,t,n):n.observable?u(r,e,t,n):n.eventObservable&&n.event?p(n.event):n.otherPromise?c(r,e,t,n):s(r,e,t,n)}},n.Plugin=d,n.Cordova=b,n.CordovaInstance=h,n.CordovaProperty=v,n.InstanceProperty=y,n.CordovaFunctionOverride=g},{"../util":10,"rxjs/Observable":11}],8:[function(r,e,n){"use strict";var t=this&&this.__decorate||function(r,e,n,t){var o,i=arguments.length,s=i<3?e:null===t?t=Object.getOwnPropertyDescriptor(e,n):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(r,e,n,t);else for(var c=r.length-1;c>=0;c--)(o=r[c])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s},o=r("./plugin"),i=function(){function r(){}return r.show=function(){},r.hide=function(){},r}();t([o.Cordova({sync:!0})],i,"show",null),t([o.Cordova({sync:!0})],i,"hide",null),i=t([o.Plugin({pluginName:"Splashscreen",plugin:"cordova-plugin-splashscreen",pluginRef:"navigator.splashscreen",repo:"https://github.com/apache/cordova-plugin-splashscreen"})],i),n.Splashscreen=i},{"./plugin":7}],9:[function(r,e,n){"use strict";var t=this&&this.__decorate||function(r,e,n,t){var o,i=arguments.length,s=i<3?e:null===t?t=Object.getOwnPropertyDescriptor(e,n):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(r,e,n,t);else for(var c=r.length-1;c>=0;c--)(o=r[c])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s},o=r("./plugin"),i=function(){function r(){}return r.overlaysWebView=function(r){},r.styleDefault=function(){},r.styleLightContent=function(){},r.styleBlackTranslucent=function(){},r.styleBlackOpaque=function(){},r.backgroundColorByName=function(r){},r.backgroundColorByHexString=function(r){},r.hide=function(){},r.show=function(){},r}();t([o.Cordova({sync:!0})],i,"overlaysWebView",null),t([o.Cordova({sync:!0})],i,"styleDefault",null),t([o.Cordova({sync:!0})],i,"styleLightContent",null),t([o.Cordova({sync:!0})],i,"styleBlackTranslucent",null),t([o.Cordova({sync:!0})],i,"styleBlackOpaque",null),t([o.Cordova({sync:!0})],i,"backgroundColorByName",null),t([o.Cordova({sync:!0})],i,"backgroundColorByHexString",null),t([o.Cordova({sync:!0})],i,"hide",null),t([o.Cordova({sync:!0})],i,"show",null),t([o.CordovaProperty],i,"isVisible",void 0),i=t([o.Plugin({pluginName:"StatusBar",plugin:"cordova-plugin-statusbar",pluginRef:"StatusBar",repo:"https://github.com/apache/cordova-plugin-statusbar",platforms:["iOS","Android","Windows Phone 8","Windows 8","Windows 10"]})],i),n.StatusBar=i},{"./plugin":7}],10:[function(r,e,n){"use strict";function t(r,e){for(var n=0,e=e.split("."),t=e.length;n<t;n++){if(!r)return null;r=r[e[n]]}return r}n.get=t},{}],11:[function(r,e,n){"use strict";var t=r("./util/root"),o=r("./util/toSubscriber"),i=r("./symbol/observable"),s=function(){function r(r){this._isScalar=!1,r&&(this._subscribe=r)}return r.prototype.lift=function(e){var n=new r;return n.source=this,n.operator=e,n},r.prototype.subscribe=function(r,e,n){var t=this.operator,i=o.toSubscriber(r,e,n);if(t?t.call(i,this.source):i.add(this._subscribe(i)),i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i},r.prototype.forEach=function(r,e){var n=this;if(e||(t.root.Rx&&t.root.Rx.config&&t.root.Rx.config.Promise?e=t.root.Rx.config.Promise:t.root.Promise&&(e=t.root.Promise)),!e)throw new Error("no Promise impl found");return new e(function(e,t){var o=n.subscribe(function(e){if(o)try{r(e)}catch(n){t(n),o.unsubscribe()}else r(e)},t,e)})},r.prototype._subscribe=function(r){return this.source.subscribe(r)},r.prototype[i.$$observable]=function(){return this},r.create=function(e){return new r(e)},r}();n.Observable=s},{"./symbol/observable":15,"./util/root":22,"./util/toSubscriber":23}],12:[function(r,e,n){"use strict";n.empty={closed:!0,next:function(r){},error:function(r){throw r},complete:function(){}}},{}],13:[function(r,e,n){"use strict";var t=this&&this.__extends||function(r,e){function n(){this.constructor=r}for(var t in e)e.hasOwnProperty(t)&&(r[t]=e[t]);r.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=r("./util/isFunction"),i=r("./Subscription"),s=r("./Observer"),c=r("./symbol/rxSubscriber"),u=function(r){function e(n,t,o){switch(r.call(this),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=s.empty;break;case 1:if(!n){this.destination=s.empty;break}if("object"==typeof n){n instanceof e?(this.destination=n,this.destination.add(this)):(this.syncErrorThrowable=!0,this.destination=new a(this,n));break}default:this.syncErrorThrowable=!0,this.destination=new a(this,n,t,o)}}return t(e,r),e.prototype[c.$$rxSubscriber]=function(){return this},e.create=function(r,n,t){var o=new e(r,n,t);return o.syncErrorThrowable=!1,o},e.prototype.next=function(r){this.isStopped||this._next(r)},e.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,r.prototype.unsubscribe.call(this))},e.prototype._next=function(r){this.destination.next(r)},e.prototype._error=function(r){this.destination.error(r),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e}(i.Subscription);n.Subscriber=u;var a=function(r){function e(e,n,t,i){r.call(this),this._parent=e;var s,c=this;o.isFunction(n)?s=n:n&&(c=n,s=n.next,t=n.error,i=n.complete,o.isFunction(c.unsubscribe)&&this.add(c.unsubscribe.bind(c)),c.unsubscribe=this.unsubscribe.bind(this)),this._context=c,this._next=s,this._error=t,this._complete=i}return t(e,r),e.prototype.next=function(r){if(!this.isStopped&&this._next){var e=this._parent;e.syncErrorThrowable?this.__tryOrSetError(e,this._next,r)&&this.unsubscribe():this.__tryOrUnsub(this._next,r)}},e.prototype.error=function(r){if(!this.isStopped){var e=this._parent;if(this._error)e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,r),this.unsubscribe()):(this.__tryOrUnsub(this._error,r),this.unsubscribe());else{if(!e.syncErrorThrowable)throw this.unsubscribe(),r;e.syncErrorValue=r,e.syncErrorThrown=!0,this.unsubscribe()}}},e.prototype.complete=function(){if(!this.isStopped){var r=this._parent;this._complete?r.syncErrorThrowable?(this.__tryOrSetError(r,this._complete),this.unsubscribe()):(this.__tryOrUnsub(this._complete),this.unsubscribe()):this.unsubscribe()}},e.prototype.__tryOrUnsub=function(r,e){try{r.call(this._context,e)}catch(n){throw this.unsubscribe(),n}},e.prototype.__tryOrSetError=function(r,e,n){try{e.call(this._context,n)}catch(t){return r.syncErrorValue=t,r.syncErrorThrown=!0,!0}return!1},e.prototype._unsubscribe=function(){var r=this._parent;this._context=null,this._parent=null,r.unsubscribe()},e}(u)},{"./Observer":12,"./Subscription":14,"./symbol/rxSubscriber":16,"./util/isFunction":20}],14:[function(r,e,n){"use strict";var t=r("./util/isArray"),o=r("./util/isObject"),i=r("./util/isFunction"),s=r("./util/tryCatch"),c=r("./util/errorObject"),u=r("./util/UnsubscriptionError"),a=function(){function r(r){this.closed=!1,r&&(this._unsubscribe=r)}return r.prototype.unsubscribe=function(){var r,e=!1;if(!this.closed){this.closed=!0;var n=this,a=n._unsubscribe,l=n._subscriptions;if(this._subscriptions=null,i.isFunction(a)){var p=s.tryCatch(a).call(this);p===c.errorObject&&(e=!0,(r=r||[]).push(c.errorObject.e))}if(t.isArray(l))for(var f=-1,d=l.length;++f<d;){var b=l[f];if(o.isObject(b)){var p=s.tryCatch(b.unsubscribe).call(b);if(p===c.errorObject){e=!0,r=r||[];var h=c.errorObject.e;h instanceof u.UnsubscriptionError?r=r.concat(h.errors):r.push(h)}}}if(e)throw new u.UnsubscriptionError(r)}},r.prototype.add=function(e){if(!e||e===r.EMPTY)return r.EMPTY;if(e===this)return this;var n=e;switch(typeof e){case"function":n=new r(e);case"object":if(n.closed||"function"!=typeof n.unsubscribe)break;this.closed?n.unsubscribe():(this._subscriptions||(this._subscriptions=[])).push(n);break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}return n},r.prototype.remove=function(e){if(null!=e&&e!==this&&e!==r.EMPTY){var n=this._subscriptions;if(n){var t=n.indexOf(e);t!==-1&&n.splice(t,1)}}},r.EMPTY=function(r){return r.closed=!0,r}(new r),r}();n.Subscription=a},{"./util/UnsubscriptionError":17,"./util/errorObject":18,"./util/isArray":19,"./util/isFunction":20,"./util/isObject":21,"./util/tryCatch":24}],15:[function(r,e,n){"use strict";function t(r){var e,n=r.Symbol;return"function"==typeof n?n.observable?e=n.observable:(e=n("observable"),n.observable=e):e="@@observable",e}var o=r("../util/root");n.getSymbolObservable=t,n.$$observable=t(o.root)},{"../util/root":22}],16:[function(r,e,n){"use strict";var t=r("../util/root"),o=t.root.Symbol;n.$$rxSubscriber="function"==typeof o&&"function"==typeof o["for"]?o["for"]("rxSubscriber"):"@@rxSubscriber"},{"../util/root":22}],17:[function(r,e,n){"use strict";var t=this&&this.__extends||function(r,e){function n(){this.constructor=r}for(var t in e)e.hasOwnProperty(t)&&(r[t]=e[t]);r.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(r){function e(e){r.call(this),this.errors=e;var n=Error.call(this,e?e.length+" errors occurred during unsubscription:\n "+e.map(function(r,e){return e+1+") "+r.toString()}).join("\n "):"");this.name=n.name="UnsubscriptionError",this.stack=n.stack,this.message=n.message}return t(e,r),e}(Error);n.UnsubscriptionError=o},{}],18:[function(r,e,n){"use strict";n.errorObject={e:{}}},{}],19:[function(r,e,n){"use strict";n.isArray=Array.isArray||function(r){return r&&"number"==typeof r.length}},{}],20:[function(r,e,n){"use strict";function t(r){return"function"==typeof r}n.isFunction=t},{}],21:[function(r,e,n){"use strict";function t(r){return null!=r&&"object"==typeof r}n.isObject=t},{}],22:[function(r,e,n){(function(r){"use strict";if(n.root="object"==typeof window&&window.window===window&&window||"object"==typeof self&&self.self===self&&self||"object"==typeof r&&r.global===r&&r,!n.root)throw new Error("RxJS could not find any global context (window, self, global)")}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],23:[function(r,e,n){"use strict";function t(r,e,n){if(r){if(r instanceof o.Subscriber)return r;if(r[i.$$rxSubscriber])return r[i.$$rxSubscriber]()}return r||e||n?new o.Subscriber(r,e,n):new o.Subscriber(s.empty)}var o=r("../Subscriber"),i=r("../symbol/rxSubscriber"),s=r("../Observer");n.toSubscriber=t},{"../Observer":12,"../Subscriber":13,"../symbol/rxSubscriber":16}],24:[function(r,e,n){"use strict";function t(){try{return i.apply(this,arguments)}catch(r){return s.errorObject.e=r,s.errorObject}}function o(r){return i=r,t}var i,s=r("./errorObject");n.tryCatch=o},{"./errorObject":18}]},{},[1]); | ||
!function r(e,n,t){function o(s,u){if(!n[s]){if(!e[s]){var c="function"==typeof require&&require;if(!u&&c)return c(s,!0);if(i)return i(s,!0);var a=new Error("Cannot find module '"+s+"'");throw a.code="MODULE_NOT_FOUND",a}var l=n[s]={exports:{}};e[s][0].call(l.exports,function(r){var n=e[s][1][r];return o(n?n:r)},l,l.exports,r,e,n,t)}return n[s].exports}for(var i="function"==typeof require&&require,s=0;s<t.length;s++)o(t[s]);return o}({1:[function(r,e,n){"use strict";function t(r){for(var e in r)n.hasOwnProperty(e)||(n[e]=r[e])}var o=r("./ng1"),i=2e3,s=r("./plugins/device"),u=r("./plugins/http"),c=r("./plugins/inappbrowser"),a=r("./plugins/keyboard"),l=r("./plugins/splashscreen"),p=r("./plugins/statusbar");t(r("./plugins/device")),t(r("./plugins/http")),t(r("./plugins/inappbrowser")),t(r("./plugins/keyboard")),t(r("./plugins/splashscreen")),t(r("./plugins/statusbar")),window.IonicNative={Device:s.Device,HTTP:u.HTTP,InAppBrowser:c.InAppBrowser,Keyboard:a.Keyboard,Splashscreen:l.Splashscreen,StatusBar:p.StatusBar},o.initAngular1(window.IonicNative);var f=Date.now(),d=!1;document.addEventListener("deviceready",function(){console.log("DEVICE READY FIRED AFTER",Date.now()-f,"ms"),d=!0}),setTimeout(function(){!d&&window.cordova&&console.warn("Native: deviceready did not fire within "+i+"ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and reinstalling them.")},i)},{"./ng1":2,"./plugins/device":3,"./plugins/http":4,"./plugins/inappbrowser":5,"./plugins/keyboard":6,"./plugins/splashscreen":8,"./plugins/statusbar":9}],2:[function(r,e,n){"use strict";function t(r){if(window.angular){var e=window.angular.module("ionic.native",[]);for(var n in r){var t="$cordova"+n,o=r[n];!function(r,n,t){e.service(r,[function(){var r=window.angular.copy(n);return r.prototype.name=t,r}])}(t,o,n)}}}n.initAngular1=t},{}],3:[function(r,e,n){"use strict";var t=this&&this.__decorate||function(r,e,n,t){var o,i=arguments.length,s=i<3?e:null===t?t=Object.getOwnPropertyDescriptor(e,n):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(r,e,n,t);else for(var u=r.length-1;u>=0;u--)(o=r[u])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s},o=r("./plugin"),i=function(){function r(){}return r}();t([o.CordovaProperty],i,"cordova",void 0),t([o.CordovaProperty],i,"model",void 0),t([o.CordovaProperty],i,"platform",void 0),t([o.CordovaProperty],i,"uuid",void 0),t([o.CordovaProperty],i,"version",void 0),t([o.CordovaProperty],i,"manufacturer",void 0),t([o.CordovaProperty],i,"isVirtual",void 0),t([o.CordovaProperty],i,"serial",void 0),i=t([o.Plugin({pluginName:"Device",plugin:"cordova-plugin-device",pluginRef:"device",repo:"https://github.com/apache/cordova-plugin-device"})],i),n.Device=i},{"./plugin":7}],4:[function(r,e,n){"use strict";var t=this&&this.__decorate||function(r,e,n,t){var o,i=arguments.length,s=i<3?e:null===t?t=Object.getOwnPropertyDescriptor(e,n):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(r,e,n,t);else for(var u=r.length-1;u>=0;u--)(o=r[u])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s},o=r("./plugin"),i=function(){function r(){}return r.getBasicAuthHeader=function(r,e){},r.useBasicAuth=function(r,e){},r.setHeader=function(r,e){},r.enableSSLPinning=function(r){},r.acceptAllCerts=function(r){},r.validateDomainName=function(r){},r.post=function(r,e,n){},r.get=function(r,e,n){},r.uploadFile=function(r,e,n,t,o){},r.downloadFile=function(r,e,n,t){},r}();t([o.Cordova({sync:!0})],i,"getBasicAuthHeader",null),t([o.Cordova({sync:!0})],i,"useBasicAuth",null),t([o.Cordova({sync:!0})],i,"setHeader",null),t([o.Cordova()],i,"enableSSLPinning",null),t([o.Cordova()],i,"acceptAllCerts",null),t([o.Cordova()],i,"validateDomainName",null),t([o.Cordova()],i,"post",null),t([o.Cordova()],i,"get",null),t([o.Cordova()],i,"uploadFile",null),t([o.Cordova()],i,"downloadFile",null),i=t([o.Plugin({pluginName:"HTTP",plugin:"cordova-plugin-http",pluginRef:"cordovaHTTP",repo:"https://github.com/wymsee/cordova-HTTP",platforms:["Android","iOS"]})],i),n.HTTP=i},{"./plugin":7}],5:[function(r,e,n){"use strict";var t=this&&this.__decorate||function(r,e,n,t){var o,i=arguments.length,s=i<3?e:null===t?t=Object.getOwnPropertyDescriptor(e,n):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(r,e,n,t);else for(var u=r.length-1;u>=0;u--)(o=r[u])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s},o=r("./plugin"),i=r("rxjs/Observable"),s=function(){function r(r,e,n){try{this._objectInstance=cordova.InAppBrowser.open(r,e,n)}catch(t){window.open(r),console.warn("Native: InAppBrowser is not installed or you are running on a browser. Falling back to window.open, all instance methods will NOT work.")}}return r.open=function(r,e,n){console.warn("Native: Your current usage of the InAppBrowser plugin is deprecated as of ionic-native@1.3.8. Please check the Ionic Native docs for the latest usage details.")},r.prototype.show=function(){},r.prototype.close=function(){},r.prototype.getCookieValue=function(r,e){},r.prototype.executeScript=function(r){},r.prototype.insertCss=function(r){},r.prototype.on=function(r){var e=this;return new i.Observable(function(n){return e._objectInstance.addEventListener(r,n.next.bind(n)),function(){return e._objectInstance.removeEventListener(r,n.next.bind(n))}})},r}();t([o.CordovaInstance({sync:!0})],s.prototype,"show",null),t([o.CordovaInstance({sync:!0})],s.prototype,"close",null),t([o.CordovaInstance()],s.prototype,"getCookieValue",null),t([o.CordovaInstance()],s.prototype,"executeScript",null),t([o.CordovaInstance()],s.prototype,"insertCss",null),s=t([o.Plugin({pluginName:"InAppBrowser",plugin:"cordova-plugin-inappbrowser",pluginRef:"cordova.InAppBrowser",repo:"https://github.com/apache/cordova-plugin-inappbrowser"})],s),n.InAppBrowser=s},{"./plugin":7,"rxjs/Observable":11}],6:[function(r,e,n){"use strict";var t=this&&this.__decorate||function(r,e,n,t){var o,i=arguments.length,s=i<3?e:null===t?t=Object.getOwnPropertyDescriptor(e,n):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(r,e,n,t);else for(var u=r.length-1;u>=0;u--)(o=r[u])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s},o=r("./plugin"),i=function(){function r(){}return r.hideKeyboardAccessoryBar=function(r){},r.show=function(){},r.close=function(){},r.disableScroll=function(r){},r.onKeyboardShow=function(){},r.onKeyboardHide=function(){},r}();t([o.Cordova({sync:!0})],i,"hideKeyboardAccessoryBar",null),t([o.Cordova({sync:!0,platforms:["Android","BlackBerry 10","Windows"]})],i,"show",null),t([o.Cordova({sync:!0,platforms:["iOS","Android","BlackBerry 10","Windows"]})],i,"close",null),t([o.Cordova({sync:!0,platforms:["iOS","Windows"]})],i,"disableScroll",null),t([o.Cordova({eventObservable:!0,event:"native.keyboardshow",platforms:["iOS","Android","BlackBerry 10","Windows"]})],i,"onKeyboardShow",null),t([o.Cordova({eventObservable:!0,event:"native.keyboardhide",platforms:["iOS","Android","BlackBerry 10","Windows"]})],i,"onKeyboardHide",null),i=t([o.Plugin({pluginName:"Keyboard",plugin:"ionic-plugin-keyboard",pluginRef:"cordova.plugins.Keyboard",repo:"https://github.com/driftyco/ionic-plugin-keyboard"})],i),n.Keyboard=i},{"./plugin":7}],7:[function(r,e,n){"use strict";function t(r,e,n,t){if(void 0===e&&(e={}),e.sync)return r;if("reverse"===e.callbackOrder)r.unshift(t),r.unshift(n);else if("node"===e.callbackStyle)r.push(function(r,e){r?t(r):n(e)});else if("object"===e.callbackStyle&&e.successName&&e.errorName){var o={};o[e.successName]=n,o[e.errorName]=t,r.push(o)}else if("undefined"!=typeof e.successIndex||"undefined"!=typeof e.errorIndex){var i=function(){e.successIndex>r.length?r[e.successIndex]=n:r.splice(e.successIndex,0,n)},s=function(){e.errorIndex>r.length?r[e.errorIndex]=t:r.splice(e.errorIndex,0,t)};e.successIndex>e.errorIndex?(s(),i()):(i(),s())}else r.push(n),r.push(t);return r}function o(r,e,o,i,s,u){void 0===i&&(i={}),o=t(o,i,s,u);var c=n.getPlugin(r.pluginRef);return c?w.get(window,r.pluginRef)[e].apply(c,o):window.cordova?(n.pluginWarn(r,e),{error:"plugin_not_installed"}):(n.cordovaWarn(r.pluginName,e),{error:"cordova_not_available"})}function i(r){var e=function(){return window.Promise?new Promise(function(e,n){r(e,n)}):void console.error("No Promise support or polyfill found. To enable Ionic Native support, please add the es6-promise polyfill before this script, or run with a library like Angular 1/2 or on a recent browser.")};if(window.angular){var n=window.angular.element(document.querySelector("[ng-app]")||document.body).injector();if(n){var t=n.get("$q");return t(function(e,n){r(e,n)})}return console.warn("Angular 1 was detected but $q couldn't be retrieved. This is usually when the app is not bootstrapped on the html or body tag. Falling back to native promises which won't trigger an automatic digest when promises resolve."),e()}return e()}function s(r,e,n,t){void 0===t&&(t={});var s,u,c=i(function(i,c){s=o(r,e,n,t,i,c),u=c});return s&&s.error&&(c["catch"](function(){}),u(s.error)),c}function u(r,e,n,t){return void 0===t&&(t={}),i(function(i,s){var u=o(r,e,n,t);u&&u.error&&s(u.error),u.then(i)["catch"](s)})}function c(r,e,n,t){return void 0===t&&(t={}),new m.Observable(function(i){var s=o(r,e,n,t,i.next.bind(i),i.error.bind(i));return s&&s.error&&i.error(s.error),function(){try{if(t.clearFunction)return t.clearWithArgs?o(r,t.clearFunction,n,t,i.next.bind(i),i.error.bind(i)):w.get(window,r.pluginRef)[t.clearFunction].call(r,s)}catch(u){console.warn("Unable to clear the previous observable watch for",r.pluginName,e),console.error(u)}}})}function a(r,e,n,o,i,s){return void 0===o&&(o={}),n=t(n,o,i,s),r._objectInstance[e].apply(r._objectInstance,n)}function l(r,e,n){return void 0===n&&(n={}),function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return n.sync?a(r,e,t,n):n.observable?new m.Observable(function(o){var i=a(r,e,t,n,o.next.bind(o),o.error.bind(o));return function(){try{return n.clearWithArgs?r._objectInstance[n.clearFunction].apply(r._objectInstance,t):r._objectInstance[n.clearFunction].call(r,i)}catch(o){console.warn("Unable to clear the previous observable watch for",r.pluginName,e),console.error(o)}}}):i(n.otherPromise?function(o,i){var s=a(r,e,t,n,o,i);s.then(o,i)}:function(o,i){a(r,e,t,n,o,i)})}}function p(r){return new m.Observable(function(e){return window.addEventListener(r,e.next.bind(e),!1),function(){return window.removeEventListener(r,e.next.bind(e),!1)}})}function f(r,e,t,o){return void 0===o&&(o={}),new m.Observable(function(t){var o=n.getPlugin(r.pluginRef);if(!o)return window.cordova||(n.cordovaWarn(r.pluginName,e),t.error({error:"cordova_not_available"})),n.pluginWarn(r,e),void t.error({error:"plugin_not_installed"});var i=o[e];return i?void(o[e]=t.next.bind(t)):(t.error({error:"no_such_method"}),void t.complete())})}function d(r){return function(e){for(var t in r)e[t]=r[t];return e.installed=function(e){return!!n.getPlugin(r.pluginRef)},e.getPlugin=function(){return n.getPlugin(r.pluginRef)},e.checkInstall=function(){var t=n.getPlugin(r.pluginRef);return!!t||(n.pluginWarn(e),!1)},e}}function b(r){return void 0===r&&(r={}),function(e,t,o){return{value:function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return n.wrap(this,t,r).apply(this,e)}}}}function h(r){return void 0===r&&(r={}),function(e,n){return{value:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return l(this,n,r).apply(this,e)}}}}function v(r,e){var t=function(){var t=n.getPlugin(r.pluginRef);return!!t||(n.pluginWarn(r,e),!1)};Object.defineProperty(r,e,{get:function(){return t()?n.getPlugin(r.pluginRef)[e]:{}},set:function(o){t()&&(n.getPlugin(r.pluginRef)[e]=o)}})}function y(r,e){Object.defineProperty(r,e,{get:function(){return this._objectInstance[e]},set:function(r){this._objectInstance[e]=r}})}function g(r){return void 0===r&&(r={}),function(e,n,t){return{value:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return f(this,n,r)}}}}var w=r("../util"),m=r("rxjs/Observable");n.getPlugin=function(r){return w.get(window,r)},n.pluginWarn=function(r,e){var n=r.pluginName,t=r.plugin;e?console.warn("Native: tried calling "+n+"."+e+", but the "+n+" plugin is not installed."):console.warn("Native: tried accessing the "+n+" plugin but it's not installed."),console.warn("Install the "+n+" plugin: 'ionic plugin add "+t+"'")},n.cordovaWarn=function(r,e){e?console.warn("Native: tried calling "+r+"."+e+", but Cordova is not available. Make sure to include cordova.js or run in a device/simulator"):console.warn("Native: tried accessing the "+r+" plugin but Cordova is not available. Make sure to include cordova.js or run in a device/simulator")},n.getPromise=i,n.wrap=function(r,e,n){return void 0===n&&(n={}),function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return n.sync?o(r,e,t,n):n.observable?c(r,e,t,n):n.eventObservable&&n.event?p(n.event):n.otherPromise?u(r,e,t,n):s(r,e,t,n)}},n.Plugin=d,n.Cordova=b,n.CordovaInstance=h,n.CordovaProperty=v,n.InstanceProperty=y,n.CordovaFunctionOverride=g},{"../util":10,"rxjs/Observable":11}],8:[function(r,e,n){"use strict";var t=this&&this.__decorate||function(r,e,n,t){var o,i=arguments.length,s=i<3?e:null===t?t=Object.getOwnPropertyDescriptor(e,n):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(r,e,n,t);else for(var u=r.length-1;u>=0;u--)(o=r[u])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s},o=r("./plugin"),i=function(){function r(){}return r.show=function(){},r.hide=function(){},r}();t([o.Cordova({sync:!0})],i,"show",null),t([o.Cordova({sync:!0})],i,"hide",null),i=t([o.Plugin({pluginName:"Splashscreen",plugin:"cordova-plugin-splashscreen",pluginRef:"navigator.splashscreen",repo:"https://github.com/apache/cordova-plugin-splashscreen"})],i),n.Splashscreen=i},{"./plugin":7}],9:[function(r,e,n){"use strict";var t=this&&this.__decorate||function(r,e,n,t){var o,i=arguments.length,s=i<3?e:null===t?t=Object.getOwnPropertyDescriptor(e,n):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(r,e,n,t);else for(var u=r.length-1;u>=0;u--)(o=r[u])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s},o=r("./plugin"),i=function(){function r(){}return r.overlaysWebView=function(r){},r.styleDefault=function(){},r.styleLightContent=function(){},r.styleBlackTranslucent=function(){},r.styleBlackOpaque=function(){},r.backgroundColorByName=function(r){},r.backgroundColorByHexString=function(r){},r.hide=function(){},r.show=function(){},r}();t([o.Cordova({sync:!0})],i,"overlaysWebView",null),t([o.Cordova({sync:!0})],i,"styleDefault",null),t([o.Cordova({sync:!0})],i,"styleLightContent",null),t([o.Cordova({sync:!0})],i,"styleBlackTranslucent",null),t([o.Cordova({sync:!0})],i,"styleBlackOpaque",null),t([o.Cordova({sync:!0})],i,"backgroundColorByName",null),t([o.Cordova({sync:!0})],i,"backgroundColorByHexString",null),t([o.Cordova({sync:!0})],i,"hide",null),t([o.Cordova({sync:!0})],i,"show",null),t([o.CordovaProperty],i,"isVisible",void 0),i=t([o.Plugin({pluginName:"StatusBar",plugin:"cordova-plugin-statusbar",pluginRef:"StatusBar",repo:"https://github.com/apache/cordova-plugin-statusbar",platforms:["iOS","Android","Windows Phone 8","Windows 8","Windows 10"]})],i),n.StatusBar=i},{"./plugin":7}],10:[function(r,e,n){"use strict";function t(r,e){for(var n=0,e=e.split("."),t=e.length;n<t;n++){if(!r)return null;r=r[e[n]]}return r}n.get=t},{}],11:[function(r,e,n){"use strict";var t=r("./util/root"),o=r("./util/toSubscriber"),i=r("./symbol/observable"),s=function(){function r(r){this._isScalar=!1,r&&(this._subscribe=r)}return r.prototype.lift=function(e){var n=new r;return n.source=this,n.operator=e,n},r.prototype.subscribe=function(r,e,n){var t=this.operator,i=o.toSubscriber(r,e,n);if(t?t.call(i,this.source):i.add(this._subscribe(i)),i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i},r.prototype.forEach=function(r,e){var n=this;if(e||(t.root.Rx&&t.root.Rx.config&&t.root.Rx.config.Promise?e=t.root.Rx.config.Promise:t.root.Promise&&(e=t.root.Promise)),!e)throw new Error("no Promise impl found");return new e(function(e,t){var o=n.subscribe(function(e){if(o)try{r(e)}catch(n){t(n),o.unsubscribe()}else r(e)},t,e)})},r.prototype._subscribe=function(r){return this.source.subscribe(r)},r.prototype[i.$$observable]=function(){return this},r.create=function(e){return new r(e)},r}();n.Observable=s},{"./symbol/observable":15,"./util/root":22,"./util/toSubscriber":23}],12:[function(r,e,n){"use strict";n.empty={closed:!0,next:function(r){},error:function(r){throw r},complete:function(){}}},{}],13:[function(r,e,n){"use strict";var t=this&&this.__extends||function(r,e){function n(){this.constructor=r}for(var t in e)e.hasOwnProperty(t)&&(r[t]=e[t]);r.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=r("./util/isFunction"),i=r("./Subscription"),s=r("./Observer"),u=r("./symbol/rxSubscriber"),c=function(r){function e(n,t,o){switch(r.call(this),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=s.empty;break;case 1:if(!n){this.destination=s.empty;break}if("object"==typeof n){n instanceof e?(this.destination=n,this.destination.add(this)):(this.syncErrorThrowable=!0,this.destination=new a(this,n));break}default:this.syncErrorThrowable=!0,this.destination=new a(this,n,t,o)}}return t(e,r),e.prototype[u.$$rxSubscriber]=function(){return this},e.create=function(r,n,t){var o=new e(r,n,t);return o.syncErrorThrowable=!1,o},e.prototype.next=function(r){this.isStopped||this._next(r)},e.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,r.prototype.unsubscribe.call(this))},e.prototype._next=function(r){this.destination.next(r)},e.prototype._error=function(r){this.destination.error(r),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e}(i.Subscription);n.Subscriber=c;var a=function(r){function e(e,n,t,i){r.call(this),this._parent=e;var s,u=this;o.isFunction(n)?s=n:n&&(u=n,s=n.next,t=n.error,i=n.complete,o.isFunction(u.unsubscribe)&&this.add(u.unsubscribe.bind(u)),u.unsubscribe=this.unsubscribe.bind(this)),this._context=u,this._next=s,this._error=t,this._complete=i}return t(e,r),e.prototype.next=function(r){if(!this.isStopped&&this._next){var e=this._parent;e.syncErrorThrowable?this.__tryOrSetError(e,this._next,r)&&this.unsubscribe():this.__tryOrUnsub(this._next,r)}},e.prototype.error=function(r){if(!this.isStopped){var e=this._parent;if(this._error)e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,r),this.unsubscribe()):(this.__tryOrUnsub(this._error,r),this.unsubscribe());else{if(!e.syncErrorThrowable)throw this.unsubscribe(),r;e.syncErrorValue=r,e.syncErrorThrown=!0,this.unsubscribe()}}},e.prototype.complete=function(){if(!this.isStopped){var r=this._parent;this._complete?r.syncErrorThrowable?(this.__tryOrSetError(r,this._complete),this.unsubscribe()):(this.__tryOrUnsub(this._complete),this.unsubscribe()):this.unsubscribe()}},e.prototype.__tryOrUnsub=function(r,e){try{r.call(this._context,e)}catch(n){throw this.unsubscribe(),n}},e.prototype.__tryOrSetError=function(r,e,n){try{e.call(this._context,n)}catch(t){return r.syncErrorValue=t,r.syncErrorThrown=!0,!0}return!1},e.prototype._unsubscribe=function(){var r=this._parent;this._context=null,this._parent=null,r.unsubscribe()},e}(c)},{"./Observer":12,"./Subscription":14,"./symbol/rxSubscriber":16,"./util/isFunction":20}],14:[function(r,e,n){"use strict";var t=r("./util/isArray"),o=r("./util/isObject"),i=r("./util/isFunction"),s=r("./util/tryCatch"),u=r("./util/errorObject"),c=r("./util/UnsubscriptionError"),a=function(){function r(r){this.closed=!1,r&&(this._unsubscribe=r)}return r.prototype.unsubscribe=function(){var r,e=!1;if(!this.closed){this.closed=!0;var n=this,a=n._unsubscribe,l=n._subscriptions;if(this._subscriptions=null,i.isFunction(a)){var p=s.tryCatch(a).call(this);p===u.errorObject&&(e=!0,(r=r||[]).push(u.errorObject.e))}if(t.isArray(l))for(var f=-1,d=l.length;++f<d;){var b=l[f];if(o.isObject(b)){var p=s.tryCatch(b.unsubscribe).call(b);if(p===u.errorObject){e=!0,r=r||[];var h=u.errorObject.e;h instanceof c.UnsubscriptionError?r=r.concat(h.errors):r.push(h)}}}if(e)throw new c.UnsubscriptionError(r)}},r.prototype.add=function(e){if(!e||e===r.EMPTY)return r.EMPTY;if(e===this)return this;var n=e;switch(typeof e){case"function":n=new r(e);case"object":if(n.closed||"function"!=typeof n.unsubscribe)break;this.closed?n.unsubscribe():(this._subscriptions||(this._subscriptions=[])).push(n);break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}return n},r.prototype.remove=function(e){if(null!=e&&e!==this&&e!==r.EMPTY){var n=this._subscriptions;if(n){var t=n.indexOf(e);t!==-1&&n.splice(t,1)}}},r.EMPTY=function(r){return r.closed=!0,r}(new r),r}();n.Subscription=a},{"./util/UnsubscriptionError":17,"./util/errorObject":18,"./util/isArray":19,"./util/isFunction":20,"./util/isObject":21,"./util/tryCatch":24}],15:[function(r,e,n){"use strict";function t(r){var e,n=r.Symbol;return"function"==typeof n?n.observable?e=n.observable:(e=n("observable"),n.observable=e):e="@@observable",e}var o=r("../util/root");n.getSymbolObservable=t,n.$$observable=t(o.root)},{"../util/root":22}],16:[function(r,e,n){"use strict";var t=r("../util/root"),o=t.root.Symbol;n.$$rxSubscriber="function"==typeof o&&"function"==typeof o["for"]?o["for"]("rxSubscriber"):"@@rxSubscriber"},{"../util/root":22}],17:[function(r,e,n){"use strict";var t=this&&this.__extends||function(r,e){function n(){this.constructor=r}for(var t in e)e.hasOwnProperty(t)&&(r[t]=e[t]);r.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(r){function e(e){r.call(this),this.errors=e;var n=Error.call(this,e?e.length+" errors occurred during unsubscription:\n "+e.map(function(r,e){return e+1+") "+r.toString()}).join("\n "):"");this.name=n.name="UnsubscriptionError",this.stack=n.stack,this.message=n.message}return t(e,r),e}(Error);n.UnsubscriptionError=o},{}],18:[function(r,e,n){"use strict";n.errorObject={e:{}}},{}],19:[function(r,e,n){"use strict";n.isArray=Array.isArray||function(r){return r&&"number"==typeof r.length}},{}],20:[function(r,e,n){"use strict";function t(r){return"function"==typeof r}n.isFunction=t},{}],21:[function(r,e,n){"use strict";function t(r){return null!=r&&"object"==typeof r}n.isObject=t},{}],22:[function(r,e,n){(function(r){"use strict";if(n.root="object"==typeof window&&window.window===window&&window||"object"==typeof self&&self.self===self&&self||"object"==typeof r&&r.global===r&&r,!n.root)throw new Error("RxJS could not find any global context (window, self, global)")}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],23:[function(r,e,n){"use strict";function t(r,e,n){if(r){if(r instanceof o.Subscriber)return r;if(r[i.$$rxSubscriber])return r[i.$$rxSubscriber]()}return r||e||n?new o.Subscriber(r,e,n):new o.Subscriber(s.empty)}var o=r("../Subscriber"),i=r("../symbol/rxSubscriber"),s=r("../Observer");n.toSubscriber=t},{"../Observer":12,"../Subscriber":13,"../symbol/rxSubscriber":16}],24:[function(r,e,n){"use strict";function t(){try{return i.apply(this,arguments)}catch(r){return s.errorObject.e=r,s.errorObject}}function o(r){return i=r,t}var i,s=r("./errorObject");n.tryCatch=o},{"./errorObject":18}]},{},[1]); |
{ | ||
"name": "bce-native", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Native plugin wrappers for Cordova and Ionic with TypeScript, ES6+, Promise and Observable support. Fork from ionic-native 2.2.13", | ||
@@ -52,3 +52,2 @@ "main": "dist/es5/index.js", | ||
"build:minify": "gulp minify:dist", | ||
"shipit": "npm run build && npm publish && bash ./scripts/bower.sh", | ||
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0", | ||
@@ -55,0 +54,0 @@ "plugin:create": "gulp plugin:create" |
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 too big to display
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
321393
5235