Socket
Socket
Sign inDemoInstall

ionic-swipe-all

Package Overview
Dependencies
1
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.0 to 2.0.0

44

dist/ionic.swipe.all.js

@@ -0,5 +1,14 @@

var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { Directive, ElementRef, EventEmitter, Output } from '@angular/core';
import { HammerGestureConfig } from '@angular/platform-browser';
import * as Hammer from 'hammerjs';
export class IonicSwipeAll extends HammerGestureConfig {
let IonicSwipeAll = class IonicSwipeAll extends HammerGestureConfig {
constructor(elem) {

@@ -20,17 +29,22 @@ super();

}
}
IonicSwipeAll.decorators = [
{ type: Directive, args: [{
selector: '[swipeAll]',
},] },
];
/** @nocollapse */
IonicSwipeAll.ctorParameters = () => [
{ type: ElementRef, },
];
IonicSwipeAll.propDecorators = {
"swipe": [{ type: Output },],
"swipeup": [{ type: Output },],
"swipedown": [{ type: Output },],
};
__decorate([
Output(),
__metadata("design:type", Object)
], IonicSwipeAll.prototype, "swipe", void 0);
__decorate([
Output(),
__metadata("design:type", Object)
], IonicSwipeAll.prototype, "swipeup", void 0);
__decorate([
Output(),
__metadata("design:type", Object)
], IonicSwipeAll.prototype, "swipedown", void 0);
IonicSwipeAll = __decorate([
Directive({
selector: '[swipeAll]',
}),
__metadata("design:paramtypes", [ElementRef])
], IonicSwipeAll);
export { IonicSwipeAll };
//# sourceMappingURL=ionic.swipe.all.js.map

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

[{"__symbolic":"module","version":4,"metadata":{"IonicSwipeAll":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@angular/platform-browser","name":"HammerGestureConfig"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[swipeAll]"}]}],"members":{"swipe":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"swipeup":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"swipedown":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"}]}],"ngOnInit":[{"__symbolic":"method"}]}}}}]
[{"__symbolic":"module","version":4,"metadata":{"IonicSwipeAll":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@angular/platform-browser","name":"HammerGestureConfig","line":8,"character":35},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":5,"character":1},"arguments":[{"selector":"[swipeAll]"}]}],"members":{"swipe":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":10,"character":3}}]}],"swipeup":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":11,"character":3}}]}],"swipedown":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":12,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":16,"character":28}]}],"ngOnInit":[{"__symbolic":"method"}]}}}}]

@@ -0,13 +1,18 @@

var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
import { NgModule } from '@angular/core';
import { IonicSwipeAll } from './ionic.swipe.all';
export class IonicSwipeAllModule {
}
IonicSwipeAllModule.decorators = [
{ type: NgModule, args: [{
declarations: [IonicSwipeAll],
exports: [IonicSwipeAll],
},] },
];
/** @nocollapse */
IonicSwipeAllModule.ctorParameters = () => [];
let IonicSwipeAllModule = class IonicSwipeAllModule {
};
IonicSwipeAllModule = __decorate([
NgModule({
declarations: [IonicSwipeAll],
exports: [IonicSwipeAll],
})
], IonicSwipeAllModule);
export { IonicSwipeAllModule };
//# sourceMappingURL=module.js.map

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

[{"__symbolic":"module","version":4,"metadata":{"IonicSwipeAllModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"declarations":[{"__symbolic":"reference","module":"./ionic.swipe.all","name":"IonicSwipeAll"}],"exports":[{"__symbolic":"reference","module":"./ionic.swipe.all","name":"IonicSwipeAll"}]}]}]}}}]
[{"__symbolic":"module","version":4,"metadata":{"IonicSwipeAllModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":4,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","module":"./ionic.swipe.all","name":"IonicSwipeAll","line":5,"character":17}],"exports":[{"__symbolic":"reference","module":"./ionic.swipe.all","name":"IonicSwipeAll","line":6,"character":12}]}]}]}}}]
{
"name": "ionic-swipe-all",
"version": "1.3.0",
"description": "Allow Ionic (≥ v2) to recognize both horizontal and vertical swipe gesture.",
"version": "2.0.0",
"description": "Allow Ionic to recognize both horizontal and vertical swipe gesture.",
"main": "./dist/index.js",
"typings": "./dist/index.d.ts",
"scripts": {
"build": "npm run clean && tsc && ngc && npm run clean-src",
"clean": "rimraf ./dist",
"clean-src": "rimraf ./src/*.ngsummary.json & rimraf ./src/*.ngfactory.ts",
"prepublish": "npm run build"
"build": "ngc",
"prepare": "npm run build"
},

@@ -29,15 +27,13 @@ "repository": {

"dependencies": {
"@angular/common": "5.1.0-beta.2",
"@angular/compiler": "5.1.0-beta.2",
"@angular/compiler-cli": "5.1.0-beta.2",
"@angular/core": "5.1.0-beta.2",
"@angular/platform-browser": "5.1.0-beta.2",
"@angular/platform-browser-dynamic": "5.1.0-beta.2",
"hammerjs": "2.0.8"
},
"devDependencies": {
"@angular/cli": "1.6.0",
"@types/hammerjs": "2.0.34",
"rimraf": "2.6.2",
"typescript": "2.4.2"
"@angular/common": "7.2.4",
"@angular/core": "7.2.4",
"@angular/cli": "7.2.4",
"@angular/compiler": "7.2.4",
"@angular/compiler-cli": "7.2.4",
"@angular/platform-browser": "7.2.4",
"hammerjs": "2.0.8",
"typescript": "3.1.6"
},

@@ -44,0 +40,0 @@ "engines": {

# Ionic Swipe All
Ionic Swipe All allow Ionic (≥ v2) to recognize both horizontal and vertical swipe gesture.
Ionic Swipe All allow Ionic to recognize both horizontal and vertical swipe gesture.
## Requirements
- **Angular**: 7+
## Installation

@@ -11,2 +15,8 @@

For previous versions of Angular, please use v1.3.0:
```
npm install --save ionic-swipe-all@1.3.0
```
```typescript

@@ -13,0 +23,0 @@ import { IonicSwipeAllModule } from 'ionic-swipe-all';

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc