Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

angular-tour-component

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-tour-component - npm Package Compare versions

Comparing version 6.1.1 to 6.2.0

6

dist/index.component.d.ts

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

import { EventEmitter } from "@angular/core";
import * as common from "tour-component";
export * from "tour-component";
import { EventEmitter } from '@angular/core';
import * as common from 'tour-component';
export * from 'tour-component';
/**

@@ -5,0 +5,0 @@ * @public

@@ -1,10 +0,9 @@

"use strict";
import { Component, Input, Output, EventEmitter } from "@angular/core";
import * as common from "tour-component";
export * from "tour-component";
import { indexTemplateHtml } from "./variables";
import { Component, Input, Output, EventEmitter } from '@angular/core';
import * as common from 'tour-component';
export * from 'tour-component';
import { indexTemplateHtml } from './variables';
/**
* @public
*/
var TourComponent = (function () {
var TourComponent = /** @class */ (function () {
function TourComponent() {

@@ -23,3 +22,3 @@ this.update = new EventEmitter();

get: function () {
return this.step ? "tour-arrow tt-" + this.step.direction : "tour-arrow";
return this.step ? "tour-arrow tt-" + this.step.direction : 'tour-arrow';
},

@@ -51,3 +50,3 @@ enumerable: true,

if (this.data.localStorageKey) {
localStorage.setItem(this.data.localStorageKey, "1");
localStorage.setItem(this.data.localStorageKey, '1');
}

@@ -59,3 +58,3 @@ };

common.highlight(this.step);
if (typeof this.step.scrollTop === "number") {
if (typeof this.step.scrollTop === 'number') {
window.scrollTo(0, this.step.scrollTop);

@@ -67,4 +66,4 @@ }

{ type: Component, args: [{
selector: "tour",
template: indexTemplateHtml,
selector: 'tour',
template: indexTemplateHtml
},] },

@@ -71,0 +70,0 @@ ];

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

[{"__symbolic":"module","version":4,"metadata":{"TourComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":8,"character":1},"arguments":[{"selector":"tour","template":{"__symbolic":"reference","module":"./variables","name":"indexTemplateHtml","line":10,"character":14}}]}],"members":{"data":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":5}}]}],"update":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":15,"character":5}}]}],"ngOnInit":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"getPosition":[{"__symbolic":"method"}],"next":[{"__symbolic":"method"}],"close":[{"__symbolic":"method"}],"highlight":[{"__symbolic":"method"}]}}},"exports":[{"from":"tour-component"}]}]
[{"__symbolic":"module","version":4,"metadata":{"TourComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":8,"character":1},"arguments":[{"selector":"tour","template":{"__symbolic":"reference","module":"./variables","name":"indexTemplateHtml","line":10,"character":12}}]}],"members":{"data":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3}}]}],"update":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":15,"character":3}}]}],"ngOnInit":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"getPosition":[{"__symbolic":"method"}],"next":[{"__symbolic":"method"}],"close":[{"__symbolic":"method"}],"highlight":[{"__symbolic":"method"}]}}},"exports":[{"from":"tour-component"}]}]

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

"use strict";
/**

@@ -3,0 +2,0 @@ * @fileoverview This file was generated by the Angular template compiler. Do not edit.

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

{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbol":1,"members":[]}},{"symbol":{"__symbol":2,"members":[]},"metadata":{"__symbol":3,"members":[]}},{"symbol":{"__symbol":4,"members":[]},"metadata":{"__symbol":5,"members":[]}},{"symbol":{"__symbol":6,"members":[]},"metadata":{"__symbol":7,"members":[]}},{"symbol":{"__symbol":8,"members":[]},"metadata":{"__symbol":9,"members":[]}},{"symbol":{"__symbol":10,"members":[]},"metadata":{"__symbol":11,"members":[]}},{"symbol":{"__symbol":12,"members":[]},"metadata":{"__symbolic":"class","members":{"data":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":13,"members":[]},"line":13,"character":5,"fileName":"/Users/yaoyao/repositories/tour-component/packages/angular/dist/index.component.ts"}}]}],"update":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":14,"members":[]},"line":15,"character":5,"fileName":"/Users/yaoyao/repositories/tour-component/packages/angular/dist/index.component.ts"}}]}],"ngOnInit":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"getPosition":[{"__symbolic":"method"}],"next":[{"__symbolic":"method"}],"close":[{"__symbolic":"method"}],"highlight":[{"__symbolic":"method"}]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":12,"members":[]},"diDeps":[],"lifecycleHooks":[0,6]},"isComponent":true,"selector":"tour","exportAs":null,"inputs":{"data":"data"},"outputs":{"update":"update"},"hostListeners":{},"hostProperties":{},"hostAttributes":{},"providers":[],"viewProviders":[],"queries":[],"viewQueries":[],"entryComponents":[],"changeDetection":1,"template":{"ngContentSelectors":[],"encapsulation":2},"componentViewType":{"__symbol":15,"members":[]},"rendererType":{"__symbol":16,"members":[]},"componentFactory":{"__symbol":17,"members":[]}}}],"symbols":[{"__symbol":0,"name":"TourData","filePath":"./index.component"},{"__symbol":1,"name":"TourData","filePath":"tour-component/dist/index"},{"__symbol":2,"name":"Step","filePath":"./index.component"},{"__symbol":3,"name":"Step","filePath":"tour-component/dist/index"},{"__symbol":4,"name":"getPosition","filePath":"./index.component"},{"__symbol":5,"name":"getPosition","filePath":"tour-component/dist/index"},{"__symbol":6,"name":"getStepPosition","filePath":"./index.component"},{"__symbol":7,"name":"getStepPosition","filePath":"tour-component/dist/index"},{"__symbol":8,"name":"highlight","filePath":"./index.component"},{"__symbol":9,"name":"highlight","filePath":"tour-component/dist/index"},{"__symbol":10,"name":"unhighlight","filePath":"./index.component"},{"__symbol":11,"name":"unhighlight","filePath":"tour-component/dist/index"},{"__symbol":12,"name":"TourComponent","filePath":"./index.component"},{"__symbol":13,"name":"Input","filePath":"@angular/core/core"},{"__symbol":14,"name":"Output","filePath":"@angular/core/core"},{"__symbol":15,"name":"View_TourComponent_0","filePath":"./index.component.ngfactory"},{"__symbol":16,"name":"RenderType_TourComponent","filePath":"./index.component.ngfactory"},{"__symbol":17,"name":"TourComponentNgFactory","filePath":"./index.component.ngfactory"}]}
{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbol":1,"members":[]}},{"symbol":{"__symbol":2,"members":[]},"metadata":{"__symbol":3,"members":[]}},{"symbol":{"__symbol":4,"members":[]},"metadata":{"__symbol":5,"members":[]}},{"symbol":{"__symbol":6,"members":[]},"metadata":{"__symbol":7,"members":[]}},{"symbol":{"__symbol":8,"members":[]},"metadata":{"__symbol":9,"members":[]}},{"symbol":{"__symbol":10,"members":[]},"metadata":{"__symbol":11,"members":[]}},{"symbol":{"__symbol":12,"members":[]},"metadata":{"__symbolic":"class","members":{"data":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":13,"members":[]},"line":13,"character":3,"fileName":"packages/angular/dist/index.component.ts"}}]}],"update":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":14,"members":[]},"line":15,"character":3,"fileName":"packages/angular/dist/index.component.ts"}}]}],"ngOnInit":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"getPosition":[{"__symbolic":"method"}],"next":[{"__symbolic":"method"}],"close":[{"__symbolic":"method"}],"highlight":[{"__symbolic":"method"}]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":12,"members":[]},"diDeps":[],"lifecycleHooks":[0,6]},"isComponent":true,"selector":"tour","exportAs":null,"inputs":{"data":"data"},"outputs":{"update":"update"},"hostListeners":{},"hostProperties":{},"hostAttributes":{},"providers":[],"viewProviders":[],"queries":[],"guards":{},"viewQueries":[],"entryComponents":[],"changeDetection":1,"template":{"ngContentSelectors":[],"encapsulation":2},"componentViewType":{"__symbol":15,"members":[]},"rendererType":{"__symbol":16,"members":[]},"componentFactory":{"__symbol":17,"members":[]}}}],"symbols":[{"__symbol":0,"name":"TourData","filePath":"./index.component"},{"__symbol":1,"name":"TourData","filePath":"tour-component/dist/index"},{"__symbol":2,"name":"Step","filePath":"./index.component"},{"__symbol":3,"name":"Step","filePath":"tour-component/dist/index"},{"__symbol":4,"name":"getPosition","filePath":"./index.component"},{"__symbol":5,"name":"getPosition","filePath":"tour-component/dist/index"},{"__symbol":6,"name":"getStepPosition","filePath":"./index.component"},{"__symbol":7,"name":"getStepPosition","filePath":"tour-component/dist/index"},{"__symbol":8,"name":"highlight","filePath":"./index.component"},{"__symbol":9,"name":"highlight","filePath":"tour-component/dist/index"},{"__symbol":10,"name":"unhighlight","filePath":"./index.component"},{"__symbol":11,"name":"unhighlight","filePath":"tour-component/dist/index"},{"__symbol":12,"name":"TourComponent","filePath":"./index.component"},{"__symbol":13,"name":"Input","filePath":"@angular/core/core"},{"__symbol":14,"name":"Output","filePath":"@angular/core/core"},{"__symbol":15,"name":"View_TourComponent_0","filePath":"./index.component.ngfactory"},{"__symbol":16,"name":"RenderType_TourComponent","filePath":"./index.component.ngfactory"},{"__symbol":17,"name":"TourComponentNgFactory","filePath":"./index.component.ngfactory"}]}

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

export * from "tour-component";
export * from "./index.component";
export * from 'tour-component';
export * from './index.component';
/**

@@ -4,0 +4,0 @@ * @public

@@ -1,11 +0,10 @@

"use strict";
import { NgModule } from "@angular/core";
import { CommonModule } from "@angular/common";
import { TourComponent } from "./index.component";
export * from "tour-component";
export * from "./index.component";
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { TourComponent } from './index.component';
export * from 'tour-component';
export * from './index.component';
/**
* @public
*/
var TourModule = (function () {
var TourModule = /** @class */ (function () {
function TourModule() {

@@ -16,10 +15,10 @@ }

declarations: [
TourComponent,
TourComponent
],
imports: [
CommonModule,
CommonModule
],
exports: [
TourComponent,
],
TourComponent
]
},] },

@@ -26,0 +25,0 @@ ];

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

[{"__symbolic":"module","version":4,"metadata":{"TourModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":9,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","module":"./index.component","name":"TourComponent","line":11,"character":8}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":14,"character":8}],"exports":[{"__symbolic":"reference","module":"./index.component","name":"TourComponent","line":17,"character":8}]}]}]}},"exports":[{"from":"tour-component"},{"from":"./index.component"}]}]
[{"__symbolic":"module","version":4,"metadata":{"TourModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":9,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","module":"./index.component","name":"TourComponent","line":11,"character":4}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":14,"character":4}],"exports":[{"__symbolic":"reference","module":"./index.component","name":"TourComponent","line":17,"character":4}]}]}]}},"exports":[{"from":"tour-component"},{"from":"./index.component"}]}]

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

"use strict";
/**

@@ -3,0 +2,0 @@ * @fileoverview This file was generated by the Angular template compiler. Do not edit.

@@ -5,2 +5,2 @@ /**

*/
export declare const indexTemplateHtml: string;
export declare const indexTemplateHtml = "<div class=\"tour-tip\" *ngIf=\"step\" [style.left]=\"getPosition(step.left)\" [style.right]=\"getPosition(step.right)\" [style.top]=\"getPosition(step.top)\" [style.bottom]=\"getPosition(step.bottom)\"><span [class]=\"arrowClassName\"></span><div class=\"tour-content-wrapper\"><p>{{step.content}}</p><a class=\"small button tour-next-tip\" (click)=\"next()\">{{step.next}}</a><a class=\"tour-close-tip\" (click)=\"close()\">×</a></div></div>";

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

"use strict";
/**

@@ -3,0 +2,0 @@ * This file is generated by 'file2variable-cli'

{
"name": "angular-tour-component",
"version": "6.1.1",
"version": "6.2.0",
"main": "dist/index.js",

@@ -24,10 +24,10 @@ "types": "dist/index.d.ts",

"@angular/forms": "5",
"tour-component": "^6.1.1"
"tour-component": "^6.2.0"
},
"devDependencies": {
"@angular/platform-browser": "5.1.2",
"@angular/platform-browser-dynamic": "5.1.2",
"@angular/platform-browser": "5.2.8",
"@angular/platform-browser-dynamic": "5.2.8",
"core-js": "2.5.3",
"rxjs": "5.5.6",
"zone.js": "0.8.18"
"zone.js": "0.8.20"
},

@@ -38,4 +38,4 @@ "peerDependencies": {

"@angular/forms": "5",
"tour-component": "^6.1.1"
"tour-component": "^6.2.0"
}
}
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc