@awesome-cordova-plugins/clipboard
Advanced tools
Comparing version 6.0.0-alpha.1 to 6.0.0-alpha.2
@@ -5,19 +5,25 @@ 'use strict'; | ||
var core = require('@angular/core'); | ||
var core$1 = require('@awesome-cordova-plugins/core'); | ||
var tslib = require('tslib'); | ||
var core$1 = require('@angular/core'); | ||
var core = require('@awesome-cordova-plugins/core'); | ||
class Clipboard extends core$1.AwesomeCordovaNativePlugin { | ||
copy(text) { return core$1.cordova(this, "copy", {}, arguments); } | ||
paste() { return core$1.cordova(this, "paste", {}, arguments); } | ||
clear() { return core$1.cordova(this, "clear", {}, arguments); } | ||
} | ||
Clipboard.pluginName = "Clipboard"; | ||
Clipboard.plugin = "cordova-clipboard"; | ||
Clipboard.pluginRef = "cordova.plugins.clipboard"; | ||
Clipboard.repo = "https://github.com/ihadeed/cordova-clipboard"; | ||
Clipboard.platforms = ["Android", "iOS", "Windows Phone 8"]; | ||
Clipboard.decorators = [ | ||
{ type: core.Injectable } | ||
]; | ||
var Clipboard = /** @class */ (function (_super) { | ||
tslib.__extends(Clipboard, _super); | ||
function Clipboard() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
Clipboard.prototype.copy = function (text) { return core.cordova(this, "copy", {}, arguments); }; | ||
Clipboard.prototype.paste = function () { return core.cordova(this, "paste", {}, arguments); }; | ||
Clipboard.prototype.clear = function () { return core.cordova(this, "clear", {}, arguments); }; | ||
Clipboard.pluginName = "Clipboard"; | ||
Clipboard.plugin = "cordova-clipboard"; | ||
Clipboard.pluginRef = "cordova.plugins.clipboard"; | ||
Clipboard.repo = "https://github.com/ihadeed/cordova-clipboard"; | ||
Clipboard.platforms = ["Android", "iOS", "Windows Phone 8"]; | ||
Clipboard.decorators = [ | ||
{ type: core$1.Injectable } | ||
]; | ||
return Clipboard; | ||
}(core.AwesomeCordovaNativePlugin)); | ||
exports.Clipboard = Clipboard; |
@@ -0,16 +1,23 @@ | ||
import { __extends } from "tslib"; | ||
import { Injectable } from '@angular/core'; | ||
import { AwesomeCordovaNativePlugin, cordova } from '@awesome-cordova-plugins/core'; | ||
export class Clipboard extends AwesomeCordovaNativePlugin { | ||
copy(text) { return cordova(this, "copy", {}, arguments); } | ||
paste() { return cordova(this, "paste", {}, arguments); } | ||
clear() { return cordova(this, "clear", {}, arguments); } | ||
} | ||
Clipboard.pluginName = "Clipboard"; | ||
Clipboard.plugin = "cordova-clipboard"; | ||
Clipboard.pluginRef = "cordova.plugins.clipboard"; | ||
Clipboard.repo = "https://github.com/ihadeed/cordova-clipboard"; | ||
Clipboard.platforms = ["Android", "iOS", "Windows Phone 8"]; | ||
Clipboard.decorators = [ | ||
{ type: Injectable } | ||
]; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvQGF3ZXNvbWUtY29yZG92YS1wbHVnaW5zL3BsdWdpbnMvY2xpcGJvYXJkL25neC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sdUNBQStDLE1BQU0sK0JBQStCLENBQUM7YUFxQy9FLFNBQVUsU0FBUSwwQkFBMEI7SUFRdkQsSUFBSSxDQUFDLElBQVk7SUFVakIsS0FBSztJQVVMLEtBQUs7Ozs7Ozs7O1lBN0JOLFVBQVUiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3RhYmxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBDb3Jkb3ZhLCBBd2Vzb21lQ29yZG92YU5hdGl2ZVBsdWdpbiwgUGx1Z2luIH0gZnJvbSAnQGF3ZXNvbWUtY29yZG92YS1wbHVnaW5zL2NvcmUnO1xuLyoqXG4gKiBAbmFtZSBDbGlwYm9hcmRcbiAqIEB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5qZWN0YWJsZSgpXG5leHBvcnQgY2xhc3MgQ2xpcGJvYXJkIGV4dGVuZHMgQXdlc29tZUNvcmRvdmFOYXRpdmVQbHVnaW4ge1xuICAvKipcbiAgICogQ29waWVzIHRoZSBnaXZlbiB0ZXh0XG4gICAqXG4gICAqIEBwYXJhbSB7c3RyaW5nfSB0ZXh0IFRleHQgdGhhdCBnZXRzIGNvcGllZCBvbiB0aGUgc3lzdGVtIGNsaXBib2FyZFxuICAgKiBAcmV0dXJucyB7UHJvbWlzZTxhbnk+fSBSZXR1cm5zIGEgcHJvbWlzZSBhZnRlciB0aGUgdGV4dCBoYXMgYmVlbiBjb3BpZWRcbiAgICovXG4gIEBDb3Jkb3ZhKClcbiAgY29weSh0ZXh0OiBzdHJpbmcpOiBQcm9taXNlPGFueT4ge1xuICAgIHJldHVybjtcbiAgfVxuXG4gIC8qKlxuICAgKiBQYXN0ZXMgdGhlIHRleHQgc3RvcmVkIGluIGNsaXBib2FyZFxuICAgKlxuICAgKiBAcmV0dXJucyB7UHJvbWlzZTxhbnk+fSBSZXR1cm5zIGEgcHJvbWlzZSBhZnRlciB0aGUgdGV4dCBoYXMgYmVlbiBwYXN0ZWRcbiAgICovXG4gIEBDb3Jkb3ZhKClcbiAgcGFzdGUoKTogUHJvbWlzZTxhbnk+IHtcbiAgICByZXR1cm47XG4gIH1cblxuICAvKipcbiAgICogQ2xlYXIgdGhlIHRleHQgc3RvcmVkIGluIGNsaXBib2FyZFxuICAgKlxuICAgKiBAcmV0dXJucyB7UHJvbWlzZTxhbnk+fSBSZXR1cm5zIGEgcHJvbWlzZSBhZnRlciB0aGUgdGV4dCBoYXMgYmVlbiBjbGVhbmVkXG4gICAqL1xuICBAQ29yZG92YSgpXG4gIGNsZWFyKCk6IFByb21pc2U8YW55PiB7XG4gICAgcmV0dXJuO1xuICB9XG59XG4iXX0= | ||
var Clipboard = /** @class */ (function (_super) { | ||
__extends(Clipboard, _super); | ||
function Clipboard() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
Clipboard.prototype.copy = function (text) { return cordova(this, "copy", {}, arguments); }; | ||
Clipboard.prototype.paste = function () { return cordova(this, "paste", {}, arguments); }; | ||
Clipboard.prototype.clear = function () { return cordova(this, "clear", {}, arguments); }; | ||
Clipboard.pluginName = "Clipboard"; | ||
Clipboard.plugin = "cordova-clipboard"; | ||
Clipboard.pluginRef = "cordova.plugins.clipboard"; | ||
Clipboard.repo = "https://github.com/ihadeed/cordova-clipboard"; | ||
Clipboard.platforms = ["Android", "iOS", "Windows Phone 8"]; | ||
Clipboard.decorators = [ | ||
{ type: Injectable } | ||
]; | ||
return Clipboard; | ||
}(AwesomeCordovaNativePlugin)); | ||
export { Clipboard }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvQGF3ZXNvbWUtY29yZG92YS1wbHVnaW5zL3BsdWdpbnMvY2xpcGJvYXJkL25neC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLHVDQUErQyxNQUFNLCtCQUErQixDQUFDOztJQXFDN0QsNkJBQTBCOzs7O0lBUXZELHdCQUFJLGFBQUMsSUFBWTtJQVVqQix5QkFBSztJQVVMLHlCQUFLOzs7Ozs7O2dCQTdCTixVQUFVOztvQkFyQ1g7RUFzQytCLDBCQUEwQjtTQUE1QyxTQUFTIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5qZWN0YWJsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQ29yZG92YSwgQXdlc29tZUNvcmRvdmFOYXRpdmVQbHVnaW4sIFBsdWdpbiB9IGZyb20gJ0Bhd2Vzb21lLWNvcmRv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ome Cordova Plugins - Native plugins for ionic apps","main":"bundle.js","module":"index.js","typings":"index.d.ts","author":"Daniel Sogl","license":"MIT","repository":{"type":"git","url":"https://github.com/danielsogl/awesome-cordova-plugins.git"},"name":"@awesome-cordova-plugins/clipboard","dependencies":{"@types/cordova":"latest"},"peerDependencies":{"rxjs":"^5.5.0 || ^6.5.0 || ^7.3.0","@awesome-cordova-plugins/core":"^6.0.0-alpha.0"},"version":"6.0.0-alpha.1"} | ||
{"description":"Awesome Cordova Plugins - Native plugins for ionic apps","main":"bundle.js","module":"index.js","typings":"index.d.ts","author":"Daniel Sogl","license":"MIT","repository":{"type":"git","url":"https://github.com/danielsogl/awesome-cordova-plugins.git"},"name":"@awesome-cordova-plugins/clipboard","dependencies":{"@types/cordova":"latest"},"peerDependencies":{"rxjs":"^5.5.0 || ^6.5.0 || ^7.3.0","@awesome-cordova-plugins/core":"^6.0.0-alpha.0"},"version":"6.0.0-alpha.2"} |
@@ -1,1 +0,1 @@ | ||
{"description":"Awesome Cordova Plugins - Native plugins for ionic apps","main":"bundle.js","module":"index.js","typings":"index.d.ts","author":"Daniel Sogl","license":"MIT","repository":{"type":"git","url":"https://github.com/danielsogl/awesome-cordova-plugins.git"},"name":"@awesome-cordova-plugins/clipboard","dependencies":{"@types/cordova":"latest"},"peerDependencies":{"rxjs":"^5.5.0 || ^6.5.0 || ^7.3.0","@awesome-cordova-plugins/core":"^6.0.0-alpha.0"},"version":"6.0.0-alpha.1"} | ||
{"description":"Awesome Cordova Plugins - Native plugins for ionic apps","main":"bundle.js","module":"index.js","typings":"index.d.ts","author":"Daniel Sogl","license":"MIT","repository":{"type":"git","url":"https://github.com/danielsogl/awesome-cordova-plugins.git"},"name":"@awesome-cordova-plugins/clipboard","dependencies":{"@types/cordova":"latest"},"peerDependencies":{"rxjs":"^5.5.0 || ^6.5.0 || ^7.3.0","@awesome-cordova-plugins/core":"^6.0.0-alpha.0"},"version":"6.0.0-alpha.2"} |
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
13792
181