🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@seges/angular-navigation

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@seges/angular-navigation - npm Package Compare versions

Comparing version
2.1.2
to
3.0.0
+3
.vscode/settings.json
{
"typescript.tsdk": "./node_modules/typescript/lib"
}
+11
-8
{
"name": "@seges/angular-navigation",
"version": "2.1.2",
"version": "3.0.0",
"description": "Navigation menu for angular 1.5.8 using Telerik Kendo UI PanelBar",

@@ -8,3 +8,2 @@ "main": "src/index.ts",

"test": "rimraf coverage && karma start",
"postinstall": "typings install",
"prepublish": "karma start --single-run",

@@ -30,2 +29,7 @@ "start": "webpack-dev-server --inline --progress --port 8080"

"devDependencies": {
"@types/angular": "^1.5.23",
"@types/angular-mocks": "^1.5.8",
"@types/jasmine": "^2.5.40",
"@types/jquery": "^2.0.39",
"@types/kendo-ui": "^2016.3.40",
"angular-mocks": "1.5.8",

@@ -47,3 +51,3 @@ "css-loader": "0.25.0",

"ng-annotate-webpack-plugin": "0.1.3",
"node-sass": "3.10.1",
"node-sass": "4.2.0",
"null-loader": "0.1.1",

@@ -55,9 +59,8 @@ "phantomjs-polyfill": "0.0.2",

"rimraf": "2.5.4",
"sass-loader": "4.0.2",
"sass-loader": "4.1.1",
"source-map-loader": "0.1.5",
"style-loader": "0.13.1",
"ts-loader": "0.8.2",
"tslint": "3.15.1",
"typescript": "1.8.10",
"typings": "1.4.0",
"ts-loader": "1.3.3",
"tslint": "4.3.1",
"typescript": "2.1.4",
"webpack": "1.13.2",

@@ -64,0 +67,0 @@ "webpack-dev-server": "1.16.1",

export * from "./navigationService/navigation.service";
export * from "./navigationService/navigation.service.mock";
export * from "./navigation.interfaces.ts";
export * from "./navigation.interfaces";
export * from "./navigationToggle/navigationToggle.component";
export * from "./navigation.component";
export * from "./navigation.module";

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

import "angular";
import * as angular from "angular";
import "kendo.fx";
import "kendo.panelbar";
import "kendo.responsivepanel";
import "kendo.panelbar";
import {
INavigationConfig,
INavigationItem,
INavigationService,
INavigationItem,
INavigationConfig,
} from "./";

@@ -15,3 +15,3 @@

export var navigationComponent = "seges.time.components.navigation";
export const navigationComponent = "seges.time.components.navigation";

@@ -57,3 +57,3 @@ import PanelBar = kendo.ui.PanelBar;

private $navigation: INavigationService,
private $interpolate: ng.IInterpolateService
private $interpolate: ng.IInterpolateService,
) {

@@ -82,3 +82,3 @@ this.panelBarOptions = {};

angular.element(`.${this.panelBarClass}`).get(0),
this.panelBarOptions
this.panelBarOptions,
);

@@ -88,3 +88,3 @@

angular.element(`.${this.responsivePanelClass}`).get(0),
this.responsivePanelOptions
this.responsivePanelOptions,
);

@@ -101,3 +101,3 @@

}
}
},
);

@@ -116,3 +116,3 @@ }

angular.element(`.${this.panelBarClass}`).get(0),
this.panelBarOptions
this.panelBarOptions,
);

@@ -179,4 +179,4 @@ }

private clearSelection(): void {
for (let i = 0; i < this.selectedParents.length; i++) {
this.selectedParents[i].classList.remove(this.selectedClass);
for (let selected of this.selectedParents) {
selected.classList.remove(this.selectedClass);
}

@@ -210,5 +210,3 @@

// first level
for (let i = 0; i < items.length; i++) {
const item = items[i];
for (let item of items) {
item.cssClass = (item.cssClass || "");

@@ -231,4 +229,4 @@ item.cssClass += " nav-firstlevel";

private sanitizeSublevel(items: Array<INavigationItem>): Array<INavigationItem> {
for (let j = 0; j < items.length; j++) {
const subItem = items[j];
for (let item of items) {
const subItem = item;
subItem.expanded = true;

@@ -235,0 +233,0 @@

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

import "angular";
import * as angular from "angular";
import {
navigationComponent,
navigationServiceModule,
navigationComponent,
navigationToggleModule,
} from "./";
export var navigationModule = "seges.navigation";
export const navigationModule = "seges.navigation";

@@ -11,0 +11,0 @@ angular

@@ -5,5 +5,5 @@ import "angular";

import {
INavigationConfig,
NavigationComponent,
NavigationServiceMock,
INavigationConfig,
} from "./";

@@ -10,0 +10,0 @@

@@ -5,2 +5,2 @@ import { INavigationService } from "./navigation.service";

constructor() {/* */}
}
}

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

import "angular";
import * as angular from "angular";

@@ -3,0 +3,0 @@ export const navigationServiceModule = "seges.navigation.service";

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

import "angular";
import * as angular from "angular";

@@ -6,3 +6,3 @@ import "./navigationToggle.scss";

export var navigationToggleModule = "seges.navigationToggle";
export const navigationToggleModule = "seges.navigationToggle";

@@ -9,0 +9,0 @@ export interface NavigationToggleConfig {

import "angular";
import { testModule } from "./test/test.component";
angular.module("test.navigation", []);
angular.bootstrap(document, [testModule]);
{
"globalDependencies": {
"angular": "registry:dt/angular#1.5.0+20160922195358",
"angular-mocks": "registry:dt/angular-mocks#1.5.0+20160608104721",
"jasmine": "registry:dt/jasmine#2.2.0+20160621224255",
"jquery": "registry:dt/jquery#1.10.0+20160929162922",
"kendo-ui": "registry:dt/kendo-ui#2016.3.914+20161003184154"
}
}