@ionic-native/file-opener
Advanced tools
Comparing version 3.6.1 to 3.7.0
@@ -8,3 +8,3 @@ import { IonicNativePlugin } from '@ionic-native/core'; | ||
* @usage | ||
* ``` | ||
* ```typescript | ||
* import { FileOpener } from '@ionic-native/file-opener'; | ||
@@ -11,0 +11,0 @@ * |
111
index.js
@@ -1,6 +0,11 @@ | ||
var __extends = (this && this.__extends) || function (d, b) { | ||
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
}; | ||
var __extends = (this && this.__extends) || (function () { | ||
var extendStatics = Object.setPrototypeOf || | ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; | ||
return function (d, b) { | ||
extendStatics(d, b); | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
}; | ||
})(); | ||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
@@ -23,3 +28,3 @@ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
* @usage | ||
* ``` | ||
* ```typescript | ||
* import { FileOpener } from '@ionic-native/file-opener'; | ||
@@ -37,6 +42,6 @@ * | ||
*/ | ||
export var FileOpener = (function (_super) { | ||
var FileOpener = (function (_super) { | ||
__extends(FileOpener, _super); | ||
function FileOpener() { | ||
_super.apply(this, arguments); | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
@@ -62,49 +67,49 @@ /** | ||
FileOpener.prototype.appIsInstalled = function (packageId) { return; }; | ||
FileOpener.decorators = [ | ||
{ type: Injectable }, | ||
]; | ||
/** @nocollapse */ | ||
FileOpener.ctorParameters = function () { return []; }; | ||
__decorate([ | ||
Cordova({ | ||
callbackStyle: 'object', | ||
successName: 'success', | ||
errorName: 'error' | ||
}), | ||
__metadata('design:type', Function), | ||
__metadata('design:paramtypes', [String, String]), | ||
__metadata('design:returntype', Promise) | ||
], FileOpener.prototype, "open", null); | ||
__decorate([ | ||
Cordova({ | ||
callbackStyle: 'object', | ||
successName: 'success', | ||
errorName: 'error' | ||
}), | ||
__metadata('design:type', Function), | ||
__metadata('design:paramtypes', [String]), | ||
__metadata('design:returntype', Promise) | ||
], FileOpener.prototype, "uninstall", null); | ||
__decorate([ | ||
Cordova({ | ||
callbackStyle: 'object', | ||
successName: 'success', | ||
errorName: 'error' | ||
}), | ||
__metadata('design:type', Function), | ||
__metadata('design:paramtypes', [String]), | ||
__metadata('design:returntype', Promise) | ||
], FileOpener.prototype, "appIsInstalled", null); | ||
FileOpener = __decorate([ | ||
Plugin({ | ||
pluginName: 'FileOpener', | ||
plugin: 'cordova-plugin-file-opener2', | ||
pluginRef: 'cordova.plugins.fileOpener2', | ||
repo: 'https://github.com/pwlin/cordova-plugin-file-opener2', | ||
platforms: ['Android', 'iOS', 'Windows', 'Windows Phone 8'] | ||
}), | ||
__metadata('design:paramtypes', []) | ||
], FileOpener); | ||
return FileOpener; | ||
}(IonicNativePlugin)); | ||
FileOpener.decorators = [ | ||
{ type: Injectable }, | ||
]; | ||
/** @nocollapse */ | ||
FileOpener.ctorParameters = function () { return []; }; | ||
__decorate([ | ||
Cordova({ | ||
callbackStyle: 'object', | ||
successName: 'success', | ||
errorName: 'error' | ||
}), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", [String, String]), | ||
__metadata("design:returntype", Promise) | ||
], FileOpener.prototype, "open", null); | ||
__decorate([ | ||
Cordova({ | ||
callbackStyle: 'object', | ||
successName: 'success', | ||
errorName: 'error' | ||
}), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", [String]), | ||
__metadata("design:returntype", Promise) | ||
], FileOpener.prototype, "uninstall", null); | ||
__decorate([ | ||
Cordova({ | ||
callbackStyle: 'object', | ||
successName: 'success', | ||
errorName: 'error' | ||
}), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", [String]), | ||
__metadata("design:returntype", Promise) | ||
], FileOpener.prototype, "appIsInstalled", null); | ||
FileOpener = __decorate([ | ||
Plugin({ | ||
pluginName: 'FileOpener', | ||
plugin: 'cordova-plugin-file-opener2', | ||
pluginRef: 'cordova.plugins.fileOpener2', | ||
repo: 'https://github.com/pwlin/cordova-plugin-file-opener2', | ||
platforms: ['Android', 'iOS', 'Windows', 'Windows Phone 8'] | ||
}) | ||
], FileOpener); | ||
export { FileOpener }; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@ionic-native/file-opener", | ||
"version": "3.6.1", | ||
"version": "3.7.0", | ||
"description": "Ionic Native - Native plugins for ionic apps", | ||
@@ -5,0 +5,0 @@ "module": "index.js", |
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
12896
152