Socket
Socket
Sign inDemoInstall

@syncfusion/ej2-navigations

Package Overview
Dependencies
Maintainers
2
Versions
270
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syncfusion/ej2-navigations - npm Package Compare versions

Comparing version 16.1.34 to 16.1.35

14

CHANGELOG.md

@@ -5,4 +5,18 @@ # Changelog

### ContextMenu
#### Bug Fixes
- Context menu positioning after page scroll issue fixed.
### TreeView
#### Bug Fixes
- Provided option to prevent expand/collapse node while double clicking the tree node.
## 16.1.34 (2018-04-10)
### TreeView
#### bug Fixes

@@ -9,0 +23,0 @@

2

dist/global/index.d.ts
/*!
* filename: index.d.ts
* version : 16.1.34
* version : 16.1.35
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved.

@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license.

{
"name": "@syncfusion/ej2-navigations",
"version": "16.1.34",
"version": "16.1.35",
"description": "Essential JS 2 Navigation Components",

@@ -11,8 +11,8 @@ "author": "Syncfusion Inc.",

"dependencies": {
"@syncfusion/ej2-base": "~16.1.33",
"@syncfusion/ej2-base": "~16.1.35",
"@syncfusion/ej2-data": "~16.1.32",
"@syncfusion/ej2-buttons": "~16.1.32",
"@syncfusion/ej2-buttons": "~16.1.35",
"@syncfusion/ej2-popups": "~16.1.32",
"@syncfusion/ej2-lists": "~16.1.34",
"@syncfusion/ej2-inputs": "~16.1.34"
"@syncfusion/ej2-lists": "~16.1.35",
"@syncfusion/ej2-inputs": "~16.1.35"
},

@@ -19,0 +19,0 @@ "devDependencies": {

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

import { Component, Property, ChildProperty, NotifyPropertyChanges, INotifyPropertyChanged } from '@syncfusion/ej2-base';import { Event, EventHandler, EmitType, BaseEventArgs, KeyboardEvents, KeyboardEventArgs, Touch, TapEventArgs } from '@syncfusion/ej2-base';import { attributes, Animation, AnimationOptions, TouchEventArgs, MouseEventArgs } from '@syncfusion/ej2-base';import { Browser, Collection, setValue, getValue, getUniqueID, getInstance } from '@syncfusion/ej2-base';import { select, selectAll, closest, createElement, detach, append, rippleEffect, isVisible, remove } from '@syncfusion/ej2-base';import { ListBase, ListBaseOptions } from '@syncfusion/ej2-lists';import { calculatePosition, OffsetPosition, isCollide, fit, getScrollableParent } from '@syncfusion/ej2-popups';
import { Component, Property, ChildProperty, NotifyPropertyChanges, INotifyPropertyChanged } from '@syncfusion/ej2-base';import { Event, EventHandler, EmitType, BaseEventArgs, KeyboardEvents, KeyboardEventArgs, Touch, TapEventArgs } from '@syncfusion/ej2-base';import { attributes, Animation, AnimationOptions, TouchEventArgs, MouseEventArgs } from '@syncfusion/ej2-base';import { Browser, Collection, setValue, getValue, getUniqueID, getInstance } from '@syncfusion/ej2-base';import { select, selectAll, closest, createElement, detach, append, rippleEffect, isVisible, remove } from '@syncfusion/ej2-base';import { ListBase, ListBaseOptions } from '@syncfusion/ej2-lists';import { calculatePosition, OffsetPosition, isCollide, fit, getScrollableParent, getZindexPartial } from '@syncfusion/ej2-popups';
import {MenuAnimationSettings,MenuEventArgs,BeforeOpenCloseMenuEventArgs,OpenCloseMenuEventArgs} from "./context-menu";

@@ -3,0 +3,0 @@ import {ComponentModel} from '@syncfusion/ej2-base';

@@ -174,2 +174,3 @@ import { Component, ChildProperty, INotifyPropertyChanged } from '@syncfusion/ej2-base';

private getWrapper();
private getTextContent(li);
private clickHandler(e);

@@ -252,3 +253,2 @@ private setLISelected(li);

private insertItems(items, text, isAfter?);
private getZIndex();
/**

@@ -255,0 +255,0 @@ * Destroys the widget.

@@ -108,3 +108,3 @@ var __extends = (this && this.__extends) || (function () {

wrapper.appendChild(this.element);
this.element.style.zIndex = this.getZIndex();
this.element.style.zIndex = ej2_popups_1.getZindexPartial(this.element).toString();
};

@@ -283,6 +283,6 @@ ContextMenu.prototype.renderItems = function () {

if (e.changedTouches) {
this.openMenu(null, null, e.changedTouches[0].clientY + 1, e.changedTouches[0].clientX + 1, e);
this.openMenu(null, null, e.changedTouches[0].pageY + 1, e.changedTouches[0].pageX + 1, e);
}
else {
this.openMenu(null, null, e.clientY + 1, e.clientX + 1, e);
this.openMenu(null, null, e.pageY + 1, e.pageX + 1, e);
}

@@ -362,3 +362,3 @@ }

}
navIdx = this.getIndex(li ? li.textContent : null);
navIdx = this.getIndex(li ? this.getTextContent(li) : null);
var items = li ? item.items : this.items;

@@ -385,3 +385,3 @@ var eventArgs = { element: ul, items: items, parentItem: item, event: e, cancel: false };

var offset = ej2_popups_1.fit(ul, null, { X: false, Y: true }, { top: top, left: left });
top = offset.top;
top = offset.top - 20;
}

@@ -499,2 +499,12 @@ collide = ej2_popups_1.isCollide(ul, null, left, top);

};
ContextMenu.prototype.getTextContent = function (li) {
var node;
for (var i = 0; i < li.childNodes.length; i++) {
node = li.childNodes[i];
if (node.nodeType === 3 || (node.nodeType === 1 && node.classList.contains('e-menu-url'))) {
return node.textContent;
}
}
return '';
};
ContextMenu.prototype.clickHandler = function (e) {

@@ -512,3 +522,3 @@ if (this.isTapHold) {

this.setLISelected(cli);
var navIdx = this.getIndex(cli.textContent);
var navIdx = this.getIndex(this.getTextContent(cli));
var item = this.getItem(navIdx);

@@ -925,17 +935,2 @@ var eventArgs = { element: cli, item: item };

};
ContextMenu.prototype.getZIndex = function () {
var index;
var position;
var props;
var zIndex = ['999'];
for (var i = 0, len = document.body.children.length; i < len; i++) {
props = document.defaultView.getComputedStyle(document.body.children[i]);
index = props.getPropertyValue('z-index');
position = props.getPropertyValue('position');
if (index !== 'auto' && position !== 'static') {
zIndex.push(index);
}
}
return (Math.max.apply(Math, zIndex) + 1).toString();
};
ContextMenu.prototype.destroy = function () {

@@ -942,0 +937,0 @@ var _this = this;

@@ -6,2 +6,3 @@ import { Component, EmitType } from '@syncfusion/ej2-base';

import { DataManager, Query } from '@syncfusion/ej2-data';
import { TapEventArgs } from '@syncfusion/ej2-base';
import { ListBaseOptions, FieldsMapping } from '@syncfusion/ej2-lists';

@@ -31,2 +32,3 @@ import { TreeViewModel, FieldsSettingsModel, NodeAnimationSettingsModel, ActionSettingsModel } from './treeview-model';

};
event: MouseEvent | KeyboardEventArgs | TapEventArgs;
}

@@ -631,3 +633,3 @@ export interface NodeSelectEventArgs {

private selectGivenNodes(sNodes);
private clickHandler(e);
private clickHandler(event);
private nodeCheckingEvent(wrapper, isCheck, e);

@@ -634,0 +636,0 @@ private nodeCheckedEvent(wrapper, isCheck, e);

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc